@qubic.org/contracts 0.2.0 → 0.2.2

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.
Files changed (108) hide show
  1. package/dist/__generated__/computorcontrolledfund.d.ts +30 -30
  2. package/dist/__generated__/computorcontrolledfund.d.ts.map +1 -1
  3. package/dist/__generated__/computorcontrolledfund.js +57 -57
  4. package/dist/__generated__/computorcontrolledfund.js.map +1 -1
  5. package/dist/__generated__/escrow.d.ts +13 -13
  6. package/dist/__generated__/escrow.d.ts.map +1 -1
  7. package/dist/__generated__/escrow.js +20 -20
  8. package/dist/__generated__/escrow.js.map +1 -1
  9. package/dist/__generated__/generalquorumproposal.d.ts +21 -21
  10. package/dist/__generated__/generalquorumproposal.d.ts.map +1 -1
  11. package/dist/__generated__/generalquorumproposal.js +31 -31
  12. package/dist/__generated__/generalquorumproposal.js.map +1 -1
  13. package/dist/__generated__/msvault.d.ts +104 -104
  14. package/dist/__generated__/msvault.d.ts.map +1 -1
  15. package/dist/__generated__/msvault.js +220 -220
  16. package/dist/__generated__/msvault.js.map +1 -1
  17. package/dist/__generated__/nostromo.d.ts +43 -43
  18. package/dist/__generated__/nostromo.d.ts.map +1 -1
  19. package/dist/__generated__/nostromo.js +68 -68
  20. package/dist/__generated__/nostromo.js.map +1 -1
  21. package/dist/__generated__/pulse.d.ts +171 -171
  22. package/dist/__generated__/pulse.d.ts.map +1 -1
  23. package/dist/__generated__/pulse.js +409 -409
  24. package/dist/__generated__/pulse.js.map +1 -1
  25. package/dist/__generated__/qbay.d.ts +61 -61
  26. package/dist/__generated__/qbay.d.ts.map +1 -1
  27. package/dist/__generated__/qbay.js +103 -103
  28. package/dist/__generated__/qbay.js.map +1 -1
  29. package/dist/__generated__/qbond.d.ts +44 -44
  30. package/dist/__generated__/qbond.d.ts.map +1 -1
  31. package/dist/__generated__/qbond.js +67 -67
  32. package/dist/__generated__/qbond.js.map +1 -1
  33. package/dist/__generated__/qdraw.d.ts +4 -4
  34. package/dist/__generated__/qdraw.d.ts.map +1 -1
  35. package/dist/__generated__/qdraw.js +4 -4
  36. package/dist/__generated__/qdraw.js.map +1 -1
  37. package/dist/__generated__/qduel.d.ts +49 -49
  38. package/dist/__generated__/qduel.d.ts.map +1 -1
  39. package/dist/__generated__/qduel.js +106 -106
  40. package/dist/__generated__/qduel.js.map +1 -1
  41. package/dist/__generated__/qearn.d.ts +24 -24
  42. package/dist/__generated__/qearn.d.ts.map +1 -1
  43. package/dist/__generated__/qearn.js +38 -38
  44. package/dist/__generated__/qearn.js.map +1 -1
  45. package/dist/__generated__/qip.d.ts +10 -10
  46. package/dist/__generated__/qip.d.ts.map +1 -1
  47. package/dist/__generated__/qip.js +16 -16
  48. package/dist/__generated__/qip.js.map +1 -1
  49. package/dist/__generated__/qraffle.d.ts +51 -51
  50. package/dist/__generated__/qraffle.d.ts.map +1 -1
  51. package/dist/__generated__/qraffle.js +108 -108
  52. package/dist/__generated__/qraffle.js.map +1 -1
  53. package/dist/__generated__/qreservepool.d.ts +14 -14
  54. package/dist/__generated__/qreservepool.d.ts.map +1 -1
  55. package/dist/__generated__/qreservepool.js +22 -22
  56. package/dist/__generated__/qreservepool.js.map +1 -1
  57. package/dist/__generated__/qrwa.d.ts +71 -71
  58. package/dist/__generated__/qrwa.d.ts.map +1 -1
  59. package/dist/__generated__/qrwa.js +174 -174
  60. package/dist/__generated__/qrwa.js.map +1 -1
  61. package/dist/__generated__/qswap.d.ts +79 -79
  62. package/dist/__generated__/qswap.d.ts.map +1 -1
  63. package/dist/__generated__/qswap.js +158 -158
  64. package/dist/__generated__/qswap.js.map +1 -1
  65. package/dist/__generated__/qthirtyfour.d.ts +78 -78
  66. package/dist/__generated__/qthirtyfour.d.ts.map +1 -1
  67. package/dist/__generated__/qthirtyfour.js +161 -161
  68. package/dist/__generated__/qthirtyfour.js.map +1 -1
  69. package/dist/__generated__/quottery.d.ts +124 -124
  70. package/dist/__generated__/quottery.d.ts.map +1 -1
  71. package/dist/__generated__/quottery.js +266 -266
  72. package/dist/__generated__/quottery.js.map +1 -1
  73. package/dist/__generated__/qusino.d.ts +44 -44
  74. package/dist/__generated__/qusino.d.ts.map +1 -1
  75. package/dist/__generated__/qusino.js +88 -88
  76. package/dist/__generated__/qusino.js.map +1 -1
  77. package/dist/__generated__/qutil.d.ts +108 -108
  78. package/dist/__generated__/qutil.d.ts.map +1 -1
  79. package/dist/__generated__/qutil.js +231 -231
  80. package/dist/__generated__/qutil.js.map +1 -1
  81. package/dist/__generated__/qvault.d.ts +90 -90
  82. package/dist/__generated__/qvault.d.ts.map +1 -1
  83. package/dist/__generated__/qvault.js +146 -146
  84. package/dist/__generated__/qvault.js.map +1 -1
  85. package/dist/__generated__/qx.d.ts +36 -36
  86. package/dist/__generated__/qx.d.ts.map +1 -1
  87. package/dist/__generated__/qx.js +54 -54
  88. package/dist/__generated__/qx.js.map +1 -1
  89. package/dist/__generated__/random.d.ts +2 -1
  90. package/dist/__generated__/random.d.ts.map +1 -1
  91. package/dist/__generated__/random.js +2 -2
  92. package/dist/__generated__/random.js.map +1 -1
  93. package/dist/__generated__/randomlottery.d.ts +28 -28
  94. package/dist/__generated__/randomlottery.d.ts.map +1 -1
  95. package/dist/__generated__/randomlottery.js +41 -41
  96. package/dist/__generated__/randomlottery.js.map +1 -1
  97. package/dist/__generated__/vottunbridge.d.ts +77 -77
  98. package/dist/__generated__/vottunbridge.d.ts.map +1 -1
  99. package/dist/__generated__/vottunbridge.js +181 -181
  100. package/dist/__generated__/vottunbridge.js.map +1 -1
  101. package/dist/call-contract.d.ts +9 -3
  102. package/dist/call-contract.d.ts.map +1 -1
  103. package/dist/call-contract.js +21 -22
  104. package/dist/call-contract.js.map +1 -1
  105. package/dist/index.d.ts +1 -1
  106. package/dist/index.d.ts.map +1 -1
  107. package/dist/index.js.map +1 -1
  108. package/package.json +7 -10
