@polymeshassociation/polymesh-types 7.2.0 → 7.4.0

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 (76) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +3 -2
  3. package/generated/types.d.ts +101 -8
  4. package/generated/types.d.ts.map +1 -1
  5. package/generated/types.js +101 -2
  6. package/generated/types.js.map +1 -1
  7. package/package.json +4 -3
  8. package/polkadot/asset/definitions.js +4 -4
  9. package/polkadot/asset/definitions.js.map +1 -1
  10. package/polkadot/augment-api-consts.d.ts +220 -6
  11. package/polkadot/augment-api-consts.d.ts.map +1 -1
  12. package/polkadot/augment-api-errors.d.ts +630 -117
  13. package/polkadot/augment-api-errors.d.ts.map +1 -1
  14. package/polkadot/augment-api-events.d.ts +668 -176
  15. package/polkadot/augment-api-events.d.ts.map +1 -1
  16. package/polkadot/augment-api-query.d.ts +719 -94
  17. package/polkadot/augment-api-query.d.ts.map +1 -1
  18. package/polkadot/augment-api-rpc.d.ts +22 -25
  19. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  20. package/polkadot/augment-api-runtime.d.ts +295 -32
  21. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  22. package/polkadot/augment-api-tx.d.ts +1539 -506
  23. package/polkadot/augment-api-tx.d.ts.map +1 -1
  24. package/polkadot/augment-types.d.ts +19 -2
  25. package/polkadot/augment-types.d.ts.map +1 -1
  26. package/polkadot/identity/definitions.d.ts +0 -18
  27. package/polkadot/identity/definitions.d.ts.map +1 -1
  28. package/polkadot/identity/definitions.js +0 -42
  29. package/polkadot/identity/definitions.js.map +1 -1
  30. package/polkadot/lookup.d.ts +5163 -3246
  31. package/polkadot/lookup.d.ts.map +1 -1
  32. package/polkadot/lookup.js +6275 -4221
  33. package/polkadot/lookup.js.map +1 -1
  34. package/polkadot/nft/definitions.js +4 -4
  35. package/polkadot/nft/definitions.js.map +1 -1
  36. package/polkadot/polymesh/definitions.d.ts +93 -8
  37. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  38. package/polkadot/polymesh/definitions.js +228 -12
  39. package/polkadot/polymesh/definitions.js.map +1 -1
  40. package/polkadot/polymesh/types.d.ts +129 -20
  41. package/polkadot/polymesh/types.d.ts.map +1 -1
  42. package/polkadot/registry.d.ts +176 -15
  43. package/polkadot/registry.d.ts.map +1 -1
  44. package/polkadot/schema.d.ts +93 -26
  45. package/polkadot/schema.d.ts.map +1 -1
  46. package/polkadot/schema.js +238 -64
  47. package/polkadot/schema.js.map +1 -1
  48. package/polkadot/settlement/definitions.js +2 -2
  49. package/polkadot/types-lookup.d.ts +6016 -4313
  50. package/polkadot/types-lookup.d.ts.map +1 -1
  51. package/rpc/index.d.ts +0 -18
  52. package/rpc/index.d.ts.map +1 -1
  53. package/rpc/index.js +10 -52
  54. package/rpc/index.js.map +1 -1
  55. package/runtime/assetApi/v5.d.ts +3 -0
  56. package/runtime/assetApi/v5.d.ts.map +1 -0
  57. package/runtime/assetApi/v5.js +32 -0
  58. package/runtime/assetApi/v5.js.map +1 -0
  59. package/runtime/index.d.ts.map +1 -1
  60. package/runtime/index.js +6 -0
  61. package/runtime/index.js.map +1 -1
  62. package/runtime/nftApi/v3.d.ts +3 -0
  63. package/runtime/nftApi/v3.d.ts.map +1 -0
  64. package/runtime/nftApi/v3.js +28 -0
  65. package/runtime/nftApi/v3.js.map +1 -0
  66. package/runtime/settlementApi/v3.d.ts +3 -0
  67. package/runtime/settlementApi/v3.d.ts.map +1 -0
  68. package/runtime/settlementApi/v3.js +74 -0
  69. package/runtime/settlementApi/v3.js.map +1 -0
  70. package/signedExtensions/index.d.ts +4 -0
  71. package/signedExtensions/index.d.ts.map +1 -1
  72. package/signedExtensions/index.js +4 -0
  73. package/signedExtensions/index.js.map +1 -1
  74. package/types/8.0.x.json +96 -15
  75. package/types/index.d.ts +477 -0
  76. package/types/index.d.ts.map +1 -1
@@ -1,9 +1,9 @@
1
1
  import '@polkadot/api-base/types/submittable';
2
2
  import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
