pshenmic-dpp 1.1.2-dev.4 → 1.1.2-dev.5

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.
@@ -682,6 +682,7 @@ export class DataContractWASM {
682
682
  set ownerId(value: any);
683
683
  get description(): string | undefined;
684
684
  set description(value: string | null | undefined);
685
+ systemVersion: number;
685
686
  get id(): IdentifierWASM;
686
687
  set id(value: any);
687
688
  readonly __type: string;
@@ -3426,22 +3427,22 @@ export interface InitOutput {
3426
3427
  readonly verifyTokensBalancesForIdentityProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3427
3428
  readonly verifyTotalCreditsProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3428
3429
  readonly verifyVotePollVoteStateProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => void;
3429
- readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
3430
+ readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
3430
3431
  readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
3432
+ readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
3431
3433
  readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
3432
- readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
3433
3434
  readonly __wbg_tokenstatuswasm_free: (a: number, b: number) => void;
3434
- readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
3435
3435
  readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
3436
- readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
3437
- readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
3438
- readonly tokenstatuswasm_paused: (a: number) => number;
3436
+ readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
3437
+ readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
3438
+ readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
3439
3439
  readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
3440
3440
  readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
3441
+ readonly tokenstatuswasm_paused: (a: number) => number;
3441
3442
  readonly verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
3442
3443
  readonly verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
3443
- readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
3444
- readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
3444
+ readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
3445
+ readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
3445
3446
  readonly __wbg_partialidentitywasm_free: (a: number, b: number) => void;
3446
3447
  readonly partialidentitywasm_balance: (a: number, b: number) => void;
3447
3448
  readonly partialidentitywasm_id: (a: number) => number;
@@ -4119,20 +4120,20 @@ export interface InitOutput {
4119
4120
  readonly tokenunfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
4120
4121
  readonly tokenfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
4121
4122
  readonly documentupdatepricetransitionwasm_new: (a: number, b: number, c: bigint, d: bigint, e: number) => void;
4123
+ readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
4122
4124
  readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
4123
4125
  readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
4124
- readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
4125
4126
  readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
4126
- readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
4127
+ readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
4127
4128
  readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
4128
4129
  readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
4129
- readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
4130
- readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
4131
4130
  readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
4131
+ readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
4132
+ readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
4133
+ readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
4134
+ readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
4132
4135
  readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
4133
4136
  readonly tokenfreezetransitionwasm_set_base: (a: number, b: number) => void;
4134
- readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
4135
- readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
4136
4137
  readonly __wbg_privateencryptednotewasm_free: (a: number, b: number) => void;
4137
4138
  readonly privateencryptednotewasm_derivation_encryption_key_index: (a: number) => number;
4138
4139
  readonly privateencryptednotewasm_new: (a: number, b: number, c: number, d: number) => number;
@@ -4145,9 +4146,9 @@ export interface InitOutput {
4145
4146
  readonly privateencryptednotewasm_value: (a: number, b: number) => void;
4146
4147
  readonly sharedencryptednotewasm_struct_name: (a: number) => void;
4147
4148
  readonly sharedencryptednotewasm_type_name: (a: number, b: number) => void;
4148
- readonly sharedencryptednotewasm_value: (a: number, b: number) => void;
4149
4149
  readonly sharedencryptednotewasm_new: (a: number, b: number, c: number, d: number) => number;
4150
4150
  readonly __wbg_sharedencryptednotewasm_free: (a: number, b: number) => void;
4151
+ readonly sharedencryptednotewasm_value: (a: number, b: number) => void;
4151
4152
  readonly sharedencryptednotewasm_sender_key_index: (a: number) => number;
4152
4153
  readonly sharedencryptednotewasm_recipient_key_index: (a: number) => number;
4153
4154
  readonly sharedencryptednotewasm_set_value: (a: number, b: number, c: number) => void;
@@ -4248,6 +4249,7 @@ export interface InitOutput {
4248
4249
  readonly __wbg_datacontractwasm_free: (a: number, b: number) => void;
4249
4250
  readonly datacontractwasm_base64: (a: number, b: number, c: number) => void;
4250
4251
  readonly datacontractwasm_bytes: (a: number, b: number, c: number) => void;
4252
+ readonly datacontractwasm_data_contract_protocol_version: (a: number) => number;
4251
4253
  readonly datacontractwasm_fromBase64: (a: number, b: number, c: number, d: number, e: number) => void;
4252
4254
  readonly datacontractwasm_fromBytes: (a: number, b: number, c: number, d: number, e: number) => void;
4253
4255
  readonly datacontractwasm_fromHex: (a: number, b: number, c: number, d: number, e: number) => void;
@@ -4266,6 +4268,7 @@ export interface InitOutput {
4266
4268
  readonly datacontractwasm_hex: (a: number, b: number, c: number) => void;
4267
4269
  readonly datacontractwasm_setConfig: (a: number, b: number, c: number, d: number) => void;
4268
4270
  readonly datacontractwasm_setSchemas: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
4271
+ readonly datacontractwasm_set_data_contract_protocol_version: (a: number, b: number, c: number) => void;
4269
4272
  readonly datacontractwasm_set_description: (a: number, b: number, c: number) => void;
4270
4273
  readonly datacontractwasm_set_groups: (a: number, b: number, c: number) => void;
4271
4274
  readonly datacontractwasm_set_id: (a: number, b: number, c: number) => void;
@@ -4545,17 +4548,22 @@ export interface InitOutput {
4545
4548
  readonly __wbg_set_distributionpolynomialwasm_n: (a: number, b: bigint) => void;
4546
4549
  readonly __wbg_set_distributionpolynomialwasm_o: (a: number, b: bigint) => void;
4547
4550
  readonly __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
4548
- readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4549
- readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
4550
- readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
4551
- readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
4552
4551
  readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
4553
4552
  readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
4553
+ readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
4554
+ readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
4555
+ readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
4556
+ readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
4557
+ readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4558
+ readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
4554
4559
  readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
4555
4560
  readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
4556
- readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
4557
- readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
4558
- readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
4561
+ readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
4562
+ readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
4563
+ readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
4564
+ readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
4565
+ readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
4566
+ readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
4559
4567
  readonly __wbg_get_distributionlogarithmicwasm_startMoment: (a: number, b: number) => void;
4560
4568
  readonly __wbg_get_distributionlogarithmicwasm_o: (a: number) => bigint;
4561
4569
  readonly __wbg_get_distributionlogarithmicwasm_n: (a: number) => bigint;
@@ -4565,15 +4573,8 @@ export interface InitOutput {
4565
4573
  readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
4566
4574
  readonly __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
4567
4575
  readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
4568
- readonly __wbg_get_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number) => void;
4569
- readonly __wbg_get_distributioninvertedlogarithmicwasm_o: (a: number) => bigint;
4570
- readonly __wbg_get_distributioninvertedlogarithmicwasm_n: (a: number) => bigint;
4571
- readonly __wbg_get_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number) => void;
4572
- readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
4573
- readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
4574
- readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
4575
- readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
4576
- readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
4576
+ readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
4577
+ readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
4577
4578
  readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
4578
4579
  readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
4579
4580
  readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
@@ -4583,29 +4584,31 @@ export interface InitOutput {
4583
4584
  readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
4584
4585
  readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
4585
4586
  readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
4587
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number) => void;
4588
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_o: (a: number) => bigint;
4589
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_n: (a: number) => bigint;
4590
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number) => void;
4591
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
4592
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
4593
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
4594
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_b: (a: number) => bigint;
4595
+ readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
4586
4596
  readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
4587
- readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
4588
- readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
4589
- readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
4590
- readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
4591
- readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
4592
- readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
4597
+ readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
4598
+ readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
4593
4599
  readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
4594
4600
  readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
4601
+ readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
4595
4602
  readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
4596
4603
  readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
4597
- readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
4598
4604
  readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
4599
4605
  readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
4600
- readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
4601
- readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
4602
- readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
4603
4606
  readonly __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
4604
4607
  readonly __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
4605
4608
  readonly epochbaseddistributionwasm_set_function: (a: number, b: number) => void;
4606
4609
  readonly __wbg_epochbaseddistributionwasm_free: (a: number, b: number) => void;
4607
- readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
4608
4610
  readonly epochbaseddistributionwasm_get_function: (a: number) => number;
4611
+ readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
4609
4612
  readonly timebaseddistributionwasm_get_function: (a: number) => number;
4610
4613
  readonly __wbg_statetransitionwasm_free: (a: number, b: number) => void;
4611
4614
  readonly statetransitionwasm_base64: (a: number, b: number) => void;
@@ -4341,6 +4341,29 @@ export class DataContractWASM {
4341
4341
  var len0 = WASM_VECTOR_LEN;
4342
4342
  wasm.datacontractwasm_set_description(this.__wbg_ptr, ptr0, len0);
4343
4343
  }
4344
+ /**
4345
+ * @returns {number}
4346
+ */
4347
+ get systemVersion() {
4348
+ const ret = wasm.datacontractwasm_data_contract_protocol_version(this.__wbg_ptr);
4349
+ return ret;
4350
+ }
4351
+ /**
4352
+ * @param {number} version
4353
+ */
4354
+ set systemVersion(version) {
4355
+ try {
4356
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4357
+ wasm.datacontractwasm_set_data_contract_protocol_version(retptr, this.__wbg_ptr, version);
4358
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4359
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4360
+ if (r1) {
4361
+ throw takeObject(r0);
4362
+ }
4363
+ } finally {
4364
+ wasm.__wbindgen_add_to_stack_pointer(16);
4365
+ }
4366
+ }
4344
4367
  /**
4345
4368
  * @returns {IdentifierWASM}
4346
4369
  */
@@ -14463,7 +14486,7 @@ export class SharedEncryptedNoteWASM {
14463
14486
  get value() {
14464
14487
  try {
14465
14488
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
14466
- wasm.sharedencryptednotewasm_value(retptr, this.__wbg_ptr);
14489
+ wasm.privateencryptednotewasm_value(retptr, this.__wbg_ptr);
14467
14490
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
14468
14491
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
14469
14492
  var v1 = getArrayU8FromWasm0(r0, r1).slice();