pshenmic-dpp 1.1.0-dev.6 → 1.1.0-dev.7
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/dist/wasm/pshenmic_dpp.d.ts +43 -43
- package/dist/wasm/pshenmic_dpp.js +122 -60
- package/dist/wasm/pshenmic_dpp_bg.js +1 -1
- package/dist/wasm/pshenmic_dpp_bg.wasm.d.ts +39 -39
- package/dist/wasm/pshenmic_dpp_zipped.js +1 -1
- package/package.json +1 -1
- package/tests/IdentityCreditTransferTransition.spec.cjs +16 -16
- package/tests/IdentityCreditWithdrawalTransition.spec.cjs +17 -17
|
@@ -1305,14 +1305,14 @@ export class IdentityCreditTransferWASM {
|
|
|
1305
1305
|
/** @ignore */
|
|
1306
1306
|
free(): void;
|
|
1307
1307
|
/**
|
|
1308
|
-
* @param {bigint} amount
|
|
1309
1308
|
* @param {any} js_sender
|
|
1309
|
+
* @param {bigint} amount
|
|
1310
1310
|
* @param {any} js_recipient
|
|
1311
1311
|
* @param {bigint} nonce
|
|
1312
1312
|
* @param {number} user_fee_increase
|
|
1313
1313
|
* @returns {IdentityCreditTransferWASM}
|
|
1314
1314
|
*/
|
|
1315
|
-
constructor(
|
|
1315
|
+
constructor(js_sender: any, amount: bigint, js_recipient: any, nonce: bigint, user_fee_increase?: number | null);
|
|
1316
1316
|
/** @returns {Uint8Array<ArrayBufferLike>} */
|
|
1317
1317
|
bytes(): Uint8Array;
|
|
1318
1318
|
/** @returns {string} */
|
|
@@ -1363,12 +1363,12 @@ export class IdentityCreditWithdrawalTransitionWASM {
|
|
|
1363
1363
|
* @param {bigint} amount
|
|
1364
1364
|
* @param {number} core_fee_per_byte
|
|
1365
1365
|
* @param {any} js_pooling
|
|
1366
|
-
* @param {any} js_output_script
|
|
1367
1366
|
* @param {bigint} nonce
|
|
1367
|
+
* @param {any} js_output_script
|
|
1368
1368
|
* @param {number} user_fee_increase
|
|
1369
1369
|
* @returns {IdentityCreditWithdrawalTransitionWASM}
|
|
1370
1370
|
*/
|
|
1371
|
-
constructor(js_identity_id: any, amount: bigint, core_fee_per_byte: number, js_pooling: any,
|
|
1371
|
+
constructor(js_identity_id: any, amount: bigint, core_fee_per_byte: number, js_pooling: any, nonce: bigint, js_output_script: any, user_fee_increase?: number | null);
|
|
1372
1372
|
/** @returns {string[]} */
|
|
1373
1373
|
getPurposeRequirement(): string[];
|
|
1374
1374
|
/** @returns {IdentifierWASM[]} */
|
|
@@ -3114,7 +3114,7 @@ export interface InitOutput {
|
|
|
3114
3114
|
readonly verifiedcontractwasm_struct_name: (a: number) => void;
|
|
3115
3115
|
readonly verifiedcontractwasm_root_hash: (a: number) => number;
|
|
3116
3116
|
readonly verifiedcontractwasm_data_contract: (a: number) => number;
|
|
3117
|
-
readonly verifyContractProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
3117
|
+
readonly verifyContractProof: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
3118
3118
|
readonly __wbg_verifieddocumentswasm_free: (a: number, b: number) => void;
|
|
3119
3119
|
readonly verifieddocumentswasm_type_name: (a: number, b: number) => void;
|
|
3120
3120
|
readonly verifieddocumentswasm_struct_name: (a: number) => void;
|
|
@@ -3210,19 +3210,19 @@ export interface InitOutput {
|
|
|
3210
3210
|
readonly verifiedtokensbalancesforidentitywasm_struct_name: (a: number) => void;
|
|
3211
3211
|
readonly verifyTokensBalancesForIdentityProof: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
3212
3212
|
readonly __wbg_verifiedtotalcreditswasm_free: (a: number, b: number) => void;
|
|
3213
|
-
readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
|
|
3214
3213
|
readonly __wbg_verifiedtokentotalsupplywasm_free: (a: number, b: number) => void;
|
|
3214
|
+
readonly __wbg_verifiedidentitynoncewasm_free: (a: number, b: number) => void;
|
|
3215
3215
|
readonly __wbg_verifiedidentitycontractnoncewasm_free: (a: number, b: number) => void;
|
|
3216
3216
|
readonly __wbg_verifiedtokensbalancesforidentitywasm_free: (a: number, b: number) => void;
|
|
3217
3217
|
readonly __wbg_verifiedidentitybyuniquekeyhashwasm_free: (a: number, b: number) => void;
|
|
3218
|
-
readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
|
|
3219
|
-
readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
|
|
3220
3218
|
readonly verifiedidentitynoncewasm_nonce: (a: number, b: number) => void;
|
|
3221
3219
|
readonly verifiedidentitynoncewasm_root_hash: (a: number) => number;
|
|
3222
3220
|
readonly verifiedidentitybyuniquekeyhashwasm_identity: (a: number) => number;
|
|
3223
3221
|
readonly verifiedidentitybyuniquekeyhashwasm_root_hash: (a: number) => number;
|
|
3224
3222
|
readonly verifiedidentitycontractnoncewasm_contract_nonce: (a: number, b: number) => void;
|
|
3225
3223
|
readonly verifiedidentitycontractnoncewasm_root_hash: (a: number) => number;
|
|
3224
|
+
readonly verifiedtokensbalancesforidentitywasm_balances: (a: number) => number;
|
|
3225
|
+
readonly verifiedtokensbalancesforidentitywasm_root_hash: (a: number) => number;
|
|
3226
3226
|
readonly __wbg_partialidentitywasm_free: (a: number, b: number) => void;
|
|
3227
3227
|
readonly partialidentitywasm_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number) => void;
|
|
3228
3228
|
readonly partialidentitywasm_id: (a: number) => number;
|
|
@@ -3315,7 +3315,7 @@ export interface InitOutput {
|
|
|
3315
3315
|
readonly __wbg_identitycreditwithdrawaltransitionwasm_free: (a: number, b: number) => void;
|
|
3316
3316
|
readonly identitycreditwithdrawaltransitionwasm_type_name: (a: number, b: number) => void;
|
|
3317
3317
|
readonly identitycreditwithdrawaltransitionwasm_struct_name: (a: number) => void;
|
|
3318
|
-
readonly identitycreditwithdrawaltransitionwasm_new: (a: number, b: number, c: bigint, d: number, e: number, f:
|
|
3318
|
+
readonly identitycreditwithdrawaltransitionwasm_new: (a: number, b: number, c: bigint, d: number, e: number, f: bigint, g: number, h: number) => void;
|
|
3319
3319
|
readonly identitycreditwithdrawaltransitionwasm_get_output_script: (a: number) => number;
|
|
3320
3320
|
readonly identitycreditwithdrawaltransitionwasm_get_pooling: (a: number, b: number) => void;
|
|
3321
3321
|
readonly identitycreditwithdrawaltransitionwasm_get_identity_id: (a: number) => number;
|
|
@@ -3349,7 +3349,7 @@ export interface InitOutput {
|
|
|
3349
3349
|
readonly __wbg_identitycredittransferwasm_free: (a: number, b: number) => void;
|
|
3350
3350
|
readonly identitycredittransferwasm_type_name: (a: number, b: number) => void;
|
|
3351
3351
|
readonly identitycredittransferwasm_struct_name: (a: number) => void;
|
|
3352
|
-
readonly identitycredittransferwasm_new: (a: number, b:
|
|
3352
|
+
readonly identitycredittransferwasm_new: (a: number, b: number, c: bigint, d: number, e: bigint, f: number) => void;
|
|
3353
3353
|
readonly identitycredittransferwasm_bytes: (a: number, b: number) => void;
|
|
3354
3354
|
readonly identitycredittransferwasm_hex: (a: number, b: number) => void;
|
|
3355
3355
|
readonly identitycredittransferwasm_base64: (a: number, b: number) => void;
|
|
@@ -3923,19 +3923,19 @@ export interface InitOutput {
|
|
|
3923
3923
|
readonly tokenunfreezetransitionwasm_new: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
3924
3924
|
readonly documentupdatepricetransitionwasm_new: (a: number, b: number, c: bigint, d: bigint, e: number) => void;
|
|
3925
3925
|
readonly __wbg_tokenunfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
3926
|
+
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
3927
|
+
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
3926
3928
|
readonly __wbg_documentupdatepricetransitionwasm_free: (a: number, b: number) => void;
|
|
3927
3929
|
readonly __wbg_documentdeletetransitionwasm_free: (a: number, b: number) => void;
|
|
3928
|
-
readonly __wbg_tokenemergencyactiontransitionwasm_free: (a: number, b: number) => void;
|
|
3929
|
-
readonly __wbg_tokenfreezetransitionwasm_free: (a: number, b: number) => void;
|
|
3930
|
-
readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
|
|
3931
|
-
readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
|
|
3932
|
-
readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
|
|
3933
3930
|
readonly documentupdatepricetransitionwasm_get_price: (a: number) => bigint;
|
|
3934
3931
|
readonly documentupdatepricetransitionwasm_get_base: (a: number) => number;
|
|
3935
|
-
readonly
|
|
3932
|
+
readonly tokenfreezetransitionwasm_get_base: (a: number) => number;
|
|
3933
|
+
readonly tokenemergencyactiontransitionwasm_get_base: (a: number) => number;
|
|
3934
|
+
readonly tokenunfreezetransitionwasm_get_base: (a: number) => number;
|
|
3936
3935
|
readonly tokenunfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
3937
|
-
readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
|
|
3938
3936
|
readonly tokenfreezetransitionwasm_set_base: (a: number, b: number) => void;
|
|
3937
|
+
readonly tokenemergencyactiontransitionwasm_set_base: (a: number, b: number) => void;
|
|
3938
|
+
readonly documentupdatepricetransitionwasm_set_price: (a: number, b: bigint) => void;
|
|
3939
3939
|
readonly __wbg_privateencryptednotewasm_free: (a: number, b: number) => void;
|
|
3940
3940
|
readonly privateencryptednotewasm_type_name: (a: number, b: number) => void;
|
|
3941
3941
|
readonly privateencryptednotewasm_struct_name: (a: number) => void;
|
|
@@ -4342,36 +4342,28 @@ export interface InitOutput {
|
|
|
4342
4342
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_o: (a: number, b: bigint) => void;
|
|
4343
4343
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_b: (a: number, b: bigint) => void;
|
|
4344
4344
|
readonly __wbg_set_timebaseddistributionwasm_interval: (a: number, b: bigint) => void;
|
|
4345
|
-
readonly
|
|
4346
|
-
readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
|
|
4347
|
-
readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
|
|
4345
|
+
readonly __wbg_set_distributionpolynomialwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4348
4346
|
readonly __wbg_set_distributionrandomwasm_min: (a: number, b: bigint) => void;
|
|
4349
4347
|
readonly __wbg_get_distributionrandomwasm_min: (a: number) => bigint;
|
|
4348
|
+
readonly __wbg_set_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number, c: bigint) => void;
|
|
4350
4349
|
readonly __wbg_set_distributioninvertedlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4351
|
-
readonly
|
|
4352
|
-
readonly
|
|
4353
|
-
readonly
|
|
4354
|
-
readonly
|
|
4355
|
-
readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
|
|
4356
|
-
readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
|
|
4357
|
-
readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
|
|
4358
|
-
readonly __wbg_get_distributionpolynomialwasm_m: (a: number) => bigint;
|
|
4359
|
-
readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
|
|
4360
|
-
readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
|
|
4361
|
-
readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
|
|
4350
|
+
readonly __wbg_set_distributionlogarithmicwasm_startMoment: (a: number, b: number, c: bigint) => void;
|
|
4351
|
+
readonly __wbg_set_distributionlinearwasm_startStep: (a: number, b: number, c: bigint) => void;
|
|
4352
|
+
readonly __wbg_get_distributionstepdecreasingamountwasm_minValue: (a: number, b: number) => void;
|
|
4353
|
+
readonly __wbg_get_distributionstepdecreasingamountwasm_startDecreasingOffset: (a: number, b: number) => void;
|
|
4362
4354
|
readonly __wbg_get_distributionlogarithmicwasm_maxValue: (a: number, b: number) => void;
|
|
4363
4355
|
readonly __wbg_get_distributionlogarithmicwasm_minValue: (a: number, b: number) => void;
|
|
4364
|
-
readonly __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
|
|
4365
|
-
readonly __wbg_get_distributionlogarithmicwasm_startMoment: (a: number, b: number) => void;
|
|
4366
|
-
readonly __wbg_get_distributionlogarithmicwasm_o: (a: number) => bigint;
|
|
4367
|
-
readonly __wbg_get_distributionlogarithmicwasm_n: (a: number) => bigint;
|
|
4368
4356
|
readonly __wbg_get_distributionlogarithmicwasm_m: (a: number) => bigint;
|
|
4357
|
+
readonly __wbg_get_distributionlogarithmicwasm_startMoment: (a: number, b: number) => void;
|
|
4369
4358
|
readonly __wbg_get_distributionlogarithmicwasm_d: (a: number) => bigint;
|
|
4370
4359
|
readonly __wbg_get_distributionlogarithmicwasm_a: (a: number) => bigint;
|
|
4371
4360
|
readonly __wbg_get_distributionlinearwasm_maxValue: (a: number, b: number) => void;
|
|
4372
4361
|
readonly __wbg_get_distributionlinearwasm_minValue: (a: number, b: number) => void;
|
|
4373
|
-
readonly
|
|
4362
|
+
readonly __wbg_get_distributionlogarithmicwasm_b: (a: number) => bigint;
|
|
4374
4363
|
readonly __wbg_get_distributionlinearwasm_startStep: (a: number, b: number) => void;
|
|
4364
|
+
readonly __wbg_get_distributionlogarithmicwasm_o: (a: number) => bigint;
|
|
4365
|
+
readonly __wbg_get_distributionlogarithmicwasm_n: (a: number) => bigint;
|
|
4366
|
+
readonly __wbg_get_distributionlinearwasm_startingAmount: (a: number) => bigint;
|
|
4375
4367
|
readonly __wbg_get_distributionlinearwasm_d: (a: number) => bigint;
|
|
4376
4368
|
readonly __wbg_get_distributionlinearwasm_a: (a: number) => bigint;
|
|
4377
4369
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number) => void;
|
|
@@ -4383,27 +4375,35 @@ export interface InitOutput {
|
|
|
4383
4375
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_m: (a: number) => bigint;
|
|
4384
4376
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_d: (a: number) => bigint;
|
|
4385
4377
|
readonly __wbg_get_distributioninvertedlogarithmicwasm_a: (a: number) => bigint;
|
|
4386
|
-
readonly
|
|
4387
|
-
readonly
|
|
4378
|
+
readonly __wbg_get_timebaseddistributionwasm_interval: (a: number) => bigint;
|
|
4379
|
+
readonly __wbg_get_distributionpolynomialwasm_maxValue: (a: number, b: number) => void;
|
|
4380
|
+
readonly __wbg_get_distributionpolynomialwasm_minValue: (a: number, b: number) => void;
|
|
4381
|
+
readonly __wbg_get_distributionpolynomialwasm_b: (a: number) => bigint;
|
|
4382
|
+
readonly __wbg_get_distributionpolynomialwasm_startMoment: (a: number, b: number) => void;
|
|
4383
|
+
readonly __wbg_get_distributionpolynomialwasm_o: (a: number) => bigint;
|
|
4384
|
+
readonly __wbg_get_distributionpolynomialwasm_n: (a: number) => bigint;
|
|
4385
|
+
readonly __wbg_get_distributionpolynomialwasm_m: (a: number) => bigint;
|
|
4386
|
+
readonly __wbg_get_distributionpolynomialwasm_d: (a: number) => bigint;
|
|
4387
|
+
readonly __wbg_get_distributionpolynomialwasm_a: (a: number) => bigint;
|
|
4388
4388
|
readonly __wbg_set_distributionlinearwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4389
4389
|
readonly __wbg_set_distributionlinearwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4390
|
-
readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4391
|
-
readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4392
|
-
readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4393
4390
|
readonly __wbg_set_distributionpolynomialwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4394
4391
|
readonly __wbg_set_distributionpolynomialwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4395
4392
|
readonly __wbg_set_distributionlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4396
4393
|
readonly __wbg_set_distributionlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4394
|
+
readonly __wbg_set_distributioninvertedlogarithmicwasm_maxValue: (a: number, b: number, c: bigint) => void;
|
|
4395
|
+
readonly __wbg_set_distributioninvertedlogarithmicwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4396
|
+
readonly __wbg_set_distributionstepdecreasingamountwasm_minValue: (a: number, b: number, c: bigint) => void;
|
|
4397
4397
|
readonly __wbg_distributionpolynomialwasm_free: (a: number, b: number) => void;
|
|
4398
|
-
readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4399
4398
|
readonly __wbg_distributionlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4399
|
+
readonly __wbg_distributioninvertedlogarithmicwasm_free: (a: number, b: number) => void;
|
|
4400
4400
|
readonly __wbg_tokenmarketplaceruleswasm_free: (a: number, b: number) => void;
|
|
4401
4401
|
readonly __wbg_timebaseddistributionwasm_free: (a: number, b: number) => void;
|
|
4402
4402
|
readonly epochbaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4403
4403
|
readonly __wbg_epochbaseddistributionwasm_free: (a: number, b: number) => void;
|
|
4404
|
-
readonly timebaseddistributionwasm_get_function: (a: number) => number;
|
|
4405
4404
|
readonly epochbaseddistributionwasm_get_function: (a: number) => number;
|
|
4406
4405
|
readonly timebaseddistributionwasm_set_function: (a: number, b: number) => void;
|
|
4406
|
+
readonly timebaseddistributionwasm_get_function: (a: number) => number;
|
|
4407
4407
|
readonly __wbg_statetransitionwasm_free: (a: number, b: number) => void;
|
|
4408
4408
|
readonly statetransitionwasm_type_name: (a: number, b: number) => void;
|
|
4409
4409
|
readonly statetransitionwasm_struct_name: (a: number) => void;
|