3
- import type { BTreeSet, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
+ import type { BTreeMap, BTreeSet, Bytes, Compact, Option, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { PalletBalancesAdjustmentDirection, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStoFundingMethod, PalletStoPriceTier, PalletUtilityUniqueCall, PalletValidatorsSlashingSwitch, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeTestnetRuntimeOriginCaller, PolymeshRuntimeTestnetRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
5
+ import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
6
+ import type { PalletBalancesAdjustmentDirection, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletPipsSnapshotResult, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStoFundingMethod, PalletStoPriceTier, PalletValidatorsSlashingSwitch, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshDartBpAccountBatchedAccountAssetRegistrationProof, PolymeshDartBpAffirmationProofsInstantReceiverAffirmationProof, PolymeshDartBpAffirmationProofsInstantSenderAffirmationProof, PolymeshDartBpAffirmationProofsReceiverAffirmationProof, PolymeshDartBpAffirmationProofsReceiverClaimProof, PolymeshDartBpAffirmationProofsReceiverRevertAffirmationProof, PolymeshDartBpAffirmationProofsSenderAffirmationProof, PolymeshDartBpAffirmationProofsSenderCounterUpdateProof, PolymeshDartBpAffirmationProofsSenderRevertAffirmationProof, PolymeshDartBpAssetAssetMintingProof, PolymeshDartBpBatchedBatchedProofs, PolymeshDartBpFeeBatchedFeeAccountRegistrationProof, PolymeshDartBpFeeBatchedFeeAccountTopupProof, PolymeshDartBpFeeFeePaymentWithBatchedProofs, PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysAccountRegistrationProof, PolymeshDartBpKeysEncryptionKeyRegistrationProof, PolymeshDartBpKeysEncryptionPublicKey, PolymeshDartBpLegInstantInstantSettlementProof, PolymeshDartBpLegProofsBatchedSettlementProof, PolymeshDartBpLegProofsMediatorAffirmationProof, PolymeshDartBpLegSettlementProof, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetHolderKind, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentitySecondaryKeyWithAuth, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesProtocolFeeProtocolOp, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAffirmationRequirement, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
7
7
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
8
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
9
  export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
@@ -103,7 +103,31 @@ declare module '@polkadot/api-base/types/submittable' {
103
103
  BTreeSet<PolymeshPrimitivesIdentityId>
104
104
  ]>;
105
105
  /**
106
- * Forces a transfer of tokens from `from_portfolio` to the caller's default portfolio.
106
+ * Set the allowance for `spender` to transfer up to `amount` of `asset_id` from
107
+ * the caller's account.
108
+ *
109
+ * Replaces any existing allowance for this (owner, spender, asset_id) combination.
110
+ * Setting `amount` to 0 revokes the allowance (removes the storage entry).
111
+ * Setting `amount` to `Balance::MAX` grants an unlimited allowance that is never
112
+ * decremented on spend.
113
+ *
114
+ * # Arguments
115
+ * * `origin` — Signed origin. Caller must have a registered DID.
116
+ * * `asset_id` — The asset for which the allowance is set.
117
+ * * `spender` — The AccountId authorized to spend.
118
+ * * `amount` — Maximum amount the spender may transfer. 0 = revoke. Balance::MAX = unlimited.
119
+ *
120
+ * # Errors
121
+ * * `BadOrigin` — Unsigned origin.
122
+ * * `MissingIdentity` — Caller's key is not linked to a DID.
123
+ **/
124
+ approve: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, spender: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
125
+ PolymeshPrimitivesAssetAssetId,
126
+ AccountId32,
127
+ u128
128
+ ]>;
129
+ /**
130
+ * Forces a transfer of tokens from `asset_holder` to the caller's default portfolio.
107
131
  *
108
132
  * This function allows the asset issuer or an external agent to force a transfer of tokens from one portfolio to another.
109
133
  *
@@ -111,7 +135,8 @@ declare module '@polkadot/api-base/types/submittable' {
111
135
  * * `origin` - The origin of the call, which can be the primary or secondary key of an identity.
112
136
  * * `asset_id` - The [`AssetId`] associated to the asset.
113
137
  * * `value` - The [`Balance`] of tokens that will be transferred.
114
- * * `from_portfolio` - The [`PortfolioId`] that will have its balance reduced.
138
+ * * `source` - The [`AssetHolder`] that will have its balance reduced.
139
+ * * `destination_kind` - The [`AssetHolderKind`] of the destination.
115
140
  *
116
141
  * # Permissions
117
142
  * * Asset
@@ -125,13 +150,21 @@ declare module '@polkadot/api-base/types/submittable' {
125
150
  * * `InvalidGranularity` - If the amount to transfer does not meet the granularity requirements.
126
151
  * * `TotalSupplyOverflow` - If the total supply exceeds the maximum allowed limit.
127
152
  **/
128
- controllerTransfer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, fromPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
129
- did?: any;
130
- kind?: any;
153
+ controllerTransfer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, source: PolymeshPrimitivesAssetAssetHolder | {
154
+ Portfolio: any;
155
+ } | {
156
+ Account: any;
157
+ } | string | Uint8Array, destinationKind: PolymeshPrimitivesAssetAssetHolderKind | {
158
+ Account: any;
159
+ } | {
160
+ DefaultPortfolio: any;
161
+ } | {
162
+ UserPortfolio: any;
131
163
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
132
164
  PolymeshPrimitivesAssetAssetId,
133
165
  u128,
134
- PolymeshPrimitivesIdentityIdPortfolioId
166
+ PolymeshPrimitivesAssetAssetHolder,
167
+ PolymeshPrimitivesAssetAssetHolderKind
135
168
  ]>;
136
169
  /**
137
170
  * Creates a new asset.
@@ -282,7 +315,7 @@ declare module '@polkadot/api-base/types/submittable' {
282
315
  * * `origin`: A signer that has permissions to act as an agent of `ticker`.
283
316
  * * `asset_id`: the [`AssetId`] associated to the asset.
284
317
  * * `amount`: The amount of tokens that will be issued.
285
- * * `portfolio_kind`: The [`PortfolioKind`] of the portfolio that will receive the minted tokens.
318
+ * * `asset_holder_kind`: The [`AssetHolderKind`] of the portfolio that will receive the minted tokens.
286
319
  *
287
320
  * # Permissions
288
321
  * * Asset
@@ -296,14 +329,16 @@ declare module '@polkadot/api-base/types/submittable' {
296
329
  * * `InvalidGranularity` - If the amount to issue does not meet the granularity requirements.
297
330
  * * `TotalSupplyOverflow` - If the total supply exceeds the maximum allowed limit.
298
331
  **/
299
- issue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
300
- Default: any;
332
+ issue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, assetHolderKind: PolymeshPrimitivesAssetAssetHolderKind | {
333
+ Account: any;
301
334
  } | {
302
- User: any;
335
+ DefaultPortfolio: any;
336
+ } | {
337
+ UserPortfolio: any;
303
338
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
304
339
  PolymeshPrimitivesAssetAssetId,
305
340
  u128,
306
- PolymeshPrimitivesIdentityIdPortfolioKind
341
+ PolymeshPrimitivesAssetAssetHolderKind
307
342
  ]>;
308
343
  /**
309
344
  * Establishes a connection between a ticker and an AssetId.
@@ -371,6 +406,32 @@ declare module '@polkadot/api-base/types/submittable' {
371
406
  preApproveAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
372
407
  PolymeshPrimitivesAssetAssetId
373
408
  ]>;
409
+ /**
410
+ * Receiver affirms a pending asset transfer.
411
+ *
412
+ * If someone tries to transfer asset to an account that requires receiver affirmations, then the receiver will need to affirm the transfer
413
+ * before the transfer is executed.
414
+ *
415
+ * # Arguments
416
+ * * `origin` - The origin of the call, which will be the receiver of the assets.
417
+ * * `transfer_id` - The [`InstructionId`] associated to the pending transfer.
418
+ *
419
+ * # Permissions
420
+ * * Asset
421
+ * * Portfolio
422
+ *
423
+ * # Events
424
+ * * `InstructionAffirmed` - The asset transfer settlement was affirmed by the caller as the receiver.
425
+ * * `InstructionExecuted` - The asset transfer settlement was executed successfully.
426
+ * * `AssetBalanceUpdated` - The asset balance was updated for both the sender and receiver portfolios.
427
+ *
428
+ * # Errors
429
+ * * `UnknownInstruction` - If the instruction associated to the given transfer ID does not exist.
430
+ * * `InvalidTransfer` - If the transfer validation check fails.
431
+ **/
432
+ receiverAffirmAssetTransfer: AugmentedSubmittable<(transferId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
433
+ u64
434
+ ]>;
374
435
  /**
375
436
  * Redeems (i.e burns) existing tokens by reducing the balance of the caller's portfolio and the total supply of the asset.
376
437
  *
@@ -380,7 +441,7 @@ declare module '@polkadot/api-base/types/submittable' {
380
441
  * * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
381
442
  * * `asset_id`: the [`AssetId`] associated to the asset.
382
443
  * * `value`: amount of tokens to redeem.
383
- * * `portfolio_kind`: the [`PortfolioKind`] that will have its balance reduced.
444
+ * * `asset_holder_kind`: the [`AssetHolderKind`] that will have its balance reduced.
384
445
  *
385
446
  * # Permissions
386
447
  * * Asset
@@ -394,14 +455,16 @@ declare module '@polkadot/api-base/types/submittable' {
394
455
  * * `InvalidGranularity` - If the value to redeem does not meet the granularity requirements.
395
456
  * * `TotalSupplyOverflow` - If the total supply exceeds the maximum allowed limit.
396
457
  **/
397
- redeem: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
398
- Default: any;
458
+ redeem: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, assetHolderKind: PolymeshPrimitivesAssetAssetHolderKind | {
459
+ Account: any;
460
+ } | {
461
+ DefaultPortfolio: any;
399
462
  } | {
400
- User: any;
463
+ UserPortfolio: any;
401
464
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
402
465
  PolymeshPrimitivesAssetAssetId,
403
466
  u128,
404
- PolymeshPrimitivesIdentityIdPortfolioKind
467
+ PolymeshPrimitivesAssetAssetHolderKind
405
468
  ]>;
406
469
  /**
407
470
  * Registers and set local asset metadata.
@@ -537,6 +600,29 @@ declare module '@polkadot/api-base/types/submittable' {
537
600
  registerUniqueTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
538
601
  PolymeshPrimitivesTicker
539
602
  ]>;
603
+ /**
604
+ * Reject a pending asset transfer.
605
+ *
606
+ * If someone tries to transfer asset to an account that requires receiver affirmations, then the receiver can reject the transfer.
607
+ * The sender can also reject the transfer before the receiver affirms it.
608
+ *
609
+ * # Arguments
610
+ * * `origin` - The origin of the call, which can be either the sender or receiver.
611
+ * * `transfer_id` - The [`InstructionId`] associated to the pending transfer.
612
+ *
613
+ * # Permissions
614
+ * * Asset
615
+ * * Portfolio
616
+ *
617
+ * # Events
618
+ * * `InstructionRejected` - The asset transfer settlement was rejected by the caller.
619
+ *
620
+ * # Errors
621
+ * * `InvalidInstructionStatusForRejection` - Either the instruction doesn't exist or it has already been executed or rejected.
622
+ **/
623
+ rejectAssetTransfer: AugmentedSubmittable<(transferId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
624
+ u64
625
+ ]>;
540
626
  /**
541
627
  * Removes the pre-approval of the asset for all identities.
542
628
  *
@@ -778,6 +864,42 @@ declare module '@polkadot/api-base/types/submittable' {
778
864
  PolymeshPrimitivesAssetAssetId,
779
865
  Bytes
780
866
  ]>;
867
+ /**
868
+ * Transfer assets from the caller's default portfolio to the target address's default portfolio.
869
+ *
870
+ * The settlement engine is used to perform the asset transfer.
871
+ *
872
+ * # Arguments
873
+ * * `origin` - The origin of the call, which will be the sender of the assets.
874
+ * * `asset_id` - The [`AssetId`] associated to the asset.
875
+ * * `to` - The target address to which the assets will be sent.
876
+ * * `amount` - The [`Balance`] of tokens that will be transferred.
877
+ * * `memo` - An optional [`Memo`] that can be attached to the transfer instruction.
878
+ *
879
+ * # Permissions
880
+ * * Asset
881
+ * * Portfolio
882
+ *
883
+ * # Events
884
+ * * `CreatedAssetTransfer` - When an asset transfer instruction is created.
885
+ * * `InstructionCreated` - The asset transfer settlement was created.
886
+ * * `InstructionAffirmed` - The asset transfer settlement was affirmed by the caller as the sender.
887
+ * * `InstructionAutomaticallyAffirmed` - If the receiver pre-approved the asset, the instruction is automatically affirmed for the receiver.
888
+ * * `InstructionExecuted` - The asset transfer settlement was executed successfully (if the receiver pre-approved the asset).
889
+ *
890
+ * # Errors
891
+ * * `InsufficientBalance` - If the sender's balance is not sufficient to cover the transfer amount.
892
+ * * `InvalidTransfer` - If the transfer validation check fails.
893
+ * * `ReceiverIdentityNotFound` - If the receiver's identity is not found.
894
+ * * `UnexpectedOFFChainAsset` - If the asset could not be found on-chain.
895
+ * * `MissingIdentity` - The caller doesn't have an identity.
896
+ **/
897
+ transferAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, to: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, memo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
898
+ PolymeshPrimitivesAssetAssetId,
899
+ AccountId32,
900
+ u128,
901
+ Option<PolymeshPrimitivesMemo>
902
+ ]>;
781
903
  /**
782
904
  * Unfreezes transfers of a given asset.
783
905
  *
@@ -1209,6 +1331,130 @@ declare module '@polkadot/api-base/types/submittable' {
1209
1331
  ]>;
1210
1332
  };
1211
1333
  base: {};
1334
+ beefy: {
1335
+ /**
1336
+ * Report voter equivocation/misbehavior. This method will verify the
1337
+ * equivocation proof and validate the given key ownership proof
1338
+ * against the extracted offender. If both are valid, the offence
1339
+ * will be reported.
1340
+ **/
1341
+ reportDoubleVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | {
1342
+ first?: any;
1343
+ second?: any;
1344
+ } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
1345
+ session?: any;
1346
+ trieNodes?: any;
1347
+ validatorCount?: any;
1348
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1349
+ SpConsensusBeefyDoubleVotingProof,
1350
+ SpSessionMembershipProof
1351
+ ]>;
1352
+ /**
1353
+ * Report voter equivocation/misbehavior. This method will verify the
1354
+ * equivocation proof and validate the given key ownership proof
1355
+ * against the extracted offender. If both are valid, the offence
1356
+ * will be reported.
1357
+ *
1358
+ * This extrinsic must be called unsigned and it is expected that only
1359
+ * block authors will call it (validated in `ValidateUnsigned`), as such
1360
+ * if the block author is defined it will be defined as the equivocation
1361
+ * reporter.
1362
+ **/
1363
+ reportDoubleVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | {
1364
+ first?: any;
1365
+ second?: any;
1366
+ } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
1367
+ session?: any;
1368
+ trieNodes?: any;
1369
+ validatorCount?: any;
1370
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1371
+ SpConsensusBeefyDoubleVotingProof,
1372
+ SpSessionMembershipProof
1373
+ ]>;
1374
+ /**
1375
+ * Report fork voting equivocation. This method will verify the equivocation proof
1376
+ * and validate the given key ownership proof against the extracted offender.
1377
+ * If both are valid, the offence will be reported.
1378
+ **/
1379
+ reportForkVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProofAncestryProof | {
1380
+ vote?: any;
1381
+ ancestryProof?: any;
1382
+ header?: any;
1383
+ } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
1384
+ session?: any;
1385
+ trieNodes?: any;
1386
+ validatorCount?: any;
1387
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1388
+ SpConsensusBeefyForkVotingProofAncestryProof,
1389
+ SpSessionMembershipProof
1390
+ ]>;
1391
+ /**
1392
+ * Report fork voting equivocation. This method will verify the equivocation proof
1393
+ * and validate the given key ownership proof against the extracted offender.
1394
+ * If both are valid, the offence will be reported.
1395
+ *
1396
+ * This extrinsic must be called unsigned and it is expected that only
1397
+ * block authors will call it (validated in `ValidateUnsigned`), as such
1398
+ * if the block author is defined it will be defined as the equivocation
1399
+ * reporter.
1400
+ **/
1401
+ reportForkVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyForkVotingProofAncestryProof | {
1402
+ vote?: any;
1403
+ ancestryProof?: any;
1404
+ header?: any;
1405
+ } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
1406
+ session?: any;
1407
+ trieNodes?: any;
1408
+ validatorCount?: any;
1409
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1410
+ SpConsensusBeefyForkVotingProofAncestryProof,
1411
+ SpSessionMembershipProof
1412
+ ]>;
1413
+ /**
1414
+ * Report future block voting equivocation. This method will verify the equivocation proof
1415
+ * and validate the given key ownership proof against the extracted offender.
1416
+ * If both are valid, the offence will be reported.
1417
+ **/
1418
+ reportFutureBlockVoting: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | {
1419
+ vote?: any;
1420
+ } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
1421
+ session?: any;
1422
+ trieNodes?: any;
1423
+ validatorCount?: any;
1424
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1425
+ SpConsensusBeefyFutureBlockVotingProof,
1426
+ SpSessionMembershipProof
1427
+ ]>;
1428
+ /**
1429
+ * Report future block voting equivocation. This method will verify the equivocation proof
1430
+ * and validate the given key ownership proof against the extracted offender.
1431
+ * If both are valid, the offence will be reported.
1432
+ *
1433
+ * This extrinsic must be called unsigned and it is expected that only
1434
+ * block authors will call it (validated in `ValidateUnsigned`), as such
1435
+ * if the block author is defined it will be defined as the equivocation
1436
+ * reporter.
1437
+ **/
1438
+ reportFutureBlockVotingUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyFutureBlockVotingProof | {
1439
+ vote?: any;
1440
+ } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
1441
+ session?: any;
1442
+ trieNodes?: any;
1443
+ validatorCount?: any;
1444
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1445
+ SpConsensusBeefyFutureBlockVotingProof,
1446
+ SpSessionMembershipProof
1447
+ ]>;
1448
+ /**
1449
+ * Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
1450
+ * future.
1451
+ *
1452
+ * Note: `delay_in_blocks` has to be at least 1.
1453
+ **/
1454
+ setNewGenesis: AugmentedSubmittable<(delayInBlocks: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1455
+ u32
1456
+ ]>;
1457
+ };
1212
1458
  capitalDistribution: {
1213
1459
  /**
1214
1460
  * Claim a benefit of the capital distribution attached to `ca_id`.
@@ -1370,103 +1616,6 @@ declare module '@polkadot/api-base/types/submittable' {
1370
1616
  PalletCorporateActionsCaId
1371
1617
  ]>;
1372
1618
  };
1373
- cddServiceProviders: {
1374
- /**
1375
- * Allows the calling member to *unilaterally quit* without this being subject to a GC
1376
- * vote.
1377
- *
1378
- * # Arguments
1379
- * * `origin` - Member of committee who wants to quit.
1380
- *
1381
- * # Error
1382
- *
1383
- * * Only primary key can abdicate.
1384
- * * Last member of a group cannot abdicate.
1385
- **/
1386
- abdicateMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1387
- /**
1388
- * Adds a member `who` to the group. May only be called from `AddOrigin` or root.
1389
- *
1390
- * # Arguments
1391
- * * `origin` - Origin representing `AddOrigin` or root
1392
- * * `who` - IdentityId to be added to the group.
1393
- **/
1394
- addMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1395
- PolymeshPrimitivesIdentityId
1396
- ]>;
1397
- /**
1398
- * Disables a member at specific moment.
1399
- *
1400
- * Please note that if member is already revoked (a "valid member"), its revocation
1401
- * time-stamp will be updated.
1402
- *
1403
- * Any disabled member should NOT allow to act like an active member of the group. For
1404
- * instance, a disabled CDD member should NOT be able to generate a CDD claim. However any
1405
- * generated claim issued before `at` would be considered as a valid one.
1406
- *
1407
- * If you want to invalidate any generated claim, you should use `Self::remove_member`.
1408
- *
1409
- * # Arguments
1410
- * * `at` - Revocation time-stamp.
1411
- * * `who` - Target member of the group.
1412
- * * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
1413
- * generated claims will be "invalid" as `who` is not considered a member of the group.
1414
- **/
1415
- disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
1416
- PolymeshPrimitivesIdentityId,
1417
- Option<u64>,
1418
- Option<u64>
1419
- ]>;
1420
- /**
1421
- * Removes a member `who` from the set. May only be called from `RemoveOrigin` or root.
1422
- *
1423
- * Any claim previously generated by this member is not valid as a group claim. For
1424
- * instance, if a CDD member group generated a claim for a target identity and then it is
1425
- * removed, that claim will be invalid. In case you want to keep the validity of generated
1426
- * claims, you have to use `Self::disable_member` function
1427
- *
1428
- * # Arguments
1429
- * * `origin` - Origin representing `RemoveOrigin` or root
1430
- * * `who` - IdentityId to be removed from the group.
1431
- **/
1432
- removeMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1433
- PolymeshPrimitivesIdentityId
1434
- ]>;
1435
- /**
1436
- * Changes the membership to a new set, disregarding the existing membership.
1437
- * May only be called from `ResetOrigin` or root.
1438
- *
1439
- * # Arguments
1440
- * * `origin` - Origin representing `ResetOrigin` or root
1441
- * * `members` - New set of identities
1442
- **/
1443
- resetMembers: AugmentedSubmittable<(members: Vec<PolymeshPrimitivesIdentityId> | (PolymeshPrimitivesIdentityId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
1444
- Vec<PolymeshPrimitivesIdentityId>
1445
- ]>;
1446
- /**
1447
- * Change this group's limit for how many concurrent active members they may be.
1448
- *
1449
- * # Arguments
1450
- * * `limit` - the number of active members there may be concurrently.
1451
- **/
1452
- setActiveMembersLimit: AugmentedSubmittable<(limit: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1453
- u32
1454
- ]>;
1455
- /**
1456
- * Swaps out one member `remove` for another member `add`.
1457
- *
1458
- * May only be called from `SwapOrigin` or root.
1459
- *
1460
- * # Arguments
1461
- * * `origin` - Origin representing `SwapOrigin` or root
1462
- * * `remove` - IdentityId to be removed from the group.
1463
- * * `add` - IdentityId to be added in place of `remove`.
1464
- **/
1465
- swapMember: AugmentedSubmittable<(remove: PolymeshPrimitivesIdentityId | string | Uint8Array, add: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1466
- PolymeshPrimitivesIdentityId,
1467
- PolymeshPrimitivesIdentityId
1468
- ]>;
1469
- };
1470
1619
  checkpoint: {
1471
1620
  /**
1472
1621
  * Creates a single checkpoint at the current time.
@@ -1501,11 +1650,11 @@ declare module '@polkadot/api-base/types/submittable' {
1501
1650
  * # Permissions
1502
1651
  * * Asset
1503
1652
  **/
1504
- createSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, schedule: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints | {
1653
+ createSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, schedule: PolymeshPrimitivesCheckpointScheduleCheckpoints | {
1505
1654
  pending?: any;
1506
1655
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1507
1656
  PolymeshPrimitivesAssetAssetId,
1508
- PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
1657
+ PolymeshPrimitivesCheckpointScheduleCheckpoints
1509
1658
  ]>;
1510
1659
  /**
1511
1660
  * Removes the checkpoint schedule of an asset identified by `id`.
@@ -1796,11 +1945,469 @@ declare module '@polkadot/api-base/types/submittable' {
1796
1945
  PolymeshPrimitivesAssetAssetId
1797
1946
  ]>;
1798
1947
  };
1799
- contracts: {
1948
+ confidentialAssets: {
1800
1949
  /**
1801
- * Makes a call to an account, optionally transferring some balance.
1950
+ * Create a settlement with batched leg affirmations.
1802
1951
  *
1803
- * # Parameters
1952
+ * # Arguments
1953
+ * * `origin` - The origin of the call.
1954
+ * * `proof` - The settlement proof with batched leg affirmations.
1955
+ *
1956
+ * # Errors
1957
+ * * `BadOrigin` if `origin` isn't signed.
1958
+ * * `InvalidProof` if the proof is invalid.
1959
+ * * `SettlementMissingLegs` if the settlement has no legs.
1960
+ * * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed.
1961
+ **/
1962
+ batchedSettlement: AugmentedSubmittable<(proof: PolymeshDartBpLegProofsBatchedSettlementProof | {
1963
+ settlement?: any;
1964
+ legAffirmations?: any;
1965
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1966
+ PolymeshDartBpLegProofsBatchedSettlementProof
1967
+ ]>;
1968
+ /**
1969
+ * Create a new Confidential Asset.
1970
+ *
1971
+ * # Arguments
1972
+ * * `auditor_or_mediator` - The auditor or mediator public key.
1973
+ *
1974
+ * # Errors
1975
+ * * `BadOrigin` if `origin` isn't signed.
1976
+ * * `AccountMissing` if the auditor or mediator is not registered.
1977
+ * * `EncryptionKeyMissing` if the encryption key of the auditor or mediator is not registered.
1978
+ **/
1979
+ createAsset: AugmentedSubmittable<(name: Text | string, symbol: Text | string, decimals: u8 | AnyNumber | Uint8Array, mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>, auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
1980
+ Text,
1981
+ Text,
1982
+ u8,
1983
+ BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>,
1984
+ BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>,
1985
+ Bytes
1986
+ ]>;
1987
+ /**
1988
+ * Create a new settlement.
1989
+ *
1990
+ * # Arguments
1991
+ * * `origin` - The origin of the call.
1992
+ * * `proof` - The settlement proof.
1993
+ *
1994
+ * # Errors
1995
+ * * `BadOrigin` if `origin` isn't signed.
1996
+ * * `InvalidProof` if the proof is invalid.
1997
+ * * `SettlementMissingLegs` if the settlement has no legs.
1998
+ * * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed.
1999
+ **/
2000
+ createSettlement: AugmentedSubmittable<(proof: PolymeshDartBpLegSettlementProof | {
2001
+ memo?: any;
2002
+ rootBlock?: any;
2003
+ legs?: any;
2004
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2005
+ PolymeshDartBpLegSettlementProof
2006
+ ]>;
2007
+ /**
2008
+ * Create and execute an instant settlement.
2009
+ *
2010
+ * # Arguments
2011
+ * * `origin` - The origin of the call.
2012
+ * * `proof` - The settlement proof with batched leg affirmations.
2013
+ *
2014
+ * # Errors
2015
+ * * `BadOrigin` if `origin` isn't signed.
2016
+ * * `InvalidProof` if the proof is invalid.
2017
+ * * `SettlementMissingLegs` if the settlement has no legs.
2018
+ * * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed.
2019
+ **/
2020
+ executeInstantSettlement: AugmentedSubmittable<(proof: PolymeshDartBpLegInstantInstantSettlementProof | {
2021
+ settlement?: any;
2022
+ legAffirmations?: any;
2023
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2024
+ PolymeshDartBpLegInstantInstantSettlementProof
2025
+ ]>;
2026
+ /**
2027
+ * Receiver affirms a settlement leg as the last pending affirmation.
2028
+ *
2029
+ * This can only be used when the receiver affirmation is the last pending affirmation for the settlement.
2030
+ *
2031
+ * # Arguments
2032
+ * * `origin` - The origin of the call.
2033
+ * * `proof` - The instant receiver affirmation proof.
2034
+ *
2035
+ * # Errors
2036
+ * * `BadOrigin` if `origin` isn't signed.
2037
+ * * `SettlementNotPending` if the settlement is not pending.
2038
+ * * `SettlementNotFound` if the settlement is not found.
2039
+ * * `LegNotFound` if the leg is not found in the settlement.
2040
+ * * `AlreadyAffirmed` if the leg has already been affirmed by the receiver.
2041
+ * * `NotLastPendingAffirmation` if the receiver affirmation is not the last pending affirmation for the settlement.
2042
+ **/
2043
+ instantReceiverAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsInstantReceiverAffirmationProof | {
2044
+ legRef?: any;
2045
+ rootBlock?: any;
2046
+ updatedAccountStateCommitment?: any;
2047
+ nullifier?: any;
2048
+ inner?: any;
2049
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2050
+ PolymeshDartBpAffirmationProofsInstantReceiverAffirmationProof
2051
+ ]>;
2052
+ /**
2053
+ * Sender affirms a settlement leg as the last pending affirmation.
2054
+ *
2055
+ * This can only be used when the sender affirmation is the last pending affirmation for the settlement.
2056
+ *
2057
+ * # Arguments
2058
+ * * `origin` - The origin of the call.
2059
+ * * `proof` - The instant sender affirmation proof.
2060
+ *
2061
+ * # Errors
2062
+ * * `BadOrigin` if `origin` isn't signed.
2063
+ * * `SettlementNotPending` if the settlement is not pending.
2064
+ * * `SettlementNotFound` if the settlement is not found.
2065
+ * * `LegNotFound` if the leg is not found in the settlement.
2066
+ * * `AlreadyAffirmed` if the leg has already been affirmed by the sender.
2067
+ * * `NotLastPendingAffirmation` if the sender affirmation is not the last pending affirmation for the settlement.
2068
+ **/
2069
+ instantSenderAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsInstantSenderAffirmationProof | {
2070
+ legRef?: any;
2071
+ rootBlock?: any;
2072
+ updatedAccountStateCommitment?: any;
2073
+ nullifier?: any;
2074
+ inner?: any;
2075
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2076
+ PolymeshDartBpAffirmationProofsInstantSenderAffirmationProof
2077
+ ]>;
2078
+ /**
2079
+ * Mediator affirms a settlement leg.
2080
+ *
2081
+ * # Arguments
2082
+ * * `origin` - The origin of the call.
2083
+ * * `proof` - The mediator affirmation proof.
2084
+ *
2085
+ * # Errors
2086
+ * * `BadOrigin` if `origin` isn't signed.
2087
+ * * `SettlementNotPending` if the settlement is not pending.
2088
+ * * `SettlementNotFound` if the settlement is not found.
2089
+ * * `LegNotFound` if the leg is not found in the settlement.
2090
+ * * `AlreadyAffirmed` if the leg has already been affirmed by the mediator.
2091
+ * * `WrongMediatorId` if the mediator ID does not match the expected mediator for the leg.
2092
+ **/
2093
+ mediatorAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpLegProofsMediatorAffirmationProof | {
2094
+ legRef?: any;
2095
+ accept?: any;
2096
+ keyIndex?: any;
2097
+ inner?: any;
2098
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2099
+ PolymeshDartBpLegProofsMediatorAffirmationProof
2100
+ ]>;
2101
+ /**
2102
+ * Mint a Confidential asset.
2103
+ *
2104
+ * # Arguments
2105
+ * * `origin` - The origin of the call. They must be the owner of the Confidential asset and Confidential account.
2106
+ * * `proof` - The minting proof.
2107
+ *
2108
+ * # Errors
2109
+ * * `BadOrigin` if `origin` isn't signed.
2110
+ * * `AccountMissing` if the Confidential account is not registered.
2111
+ * * `AssetMissing` if the Confidential asset is not registered.
2112
+ * * `NotAccountOwner` if the caller is not the owner of the Confidential account.
2113
+ * * `InvalidProof` if the proof is invalid.
2114
+ * * `NotAssetOwner` if the caller is not the owner of the Confidential asset.
2115
+ * * `MaxTotalSupplyExceeded` if the total supply of the Confidential asset exceeds the maximum total supply.
2116
+ * * `NullifierAlreadyUsed` if the nullifier for the account state commitment has already been used.
2117
+ **/
2118
+ mintAsset: AugmentedSubmittable<(proof: PolymeshDartBpAssetAssetMintingProof | {
2119
+ pk?: any;
2120
+ pkEnc?: any;
2121
+ assetId?: any;
2122
+ amount?: any;
2123
+ rootBlock?: any;
2124
+ updatedAccountStateCommitment?: any;
2125
+ nullifier?: any;
2126
+ inner?: any;
2127
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2128
+ PolymeshDartBpAssetAssetMintingProof
2129
+ ]>;
2130
+ /**
2131
+ * Receiver affirms a settlement leg.
2132
+ *
2133
+ * # Arguments
2134
+ * * `origin` - The origin of the call.
2135
+ * * `proof` - The receiver affirmation proof.
2136
+ *
2137
+ * # Errors
2138
+ * * `BadOrigin` if `origin` isn't signed.
2139
+ * * `SettlementNotPending` if the settlement is not pending.
2140
+ * * `SettlementNotFound` if the settlement is not found.
2141
+ * * `LegNotFound` if the leg is not found in the settlement.
2142
+ * * `AlreadyAffirmed` if the leg has already been affirmed by the receiver.
2143
+ **/
2144
+ receiverAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsReceiverAffirmationProof | {
2145
+ legRef?: any;
2146
+ rootBlock?: any;
2147
+ updatedAccountStateCommitment?: any;
2148
+ nullifier?: any;
2149
+ inner?: any;
2150
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2151
+ PolymeshDartBpAffirmationProofsReceiverAffirmationProof
2152
+ ]>;
2153
+ /**
2154
+ * Receiver claims their assets after a settlement has been executed.
2155
+ *
2156
+ * # Arguments
2157
+ * * `origin` - The origin of the call.
2158
+ * * `proof` - The receiver claim proof.
2159
+ *
2160
+ * # Errors
2161
+ * * `BadOrigin` if `origin` isn't signed.
2162
+ * * `SettlementNotExecuted` if the settlement has not been executed.
2163
+ * * `SettlementNotFound` if the settlement is not found.
2164
+ * * `LegNotFound` if the leg is not found in the settlement.
2165
+ **/
2166
+ receiverClaim: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsReceiverClaimProof | {
2167
+ legRef?: any;
2168
+ rootBlock?: any;
2169
+ updatedAccountStateCommitment?: any;
2170
+ nullifier?: any;
2171
+ inner?: any;
2172
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2173
+ PolymeshDartBpAffirmationProofsReceiverClaimProof
2174
+ ]>;
2175
+ /**
2176
+ * Receiver reverts their affirmation.
2177
+ *
2178
+ * # Arguments
2179
+ * * `origin` - The origin of the call.
2180
+ * * `proof` - The receiver revert affirmation proof.
2181
+ *
2182
+ * # Errors
2183
+ * * `BadOrigin` if `origin` isn't signed.
2184
+ * * `SettlementAlreadyExecuted` if the settlement has already been executed.
2185
+ * * `SettlementNotFound` if the settlement is not found.
2186
+ * * `LegNotFound` if the leg is not found in the settlement.
2187
+ **/
2188
+ receiverRevertAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsReceiverRevertAffirmationProof | {
2189
+ legRef?: any;
2190
+ rootBlock?: any;
2191
+ updatedAccountStateCommitment?: any;
2192
+ nullifier?: any;
2193
+ inner?: any;
2194
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2195
+ PolymeshDartBpAffirmationProofsReceiverRevertAffirmationProof
2196
+ ]>;
2197
+ /**
2198
+ * Batch register multiple accounts and assets.
2199
+ *
2200
+ * This is used to initialize the first account state commitment of the Confidential asset for the Confidential account.
2201
+ *
2202
+ * # Arguments
2203
+ * * `origin` - The origin of the call. They must be the owner of the Confidential account.
2204
+ * * `proof` - The Batched Account asset registration proof.
2205
+ *
2206
+ * # Errors
2207
+ * * `BadOrigin` if `origin` isn't signed.
2208
+ * * `AccountMissing` if the Confidential account is not registered.
2209
+ * * `AssetMissing` if the Confidential asset is not registered.
2210
+ * * `AccountAssetAlreadyRegistered` if the Confidential account has already registered the Confidential asset.
2211
+ * * `NotAccountOwner` if the caller is not the owner of the Confidential account.
2212
+ * * `InvalidProof` if the proof is invalid.
2213
+ **/
2214
+ registerAccountAssets: AugmentedSubmittable<(proof: PolymeshDartBpAccountBatchedAccountAssetRegistrationProof | {
2215
+ proofs?: any;
2216
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2217
+ PolymeshDartBpAccountBatchedAccountAssetRegistrationProof
2218
+ ]>;
2219
+ /**
2220
+ * Register a dart account.
2221
+ *
2222
+ * # Arguments
2223
+ * * `account` the dart account to register.
2224
+ * * `encryption_key` the encryption key for the dart account.
2225
+ *
2226
+ * # Errors
2227
+ * * `BadOrigin` if `origin` isn't signed.
2228
+ * * `AccountAlreadyCreated` if the dart account or encryption key is already registered.
2229
+ **/
2230
+ registerAccounts: AugmentedSubmittable<(proof: PolymeshDartBpKeysAccountRegistrationProof | {
2231
+ accounts?: any;
2232
+ inner?: any;
2233
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2234
+ PolymeshDartBpKeysAccountRegistrationProof
2235
+ ]>;
2236
+ /**
2237
+ * Register encryption keys for auditors/mediators.
2238
+ *
2239
+ * # Arguments
2240
+ * * `origin` - The origin of the call.
2241
+ * * `proof` - The auditor/mediator encryption registration proof.
2242
+ *
2243
+ * # Errors
2244
+ * * `BadOrigin` if `origin` isn't signed.
2245
+ * * `EncryptionKeyAlreadyRegistered` if the encryption key is already registered.
2246
+ * * `InvalidProof` if the proof is invalid.
2247
+ **/
2248
+ registerEncryptionKeys: AugmentedSubmittable<(proof: PolymeshDartBpKeysEncryptionKeyRegistrationProof | {
2249
+ keys_?: any;
2250
+ inner?: any;
2251
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2252
+ PolymeshDartBpKeysEncryptionKeyRegistrationProof
2253
+ ]>;
2254
+ /**
2255
+ * Batch register multiple fee accounts.
2256
+ *
2257
+ * This is used to register fee accounts for Confidential private fee payments.
2258
+ *
2259
+ * # Arguments
2260
+ * * `origin` - The origin of the call.
2261
+ * * `proof` - The batched fee account registration proof.
2262
+ *
2263
+ * # Errors
2264
+ * * `BadOrigin` if `origin` isn't signed.
2265
+ * * `FeeAccountAlreadyRegistered` if the fee account or encryption key is already registered.
2266
+ * * `NullifierAlreadyUsed` if the nullifier for the fee account state commitment has already been used.
2267
+ * * `InvalidFeeAssetId` if the fee asset ID is invalid.
2268
+ * * `InvalidProof` if the proof is invalid.
2269
+ * * `InsufficientBalance` if the caller has insufficient balance to pay the deposit.
2270
+ **/
2271
+ registerFeeAccounts: AugmentedSubmittable<(proof: PolymeshDartBpFeeBatchedFeeAccountRegistrationProof | {
2272
+ proofs?: any;
2273
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2274
+ PolymeshDartBpFeeBatchedFeeAccountRegistrationProof
2275
+ ]>;
2276
+ /**
2277
+ * Relayer submit a batch of proofs paid using a private fee payment.
2278
+ *
2279
+ * Users can use a Relayer service to submit their Confidential proofs for privacy (i.e., the origin is not the user).
2280
+ * The Relayer is paid/reimbursed using a private fee payment from the user's Confidential fee account.
2281
+ *
2282
+ * Relayers can charge a commission fee on top of the transaction fee (i.e. `commission fee + transaction fee = fee amount`).
2283
+ *
2284
+ * Relayers should verify that the fee payment proof is valid before submitting the batched Confidential proofs. They are not required
2285
+ * to verify the batched Confidential proofs. If the user's Confidential proofs are invalid, the user is still responsible for paying the fee to the relayer.
2286
+ *
2287
+ * # Arguments
2288
+ * * `origin` - The origin of the call. This is the relayer.
2289
+ * * `proof` - The fee payment proof and batched Confidential proofs.
2290
+ *
2291
+ * # Errors
2292
+ * * `BadOrigin` if `origin` isn't signed.
2293
+ * * `InvalidFeePaymentProof` if the fee payment proof is invalid.
2294
+ * * `InsufficientFeePayment` if the fee payment is insufficient to cover the relayer fee.
2295
+ **/
2296
+ relayerSubmitBatchedProofs: AugmentedSubmittable<(proof: PolymeshDartBpFeeFeePaymentWithBatchedProofs | {
2297
+ feePayment?: any;
2298
+ batchedProofs?: any;
2299
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2300
+ PolymeshDartBpFeeFeePaymentWithBatchedProofs
2301
+ ]>;
2302
+ /**
2303
+ * Sender affirms a settlement leg.
2304
+ *
2305
+ * # Arguments
2306
+ * * `origin` - The origin of the call.
2307
+ * * `proof` - The sender affirmation proof.
2308
+ *
2309
+ * # Errors
2310
+ * * `BadOrigin` if `origin` isn't signed.
2311
+ * * `SettlementNotPending` if the settlement is not pending.
2312
+ * * `SettlementNotFound` if the settlement is not found.
2313
+ * * `LegNotFound` if the leg is not found in the settlement.
2314
+ * * `AlreadyAffirmed` if the leg has already been affirmed by the sender.
2315
+ **/
2316
+ senderAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsSenderAffirmationProof | {
2317
+ legRef?: any;
2318
+ rootBlock?: any;
2319
+ updatedAccountStateCommitment?: any;
2320
+ nullifier?: any;
2321
+ inner?: any;
2322
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2323
+ PolymeshDartBpAffirmationProofsSenderAffirmationProof
2324
+ ]>;
2325
+ /**
2326
+ * Sender reverts their affirmation.
2327
+ *
2328
+ * # Arguments
2329
+ * * `origin` - The origin of the call.
2330
+ * * `proof` - The sender revert affirmation proof.
2331
+ *
2332
+ * # Errors
2333
+ * * `BadOrigin` if `origin` isn't signed.
2334
+ * * `SettlementAlreadyExecuted` if the settlement has already been executed.
2335
+ * * `SettlementNotFound` if the settlement is not found.
2336
+ * * `LegNotFound` if the leg is not found in the settlement.
2337
+ **/
2338
+ senderRevertAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsSenderRevertAffirmationProof | {
2339
+ legRef?: any;
2340
+ rootBlock?: any;
2341
+ updatedAccountStateCommitment?: any;
2342
+ nullifier?: any;
2343
+ inner?: any;
2344
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2345
+ PolymeshDartBpAffirmationProofsSenderRevertAffirmationProof
2346
+ ]>;
2347
+ /**
2348
+ * Sender updates their counter after a settlement has been executed.
2349
+ *
2350
+ * # Arguments
2351
+ * * `origin` - The origin of the call.
2352
+ * * `proof` - The sender update proof.
2353
+ *
2354
+ * # Errors
2355
+ * * `BadOrigin` if `origin` isn't signed.
2356
+ * * `SettlementNotExecuted` if the settlement has not been executed.
2357
+ * * `SettlementNotFound` if the settlement is not found.
2358
+ * * `LegNotFound` if the leg is not found in the settlement.
2359
+ **/
2360
+ senderUpdateCounter: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsSenderCounterUpdateProof | {
2361
+ legRef?: any;
2362
+ rootBlock?: any;
2363
+ updatedAccountStateCommitment?: any;
2364
+ nullifier?: any;
2365
+ inner?: any;
2366
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2367
+ PolymeshDartBpAffirmationProofsSenderCounterUpdateProof
2368
+ ]>;
2369
+ /**
2370
+ * Submit a batch of proofs.
2371
+ *
2372
+ * # Arguments
2373
+ * * `origin` - The origin of the call.
2374
+ * * `proof` - The batched proofs.
2375
+ *
2376
+ * # Errors
2377
+ * * `BadOrigin` if `origin` isn't signed.
2378
+ * * `InvalidProof` if any of the proofs are invalid.
2379
+ **/
2380
+ submitBatchedProofs: AugmentedSubmittable<(proof: PolymeshDartBpBatchedBatchedProofs | {
2381
+ proofs?: any;
2382
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2383
+ PolymeshDartBpBatchedBatchedProofs
2384
+ ]>;
2385
+ /**
2386
+ * Toup a batch of fee accounts.
2387
+ *
2388
+ * # Arguments
2389
+ * * `origin` - The origin of the call.
2390
+ * * `proof` - The batched fee account topup proof.
2391
+ *
2392
+ * # Errors
2393
+ * * `BadOrigin` if `origin` isn't signed.
2394
+ * * `FeeAccountMissing` if the fee account is not registered.
2395
+ * * `InvalidFeeAssetId` if the fee asset ID is invalid.
2396
+ * * `InvalidProof` if the proof is invalid.
2397
+ * * `InsufficientBalance` if the caller has insufficient balance to pay the deposit.
2398
+ **/
2399
+ topupFeeAccounts: AugmentedSubmittable<(proof: PolymeshDartBpFeeBatchedFeeAccountTopupProof | {
2400
+ rootBlock?: any;
2401
+ proofs?: any;
2402
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2403
+ PolymeshDartBpFeeBatchedFeeAccountTopupProof
2404
+ ]>;
2405
+ };
2406
+ contracts: {
2407
+ /**
2408
+ * Makes a call to an account, optionally transferring some balance.
2409
+ *
2410
+ * # Parameters
1804
2411
  *
1805
2412
  * * `dest`: Address of the contract to call.
1806
2413
  * * `value`: The balance to transfer from the `origin` to `dest`.
@@ -2427,6 +3034,103 @@ declare module '@polkadot/api-base/types/submittable' {
2427
3034
  Vec<PalletCorporateActionsBallotBallotVote>
2428
3035
  ]>;
2429
3036
  };
3037
+ didRegistrars: {
3038
+ /**
3039
+ * Allows the calling member to *unilaterally quit* without this being subject to a GC
3040
+ * vote.
3041
+ *
3042
+ * # Arguments
3043
+ * * `origin` - Member of committee who wants to quit.
3044
+ *
3045
+ * # Error
3046
+ *
3047
+ * * Only primary key can abdicate.
3048
+ * * Last member of a group cannot abdicate.
3049
+ **/
3050
+ abdicateMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3051
+ /**
3052
+ * Adds a member `who` to the group. May only be called from `AddOrigin` or root.
3053
+ *
3054
+ * # Arguments
3055
+ * * `origin` - Origin representing `AddOrigin` or root
3056
+ * * `who` - IdentityId to be added to the group.
3057
+ **/
3058
+ addMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3059
+ PolymeshPrimitivesIdentityId
3060
+ ]>;
3061
+ /**
3062
+ * Disables a member at specific moment.
3063
+ *
3064
+ * Please note that if member is already revoked (a "valid member"), its revocation
3065
+ * time-stamp will be updated.
3066
+ *
3067
+ * Any disabled member should NOT allow to act like an active member of the group. For
3068
+ * instance, a disabled CDD member should NOT be able to generate a CDD claim. However any
3069
+ * generated claim issued before `at` would be considered as a valid one.
3070
+ *
3071
+ * If you want to invalidate any generated claim, you should use `Self::remove_member`.
3072
+ *
3073
+ * # Arguments
3074
+ * * `at` - Revocation time-stamp.
3075
+ * * `who` - Target member of the group.
3076
+ * * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
3077
+ * generated claims will be "invalid" as `who` is not considered a member of the group.
3078
+ **/
3079
+ disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3080
+ PolymeshPrimitivesIdentityId,
3081
+ Option<u64>,
3082
+ Option<u64>
3083
+ ]>;
3084
+ /**
3085
+ * Removes a member `who` from the set. May only be called from `RemoveOrigin` or root.
3086
+ *
3087
+ * Any claim previously generated by this member is not valid as a group claim. For
3088
+ * instance, if a CDD member group generated a claim for a target identity and then it is
3089
+ * removed, that claim will be invalid. In case you want to keep the validity of generated
3090
+ * claims, you have to use `Self::disable_member` function
3091
+ *
3092
+ * # Arguments
3093
+ * * `origin` - Origin representing `RemoveOrigin` or root
3094
+ * * `who` - IdentityId to be removed from the group.
3095
+ **/
3096
+ removeMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3097
+ PolymeshPrimitivesIdentityId
3098
+ ]>;
3099
+ /**
3100
+ * Changes the membership to a new set, disregarding the existing membership.
3101
+ * May only be called from `ResetOrigin` or root.
3102
+ *
3103
+ * # Arguments
3104
+ * * `origin` - Origin representing `ResetOrigin` or root
3105
+ * * `members` - New set of identities
3106
+ **/
3107
+ resetMembers: AugmentedSubmittable<(members: Vec<PolymeshPrimitivesIdentityId> | (PolymeshPrimitivesIdentityId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
3108
+ Vec<PolymeshPrimitivesIdentityId>
3109
+ ]>;
3110
+ /**
3111
+ * Change this group's limit for how many concurrent active members they may be.
3112
+ *
3113
+ * # Arguments
3114
+ * * `limit` - the number of active members there may be concurrently.
3115
+ **/
3116
+ setActiveMembersLimit: AugmentedSubmittable<(limit: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3117
+ u32
3118
+ ]>;
3119
+ /**
3120
+ * Swaps out one member `remove` for another member `add`.
3121
+ *
3122
+ * May only be called from `SwapOrigin` or root.
3123
+ *
3124
+ * # Arguments
3125
+ * * `origin` - Origin representing `SwapOrigin` or root
3126
+ * * `remove` - IdentityId to be removed from the group.
3127
+ * * `add` - IdentityId to be added in place of `remove`.
3128
+ **/
3129
+ swapMember: AugmentedSubmittable<(remove: PolymeshPrimitivesIdentityId | string | Uint8Array, add: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3130
+ PolymeshPrimitivesIdentityId,
3131
+ PolymeshPrimitivesIdentityId
3132
+ ]>;
3133
+ };
2430
3134
  electionProviderMultiPhase: {
2431
3135
  /**
2432
3136
  * Trigger the governance fallback.
@@ -2773,12 +3477,10 @@ declare module '@polkadot/api-base/types/submittable' {
2773
3477
  * instead of leaving it as a secondary key.
2774
3478
  *
2775
3479
  * # Arguments
2776
- * * `owner_auth_id` Authorization from the owner who initiated the change
2777
- * * `cdd_auth_id` Authorization from a CDD service provider
3480
+ * * `rotation_auth_id` Authorization from the owner who initiated the change
2778
3481
  **/
2779
- acceptPrimaryKey: AugmentedSubmittable<(rotationAuthId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2780
- u64,
2781
- Option<u64>
3482
+ acceptPrimaryKey: AugmentedSubmittable<(rotationAuthId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3483
+ u64
2782
3484
  ]>;
2783
3485
  /**
2784
3486
  * Adds an authorization.
@@ -2804,7 +3506,7 @@ declare module '@polkadot/api-base/types/submittable' {
2804
3506
  } | {
2805
3507
  BecomeAgent: any;
2806
3508
  } | {
2807
- AddRelayerPayingKey: any;
3509
+ OldAddRelayerPayingKey: any;
2808
3510
  } | {
2809
3511
  RotatePrimaryKeyToSecondary: any;
2810
3512
  } | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
@@ -2847,32 +3549,34 @@ declare module '@polkadot/api-base/types/submittable' {
2847
3549
  *
2848
3550
  * Keys are directly added to identity because each of them has an authorization.
2849
3551
  *
2850
- * # Arguments:
2851
- * - `origin` which must be the primary key of the identity `id`.
2852
- * - `id` to which new secondary keys will be added.
2853
- * - `additional_keys` which includes secondary keys,
3552
+ * # Arguments
3553
+ * * `origin` which must be the primary key of the identity `id`.
3554
+ * * `additional_keys` which includes secondary keys,
2854
3555
  * coupled with authorization data, to add to target identity.
3556
+ * * `expires_at` expiration time for the authorizations.
2855
3557
  *
2856
3558
  * # Errors
2857
- * - Can only called by primary key owner.
2858
- * - Keys should be able to linked to any identity.
3559
+ * * Can only called by primary key owner.
3560
+ * * Keys should be able to linked to any identity.
2859
3561
  **/
2860
- addSecondaryKeysWithAuthorization: AugmentedSubmittable<(additionalKeys: Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth> | (PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth | {
3562
+ addSecondaryKeysWithAuthorization: AugmentedSubmittable<(additionalKeys: Vec<PolymeshPrimitivesIdentitySecondaryKeyWithAuth> | (PolymeshPrimitivesIdentitySecondaryKeyWithAuth | {
2861
3563
  secondaryKey?: any;
2862
3564
  authSignature?: any;
2863
3565
  } | string | Uint8Array)[], expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2864
- Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth>,
3566
+ Vec<PolymeshPrimitivesIdentitySecondaryKeyWithAuth>,
2865
3567
  u64
2866
3568
  ]>;
2867
3569
  /**
2868
3570
  * Register `target_account` with a new Identity.
2869
3571
  *
2870
3572
  * # Failure
2871
- * - `origin` has to be a active CDD provider. Inactive CDD providers cannot add new
2872
- * claims.
3573
+ * - `origin` has to be an active DID registrar. Inactive DID registrars cannot register new
3574
+ * identities.
2873
3575
  * - `target_account` (primary key of the new Identity) can be linked to just one and only
2874
3576
  * one identity.
2875
3577
  * - External secondary keys can be linked to just one identity.
3578
+ *
3579
+ * @deprecated Use `register_did` instead. CDD claims are no longer enforced. Since 8.0.0.
2876
3580
  **/
2877
3581
  cddRegisterDid: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
2878
3582
  key?: any;
@@ -2885,11 +3589,13 @@ declare module '@polkadot/api-base/types/submittable' {
2885
3589
  * Register `target_account` with a new Identity and issue a CDD claim with a blank CddId
2886
3590
  *
2887
3591
  * # Failure
2888
- * - `origin` has to be a active CDD provider. Inactive CDD providers cannot add new
2889
- * claims.
3592
+ * - `origin` has to be an active DID registrar. Inactive DID registrars cannot register new
3593
+ * identities.
2890
3594
  * - `target_account` (primary key of the new Identity) can be linked to just one and only
2891
3595
  * one identity.
2892
3596
  * - External secondary keys can be linked to just one identity.
3597
+ *
3598
+ * @deprecated Use `register_did` instead. CDD claims are no longer enforced. Since 8.0.0.
2893
3599
  **/
2894
3600
  cddRegisterDidWithCdd: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
2895
3601
  key?: any;
@@ -2899,57 +3605,6 @@ declare module '@polkadot/api-base/types/submittable' {
2899
3605
  Vec<PolymeshPrimitivesSecondaryKey>,
2900
3606
  Option<u64>
2901
3607
  ]>;
2902
- /**
2903
- * Set if CDD authorization is required for updating primary key of an identity.
2904
- * Callable via root (governance)
2905
- *
2906
- * # Arguments
2907
- * * `auth_required` CDD Authorization required or not
2908
- **/
2909
- changeCddRequirementForMkRotation: AugmentedSubmittable<(authRequired: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2910
- bool
2911
- ]>;
2912
- /**
2913
- * Create a child identities.
2914
- *
2915
- * The new primary key for each child identity will need to sign (off-chain)
2916
- * an authorization.
2917
- *
2918
- * Only the primary key can create child identities.
2919
- *
2920
- * # Arguments
2921
- * - `child_keys` the keys that will become primary keys of their own child identity.
2922
- *
2923
- * # Errors
2924
- * - `KeyNotAllowed` only the primary key can create a new identity.
2925
- * - `AlreadyLinked` one of the keys is already linked to an identity.
2926
- * - `DuplicateKey` one of the keys is included multiple times.
2927
- * - `IsChildIdentity` the caller's identity is already a child identity and can't create child identities.
2928
- **/
2929
- createChildIdentities: AugmentedSubmittable<(childKeys: Vec<PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth> | (PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth | {
2930
- key?: any;
2931
- authSignature?: any;
2932
- } | string | Uint8Array)[], expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2933
- Vec<PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth>,
2934
- u64
2935
- ]>;
2936
- /**
2937
- * Create a child identity and make the `secondary_key` it's primary key.
2938
- *
2939
- * Only the primary key can create child identities.
2940
- *
2941
- * # Arguments
2942
- * - `secondary_key` the secondary key that will become the primary key of the new identity.
2943
- *
2944
- * # Errors
2945
- * - `KeyNotAllowed` only the primary key can create a new identity.
2946
- * - `NotASigner` the `secondary_key` is not a secondary key of the caller's identity.
2947
- * - `AccountKeyIsBeingUsed` the `secondary_key` can't be unlinked from it's current identity.
2948
- * - `IsChildIdentity` the caller's identity is already a child identity and can't create child identities.
2949
- **/
2950
- createChildIdentity: AugmentedSubmittable<(secondaryKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2951
- AccountId32
2952
- ]>;
2953
3608
  /**
2954
3609
  * It disables all secondary keys at `did` identity.
2955
3610
  *
@@ -2969,17 +3624,6 @@ declare module '@polkadot/api-base/types/submittable' {
2969
3624
  gcRevokeCddClaim: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
2970
3625
  PolymeshPrimitivesIdentityId
2971
3626
  ]>;
2972
- /**
2973
- * Invalidates any claim generated by `cdd` from `disable_from` timestamps.
2974
- *
2975
- * You can also define an expiration time,
2976
- * which will invalidate all claims generated by that `cdd` and remove it as CDD member group.
2977
- **/
2978
- invalidateCddClaims: AugmentedSubmittable<(cdd: PolymeshPrimitivesIdentityId | string | Uint8Array, disableFrom: u64 | AnyNumber | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
2979
- PolymeshPrimitivesIdentityId,
2980
- u64,
2981
- Option<u64>
2982
- ]>;
2983
3627
  /**
2984
3628
  * Join an identity as a secondary key.
2985
3629
  **/
@@ -3001,6 +3645,24 @@ declare module '@polkadot/api-base/types/submittable' {
3001
3645
  registerCustomClaimType: AugmentedSubmittable<(ty: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3002
3646
  Bytes
3003
3647
  ]>;
3648
+ /**
3649
+ * Register a new DID for the target account.
3650
+ *
3651
+ * Caller must be a DID registrar (formerly CDD provider).
3652
+ * No CDD claim is added - DID existence is sufficient for onboarding.
3653
+ *
3654
+ * Note: This extrinsic does NOT support secondary keys.
3655
+ * Use the deprecated `cdd_register_did` if secondary keys are needed.
3656
+ *
3657
+ * # Failure
3658
+ * - `origin` has to be an active DID registrar. Inactive DID registrars cannot register new
3659
+ * identities.
3660
+ * - `target_account` (primary key of the new Identity) can be linked to just one and only
3661
+ * one identity.
3662
+ **/
3663
+ registerDid: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3664
+ AccountId32
3665
+ ]>;
3004
3666
  /**
3005
3667
  * Removes an authorization.
3006
3668
  * `_auth_issuer_pays` determines whether the issuer of the authorisation pays the transaction fee
@@ -3101,13 +3763,23 @@ declare module '@polkadot/api-base/types/submittable' {
3101
3763
  * instead of unlinking the old primary key.
3102
3764
  *
3103
3765
  * # Arguments
3104
- * * `owner_auth_id` Authorization from the owner who initiated the change
3105
- * * `cdd_auth_id` Authorization from a CDD service provider
3766
+ * * `auth_id` Authorization from the owner who initiated the change
3106
3767
  **/
3107
- rotatePrimaryKeyToSecondary: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3108
- u64,
3109
- Option<u64>
3768
+ rotatePrimaryKeyToSecondary: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3769
+ u64
3110
3770
  ]>;
3771
+ /**
3772
+ * Register for a new DID for the caller's account.
3773
+ *
3774
+ * This is callable by any account that is not already linked to an identity, and will create a new DID with the caller as the primary key.
3775
+ * This allows users to self onboard without needing to go through a DID registrar (formerly CDD provider).
3776
+ *
3777
+ * No CDD claim is added - DID existence is sufficient for onboarding.
3778
+ *
3779
+ * # Errors
3780
+ * - Caller must not already have an identity.
3781
+ **/
3782
+ selfRegisterDid: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3111
3783
  /**
3112
3784
  * Sets permissions for an specific `target_key` key.
3113
3785
  *
@@ -3125,22 +3797,6 @@ declare module '@polkadot/api-base/types/submittable' {
3125
3797
  * Re-enables all secondary keys of the caller's identity.
3126
3798
  **/
3127
3799
  unfreezeSecondaryKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3128
- /**
3129
- * Unlink a child identity from it's parent identity.
3130
- *
3131
- * Only the primary key of the parent or child identities can unlink the identities.
3132
- *
3133
- * # Arguments
3134
- * - `child_did` the child identity to unlink from its parent identity.
3135
- *
3136
- * # Errors
3137
- * - `KeyNotAllowed` only the primary key of either the parent or child identity can unlink the identities.
3138
- * - `NoParentIdentity` the identity `child_did` doesn't have a parent identity.
3139
- * - `NotParentOrChildIdentity` the caller's identity isn't the parent or child identity.
3140
- **/
3141
- unlinkChildIdentity: AugmentedSubmittable<(childDid: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3142
- PolymeshPrimitivesIdentityId
3143
- ]>;
3144
3800
  };
3145
3801
  imOnline: {
3146
3802
  /**
@@ -3284,6 +3940,56 @@ declare module '@polkadot/api-base/types/submittable' {
3284
3940
  u32
3285
3941
  ]>;
3286
3942
  };
3943
+ multiBlockMigrations: {
3944
+ /**
3945
+ * Clears the `Historic` set.
3946
+ *
3947
+ * `map_cursor` must be set to the last value that was returned by the
3948
+ * `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
3949
+ * way that will result in a sensible weight.
3950
+ **/
3951
+ clearHistoric: AugmentedSubmittable<(selector: PalletMigrationsHistoricCleanupSelector | {
3952
+ Specific: any;
3953
+ } | {
3954
+ Wildcard: any;
3955
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3956
+ PalletMigrationsHistoricCleanupSelector
3957
+ ]>;
3958
+ /**
3959
+ * Forces the onboarding of the migrations.
3960
+ *
3961
+ * This process happens automatically on a runtime upgrade. It is in place as an emergency
3962
+ * measurement. The cursor needs to be `None` for this to succeed.
3963
+ **/
3964
+ forceOnboardMbms: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3965
+ /**
3966
+ * Allows root to set an active cursor to forcefully start/forward the migration process.
3967
+ *
3968
+ * This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
3969
+ * `started_at` value to the next block number. Otherwise this would not be possible, since
3970
+ * `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
3971
+ * indicates that the current block number plus one should be used.
3972
+ **/
3973
+ forceSetActiveCursor: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, innerCursor: Option<Bytes> | null | Uint8Array | Bytes | string, startedAt: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3974
+ u32,
3975
+ Option<Bytes>,
3976
+ Option<u32>
3977
+ ]>;
3978
+ /**
3979
+ * Allows root to set a cursor to forcefully start, stop or forward the migration process.
3980
+ *
3981
+ * Should normally not be needed and is only in place as emergency measure. Note that
3982
+ * restarting the migration process in this manner will not call the
3983
+ * [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
3984
+ **/
3985
+ forceSetCursor: AugmentedSubmittable<(cursor: Option<PalletMigrationsMigrationCursor> | null | Uint8Array | PalletMigrationsMigrationCursor | {
3986
+ Active: any;
3987
+ } | {
3988
+ Stuck: any;
3989
+ } | string) => SubmittableExtrinsic<ApiType>, [
3990
+ Option<PalletMigrationsMigrationCursor>
3991
+ ]>;
3992
+ };
3287
3993
  multiSig: {
3288
3994
  /**
3289
3995
  * Accepts a multisig signer authorization given to signer's key (AccountId).
@@ -3474,8 +4180,8 @@ declare module '@polkadot/api-base/types/submittable' {
3474
4180
  * # Arguments
3475
4181
  * * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
3476
4182
  * * `nft_id` - the [`NFTId`] of the NFT to be transferred.
3477
- * * `source_portfolio` - the [`PortfolioId`] that currently holds the NFT.
3478
- * * `callers_portfolio_kind` - the [`PortfolioKind`] of the caller's portfolio.
4183
+ * * `source` - the [`AssetHolder`] that currently holds the NFT.
4184
+ * * `destination_kind` - the [`AssetHolderKind`] of the caller's portfolio.
3479
4185
  *
3480
4186
  * # Permissions
3481
4187
  * * Asset
@@ -3484,17 +4190,20 @@ declare module '@polkadot/api-base/types/submittable' {
3484
4190
  controllerTransfer: AugmentedSubmittable<(nfts: PolymeshPrimitivesNftNfTs | {
3485
4191
  assetId?: any;
3486
4192
  ids?: any;
3487
- } | string | Uint8Array, sourcePortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
3488
- did?: any;
3489
- kind?: any;
3490
- } | string | Uint8Array, callersPortfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
3491
- Default: any;
4193
+ } | string | Uint8Array, source: PolymeshPrimitivesAssetAssetHolder | {
4194
+ Portfolio: any;
3492
4195
  } | {
3493
- User: any;
4196
+ Account: any;
4197
+ } | string | Uint8Array, destinationKind: PolymeshPrimitivesAssetAssetHolderKind | {
4198
+ Account: any;
4199
+ } | {
4200
+ DefaultPortfolio: any;
4201
+ } | {
4202
+ UserPortfolio: any;
3494
4203
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3495
4204
  PolymeshPrimitivesNftNfTs,
3496
- PolymeshPrimitivesIdentityIdPortfolioId,
3497
- PolymeshPrimitivesIdentityIdPortfolioKind
4205
+ PolymeshPrimitivesAssetAssetHolder,
4206
+ PolymeshPrimitivesAssetAssetHolderKind
3498
4207
  ]>;
3499
4208
  /**
3500
4209
  * Cretes a new `NFTCollection`.
@@ -3535,7 +4244,7 @@ declare module '@polkadot/api-base/types/submittable' {
3535
4244
  * * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
3536
4245
  * * `asset_id` - the [`AssetId`] of the NFT collection.
3537
4246
  * * `nft_metadata_attributes` - all mandatory metadata keys and values for the NFT.
3538
- * - `portfolio_kind` - the portfolio that will receive the minted nft.
4247
+ * - `holdings_kind` - the [`AssetHolderKind`] that will receive the minted nft.
3539
4248
  *
3540
4249
  * ## Errors
3541
4250
  * - `CollectionNotFound` - if the collection associated to the given asset_id has not been created.
@@ -3550,14 +4259,16 @@ declare module '@polkadot/api-base/types/submittable' {
3550
4259
  issueNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, nftMetadataAttributes: Vec<PolymeshPrimitivesNftNftMetadataAttribute> | (PolymeshPrimitivesNftNftMetadataAttribute | {
3551
4260
  key?: any;
3552
4261
  value?: any;
3553
- } | string | Uint8Array)[], portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
3554
- Default: any;
4262
+ } | string | Uint8Array)[], holdingsKind: PolymeshPrimitivesAssetAssetHolderKind | {
4263
+ Account: any;
3555
4264
  } | {
3556
- User: any;
4265
+ DefaultPortfolio: any;
4266
+ } | {
4267
+ UserPortfolio: any;
3557
4268
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
3558
4269
  PolymeshPrimitivesAssetAssetId,
3559
4270
  Vec<PolymeshPrimitivesNftNftMetadataAttribute>,
3560
- PolymeshPrimitivesIdentityIdPortfolioKind
4271
+ PolymeshPrimitivesAssetAssetHolderKind
3561
4272
  ]>;
3562
4273
  /**
3563
4274
  * Redeems the given NFT from the caller's portfolio.
@@ -3566,7 +4277,7 @@ declare module '@polkadot/api-base/types/submittable' {
3566
4277
  * * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
3567
4278
  * * `asset_id` - the [`AssetId`] of the NFT collection.
3568
4279
  * * `nft_id` - the id of the NFT to be burned.
3569
- * * `portfolio_kind` - the portfolio that contains the nft.
4280
+ * * `holdings_kind` - the [`AssetHolderKind`] that contains the nft.
3570
4281
  *
3571
4282
  * ## Errors
3572
4283
  * - `CollectionNotFound` - if the collection associated to the given asset_id has not been created.
@@ -3576,16 +4287,40 @@ declare module '@polkadot/api-base/types/submittable' {
3576
4287
  * * Asset
3577
4288
  * * Portfolio
3578
4289
  **/
3579
- redeemNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, nftId: u64 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
3580
- Default: any;
4290
+ redeemNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, nftId: u64 | AnyNumber | Uint8Array, holdingsKind: PolymeshPrimitivesAssetAssetHolderKind | {
4291
+ Account: any;
4292
+ } | {
4293
+ DefaultPortfolio: any;
3581
4294
  } | {
3582
- User: any;
4295
+ UserPortfolio: any;
3583
4296
  } | string | Uint8Array, numberOfKeys: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
3584
4297
  PolymeshPrimitivesAssetAssetId,
3585
4298
  u64,
3586
- PolymeshPrimitivesIdentityIdPortfolioKind,
4299
+ PolymeshPrimitivesAssetAssetHolderKind,
3587
4300
  Option<u8>
3588
4301
  ]>;
4302
+ /**
4303
+ * Transfer NFTs from the caller's account to another account.
4304
+ *
4305
+ * Same-identity transfers move NFTs directly. Cross-identity transfers
4306
+ * route through the settlement engine.
4307
+ *
4308
+ * For portfolio-based transfers, use `Settlement::transfer_funds`.
4309
+ *
4310
+ * # Arguments
4311
+ * * `origin` — Signed origin. Caller must have a registered DID.
4312
+ * * `nfts` — The NFTs to transfer.
4313
+ * * `to` — Destination account.
4314
+ * * `memo` — Optional memo attached to the transfer.
4315
+ **/
4316
+ transferNft: AugmentedSubmittable<(nfts: PolymeshPrimitivesNftNfTs | {
4317
+ assetId?: any;
4318
+ ids?: any;
4319
+ } | string | Uint8Array, to: AccountId32 | string | Uint8Array, memo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
4320
+ PolymeshPrimitivesNftNfTs,
4321
+ AccountId32,
4322
+ Option<PolymeshPrimitivesMemo>
4323
+ ]>;
3589
4324
  };
3590
4325
  pips: {
3591
4326
  /**
@@ -3890,6 +4625,7 @@ declare module '@polkadot/api-base/types/submittable' {
3890
4625
  *
3891
4626
  * # Arguments
3892
4627
  * * `origin` - The origin of the call, which must be a GC member.
4628
+ * * `limit` - Weight witness for the expected queue length (typically the active PIP limit). The actual weight is refunded based on the real queue size.
3893
4629
  *
3894
4630
  * # Events
3895
4631
  * * `SnapshotTaken` - Emitted when a snapshot is successfully taken, containing the ID of the snapshot and the queue of PIPs.
@@ -3897,7 +4633,9 @@ declare module '@polkadot/api-base/types/submittable' {
3897
4633
  * # Errors
3898
4634
  * * `NotACommitteeMember` - If the call is not made by a GC member.
3899
4635
  **/
3900
- snapshot: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4636
+ snapshot: AugmentedSubmittable<(limit: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4637
+ u32
4638
+ ]>;
3901
4639
  /**
3902
4640
  * Casts a vote either in favor or against a PIP with `id`.
3903
4641
  * The "conviction" or strength of the vote is given by `deposit`, which is reserved.
@@ -4009,31 +4747,6 @@ declare module '@polkadot/api-base/types/submittable' {
4009
4747
  ]>;
4010
4748
  };
4011
4749
  polymeshContracts: {
4012
- /**
4013
- * Instantiates a smart contract defining it with the given `code` and `salt`.
4014
- *
4015
- * The contract will be attached as a primary key of a newly created child identity of the caller.
4016
- *
4017
- * # Arguments
4018
- * - `endowment`: Amount of POLYX to transfer to the contract.
4019
- * - `gas_limit`: For how much gas the `deploy` code in the contract may at most consume.
4020
- * - `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved from the caller to pay for the storage consumed.
4021
- * - `code`: The WASM binary defining the smart contract.
4022
- * - `data`: The input data to pass to the contract constructor.
4023
- * - `salt`: Used for contract address derivation. By varying this, the same `code` can be used under the same identity.
4024
- *
4025
- **/
4026
- instantiateWithCodeAsPrimaryKey: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
4027
- refTime?: any;
4028
- proofSize?: any;
4029
- } | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4030
- u128,
4031
- SpWeightsWeightV2Weight,
4032
- Option<u128>,
4033
- Bytes,
4034
- Bytes,
4035
- Bytes
4036
- ]>;
4037
4750
  /**
4038
4751
  * Instantiates a smart contract defining it with the given `code` and `salt`.
4039
4752
  *
@@ -4076,33 +4789,6 @@ declare module '@polkadot/api-base/types/submittable' {
4076
4789
  Bytes,
4077
4790
  PolymeshPrimitivesSecondaryKeyPermissions
4078
4791
  ]>;
4079
- /**
4080
- * Instantiates a smart contract defining using the given `code_hash` and `salt`.
4081
- *
4082
- * Unlike `instantiate_with_code`, this assumes that at least one contract with the same WASM code has already been uploaded.
4083
- *
4084
- * The contract will be attached as a primary key of a newly created child identity of the caller.
4085
- *
4086
- * # Arguments
4087
- * - `endowment`: amount of POLYX to transfer to the contract.
4088
- * - `gas_limit`: for how much gas the `deploy` code in the contract may at most consume.
4089
- * - `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved from the caller to pay for the storage consumed.
4090
- * - `code_hash`: of an already uploaded WASM binary.
4091
- * - `data`: The input data to pass to the contract constructor.
4092
- * - `salt`: used for contract address derivation. By varying this, the same `code` can be used under the same identity.
4093
- *
4094
- **/
4095
- instantiateWithHashAsPrimaryKey: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
4096
- refTime?: any;
4097
- proofSize?: any;
4098
- } | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4099
- u128,
4100
- SpWeightsWeightV2Weight,
4101
- Option<u128>,
4102
- H256,
4103
- Bytes,
4104
- Bytes
4105
- ]>;
4106
4792
  /**
4107
4793
  * Instantiates a smart contract defining using the given `code_hash` and `salt`.
4108
4794
  *
@@ -4169,6 +4855,11 @@ declare module '@polkadot/api-base/types/submittable' {
4169
4855
  PolymeshContractsNextUpgrade
4170
4856
  ]>;
4171
4857
  };
4858
+ polymeshTransactionPayment: {
4859
+ setDisableFees: AugmentedSubmittable<(value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4860
+ bool
4861
+ ]>;
4862
+ };
4172
4863
  portfolio: {
4173
4864
  acceptPortfolioCustody: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4174
4865
  u64
@@ -4205,13 +4896,13 @@ declare module '@polkadot/api-base/types/submittable' {
4205
4896
  * Deletes a user portfolio. A portfolio can be deleted only if it has no funds.
4206
4897
  *
4207
4898
  * # Errors
4208
- * * `PortfolioDoesNotExist` if `num` doesn't reference a valid portfolio.
4899
+ * * `PortfolioDoesNotExist` if `portfolio_number` doesn't reference a valid portfolio.
4209
4900
  * * `PortfolioNotEmpty` if the portfolio still holds any asset
4210
4901
  *
4211
4902
  * # Permissions
4212
4903
  * * Portfolio
4213
4904
  **/
4214
- deletePortfolio: AugmentedSubmittable<(num: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4905
+ deletePortfolio: AugmentedSubmittable<(portfolioNumber: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4215
4906
  u64
4216
4907
  ]>;
4217
4908
  /**
@@ -4304,12 +4995,12 @@ declare module '@polkadot/api-base/types/submittable' {
4304
4995
  * Renames a non-default portfolio.
4305
4996
  *
4306
4997
  * # Errors
4307
- * * `PortfolioDoesNotExist` if `num` doesn't reference a valid portfolio.
4998
+ * * `PortfolioDoesNotExist` if `portfolio_number` doesn't reference a valid portfolio.
4308
4999
  *
4309
5000
  * # Permissions
4310
5001
  * * Portfolio
4311
5002
  **/
4312
- renamePortfolio: AugmentedSubmittable<(num: u64 | AnyNumber | Uint8Array, toName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5003
+ renamePortfolio: AugmentedSubmittable<(portfolioNumber: u64 | AnyNumber | Uint8Array, newPortfolioName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4313
5004
  u64,
4314
5005
  Bytes
4315
5006
  ]>;
@@ -4378,8 +5069,8 @@ declare module '@polkadot/api-base/types/submittable' {
4378
5069
  * # Errors
4379
5070
  * * `BadOrigin` - Only root allowed.
4380
5071
  **/
4381
- changeBaseFee: AugmentedSubmittable<(op: PolymeshCommonUtilitiesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityCddRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | 'NFTCreateCollection' | 'NFTMint' | 'IdentityCreateChildIdentity' | number | Uint8Array, baseFee: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4382
- PolymeshCommonUtilitiesProtocolFeeProtocolOp,
5072
+ changeBaseFee: AugmentedSubmittable<(op: PolymeshPrimitivesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | 'NFTCreateCollection' | 'NFTMint' | number | Uint8Array, baseFee: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5073
+ PolymeshPrimitivesProtocolFeeProtocolOp,
4383
5074
  u128
4384
5075
  ]>;
4385
5076
  /**
@@ -4394,109 +5085,390 @@ declare module '@polkadot/api-base/types/submittable' {
4394
5085
  };
4395
5086
  relayer: {
4396
5087
  /**
4397
- * Accepts a `paying_key` authorization.
5088
+ * Accepts a subsidy from a `paying_key`.
5089
+ *
5090
+ * # Arguments
5091
+ * - `paying_key` the paying key that is subsidising the caller's `user_key`.
5092
+ **/
5093
+ acceptSubsidy: AugmentedSubmittable<(payingKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5094
+ AccountId32
5095
+ ]>;
5096
+ /**
5097
+ * Approve a subsidy for a `user_key`.
5098
+ *
5099
+ * # Arguments
5100
+ * - `user_key` the user key to subsidise.
5101
+ * - `polyx_limit` the initial POLYX limit for this subsidy.
5102
+ *
5103
+ **/
5104
+ approveSubsidy: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, polyxLimit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5105
+ AccountId32,
5106
+ u128
5107
+ ]>;
5108
+ /**
5109
+ * Decrease the available POLYX for a `user_key`.
4398
5110
  *
4399
5111
  * # Arguments
4400
- * - `auth_id` the authorization id to accept a `paying_key`.
5112
+ * - `user_key` the user key of the subsidy to update the available POLYX.
5113
+ * - `amount` the amount of POLYX to remove from the subsidy of `user_key`.
4401
5114
  *
4402
5115
  * # Errors
4403
- * - `Error::InvalidAuthorization` if `auth_id` does not exist for the given caller.
4404
- * - `Error::AuthorizationExpired` if `auth_id` the authorization has expired.
4405
- * - `Error::BadAuthorizationType` if `auth_id` was not a `AddRelayerPayingKey` authorization.
4406
- * - `NotAuthorizedForUserKey` if `origin` is not authorized to accept the authorization for the `user_key`.
4407
- * - `NotAuthorizedForPayingKey` if the authorization was created an identity different from the `paying_key`'s identity.
4408
- * - `UserKeyCddMissing` if the `user_key` is not attached to a CDD'd identity.
4409
- * - `PayingKeyCddMissing` if the `paying_key` is not attached to a CDD'd identity.
4410
- * - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
4411
- **/
4412
- acceptPayingKey: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5116
+ * - `NoPayingKey` if the `user_key` doesn't have a `paying_key`.
5117
+ * - `NotPayingKey` if `origin` doesn't match the current `paying_key`.
5118
+ * - `Overlow` if the subsidy has less then `amount` POLYX remaining.
5119
+ **/
5120
+ decreasePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5121
+ AccountId32,
5122
+ u128
5123
+ ]>;
5124
+ /**
5125
+ * Increase the available POLYX for a `user_key`.
5126
+ *
5127
+ * # Arguments
5128
+ * - `user_key` the user key of the subsidy to update the available POLYX.
5129
+ * - `amount` the amount of POLYX to add to the subsidy of `user_key`.
5130
+ *
5131
+ * # Errors
5132
+ * - `NoPayingKey` if the `user_key` doesn't have a `paying_key`.
5133
+ * - `NotPayingKey` if `origin` doesn't match the current `paying_key`.
5134
+ * - `Overlow` if the subsidy's remaining POLYX would have overflowed `u128::MAX`.
5135
+ **/
5136
+ increasePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5137
+ AccountId32,
5138
+ u128
5139
+ ]>;
5140
+ /**
5141
+ * Relay a call for a target from an origin
5142
+ *
5143
+ * Relaying in this context refers to the ability of origin to make a call on behalf of
5144
+ * target.
5145
+ *
5146
+ * Transaction and protocol fees are charged to origin.
5147
+ *
5148
+ * # Parameters
5149
+ * - `target`: Account to be relayed
5150
+ * - `signature`: Signature from target authorizing the relay
5151
+ * - `call`: Call to be relayed on behalf of target
5152
+ **/
5153
+ relayTx: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, signature: SpRuntimeMultiSignature | {
5154
+ Ed25519: any;
5155
+ } | {
5156
+ Sr25519: any;
5157
+ } | {
5158
+ Ecdsa: any;
5159
+ } | {
5160
+ Eth: any;
5161
+ } | string | Uint8Array, call: Call | IMethod | string | Uint8Array, expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5162
+ AccountId32,
5163
+ SpRuntimeMultiSignature,
5164
+ Call,
4413
5165
  u64
4414
5166
  ]>;
4415
5167
  /**
4416
- * Decrease the available POLYX for a `user_key`.
5168
+ * Removes the `paying_key` from a `user_key`.
5169
+ *
5170
+ * This can only be called by either the `user_key` or the `paying_key`.
5171
+ *
5172
+ * # Arguments
5173
+ * - `user_key` the user key to remove the subsidy from.
5174
+ * - `paying_key` the paying key that was subsidising the `user_key`.
5175
+ *
5176
+ * # Errors
5177
+ * - `NoPayingKey` if the `user_key` doesn't have a `paying_key`.
5178
+ * - `NotPayingKey` if the `paying_key` doesn't match the current `paying_key`.
5179
+ **/
5180
+ removeSubsidy: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, payingKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5181
+ AccountId32,
5182
+ AccountId32
5183
+ ]>;
5184
+ /**
5185
+ * Revoke a previously approved subsidy.
5186
+ *
5187
+ * # Arguments
5188
+ * - `user_key` the user key to revoke the subsidy for.
5189
+ **/
5190
+ revokeSubsidy: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5191
+ AccountId32
5192
+ ]>;
5193
+ /**
5194
+ * Updates the available POLYX for a `user_key`.
5195
+ *
5196
+ * # Arguments
5197
+ * - `user_key` the user key of the subsidy to update the available POLYX.
5198
+ * - `polyx_limit` the amount of POLYX available for subsidising the `user_key`.
5199
+ *
5200
+ * # Errors
5201
+ * - `NoPayingKey` if the `user_key` doesn't have a `paying_key`.
5202
+ * - `NotPayingKey` if `origin` doesn't match the current `paying_key`.
5203
+ **/
5204
+ updatePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, polyxLimit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5205
+ AccountId32,
5206
+ u128
5207
+ ]>;
5208
+ };
5209
+ revive: {
5210
+ /**
5211
+ * Makes a call to an account, optionally transferring some balance.
5212
+ *
5213
+ * # Parameters
5214
+ *
5215
+ * * `dest`: Address of the contract to call.
5216
+ * * `value`: The balance to transfer from the `origin` to `dest`.
5217
+ * * `weight_limit`: The weight limit enforced when executing the constructor.
5218
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
5219
+ * caller to pay for the storage consumed.
5220
+ * * `data`: The input data to pass to the contract.
5221
+ *
5222
+ * * If the account is a smart-contract account, the associated code will be
5223
+ * executed and any value will be transferred.
5224
+ * * If the account is a regular account, any value will be transferred.
5225
+ * * If no account exists and the call value is not less than `existential_deposit`,
5226
+ * a regular account will be created and any value will be transferred.
5227
+ **/
5228
+ call: AugmentedSubmittable<(dest: H160 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
5229
+ refTime?: any;
5230
+ proofSize?: any;
5231
+ } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5232
+ H160,
5233
+ Compact<u128>,
5234
+ SpWeightsWeightV2Weight,
5235
+ Compact<u128>,
5236
+ Bytes
5237
+ ]>;
5238
+ /**
5239
+ * Dispatch an `call` with the origin set to the callers fallback address.
5240
+ *
5241
+ * Every `AccountId32` can control its corresponding fallback account. The fallback account
5242
+ * is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
5243
+ * recovery function in case an `AccountId20` was used without creating a mapping first.
5244
+ **/
5245
+ dispatchAsFallbackAccount: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5246
+ Call
5247
+ ]>;
5248
+ /**
5249
+ * Same as [`Self::call`], but intended to be dispatched **only**
5250
+ * by an EVM transaction through the EVM compatibility layer.
5251
+ *
5252
+ * # Parameters
5253
+ *
5254
+ * * `dest`: The Ethereum address of the account to be called
5255
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
5256
+ * * `weight_limit`: The gas limit used to derive the transaction weight for transaction
5257
+ * payment
5258
+ * * `eth_gas_limit`: The Ethereum gas limit governing the resource usage of the execution
5259
+ * * `data`: The input data to pass to the contract constructor.
5260
+ * * `transaction_encoded`: The RLP encoding of the signed Ethereum transaction,
5261
+ * represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This
5262
+ * is used for building the Ethereum transaction root.
5263
+ * * effective_gas_price: the price of a unit of gas
5264
+ * * encoded len: the byte code size of the `eth_transact` extrinsic
5265
+ **/
5266
+ ethCall: AugmentedSubmittable<(dest: H160 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
5267
+ refTime?: any;
5268
+ proofSize?: any;
5269
+ } | string | Uint8Array, ethGasLimit: U256 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array, transactionEncoded: Bytes | string | Uint8Array, effectiveGasPrice: U256 | AnyNumber | Uint8Array, encodedLen: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5270
+ H160,
5271
+ U256,
5272
+ SpWeightsWeightV2Weight,
5273
+ U256,
5274
+ Bytes,
5275
+ Bytes,
5276
+ U256,
5277
+ u32
5278
+ ]>;
5279
+ /**
5280
+ * Same as [`Self::instantiate_with_code`], but intended to be dispatched **only**
5281
+ * by an EVM transaction through the EVM compatibility layer.
5282
+ *
5283
+ * # Parameters
5284
+ *
5285
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
5286
+ * * `weight_limit`: The gas limit used to derive the transaction weight for transaction
5287
+ * payment
5288
+ * * `eth_gas_limit`: The Ethereum gas limit governing the resource usage of the execution
5289
+ * * `code`: The contract code to deploy in raw bytes.
5290
+ * * `data`: The input data to pass to the contract constructor.
5291
+ * * `transaction_encoded`: The RLP encoding of the signed Ethereum transaction,
5292
+ * represented as [crate::evm::TransactionSigned], provided by the Ethereum wallet. This
5293
+ * is used for building the Ethereum transaction root.
5294
+ * * effective_gas_price: the price of a unit of gas
5295
+ * * encoded len: the byte code size of the `eth_transact` extrinsic
5296
+ *
5297
+ * Calling this dispatchable ensures that the origin's nonce is bumped only once,
5298
+ * via the `CheckNonce` transaction extension. In contrast, [`Self::instantiate_with_code`]
5299
+ * also bumps the nonce after contract instantiation, since it may be invoked multiple
5300
+ * times within a batch call transaction.
5301
+ **/
5302
+ ethInstantiateWithCode: AugmentedSubmittable<(value: U256 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
5303
+ refTime?: any;
5304
+ proofSize?: any;
5305
+ } | string | Uint8Array, ethGasLimit: U256 | AnyNumber | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, transactionEncoded: Bytes | string | Uint8Array, effectiveGasPrice: U256 | AnyNumber | Uint8Array, encodedLen: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5306
+ U256,
5307
+ SpWeightsWeightV2Weight,
5308
+ U256,
5309
+ Bytes,
5310
+ Bytes,
5311
+ Bytes,
5312
+ U256,
5313
+ u32
5314
+ ]>;
5315
+ /**
5316
+ * Executes a Substrate runtime call from an Ethereum transaction.
5317
+ *
5318
+ * This dispatchable is intended to be called **only** through the EVM compatibility
5319
+ * layer. The provided call will be dispatched using `RawOrigin::Signed`.
5320
+ *
5321
+ * # Parameters
5322
+ *
5323
+ * * `origin`: Must be an [`Origin::EthTransaction`] origin.
5324
+ * * `call`: The Substrate runtime call to execute.
5325
+ * * `transaction_encoded`: The RLP encoding of the Ethereum transaction,
5326
+ **/
5327
+ ethSubstrateCall: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, transactionEncoded: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5328
+ Call,
5329
+ Bytes
5330
+ ]>;
5331
+ /**
5332
+ * A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
5333
+ *
5334
+ * # Parameters
5335
+ *
5336
+ * * `payload`: The encoded [`crate::evm::TransactionSigned`].
5337
+ *
5338
+ * # Note
5339
+ *
5340
+ * This call cannot be dispatched directly; attempting to do so will result in a failed
5341
+ * transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the
5342
+ * runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
5343
+ * signer and validating the transaction.
5344
+ **/
5345
+ ethTransact: AugmentedSubmittable<(payload: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5346
+ Bytes
5347
+ ]>;
5348
+ /**
5349
+ * Instantiates a contract from a previously deployed vm binary.
5350
+ *
5351
+ * This function is identical to [`Self::instantiate_with_code`] but without the
5352
+ * code deployment step. Instead, the `code_hash` of an on-chain deployed vm binary
5353
+ * must be supplied.
5354
+ **/
5355
+ instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
5356
+ refTime?: any;
5357
+ proofSize?: any;
5358
+ } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => SubmittableExtrinsic<ApiType>, [
5359
+ Compact<u128>,
5360
+ SpWeightsWeightV2Weight,
5361
+ Compact<u128>,
5362
+ H256,
5363
+ Bytes,
5364
+ Option<U8aFixed>
5365
+ ]>;
5366
+ /**
5367
+ * Instantiates a new contract from the supplied `code` optionally transferring
5368
+ * some balance.
5369
+ *
5370
+ * This dispatchable has the same effect as calling [`Self::upload_code`] +
5371
+ * [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
5372
+ * also check the documentation of [`Self::upload_code`].
5373
+ *
5374
+ * # Parameters
5375
+ *
5376
+ * * `value`: The balance to transfer from the `origin` to the newly created contract.
5377
+ * * `weight_limit`: The weight limit enforced when executing the constructor.
5378
+ * * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
5379
+ * from the caller to pay for the storage consumed.
5380
+ * * `code`: The contract code to deploy in raw bytes.
5381
+ * * `data`: The input data to pass to the contract constructor.
5382
+ * * `salt`: Used for the address derivation. If `Some` is supplied then `CREATE2`
5383
+ * semantics are used. If `None` then `CRATE1` is used.
4417
5384
  *
4418
- * # Arguments
4419
- * - `user_key` the user key of the subsidy to update the available POLYX.
4420
- * - `amount` the amount of POLYX to remove from the subsidy of `user_key`.
4421
5385
  *
4422
- * # Errors
4423
- * - `NoPayingKey` if the `user_key` doesn't have a `paying_key`.
4424
- * - `NotPayingKey` if `origin` doesn't match the current `paying_key`.
4425
- * - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
4426
- * - `Overlow` if the subsidy has less then `amount` POLYX remaining.
5386
+ * Instantiation is executed as follows:
5387
+ *
5388
+ * - The supplied `code` is deployed, and a `code_hash` is created for that code.
5389
+ * - If the `code_hash` already exists on the chain the underlying `code` will be shared.
5390
+ * - The destination address is computed based on the sender, code_hash and the salt.
5391
+ * - The smart-contract account is created at the computed address.
5392
+ * - The `value` is transferred to the new account.
5393
+ * - The `deploy` function is executed in the context of the newly-created account.
4427
5394
  **/
4428
- decreasePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4429
- AccountId32,
4430
- u128
5395
+ instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
5396
+ refTime?: any;
5397
+ proofSize?: any;
5398
+ } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => SubmittableExtrinsic<ApiType>, [
5399
+ Compact<u128>,
5400
+ SpWeightsWeightV2Weight,
5401
+ Compact<u128>,
5402
+ Bytes,
5403
+ Bytes,
5404
+ Option<U8aFixed>
4431
5405
  ]>;
