lumina-node-wasm 0.10.1 → 0.10.3
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/lumina_node_wasm.d.ts +50 -23
- package/lumina_node_wasm_bg.js +150 -56
- package/lumina_node_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/lumina_node_wasm.d.ts
CHANGED
|
@@ -460,23 +460,6 @@ type ReadableStreamType = "bytes";
|
|
|
460
460
|
|
|
461
461
|
|
|
462
462
|
|
|
463
|
-
/**
|
|
464
|
-
* A payload to be signed
|
|
465
|
-
*/
|
|
466
|
-
export interface SignDoc {
|
|
467
|
-
bodyBytes: Uint8Array;
|
|
468
|
-
authInfoBytes: Uint8Array;
|
|
469
|
-
chainId: string;
|
|
470
|
-
accountNumber: bigint;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* A function that produces a signature of a payload
|
|
475
|
-
*/
|
|
476
|
-
export type SignerFn = ((arg: SignDoc) => Uint8Array) | ((arg: SignDoc) => Promise<Uint8Array>);
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
463
|
/**
|
|
481
464
|
* Transaction info
|
|
482
465
|
*/
|
|
@@ -516,6 +499,23 @@ export type SignerFn = ((arg: SignDoc) => Uint8Array) | ((arg: SignDoc) => Promi
|
|
|
516
499
|
}
|
|
517
500
|
|
|
518
501
|
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* A payload to be signed
|
|
505
|
+
*/
|
|
506
|
+
export interface SignDoc {
|
|
507
|
+
bodyBytes: Uint8Array;
|
|
508
|
+
authInfoBytes: Uint8Array;
|
|
509
|
+
chainId: string;
|
|
510
|
+
accountNumber: bigint;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* A function that produces a signature of a payload
|
|
515
|
+
*/
|
|
516
|
+
export type SignerFn = ((arg: SignDoc) => Uint8Array) | ((arg: SignDoc) => Promise<Uint8Array>);
|
|
517
|
+
|
|
518
|
+
|
|
519
519
|
/**
|
|
520
520
|
* ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
|
|
521
521
|
*/
|
|
@@ -632,6 +632,10 @@ export class AppVersion {
|
|
|
632
632
|
* App v5
|
|
633
633
|
*/
|
|
634
634
|
static readonly V5: AppVersion;
|
|
635
|
+
/**
|
|
636
|
+
* App v6
|
|
637
|
+
*/
|
|
638
|
+
static readonly V6: AppVersion;
|
|
635
639
|
}
|
|
636
640
|
/**
|
|
637
641
|
* Attribute defines an attribute wrapper where the key and value are
|
|
@@ -980,6 +984,33 @@ export class Commitment {
|
|
|
980
984
|
*/
|
|
981
985
|
hash(): Uint8Array;
|
|
982
986
|
}
|
|
987
|
+
/**
|
|
988
|
+
* Response holding consensus node configuration.
|
|
989
|
+
*/
|
|
990
|
+
export class ConfigResponse {
|
|
991
|
+
private constructor();
|
|
992
|
+
free(): void;
|
|
993
|
+
/**
|
|
994
|
+
* Minimum gas price for the node to accept tx. Value is in `utia` denom.
|
|
995
|
+
*/
|
|
996
|
+
get minimum_gas_price(): number | undefined;
|
|
997
|
+
/**
|
|
998
|
+
* Minimum gas price for the node to accept tx. Value is in `utia` denom.
|
|
999
|
+
*/
|
|
1000
|
+
set minimum_gas_price(value: number | null | undefined);
|
|
1001
|
+
/**
|
|
1002
|
+
* How many recent blocks are stored by the node.
|
|
1003
|
+
*/
|
|
1004
|
+
pruning_keep_recent: bigint;
|
|
1005
|
+
/**
|
|
1006
|
+
* Amount of blocks used as an interval to trigger prunning.
|
|
1007
|
+
*/
|
|
1008
|
+
pruning_interval: bigint;
|
|
1009
|
+
/**
|
|
1010
|
+
* A height at which the node should stop advancing state.
|
|
1011
|
+
*/
|
|
1012
|
+
halt_height: bigint;
|
|
1013
|
+
}
|
|
983
1014
|
/**
|
|
984
1015
|
* Conflicting block detected in light client attack
|
|
985
1016
|
*/
|
|
@@ -1439,9 +1470,9 @@ export class GrpcClient {
|
|
|
1439
1470
|
*/
|
|
1440
1471
|
get_total_supply(): Promise<Coin[]>;
|
|
1441
1472
|
/**
|
|
1442
|
-
* Get
|
|
1473
|
+
* Get node configuration
|
|
1443
1474
|
*/
|
|
1444
|
-
|
|
1475
|
+
get_node_config(): Promise<ConfigResponse>;
|
|
1445
1476
|
/**
|
|
1446
1477
|
* Get latest block
|
|
1447
1478
|
*/
|
|
@@ -2289,10 +2320,6 @@ export class TxClient {
|
|
|
2289
2320
|
* ```
|
|
2290
2321
|
*/
|
|
2291
2322
|
constructor(url: string, pubkey: Uint8Array, signer_fn: SignerFn);
|
|
2292
|
-
/**
|
|
2293
|
-
* Query for the current minimum gas price
|
|
2294
|
-
*/
|
|
2295
|
-
minGasPrice(): Promise<number>;
|
|
2296
2323
|
/**
|
|
2297
2324
|
* estimate_gas_price takes a transaction priority and estimates the gas price based
|
|
2298
2325
|
* on the gas prices of the transactions in the last five blocks.
|
package/lumina_node_wasm_bg.js
CHANGED
|
@@ -307,7 +307,7 @@ function __wbg_adapter_77(arg0, arg1) {
|
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
function __wbg_adapter_80(arg0, arg1, arg2) {
|
|
310
|
-
wasm.
|
|
310
|
+
wasm.closure2684_externref_shim(arg0, arg1, arg2);
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
function __wbg_adapter_83(arg0, arg1) {
|
|
@@ -315,11 +315,11 @@ function __wbg_adapter_83(arg0, arg1) {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
function __wbg_adapter_86(arg0, arg1, arg2) {
|
|
318
|
-
wasm.
|
|
318
|
+
wasm.closure2809_externref_shim(arg0, arg1, arg2);
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
function
|
|
322
|
-
wasm.
|
|
321
|
+
function __wbg_adapter_985(arg0, arg1, arg2, arg3) {
|
|
322
|
+
wasm.closure2827_externref_shim(arg0, arg1, arg2, arg3);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
/**
|
|
@@ -1156,12 +1156,20 @@ export class AppVersion {
|
|
|
1156
1156
|
const ret = wasm.appversion_V5();
|
|
1157
1157
|
return AppVersion.__wrap(ret);
|
|
1158
1158
|
}
|
|
1159
|
+
/**
|
|
1160
|
+
* App v6
|
|
1161
|
+
* @returns {AppVersion}
|
|
1162
|
+
*/
|
|
1163
|
+
static get V6() {
|
|
1164
|
+
const ret = wasm.appversion_V6();
|
|
1165
|
+
return AppVersion.__wrap(ret);
|
|
1166
|
+
}
|
|
1159
1167
|
/**
|
|
1160
1168
|
* Latest App version variant.
|
|
1161
1169
|
* @returns {AppVersion}
|
|
1162
1170
|
*/
|
|
1163
1171
|
static latest() {
|
|
1164
|
-
const ret = wasm.
|
|
1172
|
+
const ret = wasm.appversion_V6();
|
|
1165
1173
|
return AppVersion.__wrap(ret);
|
|
1166
1174
|
}
|
|
1167
1175
|
}
|
|
@@ -2285,6 +2293,95 @@ export class Commitment {
|
|
|
2285
2293
|
}
|
|
2286
2294
|
}
|
|
2287
2295
|
|
|
2296
|
+
const ConfigResponseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2297
|
+
? { register: () => {}, unregister: () => {} }
|
|
2298
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_configresponse_free(ptr >>> 0, 1));
|
|
2299
|
+
/**
|
|
2300
|
+
* Response holding consensus node configuration.
|
|
2301
|
+
*/
|
|
2302
|
+
export class ConfigResponse {
|
|
2303
|
+
|
|
2304
|
+
static __wrap(ptr) {
|
|
2305
|
+
ptr = ptr >>> 0;
|
|
2306
|
+
const obj = Object.create(ConfigResponse.prototype);
|
|
2307
|
+
obj.__wbg_ptr = ptr;
|
|
2308
|
+
ConfigResponseFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
2309
|
+
return obj;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
__destroy_into_raw() {
|
|
2313
|
+
const ptr = this.__wbg_ptr;
|
|
2314
|
+
this.__wbg_ptr = 0;
|
|
2315
|
+
ConfigResponseFinalization.unregister(this);
|
|
2316
|
+
return ptr;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
free() {
|
|
2320
|
+
const ptr = this.__destroy_into_raw();
|
|
2321
|
+
wasm.__wbg_configresponse_free(ptr, 0);
|
|
2322
|
+
}
|
|
2323
|
+
/**
|
|
2324
|
+
* Minimum gas price for the node to accept tx. Value is in `utia` denom.
|
|
2325
|
+
* @returns {number | undefined}
|
|
2326
|
+
*/
|
|
2327
|
+
get minimum_gas_price() {
|
|
2328
|
+
const ret = wasm.__wbg_get_configresponse_minimum_gas_price(this.__wbg_ptr);
|
|
2329
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
2330
|
+
}
|
|
2331
|
+
/**
|
|
2332
|
+
* Minimum gas price for the node to accept tx. Value is in `utia` denom.
|
|
2333
|
+
* @param {number | null} [arg0]
|
|
2334
|
+
*/
|
|
2335
|
+
set minimum_gas_price(arg0) {
|
|
2336
|
+
wasm.__wbg_set_configresponse_minimum_gas_price(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
|
|
2337
|
+
}
|
|
2338
|
+
/**
|
|
2339
|
+
* How many recent blocks are stored by the node.
|
|
2340
|
+
* @returns {bigint}
|
|
2341
|
+
*/
|
|
2342
|
+
get pruning_keep_recent() {
|
|
2343
|
+
const ret = wasm.__wbg_get_configresponse_pruning_keep_recent(this.__wbg_ptr);
|
|
2344
|
+
return BigInt.asUintN(64, ret);
|
|
2345
|
+
}
|
|
2346
|
+
/**
|
|
2347
|
+
* How many recent blocks are stored by the node.
|
|
2348
|
+
* @param {bigint} arg0
|
|
2349
|
+
*/
|
|
2350
|
+
set pruning_keep_recent(arg0) {
|
|
2351
|
+
wasm.__wbg_set_configresponse_pruning_keep_recent(this.__wbg_ptr, arg0);
|
|
2352
|
+
}
|
|
2353
|
+
/**
|
|
2354
|
+
* Amount of blocks used as an interval to trigger prunning.
|
|
2355
|
+
* @returns {bigint}
|
|
2356
|
+
*/
|
|
2357
|
+
get pruning_interval() {
|
|
2358
|
+
const ret = wasm.__wbg_get_configresponse_pruning_interval(this.__wbg_ptr);
|
|
2359
|
+
return BigInt.asUintN(64, ret);
|
|
2360
|
+
}
|
|
2361
|
+
/**
|
|
2362
|
+
* Amount of blocks used as an interval to trigger prunning.
|
|
2363
|
+
* @param {bigint} arg0
|
|
2364
|
+
*/
|
|
2365
|
+
set pruning_interval(arg0) {
|
|
2366
|
+
wasm.__wbg_set_configresponse_pruning_interval(this.__wbg_ptr, arg0);
|
|
2367
|
+
}
|
|
2368
|
+
/**
|
|
2369
|
+
* A height at which the node should stop advancing state.
|
|
2370
|
+
* @returns {bigint}
|
|
2371
|
+
*/
|
|
2372
|
+
get halt_height() {
|
|
2373
|
+
const ret = wasm.__wbg_get_configresponse_halt_height(this.__wbg_ptr);
|
|
2374
|
+
return BigInt.asUintN(64, ret);
|
|
2375
|
+
}
|
|
2376
|
+
/**
|
|
2377
|
+
* A height at which the node should stop advancing state.
|
|
2378
|
+
* @param {bigint} arg0
|
|
2379
|
+
*/
|
|
2380
|
+
set halt_height(arg0) {
|
|
2381
|
+
wasm.__wbg_set_configresponse_halt_height(this.__wbg_ptr, arg0);
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2288
2385
|
const ConflictingBlockFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2289
2386
|
? { register: () => {}, unregister: () => {} }
|
|
2290
2387
|
: new FinalizationRegistry(ptr => wasm.__wbg_conflictingblock_free(ptr >>> 0, 1));
|
|
@@ -2560,7 +2657,7 @@ export class Data {
|
|
|
2560
2657
|
* @returns {bigint}
|
|
2561
2658
|
*/
|
|
2562
2659
|
get square_size() {
|
|
2563
|
-
const ret = wasm.
|
|
2660
|
+
const ret = wasm.__wbg_get_commit_height(this.__wbg_ptr);
|
|
2564
2661
|
return BigInt.asUintN(64, ret);
|
|
2565
2662
|
}
|
|
2566
2663
|
/**
|
|
@@ -2568,7 +2665,7 @@ export class Data {
|
|
|
2568
2665
|
* @param {bigint} arg0
|
|
2569
2666
|
*/
|
|
2570
2667
|
set square_size(arg0) {
|
|
2571
|
-
wasm.
|
|
2668
|
+
wasm.__wbg_set_commit_height(this.__wbg_ptr, arg0);
|
|
2572
2669
|
}
|
|
2573
2670
|
/**
|
|
2574
2671
|
* Hash is the root of a binary Merkle tree where the leaves of the tree are
|
|
@@ -3214,7 +3311,7 @@ export class Fee {
|
|
|
3214
3311
|
* @returns {bigint}
|
|
3215
3312
|
*/
|
|
3216
3313
|
get gas_limit() {
|
|
3217
|
-
const ret = wasm.
|
|
3314
|
+
const ret = wasm.__wbg_get_fee_gas_limit(this.__wbg_ptr);
|
|
3218
3315
|
return BigInt.asUintN(64, ret);
|
|
3219
3316
|
}
|
|
3220
3317
|
/**
|
|
@@ -3223,7 +3320,7 @@ export class Fee {
|
|
|
3223
3320
|
* @param {bigint} arg0
|
|
3224
3321
|
*/
|
|
3225
3322
|
set gas_limit(arg0) {
|
|
3226
|
-
wasm.
|
|
3323
|
+
wasm.__wbg_set_fee_gas_limit(this.__wbg_ptr, arg0);
|
|
3227
3324
|
}
|
|
3228
3325
|
/**
|
|
3229
3326
|
* if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
|
|
@@ -3558,11 +3655,11 @@ export class GrpcClient {
|
|
|
3558
3655
|
return ret;
|
|
3559
3656
|
}
|
|
3560
3657
|
/**
|
|
3561
|
-
* Get
|
|
3562
|
-
* @returns {Promise<
|
|
3658
|
+
* Get node configuration
|
|
3659
|
+
* @returns {Promise<ConfigResponse>}
|
|
3563
3660
|
*/
|
|
3564
|
-
|
|
3565
|
-
const ret = wasm.
|
|
3661
|
+
get_node_config() {
|
|
3662
|
+
const ret = wasm.grpcclient_get_node_config(this.__wbg_ptr);
|
|
3566
3663
|
return ret;
|
|
3567
3664
|
}
|
|
3568
3665
|
/**
|
|
@@ -4168,7 +4265,7 @@ export class JsBitVector {
|
|
|
4168
4265
|
set 0(arg0) {
|
|
4169
4266
|
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);
|
|
4170
4267
|
const len0 = WASM_VECTOR_LEN;
|
|
4171
|
-
wasm.
|
|
4268
|
+
wasm.__wbg_set_jsbitvector_0(this.__wbg_ptr, ptr0, len0);
|
|
4172
4269
|
}
|
|
4173
4270
|
}
|
|
4174
4271
|
|
|
@@ -4222,7 +4319,7 @@ export class JsEvent {
|
|
|
4222
4319
|
set type(arg0) {
|
|
4223
4320
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4224
4321
|
const len0 = WASM_VECTOR_LEN;
|
|
4225
|
-
wasm.
|
|
4322
|
+
wasm.__wbg_set_blockid_hash(this.__wbg_ptr, ptr0, len0);
|
|
4226
4323
|
}
|
|
4227
4324
|
/**
|
|
4228
4325
|
* @returns {JsEventAttribute[]}
|
|
@@ -4296,7 +4393,7 @@ export class JsEventAttribute {
|
|
|
4296
4393
|
set key(arg0) {
|
|
4297
4394
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4298
4395
|
const len0 = WASM_VECTOR_LEN;
|
|
4299
|
-
wasm.
|
|
4396
|
+
wasm.__wbg_set_blockid_hash(this.__wbg_ptr, ptr0, len0);
|
|
4300
4397
|
}
|
|
4301
4398
|
/**
|
|
4302
4399
|
* @returns {string}
|
|
@@ -6284,7 +6381,7 @@ export class TxBody {
|
|
|
6284
6381
|
set memo(arg0) {
|
|
6285
6382
|
const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
6286
6383
|
const len0 = WASM_VECTOR_LEN;
|
|
6287
|
-
wasm.
|
|
6384
|
+
wasm.__wbg_set_txbody_memo(this.__wbg_ptr, ptr0, len0);
|
|
6288
6385
|
}
|
|
6289
6386
|
/**
|
|
6290
6387
|
* `messages` is a list of messages to be executed. The required signers of
|
|
@@ -6408,14 +6505,6 @@ export class TxClient {
|
|
|
6408
6505
|
const ret = wasm.txclient_new(ptr0, len0, pubkey, signer_fn);
|
|
6409
6506
|
return ret;
|
|
6410
6507
|
}
|
|
6411
|
-
/**
|
|
6412
|
-
* Query for the current minimum gas price
|
|
6413
|
-
* @returns {Promise<number>}
|
|
6414
|
-
*/
|
|
6415
|
-
minGasPrice() {
|
|
6416
|
-
const ret = wasm.txclient_minGasPrice(this.__wbg_ptr);
|
|
6417
|
-
return ret;
|
|
6418
|
-
}
|
|
6419
6508
|
/**
|
|
6420
6509
|
* estimate_gas_price takes a transaction priority and estimates the gas price based
|
|
6421
6510
|
* on the gas prices of the transactions in the last five blocks.
|
|
@@ -7312,7 +7401,7 @@ export function __wbg_abort_99fc644e2c79c9fb() { return handleError(function (ar
|
|
|
7312
7401
|
arg0.abort();
|
|
7313
7402
|
}, arguments) };
|
|
7314
7403
|
|
|
7315
|
-
export function
|
|
7404
|
+
export function __wbg_accountNumber_793fbe9e5a2fb839(arg0) {
|
|
7316
7405
|
const ret = arg0.accountNumber;
|
|
7317
7406
|
return ret;
|
|
7318
7407
|
};
|
|
@@ -7350,7 +7439,7 @@ export function __wbg_attribute_unwrap(arg0) {
|
|
|
7350
7439
|
return ret;
|
|
7351
7440
|
};
|
|
7352
7441
|
|
|
7353
|
-
export function
|
|
7442
|
+
export function __wbg_authInfoBytes_459e81f30c0e9c13(arg0, arg1) {
|
|
7354
7443
|
const ret = arg1.authInfoBytes;
|
|
7355
7444
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
7356
7445
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -7388,7 +7477,7 @@ export function __wbg_blockrange_unwrap(arg0) {
|
|
|
7388
7477
|
return ret;
|
|
7389
7478
|
};
|
|
7390
7479
|
|
|
7391
|
-
export function
|
|
7480
|
+
export function __wbg_bodyBytes_caa9f71ff12973cf(arg0, arg1) {
|
|
7392
7481
|
const ret = arg1.bodyBytes;
|
|
7393
7482
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
7394
7483
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -7456,7 +7545,7 @@ export function __wbg_cause_9940c4e8dfcd5129(arg0) {
|
|
|
7456
7545
|
return ret;
|
|
7457
7546
|
};
|
|
7458
7547
|
|
|
7459
|
-
export function
|
|
7548
|
+
export function __wbg_chainId_7cdd8a461ddd3dd2(arg0, arg1) {
|
|
7460
7549
|
const ret = arg1.chainId;
|
|
7461
7550
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
7462
7551
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -7555,6 +7644,11 @@ export function __wbg_commitsig_unwrap(arg0) {
|
|
|
7555
7644
|
return ret;
|
|
7556
7645
|
};
|
|
7557
7646
|
|
|
7647
|
+
export function __wbg_configresponse_new(arg0) {
|
|
7648
|
+
const ret = ConfigResponse.__wrap(arg0);
|
|
7649
|
+
return ret;
|
|
7650
|
+
};
|
|
7651
|
+
|
|
7558
7652
|
export function __wbg_continue_91e59787d3598bbb() { return handleError(function (arg0, arg1) {
|
|
7559
7653
|
arg0.continue(arg1);
|
|
7560
7654
|
}, arguments) };
|
|
@@ -7691,13 +7785,13 @@ export function __wbg_fetch_07cd86dd296a5a63(arg0, arg1, arg2) {
|
|
|
7691
7785
|
return ret;
|
|
7692
7786
|
};
|
|
7693
7787
|
|
|
7694
|
-
export function
|
|
7695
|
-
const ret = fetch(arg0);
|
|
7788
|
+
export function __wbg_fetch_769f3df592e37b75(arg0, arg1) {
|
|
7789
|
+
const ret = fetch(arg0, arg1);
|
|
7696
7790
|
return ret;
|
|
7697
7791
|
};
|
|
7698
7792
|
|
|
7699
|
-
export function
|
|
7700
|
-
const ret = fetch(arg0
|
|
7793
|
+
export function __wbg_fetch_fcf712d17584da96(arg0) {
|
|
7794
|
+
const ret = fetch(arg0);
|
|
7701
7795
|
return ret;
|
|
7702
7796
|
};
|
|
7703
7797
|
|
|
@@ -7706,13 +7800,13 @@ export function __wbg_from_2a5d3e218e67aa85(arg0) {
|
|
|
7706
7800
|
return ret;
|
|
7707
7801
|
};
|
|
7708
7802
|
|
|
7709
|
-
export function
|
|
7803
|
+
export function __wbg_gasLimit_311f647474d3aead(arg0, arg1) {
|
|
7710
7804
|
const ret = arg1.gasLimit;
|
|
7711
7805
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
7712
7806
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
7713
7807
|
};
|
|
7714
7808
|
|
|
7715
|
-
export function
|
|
7809
|
+
export function __wbg_gasPrice_3c8789c4d0cbcbbf(arg0, arg1) {
|
|
7716
7810
|
const ret = arg1.gasPrice;
|
|
7717
7811
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
7718
7812
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
@@ -8132,7 +8226,7 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
|
|
|
8132
8226
|
return ret;
|
|
8133
8227
|
};
|
|
8134
8228
|
|
|
8135
|
-
export function
|
|
8229
|
+
export function __wbg_memo_06f326dadb7e1baa(arg0, arg1) {
|
|
8136
8230
|
const ret = arg1.memo;
|
|
8137
8231
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
8138
8232
|
var len1 = WASM_VECTOR_LEN;
|
|
@@ -8197,7 +8291,7 @@ export function __wbg_new_23a2665fac83c611(arg0, arg1) {
|
|
|
8197
8291
|
const a = state0.a;
|
|
8198
8292
|
state0.a = 0;
|
|
8199
8293
|
try {
|
|
8200
|
-
return
|
|
8294
|
+
return __wbg_adapter_985(a, state0.b, arg0, arg1);
|
|
8201
8295
|
} finally {
|
|
8202
8296
|
state0.a = a;
|
|
8203
8297
|
}
|
|
@@ -8379,19 +8473,19 @@ export function __wbg_ports_b00492ca2866b691(arg0) {
|
|
|
8379
8473
|
return ret;
|
|
8380
8474
|
};
|
|
8381
8475
|
|
|
8382
|
-
export function
|
|
8383
|
-
arg0.postMessage(arg1);
|
|
8476
|
+
export function __wbg_postMessage_78b9d96b91e90fe8() { return handleError(function (arg0, arg1, arg2) {
|
|
8477
|
+
arg0.postMessage(arg1, arg2);
|
|
8384
8478
|
}, arguments) };
|
|
8385
8479
|
|
|
8386
8480
|
export function __wbg_postMessage_bb72e89e7ba80355() { return handleError(function (arg0, arg1) {
|
|
8387
8481
|
arg0.postMessage(arg1);
|
|
8388
8482
|
}, arguments) };
|
|
8389
8483
|
|
|
8390
|
-
export function
|
|
8391
|
-
arg0.postMessage(arg1
|
|
8484
|
+
export function __wbg_postMessage_dad5a2d9dc6765f8() { return handleError(function (arg0, arg1) {
|
|
8485
|
+
arg0.postMessage(arg1);
|
|
8392
8486
|
}, arguments) };
|
|
8393
8487
|
|
|
8394
|
-
export function
|
|
8488
|
+
export function __wbg_priority_d731a1c041cc1e6f(arg0) {
|
|
8395
8489
|
const ret = arg0.priority;
|
|
8396
8490
|
return isLikeNone(ret) ? 0 : ret;
|
|
8397
8491
|
};
|
|
@@ -8803,7 +8897,7 @@ export function __wbg_txstatusresponse_new(arg0) {
|
|
|
8803
8897
|
return ret;
|
|
8804
8898
|
};
|
|
8805
8899
|
|
|
8806
|
-
export function
|
|
8900
|
+
export function __wbg_typeUrl_2c98c99b2904d84c(arg0, arg1) {
|
|
8807
8901
|
const ret = arg1.typeUrl;
|
|
8808
8902
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
8809
8903
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -8837,7 +8931,7 @@ export function __wbg_value_68c4e9a54bb7fd5e() { return handleError(function (ar
|
|
|
8837
8931
|
return ret;
|
|
8838
8932
|
}, arguments) };
|
|
8839
8933
|
|
|
8840
|
-
export function
|
|
8934
|
+
export function __wbg_value_9d0a1475adca6e41(arg0, arg1) {
|
|
8841
8935
|
const ret = arg1.value;
|
|
8842
8936
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
8843
8937
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -8921,48 +9015,48 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
8921
9015
|
return ret;
|
|
8922
9016
|
};
|
|
8923
9017
|
|
|
8924
|
-
export function
|
|
9018
|
+
export function __wbindgen_closure_wrapper1276(arg0, arg1, arg2) {
|
|
8925
9019
|
const ret = makeClosure(arg0, arg1, 311, __wbg_adapter_64);
|
|
8926
9020
|
return ret;
|
|
8927
9021
|
};
|
|
8928
9022
|
|
|
8929
|
-
export function
|
|
9023
|
+
export function __wbindgen_closure_wrapper1277(arg0, arg1, arg2) {
|
|
8930
9024
|
const ret = makeMutClosure(arg0, arg1, 311, __wbg_adapter_67);
|
|
8931
9025
|
return ret;
|
|
8932
9026
|
};
|
|
8933
9027
|
|
|
8934
|
-
export function
|
|
9028
|
+
export function __wbindgen_closure_wrapper4831(arg0, arg1, arg2) {
|
|
8935
9029
|
const ret = makeMutClosure(arg0, arg1, 1612, __wbg_adapter_70);
|
|
8936
9030
|
return ret;
|
|
8937
9031
|
};
|
|
8938
9032
|
|
|
8939
|
-
export function
|
|
9033
|
+
export function __wbindgen_closure_wrapper4832(arg0, arg1, arg2) {
|
|
8940
9034
|
const ret = makeMutClosure(arg0, arg1, 1612, __wbg_adapter_70);
|
|
8941
9035
|
return ret;
|
|
8942
9036
|
};
|
|
8943
9037
|
|
|
8944
|
-
export function
|
|
9038
|
+
export function __wbindgen_closure_wrapper4833(arg0, arg1, arg2) {
|
|
8945
9039
|
const ret = makeMutClosure(arg0, arg1, 1612, __wbg_adapter_70);
|
|
8946
9040
|
return ret;
|
|
8947
9041
|
};
|
|
8948
9042
|
|
|
8949
|
-
export function
|
|
9043
|
+
export function __wbindgen_closure_wrapper6385(arg0, arg1, arg2) {
|
|
8950
9044
|
const ret = makeMutClosure(arg0, arg1, 2165, __wbg_adapter_77);
|
|
8951
9045
|
return ret;
|
|
8952
9046
|
};
|
|
8953
9047
|
|
|
8954
|
-
export function
|
|
8955
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
9048
|
+
export function __wbindgen_closure_wrapper8490(arg0, arg1, arg2) {
|
|
9049
|
+
const ret = makeMutClosure(arg0, arg1, 2685, __wbg_adapter_80);
|
|
8956
9050
|
return ret;
|
|
8957
9051
|
};
|
|
8958
9052
|
|
|
8959
|
-
export function
|
|
8960
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
9053
|
+
export function __wbindgen_closure_wrapper8537(arg0, arg1, arg2) {
|
|
9054
|
+
const ret = makeMutClosure(arg0, arg1, 2704, __wbg_adapter_83);
|
|
8961
9055
|
return ret;
|
|
8962
9056
|
};
|
|
8963
9057
|
|
|
8964
|
-
export function
|
|
8965
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
9058
|
+
export function __wbindgen_closure_wrapper8846(arg0, arg1, arg2) {
|
|
9059
|
+
const ret = makeMutClosure(arg0, arg1, 2810, __wbg_adapter_86);
|
|
8966
9060
|
return ret;
|
|
8967
9061
|
};
|
|
8968
9062
|
|
package/lumina_node_wasm_bg.wasm
CHANGED
|
Binary file
|