@@ -160,7 +160,7 @@ const STRUCTS = {
160
160
  ],
161
161
  },
162
162
  };
163
- export const Q_RWA_DONATE_TO_TREASURY_INPUT_TYPE = 1;
163
+ export const Q_RWA_DONATE_TO_TREASURY_INPUT_TYPE = 3;
164
164
  const Q_RWA_DONATE_TO_TREASURY_INPUT_FIELDS = [
165
165
  {
166
166
  name: 'amount',
@@ -169,8 +169,8 @@ const Q_RWA_DONATE_TO_TREASURY_INPUT_FIELDS = [
169
169
  byteLength: 8,
170
170
  },
171
171
  ];
172
- export function buildQRWADonateToTreasuryInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
173
- return buildPayload(Q_RWA_DONATE_TO_TREASURY_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
172
+ export function buildQRWADonateToTreasuryInput(input) {
173
+ return { contractIndex: Q_RWA_CONTRACT_INDEX, inputType: Q_RWA_DONATE_TO_TREASURY_INPUT_TYPE, payload: buildPayload(Q_RWA_DONATE_TO_TREASURY_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
174
174
  }
175
175
  const Q_RWA_DONATE_TO_TREASURY_OUTPUT_FIELDS = [
176
176
  {
@@ -180,10 +180,10 @@ const Q_RWA_DONATE_TO_TREASURY_OUTPUT_FIELDS = [
180
180
  byteLength: 8,
181
181
  },
182
182
  ];
183
- export function decodeQRWADonateToTreasuryOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
184
- return decodePayload(data, Q_RWA_DONATE_TO_TREASURY_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
183
+ export function decodeQRWADonateToTreasuryOutput(data) {
184
+ return decodePayload(data, Q_RWA_DONATE_TO_TREASURY_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
185
185
  }
186
- export const Q_RWA_VOTE_GOV_PARAMS_INPUT_TYPE = 2;
186
+ export const Q_RWA_VOTE_GOV_PARAMS_INPUT_TYPE = 4;
187
187
  const Q_RWA_VOTE_GOV_PARAMS_INPUT_FIELDS = [
188
188
  {
189
189
  name: 'proposal',
@@ -193,8 +193,8 @@ const Q_RWA_VOTE_GOV_PARAMS_INPUT_FIELDS = [
193
193
  structRef: 'QRWAGovParams',
194
194
  },
195
195
  ];
196
- export function buildQRWAVoteGovParamsInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
197
- return buildPayload(Q_RWA_VOTE_GOV_PARAMS_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
196
+ export function buildQRWAVoteGovParamsInput(input) {
197
+ return { contractIndex: Q_RWA_CONTRACT_INDEX, inputType: Q_RWA_VOTE_GOV_PARAMS_INPUT_TYPE, payload: buildPayload(Q_RWA_VOTE_GOV_PARAMS_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
198
198
  }
199
199
  const Q_RWA_VOTE_GOV_PARAMS_OUTPUT_FIELDS = [
200
200
  {
@@ -204,10 +204,10 @@ const Q_RWA_VOTE_GOV_PARAMS_OUTPUT_FIELDS = [
204
204
  byteLength: 8,
205
205
  },
206
206
  ];
207
- export function decodeQRWAVoteGovParamsOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
208
- return decodePayload(data, Q_RWA_VOTE_GOV_PARAMS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
207
+ export function decodeQRWAVoteGovParamsOutput(data) {
208
+ return decodePayload(data, Q_RWA_VOTE_GOV_PARAMS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
209
209
  }
210
- export const Q_RWA_DEPOSIT_GENERAL_ASSET_INPUT_TYPE = 3;
210
+ export const Q_RWA_DEPOSIT_GENERAL_ASSET_INPUT_TYPE = 7;
211
211
  const Q_RWA_DEPOSIT_GENERAL_ASSET_INPUT_FIELDS = [
212
212
  {
213
213
  name: 'asset',
@@ -223,8 +223,8 @@ const Q_RWA_DEPOSIT_GENERAL_ASSET_INPUT_FIELDS = [
223
223
  byteLength: 8,
224
224
  },
225
225
  ];
226
- export function buildQRWADepositGeneralAssetInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
227
- return buildPayload(Q_RWA_DEPOSIT_GENERAL_ASSET_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
226
+ export function buildQRWADepositGeneralAssetInput(input) {
227
+ return { contractIndex: Q_RWA_CONTRACT_INDEX, inputType: Q_RWA_DEPOSIT_GENERAL_ASSET_INPUT_TYPE, payload: buildPayload(Q_RWA_DEPOSIT_GENERAL_ASSET_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
228
228
  }
229
229
  const Q_RWA_DEPOSIT_GENERAL_ASSET_OUTPUT_FIELDS = [
230
230
  {
@@ -234,10 +234,10 @@ const Q_RWA_DEPOSIT_GENERAL_ASSET_OUTPUT_FIELDS = [
234
234
  byteLength: 8,
235
235
  },
236
236
  ];
237
- export function decodeQRWADepositGeneralAssetOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
238
- return decodePayload(data, Q_RWA_DEPOSIT_GENERAL_ASSET_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
237
+ export function decodeQRWADepositGeneralAssetOutput(data) {
238
+ return decodePayload(data, Q_RWA_DEPOSIT_GENERAL_ASSET_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
239
239
  }
240
- export const Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_INPUT_TYPE = 4;
240
+ export const Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_INPUT_TYPE = 8;
241
241
  const Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_INPUT_FIELDS = [
242
242
  {
243
243
  name: 'asset',
@@ -253,8 +253,8 @@ const Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_INPUT_FIELDS = [
253
253
  byteLength: 8,
254
254
  },
255
255
  ];
256
- export function buildQRWARevokeAssetManagementRightsInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
257
- return buildPayload(Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
256
+ export function buildQRWARevokeAssetManagementRightsInput(input) {
257
+ return { contractIndex: Q_RWA_CONTRACT_INDEX, inputType: Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_INPUT_TYPE, payload: buildPayload(Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
258
258
  }
259
259
  const Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_OUTPUT_FIELDS = [
260
260
  {
@@ -270,10 +270,10 @@ const Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_OUTPUT_FIELDS = [
270
270
  byteLength: 8,
271
271
  },
272
272
  ];
273
- export function decodeQRWARevokeAssetManagementRightsOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
274
- return decodePayload(data, Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
273
+ export function decodeQRWARevokeAssetManagementRightsOutput(data) {
274
+ return decodePayload(data, Q_RWA_REVOKE_ASSET_MANAGEMENT_RIGHTS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
275
275
  }
276
- export const Q_RWA_SET_POOL_A_REVENUE_ADDRESS_INPUT_TYPE = 5;
276
+ export const Q_RWA_SET_POOL_A_REVENUE_ADDRESS_INPUT_TYPE = 9;
277
277
  const Q_RWA_SET_POOL_A_REVENUE_ADDRESS_INPUT_FIELDS = [
278
278
  {
279
279
  name: 'newAddress',
@@ -282,8 +282,8 @@ const Q_RWA_SET_POOL_A_REVENUE_ADDRESS_INPUT_FIELDS = [
282
282
  byteLength: 32,
283
283
  },
284
284
  ];
285
- export function buildQRWASetPoolARevenueAddressInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
286
- return buildPayload(Q_RWA_SET_POOL_A_REVENUE_ADDRESS_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
285
+ export function buildQRWASetPoolARevenueAddressInput(input, identityToPublicKey) {
286
+ return { contractIndex: Q_RWA_CONTRACT_INDEX, inputType: Q_RWA_SET_POOL_A_REVENUE_ADDRESS_INPUT_TYPE, payload: buildPayload(Q_RWA_SET_POOL_A_REVENUE_ADDRESS_INPUT_FIELDS, STRUCTS, input, identityToPublicKey) };
287
287
  }
288
288
  const Q_RWA_SET_POOL_A_REVENUE_ADDRESS_OUTPUT_FIELDS = [
289
289
  {
@@ -293,10 +293,10 @@ const Q_RWA_SET_POOL_A_REVENUE_ADDRESS_OUTPUT_FIELDS = [
293
293
  byteLength: 8,
294
294
  },
295
295
  ];
296
- export function decodeQRWASetPoolARevenueAddressOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
297
- return decodePayload(data, Q_RWA_SET_POOL_A_REVENUE_ADDRESS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
296
+ export function decodeQRWASetPoolARevenueAddressOutput(data) {
297
+ return decodePayload(data, Q_RWA_SET_POOL_A_REVENUE_ADDRESS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
298
298
  }
299
- export const Q_RWA_SET_POOL_D_REVENUE_ADDRESS_INPUT_TYPE = 6;
299
+ export const Q_RWA_SET_POOL_D_REVENUE_ADDRESS_INPUT_TYPE = 10;
300
300
  const Q_RWA_SET_POOL_D_REVENUE_ADDRESS_INPUT_FIELDS = [
301
301
  {
302
302
  name: 'newAddress',
@@ -305,8 +305,8 @@ const Q_RWA_SET_POOL_D_REVENUE_ADDRESS_INPUT_FIELDS = [
305
305
  byteLength: 32,
306
306
  },
307
307
  ];
308
- export function buildQRWASetPoolDRevenueAddressInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
309
- return buildPayload(Q_RWA_SET_POOL_D_REVENUE_ADDRESS_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
308
+ export function buildQRWASetPoolDRevenueAddressInput(input, identityToPublicKey) {
309
+ return { contractIndex: Q_RWA_CONTRACT_INDEX, inputType: Q_RWA_SET_POOL_D_REVENUE_ADDRESS_INPUT_TYPE, payload: buildPayload(Q_RWA_SET_POOL_D_REVENUE_ADDRESS_INPUT_FIELDS, STRUCTS, input, identityToPublicKey) };
310
310
  }
311
311
  const Q_RWA_SET_POOL_D_REVENUE_ADDRESS_OUTPUT_FIELDS = [
312
312
  {
@@ -316,10 +316,10 @@ const Q_RWA_SET_POOL_D_REVENUE_ADDRESS_OUTPUT_FIELDS = [
316
316
  byteLength: 8,
317
317
  },
318
318
  ];
319
- export function decodeQRWASetPoolDRevenueAddressOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
320
- return decodePayload(data, Q_RWA_SET_POOL_D_REVENUE_ADDRESS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
319
+ export function decodeQRWASetPoolDRevenueAddressOutput(data) {
320
+ return decodePayload(data, Q_RWA_SET_POOL_D_REVENUE_ADDRESS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
321
321
  }
322
- export const Q_RWA_GET_GOV_PARAMS_INPUT_TYPE = 7;
322
+ export const Q_RWA_GET_GOV_PARAMS_INPUT_TYPE = 1;
323
323
  export const Q_RWA_GET_GOV_PARAMS_INPUT_SIZE = 0;
324
324
  const Q_RWA_GET_GOV_PARAMS_OUTPUT_FIELDS = [
325
325
  {
@@ -330,8 +330,8 @@ const Q_RWA_GET_GOV_PARAMS_OUTPUT_FIELDS = [
330
330
  structRef: 'QRWAGovParams',
331
331
  },
332
332
  ];
333
- export function decodeQRWAGetGovParamsOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
334
- return decodePayload(data, Q_RWA_GET_GOV_PARAMS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
333
+ export function decodeQRWAGetGovParamsOutput(data) {
334
+ return decodePayload(data, Q_RWA_GET_GOV_PARAMS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
335
335
  }
336
336
  export async function qRWAGetGovParams(live, options) {
337
337
  return callContractFunction({
@@ -346,7 +346,7 @@ export async function qRWAGetGovParams(live, options) {
346
346
  ...options,
347
347
  });
348
348
  }
349
- export const Q_RWA_GET_GOV_POLL_INPUT_TYPE = 8;
349
+ export const Q_RWA_GET_GOV_POLL_INPUT_TYPE = 2;
350
350
  export const Q_RWA_GET_GOV_POLL_INPUT_SIZE = 8;
351
351
  const Q_RWA_GET_GOV_POLL_INPUT_FIELDS = [
352
352
  {
@@ -356,8 +356,8 @@ const Q_RWA_GET_GOV_POLL_INPUT_FIELDS = [
356
356
  byteLength: 8,
357
357
  },
358
358
  ];
359
- export function buildQRWAGetGovPollInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
360
- return buildPayload(Q_RWA_GET_GOV_POLL_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
359
+ export function buildQRWAGetGovPollInput(input) {
360
+ return buildPayload(Q_RWA_GET_GOV_POLL_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
361
361
  }
362
362
  const Q_RWA_GET_GOV_POLL_OUTPUT_FIELDS = [
363
363
  {
@@ -374,8 +374,8 @@ const Q_RWA_GET_GOV_POLL_OUTPUT_FIELDS = [
374
374
  byteLength: 8,
375
375
  },
376
376
  ];
377
- export function decodeQRWAGetGovPollOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
378
- return decodePayload(data, Q_RWA_GET_GOV_POLL_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
377
+ export function decodeQRWAGetGovPollOutput(data) {
378
+ return decodePayload(data, Q_RWA_GET_GOV_POLL_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
379
379
  }
380
380
  export async function qRWAGetGovPoll(live, input, options) {
381
381
  return callContractFunction({
@@ -390,7 +390,7 @@ export async function qRWAGetGovPoll(live, input, options) {
390
390
  ...options,
391
391
  });
392
392
  }
393
- export const Q_RWA_GET_TREASURY_BALANCE_INPUT_TYPE = 9;
393
+ export const Q_RWA_GET_TREASURY_BALANCE_INPUT_TYPE = 4;
394
394
  export const Q_RWA_GET_TREASURY_BALANCE_INPUT_SIZE = 0;
395
395
  const Q_RWA_GET_TREASURY_BALANCE_OUTPUT_FIELDS = [
396
396
  {
@@ -400,8 +400,8 @@ const Q_RWA_GET_TREASURY_BALANCE_OUTPUT_FIELDS = [
400
400
  byteLength: 8,
401
401
  },
402
402
  ];
403
- export function decodeQRWAGetTreasuryBalanceOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
404
- return decodePayload(data, Q_RWA_GET_TREASURY_BALANCE_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
403
+ export function decodeQRWAGetTreasuryBalanceOutput(data) {
404
+ return decodePayload(data, Q_RWA_GET_TREASURY_BALANCE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
405
405
  }
406
406
  export async function qRWAGetTreasuryBalance(live, options) {
407
407
  return callContractFunction({
@@ -416,7 +416,7 @@ export async function qRWAGetTreasuryBalance(live, options) {
416
416
  ...options,
417
417
  });
418
418
  }
419
- export const Q_RWA_GET_DIVIDEND_BALANCES_INPUT_TYPE = 10;
419
+ export const Q_RWA_GET_DIVIDEND_BALANCES_INPUT_TYPE = 5;
420
420
  export const Q_RWA_GET_DIVIDEND_BALANCES_INPUT_SIZE = 0;
421
421
  const Q_RWA_GET_DIVIDEND_BALANCES_OUTPUT_FIELDS = [
422
422
  {
@@ -492,8 +492,8 @@ const Q_RWA_GET_DIVIDEND_BALANCES_OUTPUT_FIELDS = [
492
492
  byteLength: 8,
493
493
  },
494
494
  ];
495
- export function decodeQRWAGetDividendBalancesOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
496
- return decodePayload(data, Q_RWA_GET_DIVIDEND_BALANCES_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
495
+ export function decodeQRWAGetDividendBalancesOutput(data) {
496
+ return decodePayload(data, Q_RWA_GET_DIVIDEND_BALANCES_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
497
497
  }
498
498
  export async function qRWAGetDividendBalances(live, options) {
499
499
  return callContractFunction({
@@ -508,7 +508,7 @@ export async function qRWAGetDividendBalances(live, options) {
508
508
  ...options,
509
509
  });
510
510
  }
511
- export const Q_RWA_GET_TOTAL_DISTRIBUTED_INPUT_TYPE = 11;
511
+ export const Q_RWA_GET_TOTAL_DISTRIBUTED_INPUT_TYPE = 6;
512
512
  export const Q_RWA_GET_TOTAL_DISTRIBUTED_INPUT_SIZE = 0;
513
513
  const Q_RWA_GET_TOTAL_DISTRIBUTED_OUTPUT_FIELDS = [
514
514
  {
@@ -542,8 +542,8 @@ const Q_RWA_GET_TOTAL_DISTRIBUTED_OUTPUT_FIELDS = [
542
542
  byteLength: 8,
543
543
  },
544
544
  ];
545
- export function decodeQRWAGetTotalDistributedOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
546
- return decodePayload(data, Q_RWA_GET_TOTAL_DISTRIBUTED_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
545
+ export function decodeQRWAGetTotalDistributedOutput(data) {
546
+ return decodePayload(data, Q_RWA_GET_TOTAL_DISTRIBUTED_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
547
547
  }
548
548
  export async function qRWAGetTotalDistributed(live, options) {
549
549
  return callContractFunction({
@@ -558,57 +558,7 @@ export async function qRWAGetTotalDistributed(live, options) {
558
558
  ...options,
559
559
  });
560
560
  }
561
- export const Q_RWA_GET_CONTRACT_ADDRESSES_INPUT_TYPE = 12;
562
- export const Q_RWA_GET_CONTRACT_ADDRESSES_INPUT_SIZE = 0;
563
- const Q_RWA_GET_CONTRACT_ADDRESSES_OUTPUT_FIELDS = [
564
- {
565
- name: 'dedicatedRevenueAddress',
566
- type: 'id',
567
- offset: 0,
568
- byteLength: 32,
569
- },
570
- {
571
- name: 'poolARevenueAddress',
572
- type: 'id',
573
- offset: 32,
574
- byteLength: 32,
575
- },
576
- {
577
- name: 'poolDRevenueAddress',
578
- type: 'id',
579
- offset: 64,
580
- byteLength: 32,
581
- },
582
- {
583
- name: 'fundraisingAddress',
584
- type: 'id',
585
- offset: 96,
586
- byteLength: 32,
587
- },
588
- {
589
- name: 'exchangeAddress',
590
- type: 'id',
591
- offset: 128,
592
- byteLength: 32,
593
- },
594
- ];
595
- export function decodeQRWAGetContractAddressesOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
596
- return decodePayload(data, Q_RWA_GET_CONTRACT_ADDRESSES_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
597
- }
598
- export async function qRWAGetContractAddresses(live, options) {
599
- return callContractFunction({
600
- live,
601
- contractIndex: Q_RWA_CONTRACT_INDEX,
602
- inputType: Q_RWA_GET_CONTRACT_ADDRESSES_INPUT_TYPE,
603
- inputSize: Q_RWA_GET_CONTRACT_ADDRESSES_INPUT_SIZE,
604
- inputFields: [],
605
- outputFields: Q_RWA_GET_CONTRACT_ADDRESSES_OUTPUT_FIELDS,
606
- structs: STRUCTS,
607
- input: {},
608
- ...options,
609
- });
610
- }
611
- export const Q_RWA_GET_ACTIVE_GOV_POLL_IDS_INPUT_TYPE = 13;
561
+ export const Q_RWA_GET_ACTIVE_GOV_POLL_IDS_INPUT_TYPE = 8;
612
562
  export const Q_RWA_GET_ACTIVE_GOV_POLL_IDS_INPUT_SIZE = 0;
613
563
  const Q_RWA_GET_ACTIVE_GOV_POLL_IDS_OUTPUT_FIELDS = [
614
564
  {
@@ -627,8 +577,8 @@ const Q_RWA_GET_ACTIVE_GOV_POLL_IDS_OUTPUT_FIELDS = [
627
577
  arrayItemByteLength: 8,
628
578
  },
629
579
  ];
630
- export function decodeQRWAGetActiveGovPollIdsOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
631
- return decodePayload(data, Q_RWA_GET_ACTIVE_GOV_POLL_IDS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
580
+ export function decodeQRWAGetActiveGovPollIdsOutput(data) {
581
+ return decodePayload(data, Q_RWA_GET_ACTIVE_GOV_POLL_IDS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
632
582
  }
633
583
  export async function qRWAGetActiveGovPollIds(live, options) {
634
584
  return callContractFunction({
@@ -643,7 +593,7 @@ export async function qRWAGetActiveGovPollIds(live, options) {
643
593
  ...options,
644
594
  });
645
595
  }
646
- export const Q_RWA_GET_GENERAL_ASSET_BALANCE_INPUT_TYPE = 14;
596
+ export const Q_RWA_GET_GENERAL_ASSET_BALANCE_INPUT_TYPE = 9;
647
597
  export const Q_RWA_GET_GENERAL_ASSET_BALANCE_INPUT_SIZE = 40;
648
598
  const Q_RWA_GET_GENERAL_ASSET_BALANCE_INPUT_FIELDS = [
649
599
  {
@@ -654,8 +604,8 @@ const Q_RWA_GET_GENERAL_ASSET_BALANCE_INPUT_FIELDS = [
654
604
  structRef: 'Asset',
655
605
  },
656
606
  ];
657
- export function buildQRWAGetGeneralAssetBalanceInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
658
- return buildPayload(Q_RWA_GET_GENERAL_ASSET_BALANCE_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
607
+ export function buildQRWAGetGeneralAssetBalanceInput(input) {
608
+ return buildPayload(Q_RWA_GET_GENERAL_ASSET_BALANCE_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
659
609
  }
660
610
  const Q_RWA_GET_GENERAL_ASSET_BALANCE_OUTPUT_FIELDS = [
661
611
  {
@@ -671,8 +621,8 @@ const Q_RWA_GET_GENERAL_ASSET_BALANCE_OUTPUT_FIELDS = [
671
621
  byteLength: 8,
672
622
  },
673
623
  ];
674
- export function decodeQRWAGetGeneralAssetBalanceOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
675
- return decodePayload(data, Q_RWA_GET_GENERAL_ASSET_BALANCE_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
624
+ export function decodeQRWAGetGeneralAssetBalanceOutput(data) {
625
+ return decodePayload(data, Q_RWA_GET_GENERAL_ASSET_BALANCE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
676
626
  }
677
627
  export async function qRWAGetGeneralAssetBalance(live, input, options) {
678
628
  return callContractFunction({
@@ -687,7 +637,7 @@ export async function qRWAGetGeneralAssetBalance(live, input, options) {
687
637
  ...options,
688
638
  });
689
639
  }
690
- export const Q_RWA_GET_GENERAL_ASSETS_INPUT_TYPE = 15;
640
+ export const Q_RWA_GET_GENERAL_ASSETS_INPUT_TYPE = 10;
691
641
  export const Q_RWA_GET_GENERAL_ASSETS_INPUT_SIZE = 0;
692
642
  const Q_RWA_GET_GENERAL_ASSETS_OUTPUT_FIELDS = [
693
643
  {
@@ -715,8 +665,8 @@ const Q_RWA_GET_GENERAL_ASSETS_OUTPUT_FIELDS = [
715
665
  arrayItemByteLength: 8,
716
666
  },
717
667
  ];
718
- export function decodeQRWAGetGeneralAssetsOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
719
- return decodePayload(data, Q_RWA_GET_GENERAL_ASSETS_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
668
+ export function decodeQRWAGetGeneralAssetsOutput(data) {
669
+ return decodePayload(data, Q_RWA_GET_GENERAL_ASSETS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
720
670
  }
721
671
  export async function qRWAGetGeneralAssets(live, options) {
722
672
  return callContractFunction({
@@ -731,51 +681,7 @@ export async function qRWAGetGeneralAssets(live, options) {
731
681
  ...options,
732
682
  });
733
683
  }
734
- export const Q_RWA_GET_SC_DIVIDEND_TRACKING_INPUT_TYPE = 16;
735
- export const Q_RWA_GET_SC_DIVIDEND_TRACKING_INPUT_SIZE = 0;
736
- const Q_RWA_GET_SC_DIVIDEND_TRACKING_OUTPUT_FIELDS = [
737
- {
738
- name: 'count',
739
- type: 'uint64',
740
- offset: 0,
741
- byteLength: 8,
742
- },
743
- {
744
- name: 'scContractIds',
745
- type: 'array',
746
- offset: 8,
747
- byteLength: 32768,
748
- arrayLength: 1024,
749
- arrayItemType: 'id',
750
- arrayItemByteLength: 32,
751
- },
752
- {
753
- name: 'cumulativeDividends',
754
- type: 'array',
755
- offset: 32776,
756
- byteLength: 8192,
757
- arrayLength: 1024,
758
- arrayItemType: 'uint64',
759
- arrayItemByteLength: 8,
760
- },
761
- ];
762
- export function decodeQRWAGetScDividendTrackingOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
763
- return decodePayload(data, Q_RWA_GET_SC_DIVIDEND_TRACKING_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
764
- }
765
- export async function qRWAGetScDividendTracking(live, options) {
766
- return callContractFunction({
767
- live,
768
- contractIndex: Q_RWA_CONTRACT_INDEX,
769
- inputType: Q_RWA_GET_SC_DIVIDEND_TRACKING_INPUT_TYPE,
770
- inputSize: Q_RWA_GET_SC_DIVIDEND_TRACKING_INPUT_SIZE,
771
- inputFields: [],
772
- outputFields: Q_RWA_GET_SC_DIVIDEND_TRACKING_OUTPUT_FIELDS,
773
- structs: STRUCTS,
774
- input: {},
775
- ...options,
776
- });
777
- }
778
- export const Q_RWA_GET_PAYOUTS_QMINE_INPUT_TYPE = 17;
684
+ export const Q_RWA_GET_PAYOUTS_QMINE_INPUT_TYPE = 11;
779
685
  export const Q_RWA_GET_PAYOUTS_QMINE_INPUT_SIZE = 2;
780
686
  const Q_RWA_GET_PAYOUTS_QMINE_INPUT_FIELDS = [
781
687
  {
@@ -785,8 +691,8 @@ const Q_RWA_GET_PAYOUTS_QMINE_INPUT_FIELDS = [
785
691
  byteLength: 2,
786
692
  },
787
693
  ];
788
- export function buildQRWAGetPayoutsQmineInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
789
- return buildPayload(Q_RWA_GET_PAYOUTS_QMINE_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
694
+ export function buildQRWAGetPayoutsQmineInput(input) {
695
+ return buildPayload(Q_RWA_GET_PAYOUTS_QMINE_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
790
696
  }
791
697
  const Q_RWA_GET_PAYOUTS_QMINE_OUTPUT_FIELDS = [
792
698
  {
@@ -823,8 +729,8 @@ const Q_RWA_GET_PAYOUTS_QMINE_OUTPUT_FIELDS = [
823
729
  byteLength: 2,
824
730
  },
825
731
  ];
826
- export function decodeQRWAGetPayoutsQmineOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
827
- return decodePayload(data, Q_RWA_GET_PAYOUTS_QMINE_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
732
+ export function decodeQRWAGetPayoutsQmineOutput(data) {
733
+ return decodePayload(data, Q_RWA_GET_PAYOUTS_QMINE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
828
734
  }
829
735
  export async function qRWAGetPayoutsQmine(live, input, options) {
830
736
  return callContractFunction({
@@ -839,7 +745,57 @@ export async function qRWAGetPayoutsQmine(live, input, options) {
839
745
  ...options,
840
746
  });
841
747
  }
842
- export const Q_RWA_GET_PAYOUTS_QRWA_INPUT_TYPE = 18;
748
+ export const Q_RWA_GET_CONTRACT_ADDRESSES_INPUT_TYPE = 12;
749
+ export const Q_RWA_GET_CONTRACT_ADDRESSES_INPUT_SIZE = 0;
750
+ const Q_RWA_GET_CONTRACT_ADDRESSES_OUTPUT_FIELDS = [
751
+ {
752
+ name: 'dedicatedRevenueAddress',
753
+ type: 'id',
754
+ offset: 0,
755
+ byteLength: 32,
756
+ },
757
+ {
758
+ name: 'poolARevenueAddress',
759
+ type: 'id',
760
+ offset: 32,
761
+ byteLength: 32,
762
+ },
763
+ {
764
+ name: 'poolDRevenueAddress',
765
+ type: 'id',
766
+ offset: 64,
767
+ byteLength: 32,
768
+ },
769
+ {
770
+ name: 'fundraisingAddress',
771
+ type: 'id',
772
+ offset: 96,
773
+ byteLength: 32,
774
+ },
775
+ {
776
+ name: 'exchangeAddress',
777
+ type: 'id',
778
+ offset: 128,
779
+ byteLength: 32,
780
+ },
781
+ ];
782
+ export function decodeQRWAGetContractAddressesOutput(data, publicKeyToIdentity) {
783
+ return decodePayload(data, Q_RWA_GET_CONTRACT_ADDRESSES_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
784
+ }
785
+ export async function qRWAGetContractAddresses(live, options) {
786
+ return callContractFunction({
787
+ live,
788
+ contractIndex: Q_RWA_CONTRACT_INDEX,
789
+ inputType: Q_RWA_GET_CONTRACT_ADDRESSES_INPUT_TYPE,
790
+ inputSize: Q_RWA_GET_CONTRACT_ADDRESSES_INPUT_SIZE,
791
+ inputFields: [],
792
+ outputFields: Q_RWA_GET_CONTRACT_ADDRESSES_OUTPUT_FIELDS,
793
+ structs: STRUCTS,
794
+ input: {},
795
+ ...options,
796
+ });
797
+ }
798
+ export const Q_RWA_GET_PAYOUTS_QRWA_INPUT_TYPE = 13;
843
799
  export const Q_RWA_GET_PAYOUTS_QRWA_INPUT_SIZE = 2;
844
800
  const Q_RWA_GET_PAYOUTS_QRWA_INPUT_FIELDS = [
845
801
  {
@@ -849,8 +805,8 @@ const Q_RWA_GET_PAYOUTS_QRWA_INPUT_FIELDS = [
849
805
  byteLength: 2,
850
806
  },
851
807
  ];
852
- export function buildQRWAGetPayoutsQrwaInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
853
- return buildPayload(Q_RWA_GET_PAYOUTS_QRWA_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
808
+ export function buildQRWAGetPayoutsQrwaInput(input) {
809
+ return buildPayload(Q_RWA_GET_PAYOUTS_QRWA_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
854
810
  }
855
811
  const Q_RWA_GET_PAYOUTS_QRWA_OUTPUT_FIELDS = [
856
812
  {
@@ -887,8 +843,8 @@ const Q_RWA_GET_PAYOUTS_QRWA_OUTPUT_FIELDS = [
887
843
  byteLength: 2,
888
844
  },
889
845
  ];
890
- export function decodeQRWAGetPayoutsQrwaOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
891
- return decodePayload(data, Q_RWA_GET_PAYOUTS_QRWA_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
846
+ export function decodeQRWAGetPayoutsQrwaOutput(data) {
847
+ return decodePayload(data, Q_RWA_GET_PAYOUTS_QRWA_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
892
848
  }
893
849
  export async function qRWAGetPayoutsQrwa(live, input, options) {
894
850
  return callContractFunction({
@@ -903,7 +859,7 @@ export async function qRWAGetPayoutsQrwa(live, input, options) {
903
859
  ...options,
904
860
  });
905
861
  }
906
- export const Q_RWA_GET_PAYOUTS_DEDICATED_INPUT_TYPE = 19;
862
+ export const Q_RWA_GET_PAYOUTS_DEDICATED_INPUT_TYPE = 14;
907
863
  export const Q_RWA_GET_PAYOUTS_DEDICATED_INPUT_SIZE = 2;
908
864
  const Q_RWA_GET_PAYOUTS_DEDICATED_INPUT_FIELDS = [
909
865
  {
@@ -913,8 +869,8 @@ const Q_RWA_GET_PAYOUTS_DEDICATED_INPUT_FIELDS = [
913
869
  byteLength: 2,
914
870
  },
915
871
  ];
916
- export function buildQRWAGetPayoutsDedicatedInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
917
- return buildPayload(Q_RWA_GET_PAYOUTS_DEDICATED_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
872
+ export function buildQRWAGetPayoutsDedicatedInput(input) {
873
+ return buildPayload(Q_RWA_GET_PAYOUTS_DEDICATED_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
918
874
  }
919
875
  const Q_RWA_GET_PAYOUTS_DEDICATED_OUTPUT_FIELDS = [
920
876
  {
@@ -951,8 +907,8 @@ const Q_RWA_GET_PAYOUTS_DEDICATED_OUTPUT_FIELDS = [
951
907
  byteLength: 2,
952
908
  },
953
909
  ];
954
- export function decodeQRWAGetPayoutsDedicatedOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
955
- return decodePayload(data, Q_RWA_GET_PAYOUTS_DEDICATED_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
910
+ export function decodeQRWAGetPayoutsDedicatedOutput(data) {
911
+ return decodePayload(data, Q_RWA_GET_PAYOUTS_DEDICATED_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
956
912
  }
957
913
  export async function qRWAGetPayoutsDedicated(live, input, options) {
958
914
  return callContractFunction({
@@ -967,7 +923,51 @@ export async function qRWAGetPayoutsDedicated(live, input, options) {
967
923
  ...options,
968
924
  });
969
925
  }
970
- export const Q_RWA_GET_PAYOUTS_POOL_D_INPUT_TYPE = 20;
926
+ export const Q_RWA_GET_SC_DIVIDEND_TRACKING_INPUT_TYPE = 15;
927
+ export const Q_RWA_GET_SC_DIVIDEND_TRACKING_INPUT_SIZE = 0;
928
+ const Q_RWA_GET_SC_DIVIDEND_TRACKING_OUTPUT_FIELDS = [
929
+ {
930
+ name: 'count',
931
+ type: 'uint64',
932
+ offset: 0,
933
+ byteLength: 8,
934
+ },
935
+ {
936
+ name: 'scContractIds',
937
+ type: 'array',
938
+ offset: 8,
939
+ byteLength: 32768,
940
+ arrayLength: 1024,
941
+ arrayItemType: 'id',
942
+ arrayItemByteLength: 32,
943
+ },
944
+ {
945
+ name: 'cumulativeDividends',
946
+ type: 'array',
947
+ offset: 32776,
948
+ byteLength: 8192,
949
+ arrayLength: 1024,
950
+ arrayItemType: 'uint64',
951
+ arrayItemByteLength: 8,
952
+ },
953
+ ];
954
+ export function decodeQRWAGetScDividendTrackingOutput(data, publicKeyToIdentity) {
955
+ return decodePayload(data, Q_RWA_GET_SC_DIVIDEND_TRACKING_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
956
+ }
957
+ export async function qRWAGetScDividendTracking(live, options) {
958
+ return callContractFunction({
959
+ live,
960
+ contractIndex: Q_RWA_CONTRACT_INDEX,
961
+ inputType: Q_RWA_GET_SC_DIVIDEND_TRACKING_INPUT_TYPE,
962
+ inputSize: Q_RWA_GET_SC_DIVIDEND_TRACKING_INPUT_SIZE,
963
+ inputFields: [],
964
+ outputFields: Q_RWA_GET_SC_DIVIDEND_TRACKING_OUTPUT_FIELDS,
965
+ structs: STRUCTS,
966
+ input: {},
967
+ ...options,
968
+ });
969
+ }
970
+ export const Q_RWA_GET_PAYOUTS_POOL_D_INPUT_TYPE = 16;
971
971
  export const Q_RWA_GET_PAYOUTS_POOL_D_INPUT_SIZE = 2;
972
972
  const Q_RWA_GET_PAYOUTS_POOL_D_INPUT_FIELDS = [
973
973
  {
@@ -977,8 +977,8 @@ const Q_RWA_GET_PAYOUTS_POOL_D_INPUT_FIELDS = [
977
977
  byteLength: 2,
978
978
  },
979
979
  ];
980
- export function buildQRWAGetPayoutsPoolDInput(input, identityToPublicKey = (_identity) => new Uint8Array(32)) {
981
- return buildPayload(Q_RWA_GET_PAYOUTS_POOL_D_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
980
+ export function buildQRWAGetPayoutsPoolDInput(input) {
981
+ return buildPayload(Q_RWA_GET_PAYOUTS_POOL_D_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
982
982
  }
983
983
  const Q_RWA_GET_PAYOUTS_POOL_D_OUTPUT_FIELDS = [
984
984
  {
@@ -1015,8 +1015,8 @@ const Q_RWA_GET_PAYOUTS_POOL_D_OUTPUT_FIELDS = [
1015
1015
  byteLength: 2,
1016
1016
  },
1017
1017
  ];
1018
- export function decodeQRWAGetPayoutsPoolDOutput(data, publicKeyToIdentity = (_pk) => 'A'.repeat(60)) {
1019
- return decodePayload(data, Q_RWA_GET_PAYOUTS_POOL_D_OUTPUT_FIELDS, STRUCTS, publicKeyToIdentity);
1018
+ export function decodeQRWAGetPayoutsPoolDOutput(data) {
1019
+ return decodePayload(data, Q_RWA_GET_PAYOUTS_POOL_D_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
1020
1020
  }
1021
1021
  export async function qRWAGetPayoutsPoolD(live, input, options) {
1022
1022
  return callContractFunction({
@@ -1038,14 +1038,14 @@ export const qRWA = {
1038
1038
  GetTreasuryBalance: qRWAGetTreasuryBalance,
1039
1039
  GetDividendBalances: qRWAGetDividendBalances,
1040
1040
  GetTotalDistributed: qRWAGetTotalDistributed,
1041
- GetContractAddresses: qRWAGetContractAddresses,
1042
1041
  GetActiveGovPollIds: qRWAGetActiveGovPollIds,
1043
1042
  GetGeneralAssetBalance: qRWAGetGeneralAssetBalance,
1044
1043
  GetGeneralAssets: qRWAGetGeneralAssets,
1045
- GetScDividendTracking: qRWAGetScDividendTracking,
1046
1044
  GetPayoutsQmine: qRWAGetPayoutsQmine,
1045
+ GetContractAddresses: qRWAGetContractAddresses,
1047
1046
  GetPayoutsQrwa: qRWAGetPayoutsQrwa,
1048
1047
  GetPayoutsDedicated: qRWAGetPayoutsDedicated,
1048
+ GetScDividendTracking: qRWAGetScDividendTracking,
1049
1049
  GetPayoutsPoolD: qRWAGetPayoutsPoolD,
1050
1050
  buildDonateToTreasuryInput: buildQRWADonateToTreasuryInput,
1051
1051
  decodeDonateToTreasuryOutput: decodeQRWADonateToTreasuryOutput,