4432
5406
  /**
4433
- * Increase the available POLYX for a `user_key`.
5407
+ * Register the callers account id so that it can be used in contract interactions.
4434
5408
  *
4435
- * # Arguments
4436
- * - `user_key` the user key of the subsidy to update the available POLYX.
4437
- * - `amount` the amount of POLYX to add to the subsidy of `user_key`.
5409
+ * This will error if the origin is already mapped or is a eth native `Address20`. It will
5410
+ * take a deposit that can be released by calling [`Self::unmap_account`].
5411
+ **/
5412
+ mapAccount: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
5413
+ /**
5414
+ * Remove the code stored under `code_hash` and refund the deposit to its owner.
4438
5415
  *
4439
- * # Errors
4440
- * - `NoPayingKey` if the `user_key` doesn't have a `paying_key`.
4441
- * - `NotPayingKey` if `origin` doesn't match the current `paying_key`.
4442
- * - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
4443
- * - `Overlow` if the subsidy's remaining POLYX would have overflowed `u128::MAX`.
5416
+ * A code can only be removed by its original uploader (its owner) and only if it is
5417
+ * not used by any contract.
4444
5418
  **/
4445
- increasePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4446
- AccountId32,
4447
- u128
5419
+ removeCode: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5420
+ H256
4448
5421
  ]>;
