@rolly-dev/wasm-signer 1.31.3 → 2.1.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/node/README.md +1 -1
- package/dist/node/rolly_wasm_signer.d.ts +29 -2
- package/dist/node/rolly_wasm_signer.js +75 -2
- package/dist/node/rolly_wasm_signer_bg.wasm +0 -0
- package/dist/node/rolly_wasm_signer_bg.wasm.d.ts +5 -0
- package/dist/node-inline/README.md +1 -1
- package/dist/node-inline/rolly_wasm_signer.d.ts +29 -2
- package/dist/node-inline/rolly_wasm_signer.js +76 -3
- package/dist/node-inline/rolly_wasm_signer.mjs +72 -4
- package/dist/node-inline/rolly_wasm_signer_bg.wasm.d.ts +5 -0
- package/dist/web/README.md +1 -1
- package/dist/web/rolly_wasm_signer.d.ts +34 -2
- package/dist/web/rolly_wasm_signer.js +70 -2
- package/dist/web/rolly_wasm_signer_bg.wasm +0 -0
- package/dist/web/rolly_wasm_signer_bg.wasm.d.ts +5 -0
- package/js/browser.mjs +5 -0
- package/js/index.d.ts +5 -0
- package/js/node-inline.cjs +5 -0
- package/js/node-inline.mjs +5 -0
- package/js/node.cjs +5 -0
- package/js/node.mjs +5 -0
- package/js/react.mjs +10 -0
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export const blackjack_pack_actions: (a: number, b: number, c: number) => void;
|
|
|
8
8
|
export const coinflip_multiplier_x10000: () => number;
|
|
9
9
|
export const compute_address_hash: (a: number, b: number, c: number) => void;
|
|
10
10
|
export const compute_aviato_point: (a: number, b: number) => number;
|
|
11
|
+
export const compute_boost_dice: (a: number, b: number, c: number) => void;
|
|
11
12
|
export const compute_crash_point: (a: number, b: number) => number;
|
|
12
13
|
export const compute_drawn_keno: (a: number, b: number, c: number) => void;
|
|
13
14
|
export const compute_multi_dice: (a: number) => bigint;
|
|
@@ -28,6 +29,8 @@ export const compute_roll_plinko: (a: number, b: number, c: number) => number;
|
|
|
28
29
|
export const compute_server_seed_hash: (a: number, b: number, c: number) => void;
|
|
29
30
|
export const compute_user_seed_binding: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number) => void;
|
|
30
31
|
export const derive_session_key: (a: number, b: number, c: number) => void;
|
|
32
|
+
export const dice_boost_table: (a: number) => void;
|
|
33
|
+
export const dice_directions_count: () => number;
|
|
31
34
|
export const encode_keno_selected: (a: number, b: number, c: number) => void;
|
|
32
35
|
export const generate_user_secret: (a: number) => void;
|
|
33
36
|
export const generate_user_seed: (a: number) => void;
|
|
@@ -61,6 +64,8 @@ export const coinflip_rtp_percent: () => number;
|
|
|
61
64
|
export const crash_rtp_percent: () => number;
|
|
62
65
|
export const dice_rtp_percent: () => number;
|
|
63
66
|
export const keno_max_picks: () => number;
|
|
67
|
+
export const dice_power_boost_cost: () => bigint;
|
|
68
|
+
export const dice_power_boost_max_bet_atomic: () => bigint;
|
|
64
69
|
export const goldilocks_modulus: () => bigint;
|
|
65
70
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
66
71
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
package/dist/web/README.md
CHANGED
|
@@ -96,7 +96,7 @@ win_numbers (wn): `[1, 950]` (MIN_RANGE..=MAX_RANGE).
|
|
|
96
96
|
|
|
97
97
|
### RTP
|
|
98
98
|
|
|
99
|
-
Theoretical: **98.998%** (floor-division costs ~0.002%). House edge: **~1.002%**. Max win cap:
|
|
99
|
+
Theoretical: **98.998%** (floor-division costs ~0.002%). House edge: **~1.002%**. Max win cap: 100,000 USDT (business rule, not formula).
|
|
100
100
|
|
|
101
101
|
## License
|
|
102
102
|
|
|
@@ -75,6 +75,11 @@ export function compute_address_hash(address_hex: string): BigUint64Array;
|
|
|
75
75
|
*/
|
|
76
76
|
export function compute_aviato_point(random: BigUint64Array): number;
|
|
77
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Power Boost Boost for a bet: `[boost_rng, boost]`, `boost_rng = random[1] % 10000`.
|
|
80
|
+
*/
|
|
81
|
+
export function compute_boost_dice(random: BigUint64Array): BigUint64Array;
|
|
82
|
+
|
|
78
83
|
/**
|
|
79
84
|
* Extract crash point (×100) from raw server seed fields.
|
|
80
85
|
*
|
|
@@ -168,10 +173,12 @@ export function compute_payout_crash(random: BigUint64Array, bet_atomic: bigint,
|
|
|
168
173
|
*
|
|
169
174
|
* `random`: 4 Goldilocks field elements (Poseidon2 output).
|
|
170
175
|
* `bet_atomic`: bet in atomic units (1 USDT = 1_000_000).
|
|
171
|
-
* `game_mode`: 0=Under, 1=Over, 2=In, 3=Out.
|
|
176
|
+
* `game_mode`: 0=Under, 1=Over, 2=In, 3=Out; 4..7 = the same in Power Boost.
|
|
177
|
+
* `bet_atomic`: the debited stake — for Power Boost the Total Bet (Bet Amount × 100).
|
|
172
178
|
* `prediction_lo` / `prediction_hi`: prediction range bounds (0..999).
|
|
173
179
|
*
|
|
174
|
-
* Returns `BigUint64Array
|
|
180
|
+
* Returns `BigUint64Array`: `[win_amount, roll_number, is_win (0|1), multiplier×10000]`;
|
|
181
|
+
* Power Boost appends `[boost_rng, boost]` (multiplier stays the base one).
|
|
175
182
|
*/
|
|
176
183
|
export function compute_payout_dice(random: BigUint64Array, bet_atomic: bigint, game_mode: number, prediction_lo: number, prediction_hi: number): BigUint64Array;
|
|
177
184
|
|
|
@@ -315,6 +322,26 @@ export function crash_rtp_percent(): number;
|
|
|
315
322
|
*/
|
|
316
323
|
export function derive_session_key(sig_bytes: Uint8Array): BigUint64Array;
|
|
317
324
|
|
|
325
|
+
/**
|
|
326
|
+
* Power Boost table flattened as `[rng_lo, rng_hi, boost, ...]` (inclusive ranges).
|
|
327
|
+
*/
|
|
328
|
+
export function dice_boost_table(): BigUint64Array;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Dice `game_mode = direction + dice_directions_count() × variant` (classic 0, Power Boost 1).
|
|
332
|
+
*/
|
|
333
|
+
export function dice_directions_count(): number;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Power Boost cost: Total Bet = Bet Amount × this (100).
|
|
337
|
+
*/
|
|
338
|
+
export function dice_power_boost_cost(): bigint;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Largest Power Boost Bet Amount accepted on-chain, atomic units.
|
|
342
|
+
*/
|
|
343
|
+
export function dice_power_boost_max_bet_atomic(): bigint;
|
|
344
|
+
|
|
318
345
|
/**
|
|
319
346
|
* Dice RTP percent (99). Canonical source for backend/frontend.
|
|
320
347
|
*/
|
|
@@ -583,6 +610,7 @@ export interface InitOutput {
|
|
|
583
610
|
readonly coinflip_multiplier_x10000: () => number;
|
|
584
611
|
readonly compute_address_hash: (a: number, b: number, c: number) => void;
|
|
585
612
|
readonly compute_aviato_point: (a: number, b: number) => number;
|
|
613
|
+
readonly compute_boost_dice: (a: number, b: number, c: number) => void;
|
|
586
614
|
readonly compute_crash_point: (a: number, b: number) => number;
|
|
587
615
|
readonly compute_drawn_keno: (a: number, b: number, c: number) => void;
|
|
588
616
|
readonly compute_multi_dice: (a: number) => bigint;
|
|
@@ -603,6 +631,8 @@ export interface InitOutput {
|
|
|
603
631
|
readonly compute_server_seed_hash: (a: number, b: number, c: number) => void;
|
|
604
632
|
readonly compute_user_seed_binding: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number) => void;
|
|
605
633
|
readonly derive_session_key: (a: number, b: number, c: number) => void;
|
|
634
|
+
readonly dice_boost_table: (a: number) => void;
|
|
635
|
+
readonly dice_directions_count: () => number;
|
|
606
636
|
readonly encode_keno_selected: (a: number, b: number, c: number) => void;
|
|
607
637
|
readonly generate_user_secret: (a: number) => void;
|
|
608
638
|
readonly generate_user_seed: (a: number) => void;
|
|
@@ -636,6 +666,8 @@ export interface InitOutput {
|
|
|
636
666
|
readonly crash_rtp_percent: () => number;
|
|
637
667
|
readonly dice_rtp_percent: () => number;
|
|
638
668
|
readonly keno_max_picks: () => number;
|
|
669
|
+
readonly dice_power_boost_cost: () => bigint;
|
|
670
|
+
readonly dice_power_boost_max_bet_atomic: () => bigint;
|
|
639
671
|
readonly goldilocks_modulus: () => bigint;
|
|
640
672
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
641
673
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -158,6 +158,27 @@ export function compute_aviato_point(random) {
|
|
|
158
158
|
return ret >>> 0;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Power Boost Boost for a bet: `[boost_rng, boost]`, `boost_rng = random[1] % 10000`.
|
|
163
|
+
* @param {BigUint64Array} random
|
|
164
|
+
* @returns {BigUint64Array}
|
|
165
|
+
*/
|
|
166
|
+
export function compute_boost_dice(random) {
|
|
167
|
+
try {
|
|
168
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
169
|
+
const ptr0 = passArray64ToWasm0(random, wasm.__wbindgen_export);
|
|
170
|
+
const len0 = WASM_VECTOR_LEN;
|
|
171
|
+
wasm.compute_boost_dice(retptr, ptr0, len0);
|
|
172
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
173
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
174
|
+
var v2 = getArrayU64FromWasm0(r0, r1).slice();
|
|
175
|
+
wasm.__wbindgen_export4(r0, r1 * 8, 8);
|
|
176
|
+
return v2;
|
|
177
|
+
} finally {
|
|
178
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
161
182
|
/**
|
|
162
183
|
* Extract crash point (×100) from raw server seed fields.
|
|
163
184
|
*
|
|
@@ -357,10 +378,12 @@ export function compute_payout_crash(random, bet_atomic, cashout_x100) {
|
|
|
357
378
|
*
|
|
358
379
|
* `random`: 4 Goldilocks field elements (Poseidon2 output).
|
|
359
380
|
* `bet_atomic`: bet in atomic units (1 USDT = 1_000_000).
|
|
360
|
-
* `game_mode`: 0=Under, 1=Over, 2=In, 3=Out.
|
|
381
|
+
* `game_mode`: 0=Under, 1=Over, 2=In, 3=Out; 4..7 = the same in Power Boost.
|
|
382
|
+
* `bet_atomic`: the debited stake — for Power Boost the Total Bet (Bet Amount × 100).
|
|
361
383
|
* `prediction_lo` / `prediction_hi`: prediction range bounds (0..999).
|
|
362
384
|
*
|
|
363
|
-
* Returns `BigUint64Array
|
|
385
|
+
* Returns `BigUint64Array`: `[win_amount, roll_number, is_win (0|1), multiplier×10000]`;
|
|
386
|
+
* Power Boost appends `[boost_rng, boost]` (multiplier stays the base one).
|
|
364
387
|
* @param {BigUint64Array} random
|
|
365
388
|
* @param {bigint} bet_atomic
|
|
366
389
|
* @param {number} game_mode
|
|
@@ -705,6 +728,51 @@ export function derive_session_key(sig_bytes) {
|
|
|
705
728
|
}
|
|
706
729
|
}
|
|
707
730
|
|
|
731
|
+
/**
|
|
732
|
+
* Power Boost table flattened as `[rng_lo, rng_hi, boost, ...]` (inclusive ranges).
|
|
733
|
+
* @returns {BigUint64Array}
|
|
734
|
+
*/
|
|
735
|
+
export function dice_boost_table() {
|
|
736
|
+
try {
|
|
737
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
738
|
+
wasm.dice_boost_table(retptr);
|
|
739
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
740
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
741
|
+
var v1 = getArrayU64FromWasm0(r0, r1).slice();
|
|
742
|
+
wasm.__wbindgen_export4(r0, r1 * 8, 8);
|
|
743
|
+
return v1;
|
|
744
|
+
} finally {
|
|
745
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Dice `game_mode = direction + dice_directions_count() × variant` (classic 0, Power Boost 1).
|
|
751
|
+
* @returns {number}
|
|
752
|
+
*/
|
|
753
|
+
export function dice_directions_count() {
|
|
754
|
+
const ret = wasm.dice_directions_count();
|
|
755
|
+
return ret >>> 0;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Power Boost cost: Total Bet = Bet Amount × this (100).
|
|
760
|
+
* @returns {bigint}
|
|
761
|
+
*/
|
|
762
|
+
export function dice_power_boost_cost() {
|
|
763
|
+
const ret = wasm.dice_power_boost_cost();
|
|
764
|
+
return BigInt.asUintN(64, ret);
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* Largest Power Boost Bet Amount accepted on-chain, atomic units.
|
|
769
|
+
* @returns {bigint}
|
|
770
|
+
*/
|
|
771
|
+
export function dice_power_boost_max_bet_atomic() {
|
|
772
|
+
const ret = wasm.dice_power_boost_max_bet_atomic();
|
|
773
|
+
return BigInt.asUintN(64, ret);
|
|
774
|
+
}
|
|
775
|
+
|
|
708
776
|
/**
|
|
709
777
|
* Dice RTP percent (99). Canonical source for backend/frontend.
|
|
710
778
|
* @returns {number}
|
|
Binary file
|
|
@@ -8,6 +8,7 @@ export const blackjack_pack_actions: (a: number, b: number, c: number) => void;
|
|
|
8
8
|
export const coinflip_multiplier_x10000: () => number;
|
|
9
9
|
export const compute_address_hash: (a: number, b: number, c: number) => void;
|
|
10
10
|
export const compute_aviato_point: (a: number, b: number) => number;
|
|
11
|
+
export const compute_boost_dice: (a: number, b: number, c: number) => void;
|
|
11
12
|
export const compute_crash_point: (a: number, b: number) => number;
|
|
12
13
|
export const compute_drawn_keno: (a: number, b: number, c: number) => void;
|
|
13
14
|
export const compute_multi_dice: (a: number) => bigint;
|
|
@@ -28,6 +29,8 @@ export const compute_roll_plinko: (a: number, b: number, c: number) => number;
|
|
|
28
29
|
export const compute_server_seed_hash: (a: number, b: number, c: number) => void;
|
|
29
30
|
export const compute_user_seed_binding: (a: number, b: number, c: bigint, d: number, e: number, f: number, g: number) => void;
|
|
30
31
|
export const derive_session_key: (a: number, b: number, c: number) => void;
|
|
32
|
+
export const dice_boost_table: (a: number) => void;
|
|
33
|
+
export const dice_directions_count: () => number;
|
|
31
34
|
export const encode_keno_selected: (a: number, b: number, c: number) => void;
|
|
32
35
|
export const generate_user_secret: (a: number) => void;
|
|
33
36
|
export const generate_user_seed: (a: number) => void;
|
|
@@ -61,6 +64,8 @@ export const coinflip_rtp_percent: () => number;
|
|
|
61
64
|
export const crash_rtp_percent: () => number;
|
|
62
65
|
export const dice_rtp_percent: () => number;
|
|
63
66
|
export const keno_max_picks: () => number;
|
|
67
|
+
export const dice_power_boost_cost: () => bigint;
|
|
68
|
+
export const dice_power_boost_max_bet_atomic: () => bigint;
|
|
64
69
|
export const goldilocks_modulus: () => bigint;
|
|
65
70
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
66
71
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
package/js/browser.mjs
CHANGED
|
@@ -9,6 +9,7 @@ export {
|
|
|
9
9
|
coinflip_rtp_percent,
|
|
10
10
|
compute_address_hash,
|
|
11
11
|
compute_aviato_point,
|
|
12
|
+
compute_boost_dice,
|
|
12
13
|
compute_crash_point,
|
|
13
14
|
compute_drawn_keno,
|
|
14
15
|
compute_multi_dice,
|
|
@@ -30,6 +31,10 @@ export {
|
|
|
30
31
|
compute_user_seed_binding,
|
|
31
32
|
crash_rtp_percent,
|
|
32
33
|
derive_session_key,
|
|
34
|
+
dice_boost_table,
|
|
35
|
+
dice_directions_count,
|
|
36
|
+
dice_power_boost_cost,
|
|
37
|
+
dice_power_boost_max_bet_atomic,
|
|
33
38
|
dice_rtp_percent,
|
|
34
39
|
encode_keno_selected,
|
|
35
40
|
generate_user_secret,
|
package/js/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export {
|
|
|
7
7
|
coinflip_rtp_percent,
|
|
8
8
|
compute_address_hash,
|
|
9
9
|
compute_aviato_point,
|
|
10
|
+
compute_boost_dice,
|
|
10
11
|
compute_crash_point,
|
|
11
12
|
compute_drawn_keno,
|
|
12
13
|
compute_multi_dice,
|
|
@@ -28,6 +29,10 @@ export {
|
|
|
28
29
|
compute_user_seed_binding,
|
|
29
30
|
crash_rtp_percent,
|
|
30
31
|
derive_session_key,
|
|
32
|
+
dice_boost_table,
|
|
33
|
+
dice_directions_count,
|
|
34
|
+
dice_power_boost_cost,
|
|
35
|
+
dice_power_boost_max_bet_atomic,
|
|
31
36
|
dice_rtp_percent,
|
|
32
37
|
encode_keno_selected,
|
|
33
38
|
generate_user_secret,
|
package/js/node-inline.cjs
CHANGED
|
@@ -11,6 +11,7 @@ module.exports = {
|
|
|
11
11
|
coinflip_rtp_percent: wasm.coinflip_rtp_percent,
|
|
12
12
|
compute_address_hash: wasm.compute_address_hash,
|
|
13
13
|
compute_aviato_point: wasm.compute_aviato_point,
|
|
14
|
+
compute_boost_dice: wasm.compute_boost_dice,
|
|
14
15
|
compute_crash_point: wasm.compute_crash_point,
|
|
15
16
|
compute_drawn_keno: wasm.compute_drawn_keno,
|
|
16
17
|
compute_multi_dice: wasm.compute_multi_dice,
|
|
@@ -32,6 +33,10 @@ module.exports = {
|
|
|
32
33
|
compute_user_seed_binding: wasm.compute_user_seed_binding,
|
|
33
34
|
crash_rtp_percent: wasm.crash_rtp_percent,
|
|
34
35
|
derive_session_key: wasm.derive_session_key,
|
|
36
|
+
dice_boost_table: wasm.dice_boost_table,
|
|
37
|
+
dice_directions_count: wasm.dice_directions_count,
|
|
38
|
+
dice_power_boost_cost: wasm.dice_power_boost_cost,
|
|
39
|
+
dice_power_boost_max_bet_atomic:wasm.dice_power_boost_max_bet_atomic,
|
|
35
40
|
dice_rtp_percent: wasm.dice_rtp_percent,
|
|
36
41
|
encode_keno_selected: wasm.encode_keno_selected,
|
|
37
42
|
generate_user_secret: wasm.generate_user_secret,
|
package/js/node-inline.mjs
CHANGED
|
@@ -7,6 +7,7 @@ export {
|
|
|
7
7
|
coinflip_rtp_percent,
|
|
8
8
|
compute_address_hash,
|
|
9
9
|
compute_aviato_point,
|
|
10
|
+
compute_boost_dice,
|
|
10
11
|
compute_crash_point,
|
|
11
12
|
compute_drawn_keno,
|
|
12
13
|
compute_multi_dice,
|
|
@@ -28,6 +29,10 @@ export {
|
|
|
28
29
|
compute_user_seed_binding,
|
|
29
30
|
crash_rtp_percent,
|
|
30
31
|
derive_session_key,
|
|
32
|
+
dice_boost_table,
|
|
33
|
+
dice_directions_count,
|
|
34
|
+
dice_power_boost_cost,
|
|
35
|
+
dice_power_boost_max_bet_atomic,
|
|
31
36
|
dice_rtp_percent,
|
|
32
37
|
encode_keno_selected,
|
|
33
38
|
generate_user_secret,
|
package/js/node.cjs
CHANGED
|
@@ -11,6 +11,7 @@ module.exports = {
|
|
|
11
11
|
coinflip_rtp_percent: wasm.coinflip_rtp_percent,
|
|
12
12
|
compute_address_hash: wasm.compute_address_hash,
|
|
13
13
|
compute_aviato_point: wasm.compute_aviato_point,
|
|
14
|
+
compute_boost_dice: wasm.compute_boost_dice,
|
|
14
15
|
compute_crash_point: wasm.compute_crash_point,
|
|
15
16
|
compute_drawn_keno: wasm.compute_drawn_keno,
|
|
16
17
|
compute_multi_dice: wasm.compute_multi_dice,
|
|
@@ -32,6 +33,10 @@ module.exports = {
|
|
|
32
33
|
compute_user_seed_binding: wasm.compute_user_seed_binding,
|
|
33
34
|
crash_rtp_percent: wasm.crash_rtp_percent,
|
|
34
35
|
derive_session_key: wasm.derive_session_key,
|
|
36
|
+
dice_boost_table: wasm.dice_boost_table,
|
|
37
|
+
dice_directions_count: wasm.dice_directions_count,
|
|
38
|
+
dice_power_boost_cost: wasm.dice_power_boost_cost,
|
|
39
|
+
dice_power_boost_max_bet_atomic:wasm.dice_power_boost_max_bet_atomic,
|
|
35
40
|
dice_rtp_percent: wasm.dice_rtp_percent,
|
|
36
41
|
encode_keno_selected: wasm.encode_keno_selected,
|
|
37
42
|
generate_user_secret: wasm.generate_user_secret,
|
package/js/node.mjs
CHANGED
|
@@ -12,6 +12,7 @@ export const {
|
|
|
12
12
|
coinflip_rtp_percent,
|
|
13
13
|
compute_address_hash,
|
|
14
14
|
compute_aviato_point,
|
|
15
|
+
compute_boost_dice,
|
|
15
16
|
compute_crash_point,
|
|
16
17
|
compute_drawn_keno,
|
|
17
18
|
compute_multi_dice,
|
|
@@ -33,6 +34,10 @@ export const {
|
|
|
33
34
|
compute_user_seed_binding,
|
|
34
35
|
crash_rtp_percent,
|
|
35
36
|
derive_session_key,
|
|
37
|
+
dice_boost_table,
|
|
38
|
+
dice_directions_count,
|
|
39
|
+
dice_power_boost_cost,
|
|
40
|
+
dice_power_boost_max_bet_atomic,
|
|
36
41
|
dice_rtp_percent,
|
|
37
42
|
encode_keno_selected,
|
|
38
43
|
generate_user_secret,
|
package/js/react.mjs
CHANGED
|
@@ -8,6 +8,7 @@ import init, {
|
|
|
8
8
|
coinflip_rtp_percent,
|
|
9
9
|
compute_address_hash,
|
|
10
10
|
compute_aviato_point,
|
|
11
|
+
compute_boost_dice,
|
|
11
12
|
compute_crash_point,
|
|
12
13
|
compute_drawn_keno,
|
|
13
14
|
compute_multi_dice,
|
|
@@ -29,6 +30,10 @@ import init, {
|
|
|
29
30
|
compute_user_seed_binding,
|
|
30
31
|
crash_rtp_percent,
|
|
31
32
|
derive_session_key,
|
|
33
|
+
dice_boost_table,
|
|
34
|
+
dice_directions_count,
|
|
35
|
+
dice_power_boost_cost,
|
|
36
|
+
dice_power_boost_max_bet_atomic,
|
|
32
37
|
dice_rtp_percent,
|
|
33
38
|
encode_keno_selected,
|
|
34
39
|
generate_user_secret,
|
|
@@ -82,6 +87,7 @@ const fns = {
|
|
|
82
87
|
coinflip_rtp_percent: guard(coinflip_rtp_percent),
|
|
83
88
|
compute_address_hash: guard(compute_address_hash),
|
|
84
89
|
compute_aviato_point: guard(compute_aviato_point),
|
|
90
|
+
compute_boost_dice: guard(compute_boost_dice),
|
|
85
91
|
compute_crash_point: guard(compute_crash_point),
|
|
86
92
|
compute_drawn_keno: guard(compute_drawn_keno),
|
|
87
93
|
compute_multi_dice: guard(compute_multi_dice),
|
|
@@ -103,6 +109,10 @@ const fns = {
|
|
|
103
109
|
compute_user_seed_binding: guard(compute_user_seed_binding),
|
|
104
110
|
crash_rtp_percent: guard(crash_rtp_percent),
|
|
105
111
|
derive_session_key: guard(derive_session_key),
|
|
112
|
+
dice_boost_table: guard(dice_boost_table),
|
|
113
|
+
dice_directions_count: guard(dice_directions_count),
|
|
114
|
+
dice_power_boost_cost: guard(dice_power_boost_cost),
|
|
115
|
+
dice_power_boost_max_bet_atomic:guard(dice_power_boost_max_bet_atomic),
|
|
106
116
|
dice_rtp_percent: guard(dice_rtp_percent),
|
|
107
117
|
encode_keno_selected: guard(encode_keno_selected),
|
|
108
118
|
generate_user_secret: guard(generate_user_secret),
|