@dashevo/wasm-dpp2 4.0.0-beta.2 → 4.0.0-beta.4

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.
@@ -14902,6 +14902,15 @@ export class ShieldFromAssetLockTransition {
14902
14902
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
14903
14903
  }
14904
14904
  }
14905
+ /**
14906
+ * Returns the optional surplus-output platform address, or
14907
+ * `undefined` when the surplus folds into the fee pools.
14908
+ * @returns {PlatformAddress | undefined}
14909
+ */
14910
+ get surplusOutput() {
14911
+ const ret = wasm.shieldfromassetlocktransition_surplus_output(this.__wbg_ptr);
14912
+ return ret === 0 ? undefined : PlatformAddress.__wrap(ret);
14913
+ }
14905
14914
  /**
14906
14915
  * @returns {Uint8Array}
14907
14916
  */
@@ -20444,6 +20453,134 @@ export class VerifiedAssetLockConsumed {
20444
20453
  }
20445
20454
  if (Symbol.dispose) VerifiedAssetLockConsumed.prototype[Symbol.dispose] = VerifiedAssetLockConsumed.prototype.free;
20446
20455
 
20456
+ export class VerifiedAssetLockConsumedWithAddressInfos {
20457
+ static __wrap(ptr) {
20458
+ ptr = ptr >>> 0;
20459
+ const obj = Object.create(VerifiedAssetLockConsumedWithAddressInfos.prototype);
20460
+ obj.__wbg_ptr = ptr;
20461
+ VerifiedAssetLockConsumedWithAddressInfosFinalization.register(obj, obj.__wbg_ptr, obj);
20462
+ return obj;
20463
+ }
20464
+ __destroy_into_raw() {
20465
+ const ptr = this.__wbg_ptr;
20466
+ this.__wbg_ptr = 0;
20467
+ VerifiedAssetLockConsumedWithAddressInfosFinalization.unregister(this);
20468
+ return ptr;
20469
+ }
20470
+ free() {
20471
+ const ptr = this.__destroy_into_raw();
20472
+ wasm.__wbg_verifiedassetlockconsumedwithaddressinfos_free(ptr, 0);
20473
+ }
20474
+ /**
20475
+ * @returns {Map<any, any>}
20476
+ */
20477
+ get addressInfos() {
20478
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_address_infos(this.__wbg_ptr);
20479
+ return ret;
20480
+ }
20481
+ /**
20482
+ * @param {any} value
20483
+ * @returns {VerifiedAssetLockConsumedWithAddressInfos}
20484
+ */
20485
+ static fromJSON(value) {
20486
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_fromJSON(value);
20487
+ if (ret[2]) {
20488
+ throw takeFromExternrefTable0(ret[1]);
20489
+ }
20490
+ return VerifiedAssetLockConsumedWithAddressInfos.__wrap(ret[0]);
20491
+ }
20492
+ /**
20493
+ * @param {any} value
20494
+ * @returns {VerifiedAssetLockConsumedWithAddressInfos}
20495
+ */
20496
+ static fromObject(value) {
20497
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_fromObject(value);
20498
+ if (ret[2]) {
20499
+ throw takeFromExternrefTable0(ret[1]);
20500
+ }
20501
+ return VerifiedAssetLockConsumedWithAddressInfos.__wrap(ret[0]);
20502
+ }
20503
+ /**
20504
+ * @returns {any}
20505
+ */
20506
+ get initialCreditValue() {
20507
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_initialCreditValue(this.__wbg_ptr);
20508
+ return ret;
20509
+ }
20510
+ /**
20511
+ * @returns {any}
20512
+ */
20513
+ get remainingCreditValue() {
20514
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_remainingCreditValue(this.__wbg_ptr);
20515
+ return ret;
20516
+ }
20517
+ /**
20518
+ * @returns {string}
20519
+ */
20520
+ get status() {
20521
+ let deferred1_0;
20522
+ let deferred1_1;
20523
+ try {
20524
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_status(this.__wbg_ptr);
20525
+ deferred1_0 = ret[0];
20526
+ deferred1_1 = ret[1];
20527
+ return getStringFromWasm0(ret[0], ret[1]);
20528
+ } finally {
20529
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
20530
+ }
20531
+ }
20532
+ /**
20533
+ * @returns {string}
20534
+ */
20535
+ static get __struct() {
20536
+ let deferred1_0;
20537
+ let deferred1_1;
20538
+ try {
20539
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_struct_name();
20540
+ deferred1_0 = ret[0];
20541
+ deferred1_1 = ret[1];
20542
+ return getStringFromWasm0(ret[0], ret[1]);
20543
+ } finally {
20544
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
20545
+ }
20546
+ }
20547
+ /**
20548
+ * Returns a `JSON.stringify`-friendly form: the `Map` is normalised to a
20549
+ * plain object so its entries survive serialisation.
20550
+ * @returns {any}
20551
+ */
20552
+ toJSON() {
20553
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_toJSON(this.__wbg_ptr);
20554
+ if (ret[2]) {
20555
+ throw takeFromExternrefTable0(ret[1]);
20556
+ }
20557
+ return takeFromExternrefTable0(ret[0]);
20558
+ }
20559
+ /**
20560
+ * @returns {any}
20561
+ */
20562
+ toObject() {
20563
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_toObject(this.__wbg_ptr);
20564
+ return ret;
20565
+ }
20566
+ /**
20567
+ * @returns {string}
20568
+ */
20569
+ get __type() {
20570
+ let deferred1_0;
20571
+ let deferred1_1;
20572
+ try {
20573
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_type_name(this.__wbg_ptr);
20574
+ deferred1_0 = ret[0];
20575
+ deferred1_1 = ret[1];
20576
+ return getStringFromWasm0(ret[0], ret[1]);
20577
+ } finally {
20578
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
20579
+ }
20580
+ }
20581
+ }
20582
+ if (Symbol.dispose) VerifiedAssetLockConsumedWithAddressInfos.prototype[Symbol.dispose] = VerifiedAssetLockConsumedWithAddressInfos.prototype.free;
20583
+
20447
20584
  export class VerifiedBalanceTransfer {
20448
20585
  static __wrap(ptr) {
20449
20586
  ptr = ptr >>> 0;
@@ -21121,6 +21258,127 @@ export class VerifiedIdentityWithAddressInfos {
21121
21258
  }
21122
21259
  if (Symbol.dispose) VerifiedIdentityWithAddressInfos.prototype[Symbol.dispose] = VerifiedIdentityWithAddressInfos.prototype.free;
21123
21260
 
21261
+ /**
21262
+ * Returned by `IdentityCreateFromShieldedPool`: the newly-created identity plus the presence of
21263
+ * each spent funding nullifier, proven together in a single STRICT merged GroveDB proof.
21264
+ */
21265
+ export class VerifiedIdentityWithShieldedNullifiers {
21266
+ static __wrap(ptr) {
21267
+ ptr = ptr >>> 0;
21268
+ const obj = Object.create(VerifiedIdentityWithShieldedNullifiers.prototype);
21269
+ obj.__wbg_ptr = ptr;
21270
+ VerifiedIdentityWithShieldedNullifiersFinalization.register(obj, obj.__wbg_ptr, obj);
21271
+ return obj;
21272
+ }
21273
+ __destroy_into_raw() {
21274
+ const ptr = this.__wbg_ptr;
21275
+ this.__wbg_ptr = 0;
21276
+ VerifiedIdentityWithShieldedNullifiersFinalization.unregister(this);
21277
+ return ptr;
21278
+ }
21279
+ free() {
21280
+ const ptr = this.__destroy_into_raw();
21281
+ wasm.__wbg_verifiedidentitywithshieldednullifiers_free(ptr, 0);
21282
+ }
21283
+ /**
21284
+ * @returns {Identity}
21285
+ */
21286
+ get identity() {
21287
+ const ret = wasm.__wbg_get_verifiedidentitywithshieldednullifiers_identity(this.__wbg_ptr);
21288
+ return Identity.__wrap(ret);
21289
+ }
21290
+ /**
21291
+ * @param {Identity} arg0
21292
+ */
21293
+ set identity(arg0) {
21294
+ _assertClass(arg0, Identity);
21295
+ var ptr0 = arg0.__destroy_into_raw();
21296
+ wasm.__wbg_set_verifiedidentitywithshieldednullifiers_identity(this.__wbg_ptr, ptr0);
21297
+ }
21298
+ /**
21299
+ * @param {any} value
21300
+ * @returns {VerifiedIdentityWithShieldedNullifiers}
21301
+ */
21302
+ static fromJSON(value) {
21303
+ const ret = wasm.verifiedidentitywithshieldednullifiers_fromJSON(value);
21304
+ if (ret[2]) {
21305
+ throw takeFromExternrefTable0(ret[1]);
21306
+ }
21307
+ return VerifiedIdentityWithShieldedNullifiers.__wrap(ret[0]);
21308
+ }
21309
+ /**
21310
+ * @param {any} value
21311
+ * @returns {VerifiedIdentityWithShieldedNullifiers}
21312
+ */
21313
+ static fromObject(value) {
21314
+ const ret = wasm.verifiedidentitywithshieldednullifiers_fromObject(value);
21315
+ if (ret[2]) {
21316
+ throw takeFromExternrefTable0(ret[1]);
21317
+ }
21318
+ return VerifiedIdentityWithShieldedNullifiers.__wrap(ret[0]);
21319
+ }
21320
+ /**
21321
+ * @returns {Map<any, any>}
21322
+ */
21323
+ get nullifiers() {
21324
+ const ret = wasm.verifiedidentitywithshieldednullifiers_nullifiers(this.__wbg_ptr);
21325
+ return ret;
21326
+ }
21327
+ /**
21328
+ * @returns {string}
21329
+ */
21330
+ static get __struct() {
21331
+ let deferred1_0;
21332
+ let deferred1_1;
21333
+ try {
21334
+ const ret = wasm.verifiedidentitywithshieldednullifiers_struct_name();
21335
+ deferred1_0 = ret[0];
21336
+ deferred1_1 = ret[1];
21337
+ return getStringFromWasm0(ret[0], ret[1]);
21338
+ } finally {
21339
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
21340
+ }
21341
+ }
21342
+ /**
21343
+ * Returns a `JSON.stringify`-friendly form: the `Map` is normalised to a plain object so its
21344
+ * entries survive serialisation.
21345
+ * @returns {any}
21346
+ */
21347
+ toJSON() {
21348
+ const ret = wasm.verifiedidentitywithshieldednullifiers_toJSON(this.__wbg_ptr);
21349
+ if (ret[2]) {
21350
+ throw takeFromExternrefTable0(ret[1]);
21351
+ }
21352
+ return takeFromExternrefTable0(ret[0]);
21353
+ }
21354
+ /**
21355
+ * @returns {any}
21356
+ */
21357
+ toObject() {
21358
+ const ret = wasm.verifiedidentitywithshieldednullifiers_toObject(this.__wbg_ptr);
21359
+ if (ret[2]) {
21360
+ throw takeFromExternrefTable0(ret[1]);
21361
+ }
21362
+ return takeFromExternrefTable0(ret[0]);
21363
+ }
21364
+ /**
21365
+ * @returns {string}
21366
+ */
21367
+ get __type() {
21368
+ let deferred1_0;
21369
+ let deferred1_1;
21370
+ try {
21371
+ const ret = wasm.verifiedidentitywithshieldednullifiers_type_name(this.__wbg_ptr);
21372
+ deferred1_0 = ret[0];
21373
+ deferred1_1 = ret[1];
21374
+ return getStringFromWasm0(ret[0], ret[1]);
21375
+ } finally {
21376
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
21377
+ }
21378
+ }
21379
+ }
21380
+ if (Symbol.dispose) VerifiedIdentityWithShieldedNullifiers.prototype[Symbol.dispose] = VerifiedIdentityWithShieldedNullifiers.prototype.free;
21381
+
21124
21382
  export class VerifiedMasternodeVote {
21125
21383
  static __wrap(ptr) {
21126
21384
  ptr = ptr >>> 0;
@@ -24634,6 +24892,9 @@ const VerifiedAddressInfosFinalization = (typeof FinalizationRegistry === 'undef
24634
24892
  const VerifiedAssetLockConsumedFinalization = (typeof FinalizationRegistry === 'undefined')
24635
24893
  ? { register: () => {}, unregister: () => {} }
24636
24894
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedassetlockconsumed_free(ptr >>> 0, 1));
24895
+ const VerifiedAssetLockConsumedWithAddressInfosFinalization = (typeof FinalizationRegistry === 'undefined')
24896
+ ? { register: () => {}, unregister: () => {} }
24897
+ : new FinalizationRegistry(ptr => wasm.__wbg_verifiedassetlockconsumedwithaddressinfos_free(ptr >>> 0, 1));
24637
24898
  const VerifiedBalanceTransferFinalization = (typeof FinalizationRegistry === 'undefined')
24638
24899
  ? { register: () => {}, unregister: () => {} }
24639
24900
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedbalancetransfer_free(ptr >>> 0, 1));
@@ -24652,6 +24913,9 @@ const VerifiedIdentityFullWithAddressInfosFinalization = (typeof FinalizationReg
24652
24913
  const VerifiedIdentityWithAddressInfosFinalization = (typeof FinalizationRegistry === 'undefined')
24653
24914
  ? { register: () => {}, unregister: () => {} }
24654
24915
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedidentitywithaddressinfos_free(ptr >>> 0, 1));
24916
+ const VerifiedIdentityWithShieldedNullifiersFinalization = (typeof FinalizationRegistry === 'undefined')
24917
+ ? { register: () => {}, unregister: () => {} }
24918
+ : new FinalizationRegistry(ptr => wasm.__wbg_verifiedidentitywithshieldednullifiers_free(ptr >>> 0, 1));
24655
24919
  const VerifiedMasternodeVoteFinalization = (typeof FinalizationRegistry === 'undefined')
24656
24920
  ? { register: () => {}, unregister: () => {} }
24657
24921
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedmasternodevote_free(ptr >>> 0, 1));
@@ -14902,6 +14902,15 @@ export class ShieldFromAssetLockTransition {
14902
14902
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
14903
14903
  }
14904
14904
  }
14905
+ /**
14906
+ * Returns the optional surplus-output platform address, or
14907
+ * `undefined` when the surplus folds into the fee pools.
14908
+ * @returns {PlatformAddress | undefined}
14909
+ */
14910
+ get surplusOutput() {
14911
+ const ret = wasm.shieldfromassetlocktransition_surplus_output(this.__wbg_ptr);
14912
+ return ret === 0 ? undefined : PlatformAddress.__wrap(ret);
14913
+ }
14905
14914
  /**
14906
14915
  * @returns {Uint8Array}
14907
14916
  */
@@ -20444,6 +20453,134 @@ export class VerifiedAssetLockConsumed {
20444
20453
  }
20445
20454
  if (Symbol.dispose) VerifiedAssetLockConsumed.prototype[Symbol.dispose] = VerifiedAssetLockConsumed.prototype.free;
20446
20455
 
20456
+ export class VerifiedAssetLockConsumedWithAddressInfos {
20457
+ static __wrap(ptr) {
20458
+ ptr = ptr >>> 0;
20459
+ const obj = Object.create(VerifiedAssetLockConsumedWithAddressInfos.prototype);
20460
+ obj.__wbg_ptr = ptr;
20461
+ VerifiedAssetLockConsumedWithAddressInfosFinalization.register(obj, obj.__wbg_ptr, obj);
20462
+ return obj;
20463
+ }
20464
+ __destroy_into_raw() {
20465
+ const ptr = this.__wbg_ptr;
20466
+ this.__wbg_ptr = 0;
20467
+ VerifiedAssetLockConsumedWithAddressInfosFinalization.unregister(this);
20468
+ return ptr;
20469
+ }
20470
+ free() {
20471
+ const ptr = this.__destroy_into_raw();
20472
+ wasm.__wbg_verifiedassetlockconsumedwithaddressinfos_free(ptr, 0);
20473
+ }
20474
+ /**
20475
+ * @returns {Map<any, any>}
20476
+ */
20477
+ get addressInfos() {
20478
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_address_infos(this.__wbg_ptr);
20479
+ return ret;
20480
+ }
20481
+ /**
20482
+ * @param {any} value
20483
+ * @returns {VerifiedAssetLockConsumedWithAddressInfos}
20484
+ */
20485
+ static fromJSON(value) {
20486
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_fromJSON(value);
20487
+ if (ret[2]) {
20488
+ throw takeFromExternrefTable0(ret[1]);
20489
+ }
20490
+ return VerifiedAssetLockConsumedWithAddressInfos.__wrap(ret[0]);
20491
+ }
20492
+ /**
20493
+ * @param {any} value
20494
+ * @returns {VerifiedAssetLockConsumedWithAddressInfos}
20495
+ */
20496
+ static fromObject(value) {
20497
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_fromObject(value);
20498
+ if (ret[2]) {
20499
+ throw takeFromExternrefTable0(ret[1]);
20500
+ }
20501
+ return VerifiedAssetLockConsumedWithAddressInfos.__wrap(ret[0]);
20502
+ }
20503
+ /**
20504
+ * @returns {any}
20505
+ */
20506
+ get initialCreditValue() {
20507
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_initialCreditValue(this.__wbg_ptr);
20508
+ return ret;
20509
+ }
20510
+ /**
20511
+ * @returns {any}
20512
+ */
20513
+ get remainingCreditValue() {
20514
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_remainingCreditValue(this.__wbg_ptr);
20515
+ return ret;
20516
+ }
20517
+ /**
20518
+ * @returns {string}
20519
+ */
20520
+ get status() {
20521
+ let deferred1_0;
20522
+ let deferred1_1;
20523
+ try {
20524
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_status(this.__wbg_ptr);
20525
+ deferred1_0 = ret[0];
20526
+ deferred1_1 = ret[1];
20527
+ return getStringFromWasm0(ret[0], ret[1]);
20528
+ } finally {
20529
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
20530
+ }
20531
+ }
20532
+ /**
20533
+ * @returns {string}
20534
+ */
20535
+ static get __struct() {
20536
+ let deferred1_0;
20537
+ let deferred1_1;
20538
+ try {
20539
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_struct_name();
20540
+ deferred1_0 = ret[0];
20541
+ deferred1_1 = ret[1];
20542
+ return getStringFromWasm0(ret[0], ret[1]);
20543
+ } finally {
20544
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
20545
+ }
20546
+ }
20547
+ /**
20548
+ * Returns a `JSON.stringify`-friendly form: the `Map` is normalised to a
20549
+ * plain object so its entries survive serialisation.
20550
+ * @returns {any}
20551
+ */
20552
+ toJSON() {
20553
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_toJSON(this.__wbg_ptr);
20554
+ if (ret[2]) {
20555
+ throw takeFromExternrefTable0(ret[1]);
20556
+ }
20557
+ return takeFromExternrefTable0(ret[0]);
20558
+ }
20559
+ /**
20560
+ * @returns {any}
20561
+ */
20562
+ toObject() {
20563
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_toObject(this.__wbg_ptr);
20564
+ return ret;
20565
+ }
20566
+ /**
20567
+ * @returns {string}
20568
+ */
20569
+ get __type() {
20570
+ let deferred1_0;
20571
+ let deferred1_1;
20572
+ try {
20573
+ const ret = wasm.verifiedassetlockconsumedwithaddressinfos_type_name(this.__wbg_ptr);
20574
+ deferred1_0 = ret[0];
20575
+ deferred1_1 = ret[1];
20576
+ return getStringFromWasm0(ret[0], ret[1]);
20577
+ } finally {
20578
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
20579
+ }
20580
+ }
20581
+ }
20582
+ if (Symbol.dispose) VerifiedAssetLockConsumedWithAddressInfos.prototype[Symbol.dispose] = VerifiedAssetLockConsumedWithAddressInfos.prototype.free;
20583
+
20447
20584
  export class VerifiedBalanceTransfer {
20448
20585
  static __wrap(ptr) {
20449
20586
  ptr = ptr >>> 0;
@@ -21121,6 +21258,127 @@ export class VerifiedIdentityWithAddressInfos {
21121
21258
  }
21122
21259
  if (Symbol.dispose) VerifiedIdentityWithAddressInfos.prototype[Symbol.dispose] = VerifiedIdentityWithAddressInfos.prototype.free;
21123
21260
 
21261
+ /**
21262
+ * Returned by `IdentityCreateFromShieldedPool`: the newly-created identity plus the presence of
21263
+ * each spent funding nullifier, proven together in a single STRICT merged GroveDB proof.
21264
+ */
21265
+ export class VerifiedIdentityWithShieldedNullifiers {
21266
+ static __wrap(ptr) {
21267
+ ptr = ptr >>> 0;
21268
+ const obj = Object.create(VerifiedIdentityWithShieldedNullifiers.prototype);
21269
+ obj.__wbg_ptr = ptr;
21270
+ VerifiedIdentityWithShieldedNullifiersFinalization.register(obj, obj.__wbg_ptr, obj);
21271
+ return obj;
21272
+ }
21273
+ __destroy_into_raw() {
21274
+ const ptr = this.__wbg_ptr;
21275
+ this.__wbg_ptr = 0;
21276
+ VerifiedIdentityWithShieldedNullifiersFinalization.unregister(this);
21277
+ return ptr;
21278
+ }
21279
+ free() {
21280
+ const ptr = this.__destroy_into_raw();
21281
+ wasm.__wbg_verifiedidentitywithshieldednullifiers_free(ptr, 0);
21282
+ }
21283
+ /**
21284
+ * @returns {Identity}
21285
+ */
21286
+ get identity() {
21287
+ const ret = wasm.__wbg_get_verifiedidentitywithshieldednullifiers_identity(this.__wbg_ptr);
21288
+ return Identity.__wrap(ret);
21289
+ }
21290
+ /**
21291
+ * @param {Identity} arg0
21292
+ */
21293
+ set identity(arg0) {
21294
+ _assertClass(arg0, Identity);
21295
+ var ptr0 = arg0.__destroy_into_raw();
21296
+ wasm.__wbg_set_verifiedidentitywithshieldednullifiers_identity(this.__wbg_ptr, ptr0);
21297
+ }
21298
+ /**
21299
+ * @param {any} value
21300
+ * @returns {VerifiedIdentityWithShieldedNullifiers}
21301
+ */
21302
+ static fromJSON(value) {
21303
+ const ret = wasm.verifiedidentitywithshieldednullifiers_fromJSON(value);
21304
+ if (ret[2]) {
21305
+ throw takeFromExternrefTable0(ret[1]);
21306
+ }
21307
+ return VerifiedIdentityWithShieldedNullifiers.__wrap(ret[0]);
21308
+ }
21309
+ /**
21310
+ * @param {any} value
21311
+ * @returns {VerifiedIdentityWithShieldedNullifiers}
21312
+ */
21313
+ static fromObject(value) {
21314
+ const ret = wasm.verifiedidentitywithshieldednullifiers_fromObject(value);
21315
+ if (ret[2]) {
21316
+ throw takeFromExternrefTable0(ret[1]);
21317
+ }
21318
+ return VerifiedIdentityWithShieldedNullifiers.__wrap(ret[0]);
21319
+ }
21320
+ /**
21321
+ * @returns {Map<any, any>}
21322
+ */
21323
+ get nullifiers() {
21324
+ const ret = wasm.verifiedidentitywithshieldednullifiers_nullifiers(this.__wbg_ptr);
21325
+ return ret;
21326
+ }
21327
+ /**
21328
+ * @returns {string}
21329
+ */
21330
+ static get __struct() {
21331
+ let deferred1_0;
21332
+ let deferred1_1;
21333
+ try {
21334
+ const ret = wasm.verifiedidentitywithshieldednullifiers_struct_name();
21335
+ deferred1_0 = ret[0];
21336
+ deferred1_1 = ret[1];
21337
+ return getStringFromWasm0(ret[0], ret[1]);
21338
+ } finally {
21339
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
21340
+ }
21341
+ }
21342
+ /**
21343
+ * Returns a `JSON.stringify`-friendly form: the `Map` is normalised to a plain object so its
21344
+ * entries survive serialisation.
21345
+ * @returns {any}
21346
+ */
21347
+ toJSON() {
21348
+ const ret = wasm.verifiedidentitywithshieldednullifiers_toJSON(this.__wbg_ptr);
21349
+ if (ret[2]) {
21350
+ throw takeFromExternrefTable0(ret[1]);
21351
+ }
21352
+ return takeFromExternrefTable0(ret[0]);
21353
+ }
21354
+ /**
21355
+ * @returns {any}
21356
+ */
21357
+ toObject() {
21358
+ const ret = wasm.verifiedidentitywithshieldednullifiers_toObject(this.__wbg_ptr);
21359
+ if (ret[2]) {
21360
+ throw takeFromExternrefTable0(ret[1]);
21361
+ }
21362
+ return takeFromExternrefTable0(ret[0]);
21363
+ }
21364
+ /**
21365
+ * @returns {string}
21366
+ */
21367
+ get __type() {
21368
+ let deferred1_0;
21369
+ let deferred1_1;
21370
+ try {
21371
+ const ret = wasm.verifiedidentitywithshieldednullifiers_type_name(this.__wbg_ptr);
21372
+ deferred1_0 = ret[0];
21373
+ deferred1_1 = ret[1];
21374
+ return getStringFromWasm0(ret[0], ret[1]);
21375
+ } finally {
21376
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
21377
+ }
21378
+ }
21379
+ }
21380
+ if (Symbol.dispose) VerifiedIdentityWithShieldedNullifiers.prototype[Symbol.dispose] = VerifiedIdentityWithShieldedNullifiers.prototype.free;
21381
+
21124
21382
  export class VerifiedMasternodeVote {
21125
21383
  static __wrap(ptr) {
21126
21384
  ptr = ptr >>> 0;
@@ -24634,6 +24892,9 @@ const VerifiedAddressInfosFinalization = (typeof FinalizationRegistry === 'undef
24634
24892
  const VerifiedAssetLockConsumedFinalization = (typeof FinalizationRegistry === 'undefined')
24635
24893
  ? { register: () => {}, unregister: () => {} }
24636
24894
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedassetlockconsumed_free(ptr >>> 0, 1));
24895
+ const VerifiedAssetLockConsumedWithAddressInfosFinalization = (typeof FinalizationRegistry === 'undefined')
24896
+ ? { register: () => {}, unregister: () => {} }
24897
+ : new FinalizationRegistry(ptr => wasm.__wbg_verifiedassetlockconsumedwithaddressinfos_free(ptr >>> 0, 1));
24637
24898
  const VerifiedBalanceTransferFinalization = (typeof FinalizationRegistry === 'undefined')
24638
24899
  ? { register: () => {}, unregister: () => {} }
24639
24900
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedbalancetransfer_free(ptr >>> 0, 1));
@@ -24652,6 +24913,9 @@ const VerifiedIdentityFullWithAddressInfosFinalization = (typeof FinalizationReg
24652
24913
  const VerifiedIdentityWithAddressInfosFinalization = (typeof FinalizationRegistry === 'undefined')
24653
24914
  ? { register: () => {}, unregister: () => {} }
24654
24915
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedidentitywithaddressinfos_free(ptr >>> 0, 1));
24916
+ const VerifiedIdentityWithShieldedNullifiersFinalization = (typeof FinalizationRegistry === 'undefined')
24917
+ ? { register: () => {}, unregister: () => {} }
24918
+ : new FinalizationRegistry(ptr => wasm.__wbg_verifiedidentitywithshieldednullifiers_free(ptr >>> 0, 1));
24655
24919
  const VerifiedMasternodeVoteFinalization = (typeof FinalizationRegistry === 'undefined')
24656
24920
  ? { register: () => {}, unregister: () => {} }
24657
24921
  : new FinalizationRegistry(ptr => wasm.__wbg_verifiedmasternodevote_free(ptr >>> 0, 1));
Binary file