4449
5422
  /**
4450
- * Removes the `paying_key` from a `user_key`.
5423
+ * Privileged function that changes the code of an existing contract.
4451
5424
  *
4452
- * # Arguments
4453
- * - `user_key` the user key to remove the subsidy from.
4454
- * - `paying_key` the paying key that was subsidising the `user_key`.
5425
+ * This takes care of updating refcounts and all other necessary operations. Returns
5426
+ * an error if either the `code_hash` or `dest` do not exist.
4455
5427
  *
4456
- * # Errors
4457
- * - `NotAuthorizedForUserKey` if `origin` is not authorized to remove the subsidy for the `user_key`.
4458
- * - `NoPayingKey` if the `user_key` doesn't have a `paying_key`.
4459
- * - `NotPayingKey` if the `paying_key` doesn't match the current `paying_key`.
4460
- * - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
5428
+ * # Note
5429
+ *
5430
+ * This does **not** change the address of the contract in question. This means
5431
+ * that the contract address is no longer derived from its code hash after calling
5432
+ * this dispatchable.
4461
5433
  **/
4462
- removePayingKey: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, payingKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4463
- AccountId32,
4464
- AccountId32
5434
+ setCode: AugmentedSubmittable<(dest: H160 | string | Uint8Array, codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5435
+ H160,
5436
+ H256
4465
5437
  ]>;
4466
5438
  /**
4467
- * Creates an authorization to allow `user_key` to accept the caller (`origin == paying_key`) as their subsidiser.
4468
- *
4469
- * # Arguments
4470
- * - `user_key` the user key to subsidise.
4471
- * - `polyx_limit` the initial POLYX limit for this subsidy.
5439
+ * Unregister the callers account id in order to free the deposit.
4472
5440
  *
4473
- * # Errors
4474
- * - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
5441
+ * There is no reason to ever call this function other than freeing up the deposit.
5442
+ * This is only useful when the account should no longer be used.
4475
5443
  **/
4476
- setPayingKey: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, polyxLimit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4477
- AccountId32,
4478
- u128
4479
- ]>;
5444
+ unmapAccount: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4480
5445
  /**
4481
- * Updates the available POLYX for a `user_key`.
5446
+ * Upload new `code` without instantiating a contract from it.
4482
5447
  *
4483
- * # Arguments
4484
- * - `user_key` the user key of the subsidy to update the available POLYX.
4485
- * - `polyx_limit` the amount of POLYX available for subsidising the `user_key`.
5448
+ * If the code does not already exist a deposit is reserved from the caller
5449
+ * The size of the reserve depends on the size of the supplied `code`.
4486
5450
  *
4487
- * # Errors
4488
- * - `NoPayingKey` if the `user_key` doesn't have a `paying_key`.
4489
- * - `NotPayingKey` if `origin` doesn't match the current `paying_key`.
4490
- * - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
5451
+ * # Note
5452
+ *
5453
+ * Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
5454
+ * To avoid this situation a constructor could employ access control so that it can
5455
+ * only be instantiated by permissioned entities. The same is true when uploading
5456
+ * through [`Self::instantiate_with_code`].
5457
+ *
5458
+ * If the refcount of the code reaches zero after terminating the last contract that
5459
+ * references this code, the code will be removed automatically.
4491
5460
  **/
4492
- updatePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, polyxLimit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4493
- AccountId32,
4494
- u128
5461
+ uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5462
+ Bytes,
5463
+ Compact<u128>
4495
5464
  ]>;
4496
5465
  };
4497
5466
  scheduler: {
4498
5467
  /**
4499
- * Cancel an anonymously scheduled task.
5468
+ * Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
5469
+ * execution in, as well as the index of the task in that block's agenda.
5470
+ *
5471
+ * In the case of a named task, it will remove it from the lookup table as well.
4500
5472
  **/
4501
5473
  cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4502
5474
  u32,
@@ -4571,6 +5543,8 @@ declare module '@polkadot/api-base/types/submittable' {
4571
5543
  * clones of the original task. Their retry configuration will be derived from the
4572
5544
  * original task's configuration, but will have a lower value for `remaining` than the
4573
5545
  * original `total_retries`.
5546
+ *
5547
+ * This call **cannot** be used to set a retry configuration for a named task.
4574
5548
  **/
4575
5549
  setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4576
5550
  ITuple<[u32, u32]>,
@@ -4590,6 +5564,8 @@ declare module '@polkadot/api-base/types/submittable' {
4590
5564
  * clones of the original task. Their retry configuration will be derived from the
4591
5565
  * original task's configuration, but will have a lower value for `remaining` than the
4592
5566
  * original `total_retries`.
5567
+ *
5568
+ * This is the only way to set a retry configuration for a named task.
4593
5569
  **/
4594
5570
  setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4595
5571
  U8aFixed,
@@ -4607,30 +5583,29 @@ declare module '@polkadot/api-base/types/submittable' {
4607
5583
  * convertible to a validator ID using the chain's typical addressing system (this usually
4608
5584
  * means being a controller account) or directly convertible into a validator ID (which
4609
5585
  * usually means being a stash account).
4610
- *
4611
- * ## Complexity
4612
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
4613
- * `T::Keys::key_ids()` which is fixed.
4614
5586
  **/
4615
5587
  purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4616
5588
  /**
4617
5589
  * Sets the session key(s) of the function caller to `keys`.
5590
+ *
4618
5591
  * Allows an account to set its session key prior to becoming a validator.
4619
5592
  * This doesn't take effect until the next session.
4620
5593
  *
4621
- * The dispatch origin of this function must be signed.
4622
- *
4623
- * ## Complexity
4624
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
4625
- * fixed.
5594
+ * - `origin`: The dispatch origin of this function must be signed.
5595
+ * - `keys`: The new session keys to set. These are the public keys of all sessions keys
5596
+ * setup in the runtime.
5597
+ * - `proof`: The proof that `origin` has access to the private keys of `keys`. See
5598
+ * [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
5599
+ * proof format.
4626
5600
  **/
4627
- setKeys: AugmentedSubmittable<(keys: PolymeshRuntimeTestnetRuntimeSessionKeys | {
5601
+ setKeys: AugmentedSubmittable<(keys: PolymeshRuntimeDevelopRuntimeSessionKeys | {
4628
5602
  grandpa?: any;
4629
5603
  babe?: any;
4630
5604
  imOnline?: any;
4631
5605
  authorityDiscovery?: any;
5606
+ beefy?: any;
4632
5607
  } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4633
- PolymeshRuntimeTestnetRuntimeSessionKeys,
5608
+ PolymeshRuntimeDevelopRuntimeSessionKeys,
4634
5609
  Bytes
4635
5610
  ]>;
4636
5611
  };
@@ -4644,7 +5619,7 @@ declare module '@polkadot/api-base/types/submittable' {
4644
5619
  * * `trade_date`: Optional date from which people can interact with this instruction.
4645
5620
  * * `value_date`: Optional date after which the instruction should be settled (not enforced).
4646
5621
  * * `legs`: A vector of all [`Leg`] included in this instruction.
4647
- * * `portfolios`: A vector of [`PortfolioId`] under the caller's control and intended for affirmation.
5622
+ * * `holder_set`: A set of [`AssetHolder`] under the caller's control and intended for affirmation.
4648
5623
  * * `memo`: An optional [`Memo`] field for this instruction.
4649
5624
  *
4650
5625
  * # Permissions
@@ -4664,13 +5639,13 @@ declare module '@polkadot/api-base/types/submittable' {
4664
5639
  NonFungible: any;
4665
5640
  } | {
4666
5641
  OffChain: any;
4667
- } | string | Uint8Array)[], portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
5642
+ } | string | Uint8Array)[], holderSet: BTreeSet<PolymeshPrimitivesAssetAssetHolder>, instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
4668
5643
  Option<u64>,
4669
5644
  PolymeshPrimitivesSettlementSettlementType,
4670
5645
  Option<u64>,
4671
5646
  Option<u64>,
4672
5647
  Vec<PolymeshPrimitivesSettlementLeg>,
4673
- BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
5648
+ BTreeSet<PolymeshPrimitivesAssetAssetHolder>,
4674
5649
  Option<PolymeshPrimitivesMemo>
4675
5650
  ]>;
4676
5651
  /**
@@ -4682,7 +5657,7 @@ declare module '@polkadot/api-base/types/submittable' {
4682
5657
  * * `trade_date`: Optional date from which people can interact with this instruction.
4683
5658
  * * `value_date`: Optional date after which the instruction should be settled (not enforced).
4684
5659
  * * `legs`: A vector of all [`Leg`] included in this instruction.
4685
- * * `portfolios`: A vector of [`PortfolioId`] under the caller's control and intended for affirmation.
5660
+ * * `holder_set`: A set of [`AssetHolder`] under the caller's control and intended for affirmation.
4686
5661
  * * `instruction_memo`: An optional [`Memo`] field for this instruction.
4687
5662
  * * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the instruction.
4688
5663
  *
@@ -4703,13 +5678,13 @@ declare module '@polkadot/api-base/types/submittable' {
4703
5678
  NonFungible: any;
4704
5679
  } | {
4705
5680
  OffChain: any;
4706
- } | string | Uint8Array)[], portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
5681
+ } | string | Uint8Array)[], holderSet: BTreeSet<PolymeshPrimitivesAssetAssetHolder>, instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
4707
5682
  Option<u64>,
4708
5683
  PolymeshPrimitivesSettlementSettlementType,
4709
5684
  Option<u64>,
4710
5685
  Option<u64>,
4711
5686
  Vec<PolymeshPrimitivesSettlementLeg>,
4712
- BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
5687
+ BTreeSet<PolymeshPrimitivesAssetAssetHolder>,
4713
5688
  Option<PolymeshPrimitivesMemo>,
4714
5689
  BTreeSet<PolymeshPrimitivesIdentityId>
4715
5690
  ]>;
@@ -4786,14 +5761,14 @@ declare module '@polkadot/api-base/types/submittable' {
4786
5761
  *
4787
5762
  * # Arguments
4788
5763
  * * `id` - the [`InstructionId`] of the instruction being affirmed.
4789
- * * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation.
5764
+ * * `holder_set` - a set of [`AssetHolder`] under the caller's control and intended for affirmation.
4790
5765
  *
4791
5766
  * # Permissions
4792
5767
  * * Portfolio
4793
5768
  **/
4794
- affirmInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>) => SubmittableExtrinsic<ApiType>, [
5769
+ affirmInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, holderSet: BTreeSet<PolymeshPrimitivesAssetAssetHolder>) => SubmittableExtrinsic<ApiType>, [
4795
5770
  u64,
4796
- BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>
5771
+ BTreeSet<PolymeshPrimitivesAssetAssetHolder>
4797
5772
  ]>;
4798
5773
  /**
4799
5774
  * Affirms the instruction as a mediator - should only be called by mediators, otherwise it will fail.
@@ -4812,7 +5787,7 @@ declare module '@polkadot/api-base/types/submittable' {
4812
5787
  *
4813
5788
  * # Arguments
4814
5789
  * * `id` - the [`InstructionId`] of the instruction being affirmed.
4815
- * * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation.
5790
+ * * `holder_set` - a vector of [`AssetHolder`] under the caller's control and intended for affirmation.
4816
5791
  * * `number_of_assets` - an optional [`AffirmationCount`] that will be used for a precise fee estimation before executing the extrinsic.
4817
5792
  *
4818
5793
  * Note: calling the rpc method `get_affirmation_count` returns an instance of [`AffirmationCount`].
@@ -4820,13 +5795,13 @@ declare module '@polkadot/api-base/types/submittable' {
4820
5795
  * # Permissions
4821
5796
  * * Portfolio
4822
5797
  **/
4823
- affirmInstructionWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
5798
+ affirmInstructionWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, holderSet: BTreeSet<PolymeshPrimitivesAssetAssetHolder>, numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
4824
5799
  senderAssetCount?: any;
4825
5800
  receiverAssetCount?: any;
4826
5801
  offchainCount?: any;
4827
5802
  } | string) => SubmittableExtrinsic<ApiType>, [
4828
5803
  u64,
4829
- BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
5804
+ BTreeSet<PolymeshPrimitivesAssetAssetHolder>,
4830
5805
  Option<PolymeshPrimitivesSettlementAffirmationCount>
4831
5806
  ]>;
4832
5807
  /**
@@ -4835,10 +5810,10 @@ declare module '@polkadot/api-base/types/submittable' {
4835
5810
  * # Arguments
4836
5811
  * * `id` - the [`InstructionId`] of the instruction being affirmed.
4837
5812
  * * `receipt_details` - a vector of [`ReceiptDetails`], which contain the details about the offchain transfer.
4838
- * * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation.
5813
+ * * `holder_set` - a vector of [`AssetHolder`] under the caller's control and intended for affirmation.
4839
5814
  *
4840
5815
  * # Permissions
4841
- * * Portfolio
5816
+ * * Portfolio/Account
4842
5817
  **/
4843
5818
  affirmWithReceipts: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, receiptDetails: Vec<PolymeshPrimitivesSettlementReceiptDetails> | (PolymeshPrimitivesSettlementReceiptDetails | {
4844
5819
  uid?: any;
@@ -4846,11 +5821,12 @@ declare module '@polkadot/api-base/types/submittable' {
4846
5821
  legId?: any;
4847
5822
  signer?: any;
4848
5823
  signature?: any;
5824
+ expiresAt?: any;
4849
5825
  metadata?: any;
4850
- } | string | Uint8Array)[], portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>) => SubmittableExtrinsic<ApiType>, [
5826
+ } | string | Uint8Array)[], holderSet: BTreeSet<PolymeshPrimitivesAssetAssetHolder>) => SubmittableExtrinsic<ApiType>, [
4851
5827
  u64,
4852
5828
  Vec<PolymeshPrimitivesSettlementReceiptDetails>,
4853
- BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>
5829
+ BTreeSet<PolymeshPrimitivesAssetAssetHolder>
4854
5830
  ]>;
4855
5831
  /**
4856
5832
  * Affirms an instruction using receipts for offchain transfers.
@@ -4858,7 +5834,7 @@ declare module '@polkadot/api-base/types/submittable' {
4858
5834
  * # Arguments
4859
5835
  * * `id` - the [`InstructionId`] of the instruction being affirmed.
4860
5836
  * * `receipt_details` - a vector of [`ReceiptDetails`], which contain the details about the offchain transfer.
4861
- * * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation.
5837
+ * * `holder_set` - a vector of [`AssetHolder`] under the caller's control and intended for affirmation.
4862
5838
  * * `number_of_assets` - an optional [`AffirmationCount`] that will be used for a precise fee estimation before executing the extrinsic.
4863
5839
  *
4864
5840
  * Note: calling the rpc method `get_affirmation_count` returns an instance of [`AffirmationCount`].
@@ -4872,15 +5848,16 @@ declare module '@polkadot/api-base/types/submittable' {
4872
5848
  legId?: any;
4873
5849
  signer?: any;
4874
5850
  signature?: any;
5851
+ expiresAt?: any;
4875
5852
  metadata?: any;
4876
- } | string | Uint8Array)[], portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
5853
+ } | string | Uint8Array)[], holderSet: BTreeSet<PolymeshPrimitivesAssetAssetHolder>, numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
4877
5854
  senderAssetCount?: any;
4878
5855
  receiverAssetCount?: any;
4879
5856
  offchainCount?: any;
4880
5857
  } | string) => SubmittableExtrinsic<ApiType>, [
4881
5858
  u64,
4882
5859
  Vec<PolymeshPrimitivesSettlementReceiptDetails>,
4883
- BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
5860
+ BTreeSet<PolymeshPrimitivesAssetAssetHolder>,
4884
5861
  Option<PolymeshPrimitivesSettlementAffirmationCount>
4885
5862
  ]>;
4886
5863
  /**
@@ -4903,9 +5880,9 @@ declare module '@polkadot/api-base/types/submittable' {
4903
5880
  * * `signers` - Array of signers that are allowed to sign receipts for this venue
4904
5881
  * * `typ` - Type of venue being created
4905
5882
  **/
4906
- createVenue: AugmentedSubmittable<(details: Bytes | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], typ: PolymeshPrimitivesSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5883
+ createVenue: AugmentedSubmittable<(details: Bytes | string | Uint8Array, signers: BTreeSet<AccountId32>, typ: PolymeshPrimitivesSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
4907
5884
  Bytes,
4908
- Vec<AccountId32>,
5885
+ BTreeSet<AccountId32>,
4909
5886
  PolymeshPrimitivesSettlementVenueType
4910
5887
  ]>;
4911
5888
  /**
@@ -4926,7 +5903,7 @@ declare module '@polkadot/api-base/types/submittable' {
4926
5903
  *
4927
5904
  * # Arguments
4928
5905
  * * `id`: The [`InstructionId`] of the instruction to be executed.
4929
- * * `portfolio`: One of the caller's [`PortfolioId`] which is also a counter patry in the instruction.
5906
+ * * `asset_holder`: One of the caller's [`AssetHolder`] which is also a counter patry in the instruction.
4930
5907
  * If None, the caller must be the venue creator or a counter party in a [`Leg::OffChain`].
4931
5908
  * * `fungible_transfers`: The number of fungible legs in the instruction.
4932
5909
  * * `nfts_transfers`: The number of nfts being transferred in the instruction.
@@ -4936,15 +5913,16 @@ declare module '@polkadot/api-base/types/submittable' {
4936
5913
  *
4937
5914
  * Note: calling the rpc method `get_execute_instruction_info` returns an instance of [`ExecuteInstructionInfo`], which contains the count parameters.
4938
5915
  **/
4939
- executeManualInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: Option<PolymeshPrimitivesIdentityIdPortfolioId> | null | Uint8Array | PolymeshPrimitivesIdentityIdPortfolioId | {
4940
- did?: any;
4941
- kind?: any;
5916
+ executeManualInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, assetHolder: Option<PolymeshPrimitivesAssetAssetHolder> | null | Uint8Array | PolymeshPrimitivesAssetAssetHolder | {
5917
+ Portfolio: any;
5918
+ } | {
5919
+ Account: any;
4942
5920
  } | string, fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array, offchainTransfers: u32 | AnyNumber | Uint8Array, weightLimit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | {
4943
5921
  refTime?: any;
4944
5922
  proofSize?: any;
4945
5923
  } | string) => SubmittableExtrinsic<ApiType>, [
4946
5924
  u64,
4947
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
5925
+ Option<PolymeshPrimitivesAssetAssetHolder>,
4948
5926
  u32,
4949
5927
  u32,
4950
5928
  u32,
@@ -4989,17 +5967,18 @@ declare module '@polkadot/api-base/types/submittable' {
4989
5967
  *
4990
5968
  * # Arguments
4991
5969
  * * `id` - the [`InstructionId`] of the instruction being rejected.
4992
- * * `portfolio` - the [`PortfolioId`] that belongs to the instruction and is rejecting it.
5970
+ * * `asset_holder` - the [`AssetHolder`] that belongs to the instruction and is rejecting it.
4993
5971
  *
4994
5972
  * # Permissions
4995
5973
  * * Portfolio
4996
5974
  **/
4997
- rejectInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
4998
- did?: any;
4999
- kind?: any;
5975
+ rejectInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, assetHolder: PolymeshPrimitivesAssetAssetHolder | {
5976
+ Portfolio: any;
5977
+ } | {
5978
+ Account: any;
5000
5979
  } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5001
5980
  u64,
5002
- PolymeshPrimitivesIdentityIdPortfolioId
5981
+ PolymeshPrimitivesAssetAssetHolder
5003
5982
  ]>;
5004
5983
  /**
5005
5984
  * Rejects an existing instruction - should only be called by mediators, otherwise it will fail.
@@ -5023,7 +6002,7 @@ declare module '@polkadot/api-base/types/submittable' {
5023
6002
  *
5024
6003
  * # Arguments
5025
6004
  * * `id` - the [`InstructionId`] of the instruction being rejected.
5026
- * * `portfolio` - the [`PortfolioId`] that belongs to the instruction and is rejecting it.
6005
+ * * `asset_holder` - the [`AssetHolder`] that belongs to the instruction and is rejecting it.
5027
6006
  * * `number_of_assets` - an optional [`AssetCount`] that will be used for a precise fee estimation before executing the extrinsic.
5028
6007
  *
5029
6008
  * Note: calling the rpc method `get_execute_instruction_info` returns an instance of [`ExecuteInstructionInfo`], which contain the asset count.
@@ -5031,18 +6010,31 @@ declare module '@polkadot/api-base/types/submittable' {
5031
6010
  * # Permissions
5032
6011
  * * Portfolio
5033
6012
  **/
5034
- rejectInstructionWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
5035
- did?: any;
5036
- kind?: any;
6013
+ rejectInstructionWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, assetHolder: PolymeshPrimitivesAssetAssetHolder | {
6014
+ Portfolio: any;
6015
+ } | {
6016
+ Account: any;
5037
6017
  } | string | Uint8Array, numberOfAssets: Option<PolymeshPrimitivesSettlementAssetCount> | null | Uint8Array | PolymeshPrimitivesSettlementAssetCount | {
5038
6018
  fungible?: any;
5039
6019
  nonFungible?: any;
5040
6020
  offChain?: any;
5041
6021
  } | string) => SubmittableExtrinsic<ApiType>, [
5042
6022
  u64,
5043
- PolymeshPrimitivesIdentityIdPortfolioId,
6023
+ PolymeshPrimitivesAssetAssetHolder,
5044
6024
  Option<PolymeshPrimitivesSettlementAssetCount>
5045
6025
  ]>;
6026
+ /**
6027
+ * Sets whether the caller's identity requires mandatory receiver affirmation for incoming transfers.
6028
+ *
6029
+ * When `require` is `true`, the caller's identity must explicitly affirm any incoming asset transfer.
6030
+ * When `require` is `false` (default), incoming transfers are auto-affirmed.
6031
+ *
6032
+ * # Events
6033
+ * * `MandatoryReceiverAffirmationSet` - When the mandatory receiver affirmation flag is updated.
6034
+ **/
6035
+ setMandatoryReceiverAffirmation: AugmentedSubmittable<(requirement: PolymeshPrimitivesSettlementAffirmationRequirement | 'Automatic' | 'Required' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6036
+ PolymeshPrimitivesSettlementAffirmationRequirement
6037
+ ]>;
5046
6038
  /**
5047
6039
  * Enables or disabled venue filtering for a token.
5048
6040
  *
@@ -5057,6 +6049,62 @@ declare module '@polkadot/api-base/types/submittable' {
5057
6049
  PolymeshPrimitivesAssetAssetId,
5058
6050
  bool
5059
6051
  ]>;
6052
+ /**
6053
+ * Transfer assets between accounts and portfolios.
6054
+ *
6055
+ * Currently supports two modes:
6056
+ * - Direct (owner, same-identity): `from` and `to` resolve to the same DID.
6057
+ * Transfers immediately via `base_transfer` — no settlement instruction, no affirmation.
6058
+ * - Direct (spender): Caller differs from source owner. Spender-approval mode.
6059
+ * Allowance is checked and decremented. Spender mode is only available for
6060
+ * `AssetHolder::Account` sources with fungible funds.
6061
+ *
6062
+ * When `from` is `None`, defaults to `AssetHolder::Account(caller)`.
6063
+ *
6064
+ * # Spender-mode allowance behavior
6065
+ * - Finite allowance: decremented by transfer amount. Removed when depleted to zero.
6066
+ * - Unlimited allowance (`Balance::MAX`): never decremented, no storage write.
6067
+ * - No `Approval` event emitted on spend. Use the `allowance` Runtime API to query
6068
+ * remaining allowance.
6069
+ *
6070
+ * # Arguments
6071
+ * * `origin` — Signed origin. Caller must have a registered DID.
6072
+ * * `from` — Source. `None` defaults to caller's account. When set to a different
6073
+ * account, spender-approval mode activates.
6074
+ * * `to` — Destination account or portfolio.
6075
+ * * `fund` — Asset and amount (fungible) or NFT IDs (non-fungible), plus optional memo.
6076
+ **/
6077
+ transferFunds: AugmentedSubmittable<(from: Option<PolymeshPrimitivesAssetAssetHolder> | null | Uint8Array | PolymeshPrimitivesAssetAssetHolder | {
6078
+ Portfolio: any;
6079
+ } | {
6080
+ Account: any;
6081
+ } | string, to: PolymeshPrimitivesAssetAssetHolder | {
6082
+ Portfolio: any;
6083
+ } | {
6084
+ Account: any;
6085
+ } | string | Uint8Array, fund: PolymeshPrimitivesPortfolioFund | {
6086
+ description?: any;
6087
+ memo?: any;
6088
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6089
+ Option<PolymeshPrimitivesAssetAssetHolder>,
6090
+ PolymeshPrimitivesAssetAssetHolder,
6091
+ PolymeshPrimitivesPortfolioFund
6092
+ ]>;
6093
+ /**
6094
+ * Unlocks an instruction that is currently in `LockedForExecution` status,
6095
+ * moving it back to `Pending`. Only a mediator of the instruction can call this.
6096
+ *
6097
+ * After unlocking, the mediator must wait at least [`Config::RelockCooldown`] before
6098
+ * locking the instruction again. This gives other parties time to reject the
6099
+ * instruction if they wish to back out.
6100
+ *
6101
+ * # Arguments
6102
+ * * `origin` - The origin of the call, must be a mediator of the instruction.
6103
+ * * `inst_id` - The [`InstructionId`] of the instruction to unlock.
6104
+ **/
6105
+ unlockInstruction: AugmentedSubmittable<(instId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6106
+ u64
6107
+ ]>;
5060
6108
  /**
5061
6109
  * Edit a venue's details.
5062
6110
  *
@@ -5073,9 +6121,9 @@ declare module '@polkadot/api-base/types/submittable' {
5073
6121
  * * `signers` specifies the signers to add/remove.
5074
6122
  * * `add_signers` specifies the update type add/remove of venue where add is true and remove is false.
5075
6123
  **/
5076
- updateVenueSigners: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], addSigners: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6124
+ updateVenueSigners: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, signers: BTreeSet<AccountId32>, addSigners: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5077
6125
  u64,
5078
- Vec<AccountId32>,
6126
+ BTreeSet<AccountId32>,
5079
6127
  bool
5080
6128
  ]>;
5081
6129
  /**
@@ -5088,52 +6136,6 @@ declare module '@polkadot/api-base/types/submittable' {
5088
6136
  u64,
5089
6137
  PolymeshPrimitivesSettlementVenueType
5090
6138
  ]>;
5091
- /**
5092
- * Withdraw an affirmation for a given instruction.
5093
- *
5094
- * # Arguments
5095
- * * `id` - the [`InstructionId`] of the instruction getting an affirmation withdrawn.
5096
- * * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation withdrawal.
5097
- *
5098
- * # Permissions
5099
- * * Portfolio
5100
- **/
5101
- withdrawAffirmation: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>) => SubmittableExtrinsic<ApiType>, [
5102
- u64,
5103
- BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>
5104
- ]>;
5105
- /**
5106
- * Removes the mediator's affirmation for the instruction - should only be called by mediators, otherwise it will fail.
5107
- *
5108
- * # Arguments
5109
- * * `origin`: The secondary key of the sender.
5110
- * * `instruction_id`: The [`InstructionId`] that will have the affirmation removed.
5111
- **/
5112
- withdrawAffirmationAsMediator: AugmentedSubmittable<(instructionId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
5113
- u64
5114
- ]>;
5115
- /**
5116
- * Withdraw an affirmation for a given instruction.
5117
- *
5118
- * # Arguments
5119
- * * `id` - the [`InstructionId`] of the instruction getting an affirmation withdrawn.
5120
- * * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation withdrawal.
5121
- * * `number_of_assets` - an optional [`AffirmationCount`] that will be used for a precise fee estimation before executing the extrinsic.
5122
- *
5123
- * Note: calling the rpc method `get_affirmation_count` returns an instance of [`AffirmationCount`].
5124
- *
5125
- * # Permissions
5126
- * * Portfolio
5127
- **/
5128
- withdrawAffirmationWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>, numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
5129
- senderAssetCount?: any;
5130
- receiverAssetCount?: any;
5131
- offchainCount?: any;
5132
- } | string) => SubmittableExtrinsic<ApiType>, [
5133
- u64,
5134
- BTreeSet<PolymeshPrimitivesIdentityIdPortfolioId>,
5135
- Option<PolymeshPrimitivesSettlementAffirmationCount>
5136
- ]>;
5137
6139
  };
5138
6140
  staking: {
5139
6141
  /**
@@ -5457,7 +6459,7 @@ declare module '@polkadot/api-base/types/submittable' {
5457
6459
  *
5458
6460
  * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
5459
6461
  * them, then the list of nominators is paged, with each page being capped at
5460
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
6462
+ * [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
5461
6463
  * the call needs to be made for each page separately in order for all the nominators
5462
6464
  * backing a validator to receive the reward. The nominators are not sorted across pages
5463
6465
  * and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -6083,6 +7085,71 @@ declare module '@polkadot/api-base/types/submittable' {
6083
7085
  u64
6084
7086
  ]>;
6085
7087
  };
7088
+ sudo: {
7089
+ /**
7090
+ * Permanently removes the sudo key.
7091
+ *
7092
+ * **This cannot be un-done.**
7093
+ **/
7094
+ removeKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
7095
+ /**
7096
+ * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
7097
+ * key.
7098
+ **/
7099
+ setKey: AugmentedSubmittable<(updated: MultiAddress | {
7100
+ Id: any;
7101
+ } | {
7102
+ Index: any;
7103
+ } | {
7104
+ Raw: any;
7105
+ } | {
7106
+ Address32: any;
7107
+ } | {
7108
+ Address20: any;
7109
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
7110
+ MultiAddress
7111
+ ]>;
7112
+ /**
7113
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
7114
+ **/
7115
+ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
7116
+ Call
7117
+ ]>;
7118
+ /**
7119
+ * Authenticates the sudo key and dispatches a function call with `Signed` origin from
7120
+ * a given account.
7121
+ *
7122
+ * The dispatch origin for this call must be _Signed_.
7123
+ **/
7124
+ sudoAs: AugmentedSubmittable<(who: MultiAddress | {
7125
+ Id: any;
7126
+ } | {
7127
+ Index: any;
7128
+ } | {
7129
+ Raw: any;
7130
+ } | {
7131
+ Address32: any;
7132
+ } | {
7133
+ Address20: any;
7134
+ } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
7135
+ MultiAddress,
7136
+ Call
7137
+ ]>;
7138
+ /**
7139
+ * Authenticates the sudo key and dispatches a function call with `Root` origin.
7140
+ * This function does not check the weight of the call, and instead allows the
7141
+ * Sudo user to specify the weight of the call.
7142
+ *
7143
+ * The dispatch origin for this call must be _Signed_.
7144
+ **/
7145
+ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
7146
+ refTime?: any;
7147
+ proofSize?: any;
7148
+ } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
7149
+ Call,
7150
+ SpWeightsWeightV2Weight
7151
+ ]>;
7152
+ };
6086
7153
  system: {
6087
7154
  /**
6088
7155
  * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
@@ -6380,11 +7447,6 @@ declare module '@polkadot/api-base/types/submittable' {
6380
7447
  Compact<u64>
6381
7448
  ]>;
6382
7449
  };
6383
- transactionPayment: {
6384
- setDisableFees: AugmentedSubmittable<(value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6385
- bool
6386
- ]>;
6387
- };
6388
7450
  treasury: {
6389
7451
  /**
6390
7452
  * It transfers balances from treasury to each of beneficiaries and the specific amount
@@ -6648,7 +7710,7 @@ declare module '@polkadot/api-base/types/submittable' {
6648
7710
  * ## Complexity
6649
7711
  * - O(1).
6650
7712
  **/
6651
- dispatchAs: AugmentedSubmittable<(asOrigin: PolymeshRuntimeTestnetRuntimeOriginCaller | {
7713
+ dispatchAs: AugmentedSubmittable<(asOrigin: PolymeshRuntimeDevelopRuntimeOriginCaller | {
6652
7714
  system: any;
6653
7715
  } | {
6654
7716
  PolymeshCommittee: any;
@@ -6656,8 +7718,10 @@ declare module '@polkadot/api-base/types/submittable' {
6656
7718
  TechnicalCommittee: any;
6657
7719
  } | {
6658
7720
  UpgradeCommittee: any;
7721
+ } | {
7722
+ Revive: any;
6659
7723
  } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6660
- PolymeshRuntimeTestnetRuntimeOriginCaller,
7724
+ PolymeshRuntimeDevelopRuntimeOriginCaller,
6661
7725
  Call
6662
7726
  ]>;
6663
7727
  /**
@@ -6678,37 +7742,6 @@ declare module '@polkadot/api-base/types/submittable' {
6678
7742
  forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
6679
7743
  Vec<Call>
6680
7744
  ]>;
6681
- /**
6682
- * Relay a call for a target from an origin
6683
- *
6684
- * Relaying in this context refers to the ability of origin to make a call on behalf of
6685
- * target.
6686
- *
6687
- * Fees are charged to origin
6688
- *
6689
- * # Parameters
6690
- * - `target`: Account to be relayed
6691
- * - `signature`: Signature from target authorizing the relay
6692
- * - `call`: Call to be relayed on behalf of target
6693
- *
6694
- * POLYMESH: added.
6695
- **/
6696
- relayTx: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, signature: SpRuntimeMultiSignature | {
6697
- Ed25519: any;
6698
- } | {
6699
- Sr25519: any;
6700
- } | {
6701
- Ecdsa: any;
6702
- } | {
6703
- Eth: any;
6704
- } | string | Uint8Array, call: PalletUtilityUniqueCall | {
6705
- nonce?: any;
6706
- call?: any;
6707
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
6708
- AccountId32,
6709
- SpRuntimeMultiSignature,
6710
- PalletUtilityUniqueCall
6711
- ]>;
6712
7745
  /**
6713
7746
  * Dispatch a function call with a specified weight.
6714
7747
  *