@polymeshassociation/polymesh-sdk 14.0.0-beta.12 → 15.0.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -6
- package/{AccountManagement.d.ts → api/client/AccountManagement.d.ts} +8 -8
- package/api/client/AccountManagement.d.ts.map +1 -0
- package/{AccountManagement.js → api/client/AccountManagement.js} +3 -3
- package/api/client/AccountManagement.js.map +1 -0
- package/{Assets.d.ts → api/client/Assets.d.ts} +13 -2
- package/api/client/Assets.d.ts.map +1 -0
- package/{Assets.js → api/client/Assets.js} +18 -4
- package/api/client/Assets.js.map +1 -0
- package/{Claims.d.ts → api/client/Claims.d.ts} +3 -62
- package/api/client/Claims.d.ts.map +1 -0
- package/{Claims.js → api/client/Claims.js} +24 -152
- package/api/client/Claims.js.map +1 -0
- package/{Identities.d.ts → api/client/Identities.d.ts} +5 -5
- package/api/client/Identities.d.ts.map +1 -0
- package/{Identities.js → api/client/Identities.js} +2 -2
- package/api/client/Identities.js.map +1 -0
- package/{Network.d.ts → api/client/Network.d.ts} +3 -53
- package/api/client/Network.d.ts.map +1 -0
- package/{Network.js → api/client/Network.js} +5 -111
- package/api/client/Network.js.map +1 -0
- package/{Polymesh.d.ts → api/client/Polymesh.d.ts} +7 -9
- package/api/client/Polymesh.d.ts.map +1 -0
- package/{Polymesh.js → api/client/Polymesh.js} +37 -50
- package/api/client/Polymesh.js.map +1 -0
- package/{Settlements.d.ts → api/client/Settlements.d.ts} +4 -6
- package/api/client/Settlements.d.ts.map +1 -0
- package/{Settlements.js → api/client/Settlements.js} +10 -11
- package/api/client/Settlements.js.map +1 -0
- package/api/entities/Account.d.ts +2 -22
- package/api/entities/Account.d.ts.map +1 -1
- package/api/entities/Account.js +18 -69
- package/api/entities/Account.js.map +1 -1
- package/api/entities/Asset/Checkpoints/Schedules.d.ts +2 -2
- package/api/entities/Asset/Checkpoints/Schedules.d.ts.map +1 -1
- package/api/entities/Asset/Checkpoints/Schedules.js.map +1 -1
- package/api/entities/Asset/Checkpoints/index.d.ts.map +1 -1
- package/api/entities/Asset/Checkpoints/index.js.map +1 -1
- package/api/entities/Asset/Checkpoints/types.d.ts +1 -1
- package/api/entities/Asset/Checkpoints/types.d.ts.map +1 -1
- package/api/entities/Asset/Compliance/Requirements.d.ts +2 -2
- package/api/entities/Asset/Compliance/Requirements.d.ts.map +1 -1
- package/api/entities/Asset/Compliance/Requirements.js.map +1 -1
- package/api/entities/Asset/Compliance/TrustedClaimIssuers.d.ts +2 -2
- package/api/entities/Asset/Compliance/TrustedClaimIssuers.d.ts.map +1 -1
- package/api/entities/Asset/Compliance/TrustedClaimIssuers.js.map +1 -1
- package/api/entities/Asset/CorporateActions/Distributions.d.ts +2 -2
- package/api/entities/Asset/CorporateActions/Distributions.d.ts.map +1 -1
- package/api/entities/Asset/CorporateActions/Distributions.js.map +1 -1
- package/api/entities/Asset/CorporateActions/index.d.ts +5 -5
- package/api/entities/Asset/CorporateActions/index.d.ts.map +1 -1
- package/api/entities/Asset/CorporateActions/index.js +1 -1
- package/api/entities/Asset/CorporateActions/index.js.map +1 -1
- package/api/entities/Asset/Documents.d.ts +2 -2
- package/api/entities/Asset/Documents.d.ts.map +1 -1
- package/api/entities/Asset/Documents.js.map +1 -1
- package/api/entities/Asset/Offerings.d.ts +2 -2
- package/api/entities/Asset/Offerings.d.ts.map +1 -1
- package/api/entities/Asset/Offerings.js.map +1 -1
- package/api/entities/Asset/Permissions.d.ts +5 -5
- package/api/entities/Asset/Permissions.d.ts.map +1 -1
- package/api/entities/Asset/Permissions.js.map +1 -1
- package/api/entities/Asset/Settlements.d.ts.map +1 -1
- package/api/entities/Asset/Settlements.js.map +1 -1
- package/api/entities/Asset/TransferRestrictions/Count.d.ts +2 -2
- package/api/entities/Asset/TransferRestrictions/Count.d.ts.map +1 -1
- package/api/entities/Asset/TransferRestrictions/Count.js.map +1 -1
- package/api/entities/Asset/TransferRestrictions/Percentage.d.ts +2 -2
- package/api/entities/Asset/TransferRestrictions/Percentage.d.ts.map +1 -1
- package/api/entities/Asset/TransferRestrictions/Percentage.js.map +1 -1
- package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.d.ts +3 -7
- package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.d.ts.map +1 -1
- package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.js +10 -10
- package/api/entities/Asset/TransferRestrictions/TransferRestrictionBase.js.map +1 -1
- package/api/entities/Asset/index.d.ts +8 -23
- package/api/entities/Asset/index.d.ts.map +1 -1
- package/api/entities/Asset/index.js +7 -47
- package/api/entities/Asset/index.js.map +1 -1
- package/api/entities/AuthorizationRequest.d.ts +1 -2
- package/api/entities/AuthorizationRequest.d.ts.map +1 -1
- package/api/entities/Checkpoint.d.ts +1 -2
- package/api/entities/Checkpoint.d.ts.map +1 -1
- package/api/entities/Checkpoint.js.map +1 -1
- package/api/entities/CheckpointSchedule/index.d.ts +2 -3
- package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
- package/api/entities/CorporateAction.d.ts +2 -2
- package/api/entities/CorporateAction.d.ts.map +1 -1
- package/api/entities/CorporateAction.js.map +1 -1
- package/api/entities/CorporateActionBase/index.d.ts +2 -2
- package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
- package/api/entities/CorporateActionBase/index.js +2 -2
- package/api/entities/CorporateActionBase/index.js.map +1 -1
- package/api/entities/CustomPermissionGroup.d.ts +2 -2
- package/api/entities/CustomPermissionGroup.d.ts.map +1 -1
- package/api/entities/CustomPermissionGroup.js.map +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.d.ts +0 -7
- package/api/entities/DefaultTrustedClaimIssuer.d.ts.map +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.js +0 -17
- package/api/entities/DefaultTrustedClaimIssuer.js.map +1 -1
- package/api/entities/DividendDistribution/index.d.ts +3 -20
- package/api/entities/DividendDistribution/index.d.ts.map +1 -1
- package/api/entities/DividendDistribution/index.js +0 -69
- package/api/entities/DividendDistribution/index.js.map +1 -1
- package/api/entities/Identity/AssetPermissions.d.ts +2 -30
- package/api/entities/Identity/AssetPermissions.d.ts.map +1 -1
- package/api/entities/Identity/AssetPermissions.js +3 -55
- package/api/entities/Identity/AssetPermissions.js.map +1 -1
- package/api/entities/Identity/index.d.ts +7 -20
- package/api/entities/Identity/index.d.ts.map +1 -1
- package/api/entities/Identity/index.js +43 -52
- package/api/entities/Identity/index.js.map +1 -1
- package/api/entities/Instruction/index.d.ts +0 -11
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +4 -54
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/NumberedPortfolio.d.ts +2 -9
- package/api/entities/NumberedPortfolio.d.ts.map +1 -1
- package/api/entities/NumberedPortfolio.js +1 -18
- package/api/entities/NumberedPortfolio.js.map +1 -1
- package/api/entities/Offering/index.d.ts +4 -18
- package/api/entities/Offering/index.d.ts.map +1 -1
- package/api/entities/Offering/index.js +1 -33
- package/api/entities/Offering/index.js.map +1 -1
- package/api/entities/Portfolio/index.d.ts +6 -19
- package/api/entities/Portfolio/index.d.ts.map +1 -1
- package/api/entities/Portfolio/index.js +5 -94
- package/api/entities/Portfolio/index.js.map +1 -1
- package/api/entities/Subsidy/index.d.ts +2 -2
- package/api/entities/Subsidy/index.d.ts.map +1 -1
- package/api/entities/Subsidy/index.js +9 -10
- package/api/entities/Subsidy/index.js.map +1 -1
- package/api/entities/TickerReservation/index.d.ts +5 -5
- package/api/entities/TickerReservation/index.d.ts.map +1 -1
- package/api/entities/TickerReservation/index.js +1 -1
- package/api/entities/TickerReservation/index.js.map +1 -1
- package/api/entities/Venue/index.d.ts +2 -2
- package/api/entities/Venue/index.d.ts.map +1 -1
- package/api/entities/Venue/index.js +2 -2
- package/api/entities/Venue/index.js.map +1 -1
- package/api/entities/common/namespaces/Authorizations.d.ts +2 -2
- package/api/entities/common/namespaces/Authorizations.d.ts.map +1 -1
- package/api/entities/common/namespaces/Authorizations.js +1 -1
- package/api/entities/common/namespaces/Authorizations.js.map +1 -1
- package/api/procedures/addAssetRequirement.d.ts +1 -9
- package/api/procedures/addAssetRequirement.d.ts.map +1 -1
- package/api/procedures/addAssetRequirement.js +1 -1
- package/api/procedures/addAssetRequirement.js.map +1 -1
- package/api/procedures/addInstruction.d.ts +2 -34
- package/api/procedures/addInstruction.d.ts.map +1 -1
- package/api/procedures/addInstruction.js +9 -10
- package/api/procedures/addInstruction.js.map +1 -1
- package/api/procedures/addInvestorUniquenessClaim.d.ts +2 -9
- package/api/procedures/addInvestorUniquenessClaim.d.ts.map +1 -1
- package/api/procedures/addInvestorUniquenessClaim.js +1 -1
- package/api/procedures/addInvestorUniquenessClaim.js.map +1 -1
- package/api/procedures/addTransferRestriction.d.ts +14 -10
- package/api/procedures/addTransferRestriction.d.ts.map +1 -1
- package/api/procedures/addTransferRestriction.js +98 -30
- package/api/procedures/addTransferRestriction.js.map +1 -1
- package/api/procedures/claimClassicTicker.d.ts +1 -12
- package/api/procedures/claimClassicTicker.d.ts.map +1 -1
- package/api/procedures/claimClassicTicker.js +1 -1
- package/api/procedures/claimClassicTicker.js.map +1 -1
- package/api/procedures/configureDividendDistribution.d.ts +2 -34
- package/api/procedures/configureDividendDistribution.d.ts.map +1 -1
- package/api/procedures/configureDividendDistribution.js +31 -17
- package/api/procedures/configureDividendDistribution.js.map +1 -1
- package/api/procedures/controllerTransfer.d.ts +1 -12
- package/api/procedures/controllerTransfer.d.ts.map +1 -1
- package/api/procedures/controllerTransfer.js.map +1 -1
- package/api/procedures/createAsset.d.ts +3 -43
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +114 -54
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/createCheckpointSchedule.d.ts +1 -17
- package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/createCheckpointSchedule.js.map +1 -1
- package/api/procedures/createGroup.d.ts +2 -14
- package/api/procedures/createGroup.d.ts.map +1 -1
- package/api/procedures/createGroup.js +4 -28
- package/api/procedures/createGroup.js.map +1 -1
- package/api/procedures/createPortfolio.js +1 -1
- package/api/procedures/createPortfolio.js.map +1 -1
- package/api/procedures/createVenue.d.ts +1 -5
- package/api/procedures/createVenue.d.ts.map +1 -1
- package/api/procedures/createVenue.js +1 -1
- package/api/procedures/createVenue.js.map +1 -1
- package/api/procedures/investInOffering.d.ts +2 -20
- package/api/procedures/investInOffering.d.ts.map +1 -1
- package/api/procedures/investInOffering.js.map +1 -1
- package/api/procedures/inviteAccount.d.ts +2 -7
- package/api/procedures/inviteAccount.d.ts.map +1 -1
- package/api/procedures/inviteAccount.js.map +1 -1
- package/api/procedures/inviteExternalAgent.d.ts +4 -16
- package/api/procedures/inviteExternalAgent.d.ts.map +1 -1
- package/api/procedures/inviteExternalAgent.js +33 -13
- package/api/procedures/inviteExternalAgent.js.map +1 -1
- package/api/procedures/launchOffering.d.ts +3 -46
- package/api/procedures/launchOffering.d.ts.map +1 -1
- package/api/procedures/launchOffering.js +1 -1
- package/api/procedures/launchOffering.js.map +1 -1
- package/api/procedures/leaveIdentity.d.ts.map +1 -1
- package/api/procedures/leaveIdentity.js +3 -4
- package/api/procedures/leaveIdentity.js.map +1 -1
- package/api/procedures/linkCaDocs.d.ts +1 -7
- package/api/procedures/linkCaDocs.d.ts.map +1 -1
- package/api/procedures/linkCaDocs.js.map +1 -1
- package/api/procedures/modifyAllowance.d.ts +2 -23
- package/api/procedures/modifyAllowance.d.ts.map +1 -1
- package/api/procedures/modifyAllowance.js +5 -6
- package/api/procedures/modifyAllowance.js.map +1 -1
- package/api/procedures/modifyAsset.d.ts +1 -25
- package/api/procedures/modifyAsset.d.ts.map +1 -1
- package/api/procedures/modifyAsset.js +4 -2
- package/api/procedures/modifyAsset.js.map +1 -1
- package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts +2 -11
- package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts.map +1 -1
- package/api/procedures/modifyAssetTrustedClaimIssuers.js.map +1 -1
- package/api/procedures/modifyCaCheckpoint.d.ts +1 -7
- package/api/procedures/modifyCaCheckpoint.d.ts.map +1 -1
- package/api/procedures/modifyCaCheckpoint.js.map +1 -1
- package/api/procedures/modifyCaDefaultConfig.d.ts +1 -15
- package/api/procedures/modifyCaDefaultConfig.d.ts.map +1 -1
- package/api/procedures/modifyCaDefaultConfig.js +8 -10
- package/api/procedures/modifyCaDefaultConfig.js.map +1 -1
- package/api/procedures/modifyClaims.d.ts +2 -25
- package/api/procedures/modifyClaims.d.ts.map +1 -1
- package/api/procedures/modifyClaims.js +8 -9
- package/api/procedures/modifyClaims.js.map +1 -1
- package/api/procedures/modifyComplianceRequirement.d.ts +1 -14
- package/api/procedures/modifyComplianceRequirement.d.ts.map +1 -1
- package/api/procedures/modifyComplianceRequirement.js.map +1 -1
- package/api/procedures/modifyCorporateActionsAgent.d.ts +2 -11
- package/api/procedures/modifyCorporateActionsAgent.d.ts.map +1 -1
- package/api/procedures/modifyCorporateActionsAgent.js.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.d.ts +2 -9
- package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.js +5 -6
- package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
- package/api/procedures/modifyOfferingTimes.d.ts +1 -16
- package/api/procedures/modifyOfferingTimes.d.ts.map +1 -1
- package/api/procedures/modifyOfferingTimes.js.map +1 -1
- package/api/procedures/modifyPrimaryIssuanceAgent.d.ts +2 -11
- package/api/procedures/modifyPrimaryIssuanceAgent.d.ts.map +1 -1
- package/api/procedures/modifyPrimaryIssuanceAgent.js.map +1 -1
- package/api/procedures/modifySignerPermissions.d.ts +1 -10
- package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
- package/api/procedures/modifySignerPermissions.js.map +1 -1
- package/api/procedures/modifyVenue.d.ts +1 -11
- package/api/procedures/modifyVenue.d.ts.map +1 -1
- package/api/procedures/modifyVenue.js +1 -1
- package/api/procedures/modifyVenue.js.map +1 -1
- package/api/procedures/moveFunds.d.ts +1 -12
- package/api/procedures/moveFunds.d.ts.map +1 -1
- package/api/procedures/moveFunds.js.map +1 -1
- package/api/procedures/payDividends.d.ts +2 -4
- package/api/procedures/payDividends.d.ts.map +1 -1
- package/api/procedures/payDividends.js.map +1 -1
- package/api/procedures/quitCustody.d.ts +2 -1
- package/api/procedures/quitCustody.d.ts.map +1 -1
- package/api/procedures/quitCustody.js.map +1 -1
- package/api/procedures/redeemTokens.d.ts +1 -4
- package/api/procedures/redeemTokens.d.ts.map +1 -1
- package/api/procedures/redeemTokens.js.map +1 -1
- package/api/procedures/registerIdentity.d.ts +2 -9
- package/api/procedures/registerIdentity.d.ts.map +1 -1
- package/api/procedures/registerIdentity.js.map +1 -1
- package/api/procedures/removeAssetRequirement.d.ts +1 -5
- package/api/procedures/removeAssetRequirement.d.ts.map +1 -1
- package/api/procedures/removeAssetRequirement.js.map +1 -1
- package/api/procedures/removeCheckpointSchedule.d.ts +2 -8
- package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/removeCheckpointSchedule.js.map +1 -1
- package/api/procedures/removeCorporateAction.d.ts +2 -5
- package/api/procedures/removeCorporateAction.d.ts.map +1 -1
- package/api/procedures/removeCorporateAction.js +1 -1
- package/api/procedures/removeCorporateAction.js.map +1 -1
- package/api/procedures/removeExternalAgent.d.ts +2 -4
- package/api/procedures/removeExternalAgent.d.ts.map +1 -1
- package/api/procedures/removeExternalAgent.js.map +1 -1
- package/api/procedures/removeSecondaryAccounts.d.ts +1 -4
- package/api/procedures/removeSecondaryAccounts.d.ts.map +1 -1
- package/api/procedures/removeSecondaryAccounts.js +1 -1
- package/api/procedures/removeSecondaryAccounts.js.map +1 -1
- package/api/procedures/renamePortfolio.d.ts +1 -3
- package/api/procedures/renamePortfolio.d.ts.map +1 -1
- package/api/procedures/renamePortfolio.js +1 -1
- package/api/procedures/renamePortfolio.js.map +1 -1
- package/api/procedures/reserveTicker.d.ts +1 -7
- package/api/procedures/reserveTicker.d.ts.map +1 -1
- package/api/procedures/reserveTicker.js.map +1 -1
- package/api/procedures/setAssetDocuments.d.ts +1 -7
- package/api/procedures/setAssetDocuments.d.ts.map +1 -1
- package/api/procedures/setAssetDocuments.js.map +1 -1
- package/api/procedures/setAssetRequirements.d.ts +1 -8
- package/api/procedures/setAssetRequirements.d.ts.map +1 -1
- package/api/procedures/setAssetRequirements.js.map +1 -1
- package/api/procedures/setCustodian.d.ts +2 -5
- package/api/procedures/setCustodian.d.ts.map +1 -1
- package/api/procedures/setCustodian.js.map +1 -1
- package/api/procedures/setGroupPermissions.d.ts +1 -8
- package/api/procedures/setGroupPermissions.d.ts.map +1 -1
- package/api/procedures/setGroupPermissions.js.map +1 -1
- package/api/procedures/setPermissionGroup.d.ts +1 -26
- package/api/procedures/setPermissionGroup.d.ts.map +1 -1
- package/api/procedures/setPermissionGroup.js +42 -23
- package/api/procedures/setPermissionGroup.js.map +1 -1
- package/api/procedures/setTransferRestrictions.d.ts +7 -22
- package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
- package/api/procedures/setTransferRestrictions.js +133 -122
- package/api/procedures/setTransferRestrictions.js.map +1 -1
- package/api/procedures/subsidizeAccount.d.ts +2 -12
- package/api/procedures/subsidizeAccount.d.ts.map +1 -1
- package/api/procedures/subsidizeAccount.js.map +1 -1
- package/api/procedures/transferAssetOwnership.d.ts +2 -8
- package/api/procedures/transferAssetOwnership.d.ts.map +1 -1
- package/api/procedures/transferAssetOwnership.js.map +1 -1
- package/api/procedures/transferPolyx.d.ts +2 -16
- package/api/procedures/transferPolyx.d.ts.map +1 -1
- package/api/procedures/transferPolyx.js.map +1 -1
- package/api/procedures/transferTickerOwnership.d.ts +2 -8
- package/api/procedures/transferTickerOwnership.d.ts.map +1 -1
- package/api/procedures/transferTickerOwnership.js.map +1 -1
- package/api/procedures/types.d.ts +648 -0
- package/api/procedures/types.d.ts.map +1 -0
- package/api/procedures/types.js +27 -0
- package/api/procedures/types.js.map +1 -0
- package/api/procedures/utils.d.ts +21 -7
- package/api/procedures/utils.d.ts.map +1 -1
- package/api/procedures/utils.js +59 -28
- package/api/procedures/utils.js.map +1 -1
- package/api/procedures/waivePermissions.d.ts +1 -3
- package/api/procedures/waivePermissions.d.ts.map +1 -1
- package/api/procedures/waivePermissions.js.map +1 -1
- package/base/Context.d.ts +3 -69
- package/base/Context.d.ts.map +1 -1
- package/base/Context.js +44 -207
- package/base/Context.js.map +1 -1
- package/base/PolymeshTransactionBase.d.ts +4 -0
- package/base/PolymeshTransactionBase.d.ts.map +1 -1
- package/base/PolymeshTransactionBase.js +7 -0
- package/base/PolymeshTransactionBase.js.map +1 -1
- package/generated/types.d.ts +512 -0
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +557 -1
- package/generated/types.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/internal.d.ts +51 -52
- package/internal.d.ts.map +1 -1
- package/internal.js +3 -5
- package/internal.js.map +1 -1
- package/middleware/types.d.ts +1 -0
- package/middleware/types.d.ts.map +1 -1
- package/middleware/types.js +1 -0
- package/middleware/types.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-15.0.0-alpha.13.tgz +0 -0
- package/package.json +72 -14
- package/polkadot/asset/definitions.js +12 -12
- package/polkadot/asset/definitions.js.map +1 -1
- package/polkadot/augment-api-consts.d.ts +127 -43
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +286 -16
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +1102 -465
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +746 -545
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +50 -17
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +1445 -1003
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-api.d.ts +0 -1
- package/polkadot/augment-api.d.ts.map +1 -1
- package/polkadot/augment-api.js +0 -1
- package/polkadot/augment-api.js.map +1 -1
- package/polkadot/augment-types.d.ts +213 -2220
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/compliance/definitions.js +2 -2
- package/polkadot/compliance/definitions.js.map +1 -1
- package/polkadot/identity/definitions.js +4 -4
- package/polkadot/identity/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +4439 -0
- package/polkadot/lookup.d.ts.map +1 -0
- package/polkadot/lookup.js +5125 -0
- package/polkadot/lookup.js.map +1 -0
- package/polkadot/polymesh/definitions.d.ts +106 -36
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +111 -41
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +216 -61
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +385 -0
- package/polkadot/registry.d.ts.map +1 -0
- package/polkadot/registry.js +5 -0
- package/polkadot/registry.js.map +1 -0
- package/polkadot/schema.d.ts +106 -36
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +129 -59
- package/polkadot/schema.js.map +1 -1
- package/polkadot/types-lookup.d.ts +5578 -0
- package/polkadot/types-lookup.d.ts.map +1 -0
- package/polkadot/types-lookup.js +4 -0
- package/polkadot/types-lookup.js.map +1 -0
- package/polkadot/types.d.ts +0 -464
- package/polkadot/types.d.ts.map +1 -1
- package/polkadot/types.js +0 -505
- package/polkadot/types.js.map +1 -1
- package/types/index.d.ts +31 -36
- package/types/index.d.ts.map +1 -1
- package/types/index.js +11 -7
- package/types/index.js.map +1 -1
- package/types/internal.d.ts +13 -28
- package/types/internal.d.ts.map +1 -1
- package/types/internal.js +6 -19
- package/types/internal.js.map +1 -1
- package/types/utils/index.d.ts +11 -10
- package/types/utils/index.d.ts.map +1 -1
- package/types/utils/index.js +2 -0
- package/types/utils/index.js.map +1 -1
- package/utils/constants.d.ts +13 -2
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js +14 -3
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +112 -94
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +572 -525
- package/utils/conversion.js.map +1 -1
- package/utils/index.d.ts +1 -1
- package/utils/index.d.ts.map +1 -1
- package/utils/index.js +2 -1
- package/utils/index.js.map +1 -1
- package/utils/internal.d.ts +4 -4
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +90 -15
- package/utils/internal.js.map +1 -1
- package/utils/typeguards.d.ts.map +1 -1
- package/utils/typeguards.js +1 -0
- package/utils/typeguards.js.map +1 -1
- package/AccountManagement.d.ts.map +0 -1
- package/AccountManagement.js.map +0 -1
- package/Assets.d.ts.map +0 -1
- package/Assets.js.map +0 -1
- package/Claims.d.ts.map +0 -1
- package/Claims.js.map +0 -1
- package/Identities.d.ts.map +0 -1
- package/Identities.js.map +0 -1
- package/Network.d.ts.map +0 -1
- package/Network.js.map +0 -1
- package/Polymesh.d.ts.map +0 -1
- package/Polymesh.js.map +0 -1
- package/Settlements.d.ts.map +0 -1
- package/Settlements.js.map +0 -1
- package/api/procedures/initiateCorporateAction.d.ts +0 -60
- package/api/procedures/initiateCorporateAction.d.ts.map +0 -1
- package/api/procedures/initiateCorporateAction.js +0 -107
- package/api/procedures/initiateCorporateAction.js.map +0 -1
- package/middleware/queriesV2.d.ts +0 -143
- package/middleware/queriesV2.d.ts.map +0 -1
- package/middleware/queriesV2.js +0 -798
- package/middleware/queriesV2.js.map +0 -1
- package/middleware/typesV2.d.ts +0 -25495
- package/middleware/typesV2.d.ts.map +0 -1
- package/middleware/typesV2.js +0 -2013
- package/middleware/typesV2.js.map +0 -1
- package/npm-package/polymeshassociation-polymesh-sdk-14.0.0-beta.12.tgz +0 -0
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import type { Heartbeat } from '@polkadot/types/interfaces/imOnline';
|
|
9
|
-
import type { AccountId, AccountIndex, Balance, BalanceOf, BlockNumber, Call, ChangesTrieConfiguration, Hash, Header, KeyValue, LookupSource, Moment, Perbill, Percent, Weight } from '@polkadot/types/interfaces/runtime';
|
|
10
|
-
import type { Period, Priority } from '@polkadot/types/interfaces/scheduler';
|
|
11
|
-
import type { Keys } from '@polkadot/types/interfaces/session';
|
|
12
|
-
import type { CompactAssignments, ElectionScore, ElectionSize, EraIndex, RewardDestination, ValidatorIndex, ValidatorPrefs } from '@polkadot/types/interfaces/staking';
|
|
13
|
-
import type { Key } from '@polkadot/types/interfaces/system';
|
|
14
|
-
import type { AGId, AgentGroup, AssetIdentifier, AssetName, AssetType, AuthorizationData, BallotMeta, BallotTimeRange, BallotVote, Beneficiary, BridgeTx, CADetails, CAId, CAKind, Claim, ClaimType, ClassicTickerImport, ComplianceRequirement, Condition, Document, DocumentId, ExtrinsicPermissions, FundingRoundName, FundraiserId, FundraiserName, IdentityId, InstructionId, InvestorUid, InvestorZKProofData, ItnRewardStatus, Leg, LegId, LegacyPermissions, MaybeBlock, Memo, MovePortfolioItem, OffChainSignature, Permissions, PipDescription, PipId, PortfolioId, PortfolioName, PortfolioNumber, PosRatio, PriceTier, ProtocolOp, ReceiptDetails, RecordDateSpec, ScheduleId, ScheduleSpec, Scope, ScopeClaimProof, ScopeId, SecondaryKey, SecondaryKeyWithAuth, SettlementType, Signatory, SkippedCount, SlashingSwitch, SnapshotResult, TargetIdentities, Tax, Ticker, TickerRegistrationConfig, TransferManager, TrustedIssuer, UniqueCall, Url, VenueDetails, VenueId, VenueType } from "./polymesh";
|
|
15
|
-
import type { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';
|
|
16
|
-
declare module '@polkadot/api/types/submittable' {
|
|
17
|
-
interface AugmentedSubmittables<ApiType> {
|
|
1
|
+
import type { ApiTypes } from '@polkadot/api-base/types';
|
|
2
|
+
import type { Bytes, Compact, Option, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
|
+
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
4
|
+
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
+
import type { BTreeSetIdentityId, BTreeSetStatType, BTreeSetStatUpdate, BTreeSetTransferCondition, ConfidentialIdentityClaimProofsScopeClaimProof, FrameSupportScheduleMaybeHashed, PalletAssetCheckpointScheduleSpec, PalletAssetClassicTickerImport, PalletAssetTickerRegistrationConfig, PalletBridgeBridgeTx, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletPortfolioMovePortfolioItem, PalletRewardsItnRewardStatus, PalletSettlementLeg, PalletSettlementReceiptDetails, PalletSettlementSettlementType, PalletSettlementVenueType, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesBalancesMemo, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCddIdInvestorUid, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEthereumEcdsaSignature, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesInvestorZkproofDataV1InvestorZKProofData, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpRuntimeHeader, SpRuntimeMultiSignature, SpSessionMembershipProof } from "./types-lookup.ts";
|
|
6
|
+
declare module '@polkadot/api-base/types/submittable' {
|
|
7
|
+
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
18
8
|
asset: {
|
|
19
9
|
/**
|
|
20
10
|
* This function is used to accept a token ownership transfer.
|
|
@@ -55,15 +45,15 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
55
45
|
* # Permissions
|
|
56
46
|
* * Asset
|
|
57
47
|
**/
|
|
58
|
-
addDocuments: AugmentedSubmittable<(docs: Vec<
|
|
48
|
+
addDocuments: AugmentedSubmittable<(docs: Vec<PolymeshPrimitivesDocument> | (PolymeshPrimitivesDocument | {
|
|
59
49
|
uri?: any;
|
|
60
|
-
|
|
50
|
+
contentHash?: any;
|
|
61
51
|
name?: any;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
} | string | Uint8Array)[], ticker:
|
|
65
|
-
Vec<
|
|
66
|
-
|
|
52
|
+
docType?: any;
|
|
53
|
+
filingDate?: any;
|
|
54
|
+
} | string | Uint8Array)[], ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
55
|
+
Vec<PolymeshPrimitivesDocument>,
|
|
56
|
+
PolymeshPrimitivesTicker
|
|
67
57
|
]>;
|
|
68
58
|
/**
|
|
69
59
|
* Claim a systematically reserved Polymath Classic (PMC) `ticker`
|
|
@@ -81,9 +71,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
81
71
|
* - `InvalidEthereumSignature` if the `ethereum_signature` is not valid.
|
|
82
72
|
* - `NotAnOwner` if the ethereum account is not the owner of the PMC ticker.
|
|
83
73
|
**/
|
|
84
|
-
claimClassicTicker: AugmentedSubmittable<(ticker:
|
|
85
|
-
|
|
86
|
-
|
|
74
|
+
claimClassicTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, ethereumSignature: PolymeshPrimitivesEthereumEcdsaSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
75
|
+
PolymeshPrimitivesTicker,
|
|
76
|
+
PolymeshPrimitivesEthereumEcdsaSignature
|
|
87
77
|
]>;
|
|
88
78
|
/**
|
|
89
79
|
* Forces a transfer of token from `from_portfolio` to the caller's default portfolio.
|
|
@@ -94,13 +84,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
94
84
|
* * `value` Amount of tokens need to force transfer.
|
|
95
85
|
* * `from_portfolio` From whom portfolio tokens gets transferred.
|
|
96
86
|
**/
|
|
97
|
-
controllerTransfer: AugmentedSubmittable<(ticker:
|
|
87
|
+
controllerTransfer: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, fromPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
98
88
|
did?: any;
|
|
99
89
|
kind?: any;
|
|
100
90
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
91
|
+
PolymeshPrimitivesTicker,
|
|
92
|
+
u128,
|
|
93
|
+
PolymeshPrimitivesIdentityIdPortfolioId
|
|
104
94
|
]>;
|
|
105
95
|
/**
|
|
106
96
|
* Initializes a new security token, with the initiating account as its owner.
|
|
@@ -130,7 +120,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
130
120
|
* ## Permissions
|
|
131
121
|
* * Portfolio
|
|
132
122
|
**/
|
|
133
|
-
createAsset: AugmentedSubmittable<(name:
|
|
123
|
+
createAsset: AugmentedSubmittable<(name: Bytes | string | Uint8Array, ticker: PolymeshPrimitivesTicker | string | Uint8Array, divisible: bool | boolean | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
|
|
134
124
|
EquityCommon: any;
|
|
135
125
|
} | {
|
|
136
126
|
EquityPreferred: any;
|
|
@@ -152,7 +142,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
152
142
|
Custom: any;
|
|
153
143
|
} | {
|
|
154
144
|
StableCoin: any;
|
|
155
|
-
} | string | Uint8Array, identifiers: Vec<
|
|
145
|
+
} | string | Uint8Array, identifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
|
|
156
146
|
CUSIP: any;
|
|
157
147
|
} | {
|
|
158
148
|
CINS: any;
|
|
@@ -160,13 +150,37 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
160
150
|
ISIN: any;
|
|
161
151
|
} | {
|
|
162
152
|
LEI: any;
|
|
163
|
-
} |
|
|
164
|
-
|
|
165
|
-
|
|
153
|
+
} | {
|
|
154
|
+
FIGI: any;
|
|
155
|
+
} | string | Uint8Array)[], fundingRound: Option<Bytes> | null | object | string | Uint8Array, disableIu: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
156
|
+
Bytes,
|
|
157
|
+
PolymeshPrimitivesTicker,
|
|
158
|
+
bool,
|
|
159
|
+
PolymeshPrimitivesAssetAssetType,
|
|
160
|
+
Vec<PolymeshPrimitivesAssetIdentifier>,
|
|
161
|
+
Option<Bytes>,
|
|
162
|
+
bool
|
|
163
|
+
]>;
|
|
164
|
+
/**
|
|
165
|
+
* Utility extrinsic to batch `create_asset` and `register_custom_asset_type`.
|
|
166
|
+
**/
|
|
167
|
+
createAssetWithCustomType: AugmentedSubmittable<(name: Bytes | string | Uint8Array, ticker: PolymeshPrimitivesTicker | string | Uint8Array, divisible: bool | boolean | Uint8Array, customAssetType: Bytes | string | Uint8Array, identifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
|
|
168
|
+
CUSIP: any;
|
|
169
|
+
} | {
|
|
170
|
+
CINS: any;
|
|
171
|
+
} | {
|
|
172
|
+
ISIN: any;
|
|
173
|
+
} | {
|
|
174
|
+
LEI: any;
|
|
175
|
+
} | {
|
|
176
|
+
FIGI: any;
|
|
177
|
+
} | string | Uint8Array)[], fundingRound: Option<Bytes> | null | object | string | Uint8Array, disableIu: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
178
|
+
Bytes,
|
|
179
|
+
PolymeshPrimitivesTicker,
|
|
166
180
|
bool,
|
|
167
|
-
|
|
168
|
-
Vec<
|
|
169
|
-
Option<
|
|
181
|
+
Bytes,
|
|
182
|
+
Vec<PolymeshPrimitivesAssetIdentifier>,
|
|
183
|
+
Option<Bytes>,
|
|
170
184
|
bool
|
|
171
185
|
]>;
|
|
172
186
|
/**
|
|
@@ -182,8 +196,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
182
196
|
* # Permissions
|
|
183
197
|
* * Asset
|
|
184
198
|
**/
|
|
185
|
-
freeze: AugmentedSubmittable<(ticker:
|
|
186
|
-
|
|
199
|
+
freeze: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
200
|
+
PolymeshPrimitivesTicker
|
|
187
201
|
]>;
|
|
188
202
|
/**
|
|
189
203
|
* Issue, or mint, new tokens to the caller,
|
|
@@ -198,9 +212,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
198
212
|
* * Asset
|
|
199
213
|
* * Portfolio
|
|
200
214
|
**/
|
|
201
|
-
issue: AugmentedSubmittable<(ticker:
|
|
202
|
-
|
|
203
|
-
|
|
215
|
+
issue: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
216
|
+
PolymeshPrimitivesTicker,
|
|
217
|
+
u128
|
|
204
218
|
]>;
|
|
205
219
|
/**
|
|
206
220
|
* Makes an indivisible token divisible.
|
|
@@ -215,8 +229,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
215
229
|
* # Permissions
|
|
216
230
|
* * Asset
|
|
217
231
|
**/
|
|
218
|
-
makeDivisible: AugmentedSubmittable<(ticker:
|
|
219
|
-
|
|
232
|
+
makeDivisible: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
233
|
+
PolymeshPrimitivesTicker
|
|
220
234
|
]>;
|
|
221
235
|
/**
|
|
222
236
|
* Redeems existing tokens by reducing the balance of the caller's default portfolio and the total supply of the token
|
|
@@ -235,9 +249,89 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
235
249
|
* * Asset
|
|
236
250
|
* * Portfolio
|
|
237
251
|
**/
|
|
238
|
-
redeem: AugmentedSubmittable<(ticker:
|
|
239
|
-
|
|
240
|
-
|
|
252
|
+
redeem: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
253
|
+
PolymeshPrimitivesTicker,
|
|
254
|
+
u128
|
|
255
|
+
]>;
|
|
256
|
+
/**
|
|
257
|
+
* Registers and set local asset metadata.
|
|
258
|
+
*
|
|
259
|
+
* # Arguments
|
|
260
|
+
* * `origin` is a signer that has permissions to act as an agent of `ticker`.
|
|
261
|
+
* * `ticker` Ticker of the token.
|
|
262
|
+
* * `name` Metadata name.
|
|
263
|
+
* * `spec` Metadata type definition.
|
|
264
|
+
* * `value` Metadata value.
|
|
265
|
+
* * `details` Optional Metadata value details (expire, lock status).
|
|
266
|
+
*
|
|
267
|
+
* # Errors
|
|
268
|
+
* * `AssetMetadataLocalKeyAlreadyExists` if a local metadata type with `name` already exists for `ticker`.
|
|
269
|
+
* * `AssetMetadataNameMaxLengthExceeded` if the metadata `name` exceeds the maximum length.
|
|
270
|
+
* * `AssetMetadataTypeDefMaxLengthExceeded` if the metadata `spec` type definition exceeds the maximum length.
|
|
271
|
+
* * `AssetMetadataValueMaxLengthExceeded` if the metadata value exceeds the maximum length.
|
|
272
|
+
*
|
|
273
|
+
* # Permissions
|
|
274
|
+
* * Agent
|
|
275
|
+
* * Asset
|
|
276
|
+
**/
|
|
277
|
+
registerAndSetLocalAssetMetadata: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
|
|
278
|
+
url?: any;
|
|
279
|
+
description?: any;
|
|
280
|
+
typeDef?: any;
|
|
281
|
+
} | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
282
|
+
PolymeshPrimitivesTicker,
|
|
283
|
+
Bytes,
|
|
284
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataSpec,
|
|
285
|
+
Bytes,
|
|
286
|
+
Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>
|
|
287
|
+
]>;
|
|
288
|
+
/**
|
|
289
|
+
* Registers asset metadata global type.
|
|
290
|
+
*
|
|
291
|
+
* # Arguments
|
|
292
|
+
* * `origin` is a signer that has permissions to act as an agent of `ticker`.
|
|
293
|
+
* * `name` Metadata name.
|
|
294
|
+
* * `spec` Metadata type definition.
|
|
295
|
+
*
|
|
296
|
+
* # Errors
|
|
297
|
+
* * `AssetMetadataGlobalKeyAlreadyExists` if a globa metadata type with `name` already exists.
|
|
298
|
+
* * `AssetMetadataNameMaxLengthExceeded` if the metadata `name` exceeds the maximum length.
|
|
299
|
+
* * `AssetMetadataTypeDefMaxLengthExceeded` if the metadata `spec` type definition exceeds the maximum length.
|
|
300
|
+
**/
|
|
301
|
+
registerAssetMetadataGlobalType: AugmentedSubmittable<(name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
|
|
302
|
+
url?: any;
|
|
303
|
+
description?: any;
|
|
304
|
+
typeDef?: any;
|
|
305
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
306
|
+
Bytes,
|
|
307
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataSpec
|
|
308
|
+
]>;
|
|
309
|
+
/**
|
|
310
|
+
* Registers asset metadata local type.
|
|
311
|
+
*
|
|
312
|
+
* # Arguments
|
|
313
|
+
* * `origin` is a signer that has permissions to act as an agent of `ticker`.
|
|
314
|
+
* * `ticker` Ticker of the token.
|
|
315
|
+
* * `name` Metadata name.
|
|
316
|
+
* * `spec` Metadata type definition.
|
|
317
|
+
*
|
|
318
|
+
* # Errors
|
|
319
|
+
* * `AssetMetadataLocalKeyAlreadyExists` if a local metadata type with `name` already exists for `ticker`.
|
|
320
|
+
* * `AssetMetadataNameMaxLengthExceeded` if the metadata `name` exceeds the maximum length.
|
|
321
|
+
* * `AssetMetadataTypeDefMaxLengthExceeded` if the metadata `spec` type definition exceeds the maximum length.
|
|
322
|
+
*
|
|
323
|
+
* # Permissions
|
|
324
|
+
* * Agent
|
|
325
|
+
* * Asset
|
|
326
|
+
**/
|
|
327
|
+
registerAssetMetadataLocalType: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
|
|
328
|
+
url?: any;
|
|
329
|
+
description?: any;
|
|
330
|
+
typeDef?: any;
|
|
331
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
332
|
+
PolymeshPrimitivesTicker,
|
|
333
|
+
Bytes,
|
|
334
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataSpec
|
|
241
335
|
]>;
|
|
242
336
|
/**
|
|
243
337
|
* Registers a custom asset type.
|
|
@@ -264,8 +358,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
264
358
|
* # Permissions
|
|
265
359
|
* * Asset
|
|
266
360
|
**/
|
|
267
|
-
registerTicker: AugmentedSubmittable<(ticker:
|
|
268
|
-
|
|
361
|
+
registerTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
362
|
+
PolymeshPrimitivesTicker
|
|
269
363
|
]>;
|
|
270
364
|
/**
|
|
271
365
|
* Remove documents for a given token.
|
|
@@ -278,9 +372,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
278
372
|
* # Permissions
|
|
279
373
|
* * Asset
|
|
280
374
|
**/
|
|
281
|
-
removeDocuments: AugmentedSubmittable<(ids: Vec<
|
|
282
|
-
Vec<
|
|
283
|
-
|
|
375
|
+
removeDocuments: AugmentedSubmittable<(ids: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
376
|
+
Vec<u32>,
|
|
377
|
+
PolymeshPrimitivesTicker
|
|
284
378
|
]>;
|
|
285
379
|
/**
|
|
286
380
|
* Renames a given token.
|
|
@@ -297,9 +391,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
297
391
|
* # Permissions
|
|
298
392
|
* * Asset
|
|
299
393
|
**/
|
|
300
|
-
renameAsset: AugmentedSubmittable<(ticker:
|
|
301
|
-
|
|
302
|
-
|
|
394
|
+
renameAsset: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, name: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
395
|
+
PolymeshPrimitivesTicker,
|
|
396
|
+
Bytes
|
|
303
397
|
]>;
|
|
304
398
|
/**
|
|
305
399
|
* Reserve a Polymath Classic (PMC) ticker.
|
|
@@ -316,18 +410,76 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
316
410
|
* * `TickerTooLong` if the `config` considers the `classic_ticker_import.ticker` too long.
|
|
317
411
|
* * `TickerAlreadyRegistered` if `classic_ticker_import.ticker` was already registered.
|
|
318
412
|
**/
|
|
319
|
-
reserveClassicTicker: AugmentedSubmittable<(classicTickerImport:
|
|
320
|
-
|
|
413
|
+
reserveClassicTicker: AugmentedSubmittable<(classicTickerImport: PalletAssetClassicTickerImport | {
|
|
414
|
+
ethOwner?: any;
|
|
321
415
|
ticker?: any;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
} | string | Uint8Array, contractDid:
|
|
325
|
-
|
|
326
|
-
|
|
416
|
+
isContract?: any;
|
|
417
|
+
isCreated?: any;
|
|
418
|
+
} | string | Uint8Array, contractDid: PolymeshPrimitivesIdentityId | string | Uint8Array, config: PalletAssetTickerRegistrationConfig | {
|
|
419
|
+
maxTickerLength?: any;
|
|
420
|
+
registrationLength?: any;
|
|
421
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
422
|
+
PalletAssetClassicTickerImport,
|
|
423
|
+
PolymeshPrimitivesIdentityId,
|
|
424
|
+
PalletAssetTickerRegistrationConfig
|
|
425
|
+
]>;
|
|
426
|
+
/**
|
|
427
|
+
* Set asset metadata value.
|
|
428
|
+
*
|
|
429
|
+
* # Arguments
|
|
430
|
+
* * `origin` is a signer that has permissions to act as an agent of `ticker`.
|
|
431
|
+
* * `ticker` Ticker of the token.
|
|
432
|
+
* * `key` Metadata key.
|
|
433
|
+
* * `value` Metadata value.
|
|
434
|
+
* * `details` Optional Metadata value details (expire, lock status).
|
|
435
|
+
*
|
|
436
|
+
* # Errors
|
|
437
|
+
* * `AssetMetadataKeyIsMissing` if the metadata type key doesn't exist.
|
|
438
|
+
* * `AssetMetadataValueIsLocked` if the metadata value for `key` is locked.
|
|
439
|
+
* * `AssetMetadataValueMaxLengthExceeded` if the metadata value exceeds the maximum length.
|
|
440
|
+
*
|
|
441
|
+
* # Permissions
|
|
442
|
+
* * Agent
|
|
443
|
+
* * Asset
|
|
444
|
+
**/
|
|
445
|
+
setAssetMetadata: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
446
|
+
Global: any;
|
|
447
|
+
} | {
|
|
448
|
+
Local: any;
|
|
449
|
+
} | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
450
|
+
PolymeshPrimitivesTicker,
|
|
451
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataKey,
|
|
452
|
+
Bytes,
|
|
453
|
+
Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>
|
|
454
|
+
]>;
|
|
455
|
+
/**
|
|
456
|
+
* Set asset metadata value details (expire, lock status).
|
|
457
|
+
*
|
|
458
|
+
* # Arguments
|
|
459
|
+
* * `origin` is a signer that has permissions to act as an agent of `ticker`.
|
|
460
|
+
* * `ticker` Ticker of the token.
|
|
461
|
+
* * `key` Metadata key.
|
|
462
|
+
* * `details` Metadata value details (expire, lock status).
|
|
463
|
+
*
|
|
464
|
+
* # Errors
|
|
465
|
+
* * `AssetMetadataKeyIsMissing` if the metadata type key doesn't exist.
|
|
466
|
+
* * `AssetMetadataValueIsLocked` if the metadata value for `key` is locked.
|
|
467
|
+
*
|
|
468
|
+
* # Permissions
|
|
469
|
+
* * Agent
|
|
470
|
+
* * Asset
|
|
471
|
+
**/
|
|
472
|
+
setAssetMetadataDetails: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
473
|
+
Global: any;
|
|
474
|
+
} | {
|
|
475
|
+
Local: any;
|
|
476
|
+
} | string | Uint8Array, detail: PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail | {
|
|
477
|
+
expire?: any;
|
|
478
|
+
lockStatus?: any;
|
|
327
479
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
480
|
+
PolymeshPrimitivesTicker,
|
|
481
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataKey,
|
|
482
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail
|
|
331
483
|
]>;
|
|
332
484
|
/**
|
|
333
485
|
* Sets the name of the current funding round.
|
|
@@ -344,9 +496,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
344
496
|
* # Permissions
|
|
345
497
|
* * Asset
|
|
346
498
|
**/
|
|
347
|
-
setFundingRound: AugmentedSubmittable<(ticker:
|
|
348
|
-
|
|
349
|
-
|
|
499
|
+
setFundingRound: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, name: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
500
|
+
PolymeshPrimitivesTicker,
|
|
501
|
+
Bytes
|
|
350
502
|
]>;
|
|
351
503
|
/**
|
|
352
504
|
* Unfreezes transfers and minting of a given token.
|
|
@@ -361,8 +513,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
361
513
|
* # Permissions
|
|
362
514
|
* * Asset
|
|
363
515
|
**/
|
|
364
|
-
unfreeze: AugmentedSubmittable<(ticker:
|
|
365
|
-
|
|
516
|
+
unfreeze: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
517
|
+
PolymeshPrimitivesTicker
|
|
366
518
|
]>;
|
|
367
519
|
/**
|
|
368
520
|
* Updates the asset identifiers.
|
|
@@ -379,7 +531,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
379
531
|
* # Permissions
|
|
380
532
|
* * Asset
|
|
381
533
|
**/
|
|
382
|
-
updateIdentifiers: AugmentedSubmittable<(ticker:
|
|
534
|
+
updateIdentifiers: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, identifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
|
|
383
535
|
CUSIP: any;
|
|
384
536
|
} | {
|
|
385
537
|
CINS: any;
|
|
@@ -387,44 +539,57 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
387
539
|
ISIN: any;
|
|
388
540
|
} | {
|
|
389
541
|
LEI: any;
|
|
542
|
+
} | {
|
|
543
|
+
FIGI: any;
|
|
390
544
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
391
|
-
|
|
392
|
-
Vec<
|
|
545
|
+
PolymeshPrimitivesTicker,
|
|
546
|
+
Vec<PolymeshPrimitivesAssetIdentifier>
|
|
393
547
|
]>;
|
|
394
548
|
};
|
|
395
549
|
authorship: {
|
|
396
550
|
/**
|
|
397
551
|
* Provide a set of uncles.
|
|
398
552
|
**/
|
|
399
|
-
setUncles: AugmentedSubmittable<(newUncles: Vec<
|
|
553
|
+
setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | {
|
|
400
554
|
parentHash?: any;
|
|
401
555
|
number?: any;
|
|
402
556
|
stateRoot?: any;
|
|
403
557
|
extrinsicsRoot?: any;
|
|
404
558
|
digest?: any;
|
|
405
559
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
406
|
-
Vec<
|
|
560
|
+
Vec<SpRuntimeHeader>
|
|
407
561
|
]>;
|
|
408
562
|
};
|
|
409
563
|
babe: {
|
|
564
|
+
/**
|
|
565
|
+
* Plan an epoch config change. The epoch config change is recorded and will be enacted on
|
|
566
|
+
* the next call to `enact_epoch_change`. The config will be activated one epoch after.
|
|
567
|
+
* Multiple calls to this method will replace any existing planned config change that had
|
|
568
|
+
* not been enacted yet.
|
|
569
|
+
**/
|
|
570
|
+
planConfigChange: AugmentedSubmittable<(config: SpConsensusBabeDigestsNextConfigDescriptor | {
|
|
571
|
+
V1: any;
|
|
572
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
573
|
+
SpConsensusBabeDigestsNextConfigDescriptor
|
|
574
|
+
]>;
|
|
410
575
|
/**
|
|
411
576
|
* Report authority equivocation/misbehavior. This method will verify
|
|
412
577
|
* the equivocation proof and validate the given key ownership proof
|
|
413
578
|
* against the extracted offender. If both are valid, the offence will
|
|
414
579
|
* be reported.
|
|
415
580
|
**/
|
|
416
|
-
reportEquivocation: AugmentedSubmittable<(equivocationProof:
|
|
581
|
+
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusSlotsEquivocationProof | {
|
|
417
582
|
offender?: any;
|
|
418
|
-
|
|
583
|
+
slot?: any;
|
|
419
584
|
firstHeader?: any;
|
|
420
585
|
secondHeader?: any;
|
|
421
|
-
} | string | Uint8Array, keyOwnerProof:
|
|
586
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
422
587
|
session?: any;
|
|
423
588
|
trieNodes?: any;
|
|
424
589
|
validatorCount?: any;
|
|
425
590
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
426
|
-
|
|
427
|
-
|
|
591
|
+
SpConsensusSlotsEquivocationProof,
|
|
592
|
+
SpSessionMembershipProof
|
|
428
593
|
]>;
|
|
429
594
|
/**
|
|
430
595
|
* Report authority equivocation/misbehavior. This method will verify
|
|
@@ -436,32 +601,32 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
436
601
|
* if the block author is defined it will be defined as the equivocation
|
|
437
602
|
* reporter.
|
|
438
603
|
**/
|
|
439
|
-
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof:
|
|
604
|
+
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusSlotsEquivocationProof | {
|
|
440
605
|
offender?: any;
|
|
441
|
-
|
|
606
|
+
slot?: any;
|
|
442
607
|
firstHeader?: any;
|
|
443
608
|
secondHeader?: any;
|
|
444
|
-
} | string | Uint8Array, keyOwnerProof:
|
|
609
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
445
610
|
session?: any;
|
|
446
611
|
trieNodes?: any;
|
|
447
612
|
validatorCount?: any;
|
|
448
613
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
449
|
-
|
|
450
|
-
|
|
614
|
+
SpConsensusSlotsEquivocationProof,
|
|
615
|
+
SpSessionMembershipProof
|
|
451
616
|
]>;
|
|
452
617
|
};
|
|
453
618
|
balances: {
|
|
454
619
|
/**
|
|
455
620
|
* Burns the given amount of tokens from the caller's free, unlocked balance.
|
|
456
621
|
**/
|
|
457
|
-
burnAccountBalance: AugmentedSubmittable<(amount:
|
|
458
|
-
|
|
622
|
+
burnAccountBalance: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
623
|
+
u128
|
|
459
624
|
]>;
|
|
460
625
|
/**
|
|
461
626
|
* Move some POLYX from balance of self to balance of BRR.
|
|
462
627
|
**/
|
|
463
|
-
depositBlockRewardReserveBalance: AugmentedSubmittable<(value: Compact<
|
|
464
|
-
Compact<
|
|
628
|
+
depositBlockRewardReserveBalance: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
629
|
+
Compact<u128>
|
|
465
630
|
]>;
|
|
466
631
|
/**
|
|
467
632
|
* Exactly as `transfer`, except the origin must be root and the source account may be
|
|
@@ -472,7 +637,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
472
637
|
* not assumed to be in the overlay.
|
|
473
638
|
* # </weight>
|
|
474
639
|
**/
|
|
475
|
-
forceTransfer: AugmentedSubmittable<(source:
|
|
640
|
+
forceTransfer: AugmentedSubmittable<(source: MultiAddress | {
|
|
476
641
|
Id: any;
|
|
477
642
|
} | {
|
|
478
643
|
Index: any;
|
|
@@ -482,7 +647,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
482
647
|
Address32: any;
|
|
483
648
|
} | {
|
|
484
649
|
Address20: any;
|
|
485
|
-
} | string | Uint8Array, dest:
|
|
650
|
+
} | string | Uint8Array, dest: MultiAddress | {
|
|
486
651
|
Id: any;
|
|
487
652
|
} | {
|
|
488
653
|
Index: any;
|
|
@@ -492,10 +657,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
492
657
|
Address32: any;
|
|
493
658
|
} | {
|
|
494
659
|
Address20: any;
|
|
495
|
-
} | string | Uint8Array, value: Compact<
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
Compact<
|
|
660
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
661
|
+
MultiAddress,
|
|
662
|
+
MultiAddress,
|
|
663
|
+
Compact<u128>
|
|
499
664
|
]>;
|
|
500
665
|
/**
|
|
501
666
|
* Set the balances of a given account.
|
|
@@ -505,7 +670,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
505
670
|
*
|
|
506
671
|
* The dispatch origin for this call is `root`.
|
|
507
672
|
**/
|
|
508
|
-
setBalance: AugmentedSubmittable<(who:
|
|
673
|
+
setBalance: AugmentedSubmittable<(who: MultiAddress | {
|
|
509
674
|
Id: any;
|
|
510
675
|
} | {
|
|
511
676
|
Index: any;
|
|
@@ -515,10 +680,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
515
680
|
Address32: any;
|
|
516
681
|
} | {
|
|
517
682
|
Address20: any;
|
|
518
|
-
} | string | Uint8Array, newFree: Compact<
|
|
519
|
-
|
|
520
|
-
Compact<
|
|
521
|
-
Compact<
|
|
683
|
+
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
684
|
+
MultiAddress,
|
|
685
|
+
Compact<u128>,
|
|
686
|
+
Compact<u128>
|
|
522
687
|
]>;
|
|
523
688
|
/**
|
|
524
689
|
* Transfer some liquid free balance to another account.
|
|
@@ -544,7 +709,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
544
709
|
* - Origin account is already in memory, so no DB operations for them.
|
|
545
710
|
* # </weight>
|
|
546
711
|
**/
|
|
547
|
-
transfer: AugmentedSubmittable<(dest:
|
|
712
|
+
transfer: AugmentedSubmittable<(dest: MultiAddress | {
|
|
548
713
|
Id: any;
|
|
549
714
|
} | {
|
|
550
715
|
Index: any;
|
|
@@ -554,9 +719,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
554
719
|
Address32: any;
|
|
555
720
|
} | {
|
|
556
721
|
Address20: any;
|
|
557
|
-
} | string | Uint8Array, value: Compact<
|
|
558
|
-
|
|
559
|
-
Compact<
|
|
722
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
723
|
+
MultiAddress,
|
|
724
|
+
Compact<u128>
|
|
560
725
|
]>;
|
|
561
726
|
/**
|
|
562
727
|
* Transfer the native currency with the help of identifier string
|
|
@@ -568,7 +733,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
568
733
|
* - Origin account is already in memory, so no DB operations for them.
|
|
569
734
|
* # </weight>
|
|
570
735
|
**/
|
|
571
|
-
transferWithMemo: AugmentedSubmittable<(dest:
|
|
736
|
+
transferWithMemo: AugmentedSubmittable<(dest: MultiAddress | {
|
|
572
737
|
Id: any;
|
|
573
738
|
} | {
|
|
574
739
|
Index: any;
|
|
@@ -578,12 +743,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
578
743
|
Address32: any;
|
|
579
744
|
} | {
|
|
580
745
|
Address20: any;
|
|
581
|
-
} | string | Uint8Array, value: Compact<
|
|
582
|
-
|
|
583
|
-
Compact<
|
|
584
|
-
Option<
|
|
746
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, memo: Option<PolymeshCommonUtilitiesBalancesMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
747
|
+
MultiAddress,
|
|
748
|
+
Compact<u128>,
|
|
749
|
+
Option<PolymeshCommonUtilitiesBalancesMemo>
|
|
585
750
|
]>;
|
|
586
751
|
};
|
|
752
|
+
base: {};
|
|
587
753
|
bridge: {
|
|
588
754
|
/**
|
|
589
755
|
* Add a freeze admin.
|
|
@@ -591,8 +757,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
591
757
|
* ## Errors
|
|
592
758
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
593
759
|
**/
|
|
594
|
-
addFreezeAdmin: AugmentedSubmittable<(freezeAdmin:
|
|
595
|
-
|
|
760
|
+
addFreezeAdmin: AugmentedSubmittable<(freezeAdmin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
761
|
+
AccountId32
|
|
596
762
|
]>;
|
|
597
763
|
/**
|
|
598
764
|
* Proposes a vector of bridge transactions. The vector is processed until the first
|
|
@@ -605,13 +771,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
605
771
|
* # Weight
|
|
606
772
|
* `500_000_000 + 7_000_000 * bridge_txs.len()`
|
|
607
773
|
**/
|
|
608
|
-
batchProposeBridgeTx: AugmentedSubmittable<(bridgeTxs: Vec<
|
|
774
|
+
batchProposeBridgeTx: AugmentedSubmittable<(bridgeTxs: Vec<PalletBridgeBridgeTx> | (PalletBridgeBridgeTx | {
|
|
609
775
|
nonce?: any;
|
|
610
776
|
recipient?: any;
|
|
611
777
|
amount?: any;
|
|
612
|
-
|
|
778
|
+
txHash?: any;
|
|
613
779
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
614
|
-
Vec<
|
|
780
|
+
Vec<PalletBridgeBridgeTx>
|
|
615
781
|
]>;
|
|
616
782
|
/**
|
|
617
783
|
* Changes the bridge admin key.
|
|
@@ -619,8 +785,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
619
785
|
* ## Errors
|
|
620
786
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
621
787
|
**/
|
|
622
|
-
changeAdmin: AugmentedSubmittable<(admin:
|
|
623
|
-
|
|
788
|
+
changeAdmin: AugmentedSubmittable<(admin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
789
|
+
AccountId32
|
|
624
790
|
]>;
|
|
625
791
|
/**
|
|
626
792
|
* Changes the bridge limit exempted list.
|
|
@@ -628,8 +794,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
628
794
|
* ## Errors
|
|
629
795
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
630
796
|
**/
|
|
631
|
-
changeBridgeExempted: AugmentedSubmittable<(exempted: Vec<ITuple<[
|
|
632
|
-
Vec<ITuple<[
|
|
797
|
+
changeBridgeExempted: AugmentedSubmittable<(exempted: Vec<ITuple<[PolymeshPrimitivesIdentityId, bool]>> | [PolymeshPrimitivesIdentityId | string | Uint8Array, bool | boolean | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
|
|
798
|
+
Vec<ITuple<[PolymeshPrimitivesIdentityId, bool]>>
|
|
633
799
|
]>;
|
|
634
800
|
/**
|
|
635
801
|
* Changes the bridge limits.
|
|
@@ -638,9 +804,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
638
804
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
639
805
|
* - `DivisionByZero` if `duration` is zero.
|
|
640
806
|
**/
|
|
641
|
-
changeBridgeLimit: AugmentedSubmittable<(amount:
|
|
642
|
-
|
|
643
|
-
|
|
807
|
+
changeBridgeLimit: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
808
|
+
u128,
|
|
809
|
+
u32
|
|
644
810
|
]>;
|
|
645
811
|
/**
|
|
646
812
|
* Changes the controller account as admin.
|
|
@@ -648,8 +814,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
648
814
|
* ## Errors
|
|
649
815
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
650
816
|
**/
|
|
651
|
-
changeController: AugmentedSubmittable<(controller:
|
|
652
|
-
|
|
817
|
+
changeController: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
818
|
+
AccountId32
|
|
653
819
|
]>;
|
|
654
820
|
/**
|
|
655
821
|
* Changes the timelock period.
|
|
@@ -657,8 +823,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
657
823
|
* ## Errors
|
|
658
824
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
659
825
|
**/
|
|
660
|
-
changeTimelock: AugmentedSubmittable<(timelock:
|
|
661
|
-
|
|
826
|
+
changeTimelock: AugmentedSubmittable<(timelock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
827
|
+
u32
|
|
662
828
|
]>;
|
|
663
829
|
/**
|
|
664
830
|
* Forces handling a transaction by bypassing the bridge limit and timelock.
|
|
@@ -667,13 +833,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
667
833
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
668
834
|
* - `NoValidCdd` if `bridge_tx.recipient` does not have a valid CDD claim.
|
|
669
835
|
**/
|
|
670
|
-
forceHandleBridgeTx: AugmentedSubmittable<(bridgeTx:
|
|
836
|
+
forceHandleBridgeTx: AugmentedSubmittable<(bridgeTx: PalletBridgeBridgeTx | {
|
|
671
837
|
nonce?: any;
|
|
672
838
|
recipient?: any;
|
|
673
839
|
amount?: any;
|
|
674
|
-
|
|
840
|
+
txHash?: any;
|
|
675
841
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
676
|
-
|
|
842
|
+
PalletBridgeBridgeTx
|
|
677
843
|
]>;
|
|
678
844
|
/**
|
|
679
845
|
* Freezes transaction handling in the bridge module if it is not already frozen. When the
|
|
@@ -693,13 +859,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
693
859
|
* # Weight
|
|
694
860
|
* `400_000_000 + 2_000_000 * bridge_txs.len()`
|
|
695
861
|
**/
|
|
696
|
-
freezeTxs: AugmentedSubmittable<(bridgeTxs: Vec<
|
|
862
|
+
freezeTxs: AugmentedSubmittable<(bridgeTxs: Vec<PalletBridgeBridgeTx> | (PalletBridgeBridgeTx | {
|
|
697
863
|
nonce?: any;
|
|
698
864
|
recipient?: any;
|
|
699
865
|
amount?: any;
|
|
700
|
-
|
|
866
|
+
txHash?: any;
|
|
701
867
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
702
|
-
Vec<
|
|
868
|
+
Vec<PalletBridgeBridgeTx>
|
|
703
869
|
]>;
|
|
704
870
|
/**
|
|
705
871
|
* Handles an approved bridge transaction proposal.
|
|
@@ -709,13 +875,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
709
875
|
* - `TimelockedTx` if the transaction status is `Timelocked`.
|
|
710
876
|
* - `ProposalAlreadyHandled` if the transaction status is `Handled`.
|
|
711
877
|
**/
|
|
712
|
-
handleBridgeTx: AugmentedSubmittable<(bridgeTx:
|
|
878
|
+
handleBridgeTx: AugmentedSubmittable<(bridgeTx: PalletBridgeBridgeTx | {
|
|
713
879
|
nonce?: any;
|
|
714
880
|
recipient?: any;
|
|
715
881
|
amount?: any;
|
|
716
|
-
|
|
882
|
+
txHash?: any;
|
|
717
883
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
718
|
-
|
|
884
|
+
PalletBridgeBridgeTx
|
|
719
885
|
]>;
|
|
720
886
|
/**
|
|
721
887
|
* Root callable extrinsic, used as an internal call to handle a scheduled timelocked bridge transaction.
|
|
@@ -725,13 +891,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
725
891
|
* - `ProposalAlreadyHandled` if transaction status is `Handled`.
|
|
726
892
|
* - `FrozenTx` if transaction status is `Frozen`.
|
|
727
893
|
**/
|
|
728
|
-
handleScheduledBridgeTx: AugmentedSubmittable<(bridgeTx:
|
|
894
|
+
handleScheduledBridgeTx: AugmentedSubmittable<(bridgeTx: PalletBridgeBridgeTx | {
|
|
729
895
|
nonce?: any;
|
|
730
896
|
recipient?: any;
|
|
731
897
|
amount?: any;
|
|
732
|
-
|
|
898
|
+
txHash?: any;
|
|
733
899
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
734
|
-
|
|
900
|
+
PalletBridgeBridgeTx
|
|
735
901
|
]>;
|
|
736
902
|
/**
|
|
737
903
|
* Proposes a bridge transaction, which amounts to making a multisig proposal for the
|
|
@@ -741,13 +907,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
741
907
|
* ## Errors
|
|
742
908
|
* - `ControllerNotSet` if `Controllers` was not set.
|
|
743
909
|
**/
|
|
744
|
-
proposeBridgeTx: AugmentedSubmittable<(bridgeTx:
|
|
910
|
+
proposeBridgeTx: AugmentedSubmittable<(bridgeTx: PalletBridgeBridgeTx | {
|
|
745
911
|
nonce?: any;
|
|
746
912
|
recipient?: any;
|
|
747
913
|
amount?: any;
|
|
748
|
-
|
|
914
|
+
txHash?: any;
|
|
749
915
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
750
|
-
|
|
916
|
+
PalletBridgeBridgeTx
|
|
751
917
|
]>;
|
|
752
918
|
/**
|
|
753
919
|
* Remove a freeze admin.
|
|
@@ -755,8 +921,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
755
921
|
* ## Errors
|
|
756
922
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
757
923
|
**/
|
|
758
|
-
removeFreezeAdmin: AugmentedSubmittable<(freezeAdmin:
|
|
759
|
-
|
|
924
|
+
removeFreezeAdmin: AugmentedSubmittable<(freezeAdmin: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
925
|
+
AccountId32
|
|
760
926
|
]>;
|
|
761
927
|
/**
|
|
762
928
|
* Remove given bridge transactions.
|
|
@@ -765,13 +931,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
765
931
|
* - `BadAdmin` if `origin` is not `Self::admin()` account.
|
|
766
932
|
* - `NotFrozen` if a tx in `bridge_txs` is not frozen.
|
|
767
933
|
**/
|
|
768
|
-
removeTxs: AugmentedSubmittable<(bridgeTxs: Vec<
|
|
934
|
+
removeTxs: AugmentedSubmittable<(bridgeTxs: Vec<PalletBridgeBridgeTx> | (PalletBridgeBridgeTx | {
|
|
769
935
|
nonce?: any;
|
|
770
936
|
recipient?: any;
|
|
771
937
|
amount?: any;
|
|
772
|
-
|
|
938
|
+
txHash?: any;
|
|
773
939
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
774
|
-
Vec<
|
|
940
|
+
Vec<PalletBridgeBridgeTx>
|
|
775
941
|
]>;
|
|
776
942
|
/**
|
|
777
943
|
* Unfreezes transaction handling in the bridge module if it is frozen.
|
|
@@ -790,13 +956,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
790
956
|
* # Weight
|
|
791
957
|
* `400_000_000 + 7_000_000 * bridge_txs.len()`
|
|
792
958
|
**/
|
|
793
|
-
unfreezeTxs: AugmentedSubmittable<(bridgeTxs: Vec<
|
|
959
|
+
unfreezeTxs: AugmentedSubmittable<(bridgeTxs: Vec<PalletBridgeBridgeTx> | (PalletBridgeBridgeTx | {
|
|
794
960
|
nonce?: any;
|
|
795
961
|
recipient?: any;
|
|
796
962
|
amount?: any;
|
|
797
|
-
|
|
963
|
+
txHash?: any;
|
|
798
964
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
799
|
-
Vec<
|
|
965
|
+
Vec<PalletBridgeBridgeTx>
|
|
800
966
|
]>;
|
|
801
967
|
};
|
|
802
968
|
capitalDistribution: {
|
|
@@ -825,11 +991,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
825
991
|
* - `BalanceAmountProductSupplyDivisionFailed` if `ba * supply` would overflow.
|
|
826
992
|
* - Other errors can occur if the compliance manager rejects the transfer.
|
|
827
993
|
**/
|
|
828
|
-
claim: AugmentedSubmittable<(caId:
|
|
994
|
+
claim: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
829
995
|
ticker?: any;
|
|
830
|
-
|
|
996
|
+
localId?: any;
|
|
831
997
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
832
|
-
|
|
998
|
+
PalletCorporateActionsCaId
|
|
833
999
|
]>;
|
|
834
1000
|
/**
|
|
835
1001
|
* Start and attach a capital distribution, to the CA identified by `ca_id`,
|
|
@@ -861,7 +1027,6 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
861
1027
|
*
|
|
862
1028
|
* # Errors
|
|
863
1029
|
* - `UnauthorizedAgent` if `origin` is not agent-permissioned for `ticker`.
|
|
864
|
-
* - `DistributingAsset` if `ca_id.ticker == currency`.
|
|
865
1030
|
* - `ExpiryBeforePayment` if `expires_at.unwrap() <= payment_at`.
|
|
866
1031
|
* - `NoSuchCA` if `ca_id` does not identify an existing CA.
|
|
867
1032
|
* - `NoRecordDate` if CA has no record date.
|
|
@@ -870,22 +1035,24 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
870
1035
|
* - `InsufficientPortfolioBalance` if `portfolio` has less than `amount` of `currency`.
|
|
871
1036
|
* - `InsufficientBalance` if the protocol fee couldn't be charged.
|
|
872
1037
|
* - `CANotBenefit` if the CA is not of kind PredictableBenefit/UnpredictableBenefit
|
|
1038
|
+
* - `DistributionAmountIsZero` if the `amount` is zero.
|
|
1039
|
+
* - `DistributionPerShareIsZero` if the `per_share` is zero.
|
|
873
1040
|
*
|
|
874
1041
|
* # Permissions
|
|
875
1042
|
* * Asset
|
|
876
1043
|
* * Portfolio
|
|
877
1044
|
**/
|
|
878
|
-
distribute: AugmentedSubmittable<(caId:
|
|
1045
|
+
distribute: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
879
1046
|
ticker?: any;
|
|
880
|
-
|
|
881
|
-
} | string | Uint8Array, portfolio: Option<
|
|
882
|
-
|
|
883
|
-
Option<
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
Option<
|
|
1047
|
+
localId?: any;
|
|
1048
|
+
} | string | Uint8Array, portfolio: Option<u64> | null | object | string | Uint8Array, currency: PolymeshPrimitivesTicker | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1049
|
+
PalletCorporateActionsCaId,
|
|
1050
|
+
Option<u64>,
|
|
1051
|
+
PolymeshPrimitivesTicker,
|
|
1052
|
+
u128,
|
|
1053
|
+
u128,
|
|
1054
|
+
u64,
|
|
1055
|
+
Option<u64>
|
|
889
1056
|
]>;
|
|
890
1057
|
/**
|
|
891
1058
|
* Push benefit of an ongoing distribution to the given `holder`.
|
|
@@ -913,12 +1080,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
913
1080
|
* - `BalanceAmountProductSupplyDivisionFailed` if `ba * supply` would overflow.
|
|
914
1081
|
* - Other errors can occur if the compliance manager rejects the transfer.
|
|
915
1082
|
**/
|
|
916
|
-
pushBenefit: AugmentedSubmittable<(caId:
|
|
1083
|
+
pushBenefit: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
917
1084
|
ticker?: any;
|
|
918
|
-
|
|
919
|
-
} | string | Uint8Array, holder:
|
|
920
|
-
|
|
921
|
-
|
|
1085
|
+
localId?: any;
|
|
1086
|
+
} | string | Uint8Array, holder: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1087
|
+
PalletCorporateActionsCaId,
|
|
1088
|
+
PolymeshPrimitivesIdentityId
|
|
922
1089
|
]>;
|
|
923
1090
|
/**
|
|
924
1091
|
* Assuming a distribution has expired,
|
|
@@ -933,11 +1100,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
933
1100
|
* - `AlreadyReclaimed` if this function has already been called successfully.
|
|
934
1101
|
* - `NotExpired` if `now < expiry`.
|
|
935
1102
|
**/
|
|
936
|
-
reclaim: AugmentedSubmittable<(caId:
|
|
1103
|
+
reclaim: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
937
1104
|
ticker?: any;
|
|
938
|
-
|
|
1105
|
+
localId?: any;
|
|
939
1106
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
940
|
-
|
|
1107
|
+
PalletCorporateActionsCaId
|
|
941
1108
|
]>;
|
|
942
1109
|
/**
|
|
943
1110
|
* Removes a distribution that hasn't started yet,
|
|
@@ -952,11 +1119,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
952
1119
|
* - `NoSuchDistribution` if there's no capital distribution for `ca_id`.
|
|
953
1120
|
* - `DistributionStarted` if `payment_at <= now`.
|
|
954
1121
|
**/
|
|
955
|
-
removeDistribution: AugmentedSubmittable<(caId:
|
|
1122
|
+
removeDistribution: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
956
1123
|
ticker?: any;
|
|
957
|
-
|
|
1124
|
+
localId?: any;
|
|
958
1125
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
959
|
-
|
|
1126
|
+
PalletCorporateActionsCaId
|
|
960
1127
|
]>;
|
|
961
1128
|
};
|
|
962
1129
|
cddServiceProviders: {
|
|
@@ -980,8 +1147,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
980
1147
|
* * `origin` - Origin representing `AddOrigin` or root
|
|
981
1148
|
* * `who` - IdentityId to be added to the group.
|
|
982
1149
|
**/
|
|
983
|
-
addMember: AugmentedSubmittable<(who:
|
|
984
|
-
|
|
1150
|
+
addMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1151
|
+
PolymeshPrimitivesIdentityId
|
|
985
1152
|
]>;
|
|
986
1153
|
/**
|
|
987
1154
|
* Disables a member at specific moment.
|
|
@@ -1001,10 +1168,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1001
1168
|
* * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
|
|
1002
1169
|
* generated claims will be "invalid" as `who` is not considered a member of the group.
|
|
1003
1170
|
**/
|
|
1004
|
-
disableMember: AugmentedSubmittable<(who:
|
|
1005
|
-
|
|
1006
|
-
Option<
|
|
1007
|
-
Option<
|
|
1171
|
+
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, at: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1172
|
+
PolymeshPrimitivesIdentityId,
|
|
1173
|
+
Option<u64>,
|
|
1174
|
+
Option<u64>
|
|
1008
1175
|
]>;
|
|
1009
1176
|
/**
|
|
1010
1177
|
* Removes a member `who` from the set. May only be called from `RemoveOrigin` or root.
|
|
@@ -1018,8 +1185,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1018
1185
|
* * `origin` - Origin representing `RemoveOrigin` or root
|
|
1019
1186
|
* * `who` - IdentityId to be removed from the group.
|
|
1020
1187
|
**/
|
|
1021
|
-
removeMember: AugmentedSubmittable<(who:
|
|
1022
|
-
|
|
1188
|
+
removeMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1189
|
+
PolymeshPrimitivesIdentityId
|
|
1023
1190
|
]>;
|
|
1024
1191
|
/**
|
|
1025
1192
|
* Changes the membership to a new set, disregarding the existing membership.
|
|
@@ -1029,8 +1196,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1029
1196
|
* * `origin` - Origin representing `ResetOrigin` or root
|
|
1030
1197
|
* * `members` - New set of identities
|
|
1031
1198
|
**/
|
|
1032
|
-
resetMembers: AugmentedSubmittable<(members: Vec<
|
|
1033
|
-
Vec<
|
|
1199
|
+
resetMembers: AugmentedSubmittable<(members: Vec<PolymeshPrimitivesIdentityId> | (PolymeshPrimitivesIdentityId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
1200
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
1034
1201
|
]>;
|
|
1035
1202
|
/**
|
|
1036
1203
|
* Change this group's limit for how many concurrent active members they may be.
|
|
@@ -1038,8 +1205,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1038
1205
|
* # Arguments
|
|
1039
1206
|
* * `limit` - the number of active members there may be concurrently.
|
|
1040
1207
|
**/
|
|
1041
|
-
setActiveMembersLimit: AugmentedSubmittable<(limit:
|
|
1042
|
-
|
|
1208
|
+
setActiveMembersLimit: AugmentedSubmittable<(limit: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1209
|
+
u32
|
|
1043
1210
|
]>;
|
|
1044
1211
|
/**
|
|
1045
1212
|
* Swaps out one member `remove` for another member `add`.
|
|
@@ -1051,9 +1218,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1051
1218
|
* * `remove` - IdentityId to be removed from the group.
|
|
1052
1219
|
* * `add` - IdentityId to be added in place of `remove`.
|
|
1053
1220
|
**/
|
|
1054
|
-
swapMember: AugmentedSubmittable<(remove:
|
|
1055
|
-
|
|
1056
|
-
|
|
1221
|
+
swapMember: AugmentedSubmittable<(remove: PolymeshPrimitivesIdentityId | string | Uint8Array, add: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1222
|
+
PolymeshPrimitivesIdentityId,
|
|
1223
|
+
PolymeshPrimitivesIdentityId
|
|
1057
1224
|
]>;
|
|
1058
1225
|
};
|
|
1059
1226
|
checkpoint: {
|
|
@@ -1068,8 +1235,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1068
1235
|
* - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `ticker`.
|
|
1069
1236
|
* - `CounterOverflow` if the total checkpoint counter would overflow.
|
|
1070
1237
|
**/
|
|
1071
|
-
createCheckpoint: AugmentedSubmittable<(ticker:
|
|
1072
|
-
|
|
1238
|
+
createCheckpoint: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1239
|
+
PolymeshPrimitivesTicker
|
|
1073
1240
|
]>;
|
|
1074
1241
|
/**
|
|
1075
1242
|
* Creates a schedule generating checkpoints
|
|
@@ -1092,13 +1259,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1092
1259
|
* # Permissions
|
|
1093
1260
|
* * Asset
|
|
1094
1261
|
**/
|
|
1095
|
-
createSchedule: AugmentedSubmittable<(ticker:
|
|
1262
|
+
createSchedule: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, schedule: PalletAssetCheckpointScheduleSpec | {
|
|
1096
1263
|
start?: any;
|
|
1097
1264
|
period?: any;
|
|
1098
1265
|
remaining?: any;
|
|
1099
1266
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1100
|
-
|
|
1101
|
-
|
|
1267
|
+
PolymeshPrimitivesTicker,
|
|
1268
|
+
PalletAssetCheckpointScheduleSpec
|
|
1102
1269
|
]>;
|
|
1103
1270
|
/**
|
|
1104
1271
|
* Removes the checkpoint schedule of an asset identified by `id`.
|
|
@@ -1116,9 +1283,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1116
1283
|
* # Permissions
|
|
1117
1284
|
* * Asset
|
|
1118
1285
|
**/
|
|
1119
|
-
removeSchedule: AugmentedSubmittable<(ticker:
|
|
1120
|
-
|
|
1121
|
-
|
|
1286
|
+
removeSchedule: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1287
|
+
PolymeshPrimitivesTicker,
|
|
1288
|
+
u64
|
|
1122
1289
|
]>;
|
|
1123
1290
|
/**
|
|
1124
1291
|
* Sets the max complexity of a schedule set for an arbitrary ticker to `max_complexity`.
|
|
@@ -1156,8 +1323,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1156
1323
|
* * `origin` - Origin representing `AddOrigin` or root
|
|
1157
1324
|
* * `who` - IdentityId to be added to the group.
|
|
1158
1325
|
**/
|
|
1159
|
-
addMember: AugmentedSubmittable<(who:
|
|
1160
|
-
|
|
1326
|
+
addMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1327
|
+
PolymeshPrimitivesIdentityId
|
|
1161
1328
|
]>;
|
|
1162
1329
|
/**
|
|
1163
1330
|
* Disables a member at specific moment.
|
|
@@ -1177,10 +1344,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1177
1344
|
* * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
|
|
1178
1345
|
* generated claims will be "invalid" as `who` is not considered a member of the group.
|
|
1179
1346
|
**/
|
|
1180
|
-
disableMember: AugmentedSubmittable<(who:
|
|
1181
|
-
|
|
1182
|
-
Option<
|
|
1183
|
-
Option<
|
|
1347
|
+
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, at: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1348
|
+
PolymeshPrimitivesIdentityId,
|
|
1349
|
+
Option<u64>,
|
|
1350
|
+
Option<u64>
|
|
1184
1351
|
]>;
|
|
1185
1352
|
/**
|
|
1186
1353
|
* Removes a member `who` from the set. May only be called from `RemoveOrigin` or root.
|
|
@@ -1194,8 +1361,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1194
1361
|
* * `origin` - Origin representing `RemoveOrigin` or root
|
|
1195
1362
|
* * `who` - IdentityId to be removed from the group.
|
|
1196
1363
|
**/
|
|
1197
|
-
removeMember: AugmentedSubmittable<(who:
|
|
1198
|
-
|
|
1364
|
+
removeMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1365
|
+
PolymeshPrimitivesIdentityId
|
|
1199
1366
|
]>;
|
|
1200
1367
|
/**
|
|
1201
1368
|
* Changes the membership to a new set, disregarding the existing membership.
|
|
@@ -1205,8 +1372,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1205
1372
|
* * `origin` - Origin representing `ResetOrigin` or root
|
|
1206
1373
|
* * `members` - New set of identities
|
|
1207
1374
|
**/
|
|
1208
|
-
resetMembers: AugmentedSubmittable<(members: Vec<
|
|
1209
|
-
Vec<
|
|
1375
|
+
resetMembers: AugmentedSubmittable<(members: Vec<PolymeshPrimitivesIdentityId> | (PolymeshPrimitivesIdentityId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
1376
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
1210
1377
|
]>;
|
|
1211
1378
|
/**
|
|
1212
1379
|
* Change this group's limit for how many concurrent active members they may be.
|
|
@@ -1214,8 +1381,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1214
1381
|
* # Arguments
|
|
1215
1382
|
* * `limit` - the number of active members there may be concurrently.
|
|
1216
1383
|
**/
|
|
1217
|
-
setActiveMembersLimit: AugmentedSubmittable<(limit:
|
|
1218
|
-
|
|
1384
|
+
setActiveMembersLimit: AugmentedSubmittable<(limit: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1385
|
+
u32
|
|
1219
1386
|
]>;
|
|
1220
1387
|
/**
|
|
1221
1388
|
* Swaps out one member `remove` for another member `add`.
|
|
@@ -1227,9 +1394,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1227
1394
|
* * `remove` - IdentityId to be removed from the group.
|
|
1228
1395
|
* * `add` - IdentityId to be added in place of `remove`.
|
|
1229
1396
|
**/
|
|
1230
|
-
swapMember: AugmentedSubmittable<(remove:
|
|
1231
|
-
|
|
1232
|
-
|
|
1397
|
+
swapMember: AugmentedSubmittable<(remove: PolymeshPrimitivesIdentityId | string | Uint8Array, add: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1398
|
+
PolymeshPrimitivesIdentityId,
|
|
1399
|
+
PolymeshPrimitivesIdentityId
|
|
1233
1400
|
]>;
|
|
1234
1401
|
};
|
|
1235
1402
|
complianceManager: {
|
|
@@ -1246,16 +1413,16 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1246
1413
|
* # Permissions
|
|
1247
1414
|
* * Asset
|
|
1248
1415
|
**/
|
|
1249
|
-
addComplianceRequirement: AugmentedSubmittable<(ticker:
|
|
1250
|
-
|
|
1416
|
+
addComplianceRequirement: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, senderConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
|
|
1417
|
+
conditionType?: any;
|
|
1251
1418
|
issuers?: any;
|
|
1252
|
-
} | string | Uint8Array)[], receiverConditions: Vec<
|
|
1253
|
-
|
|
1419
|
+
} | string | Uint8Array)[], receiverConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
|
|
1420
|
+
conditionType?: any;
|
|
1254
1421
|
issuers?: any;
|
|
1255
1422
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
1256
|
-
|
|
1257
|
-
Vec<
|
|
1258
|
-
Vec<
|
|
1423
|
+
PolymeshPrimitivesTicker,
|
|
1424
|
+
Vec<PolymeshPrimitivesCondition>,
|
|
1425
|
+
Vec<PolymeshPrimitivesCondition>
|
|
1259
1426
|
]>;
|
|
1260
1427
|
/**
|
|
1261
1428
|
* Adds another default trusted claim issuer at the ticker level.
|
|
@@ -1268,12 +1435,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1268
1435
|
* # Permissions
|
|
1269
1436
|
* * Asset
|
|
1270
1437
|
**/
|
|
1271
|
-
addDefaultTrustedClaimIssuer: AugmentedSubmittable<(ticker:
|
|
1438
|
+
addDefaultTrustedClaimIssuer: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, issuer: PolymeshPrimitivesConditionTrustedIssuer | {
|
|
1272
1439
|
issuer?: any;
|
|
1273
|
-
|
|
1440
|
+
trustedFor?: any;
|
|
1274
1441
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1275
|
-
|
|
1276
|
-
|
|
1442
|
+
PolymeshPrimitivesTicker,
|
|
1443
|
+
PolymeshPrimitivesConditionTrustedIssuer
|
|
1277
1444
|
]>;
|
|
1278
1445
|
/**
|
|
1279
1446
|
* Modify an existing compliance requirement of a given ticker.
|
|
@@ -1286,13 +1453,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1286
1453
|
* # Permissions
|
|
1287
1454
|
* * Asset
|
|
1288
1455
|
**/
|
|
1289
|
-
changeComplianceRequirement: AugmentedSubmittable<(ticker:
|
|
1290
|
-
|
|
1291
|
-
|
|
1456
|
+
changeComplianceRequirement: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, newReq: PolymeshPrimitivesComplianceManagerComplianceRequirement | {
|
|
1457
|
+
senderConditions?: any;
|
|
1458
|
+
receiverConditions?: any;
|
|
1292
1459
|
id?: any;
|
|
1293
1460
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1294
|
-
|
|
1295
|
-
|
|
1461
|
+
PolymeshPrimitivesTicker,
|
|
1462
|
+
PolymeshPrimitivesComplianceManagerComplianceRequirement
|
|
1296
1463
|
]>;
|
|
1297
1464
|
/**
|
|
1298
1465
|
* Pauses the verification of conditions for `ticker` during transfers.
|
|
@@ -1304,8 +1471,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1304
1471
|
* # Permissions
|
|
1305
1472
|
* * Asset
|
|
1306
1473
|
**/
|
|
1307
|
-
pauseAssetCompliance: AugmentedSubmittable<(ticker:
|
|
1308
|
-
|
|
1474
|
+
pauseAssetCompliance: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1475
|
+
PolymeshPrimitivesTicker
|
|
1309
1476
|
]>;
|
|
1310
1477
|
/**
|
|
1311
1478
|
* Removes a compliance requirement from an asset's compliance.
|
|
@@ -1318,8 +1485,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1318
1485
|
* # Permissions
|
|
1319
1486
|
* * Asset
|
|
1320
1487
|
**/
|
|
1321
|
-
removeComplianceRequirement: AugmentedSubmittable<(ticker:
|
|
1322
|
-
|
|
1488
|
+
removeComplianceRequirement: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1489
|
+
PolymeshPrimitivesTicker,
|
|
1323
1490
|
u32
|
|
1324
1491
|
]>;
|
|
1325
1492
|
/**
|
|
@@ -1333,9 +1500,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1333
1500
|
* # Permissions
|
|
1334
1501
|
* * Asset
|
|
1335
1502
|
**/
|
|
1336
|
-
removeDefaultTrustedClaimIssuer: AugmentedSubmittable<(ticker:
|
|
1337
|
-
|
|
1338
|
-
|
|
1503
|
+
removeDefaultTrustedClaimIssuer: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, issuer: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1504
|
+
PolymeshPrimitivesTicker,
|
|
1505
|
+
PolymeshPrimitivesIdentityId
|
|
1339
1506
|
]>;
|
|
1340
1507
|
/**
|
|
1341
1508
|
* Replaces an asset's compliance by ticker with a new compliance.
|
|
@@ -1354,13 +1521,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1354
1521
|
* # Permissions
|
|
1355
1522
|
* * Asset
|
|
1356
1523
|
**/
|
|
1357
|
-
replaceAssetCompliance: AugmentedSubmittable<(ticker:
|
|
1358
|
-
|
|
1359
|
-
|
|
1524
|
+
replaceAssetCompliance: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetCompliance: Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement> | (PolymeshPrimitivesComplianceManagerComplianceRequirement | {
|
|
1525
|
+
senderConditions?: any;
|
|
1526
|
+
receiverConditions?: any;
|
|
1360
1527
|
id?: any;
|
|
1361
1528
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
1362
|
-
|
|
1363
|
-
Vec<
|
|
1529
|
+
PolymeshPrimitivesTicker,
|
|
1530
|
+
Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement>
|
|
1364
1531
|
]>;
|
|
1365
1532
|
/**
|
|
1366
1533
|
* Removes an asset's compliance
|
|
@@ -1372,8 +1539,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1372
1539
|
* # Permissions
|
|
1373
1540
|
* * Asset
|
|
1374
1541
|
**/
|
|
1375
|
-
resetAssetCompliance: AugmentedSubmittable<(ticker:
|
|
1376
|
-
|
|
1542
|
+
resetAssetCompliance: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1543
|
+
PolymeshPrimitivesTicker
|
|
1377
1544
|
]>;
|
|
1378
1545
|
/**
|
|
1379
1546
|
* Resumes the verification of conditions for `ticker` during transfers.
|
|
@@ -1385,8 +1552,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1385
1552
|
* # Permissions
|
|
1386
1553
|
* * Asset
|
|
1387
1554
|
**/
|
|
1388
|
-
resumeAssetCompliance: AugmentedSubmittable<(ticker:
|
|
1389
|
-
|
|
1555
|
+
resumeAssetCompliance: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1556
|
+
PolymeshPrimitivesTicker
|
|
1390
1557
|
]>;
|
|
1391
1558
|
};
|
|
1392
1559
|
corporateAction: {
|
|
@@ -1407,12 +1574,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1407
1574
|
* # Permissions
|
|
1408
1575
|
* * Asset
|
|
1409
1576
|
**/
|
|
1410
|
-
changeRecordDate: AugmentedSubmittable<(caId:
|
|
1577
|
+
changeRecordDate: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1411
1578
|
ticker?: any;
|
|
1412
|
-
|
|
1413
|
-
} | string | Uint8Array, recordDate: Option<
|
|
1414
|
-
|
|
1415
|
-
Option<
|
|
1579
|
+
localId?: any;
|
|
1580
|
+
} | string | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1581
|
+
PalletCorporateActionsCaId,
|
|
1582
|
+
Option<PalletCorporateActionsRecordDateSpec>
|
|
1416
1583
|
]>;
|
|
1417
1584
|
/**
|
|
1418
1585
|
* Initiates a CA for `ticker` of `kind` with `details` and other provided arguments.
|
|
@@ -1446,15 +1613,36 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1446
1613
|
* # Permissions
|
|
1447
1614
|
* * Asset
|
|
1448
1615
|
**/
|
|
1449
|
-
initiateCorporateAction: AugmentedSubmittable<(ticker:
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
Option<
|
|
1454
|
-
|
|
1455
|
-
Option<
|
|
1456
|
-
Option<
|
|
1457
|
-
Option<Vec<ITuple<[
|
|
1616
|
+
initiateCorporateAction: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | object | string | Uint8Array, details: Bytes | string | Uint8Array, targets: Option<PalletCorporateActionsTargetIdentities> | null | object | string | Uint8Array, defaultWithholdingTax: Option<Permill> | null | object | string | Uint8Array, withholdingTax: Option<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1617
|
+
PolymeshPrimitivesTicker,
|
|
1618
|
+
PalletCorporateActionsCaKind,
|
|
1619
|
+
u64,
|
|
1620
|
+
Option<PalletCorporateActionsRecordDateSpec>,
|
|
1621
|
+
Bytes,
|
|
1622
|
+
Option<PalletCorporateActionsTargetIdentities>,
|
|
1623
|
+
Option<Permill>,
|
|
1624
|
+
Option<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>>
|
|
1625
|
+
]>;
|
|
1626
|
+
/**
|
|
1627
|
+
* Utility extrinsic to batch `initiate_corporate_action` and `distribute`
|
|
1628
|
+
**/
|
|
1629
|
+
initiateCorporateActionAndDistribute: AugmentedSubmittable<(caArgs: PalletCorporateActionsInitiateCorporateActionArgs | {
|
|
1630
|
+
ticker?: any;
|
|
1631
|
+
kind?: any;
|
|
1632
|
+
declDate?: any;
|
|
1633
|
+
recordDate?: any;
|
|
1634
|
+
details?: any;
|
|
1635
|
+
targets?: any;
|
|
1636
|
+
defaultWithholdingTax?: any;
|
|
1637
|
+
withholdingTax?: any;
|
|
1638
|
+
} | string | Uint8Array, portfolio: Option<u64> | null | object | string | Uint8Array, currency: PolymeshPrimitivesTicker | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1639
|
+
PalletCorporateActionsInitiateCorporateActionArgs,
|
|
1640
|
+
Option<u64>,
|
|
1641
|
+
PolymeshPrimitivesTicker,
|
|
1642
|
+
u128,
|
|
1643
|
+
u128,
|
|
1644
|
+
u64,
|
|
1645
|
+
Option<u64>
|
|
1458
1646
|
]>;
|
|
1459
1647
|
/**
|
|
1460
1648
|
* Link the given CA `id` to the given `docs`.
|
|
@@ -1476,12 +1664,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1476
1664
|
* # Permissions
|
|
1477
1665
|
* * Asset
|
|
1478
1666
|
**/
|
|
1479
|
-
linkCaDoc: AugmentedSubmittable<(id:
|
|
1667
|
+
linkCaDoc: AugmentedSubmittable<(id: PalletCorporateActionsCaId | {
|
|
1480
1668
|
ticker?: any;
|
|
1481
|
-
|
|
1482
|
-
} | string | Uint8Array, docs: Vec<
|
|
1483
|
-
|
|
1484
|
-
Vec<
|
|
1669
|
+
localId?: any;
|
|
1670
|
+
} | string | Uint8Array, docs: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
1671
|
+
PalletCorporateActionsCaId,
|
|
1672
|
+
Vec<u32>
|
|
1485
1673
|
]>;
|
|
1486
1674
|
/**
|
|
1487
1675
|
* Removes the CA identified by `ca_id`.
|
|
@@ -1503,11 +1691,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1503
1691
|
* # Permissions
|
|
1504
1692
|
* * Asset
|
|
1505
1693
|
**/
|
|
1506
|
-
removeCa: AugmentedSubmittable<(caId:
|
|
1694
|
+
removeCa: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1507
1695
|
ticker?: any;
|
|
1508
|
-
|
|
1696
|
+
localId?: any;
|
|
1509
1697
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1510
|
-
|
|
1698
|
+
PalletCorporateActionsCaId
|
|
1511
1699
|
]>;
|
|
1512
1700
|
/**
|
|
1513
1701
|
* Set the default CA `TargetIdentities` to `targets`.
|
|
@@ -1524,12 +1712,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1524
1712
|
* # Permissions
|
|
1525
1713
|
* * Asset
|
|
1526
1714
|
**/
|
|
1527
|
-
setDefaultTargets: AugmentedSubmittable<(ticker:
|
|
1715
|
+
setDefaultTargets: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, targets: PalletCorporateActionsTargetIdentities | {
|
|
1528
1716
|
identities?: any;
|
|
1529
1717
|
treatment?: any;
|
|
1530
1718
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1531
|
-
|
|
1532
|
-
|
|
1719
|
+
PolymeshPrimitivesTicker,
|
|
1720
|
+
PalletCorporateActionsTargetIdentities
|
|
1533
1721
|
]>;
|
|
1534
1722
|
/**
|
|
1535
1723
|
* Set the default withholding tax for all DIDs and CAs relevant to this `ticker`.
|
|
@@ -1545,9 +1733,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1545
1733
|
* # Permissions
|
|
1546
1734
|
* * Asset
|
|
1547
1735
|
**/
|
|
1548
|
-
setDefaultWithholdingTax: AugmentedSubmittable<(ticker:
|
|
1549
|
-
|
|
1550
|
-
|
|
1736
|
+
setDefaultWithholdingTax: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, tax: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1737
|
+
PolymeshPrimitivesTicker,
|
|
1738
|
+
Permill
|
|
1551
1739
|
]>;
|
|
1552
1740
|
/**
|
|
1553
1741
|
* Set the withholding tax of `ticker` for `taxed_did` to `tax`.
|
|
@@ -1567,10 +1755,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1567
1755
|
* # Permissions
|
|
1568
1756
|
* * Asset
|
|
1569
1757
|
**/
|
|
1570
|
-
setDidWithholdingTax: AugmentedSubmittable<(ticker:
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
Option<
|
|
1758
|
+
setDidWithholdingTax: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1759
|
+
PolymeshPrimitivesTicker,
|
|
1760
|
+
PolymeshPrimitivesIdentityId,
|
|
1761
|
+
Option<Permill>
|
|
1574
1762
|
]>;
|
|
1575
1763
|
/**
|
|
1576
1764
|
* Set the max `length` of `details` in terms of bytes.
|
|
@@ -1609,19 +1797,19 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1609
1797
|
* - `TooLong` if any of the embedded strings in `meta` are too long.
|
|
1610
1798
|
* - `InsufficientBalance` if the protocol fee couldn't be charged.
|
|
1611
1799
|
**/
|
|
1612
|
-
attachBallot: AugmentedSubmittable<(caId:
|
|
1800
|
+
attachBallot: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1613
1801
|
ticker?: any;
|
|
1614
|
-
|
|
1615
|
-
} | string | Uint8Array, range:
|
|
1802
|
+
localId?: any;
|
|
1803
|
+
} | string | Uint8Array, range: PalletCorporateActionsBallotBallotTimeRange | {
|
|
1616
1804
|
start?: any;
|
|
1617
1805
|
end?: any;
|
|
1618
|
-
} | string | Uint8Array, meta:
|
|
1806
|
+
} | string | Uint8Array, meta: PalletCorporateActionsBallotBallotMeta | {
|
|
1619
1807
|
title?: any;
|
|
1620
1808
|
motions?: any;
|
|
1621
1809
|
} | string | Uint8Array, rcv: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1810
|
+
PalletCorporateActionsCaId,
|
|
1811
|
+
PalletCorporateActionsBallotBallotTimeRange,
|
|
1812
|
+
PalletCorporateActionsBallotBallotMeta,
|
|
1625
1813
|
bool
|
|
1626
1814
|
]>;
|
|
1627
1815
|
/**
|
|
@@ -1638,12 +1826,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1638
1826
|
* - `VotingAlreadyStarted` if `start >= now`, where `now` is the current time.
|
|
1639
1827
|
* - `StartAfterEnd` if `start > end`.
|
|
1640
1828
|
**/
|
|
1641
|
-
changeEnd: AugmentedSubmittable<(caId:
|
|
1829
|
+
changeEnd: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1642
1830
|
ticker?: any;
|
|
1643
|
-
|
|
1644
|
-
} | string | Uint8Array, end:
|
|
1645
|
-
|
|
1646
|
-
|
|
1831
|
+
localId?: any;
|
|
1832
|
+
} | string | Uint8Array, end: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1833
|
+
PalletCorporateActionsCaId,
|
|
1834
|
+
u64
|
|
1647
1835
|
]>;
|
|
1648
1836
|
/**
|
|
1649
1837
|
* Amend the metadata (title, motions, etc.) of the ballot of the CA identified by `ca_id`.
|
|
@@ -1660,15 +1848,15 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1660
1848
|
* - `NumberOfChoicesOverflow` if the total choice in `meta` overflows `usize`.
|
|
1661
1849
|
* - `TooLong` if any of the embedded strings in `meta` are too long.
|
|
1662
1850
|
**/
|
|
1663
|
-
changeMeta: AugmentedSubmittable<(caId:
|
|
1851
|
+
changeMeta: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1664
1852
|
ticker?: any;
|
|
1665
|
-
|
|
1666
|
-
} | string | Uint8Array, meta:
|
|
1853
|
+
localId?: any;
|
|
1854
|
+
} | string | Uint8Array, meta: PalletCorporateActionsBallotBallotMeta | {
|
|
1667
1855
|
title?: any;
|
|
1668
1856
|
motions?: any;
|
|
1669
1857
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1670
|
-
|
|
1671
|
-
|
|
1858
|
+
PalletCorporateActionsCaId,
|
|
1859
|
+
PalletCorporateActionsBallotBallotMeta
|
|
1672
1860
|
]>;
|
|
1673
1861
|
/**
|
|
1674
1862
|
* Amend RCV support for the ballot of the CA identified by `ca_id`.
|
|
@@ -1683,11 +1871,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1683
1871
|
* - `NoSuchBallot` if `ca_id` does not identify a ballot.
|
|
1684
1872
|
* - `VotingAlreadyStarted` if `start >= now`, where `now` is the current time.
|
|
1685
1873
|
**/
|
|
1686
|
-
changeRcv: AugmentedSubmittable<(caId:
|
|
1874
|
+
changeRcv: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1687
1875
|
ticker?: any;
|
|
1688
|
-
|
|
1876
|
+
localId?: any;
|
|
1689
1877
|
} | string | Uint8Array, rcv: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1690
|
-
|
|
1878
|
+
PalletCorporateActionsCaId,
|
|
1691
1879
|
bool
|
|
1692
1880
|
]>;
|
|
1693
1881
|
/**
|
|
@@ -1702,11 +1890,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1702
1890
|
* - `NoSuchBallot` if `ca_id` does not identify a ballot.
|
|
1703
1891
|
* - `VotingAlreadyStarted` if `start >= now`, where `now` is the current time.
|
|
1704
1892
|
**/
|
|
1705
|
-
removeBallot: AugmentedSubmittable<(caId:
|
|
1893
|
+
removeBallot: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1706
1894
|
ticker?: any;
|
|
1707
|
-
|
|
1895
|
+
localId?: any;
|
|
1708
1896
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1709
|
-
|
|
1897
|
+
PalletCorporateActionsCaId
|
|
1710
1898
|
]>;
|
|
1711
1899
|
/**
|
|
1712
1900
|
* Cast `votes` in the ballot attached to the CA identified by `ca_id`.
|
|
@@ -1727,15 +1915,15 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1727
1915
|
* - `InsufficientVotes` if the voting power used for any motion in `votes`
|
|
1728
1916
|
* exceeds `origin`'s DID's voting power.
|
|
1729
1917
|
**/
|
|
1730
|
-
vote: AugmentedSubmittable<(caId:
|
|
1918
|
+
vote: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1731
1919
|
ticker?: any;
|
|
1732
|
-
|
|
1733
|
-
} | string | Uint8Array, votes: Vec<
|
|
1920
|
+
localId?: any;
|
|
1921
|
+
} | string | Uint8Array, votes: Vec<PalletCorporateActionsBallotBallotVote> | (PalletCorporateActionsBallotBallotVote | {
|
|
1734
1922
|
power?: any;
|
|
1735
1923
|
fallback?: any;
|
|
1736
1924
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
1737
|
-
|
|
1738
|
-
Vec<
|
|
1925
|
+
PalletCorporateActionsCaId,
|
|
1926
|
+
Vec<PalletCorporateActionsBallotBallotVote>
|
|
1739
1927
|
]>;
|
|
1740
1928
|
};
|
|
1741
1929
|
externalAgents: {
|
|
@@ -1752,8 +1940,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1752
1940
|
* # Permissions
|
|
1753
1941
|
* * Asset
|
|
1754
1942
|
**/
|
|
1755
|
-
abdicate: AugmentedSubmittable<(ticker:
|
|
1756
|
-
|
|
1943
|
+
abdicate: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1944
|
+
PolymeshPrimitivesTicker
|
|
1757
1945
|
]>;
|
|
1758
1946
|
/**
|
|
1759
1947
|
* Accept an authorization by an agent "Alice" who issued `auth_id`
|
|
@@ -1794,7 +1982,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1794
1982
|
* * Asset
|
|
1795
1983
|
* * Agent
|
|
1796
1984
|
**/
|
|
1797
|
-
changeGroup: AugmentedSubmittable<(ticker:
|
|
1985
|
+
changeGroup: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array, group: PolymeshPrimitivesAgentAgentGroup | {
|
|
1798
1986
|
Full: any;
|
|
1799
1987
|
} | {
|
|
1800
1988
|
Custom: any;
|
|
@@ -1805,9 +1993,27 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1805
1993
|
} | {
|
|
1806
1994
|
PolymeshV1PIA: any;
|
|
1807
1995
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1996
|
+
PolymeshPrimitivesTicker,
|
|
1997
|
+
PolymeshPrimitivesIdentityId,
|
|
1998
|
+
PolymeshPrimitivesAgentAgentGroup
|
|
1999
|
+
]>;
|
|
2000
|
+
/**
|
|
2001
|
+
* Utility extrinsic to batch `create_group` and `change_group` for custom groups only.
|
|
2002
|
+
*
|
|
2003
|
+
* # Permissions
|
|
2004
|
+
* * Asset
|
|
2005
|
+
* * Agent
|
|
2006
|
+
**/
|
|
2007
|
+
createAndChangeCustomGroup: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, perms: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions | {
|
|
2008
|
+
Whole: any;
|
|
2009
|
+
} | {
|
|
2010
|
+
These: any;
|
|
2011
|
+
} | {
|
|
2012
|
+
Except: any;
|
|
2013
|
+
} | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2014
|
+
PolymeshPrimitivesTicker,
|
|
2015
|
+
PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions,
|
|
2016
|
+
PolymeshPrimitivesIdentityId
|
|
1811
2017
|
]>;
|
|
1812
2018
|
/**
|
|
1813
2019
|
* Creates a custom agent group (AG) for the given `ticker`.
|
|
@@ -1829,15 +2035,37 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1829
2035
|
* * Asset
|
|
1830
2036
|
* * Agent
|
|
1831
2037
|
**/
|
|
1832
|
-
createGroup: AugmentedSubmittable<(ticker:
|
|
2038
|
+
createGroup: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, perms: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions | {
|
|
1833
2039
|
Whole: any;
|
|
1834
2040
|
} | {
|
|
1835
2041
|
These: any;
|
|
1836
2042
|
} | {
|
|
1837
2043
|
Except: any;
|
|
1838
2044
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1839
|
-
|
|
1840
|
-
|
|
2045
|
+
PolymeshPrimitivesTicker,
|
|
2046
|
+
PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions
|
|
2047
|
+
]>;
|
|
2048
|
+
/**
|
|
2049
|
+
* Utility extrinsic to batch `create_group` and `add_auth`.
|
|
2050
|
+
*
|
|
2051
|
+
* # Permissions
|
|
2052
|
+
* * Asset
|
|
2053
|
+
* * Agent
|
|
2054
|
+
**/
|
|
2055
|
+
createGroupAndAddAuth: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, perms: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions | {
|
|
2056
|
+
Whole: any;
|
|
2057
|
+
} | {
|
|
2058
|
+
These: any;
|
|
2059
|
+
} | {
|
|
2060
|
+
Except: any;
|
|
2061
|
+
} | string | Uint8Array, target: PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2062
|
+
Identity: any;
|
|
2063
|
+
} | {
|
|
2064
|
+
Account: any;
|
|
2065
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2066
|
+
PolymeshPrimitivesTicker,
|
|
2067
|
+
PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions,
|
|
2068
|
+
PolymeshPrimitivesSecondaryKeySignatory
|
|
1841
2069
|
]>;
|
|
1842
2070
|
/**
|
|
1843
2071
|
* Remove the given `agent` from `ticker`.
|
|
@@ -1855,9 +2083,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1855
2083
|
* * Asset
|
|
1856
2084
|
* * Agent
|
|
1857
2085
|
**/
|
|
1858
|
-
removeAgent: AugmentedSubmittable<(ticker:
|
|
1859
|
-
|
|
1860
|
-
|
|
2086
|
+
removeAgent: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2087
|
+
PolymeshPrimitivesTicker,
|
|
2088
|
+
PolymeshPrimitivesIdentityId
|
|
1861
2089
|
]>;
|
|
1862
2090
|
/**
|
|
1863
2091
|
* Updates the permissions of the custom AG identified by `id`, for the given `ticker`.
|
|
@@ -1876,16 +2104,16 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1876
2104
|
* * Asset
|
|
1877
2105
|
* * Agent
|
|
1878
2106
|
**/
|
|
1879
|
-
setGroupPermissions: AugmentedSubmittable<(ticker:
|
|
2107
|
+
setGroupPermissions: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, id: u32 | AnyNumber | Uint8Array, perms: PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions | {
|
|
1880
2108
|
Whole: any;
|
|
1881
2109
|
} | {
|
|
1882
2110
|
These: any;
|
|
1883
2111
|
} | {
|
|
1884
2112
|
Except: any;
|
|
1885
2113
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
2114
|
+
PolymeshPrimitivesTicker,
|
|
2115
|
+
u32,
|
|
2116
|
+
PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions
|
|
1889
2117
|
]>;
|
|
1890
2118
|
};
|
|
1891
2119
|
grandpa: {
|
|
@@ -1898,9 +2126,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1898
2126
|
* will start the new authority set using the given finalized block as base.
|
|
1899
2127
|
* Only callable by root.
|
|
1900
2128
|
**/
|
|
1901
|
-
noteStalled: AugmentedSubmittable<(delay:
|
|
1902
|
-
|
|
1903
|
-
|
|
2129
|
+
noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2130
|
+
u32,
|
|
2131
|
+
u32
|
|
1904
2132
|
]>;
|
|
1905
2133
|
/**
|
|
1906
2134
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
@@ -1908,16 +2136,16 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1908
2136
|
* against the extracted offender. If both are valid, the offence
|
|
1909
2137
|
* will be reported.
|
|
1910
2138
|
**/
|
|
1911
|
-
reportEquivocation: AugmentedSubmittable<(equivocationProof:
|
|
2139
|
+
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpFinalityGrandpaEquivocationProof | {
|
|
1912
2140
|
setId?: any;
|
|
1913
2141
|
equivocation?: any;
|
|
1914
|
-
} | string | Uint8Array, keyOwnerProof:
|
|
2142
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
1915
2143
|
session?: any;
|
|
1916
2144
|
trieNodes?: any;
|
|
1917
2145
|
validatorCount?: any;
|
|
1918
2146
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1919
|
-
|
|
1920
|
-
|
|
2147
|
+
SpFinalityGrandpaEquivocationProof,
|
|
2148
|
+
SpSessionMembershipProof
|
|
1921
2149
|
]>;
|
|
1922
2150
|
/**
|
|
1923
2151
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
@@ -1930,16 +2158,16 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1930
2158
|
* if the block author is defined it will be defined as the equivocation
|
|
1931
2159
|
* reporter.
|
|
1932
2160
|
**/
|
|
1933
|
-
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof:
|
|
2161
|
+
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpFinalityGrandpaEquivocationProof | {
|
|
1934
2162
|
setId?: any;
|
|
1935
2163
|
equivocation?: any;
|
|
1936
|
-
} | string | Uint8Array, keyOwnerProof:
|
|
2164
|
+
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
1937
2165
|
session?: any;
|
|
1938
2166
|
trieNodes?: any;
|
|
1939
2167
|
validatorCount?: any;
|
|
1940
2168
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1941
|
-
|
|
1942
|
-
|
|
2169
|
+
SpFinalityGrandpaEquivocationProof,
|
|
2170
|
+
SpSessionMembershipProof
|
|
1943
2171
|
]>;
|
|
1944
2172
|
};
|
|
1945
2173
|
identity: {
|
|
@@ -1965,11 +2193,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1965
2193
|
/**
|
|
1966
2194
|
* Adds an authorization.
|
|
1967
2195
|
**/
|
|
1968
|
-
addAuthorization: AugmentedSubmittable<(target:
|
|
2196
|
+
addAuthorization: AugmentedSubmittable<(target: PolymeshPrimitivesSecondaryKeySignatory | {
|
|
1969
2197
|
Identity: any;
|
|
1970
2198
|
} | {
|
|
1971
2199
|
Account: any;
|
|
1972
|
-
} | string | Uint8Array, data:
|
|
2200
|
+
} | string | Uint8Array, data: PolymeshPrimitivesAuthorizationAuthorizationData | {
|
|
1973
2201
|
AttestPrimaryKeyRotation: any;
|
|
1974
2202
|
} | {
|
|
1975
2203
|
RotatePrimaryKey: any;
|
|
@@ -1989,17 +2217,17 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
1989
2217
|
AddRelayerPayingKey: any;
|
|
1990
2218
|
} | {
|
|
1991
2219
|
RotatePrimaryKeyToSecondary: any;
|
|
1992
|
-
} | string | Uint8Array, expiry: Option<
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
Option<
|
|
2220
|
+
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2221
|
+
PolymeshPrimitivesSecondaryKeySignatory,
|
|
2222
|
+
PolymeshPrimitivesAuthorizationAuthorizationData,
|
|
2223
|
+
Option<u64>
|
|
1996
2224
|
]>;
|
|
1997
2225
|
/**
|
|
1998
2226
|
* Adds a new claim record or edits an existing one.
|
|
1999
2227
|
*
|
|
2000
2228
|
* Only called by did_issuer's secondary key.
|
|
2001
2229
|
**/
|
|
2002
|
-
addClaim: AugmentedSubmittable<(target:
|
|
2230
|
+
addClaim: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, claim: PolymeshPrimitivesIdentityClaimClaim | {
|
|
2003
2231
|
Accredited: any;
|
|
2004
2232
|
} | {
|
|
2005
2233
|
Affiliate: any;
|
|
@@ -2023,10 +2251,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2023
2251
|
NoData: any;
|
|
2024
2252
|
} | {
|
|
2025
2253
|
InvestorUniquenessV2: any;
|
|
2026
|
-
} | string | Uint8Array, expiry: Option<
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
Option<
|
|
2254
|
+
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2255
|
+
PolymeshPrimitivesIdentityId,
|
|
2256
|
+
PolymeshPrimitivesIdentityClaimClaim,
|
|
2257
|
+
Option<u64>
|
|
2030
2258
|
]>;
|
|
2031
2259
|
/**
|
|
2032
2260
|
* Add `Claim::InvestorUniqueness` claim for a given target identity.
|
|
@@ -2048,8 +2276,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2048
2276
|
* * `ClaimVariantNotAllowed` When origin trying to pass claim variant other than `InvestorUniqueness`.
|
|
2049
2277
|
* * `ConfidentialScopeClaimNotAllowed` When issuer is different from target or CDD_ID is invalid for given user.
|
|
2050
2278
|
* * `InvalidScopeClaim When proof is invalid.
|
|
2279
|
+
* * `InvalidCDDId` when you are not the owner of that CDD_ID.
|
|
2051
2280
|
**/
|
|
2052
|
-
addInvestorUniquenessClaim: AugmentedSubmittable<(target:
|
|
2281
|
+
addInvestorUniquenessClaim: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, claim: PolymeshPrimitivesIdentityClaimClaim | {
|
|
2053
2282
|
Accredited: any;
|
|
2054
2283
|
} | {
|
|
2055
2284
|
Affiliate: any;
|
|
@@ -2073,19 +2302,22 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2073
2302
|
NoData: any;
|
|
2074
2303
|
} | {
|
|
2075
2304
|
InvestorUniquenessV2: any;
|
|
2076
|
-
} | string | Uint8Array, proof:
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2305
|
+
} | string | Uint8Array, proof: PolymeshPrimitivesInvestorZkproofDataV1InvestorZKProofData | {
|
|
2306
|
+
r?: any;
|
|
2307
|
+
s?: any;
|
|
2308
|
+
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2309
|
+
PolymeshPrimitivesIdentityId,
|
|
2310
|
+
PolymeshPrimitivesIdentityClaimClaim,
|
|
2311
|
+
PolymeshPrimitivesInvestorZkproofDataV1InvestorZKProofData,
|
|
2312
|
+
Option<u64>
|
|
2081
2313
|
]>;
|
|
2082
|
-
addInvestorUniquenessClaimV2: AugmentedSubmittable<(target:
|
|
2314
|
+
addInvestorUniquenessClaimV2: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, scope: PolymeshPrimitivesIdentityClaimScope | {
|
|
2083
2315
|
Identity: any;
|
|
2084
2316
|
} | {
|
|
2085
2317
|
Ticker: any;
|
|
2086
2318
|
} | {
|
|
2087
2319
|
Custom: any;
|
|
2088
|
-
} | string | Uint8Array, claim:
|
|
2320
|
+
} | string | Uint8Array, claim: PolymeshPrimitivesIdentityClaimClaim | {
|
|
2089
2321
|
Accredited: any;
|
|
2090
2322
|
} | {
|
|
2091
2323
|
Affiliate: any;
|
|
@@ -2109,37 +2341,48 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2109
2341
|
NoData: any;
|
|
2110
2342
|
} | {
|
|
2111
2343
|
InvestorUniquenessV2: any;
|
|
2112
|
-
} | string | Uint8Array, proof:
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
} | string | Uint8Array, expiry: Option<
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
Option<
|
|
2122
|
-
]>;
|
|
2123
|
-
/**
|
|
2124
|
-
*
|
|
2344
|
+
} | string | Uint8Array, proof: ConfidentialIdentityClaimProofsScopeClaimProof | {
|
|
2345
|
+
proofScopeIdWellformed?: any;
|
|
2346
|
+
proofScopeIdCddIdMatch?: any;
|
|
2347
|
+
scopeId?: any;
|
|
2348
|
+
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2349
|
+
PolymeshPrimitivesIdentityId,
|
|
2350
|
+
PolymeshPrimitivesIdentityClaimScope,
|
|
2351
|
+
PolymeshPrimitivesIdentityClaimClaim,
|
|
2352
|
+
ConfidentialIdentityClaimProofsScopeClaimProof,
|
|
2353
|
+
Option<u64>
|
|
2354
|
+
]>;
|
|
2355
|
+
/**
|
|
2356
|
+
* Adds secondary keys to target identity `id`.
|
|
2357
|
+
*
|
|
2125
2358
|
* Keys are directly added to identity because each of them has an authorization.
|
|
2126
2359
|
*
|
|
2127
|
-
* Arguments:
|
|
2128
|
-
* - `origin`
|
|
2129
|
-
* - `id`
|
|
2130
|
-
* - `additional_keys`
|
|
2131
|
-
* identity.
|
|
2360
|
+
* # Arguments:
|
|
2361
|
+
* - `origin` which must be the primary key of the identity `id`.
|
|
2362
|
+
* - `id` to which new secondary keys will be added.
|
|
2363
|
+
* - `additional_keys` which includes secondary keys,
|
|
2364
|
+
* coupled with authorization data, to add to target identity.
|
|
2132
2365
|
*
|
|
2133
|
-
*
|
|
2134
|
-
* -
|
|
2366
|
+
* # Errors
|
|
2367
|
+
* - Can only called by primary key owner.
|
|
2135
2368
|
* - Keys should be able to linked to any identity.
|
|
2136
2369
|
**/
|
|
2137
|
-
addSecondaryKeysWithAuthorization: AugmentedSubmittable<(additionalKeys: Vec<
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
} | string | Uint8Array)[], expiresAt:
|
|
2141
|
-
Vec<
|
|
2142
|
-
|
|
2370
|
+
addSecondaryKeysWithAuthorization: AugmentedSubmittable<(additionalKeys: Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth> | (PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth | {
|
|
2371
|
+
secondaryKey?: any;
|
|
2372
|
+
authSignature?: any;
|
|
2373
|
+
} | string | Uint8Array)[], expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2374
|
+
Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth>,
|
|
2375
|
+
u64
|
|
2376
|
+
]>;
|
|
2377
|
+
/**
|
|
2378
|
+
* Deprecated. Use `add_secondary_keys_with_authorization` instead.
|
|
2379
|
+
**/
|
|
2380
|
+
addSecondaryKeysWithAuthorizationOld: AugmentedSubmittable<(additionalKeys: Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1> | (PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1 | {
|
|
2381
|
+
secondaryKey?: any;
|
|
2382
|
+
authSignature?: any;
|
|
2383
|
+
} | string | Uint8Array)[], expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2384
|
+
Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1>,
|
|
2385
|
+
u64
|
|
2143
2386
|
]>;
|
|
2144
2387
|
/**
|
|
2145
2388
|
* Register `target_account` with a new Identity.
|
|
@@ -2154,12 +2397,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2154
2397
|
* # Weight
|
|
2155
2398
|
* `7_000_000_000 + 600_000 * secondary_keys.len()`
|
|
2156
2399
|
**/
|
|
2157
|
-
cddRegisterDid: AugmentedSubmittable<(targetAccount:
|
|
2158
|
-
|
|
2400
|
+
cddRegisterDid: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
|
|
2401
|
+
key?: any;
|
|
2159
2402
|
permissions?: any;
|
|
2160
2403
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
2161
|
-
|
|
2162
|
-
Vec<
|
|
2404
|
+
AccountId32,
|
|
2405
|
+
Vec<PolymeshPrimitivesSecondaryKey>
|
|
2163
2406
|
]>;
|
|
2164
2407
|
/**
|
|
2165
2408
|
* Set if CDD authorization is required for updating primary key of an identity.
|
|
@@ -2181,14 +2424,14 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2181
2424
|
/**
|
|
2182
2425
|
* Assuming this is executed by the GC voting majority, adds a new cdd claim record.
|
|
2183
2426
|
**/
|
|
2184
|
-
gcAddCddClaim: AugmentedSubmittable<(target:
|
|
2185
|
-
|
|
2427
|
+
gcAddCddClaim: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2428
|
+
PolymeshPrimitivesIdentityId
|
|
2186
2429
|
]>;
|
|
2187
2430
|
/**
|
|
2188
2431
|
* Assuming this is executed by the GC voting majority, removes an existing cdd claim record.
|
|
2189
2432
|
**/
|
|
2190
|
-
gcRevokeCddClaim: AugmentedSubmittable<(target:
|
|
2191
|
-
|
|
2433
|
+
gcRevokeCddClaim: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2434
|
+
PolymeshPrimitivesIdentityId
|
|
2192
2435
|
]>;
|
|
2193
2436
|
/**
|
|
2194
2437
|
* Invalidates any claim generated by `cdd` from `disable_from` timestamps.
|
|
@@ -2196,10 +2439,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2196
2439
|
* You can also define an expiration time,
|
|
2197
2440
|
* which will invalidate all claims generated by that `cdd` and remove it as CDD member group.
|
|
2198
2441
|
**/
|
|
2199
|
-
invalidateCddClaims: AugmentedSubmittable<(cdd:
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
Option<
|
|
2442
|
+
invalidateCddClaims: AugmentedSubmittable<(cdd: PolymeshPrimitivesIdentityId | string | Uint8Array, disableFrom: u64 | AnyNumber | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2443
|
+
PolymeshPrimitivesIdentityId,
|
|
2444
|
+
u64,
|
|
2445
|
+
Option<u64>
|
|
2203
2446
|
]>;
|
|
2204
2447
|
/**
|
|
2205
2448
|
* Join an identity as a secondary key.
|
|
@@ -2212,55 +2455,47 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2212
2455
|
**/
|
|
2213
2456
|
leaveIdentityAsKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2214
2457
|
/**
|
|
2215
|
-
*
|
|
2216
|
-
* It sets permissions for an specific `target_key` key.
|
|
2217
|
-
* Only the primary key of an identity is able to set secondary key permissions.
|
|
2458
|
+
* Placeholder for removed `legacy_set_permission_to_signer`.
|
|
2218
2459
|
**/
|
|
2219
|
-
|
|
2220
|
-
Identity: any;
|
|
2221
|
-
} | {
|
|
2222
|
-
Account: any;
|
|
2223
|
-
} | string | Uint8Array, permissions: LegacyPermissions | {
|
|
2224
|
-
asset?: any;
|
|
2225
|
-
extrinsic?: any;
|
|
2226
|
-
portfolio?: any;
|
|
2227
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2228
|
-
Signatory,
|
|
2229
|
-
LegacyPermissions
|
|
2460
|
+
placeholderLegacySetPermissionToSigner: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, [
|
|
2230
2461
|
]>;
|
|
2231
2462
|
/**
|
|
2232
2463
|
* Removes an authorization.
|
|
2233
2464
|
* _auth_issuer_pays determines whether the issuer of the authorisation pays the transaction fee
|
|
2234
2465
|
**/
|
|
2235
|
-
removeAuthorization: AugmentedSubmittable<(target:
|
|
2466
|
+
removeAuthorization: AugmentedSubmittable<(target: PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2236
2467
|
Identity: any;
|
|
2237
2468
|
} | {
|
|
2238
2469
|
Account: any;
|
|
2239
2470
|
} | string | Uint8Array, authId: u64 | AnyNumber | Uint8Array, authIssuerPays: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2240
|
-
|
|
2471
|
+
PolymeshPrimitivesSecondaryKeySignatory,
|
|
2241
2472
|
u64,
|
|
2242
2473
|
bool
|
|
2243
2474
|
]>;
|
|
2244
2475
|
/**
|
|
2245
2476
|
* Removes specified secondary keys of a DID if present.
|
|
2246
2477
|
*
|
|
2247
|
-
* #
|
|
2248
|
-
* It can only called by primary key owner.
|
|
2478
|
+
* # Errors
|
|
2249
2479
|
*
|
|
2250
|
-
*
|
|
2251
|
-
* `950_000_000 + 60_000 * signers_to_remove.len()`
|
|
2480
|
+
* The extrinsic can only called by primary key owner.
|
|
2252
2481
|
**/
|
|
2253
|
-
removeSecondaryKeys: AugmentedSubmittable<(
|
|
2482
|
+
removeSecondaryKeys: AugmentedSubmittable<(keysToRemove: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
2483
|
+
Vec<AccountId32>
|
|
2484
|
+
]>;
|
|
2485
|
+
/**
|
|
2486
|
+
* Deprecated. Use `remove_secondary_keys` instead.
|
|
2487
|
+
**/
|
|
2488
|
+
removeSecondaryKeysOld: AugmentedSubmittable<(keysToRemove: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2254
2489
|
Identity: any;
|
|
2255
2490
|
} | {
|
|
2256
2491
|
Account: any;
|
|
2257
2492
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
2258
|
-
Vec<
|
|
2493
|
+
Vec<PolymeshPrimitivesSecondaryKeySignatory>
|
|
2259
2494
|
]>;
|
|
2260
2495
|
/**
|
|
2261
2496
|
* Marks the specified claim as revoked.
|
|
2262
2497
|
**/
|
|
2263
|
-
revokeClaim: AugmentedSubmittable<(target:
|
|
2498
|
+
revokeClaim: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, claim: PolymeshPrimitivesIdentityClaimClaim | {
|
|
2264
2499
|
Accredited: any;
|
|
2265
2500
|
} | {
|
|
2266
2501
|
Affiliate: any;
|
|
@@ -2285,8 +2520,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2285
2520
|
} | {
|
|
2286
2521
|
InvestorUniquenessV2: any;
|
|
2287
2522
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2288
|
-
|
|
2289
|
-
|
|
2523
|
+
PolymeshPrimitivesIdentityId,
|
|
2524
|
+
PolymeshPrimitivesIdentityClaimClaim
|
|
2290
2525
|
]>;
|
|
2291
2526
|
/**
|
|
2292
2527
|
* Revokes a specific claim using its [Claim Unique Index](/pallet_identity/index.html#claim-unique-index) composed by `target`,
|
|
@@ -2298,10 +2533,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2298
2533
|
* - `TargetHasNonZeroBalanceAtScopeId` when you try to revoke a `InvestorUniqueness*`
|
|
2299
2534
|
* claim, and `target` identity still have any balance on the given `scope`.
|
|
2300
2535
|
**/
|
|
2301
|
-
revokeClaimByIndex: AugmentedSubmittable<(target:
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
Option<
|
|
2536
|
+
revokeClaimByIndex: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, claimType: PolymeshPrimitivesIdentityClaimClaimType | 'Accredited' | 'Affiliate' | 'BuyLockup' | 'SellLockup' | 'CustomerDueDiligence' | 'KnowYourCustomer' | 'Jurisdiction' | 'Exempted' | 'Blocked' | 'InvestorUniqueness' | 'NoType' | 'InvestorUniquenessV2' | number | Uint8Array, scope: Option<PolymeshPrimitivesIdentityClaimScope> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2537
|
+
PolymeshPrimitivesIdentityId,
|
|
2538
|
+
PolymeshPrimitivesIdentityClaimClaimType,
|
|
2539
|
+
Option<PolymeshPrimitivesIdentityClaimScope>
|
|
2305
2540
|
]>;
|
|
2306
2541
|
/**
|
|
2307
2542
|
* Call this with the new primary key. By invoking this method, caller accepts authorization
|
|
@@ -2324,21 +2559,32 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2324
2559
|
Option<u64>
|
|
2325
2560
|
]>;
|
|
2326
2561
|
/**
|
|
2327
|
-
*
|
|
2328
|
-
*
|
|
2329
|
-
* Only the primary key of an identity is able to set secondary key permissions.
|
|
2562
|
+
* Deprecated. Use `set_secondary_key_permissions` instead.
|
|
2330
2563
|
**/
|
|
2331
|
-
setPermissionToSigner: AugmentedSubmittable<(
|
|
2564
|
+
setPermissionToSigner: AugmentedSubmittable<(key: PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2332
2565
|
Identity: any;
|
|
2333
2566
|
} | {
|
|
2334
2567
|
Account: any;
|
|
2335
|
-
} | string | Uint8Array, perms:
|
|
2568
|
+
} | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
2336
2569
|
asset?: any;
|
|
2337
2570
|
extrinsic?: any;
|
|
2338
2571
|
portfolio?: any;
|
|
2339
2572
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2340
|
-
|
|
2341
|
-
|
|
2573
|
+
PolymeshPrimitivesSecondaryKeySignatory,
|
|
2574
|
+
PolymeshPrimitivesSecondaryKeyPermissions
|
|
2575
|
+
]>;
|
|
2576
|
+
/**
|
|
2577
|
+
* Sets permissions for an specific `target_key` key.
|
|
2578
|
+
*
|
|
2579
|
+
* Only the primary key of an identity is able to set secondary key permissions.
|
|
2580
|
+
**/
|
|
2581
|
+
setSecondaryKeyPermissions: AugmentedSubmittable<(key: AccountId32 | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
2582
|
+
asset?: any;
|
|
2583
|
+
extrinsic?: any;
|
|
2584
|
+
portfolio?: any;
|
|
2585
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2586
|
+
AccountId32,
|
|
2587
|
+
PolymeshPrimitivesSecondaryKeyPermissions
|
|
2342
2588
|
]>;
|
|
2343
2589
|
/**
|
|
2344
2590
|
* Re-enables all secondary keys of the caller's identity.
|
|
@@ -2348,8 +2594,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2348
2594
|
imOnline: {
|
|
2349
2595
|
/**
|
|
2350
2596
|
* # <weight>
|
|
2351
|
-
* - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len)
|
|
2352
|
-
*
|
|
2597
|
+
* - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is
|
|
2598
|
+
* length of `heartbeat.network_state.external_address`
|
|
2353
2599
|
* - `O(K)`: decoding of length `K`
|
|
2354
2600
|
* - `O(E)`: decoding/encoding of length `E`
|
|
2355
2601
|
* - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,
|
|
@@ -2357,15 +2603,15 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2357
2603
|
* - DbWrites: `ReceivedHeartbeats`
|
|
2358
2604
|
* # </weight>
|
|
2359
2605
|
**/
|
|
2360
|
-
heartbeat: AugmentedSubmittable<(heartbeat:
|
|
2606
|
+
heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | {
|
|
2361
2607
|
blockNumber?: any;
|
|
2362
2608
|
networkState?: any;
|
|
2363
2609
|
sessionIndex?: any;
|
|
2364
2610
|
authorityIndex?: any;
|
|
2365
2611
|
validatorsLen?: any;
|
|
2366
|
-
} | string | Uint8Array, signature:
|
|
2367
|
-
|
|
2368
|
-
|
|
2612
|
+
} | string | Uint8Array, signature: PalletImOnlineSr25519AppSr25519Signature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2613
|
+
PalletImOnlineHeartbeat,
|
|
2614
|
+
PalletImOnlineSr25519AppSr25519Signature
|
|
2369
2615
|
]>;
|
|
2370
2616
|
};
|
|
2371
2617
|
indices: {
|
|
@@ -2389,8 +2635,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2389
2635
|
* - DB Weight: 1 Read/Write (Accounts)
|
|
2390
2636
|
* # </weight>
|
|
2391
2637
|
**/
|
|
2392
|
-
claim: AugmentedSubmittable<(index:
|
|
2393
|
-
|
|
2638
|
+
claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2639
|
+
u32
|
|
2394
2640
|
]>;
|
|
2395
2641
|
/**
|
|
2396
2642
|
* Force an index to an account. This doesn't require a deposit. If the index is already
|
|
@@ -2415,9 +2661,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2415
2661
|
* - Writes: Indices Accounts, System Account (original owner)
|
|
2416
2662
|
* # </weight>
|
|
2417
2663
|
**/
|
|
2418
|
-
forceTransfer: AugmentedSubmittable<(updated:
|
|
2419
|
-
|
|
2420
|
-
|
|
2664
|
+
forceTransfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2665
|
+
AccountId32,
|
|
2666
|
+
u32,
|
|
2421
2667
|
bool
|
|
2422
2668
|
]>;
|
|
2423
2669
|
/**
|
|
@@ -2440,11 +2686,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2440
2686
|
* - DB Weight: 1 Read/Write (Accounts)
|
|
2441
2687
|
* # </weight>
|
|
2442
2688
|
**/
|
|
2443
|
-
free: AugmentedSubmittable<(index:
|
|
2444
|
-
|
|
2689
|
+
free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2690
|
+
u32
|
|
2445
2691
|
]>;
|
|
2446
2692
|
/**
|
|
2447
|
-
* Freeze an index so it will always point to the sender account. This consumes the
|
|
2693
|
+
* Freeze an index so it will always point to the sender account. This consumes the
|
|
2694
|
+
* deposit.
|
|
2448
2695
|
*
|
|
2449
2696
|
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
|
2450
2697
|
* non-frozen account `index`.
|
|
@@ -2462,8 +2709,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2462
2709
|
* - DB Weight: 1 Read/Write (Accounts)
|
|
2463
2710
|
* # </weight>
|
|
2464
2711
|
**/
|
|
2465
|
-
freeze: AugmentedSubmittable<(index:
|
|
2466
|
-
|
|
2712
|
+
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2713
|
+
u32
|
|
2467
2714
|
]>;
|
|
2468
2715
|
/**
|
|
2469
2716
|
* Assign an index already owned by the sender to another account. The balance reservation
|
|
@@ -2487,9 +2734,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2487
2734
|
* - Writes: Indices Accounts, System Account (recipient)
|
|
2488
2735
|
* # </weight>
|
|
2489
2736
|
**/
|
|
2490
|
-
transfer: AugmentedSubmittable<(updated:
|
|
2491
|
-
|
|
2492
|
-
|
|
2737
|
+
transfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2738
|
+
AccountId32,
|
|
2739
|
+
u32
|
|
2493
2740
|
]>;
|
|
2494
2741
|
};
|
|
2495
2742
|
multiSig: {
|
|
@@ -2517,12 +2764,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2517
2764
|
* # Arguments
|
|
2518
2765
|
* * `signer` - Signatory to add.
|
|
2519
2766
|
**/
|
|
2520
|
-
addMultisigSigner: AugmentedSubmittable<(signer:
|
|
2767
|
+
addMultisigSigner: AugmentedSubmittable<(signer: PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2521
2768
|
Identity: any;
|
|
2522
2769
|
} | {
|
|
2523
2770
|
Account: any;
|
|
2524
2771
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2525
|
-
|
|
2772
|
+
PolymeshPrimitivesSecondaryKeySignatory
|
|
2526
2773
|
]>;
|
|
2527
2774
|
/**
|
|
2528
2775
|
* Adds a signer to the multisig. This must be called by the creator identity of the
|
|
@@ -2535,13 +2782,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2535
2782
|
* # Weight
|
|
2536
2783
|
* `900_000_000 + 3_000_000 * signers.len()`
|
|
2537
2784
|
**/
|
|
2538
|
-
addMultisigSignersViaCreator: AugmentedSubmittable<(multisig:
|
|
2785
|
+
addMultisigSignersViaCreator: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, signers: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2539
2786
|
Identity: any;
|
|
2540
2787
|
} | {
|
|
2541
2788
|
Account: any;
|
|
2542
2789
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
2543
|
-
|
|
2544
|
-
Vec<
|
|
2790
|
+
AccountId32,
|
|
2791
|
+
Vec<PolymeshPrimitivesSecondaryKeySignatory>
|
|
2545
2792
|
]>;
|
|
2546
2793
|
/**
|
|
2547
2794
|
* Approves a multisig proposal using the caller's identity.
|
|
@@ -2551,8 +2798,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2551
2798
|
* * `proposal_id` - Proposal id to approve.
|
|
2552
2799
|
* If quorum is reached, the proposal will be immediately executed.
|
|
2553
2800
|
**/
|
|
2554
|
-
approveAsIdentity: AugmentedSubmittable<(multisig:
|
|
2555
|
-
|
|
2801
|
+
approveAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2802
|
+
AccountId32,
|
|
2556
2803
|
u64
|
|
2557
2804
|
]>;
|
|
2558
2805
|
/**
|
|
@@ -2563,8 +2810,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2563
2810
|
* * `proposal_id` - Proposal id to approve.
|
|
2564
2811
|
* If quorum is reached, the proposal will be immediately executed.
|
|
2565
2812
|
**/
|
|
2566
|
-
approveAsKey: AugmentedSubmittable<(multisig:
|
|
2567
|
-
|
|
2813
|
+
approveAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2814
|
+
AccountId32,
|
|
2568
2815
|
u64
|
|
2569
2816
|
]>;
|
|
2570
2817
|
/**
|
|
@@ -2584,12 +2831,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2584
2831
|
* * `signers` - Signers of the multisig (They need to accept authorization before they are actually added).
|
|
2585
2832
|
* * `sigs_required` - Number of sigs required to process a multi-sig tx.
|
|
2586
2833
|
**/
|
|
2587
|
-
createMultisig: AugmentedSubmittable<(signers: Vec<
|
|
2834
|
+
createMultisig: AugmentedSubmittable<(signers: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2588
2835
|
Identity: any;
|
|
2589
2836
|
} | {
|
|
2590
2837
|
Account: any;
|
|
2591
2838
|
} | string | Uint8Array)[], sigsRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2592
|
-
Vec<
|
|
2839
|
+
Vec<PolymeshPrimitivesSecondaryKeySignatory>,
|
|
2593
2840
|
u64
|
|
2594
2841
|
]>;
|
|
2595
2842
|
/**
|
|
@@ -2602,13 +2849,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2602
2849
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
2603
2850
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
2604
2851
|
**/
|
|
2605
|
-
createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig:
|
|
2852
|
+
createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | {
|
|
2606
2853
|
callIndex?: any;
|
|
2607
2854
|
args?: any;
|
|
2608
|
-
} | string | Uint8Array, expiry: Option<
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
Option<
|
|
2855
|
+
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2856
|
+
AccountId32,
|
|
2857
|
+
Call,
|
|
2858
|
+
Option<u64>,
|
|
2612
2859
|
bool
|
|
2613
2860
|
]>;
|
|
2614
2861
|
/**
|
|
@@ -2621,13 +2868,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2621
2868
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
2622
2869
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
2623
2870
|
**/
|
|
2624
|
-
createOrApproveProposalAsKey: AugmentedSubmittable<(multisig:
|
|
2871
|
+
createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | {
|
|
2625
2872
|
callIndex?: any;
|
|
2626
2873
|
args?: any;
|
|
2627
|
-
} | string | Uint8Array, expiry: Option<
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
Option<
|
|
2874
|
+
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2875
|
+
AccountId32,
|
|
2876
|
+
Call,
|
|
2877
|
+
Option<u64>,
|
|
2631
2878
|
bool
|
|
2632
2879
|
]>;
|
|
2633
2880
|
/**
|
|
@@ -2640,13 +2887,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2640
2887
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
2641
2888
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
2642
2889
|
**/
|
|
2643
|
-
createProposalAsIdentity: AugmentedSubmittable<(multisig:
|
|
2890
|
+
createProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | {
|
|
2644
2891
|
callIndex?: any;
|
|
2645
2892
|
args?: any;
|
|
2646
|
-
} | string | Uint8Array, expiry: Option<
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
Option<
|
|
2893
|
+
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2894
|
+
AccountId32,
|
|
2895
|
+
Call,
|
|
2896
|
+
Option<u64>,
|
|
2650
2897
|
bool
|
|
2651
2898
|
]>;
|
|
2652
2899
|
/**
|
|
@@ -2659,23 +2906,23 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2659
2906
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
2660
2907
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
2661
2908
|
**/
|
|
2662
|
-
createProposalAsKey: AugmentedSubmittable<(multisig:
|
|
2909
|
+
createProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | {
|
|
2663
2910
|
callIndex?: any;
|
|
2664
2911
|
args?: any;
|
|
2665
|
-
} | string | Uint8Array, expiry: Option<
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
Option<
|
|
2912
|
+
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2913
|
+
AccountId32,
|
|
2914
|
+
Call,
|
|
2915
|
+
Option<u64>,
|
|
2669
2916
|
bool
|
|
2670
2917
|
]>;
|
|
2671
2918
|
/**
|
|
2672
2919
|
* Root callable extrinsic, used as an internal call for executing scheduled multisig proposal.
|
|
2673
2920
|
**/
|
|
2674
|
-
executeScheduledProposal: AugmentedSubmittable<(multisig:
|
|
2675
|
-
|
|
2921
|
+
executeScheduledProposal: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array, multisigDid: PolymeshPrimitivesIdentityId | string | Uint8Array, proposalWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2922
|
+
AccountId32,
|
|
2676
2923
|
u64,
|
|
2677
|
-
|
|
2678
|
-
|
|
2924
|
+
PolymeshPrimitivesIdentityId,
|
|
2925
|
+
u64
|
|
2679
2926
|
]>;
|
|
2680
2927
|
/**
|
|
2681
2928
|
* Adds a multisig as the primary key of the current did if the current DID is the creator
|
|
@@ -2684,19 +2931,19 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2684
2931
|
* # Arguments
|
|
2685
2932
|
* * `multi_sig` - multi sig address
|
|
2686
2933
|
**/
|
|
2687
|
-
makeMultisigPrimary: AugmentedSubmittable<(multisig:
|
|
2688
|
-
|
|
2934
|
+
makeMultisigPrimary: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, optionalCddAuthId: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2935
|
+
AccountId32,
|
|
2689
2936
|
Option<u64>
|
|
2690
2937
|
]>;
|
|
2691
2938
|
/**
|
|
2692
|
-
* Adds a multisig as a
|
|
2939
|
+
* Adds a multisig as a secondary key of current did if the current did is the creator of the
|
|
2693
2940
|
* multisig.
|
|
2694
2941
|
*
|
|
2695
2942
|
* # Arguments
|
|
2696
2943
|
* * `multisig` - multi sig address
|
|
2697
2944
|
**/
|
|
2698
|
-
|
|
2699
|
-
|
|
2945
|
+
makeMultisigSecondary: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2946
|
+
AccountId32
|
|
2700
2947
|
]>;
|
|
2701
2948
|
/**
|
|
2702
2949
|
* Rejects a multisig proposal using the caller's identity.
|
|
@@ -2706,8 +2953,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2706
2953
|
* * `proposal_id` - Proposal id to reject.
|
|
2707
2954
|
* If quorum is reached, the proposal will be immediately executed.
|
|
2708
2955
|
**/
|
|
2709
|
-
rejectAsIdentity: AugmentedSubmittable<(multisig:
|
|
2710
|
-
|
|
2956
|
+
rejectAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2957
|
+
AccountId32,
|
|
2711
2958
|
u64
|
|
2712
2959
|
]>;
|
|
2713
2960
|
/**
|
|
@@ -2718,8 +2965,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2718
2965
|
* * `proposal_id` - Proposal id to reject.
|
|
2719
2966
|
* If quorum is reached, the proposal will be immediately executed.
|
|
2720
2967
|
**/
|
|
2721
|
-
rejectAsKey: AugmentedSubmittable<(multisig:
|
|
2722
|
-
|
|
2968
|
+
rejectAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposalId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2969
|
+
AccountId32,
|
|
2723
2970
|
u64
|
|
2724
2971
|
]>;
|
|
2725
2972
|
/**
|
|
@@ -2728,12 +2975,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2728
2975
|
* # Arguments
|
|
2729
2976
|
* * `signer` - Signatory to remove.
|
|
2730
2977
|
**/
|
|
2731
|
-
removeMultisigSigner: AugmentedSubmittable<(signer:
|
|
2978
|
+
removeMultisigSigner: AugmentedSubmittable<(signer: PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2732
2979
|
Identity: any;
|
|
2733
2980
|
} | {
|
|
2734
2981
|
Account: any;
|
|
2735
2982
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2736
|
-
|
|
2983
|
+
PolymeshPrimitivesSecondaryKeySignatory
|
|
2737
2984
|
]>;
|
|
2738
2985
|
/**
|
|
2739
2986
|
* Removes a signer from the multisig.
|
|
@@ -2746,13 +2993,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2746
2993
|
* # Weight
|
|
2747
2994
|
* `900_000_000 + 3_000_000 * signers.len()`
|
|
2748
2995
|
**/
|
|
2749
|
-
removeMultisigSignersViaCreator: AugmentedSubmittable<(multisig:
|
|
2996
|
+
removeMultisigSignersViaCreator: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, signers: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2750
2997
|
Identity: any;
|
|
2751
2998
|
} | {
|
|
2752
2999
|
Account: any;
|
|
2753
3000
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
2754
|
-
|
|
2755
|
-
Vec<
|
|
3001
|
+
AccountId32,
|
|
3002
|
+
Vec<PolymeshPrimitivesSecondaryKeySignatory>
|
|
2756
3003
|
]>;
|
|
2757
3004
|
};
|
|
2758
3005
|
pips: {
|
|
@@ -2765,8 +3012,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2765
3012
|
* * `IncorrectProposalState` if the proposal isn't pending.
|
|
2766
3013
|
* * `NotByCommittee` if the proposal isn't by a committee.
|
|
2767
3014
|
**/
|
|
2768
|
-
approveCommitteeProposal: AugmentedSubmittable<(id:
|
|
2769
|
-
|
|
3015
|
+
approveCommitteeProposal: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3016
|
+
u32
|
|
2770
3017
|
]>;
|
|
2771
3018
|
/**
|
|
2772
3019
|
* Clears the snapshot and emits the event `SnapshotCleared`.
|
|
@@ -2794,24 +3041,24 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2794
3041
|
* ```
|
|
2795
3042
|
* This is protects against clearing queue while GC is voting.
|
|
2796
3043
|
**/
|
|
2797
|
-
enactSnapshotResults: AugmentedSubmittable<(results: Vec<ITuple<[
|
|
2798
|
-
|
|
2799
|
-
|
|
3044
|
+
enactSnapshotResults: AugmentedSubmittable<(results: Vec<ITuple<[u32, PalletPipsSnapshotResult]>> | [
|
|
3045
|
+
u32 | AnyNumber | Uint8Array,
|
|
3046
|
+
PalletPipsSnapshotResult | 'Approve' | 'Reject' | 'Skip' | number | Uint8Array
|
|
2800
3047
|
][]) => SubmittableExtrinsic<ApiType>, [
|
|
2801
|
-
Vec<ITuple<[
|
|
3048
|
+
Vec<ITuple<[u32, PalletPipsSnapshotResult]>>
|
|
2802
3049
|
]>;
|
|
2803
3050
|
/**
|
|
2804
3051
|
* Internal dispatchable that handles execution of a PIP.
|
|
2805
3052
|
**/
|
|
2806
|
-
executeScheduledPip: AugmentedSubmittable<(id:
|
|
2807
|
-
|
|
3053
|
+
executeScheduledPip: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3054
|
+
u32
|
|
2808
3055
|
]>;
|
|
2809
3056
|
/**
|
|
2810
3057
|
* Internal dispatchable that handles expiration of a PIP.
|
|
2811
3058
|
**/
|
|
2812
|
-
expireScheduledPip: AugmentedSubmittable<(did:
|
|
2813
|
-
|
|
2814
|
-
|
|
3059
|
+
expireScheduledPip: AugmentedSubmittable<(did: PolymeshPrimitivesIdentityId | string | Uint8Array, id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3060
|
+
PolymeshPrimitivesIdentityId,
|
|
3061
|
+
u32
|
|
2815
3062
|
]>;
|
|
2816
3063
|
/**
|
|
2817
3064
|
* A network member creates a PIP by submitting a dispatchable which
|
|
@@ -2824,14 +3071,14 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2824
3071
|
* * `deposit` minimum deposit value, which is ignored if `proposer` is a committee.
|
|
2825
3072
|
* * `url` a link to a website for proposal discussion
|
|
2826
3073
|
**/
|
|
2827
|
-
propose: AugmentedSubmittable<(proposal:
|
|
3074
|
+
propose: AugmentedSubmittable<(proposal: Call | {
|
|
2828
3075
|
callIndex?: any;
|
|
2829
3076
|
args?: any;
|
|
2830
|
-
} | string | Uint8Array, deposit:
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
Option<
|
|
2834
|
-
Option<
|
|
3077
|
+
} | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, url: Option<Bytes> | null | object | string | Uint8Array, description: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3078
|
+
Call,
|
|
3079
|
+
u128,
|
|
3080
|
+
Option<Bytes>,
|
|
3081
|
+
Option<Bytes>
|
|
2835
3082
|
]>;
|
|
2836
3083
|
/**
|
|
2837
3084
|
* Prune the PIP given by the `id`, refunding any funds not already refunded.
|
|
@@ -2844,8 +3091,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2844
3091
|
* * `NoSuchProposal` if the PIP with `id` doesn't exist.
|
|
2845
3092
|
* * `IncorrectProposalState` if the proposal is active.
|
|
2846
3093
|
**/
|
|
2847
|
-
pruneProposal: AugmentedSubmittable<(id:
|
|
2848
|
-
|
|
3094
|
+
pruneProposal: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3095
|
+
u32
|
|
2849
3096
|
]>;
|
|
2850
3097
|
/**
|
|
2851
3098
|
* Rejects the PIP given by the `id`, refunding any bonded funds,
|
|
@@ -2857,8 +3104,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2857
3104
|
* * `NoSuchProposal` if the PIP with `id` doesn't exist.
|
|
2858
3105
|
* * `IncorrectProposalState` if the proposal was cancelled or executed.
|
|
2859
3106
|
**/
|
|
2860
|
-
rejectProposal: AugmentedSubmittable<(id:
|
|
2861
|
-
|
|
3107
|
+
rejectProposal: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3108
|
+
u32
|
|
2862
3109
|
]>;
|
|
2863
3110
|
/**
|
|
2864
3111
|
* Updates the execution schedule of the PIP given by `id`.
|
|
@@ -2871,9 +3118,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2871
3118
|
* * `RescheduleNotByReleaseCoordinator` unless triggered by release coordinator.
|
|
2872
3119
|
* * `IncorrectProposalState` unless the proposal was in a scheduled state.
|
|
2873
3120
|
**/
|
|
2874
|
-
rescheduleExecution: AugmentedSubmittable<(id:
|
|
2875
|
-
|
|
2876
|
-
Option<
|
|
3121
|
+
rescheduleExecution: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, until: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3122
|
+
u32,
|
|
3123
|
+
Option<u32>
|
|
2877
3124
|
]>;
|
|
2878
3125
|
/**
|
|
2879
3126
|
* Change the maximum number of active PIPs before community members cannot propose anything.
|
|
@@ -2892,8 +3139,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2892
3139
|
* # Arguments
|
|
2893
3140
|
* * `duration` the new default enactment period it takes for a scheduled PIP to be executed.
|
|
2894
3141
|
**/
|
|
2895
|
-
setDefaultEnactmentPeriod: AugmentedSubmittable<(duration:
|
|
2896
|
-
|
|
3142
|
+
setDefaultEnactmentPeriod: AugmentedSubmittable<(duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3143
|
+
u32
|
|
2897
3144
|
]>;
|
|
2898
3145
|
/**
|
|
2899
3146
|
* Change the maximum skip count (`max_pip_skip_count`).
|
|
@@ -2902,8 +3149,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2902
3149
|
* # Arguments
|
|
2903
3150
|
* * `max` skips before a PIP cannot be skipped by GC anymore.
|
|
2904
3151
|
**/
|
|
2905
|
-
setMaxPipSkipCount: AugmentedSubmittable<(max:
|
|
2906
|
-
|
|
3152
|
+
setMaxPipSkipCount: AugmentedSubmittable<(max: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3153
|
+
u8
|
|
2907
3154
|
]>;
|
|
2908
3155
|
/**
|
|
2909
3156
|
* Change the minimum proposal deposit amount required to start a proposal.
|
|
@@ -2912,8 +3159,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2912
3159
|
* # Arguments
|
|
2913
3160
|
* * `deposit` the new min deposit required to start a proposal
|
|
2914
3161
|
**/
|
|
2915
|
-
setMinProposalDeposit: AugmentedSubmittable<(deposit:
|
|
2916
|
-
|
|
3162
|
+
setMinProposalDeposit: AugmentedSubmittable<(deposit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3163
|
+
u128
|
|
2917
3164
|
]>;
|
|
2918
3165
|
/**
|
|
2919
3166
|
* Change the amount of blocks after which a pending PIP is expired.
|
|
@@ -2923,12 +3170,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2923
3170
|
* # Arguments
|
|
2924
3171
|
* * `expiry` the block-time it takes for a still-`Pending` PIP to expire.
|
|
2925
3172
|
**/
|
|
2926
|
-
setPendingPipExpiry: AugmentedSubmittable<(expiry:
|
|
3173
|
+
setPendingPipExpiry: AugmentedSubmittable<(expiry: PolymeshCommonUtilitiesMaybeBlock | {
|
|
2927
3174
|
Some: any;
|
|
2928
3175
|
} | {
|
|
2929
3176
|
None: any;
|
|
2930
3177
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2931
|
-
|
|
3178
|
+
PolymeshCommonUtilitiesMaybeBlock
|
|
2932
3179
|
]>;
|
|
2933
3180
|
/**
|
|
2934
3181
|
* Change whether completed PIPs are pruned.
|
|
@@ -2968,10 +3215,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2968
3215
|
* * `IncorrectProposalState` if PIP isn't pending.
|
|
2969
3216
|
* * `InsufficientDeposit` if `origin` cannot reserve `deposit - old_deposit`.
|
|
2970
3217
|
**/
|
|
2971
|
-
vote: AugmentedSubmittable<(id:
|
|
2972
|
-
|
|
3218
|
+
vote: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, ayeOrNay: bool | boolean | Uint8Array, deposit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3219
|
+
u32,
|
|
2973
3220
|
bool,
|
|
2974
|
-
|
|
3221
|
+
u128
|
|
2975
3222
|
]>;
|
|
2976
3223
|
};
|
|
2977
3224
|
polymeshCommittee: {
|
|
@@ -2981,12 +3228,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2981
3228
|
* # Arguments
|
|
2982
3229
|
* * `expiry` - The new expiry time.
|
|
2983
3230
|
**/
|
|
2984
|
-
setExpiresAfter: AugmentedSubmittable<(expiry:
|
|
3231
|
+
setExpiresAfter: AugmentedSubmittable<(expiry: PolymeshCommonUtilitiesMaybeBlock | {
|
|
2985
3232
|
Some: any;
|
|
2986
3233
|
} | {
|
|
2987
3234
|
None: any;
|
|
2988
3235
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2989
|
-
|
|
3236
|
+
PolymeshCommonUtilitiesMaybeBlock
|
|
2990
3237
|
]>;
|
|
2991
3238
|
/**
|
|
2992
3239
|
* Changes the release coordinator.
|
|
@@ -2997,8 +3244,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
2997
3244
|
* # Errors
|
|
2998
3245
|
* * `NotAMember`, If the new coordinator `id` is not part of the committee.
|
|
2999
3246
|
**/
|
|
3000
|
-
setReleaseCoordinator: AugmentedSubmittable<(id:
|
|
3001
|
-
|
|
3247
|
+
setReleaseCoordinator: AugmentedSubmittable<(id: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3248
|
+
PolymeshPrimitivesIdentityId
|
|
3002
3249
|
]>;
|
|
3003
3250
|
/**
|
|
3004
3251
|
* Change the vote threshold the determines the winning proposal.
|
|
@@ -3024,9 +3271,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3024
3271
|
* # Errors
|
|
3025
3272
|
* * `NotAMember`, if the `origin` is not a member of this committee.
|
|
3026
3273
|
**/
|
|
3027
|
-
vote: AugmentedSubmittable<(proposal:
|
|
3028
|
-
|
|
3029
|
-
|
|
3274
|
+
vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3275
|
+
H256,
|
|
3276
|
+
u32,
|
|
3030
3277
|
bool
|
|
3031
3278
|
]>;
|
|
3032
3279
|
/**
|
|
@@ -3056,6 +3303,220 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3056
3303
|
Call
|
|
3057
3304
|
]>;
|
|
3058
3305
|
};
|
|
3306
|
+
polymeshContracts: {
|
|
3307
|
+
/**
|
|
3308
|
+
* Calls the `contract` through its address with the given `data`.
|
|
3309
|
+
*
|
|
3310
|
+
* The contract is endowed with `value` POLYX,
|
|
3311
|
+
* but note that this is distinct from gas fees which are limited with `gas_limit`.
|
|
3312
|
+
*
|
|
3313
|
+
* The contract may optionally call back into the runtime,
|
|
3314
|
+
* executing extrinsics such as e.g., `create_asset`.
|
|
3315
|
+
* During such runtime calls, the current identity will be the one that instantiate the `contract`.
|
|
3316
|
+
* This restriction exists for security purposes.
|
|
3317
|
+
*
|
|
3318
|
+
* # Arguments
|
|
3319
|
+
* - `contract` to call.
|
|
3320
|
+
* - `value` in POLYX to transfer to the contract.
|
|
3321
|
+
* - `gas_limit` that limits how much gas execution can consume, erroring above it.
|
|
3322
|
+
* - `storage_deposit_limit` The maximum amount of balance that can be charged from the
|
|
3323
|
+
* caller to pay for the storage consumed.
|
|
3324
|
+
* - `data` The input data to pass to the contract.
|
|
3325
|
+
*
|
|
3326
|
+
* # Errors
|
|
3327
|
+
* - All the errors in `pallet_contracts::Call::call` can also happen here.
|
|
3328
|
+
* - `ContractNotFound` if `contract` doesn't exist or isn't a contract.
|
|
3329
|
+
* - CDD/Permissions are checked, unlike in `pallet_contracts`.
|
|
3330
|
+
**/
|
|
3331
|
+
call: AugmentedSubmittable<(contract: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<u128> | null | object | string | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3332
|
+
AccountId32,
|
|
3333
|
+
u128,
|
|
3334
|
+
u64,
|
|
3335
|
+
Option<u128>,
|
|
3336
|
+
Bytes
|
|
3337
|
+
]>;
|
|
3338
|
+
/**
|
|
3339
|
+
* Instantiates a smart contract defining using the given `code_hash` and `salt`.
|
|
3340
|
+
*
|
|
3341
|
+
* Unlike `instantiate_with_code`,
|
|
3342
|
+
* this assumes that at least one contract with the same WASM code has already been uploaded.
|
|
3343
|
+
*
|
|
3344
|
+
* The contract will be attached as a secondary key,
|
|
3345
|
+
* with empty permissions, to `origin`'s identity.
|
|
3346
|
+
*
|
|
3347
|
+
* The contract is transferred `endowment` amount of POLYX.
|
|
3348
|
+
* This is distinct from the `gas_limit`,
|
|
3349
|
+
* which controls how much gas the deployment code may at most consume.
|
|
3350
|
+
*
|
|
3351
|
+
* # Arguments
|
|
3352
|
+
* - `endowment` amount of POLYX to transfer to the contract.
|
|
3353
|
+
* - `gas_limit` for how much gas the `deploy` code in the contract may at most consume.
|
|
3354
|
+
* - `storage_deposit_limit` The maximum amount of balance that can be charged/reserved
|
|
3355
|
+
* from the caller to pay for the storage consumed.
|
|
3356
|
+
* - `code_hash` of an already uploaded WASM binary.
|
|
3357
|
+
* - `data` The input data to pass to the contract constructor.
|
|
3358
|
+
* - `salt` used for contract address derivation.
|
|
3359
|
+
* By varying this, the same `code` can be used under the same identity.
|
|
3360
|
+
*
|
|
3361
|
+
* # Errors
|
|
3362
|
+
* - All the errors in `pallet_contracts::Call::instantiate` can also happen here.
|
|
3363
|
+
* - CDD/Permissions are checked, unlike in `pallet_contracts`.
|
|
3364
|
+
* - Errors that arise when adding a new secondary key can also occur here.
|
|
3365
|
+
**/
|
|
3366
|
+
instantiate: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<u128> | null | object | string | Uint8Array, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3367
|
+
u128,
|
|
3368
|
+
u64,
|
|
3369
|
+
Option<u128>,
|
|
3370
|
+
H256,
|
|
3371
|
+
Bytes,
|
|
3372
|
+
Bytes
|
|
3373
|
+
]>;
|
|
3374
|
+
/**
|
|
3375
|
+
* Instantiates a smart contract defining it with the given `code` and `salt`.
|
|
3376
|
+
*
|
|
3377
|
+
* The contract will be attached as a secondary key,
|
|
3378
|
+
* with empty permissions, to `origin`'s identity.
|
|
3379
|
+
*
|
|
3380
|
+
* The contract is transferred `endowment` amount of POLYX.
|
|
3381
|
+
* This is distinct from the `gas_limit`,
|
|
3382
|
+
* which controls how much gas the deployment code may at most consume.
|
|
3383
|
+
*
|
|
3384
|
+
* # Arguments
|
|
3385
|
+
* - `endowment` amount of POLYX to transfer to the contract.
|
|
3386
|
+
* - `gas_limit` for how much gas the `deploy` code in the contract may at most consume.
|
|
3387
|
+
* - `storage_deposit_limit` The maximum amount of balance that can be charged/reserved
|
|
3388
|
+
* from the caller to pay for the storage consumed.
|
|
3389
|
+
* - `code` with the WASM binary defining the smart contract.
|
|
3390
|
+
* - `data` The input data to pass to the contract constructor.
|
|
3391
|
+
* - `salt` used for contract address derivation.
|
|
3392
|
+
* By varying this, the same `code` can be used under the same identity.
|
|
3393
|
+
*
|
|
3394
|
+
* # Errors
|
|
3395
|
+
* - All the errors in `pallet_contracts::Call::instantiate_with_code` can also happen here.
|
|
3396
|
+
* - CDD/Permissions are checked, unlike in `pallet_contracts`.
|
|
3397
|
+
* - Errors that arise when adding a new secondary key can also occur here.
|
|
3398
|
+
**/
|
|
3399
|
+
instantiateWithCode: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<u128> | null | object | string | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3400
|
+
u128,
|
|
3401
|
+
u64,
|
|
3402
|
+
Option<u128>,
|
|
3403
|
+
Bytes,
|
|
3404
|
+
Bytes,
|
|
3405
|
+
Bytes
|
|
3406
|
+
]>;
|
|
3407
|
+
/**
|
|
3408
|
+
* Instantiates a smart contract defining it with the given `code` and `salt`.
|
|
3409
|
+
*
|
|
3410
|
+
* The contract will be attached as a secondary key,
|
|
3411
|
+
* with `perms` as its permissions, to `origin`'s identity.
|
|
3412
|
+
*
|
|
3413
|
+
* The contract is transferred `endowment` amount of POLYX.
|
|
3414
|
+
* This is distinct from the `gas_limit`,
|
|
3415
|
+
* which controls how much gas the deployment code may at most consume.
|
|
3416
|
+
*
|
|
3417
|
+
* # Arguments
|
|
3418
|
+
* - `endowment` amount of POLYX to transfer to the contract.
|
|
3419
|
+
* - `gas_limit` for how much gas the `deploy` code in the contract may at most consume.
|
|
3420
|
+
* - `storage_deposit_limit` The maximum amount of balance that can be charged/reserved
|
|
3421
|
+
* from the caller to pay for the storage consumed.
|
|
3422
|
+
* - `code` with the WASM binary defining the smart contract.
|
|
3423
|
+
* - `data` The input data to pass to the contract constructor.
|
|
3424
|
+
* - `salt` used for contract address derivation.
|
|
3425
|
+
* By varying this, the same `code` can be used under the same identity.
|
|
3426
|
+
* - `perms` that the new secondary key will have.
|
|
3427
|
+
*
|
|
3428
|
+
* # Errors
|
|
3429
|
+
* - All the errors in `pallet_contracts::Call::instantiate_with_code` can also happen here.
|
|
3430
|
+
* - CDD/Permissions are checked, unlike in `pallet_contracts`.
|
|
3431
|
+
* - Errors that arise when adding a new secondary key can also occur here.
|
|
3432
|
+
**/
|
|
3433
|
+
instantiateWithCodePerms: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<u128> | null | object | string | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
3434
|
+
asset?: any;
|
|
3435
|
+
extrinsic?: any;
|
|
3436
|
+
portfolio?: any;
|
|
3437
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3438
|
+
u128,
|
|
3439
|
+
u64,
|
|
3440
|
+
Option<u128>,
|
|
3441
|
+
Bytes,
|
|
3442
|
+
Bytes,
|
|
3443
|
+
Bytes,
|
|
3444
|
+
PolymeshPrimitivesSecondaryKeyPermissions
|
|
3445
|
+
]>;
|
|
3446
|
+
/**
|
|
3447
|
+
* Instantiates a smart contract defining using the given `code_hash` and `salt`.
|
|
3448
|
+
*
|
|
3449
|
+
* Unlike `instantiate_with_code`,
|
|
3450
|
+
* this assumes that at least one contract with the same WASM code has already been uploaded.
|
|
3451
|
+
*
|
|
3452
|
+
* The contract will be attached as a secondary key,
|
|
3453
|
+
* with `perms` as its permissions, to `origin`'s identity.
|
|
3454
|
+
*
|
|
3455
|
+
* The contract is transferred `endowment` amount of POLYX.
|
|
3456
|
+
* This is distinct from the `gas_limit`,
|
|
3457
|
+
* which controls how much gas the deployment code may at most consume.
|
|
3458
|
+
*
|
|
3459
|
+
* # Arguments
|
|
3460
|
+
* - `endowment` amount of POLYX to transfer to the contract.
|
|
3461
|
+
* - `gas_limit` for how much gas the `deploy` code in the contract may at most consume.
|
|
3462
|
+
* - `storage_deposit_limit` The maximum amount of balance that can be charged/reserved
|
|
3463
|
+
* from the caller to pay for the storage consumed.
|
|
3464
|
+
* - `code_hash` of an already uploaded WASM binary.
|
|
3465
|
+
* - `data` The input data to pass to the contract constructor.
|
|
3466
|
+
* - `salt` used for contract address derivation.
|
|
3467
|
+
* By varying this, the same `code` can be used under the same identity.
|
|
3468
|
+
* - `perms` that the new secondary key will have.
|
|
3469
|
+
*
|
|
3470
|
+
* # Errors
|
|
3471
|
+
* - All the errors in `pallet_contracts::Call::instantiate` can also happen here.
|
|
3472
|
+
* - CDD/Permissions are checked, unlike in `pallet_contracts`.
|
|
3473
|
+
* - Errors that arise when adding a new secondary key can also occur here.
|
|
3474
|
+
**/
|
|
3475
|
+
instantiateWithHashPerms: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<u128> | null | object | string | Uint8Array, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
3476
|
+
asset?: any;
|
|
3477
|
+
extrinsic?: any;
|
|
3478
|
+
portfolio?: any;
|
|
3479
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3480
|
+
u128,
|
|
3481
|
+
u64,
|
|
3482
|
+
Option<u128>,
|
|
3483
|
+
H256,
|
|
3484
|
+
Bytes,
|
|
3485
|
+
Bytes,
|
|
3486
|
+
PolymeshPrimitivesSecondaryKeyPermissions
|
|
3487
|
+
]>;
|
|
3488
|
+
/**
|
|
3489
|
+
* Remove the code stored under `code_hash` and refund the deposit to its owner.
|
|
3490
|
+
*
|
|
3491
|
+
* A code can only be removed by its original uploader (its owner) and only if it is
|
|
3492
|
+
* not used by any contract.
|
|
3493
|
+
**/
|
|
3494
|
+
removeCode: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3495
|
+
H256
|
|
3496
|
+
]>;
|
|
3497
|
+
/**
|
|
3498
|
+
* Upload new `code` without instantiating a contract from it.
|
|
3499
|
+
*
|
|
3500
|
+
* If the code does not already exist a deposit is reserved from the caller
|
|
3501
|
+
* and unreserved only when [`Self::remove_code`] is called. The size of the reserve
|
|
3502
|
+
* depends on the instrumented size of the the supplied `code`.
|
|
3503
|
+
*
|
|
3504
|
+
* If the code already exists in storage it will still return `Ok` and upgrades
|
|
3505
|
+
* the in storage version to the current
|
|
3506
|
+
* [`InstructionWeights::version`](InstructionWeights).
|
|
3507
|
+
*
|
|
3508
|
+
* # Note
|
|
3509
|
+
*
|
|
3510
|
+
* Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
|
|
3511
|
+
* To avoid this situation a constructor could employ access control so that it can
|
|
3512
|
+
* only be instantiated by permissioned entities. The same is true when uploading
|
|
3513
|
+
* through [`Self::instantiate_with_code`].
|
|
3514
|
+
**/
|
|
3515
|
+
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<u128> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3516
|
+
Bytes,
|
|
3517
|
+
Option<u128>
|
|
3518
|
+
]>;
|
|
3519
|
+
};
|
|
3059
3520
|
portfolio: {
|
|
3060
3521
|
acceptPortfolioCustody: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3061
3522
|
u64
|
|
@@ -3063,8 +3524,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3063
3524
|
/**
|
|
3064
3525
|
* Creates a portfolio with the given `name`.
|
|
3065
3526
|
**/
|
|
3066
|
-
createPortfolio: AugmentedSubmittable<(name:
|
|
3067
|
-
|
|
3527
|
+
createPortfolio: AugmentedSubmittable<(name: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3528
|
+
Bytes
|
|
3068
3529
|
]>;
|
|
3069
3530
|
/**
|
|
3070
3531
|
* Deletes a user portfolio. A portfolio can be deleted only if it has no funds.
|
|
@@ -3076,8 +3537,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3076
3537
|
* # Permissions
|
|
3077
3538
|
* * Portfolio
|
|
3078
3539
|
**/
|
|
3079
|
-
deletePortfolio: AugmentedSubmittable<(num:
|
|
3080
|
-
|
|
3540
|
+
deletePortfolio: AugmentedSubmittable<(num: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3541
|
+
u64
|
|
3081
3542
|
]>;
|
|
3082
3543
|
/**
|
|
3083
3544
|
* Moves a token amount from one portfolio of an identity to another portfolio of the same
|
|
@@ -3096,20 +3557,20 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3096
3557
|
* # Permissions
|
|
3097
3558
|
* * Portfolio
|
|
3098
3559
|
**/
|
|
3099
|
-
movePortfolioFunds: AugmentedSubmittable<(from:
|
|
3560
|
+
movePortfolioFunds: AugmentedSubmittable<(from: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3100
3561
|
did?: any;
|
|
3101
3562
|
kind?: any;
|
|
3102
|
-
} | string | Uint8Array, to:
|
|
3563
|
+
} | string | Uint8Array, to: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3103
3564
|
did?: any;
|
|
3104
3565
|
kind?: any;
|
|
3105
|
-
} | string | Uint8Array, items: Vec<
|
|
3566
|
+
} | string | Uint8Array, items: Vec<PalletPortfolioMovePortfolioItem> | (PalletPortfolioMovePortfolioItem | {
|
|
3106
3567
|
ticker?: any;
|
|
3107
3568
|
amount?: any;
|
|
3108
3569
|
memo?: any;
|
|
3109
3570
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
Vec<
|
|
3571
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
3572
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
3573
|
+
Vec<PalletPortfolioMovePortfolioItem>
|
|
3113
3574
|
]>;
|
|
3114
3575
|
/**
|
|
3115
3576
|
* When called by the custodian of `portfolio_id`,
|
|
@@ -3121,11 +3582,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3121
3582
|
* # Permissions
|
|
3122
3583
|
* * Portfolio
|
|
3123
3584
|
**/
|
|
3124
|
-
quitPortfolioCustody: AugmentedSubmittable<(pid:
|
|
3585
|
+
quitPortfolioCustody: AugmentedSubmittable<(pid: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3125
3586
|
did?: any;
|
|
3126
3587
|
kind?: any;
|
|
3127
3588
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3128
|
-
|
|
3589
|
+
PolymeshPrimitivesIdentityIdPortfolioId
|
|
3129
3590
|
]>;
|
|
3130
3591
|
/**
|
|
3131
3592
|
* Renames a non-default portfolio.
|
|
@@ -3136,9 +3597,43 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3136
3597
|
* # Permissions
|
|
3137
3598
|
* * Portfolio
|
|
3138
3599
|
**/
|
|
3139
|
-
renamePortfolio: AugmentedSubmittable<(num:
|
|
3140
|
-
|
|
3141
|
-
|
|
3600
|
+
renamePortfolio: AugmentedSubmittable<(num: u64 | AnyNumber | Uint8Array, toName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3601
|
+
u64,
|
|
3602
|
+
Bytes
|
|
3603
|
+
]>;
|
|
3604
|
+
};
|
|
3605
|
+
preimage: {
|
|
3606
|
+
/**
|
|
3607
|
+
* Register a preimage on-chain.
|
|
3608
|
+
*
|
|
3609
|
+
* If the preimage was previously requested, no fees or deposits are taken for providing
|
|
3610
|
+
* the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.
|
|
3611
|
+
**/
|
|
3612
|
+
notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3613
|
+
Bytes
|
|
3614
|
+
]>;
|
|
3615
|
+
/**
|
|
3616
|
+
* Request a preimage be uploaded to the chain without paying any fees or deposits.
|
|
3617
|
+
*
|
|
3618
|
+
* If the preimage requests has already been provided on-chain, we unreserve any deposit
|
|
3619
|
+
* a user may have paid, and take the control of the preimage out of their hands.
|
|
3620
|
+
**/
|
|
3621
|
+
requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3622
|
+
H256
|
|
3623
|
+
]>;
|
|
3624
|
+
/**
|
|
3625
|
+
* Clear an unrequested preimage from the runtime storage.
|
|
3626
|
+
**/
|
|
3627
|
+
unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3628
|
+
H256
|
|
3629
|
+
]>;
|
|
3630
|
+
/**
|
|
3631
|
+
* Clear a previously made request for a preimage.
|
|
3632
|
+
*
|
|
3633
|
+
* NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
|
|
3634
|
+
**/
|
|
3635
|
+
unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3636
|
+
H256
|
|
3142
3637
|
]>;
|
|
3143
3638
|
};
|
|
3144
3639
|
protocolFee: {
|
|
@@ -3148,9 +3643,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3148
3643
|
* # Errors
|
|
3149
3644
|
* * `BadOrigin` - Only root allowed.
|
|
3150
3645
|
**/
|
|
3151
|
-
changeBaseFee: AugmentedSubmittable<(op:
|
|
3152
|
-
|
|
3153
|
-
|
|
3646
|
+
changeBaseFee: AugmentedSubmittable<(op: PolymeshCommonUtilitiesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityCddRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | number | Uint8Array, baseFee: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3647
|
+
PolymeshCommonUtilitiesProtocolFeeProtocolOp,
|
|
3648
|
+
u128
|
|
3154
3649
|
]>;
|
|
3155
3650
|
/**
|
|
3156
3651
|
* Changes the fee coefficient for the root origin.
|
|
@@ -3158,8 +3653,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3158
3653
|
* # Errors
|
|
3159
3654
|
* * `BadOrigin` - Only root allowed.
|
|
3160
3655
|
**/
|
|
3161
|
-
changeCoefficient: AugmentedSubmittable<(coefficient:
|
|
3162
|
-
|
|
3656
|
+
changeCoefficient: AugmentedSubmittable<(coefficient: PolymeshPrimitivesPosRatio) => SubmittableExtrinsic<ApiType>, [
|
|
3657
|
+
PolymeshPrimitivesPosRatio
|
|
3163
3658
|
]>;
|
|
3164
3659
|
};
|
|
3165
3660
|
relayer: {
|
|
@@ -3174,7 +3669,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3174
3669
|
* - `AuthorizationError::Expired` if `auth_id` the authorization has expired.
|
|
3175
3670
|
* - `AuthorizationError::BadType` if `auth_id` was not a `AddRelayerPayingKey` authorization.
|
|
3176
3671
|
* - `NotAuthorizedForUserKey` if `origin` is not authorized to accept the authorization for the `user_key`.
|
|
3177
|
-
* - `NotAuthorizedForPayingKey` if the authorization was created
|
|
3672
|
+
* - `NotAuthorizedForPayingKey` if the authorization was created an identity different from the `paying_key`'s identity.
|
|
3178
3673
|
* - `UserKeyCddMissing` if the `user_key` is not attached to a CDD'd identity.
|
|
3179
3674
|
* - `PayingKeyCddMissing` if the `paying_key` is not attached to a CDD'd identity.
|
|
3180
3675
|
* - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
|
|
@@ -3195,9 +3690,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3195
3690
|
* - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
|
|
3196
3691
|
* - `Overlow` if the subsidy has less then `amount` POLYX remaining.
|
|
3197
3692
|
**/
|
|
3198
|
-
decreasePolyxLimit: AugmentedSubmittable<(userKey:
|
|
3199
|
-
|
|
3200
|
-
|
|
3693
|
+
decreasePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3694
|
+
AccountId32,
|
|
3695
|
+
u128
|
|
3201
3696
|
]>;
|
|
3202
3697
|
/**
|
|
3203
3698
|
* Increase the available POLYX for a `user_key`.
|
|
@@ -3212,9 +3707,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3212
3707
|
* - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
|
|
3213
3708
|
* - `Overlow` if the subsidy's remaining POLYX would have overflowed `u128::MAX`.
|
|
3214
3709
|
**/
|
|
3215
|
-
increasePolyxLimit: AugmentedSubmittable<(userKey:
|
|
3216
|
-
|
|
3217
|
-
|
|
3710
|
+
increasePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3711
|
+
AccountId32,
|
|
3712
|
+
u128
|
|
3218
3713
|
]>;
|
|
3219
3714
|
/**
|
|
3220
3715
|
* Removes the `paying_key` from a `user_key`.
|
|
@@ -3229,9 +3724,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3229
3724
|
* - `NotPayingKey` if the `paying_key` doesn't match the current `paying_key`.
|
|
3230
3725
|
* - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
|
|
3231
3726
|
**/
|
|
3232
|
-
removePayingKey: AugmentedSubmittable<(userKey:
|
|
3233
|
-
|
|
3234
|
-
|
|
3727
|
+
removePayingKey: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, payingKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3728
|
+
AccountId32,
|
|
3729
|
+
AccountId32
|
|
3235
3730
|
]>;
|
|
3236
3731
|
/**
|
|
3237
3732
|
* Creates an authorization to allow `user_key` to accept the caller (`origin == paying_key`) as their subsidiser.
|
|
@@ -3243,9 +3738,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3243
3738
|
* # Errors
|
|
3244
3739
|
* - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
|
|
3245
3740
|
**/
|
|
3246
|
-
setPayingKey: AugmentedSubmittable<(userKey:
|
|
3247
|
-
|
|
3248
|
-
|
|
3741
|
+
setPayingKey: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, polyxLimit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3742
|
+
AccountId32,
|
|
3743
|
+
u128
|
|
3249
3744
|
]>;
|
|
3250
3745
|
/**
|
|
3251
3746
|
* Updates the available POLYX for a `user_key`.
|
|
@@ -3259,9 +3754,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3259
3754
|
* - `NotPayingKey` if `origin` doesn't match the current `paying_key`.
|
|
3260
3755
|
* - `UnauthorizedCaller` if `origin` is not authorized to call this extrinsic.
|
|
3261
3756
|
**/
|
|
3262
|
-
updatePolyxLimit: AugmentedSubmittable<(userKey:
|
|
3263
|
-
|
|
3264
|
-
|
|
3757
|
+
updatePolyxLimit: AugmentedSubmittable<(userKey: AccountId32 | string | Uint8Array, polyxLimit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3758
|
+
AccountId32,
|
|
3759
|
+
u128
|
|
3265
3760
|
]>;
|
|
3266
3761
|
};
|
|
3267
3762
|
rewards: {
|
|
@@ -3280,78 +3775,52 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3280
3775
|
* * `ItnRewardAlreadyClaimed` - Reward issued to the `itn_address` has already been claimed.
|
|
3281
3776
|
* * `UnknownItnAddress` - `itn_address` is not in the rewards table and has no reward to be claimed.
|
|
3282
3777
|
**/
|
|
3283
|
-
claimItnReward: AugmentedSubmittable<(rewardAddress:
|
|
3778
|
+
claimItnReward: AugmentedSubmittable<(rewardAddress: AccountId32 | string | Uint8Array, itnAddress: AccountId32 | string | Uint8Array, signature: SpRuntimeMultiSignature | {
|
|
3284
3779
|
Ed25519: any;
|
|
3285
3780
|
} | {
|
|
3286
3781
|
Sr25519: any;
|
|
3287
3782
|
} | {
|
|
3288
3783
|
Ecdsa: any;
|
|
3289
3784
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3785
|
+
AccountId32,
|
|
3786
|
+
AccountId32,
|
|
3787
|
+
SpRuntimeMultiSignature
|
|
3293
3788
|
]>;
|
|
3294
|
-
setItnRewardStatus: AugmentedSubmittable<(itnAddress:
|
|
3789
|
+
setItnRewardStatus: AugmentedSubmittable<(itnAddress: AccountId32 | string | Uint8Array, status: PalletRewardsItnRewardStatus | {
|
|
3295
3790
|
Unclaimed: any;
|
|
3296
3791
|
} | {
|
|
3297
3792
|
Claimed: any;
|
|
3298
3793
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3299
|
-
|
|
3300
|
-
|
|
3794
|
+
AccountId32,
|
|
3795
|
+
PalletRewardsItnRewardStatus
|
|
3301
3796
|
]>;
|
|
3302
3797
|
};
|
|
3303
3798
|
scheduler: {
|
|
3304
3799
|
/**
|
|
3305
3800
|
* Cancel an anonymously scheduled task.
|
|
3306
|
-
*
|
|
3307
|
-
* # <weight>
|
|
3308
|
-
* - S = Number of already scheduled calls
|
|
3309
|
-
* - Base Weight: 22.15 + 2.869 * S µs
|
|
3310
|
-
* - DB Weight:
|
|
3311
|
-
* - Read: Agenda
|
|
3312
|
-
* - Write: Agenda, Lookup
|
|
3313
|
-
* - Will use base weight of 100 which should be good for up to 30 scheduled calls
|
|
3314
|
-
* # </weight>
|
|
3315
3801
|
**/
|
|
3316
|
-
cancel: AugmentedSubmittable<(when:
|
|
3317
|
-
|
|
3802
|
+
cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3803
|
+
u32,
|
|
3318
3804
|
u32
|
|
3319
3805
|
]>;
|
|
3320
3806
|
/**
|
|
3321
3807
|
* Cancel a named scheduled task.
|
|
3322
|
-
*
|
|
3323
|
-
* # <weight>
|
|
3324
|
-
* - S = Number of already scheduled calls
|
|
3325
|
-
* - Base Weight: 24.91 + 2.907 * S µs
|
|
3326
|
-
* - DB Weight:
|
|
3327
|
-
* - Read: Agenda, Lookup
|
|
3328
|
-
* - Write: Agenda, Lookup
|
|
3329
|
-
* - Will use base weight of 100 which should be good for up to 30 scheduled calls
|
|
3330
|
-
* # </weight>
|
|
3331
3808
|
**/
|
|
3332
3809
|
cancelNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3333
3810
|
Bytes
|
|
3334
3811
|
]>;
|
|
3335
3812
|
/**
|
|
3336
3813
|
* Anonymously schedule a task.
|
|
3337
|
-
*
|
|
3338
|
-
* # <weight>
|
|
3339
|
-
* - S = Number of already scheduled calls
|
|
3340
|
-
* - Base Weight: 22.29 + .126 * S µs
|
|
3341
|
-
* - DB Weight:
|
|
3342
|
-
* - Read: Agenda
|
|
3343
|
-
* - Write: Agenda
|
|
3344
|
-
* - Will use base weight of 25 which should be good for up to 30 scheduled calls
|
|
3345
|
-
* # </weight>
|
|
3346
3814
|
**/
|
|
3347
|
-
schedule: AugmentedSubmittable<(when:
|
|
3348
|
-
|
|
3349
|
-
|
|
3815
|
+
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
3816
|
+
Value: any;
|
|
3817
|
+
} | {
|
|
3818
|
+
Hash: any;
|
|
3350
3819
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3351
|
-
|
|
3352
|
-
Option<
|
|
3353
|
-
|
|
3354
|
-
|
|
3820
|
+
u32,
|
|
3821
|
+
Option<ITuple<[u32, u32]>>,
|
|
3822
|
+
u8,
|
|
3823
|
+
FrameSupportScheduleMaybeHashed
|
|
3355
3824
|
]>;
|
|
3356
3825
|
/**
|
|
3357
3826
|
* Anonymously schedule a task after a delay.
|
|
@@ -3360,68 +3829,66 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3360
3829
|
* Same as [`schedule`].
|
|
3361
3830
|
* # </weight>
|
|
3362
3831
|
**/
|
|
3363
|
-
scheduleAfter: AugmentedSubmittable<(after:
|
|
3364
|
-
|
|
3365
|
-
|
|
3832
|
+
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
3833
|
+
Value: any;
|
|
3834
|
+
} | {
|
|
3835
|
+
Hash: any;
|
|
3366
3836
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3367
|
-
|
|
3368
|
-
Option<
|
|
3369
|
-
|
|
3370
|
-
|
|
3837
|
+
u32,
|
|
3838
|
+
Option<ITuple<[u32, u32]>>,
|
|
3839
|
+
u8,
|
|
3840
|
+
FrameSupportScheduleMaybeHashed
|
|
3371
3841
|
]>;
|
|
3372
3842
|
/**
|
|
3373
3843
|
* Schedule a named task.
|
|
3374
|
-
*
|
|
3375
|
-
* # <weight>
|
|
3376
|
-
* - S = Number of already scheduled calls
|
|
3377
|
-
* - Base Weight: 29.6 + .159 * S µs
|
|
3378
|
-
* - DB Weight:
|
|
3379
|
-
* - Read: Agenda, Lookup
|
|
3380
|
-
* - Write: Agenda, Lookup
|
|
3381
|
-
* - Will use base weight of 35 which should be good for more than 30 scheduled calls
|
|
3382
|
-
* # </weight>
|
|
3383
3844
|
**/
|
|
3384
|
-
scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when:
|
|
3385
|
-
|
|
3386
|
-
|
|
3845
|
+
scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
3846
|
+
Value: any;
|
|
3847
|
+
} | {
|
|
3848
|
+
Hash: any;
|
|
3387
3849
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3388
3850
|
Bytes,
|
|
3389
|
-
|
|
3390
|
-
Option<
|
|
3391
|
-
|
|
3392
|
-
|
|
3851
|
+
u32,
|
|
3852
|
+
Option<ITuple<[u32, u32]>>,
|
|
3853
|
+
u8,
|
|
3854
|
+
FrameSupportScheduleMaybeHashed
|
|
3393
3855
|
]>;
|
|
3394
3856
|
/**
|
|
3395
3857
|
* Schedule a named task after a delay.
|
|
3396
3858
|
*
|
|
3397
3859
|
* # <weight>
|
|
3398
|
-
* Same as [`schedule_named`].
|
|
3860
|
+
* Same as [`schedule_named`](Self::schedule_named).
|
|
3399
3861
|
* # </weight>
|
|
3400
3862
|
**/
|
|
3401
|
-
scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after:
|
|
3402
|
-
|
|
3403
|
-
|
|
3863
|
+
scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
3864
|
+
Value: any;
|
|
3865
|
+
} | {
|
|
3866
|
+
Hash: any;
|
|
3404
3867
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3405
3868
|
Bytes,
|
|
3406
|
-
|
|
3407
|
-
Option<
|
|
3408
|
-
|
|
3409
|
-
|
|
3869
|
+
u32,
|
|
3870
|
+
Option<ITuple<[u32, u32]>>,
|
|
3871
|
+
u8,
|
|
3872
|
+
FrameSupportScheduleMaybeHashed
|
|
3410
3873
|
]>;
|
|
3411
3874
|
};
|
|
3412
3875
|
session: {
|
|
3413
3876
|
/**
|
|
3414
3877
|
* Removes any session key(s) of the function caller.
|
|
3878
|
+
*
|
|
3415
3879
|
* This doesn't take effect until the next session.
|
|
3416
3880
|
*
|
|
3417
|
-
* The dispatch origin of this function must be
|
|
3881
|
+
* The dispatch origin of this function must be Signed and the account must be either be
|
|
3882
|
+
* convertible to a validator ID using the chain's typical addressing system (this usually
|
|
3883
|
+
* means being a controller account) or directly convertible into a validator ID (which
|
|
3884
|
+
* usually means being a stash account).
|
|
3418
3885
|
*
|
|
3419
3886
|
* # <weight>
|
|
3420
|
-
* - Complexity: `O(1)` in number of key types.
|
|
3421
|
-
*
|
|
3887
|
+
* - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length
|
|
3888
|
+
* of `T::Keys::key_ids()` which is fixed.
|
|
3422
3889
|
* - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`
|
|
3423
3890
|
* - DbWrites: `NextKeys`, `origin account`
|
|
3424
|
-
* - DbWrites per key id: `
|
|
3891
|
+
* - DbWrites per key id: `KeyOwner`
|
|
3425
3892
|
* # </weight>
|
|
3426
3893
|
**/
|
|
3427
3894
|
purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
@@ -3433,16 +3900,21 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3433
3900
|
* The dispatch origin of this function must be signed.
|
|
3434
3901
|
*
|
|
3435
3902
|
* # <weight>
|
|
3436
|
-
* - Complexity: `O(1)
|
|
3437
|
-
*
|
|
3903
|
+
* - Complexity: `O(1)`. Actual cost depends on the number of length of
|
|
3904
|
+
* `T::Keys::key_ids()` which is fixed.
|
|
3438
3905
|
* - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`
|
|
3439
3906
|
* - DbWrites: `origin account`, `NextKeys`
|
|
3440
3907
|
* - DbReads per key id: `KeyOwner`
|
|
3441
3908
|
* - DbWrites per key id: `KeyOwner`
|
|
3442
3909
|
* # </weight>
|
|
3443
3910
|
**/
|
|
3444
|
-
setKeys: AugmentedSubmittable<(keys:
|
|
3445
|
-
|
|
3911
|
+
setKeys: AugmentedSubmittable<(keys: PolymeshRuntimeDevelopRuntimeSessionKeys | {
|
|
3912
|
+
grandpa?: any;
|
|
3913
|
+
babe?: any;
|
|
3914
|
+
imOnline?: any;
|
|
3915
|
+
authorityDiscovery?: any;
|
|
3916
|
+
} | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3917
|
+
PolymeshRuntimeDevelopRuntimeSessionKeys,
|
|
3446
3918
|
Bytes
|
|
3447
3919
|
]>;
|
|
3448
3920
|
};
|
|
@@ -3462,25 +3934,25 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3462
3934
|
* # Permissions
|
|
3463
3935
|
* * Portfolio
|
|
3464
3936
|
**/
|
|
3465
|
-
addAndAffirmInstruction: AugmentedSubmittable<(venueId:
|
|
3937
|
+
addAndAffirmInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
|
|
3466
3938
|
SettleOnAffirmation: any;
|
|
3467
3939
|
} | {
|
|
3468
3940
|
SettleOnBlock: any;
|
|
3469
|
-
} | string | Uint8Array, tradeDate: Option<
|
|
3941
|
+
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
|
|
3470
3942
|
from?: any;
|
|
3471
3943
|
to?: any;
|
|
3472
3944
|
asset?: any;
|
|
3473
3945
|
amount?: any;
|
|
3474
|
-
} | string | Uint8Array)[], portfolios: Vec<
|
|
3946
|
+
} | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3475
3947
|
did?: any;
|
|
3476
3948
|
kind?: any;
|
|
3477
3949
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
Option<
|
|
3481
|
-
Option<
|
|
3482
|
-
Vec<
|
|
3483
|
-
Vec<
|
|
3950
|
+
u64,
|
|
3951
|
+
PalletSettlementSettlementType,
|
|
3952
|
+
Option<u64>,
|
|
3953
|
+
Option<u64>,
|
|
3954
|
+
Vec<PalletSettlementLeg>,
|
|
3955
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
3484
3956
|
]>;
|
|
3485
3957
|
/**
|
|
3486
3958
|
* Adds a new instruction.
|
|
@@ -3496,21 +3968,21 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3496
3968
|
* # Weight
|
|
3497
3969
|
* `950_000_000 + 1_000_000 * legs.len()`
|
|
3498
3970
|
**/
|
|
3499
|
-
addInstruction: AugmentedSubmittable<(venueId:
|
|
3971
|
+
addInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
|
|
3500
3972
|
SettleOnAffirmation: any;
|
|
3501
3973
|
} | {
|
|
3502
3974
|
SettleOnBlock: any;
|
|
3503
|
-
} | string | Uint8Array, tradeDate: Option<
|
|
3975
|
+
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
|
|
3504
3976
|
from?: any;
|
|
3505
3977
|
to?: any;
|
|
3506
3978
|
asset?: any;
|
|
3507
3979
|
amount?: any;
|
|
3508
3980
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
Option<
|
|
3512
|
-
Option<
|
|
3513
|
-
Vec<
|
|
3981
|
+
u64,
|
|
3982
|
+
PalletSettlementSettlementType,
|
|
3983
|
+
Option<u64>,
|
|
3984
|
+
Option<u64>,
|
|
3985
|
+
Vec<PalletSettlementLeg>
|
|
3514
3986
|
]>;
|
|
3515
3987
|
/**
|
|
3516
3988
|
* Provide affirmation to an existing instruction.
|
|
@@ -3523,12 +3995,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3523
3995
|
* # Permissions
|
|
3524
3996
|
* * Portfolio
|
|
3525
3997
|
**/
|
|
3526
|
-
affirmInstruction: AugmentedSubmittable<(id:
|
|
3998
|
+
affirmInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3527
3999
|
did?: any;
|
|
3528
4000
|
kind?: any;
|
|
3529
4001
|
} | string | Uint8Array)[], maxLegsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3530
|
-
|
|
3531
|
-
Vec<
|
|
4002
|
+
u64,
|
|
4003
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
3532
4004
|
u32
|
|
3533
4005
|
]>;
|
|
3534
4006
|
/**
|
|
@@ -3545,19 +4017,19 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3545
4017
|
* # Permissions
|
|
3546
4018
|
* * Portfolio
|
|
3547
4019
|
**/
|
|
3548
|
-
affirmWithReceipts: AugmentedSubmittable<(id:
|
|
3549
|
-
|
|
3550
|
-
|
|
4020
|
+
affirmWithReceipts: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, receiptDetails: Vec<PalletSettlementReceiptDetails> | (PalletSettlementReceiptDetails | {
|
|
4021
|
+
receiptUid?: any;
|
|
4022
|
+
legId?: any;
|
|
3551
4023
|
signer?: any;
|
|
3552
4024
|
signature?: any;
|
|
3553
4025
|
metadata?: any;
|
|
3554
|
-
} | string | Uint8Array)[], portfolios: Vec<
|
|
4026
|
+
} | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3555
4027
|
did?: any;
|
|
3556
4028
|
kind?: any;
|
|
3557
4029
|
} | string | Uint8Array)[], maxLegsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3558
|
-
|
|
3559
|
-
Vec<
|
|
3560
|
-
Vec<
|
|
4030
|
+
u64,
|
|
4031
|
+
Vec<PalletSettlementReceiptDetails>,
|
|
4032
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
3561
4033
|
u32
|
|
3562
4034
|
]>;
|
|
3563
4035
|
/**
|
|
@@ -3569,9 +4041,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3569
4041
|
* # Permissions
|
|
3570
4042
|
* * Asset
|
|
3571
4043
|
**/
|
|
3572
|
-
allowVenues: AugmentedSubmittable<(ticker:
|
|
3573
|
-
|
|
3574
|
-
Vec<
|
|
4044
|
+
allowVenues: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4045
|
+
PolymeshPrimitivesTicker,
|
|
4046
|
+
Vec<u64>
|
|
3575
4047
|
]>;
|
|
3576
4048
|
/**
|
|
3577
4049
|
* Marks a receipt issued by the caller as claimed or not claimed.
|
|
@@ -3597,15 +4069,15 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3597
4069
|
* # Permissions
|
|
3598
4070
|
* * Portfolio
|
|
3599
4071
|
**/
|
|
3600
|
-
claimReceipt: AugmentedSubmittable<(id:
|
|
3601
|
-
|
|
3602
|
-
|
|
4072
|
+
claimReceipt: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, receiptDetails: PalletSettlementReceiptDetails | {
|
|
4073
|
+
receiptUid?: any;
|
|
4074
|
+
legId?: any;
|
|
3603
4075
|
signer?: any;
|
|
3604
4076
|
signature?: any;
|
|
3605
4077
|
metadata?: any;
|
|
3606
4078
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3607
|
-
|
|
3608
|
-
|
|
4079
|
+
u64,
|
|
4080
|
+
PalletSettlementReceiptDetails
|
|
3609
4081
|
]>;
|
|
3610
4082
|
/**
|
|
3611
4083
|
* Registers a new venue.
|
|
@@ -3614,10 +4086,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3614
4086
|
* * `signers` - Array of signers that are allowed to sign receipts for this venue
|
|
3615
4087
|
* * `typ` - Type of venue being created
|
|
3616
4088
|
**/
|
|
3617
|
-
createVenue: AugmentedSubmittable<(details:
|
|
3618
|
-
|
|
3619
|
-
Vec<
|
|
3620
|
-
|
|
4089
|
+
createVenue: AugmentedSubmittable<(details: Bytes | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], typ: PalletSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4090
|
+
Bytes,
|
|
4091
|
+
Vec<AccountId32>,
|
|
4092
|
+
PalletSettlementVenueType
|
|
3621
4093
|
]>;
|
|
3622
4094
|
/**
|
|
3623
4095
|
* Revokes permission given to venues for creating instructions involving a particular asset.
|
|
@@ -3628,15 +4100,15 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3628
4100
|
* # Permissions
|
|
3629
4101
|
* * Asset
|
|
3630
4102
|
**/
|
|
3631
|
-
disallowVenues: AugmentedSubmittable<(ticker:
|
|
3632
|
-
|
|
3633
|
-
Vec<
|
|
4103
|
+
disallowVenues: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4104
|
+
PolymeshPrimitivesTicker,
|
|
4105
|
+
Vec<u64>
|
|
3634
4106
|
]>;
|
|
3635
4107
|
/**
|
|
3636
4108
|
* Root callable extrinsic, used as an internal call to execute a scheduled settlement instruction.
|
|
3637
4109
|
**/
|
|
3638
|
-
executeScheduledInstruction: AugmentedSubmittable<(id:
|
|
3639
|
-
|
|
4110
|
+
executeScheduledInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, legsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4111
|
+
u64,
|
|
3640
4112
|
u32
|
|
3641
4113
|
]>;
|
|
3642
4114
|
/**
|
|
@@ -3650,12 +4122,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3650
4122
|
* # Permissions
|
|
3651
4123
|
* * Portfolio
|
|
3652
4124
|
**/
|
|
3653
|
-
rejectInstruction: AugmentedSubmittable<(id:
|
|
4125
|
+
rejectInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3654
4126
|
did?: any;
|
|
3655
4127
|
kind?: any;
|
|
3656
4128
|
} | string | Uint8Array, numOfLegs: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3657
|
-
|
|
3658
|
-
|
|
4129
|
+
u64,
|
|
4130
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
3659
4131
|
u32
|
|
3660
4132
|
]>;
|
|
3661
4133
|
/**
|
|
@@ -3670,8 +4142,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3670
4142
|
* # Errors
|
|
3671
4143
|
* * `InstructionNotFailed` - Instruction not in a failed state or does not exist.
|
|
3672
4144
|
**/
|
|
3673
|
-
rescheduleInstruction: AugmentedSubmittable<(id:
|
|
3674
|
-
|
|
4145
|
+
rescheduleInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4146
|
+
u64
|
|
3675
4147
|
]>;
|
|
3676
4148
|
/**
|
|
3677
4149
|
* Enables or disabled venue filtering for a token.
|
|
@@ -3683,8 +4155,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3683
4155
|
* # Permissions
|
|
3684
4156
|
* * Asset
|
|
3685
4157
|
**/
|
|
3686
|
-
setVenueFiltering: AugmentedSubmittable<(ticker:
|
|
3687
|
-
|
|
4158
|
+
setVenueFiltering: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4159
|
+
PolymeshPrimitivesTicker,
|
|
3688
4160
|
bool
|
|
3689
4161
|
]>;
|
|
3690
4162
|
/**
|
|
@@ -3697,9 +4169,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3697
4169
|
* # Permissions
|
|
3698
4170
|
* * Portfolio
|
|
3699
4171
|
**/
|
|
3700
|
-
unclaimReceipt: AugmentedSubmittable<(instructionId:
|
|
3701
|
-
|
|
3702
|
-
|
|
4172
|
+
unclaimReceipt: AugmentedSubmittable<(instructionId: u64 | AnyNumber | Uint8Array, legId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4173
|
+
u64,
|
|
4174
|
+
u64
|
|
3703
4175
|
]>;
|
|
3704
4176
|
/**
|
|
3705
4177
|
* Edit a venue's details.
|
|
@@ -3707,9 +4179,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3707
4179
|
* * `id` specifies the ID of the venue to edit.
|
|
3708
4180
|
* * `details` specifies the updated venue details.
|
|
3709
4181
|
**/
|
|
3710
|
-
updateVenueDetails: AugmentedSubmittable<(id:
|
|
3711
|
-
|
|
3712
|
-
|
|
4182
|
+
updateVenueDetails: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, details: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4183
|
+
u64,
|
|
4184
|
+
Bytes
|
|
3713
4185
|
]>;
|
|
3714
4186
|
/**
|
|
3715
4187
|
* Edit a venue's type.
|
|
@@ -3717,9 +4189,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3717
4189
|
* * `id` specifies the ID of the venue to edit.
|
|
3718
4190
|
* * `type` specifies the new type of the venue.
|
|
3719
4191
|
**/
|
|
3720
|
-
updateVenueType: AugmentedSubmittable<(id:
|
|
3721
|
-
|
|
3722
|
-
|
|
4192
|
+
updateVenueType: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, typ: PalletSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4193
|
+
u64,
|
|
4194
|
+
PalletSettlementVenueType
|
|
3723
4195
|
]>;
|
|
3724
4196
|
/**
|
|
3725
4197
|
* Withdraw an affirmation for a given instruction.
|
|
@@ -3732,12 +4204,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3732
4204
|
* # Permissions
|
|
3733
4205
|
* * Portfolio
|
|
3734
4206
|
**/
|
|
3735
|
-
withdrawAffirmation: AugmentedSubmittable<(id:
|
|
4207
|
+
withdrawAffirmation: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3736
4208
|
did?: any;
|
|
3737
4209
|
kind?: any;
|
|
3738
4210
|
} | string | Uint8Array)[], maxLegsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3739
|
-
|
|
3740
|
-
Vec<
|
|
4211
|
+
u64,
|
|
4212
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
3741
4213
|
u32
|
|
3742
4214
|
]>;
|
|
3743
4215
|
};
|
|
@@ -3752,8 +4224,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3752
4224
|
* * identity Validator's IdentityId.
|
|
3753
4225
|
* * intended_count No. of validators given identity intends to run.
|
|
3754
4226
|
**/
|
|
3755
|
-
addPermissionedValidator: AugmentedSubmittable<(identity:
|
|
3756
|
-
|
|
4227
|
+
addPermissionedValidator: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, intendedCount: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4228
|
+
PolymeshPrimitivesIdentityId,
|
|
3757
4229
|
Option<u32>
|
|
3758
4230
|
]>;
|
|
3759
4231
|
/**
|
|
@@ -3780,7 +4252,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3780
4252
|
* - Write: Bonded, Payee, [Origin Account], Locks, Ledger
|
|
3781
4253
|
* # </weight>
|
|
3782
4254
|
**/
|
|
3783
|
-
bond: AugmentedSubmittable<(controller:
|
|
4255
|
+
bond: AugmentedSubmittable<(controller: MultiAddress | {
|
|
3784
4256
|
Id: any;
|
|
3785
4257
|
} | {
|
|
3786
4258
|
Index: any;
|
|
@@ -3790,7 +4262,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3790
4262
|
Address32: any;
|
|
3791
4263
|
} | {
|
|
3792
4264
|
Address20: any;
|
|
3793
|
-
} | string | Uint8Array, value: Compact<
|
|
4265
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | {
|
|
3794
4266
|
Staked: any;
|
|
3795
4267
|
} | {
|
|
3796
4268
|
Stash: any;
|
|
@@ -3798,12 +4270,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3798
4270
|
Controller: any;
|
|
3799
4271
|
} | {
|
|
3800
4272
|
Account: any;
|
|
3801
|
-
} | {
|
|
3802
|
-
None: any;
|
|
3803
4273
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3804
|
-
|
|
3805
|
-
Compact<
|
|
3806
|
-
|
|
4274
|
+
MultiAddress,
|
|
4275
|
+
Compact<u128>,
|
|
4276
|
+
PalletStakingRewardDestination
|
|
3807
4277
|
]>;
|
|
3808
4278
|
/**
|
|
3809
4279
|
* Add some extra amount that have appeared in the stash `free_balance` into the balance up
|
|
@@ -3828,8 +4298,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3828
4298
|
* - Write: [Origin Account], Locks, Ledger
|
|
3829
4299
|
* # </weight>
|
|
3830
4300
|
**/
|
|
3831
|
-
bondExtra: AugmentedSubmittable<(maxAdditional: Compact<
|
|
3832
|
-
Compact<
|
|
4301
|
+
bondExtra: AugmentedSubmittable<(maxAdditional: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4302
|
+
Compact<u128>
|
|
3833
4303
|
]>;
|
|
3834
4304
|
/**
|
|
3835
4305
|
* Cancel enactment of a deferred slash.
|
|
@@ -3846,8 +4316,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3846
4316
|
* - Write: Unapplied Slashes
|
|
3847
4317
|
* # </weight>
|
|
3848
4318
|
**/
|
|
3849
|
-
cancelDeferredSlash: AugmentedSubmittable<(era:
|
|
3850
|
-
|
|
4319
|
+
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4320
|
+
u32,
|
|
3851
4321
|
Vec<u32>
|
|
3852
4322
|
]>;
|
|
3853
4323
|
/**
|
|
@@ -3857,8 +4327,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3857
4327
|
* * origin - AccountId of root.
|
|
3858
4328
|
* * slashing_switch - Switch used to set the targets for slashing.
|
|
3859
4329
|
**/
|
|
3860
|
-
changeSlashingAllowedFor: AugmentedSubmittable<(slashingSwitch:
|
|
3861
|
-
|
|
4330
|
+
changeSlashingAllowedFor: AugmentedSubmittable<(slashingSwitch: PalletStakingSlashingSwitch | 'Validator' | 'ValidatorAndNominator' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4331
|
+
PalletStakingSlashingSwitch
|
|
3862
4332
|
]>;
|
|
3863
4333
|
/**
|
|
3864
4334
|
* Declare no desire to either validate or nominate.
|
|
@@ -3928,8 +4398,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3928
4398
|
* Writes Each: SpanSlash * S
|
|
3929
4399
|
* # </weight>
|
|
3930
4400
|
**/
|
|
3931
|
-
forceUnstake: AugmentedSubmittable<(stash:
|
|
3932
|
-
|
|
4401
|
+
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4402
|
+
AccountId32,
|
|
3933
4403
|
u32
|
|
3934
4404
|
]>;
|
|
3935
4405
|
/**
|
|
@@ -3965,7 +4435,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3965
4435
|
* - Writes: Validators, Nominators
|
|
3966
4436
|
* # </weight>
|
|
3967
4437
|
**/
|
|
3968
|
-
nominate: AugmentedSubmittable<(targets: Vec<
|
|
4438
|
+
nominate: AugmentedSubmittable<(targets: Vec<MultiAddress> | (MultiAddress | {
|
|
3969
4439
|
Id: any;
|
|
3970
4440
|
} | {
|
|
3971
4441
|
Index: any;
|
|
@@ -3976,7 +4446,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
3976
4446
|
} | {
|
|
3977
4447
|
Address20: any;
|
|
3978
4448
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
3979
|
-
Vec<
|
|
4449
|
+
Vec<MultiAddress>
|
|
3980
4450
|
]>;
|
|
3981
4451
|
/**
|
|
3982
4452
|
* Pay out all the stakers behind a single validator for a single era.
|
|
@@ -4005,16 +4475,16 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4005
4475
|
* - Write Each: System Account, Locks, Ledger (3 items)
|
|
4006
4476
|
* # </weight>
|
|
4007
4477
|
**/
|
|
4008
|
-
payoutStakers: AugmentedSubmittable<(validatorStash:
|
|
4009
|
-
|
|
4010
|
-
|
|
4478
|
+
payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4479
|
+
AccountId32,
|
|
4480
|
+
u32
|
|
4011
4481
|
]>;
|
|
4012
4482
|
/**
|
|
4013
4483
|
* System version of `payout_stakers()`. Only be called by the root origin.
|
|
4014
4484
|
**/
|
|
4015
|
-
payoutStakersBySystem: AugmentedSubmittable<(validatorStash:
|
|
4016
|
-
|
|
4017
|
-
|
|
4485
|
+
payoutStakersBySystem: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4486
|
+
AccountId32,
|
|
4487
|
+
u32
|
|
4018
4488
|
]>;
|
|
4019
4489
|
/**
|
|
4020
4490
|
* Remove all data structure concerning a staker/stash once its balance is at the minimum.
|
|
@@ -4033,8 +4503,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4033
4503
|
* - Writes Each: SpanSlash * S
|
|
4034
4504
|
* # </weight>
|
|
4035
4505
|
**/
|
|
4036
|
-
reapStash: AugmentedSubmittable<(stash:
|
|
4037
|
-
|
|
4506
|
+
reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4507
|
+
AccountId32,
|
|
4038
4508
|
u32
|
|
4039
4509
|
]>;
|
|
4040
4510
|
/**
|
|
@@ -4053,8 +4523,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4053
4523
|
* - Writes: [Origin Account], Locks, Ledger
|
|
4054
4524
|
* # </weight>
|
|
4055
4525
|
**/
|
|
4056
|
-
rebond: AugmentedSubmittable<(value: Compact<
|
|
4057
|
-
Compact<
|
|
4526
|
+
rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4527
|
+
Compact<u128>
|
|
4058
4528
|
]>;
|
|
4059
4529
|
/**
|
|
4060
4530
|
* Remove an identity from the pool of (wannabe) validator identities. Effects are known in the next session.
|
|
@@ -4065,8 +4535,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4065
4535
|
* * origin Required origin for removing a potential validator.
|
|
4066
4536
|
* * identity Validator's IdentityId.
|
|
4067
4537
|
**/
|
|
4068
|
-
removePermissionedValidator: AugmentedSubmittable<(identity:
|
|
4069
|
-
|
|
4538
|
+
removePermissionedValidator: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4539
|
+
PolymeshPrimitivesIdentityId
|
|
4070
4540
|
]>;
|
|
4071
4541
|
/**
|
|
4072
4542
|
* Scale up the ideal number of validators by a factor.
|
|
@@ -4108,7 +4578,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4108
4578
|
* - Write: Bonded, Ledger New Controller, Ledger Old Controller
|
|
4109
4579
|
* # </weight>
|
|
4110
4580
|
**/
|
|
4111
|
-
setController: AugmentedSubmittable<(controller:
|
|
4581
|
+
setController: AugmentedSubmittable<(controller: MultiAddress | {
|
|
4112
4582
|
Id: any;
|
|
4113
4583
|
} | {
|
|
4114
4584
|
Index: any;
|
|
@@ -4119,7 +4589,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4119
4589
|
} | {
|
|
4120
4590
|
Address20: any;
|
|
4121
4591
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4122
|
-
|
|
4592
|
+
MultiAddress
|
|
4123
4593
|
]>;
|
|
4124
4594
|
/**
|
|
4125
4595
|
* Set `HistoryDepth` value. This function will delete any history information
|
|
@@ -4144,8 +4614,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4144
4614
|
* - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake, ErasStartSessionIndex
|
|
4145
4615
|
* # </weight>
|
|
4146
4616
|
**/
|
|
4147
|
-
setHistoryDepth: AugmentedSubmittable<(newHistoryDepth: Compact<
|
|
4148
|
-
Compact<
|
|
4617
|
+
setHistoryDepth: AugmentedSubmittable<(newHistoryDepth: Compact<u32> | AnyNumber | Uint8Array, eraItemsDeleted: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4618
|
+
Compact<u32>,
|
|
4149
4619
|
Compact<u32>
|
|
4150
4620
|
]>;
|
|
4151
4621
|
/**
|
|
@@ -4158,8 +4628,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4158
4628
|
* - Write: Invulnerables
|
|
4159
4629
|
* # </weight>
|
|
4160
4630
|
**/
|
|
4161
|
-
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<
|
|
4162
|
-
Vec<
|
|
4631
|
+
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4632
|
+
Vec<AccountId32>
|
|
4163
4633
|
]>;
|
|
4164
4634
|
/**
|
|
4165
4635
|
* Changes min bond value to be used in validate(). Only Governance
|
|
@@ -4168,8 +4638,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4168
4638
|
* # Arguments
|
|
4169
4639
|
* * `new_value` the new minimum
|
|
4170
4640
|
**/
|
|
4171
|
-
setMinBondThreshold: AugmentedSubmittable<(newValue:
|
|
4172
|
-
|
|
4641
|
+
setMinBondThreshold: AugmentedSubmittable<(newValue: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4642
|
+
u128
|
|
4173
4643
|
]>;
|
|
4174
4644
|
/**
|
|
4175
4645
|
* (Re-)set the payment target for a controller.
|
|
@@ -4189,7 +4659,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4189
4659
|
* - Write: Payee
|
|
4190
4660
|
* # </weight>
|
|
4191
4661
|
**/
|
|
4192
|
-
setPayee: AugmentedSubmittable<(payee:
|
|
4662
|
+
setPayee: AugmentedSubmittable<(payee: PalletStakingRewardDestination | {
|
|
4193
4663
|
Staked: any;
|
|
4194
4664
|
} | {
|
|
4195
4665
|
Stash: any;
|
|
@@ -4197,10 +4667,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4197
4667
|
Controller: any;
|
|
4198
4668
|
} | {
|
|
4199
4669
|
Account: any;
|
|
4200
|
-
} | {
|
|
4201
|
-
None: any;
|
|
4202
4670
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4203
|
-
|
|
4671
|
+
PalletStakingRewardDestination
|
|
4204
4672
|
]>;
|
|
4205
4673
|
/**
|
|
4206
4674
|
* Sets the ideal number of validators.
|
|
@@ -4266,7 +4734,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4266
4734
|
* - Worse solution is retraced in pre-dispatch-checks which sets its own weight.
|
|
4267
4735
|
* # </weight>
|
|
4268
4736
|
**/
|
|
4269
|
-
submitElectionSolution: AugmentedSubmittable<(winners: Vec<
|
|
4737
|
+
submitElectionSolution: AugmentedSubmittable<(winners: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], compact: PalletStakingCompactAssignments | {
|
|
4270
4738
|
votes1?: any;
|
|
4271
4739
|
votes2?: any;
|
|
4272
4740
|
votes3?: any;
|
|
@@ -4283,15 +4751,19 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4283
4751
|
votes14?: any;
|
|
4284
4752
|
votes15?: any;
|
|
4285
4753
|
votes16?: any;
|
|
4286
|
-
} | string | Uint8Array, score:
|
|
4754
|
+
} | string | Uint8Array, score: SpNposElectionsElectionScore | {
|
|
4755
|
+
minimalStake?: any;
|
|
4756
|
+
sumStake?: any;
|
|
4757
|
+
sumStakeSquared?: any;
|
|
4758
|
+
} | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, size: PalletStakingElectionSize | {
|
|
4287
4759
|
validators?: any;
|
|
4288
4760
|
nominators?: any;
|
|
4289
4761
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4290
|
-
Vec<
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4762
|
+
Vec<u16>,
|
|
4763
|
+
PalletStakingCompactAssignments,
|
|
4764
|
+
SpNposElectionsElectionScore,
|
|
4765
|
+
u32,
|
|
4766
|
+
PalletStakingElectionSize
|
|
4295
4767
|
]>;
|
|
4296
4768
|
/**
|
|
4297
4769
|
* Unsigned version of `submit_election_solution`.
|
|
@@ -4304,7 +4776,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4304
4776
|
* See [`submit_election_solution`].
|
|
4305
4777
|
* # </weight>
|
|
4306
4778
|
**/
|
|
4307
|
-
submitElectionSolutionUnsigned: AugmentedSubmittable<(winners: Vec<
|
|
4779
|
+
submitElectionSolutionUnsigned: AugmentedSubmittable<(winners: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], compact: PalletStakingCompactAssignments | {
|
|
4308
4780
|
votes1?: any;
|
|
4309
4781
|
votes2?: any;
|
|
4310
4782
|
votes3?: any;
|
|
@@ -4321,15 +4793,19 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4321
4793
|
votes14?: any;
|
|
4322
4794
|
votes15?: any;
|
|
4323
4795
|
votes16?: any;
|
|
4324
|
-
} | string | Uint8Array, score:
|
|
4796
|
+
} | string | Uint8Array, score: SpNposElectionsElectionScore | {
|
|
4797
|
+
minimalStake?: any;
|
|
4798
|
+
sumStake?: any;
|
|
4799
|
+
sumStakeSquared?: any;
|
|
4800
|
+
} | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, size: PalletStakingElectionSize | {
|
|
4325
4801
|
validators?: any;
|
|
4326
4802
|
nominators?: any;
|
|
4327
4803
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4328
|
-
Vec<
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4804
|
+
Vec<u16>,
|
|
4805
|
+
PalletStakingCompactAssignments,
|
|
4806
|
+
SpNposElectionsElectionScore,
|
|
4807
|
+
u32,
|
|
4808
|
+
PalletStakingElectionSize
|
|
4333
4809
|
]>;
|
|
4334
4810
|
/**
|
|
4335
4811
|
* Schedule a portion of the stash to be unlocked ready for transfer out after the bond
|
|
@@ -4365,8 +4841,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4365
4841
|
* - Write: Locks, Ledger, \[Origin Account\]
|
|
4366
4842
|
* </weight>
|
|
4367
4843
|
**/
|
|
4368
|
-
unbond: AugmentedSubmittable<(value: Compact<
|
|
4369
|
-
Compact<
|
|
4844
|
+
unbond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4845
|
+
Compact<u128>
|
|
4370
4846
|
]>;
|
|
4371
4847
|
/**
|
|
4372
4848
|
* Update the intended validator count for a given DID.
|
|
@@ -4376,8 +4852,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4376
4852
|
* * identity to add as a validator.
|
|
4377
4853
|
* * new_intended_count New value of intended count.
|
|
4378
4854
|
**/
|
|
4379
|
-
updatePermissionedValidatorIntendedCount: AugmentedSubmittable<(identity:
|
|
4380
|
-
|
|
4855
|
+
updatePermissionedValidatorIntendedCount: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, newIntendedCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4856
|
+
PolymeshPrimitivesIdentityId,
|
|
4381
4857
|
u32
|
|
4382
4858
|
]>;
|
|
4383
4859
|
/**
|
|
@@ -4399,11 +4875,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4399
4875
|
* - Write: Nominators, Validators
|
|
4400
4876
|
* # </weight>
|
|
4401
4877
|
**/
|
|
4402
|
-
validate: AugmentedSubmittable<(prefs:
|
|
4878
|
+
validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | {
|
|
4403
4879
|
commission?: any;
|
|
4404
4880
|
blocked?: any;
|
|
4405
4881
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4406
|
-
|
|
4882
|
+
PalletStakingValidatorPrefs
|
|
4407
4883
|
]>;
|
|
4408
4884
|
/**
|
|
4409
4885
|
* Validate the nominators CDD expiry time.
|
|
@@ -4417,8 +4893,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4417
4893
|
* - Depends on the no. of claim issuers an accountId has for the CDD expiry.
|
|
4418
4894
|
* #</weight>
|
|
4419
4895
|
**/
|
|
4420
|
-
validateCddExpiryNominators: AugmentedSubmittable<(targets: Vec<
|
|
4421
|
-
Vec<
|
|
4896
|
+
validateCddExpiryNominators: AugmentedSubmittable<(targets: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4897
|
+
Vec<AccountId32>
|
|
4422
4898
|
]>;
|
|
4423
4899
|
/**
|
|
4424
4900
|
* Remove any unlocked chunks from the `unlocking` queue from our management.
|
|
@@ -4459,99 +4935,102 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4459
4935
|
};
|
|
4460
4936
|
statistics: {
|
|
4461
4937
|
/**
|
|
4462
|
-
*
|
|
4938
|
+
* Allow a trusted issuer to init/resync ticker/company stats.
|
|
4463
4939
|
*
|
|
4464
4940
|
* # Arguments
|
|
4465
|
-
*
|
|
4466
|
-
*
|
|
4467
|
-
*
|
|
4468
|
-
*
|
|
4941
|
+
* - `origin` - a signer that has permissions to act as an agent of `asset`.
|
|
4942
|
+
* - `asset` - the asset to change the active stats on.
|
|
4943
|
+
* - `stat_type` - stat type to update.
|
|
4944
|
+
* - `values` - Updated values for `stat_type`.
|
|
4469
4945
|
*
|
|
4470
4946
|
* # Errors
|
|
4471
|
-
*
|
|
4947
|
+
* - `StatTypeMissing` - `stat_type` is not enabled for the `asset`.
|
|
4948
|
+
* - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset`.
|
|
4472
4949
|
*
|
|
4473
4950
|
* # Permissions
|
|
4474
|
-
*
|
|
4951
|
+
* - Agent
|
|
4952
|
+
* - Asset
|
|
4475
4953
|
**/
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
} | {
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4954
|
+
batchUpdateAssetStats: AugmentedSubmittable<(asset: PolymeshPrimitivesStatisticsAssetScope | {
|
|
4955
|
+
Ticker: any;
|
|
4956
|
+
} | string | Uint8Array, statType: PolymeshPrimitivesStatisticsStatType | {
|
|
4957
|
+
op?: any;
|
|
4958
|
+
claimIssuer?: any;
|
|
4959
|
+
} | string | Uint8Array, values: BTreeSetStatUpdate) => SubmittableExtrinsic<ApiType>, [
|
|
4960
|
+
PolymeshPrimitivesStatisticsAssetScope,
|
|
4961
|
+
PolymeshPrimitivesStatisticsStatType,
|
|
4962
|
+
BTreeSetStatUpdate
|
|
4484
4963
|
]>;
|
|
4485
4964
|
/**
|
|
4486
|
-
*
|
|
4965
|
+
* Set the active asset stat_types.
|
|
4487
4966
|
*
|
|
4488
4967
|
* # Arguments
|
|
4489
|
-
*
|
|
4490
|
-
*
|
|
4491
|
-
*
|
|
4968
|
+
* - `origin` - a signer that has permissions to act as an agent of `asset`.
|
|
4969
|
+
* - `asset` - the asset to change the active stats on.
|
|
4970
|
+
* - `stat_types` - the new stat types to replace any existing types.
|
|
4492
4971
|
*
|
|
4493
4972
|
* # Errors
|
|
4494
|
-
*
|
|
4495
|
-
*
|
|
4496
|
-
*
|
|
4973
|
+
* - `StatTypeLimitReached` - too many stat types enabled for the `asset`.
|
|
4974
|
+
* - `CannotRemoveStatTypeInUse` - can not remove a stat type that is in use by transfer conditions.
|
|
4975
|
+
* - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset`.
|
|
4497
4976
|
*
|
|
4498
4977
|
* # Permissions
|
|
4499
|
-
*
|
|
4978
|
+
* - Agent
|
|
4979
|
+
* - Asset
|
|
4500
4980
|
**/
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
} |
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
Ticker,
|
|
4507
|
-
TransferManager
|
|
4981
|
+
setActiveAssetStats: AugmentedSubmittable<(asset: PolymeshPrimitivesStatisticsAssetScope | {
|
|
4982
|
+
Ticker: any;
|
|
4983
|
+
} | string | Uint8Array, statTypes: BTreeSetStatType) => SubmittableExtrinsic<ApiType>, [
|
|
4984
|
+
PolymeshPrimitivesStatisticsAssetScope,
|
|
4985
|
+
BTreeSetStatType
|
|
4508
4986
|
]>;
|
|
4509
4987
|
/**
|
|
4510
|
-
*
|
|
4988
|
+
* Set asset transfer compliance rules.
|
|
4511
4989
|
*
|
|
4512
4990
|
* # Arguments
|
|
4513
|
-
*
|
|
4514
|
-
*
|
|
4515
|
-
*
|
|
4516
|
-
* * `scope_ids` ScopeIds for which the exemption list is being modified.
|
|
4991
|
+
* - `origin` - a signer that has permissions to act as an agent of `asset`.
|
|
4992
|
+
* - `asset` - the asset to change the active stats on.
|
|
4993
|
+
* - `transfer_conditions` - the new transfer condition to replace any existing conditions.
|
|
4517
4994
|
*
|
|
4518
4995
|
* # Errors
|
|
4519
|
-
*
|
|
4996
|
+
* - `TransferConditionLimitReached` - too many transfer condititon enabled for `asset`.
|
|
4997
|
+
* - `StatTypeMissing` - a transfer condition requires a stat type that is not enabled for the `asset`.
|
|
4998
|
+
* - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset`.
|
|
4520
4999
|
*
|
|
4521
5000
|
* # Permissions
|
|
4522
|
-
*
|
|
5001
|
+
* - Agent
|
|
5002
|
+
* - Asset
|
|
4523
5003
|
**/
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
} |
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
Ticker,
|
|
4530
|
-
TransferManager,
|
|
4531
|
-
Vec<ScopeId>
|
|
5004
|
+
setAssetTransferCompliance: AugmentedSubmittable<(asset: PolymeshPrimitivesStatisticsAssetScope | {
|
|
5005
|
+
Ticker: any;
|
|
5006
|
+
} | string | Uint8Array, transferConditions: BTreeSetTransferCondition) => SubmittableExtrinsic<ApiType>, [
|
|
5007
|
+
PolymeshPrimitivesStatisticsAssetScope,
|
|
5008
|
+
BTreeSetTransferCondition
|
|
4532
5009
|
]>;
|
|
4533
5010
|
/**
|
|
4534
|
-
*
|
|
5011
|
+
* Set/unset entities exempt from an asset's transfer compliance rules.
|
|
4535
5012
|
*
|
|
4536
5013
|
* # Arguments
|
|
4537
|
-
*
|
|
4538
|
-
*
|
|
4539
|
-
*
|
|
5014
|
+
* - `origin` - a signer that has permissions to act as an agent of `exempt_key.asset`.
|
|
5015
|
+
* - `is_exempt` - enable/disable exemption for `entities`.
|
|
5016
|
+
* - `exempt_key` - the asset and stat type to exempt the `entities` from.
|
|
5017
|
+
* - `entities` - the entities to set/unset the exemption for.
|
|
4540
5018
|
*
|
|
4541
5019
|
* # Errors
|
|
4542
|
-
*
|
|
4543
|
-
* * `TransferManagerMissing` if `asset_compliance` contains multiple entries with the same `requirement_id`.
|
|
5020
|
+
* - `UnauthorizedAgent` if `origin` is not agent-permissioned for `asset`.
|
|
4544
5021
|
*
|
|
4545
5022
|
* # Permissions
|
|
4546
|
-
*
|
|
5023
|
+
* - Agent
|
|
5024
|
+
* - Asset
|
|
4547
5025
|
**/
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4553
|
-
|
|
4554
|
-
|
|
5026
|
+
setEntitiesExempt: AugmentedSubmittable<(isExempt: bool | boolean | Uint8Array, exemptKey: PolymeshPrimitivesTransferComplianceTransferConditionExemptKey | {
|
|
5027
|
+
asset?: any;
|
|
5028
|
+
op?: any;
|
|
5029
|
+
claimType?: any;
|
|
5030
|
+
} | string | Uint8Array, entities: BTreeSetIdentityId) => SubmittableExtrinsic<ApiType>, [
|
|
5031
|
+
bool,
|
|
5032
|
+
PolymeshPrimitivesTransferComplianceTransferConditionExemptKey,
|
|
5033
|
+
BTreeSetIdentityId
|
|
4555
5034
|
]>;
|
|
4556
5035
|
};
|
|
4557
5036
|
sto: {
|
|
@@ -4573,26 +5052,26 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4573
5052
|
* * Asset
|
|
4574
5053
|
* * Portfolio
|
|
4575
5054
|
**/
|
|
4576
|
-
createFundraiser: AugmentedSubmittable<(offeringPortfolio:
|
|
5055
|
+
createFundraiser: AugmentedSubmittable<(offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4577
5056
|
did?: any;
|
|
4578
5057
|
kind?: any;
|
|
4579
|
-
} | string | Uint8Array, offeringAsset:
|
|
5058
|
+
} | string | Uint8Array, offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, raisingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4580
5059
|
did?: any;
|
|
4581
5060
|
kind?: any;
|
|
4582
|
-
} | string | Uint8Array, raisingAsset:
|
|
5061
|
+
} | string | Uint8Array, raisingAsset: PolymeshPrimitivesTicker | string | Uint8Array, tiers: Vec<PalletStoPriceTier> | (PalletStoPriceTier | {
|
|
4583
5062
|
total?: any;
|
|
4584
5063
|
price?: any;
|
|
4585
|
-
} | string | Uint8Array)[], venueId:
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
Vec<
|
|
4591
|
-
|
|
4592
|
-
Option<
|
|
4593
|
-
Option<
|
|
4594
|
-
|
|
4595
|
-
|
|
5064
|
+
} | string | Uint8Array)[], venueId: u64 | AnyNumber | Uint8Array, start: Option<u64> | null | object | string | Uint8Array, end: Option<u64> | null | object | string | Uint8Array, minimumInvestment: u128 | AnyNumber | Uint8Array, fundraiserName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5065
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5066
|
+
PolymeshPrimitivesTicker,
|
|
5067
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5068
|
+
PolymeshPrimitivesTicker,
|
|
5069
|
+
Vec<PalletStoPriceTier>,
|
|
5070
|
+
u64,
|
|
5071
|
+
Option<u64>,
|
|
5072
|
+
Option<u64>,
|
|
5073
|
+
u128,
|
|
5074
|
+
Bytes
|
|
4596
5075
|
]>;
|
|
4597
5076
|
/**
|
|
4598
5077
|
* Freeze a fundraiser.
|
|
@@ -4603,9 +5082,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4603
5082
|
* # Permissions
|
|
4604
5083
|
* * Asset
|
|
4605
5084
|
**/
|
|
4606
|
-
freezeFundraiser: AugmentedSubmittable<(offeringAsset:
|
|
4607
|
-
|
|
4608
|
-
|
|
5085
|
+
freezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5086
|
+
PolymeshPrimitivesTicker,
|
|
5087
|
+
u64
|
|
4609
5088
|
]>;
|
|
4610
5089
|
/**
|
|
4611
5090
|
* Invest in a fundraiser.
|
|
@@ -4621,20 +5100,20 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4621
5100
|
* # Permissions
|
|
4622
5101
|
* * Portfolio
|
|
4623
5102
|
**/
|
|
4624
|
-
invest: AugmentedSubmittable<(investmentPortfolio:
|
|
5103
|
+
invest: AugmentedSubmittable<(investmentPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4625
5104
|
did?: any;
|
|
4626
5105
|
kind?: any;
|
|
4627
|
-
} | string | Uint8Array, fundingPortfolio:
|
|
5106
|
+
} | string | Uint8Array, fundingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4628
5107
|
did?: any;
|
|
4629
5108
|
kind?: any;
|
|
4630
|
-
} | string | Uint8Array, offeringAsset:
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
Option<
|
|
4637
|
-
Option<
|
|
5109
|
+
} | string | Uint8Array, offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null | object | string | Uint8Array, receipt: Option<PalletSettlementReceiptDetails> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5110
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5111
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5112
|
+
PolymeshPrimitivesTicker,
|
|
5113
|
+
u64,
|
|
5114
|
+
u128,
|
|
5115
|
+
Option<u128>,
|
|
5116
|
+
Option<PalletSettlementReceiptDetails>
|
|
4638
5117
|
]>;
|
|
4639
5118
|
/**
|
|
4640
5119
|
* Modify the time window a fundraiser is active
|
|
@@ -4647,11 +5126,11 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4647
5126
|
* # Permissions
|
|
4648
5127
|
* * Asset
|
|
4649
5128
|
**/
|
|
4650
|
-
modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset:
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
Option<
|
|
5129
|
+
modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5130
|
+
PolymeshPrimitivesTicker,
|
|
5131
|
+
u64,
|
|
5132
|
+
u64,
|
|
5133
|
+
Option<u64>
|
|
4655
5134
|
]>;
|
|
4656
5135
|
/**
|
|
4657
5136
|
* Stop a fundraiser.
|
|
@@ -4662,9 +5141,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4662
5141
|
* # Permissions
|
|
4663
5142
|
* * Asset
|
|
4664
5143
|
**/
|
|
4665
|
-
stop: AugmentedSubmittable<(offeringAsset:
|
|
4666
|
-
|
|
4667
|
-
|
|
5144
|
+
stop: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5145
|
+
PolymeshPrimitivesTicker,
|
|
5146
|
+
u64
|
|
4668
5147
|
]>;
|
|
4669
5148
|
/**
|
|
4670
5149
|
* Unfreeze a fundraiser.
|
|
@@ -4675,9 +5154,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4675
5154
|
* # Permissions
|
|
4676
5155
|
* * Asset
|
|
4677
5156
|
**/
|
|
4678
|
-
unfreezeFundraiser: AugmentedSubmittable<(offeringAsset:
|
|
4679
|
-
|
|
4680
|
-
|
|
5157
|
+
unfreezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5158
|
+
PolymeshPrimitivesTicker,
|
|
5159
|
+
u64
|
|
4681
5160
|
]>;
|
|
4682
5161
|
};
|
|
4683
5162
|
sudo: {
|
|
@@ -4692,7 +5171,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4692
5171
|
* - One DB change.
|
|
4693
5172
|
* # </weight>
|
|
4694
5173
|
**/
|
|
4695
|
-
setKey: AugmentedSubmittable<(updated:
|
|
5174
|
+
setKey: AugmentedSubmittable<(updated: MultiAddress | {
|
|
4696
5175
|
Id: any;
|
|
4697
5176
|
} | {
|
|
4698
5177
|
Index: any;
|
|
@@ -4703,7 +5182,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4703
5182
|
} | {
|
|
4704
5183
|
Address20: any;
|
|
4705
5184
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4706
|
-
|
|
5185
|
+
MultiAddress
|
|
4707
5186
|
]>;
|
|
4708
5187
|
/**
|
|
4709
5188
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
@@ -4736,7 +5215,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4736
5215
|
* - Weight of derivative `call` execution + 10,000.
|
|
4737
5216
|
* # </weight>
|
|
4738
5217
|
**/
|
|
4739
|
-
sudoAs: AugmentedSubmittable<(who:
|
|
5218
|
+
sudoAs: AugmentedSubmittable<(who: MultiAddress | {
|
|
4740
5219
|
Id: any;
|
|
4741
5220
|
} | {
|
|
4742
5221
|
Index: any;
|
|
@@ -4750,7 +5229,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4750
5229
|
callIndex?: any;
|
|
4751
5230
|
args?: any;
|
|
4752
5231
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4753
|
-
|
|
5232
|
+
MultiAddress,
|
|
4754
5233
|
Call
|
|
4755
5234
|
]>;
|
|
4756
5235
|
/**
|
|
@@ -4768,9 +5247,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4768
5247
|
sudoUncheckedWeight: AugmentedSubmittable<(call: Call | {
|
|
4769
5248
|
callIndex?: any;
|
|
4770
5249
|
args?: any;
|
|
4771
|
-
} | string | Uint8Array, weight:
|
|
5250
|
+
} | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4772
5251
|
Call,
|
|
4773
|
-
|
|
5252
|
+
u64
|
|
4774
5253
|
]>;
|
|
4775
5254
|
};
|
|
4776
5255
|
system: {
|
|
@@ -4785,68 +5264,45 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4785
5264
|
*
|
|
4786
5265
|
* **NOTE:** We rely on the Root origin to provide us the number of subkeys under
|
|
4787
5266
|
* the prefix we are removing to accurately calculate the weight of this function.
|
|
4788
|
-
*
|
|
4789
|
-
* # <weight>
|
|
4790
|
-
* - `O(P)` where `P` amount of keys with prefix `prefix`
|
|
4791
|
-
* - `P` storage deletions.
|
|
4792
|
-
* - Base Weight: 0.834 * P µs
|
|
4793
|
-
* - Writes: Number of subkeys + 1
|
|
4794
|
-
* # </weight>
|
|
4795
5267
|
**/
|
|
4796
|
-
killPrefix: AugmentedSubmittable<(prefix:
|
|
4797
|
-
|
|
5268
|
+
killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5269
|
+
Bytes,
|
|
4798
5270
|
u32
|
|
4799
5271
|
]>;
|
|
4800
5272
|
/**
|
|
4801
5273
|
* Kill some items from storage.
|
|
4802
|
-
*
|
|
4803
|
-
* # <weight>
|
|
4804
|
-
* - `O(IK)` where `I` length of `keys` and `K` length of one key
|
|
4805
|
-
* - `I` storage deletions.
|
|
4806
|
-
* - Base Weight: .378 * i µs
|
|
4807
|
-
* - Writes: Number of items
|
|
4808
|
-
* # </weight>
|
|
4809
5274
|
**/
|
|
4810
|
-
killStorage: AugmentedSubmittable<(keys: Vec<
|
|
4811
|
-
Vec<
|
|
5275
|
+
killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5276
|
+
Vec<Bytes>
|
|
4812
5277
|
]>;
|
|
4813
5278
|
/**
|
|
4814
5279
|
* Make some on-chain remark.
|
|
4815
5280
|
*
|
|
4816
5281
|
* # <weight>
|
|
4817
5282
|
* - `O(1)`
|
|
4818
|
-
* - Base Weight: 0.665 µs, independent of remark length.
|
|
4819
|
-
* - No DB operations.
|
|
4820
5283
|
* # </weight>
|
|
4821
5284
|
**/
|
|
4822
5285
|
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4823
5286
|
Bytes
|
|
4824
5287
|
]>;
|
|
4825
5288
|
/**
|
|
4826
|
-
*
|
|
4827
|
-
*
|
|
4828
|
-
* # <weight>
|
|
4829
|
-
* - `O(1)`
|
|
4830
|
-
* - 1 storage write or delete (codec `O(1)`).
|
|
4831
|
-
* - 1 call to `deposit_log`: Uses `append` API, so O(1)
|
|
4832
|
-
* - Base Weight: 7.218 µs
|
|
4833
|
-
* - DB Weight:
|
|
4834
|
-
* - Writes: Changes Trie, System Digest
|
|
4835
|
-
* # </weight>
|
|
5289
|
+
* Make some on-chain remark and emit event.
|
|
4836
5290
|
**/
|
|
4837
|
-
|
|
4838
|
-
|
|
5291
|
+
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5292
|
+
Bytes
|
|
4839
5293
|
]>;
|
|
4840
5294
|
/**
|
|
4841
5295
|
* Set the new runtime code.
|
|
4842
5296
|
*
|
|
4843
5297
|
* # <weight>
|
|
4844
5298
|
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
|
|
5299
|
+
* - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is
|
|
5300
|
+
* expensive).
|
|
4845
5301
|
* - 1 storage write (codec `O(C)`).
|
|
4846
|
-
* - 1
|
|
5302
|
+
* - 1 digest item.
|
|
4847
5303
|
* - 1 event.
|
|
4848
|
-
* The weight of this function is dependent on the runtime, but generally this is very
|
|
4849
|
-
* We will treat this as a full block.
|
|
5304
|
+
* The weight of this function is dependent on the runtime, but generally this is very
|
|
5305
|
+
* expensive. We will treat this as a full block.
|
|
4850
5306
|
* # </weight>
|
|
4851
5307
|
**/
|
|
4852
5308
|
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
@@ -4858,38 +5314,25 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4858
5314
|
* # <weight>
|
|
4859
5315
|
* - `O(C)` where `C` length of `code`
|
|
4860
5316
|
* - 1 storage write (codec `O(C)`).
|
|
5317
|
+
* - 1 digest item.
|
|
4861
5318
|
* - 1 event.
|
|
4862
|
-
* The weight of this function is dependent on the runtime. We will treat this as a full
|
|
4863
|
-
* # </weight>
|
|
5319
|
+
* The weight of this function is dependent on the runtime. We will treat this as a full
|
|
5320
|
+
* block. # </weight>
|
|
4864
5321
|
**/
|
|
4865
5322
|
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4866
5323
|
Bytes
|
|
4867
5324
|
]>;
|
|
4868
5325
|
/**
|
|
4869
5326
|
* Set the number of pages in the WebAssembly environment's heap.
|
|
4870
|
-
*
|
|
4871
|
-
* # <weight>
|
|
4872
|
-
* - `O(1)`
|
|
4873
|
-
* - 1 storage write.
|
|
4874
|
-
* - Base Weight: 1.405 µs
|
|
4875
|
-
* - 1 write to HEAP_PAGES
|
|
4876
|
-
* # </weight>
|
|
4877
5327
|
**/
|
|
4878
5328
|
setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4879
5329
|
u64
|
|
4880
5330
|
]>;
|
|
4881
5331
|
/**
|
|
4882
5332
|
* Set some items of storage.
|
|
4883
|
-
*
|
|
4884
|
-
* # <weight>
|
|
4885
|
-
* - `O(I)` where `I` length of `items`
|
|
4886
|
-
* - `I` storage writes (`O(1)`).
|
|
4887
|
-
* - Base Weight: 0.568 * i µs
|
|
4888
|
-
* - Writes: Number of items
|
|
4889
|
-
* # </weight>
|
|
4890
5333
|
**/
|
|
4891
|
-
setStorage: AugmentedSubmittable<(items: Vec<
|
|
4892
|
-
Vec<
|
|
5334
|
+
setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
|
|
5335
|
+
Vec<ITuple<[Bytes, Bytes]>>
|
|
4893
5336
|
]>;
|
|
4894
5337
|
};
|
|
4895
5338
|
technicalCommittee: {
|
|
@@ -4899,12 +5342,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4899
5342
|
* # Arguments
|
|
4900
5343
|
* * `expiry` - The new expiry time.
|
|
4901
5344
|
**/
|
|
4902
|
-
setExpiresAfter: AugmentedSubmittable<(expiry:
|
|
5345
|
+
setExpiresAfter: AugmentedSubmittable<(expiry: PolymeshCommonUtilitiesMaybeBlock | {
|
|
4903
5346
|
Some: any;
|
|
4904
5347
|
} | {
|
|
4905
5348
|
None: any;
|
|
4906
5349
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4907
|
-
|
|
5350
|
+
PolymeshCommonUtilitiesMaybeBlock
|
|
4908
5351
|
]>;
|
|
4909
5352
|
/**
|
|
4910
5353
|
* Changes the release coordinator.
|
|
@@ -4915,8 +5358,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4915
5358
|
* # Errors
|
|
4916
5359
|
* * `NotAMember`, If the new coordinator `id` is not part of the committee.
|
|
4917
5360
|
**/
|
|
4918
|
-
setReleaseCoordinator: AugmentedSubmittable<(id:
|
|
4919
|
-
|
|
5361
|
+
setReleaseCoordinator: AugmentedSubmittable<(id: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5362
|
+
PolymeshPrimitivesIdentityId
|
|
4920
5363
|
]>;
|
|
4921
5364
|
/**
|
|
4922
5365
|
* Change the vote threshold the determines the winning proposal.
|
|
@@ -4942,9 +5385,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4942
5385
|
* # Errors
|
|
4943
5386
|
* * `NotAMember`, if the `origin` is not a member of this committee.
|
|
4944
5387
|
**/
|
|
4945
|
-
vote: AugmentedSubmittable<(proposal:
|
|
4946
|
-
|
|
4947
|
-
|
|
5388
|
+
vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5389
|
+
H256,
|
|
5390
|
+
u32,
|
|
4948
5391
|
bool
|
|
4949
5392
|
]>;
|
|
4950
5393
|
/**
|
|
@@ -4995,8 +5438,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
4995
5438
|
* * `origin` - Origin representing `AddOrigin` or root
|
|
4996
5439
|
* * `who` - IdentityId to be added to the group.
|
|
4997
5440
|
**/
|
|
4998
|
-
addMember: AugmentedSubmittable<(who:
|
|
4999
|
-
|
|
5441
|
+
addMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5442
|
+
PolymeshPrimitivesIdentityId
|
|
5000
5443
|
]>;
|
|
5001
5444
|
/**
|
|
5002
5445
|
* Disables a member at specific moment.
|
|
@@ -5016,10 +5459,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5016
5459
|
* * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
|
|
5017
5460
|
* generated claims will be "invalid" as `who` is not considered a member of the group.
|
|
5018
5461
|
**/
|
|
5019
|
-
disableMember: AugmentedSubmittable<(who:
|
|
5020
|
-
|
|
5021
|
-
Option<
|
|
5022
|
-
Option<
|
|
5462
|
+
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, at: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5463
|
+
PolymeshPrimitivesIdentityId,
|
|
5464
|
+
Option<u64>,
|
|
5465
|
+
Option<u64>
|
|
5023
5466
|
]>;
|
|
5024
5467
|
/**
|
|
5025
5468
|
* Removes a member `who` from the set. May only be called from `RemoveOrigin` or root.
|
|
@@ -5033,8 +5476,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5033
5476
|
* * `origin` - Origin representing `RemoveOrigin` or root
|
|
5034
5477
|
* * `who` - IdentityId to be removed from the group.
|
|
5035
5478
|
**/
|
|
5036
|
-
removeMember: AugmentedSubmittable<(who:
|
|
5037
|
-
|
|
5479
|
+
removeMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5480
|
+
PolymeshPrimitivesIdentityId
|
|
5038
5481
|
]>;
|
|
5039
5482
|
/**
|
|
5040
5483
|
* Changes the membership to a new set, disregarding the existing membership.
|
|
@@ -5044,8 +5487,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5044
5487
|
* * `origin` - Origin representing `ResetOrigin` or root
|
|
5045
5488
|
* * `members` - New set of identities
|
|
5046
5489
|
**/
|
|
5047
|
-
resetMembers: AugmentedSubmittable<(members: Vec<
|
|
5048
|
-
Vec<
|
|
5490
|
+
resetMembers: AugmentedSubmittable<(members: Vec<PolymeshPrimitivesIdentityId> | (PolymeshPrimitivesIdentityId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5491
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
5049
5492
|
]>;
|
|
5050
5493
|
/**
|
|
5051
5494
|
* Change this group's limit for how many concurrent active members they may be.
|
|
@@ -5053,8 +5496,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5053
5496
|
* # Arguments
|
|
5054
5497
|
* * `limit` - the number of active members there may be concurrently.
|
|
5055
5498
|
**/
|
|
5056
|
-
setActiveMembersLimit: AugmentedSubmittable<(limit:
|
|
5057
|
-
|
|
5499
|
+
setActiveMembersLimit: AugmentedSubmittable<(limit: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5500
|
+
u32
|
|
5058
5501
|
]>;
|
|
5059
5502
|
/**
|
|
5060
5503
|
* Swaps out one member `remove` for another member `add`.
|
|
@@ -5066,17 +5509,17 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5066
5509
|
* * `remove` - IdentityId to be removed from the group.
|
|
5067
5510
|
* * `add` - IdentityId to be added in place of `remove`.
|
|
5068
5511
|
**/
|
|
5069
|
-
swapMember: AugmentedSubmittable<(remove:
|
|
5070
|
-
|
|
5071
|
-
|
|
5512
|
+
swapMember: AugmentedSubmittable<(remove: PolymeshPrimitivesIdentityId | string | Uint8Array, add: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5513
|
+
PolymeshPrimitivesIdentityId,
|
|
5514
|
+
PolymeshPrimitivesIdentityId
|
|
5072
5515
|
]>;
|
|
5073
5516
|
};
|
|
5074
5517
|
testUtils: {
|
|
5075
5518
|
/**
|
|
5076
5519
|
* Emits an event with caller's identity and CDD status.
|
|
5077
5520
|
**/
|
|
5078
|
-
getCddOf: AugmentedSubmittable<(of:
|
|
5079
|
-
|
|
5521
|
+
getCddOf: AugmentedSubmittable<(of: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5522
|
+
AccountId32
|
|
5080
5523
|
]>;
|
|
5081
5524
|
/**
|
|
5082
5525
|
* Emits an event with caller's identity.
|
|
@@ -5096,8 +5539,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5096
5539
|
* - `target_account` (primary key of the new Identity) can be linked to just one and only
|
|
5097
5540
|
* one identity.
|
|
5098
5541
|
**/
|
|
5099
|
-
mockCddRegisterDid: AugmentedSubmittable<(targetAccount:
|
|
5100
|
-
|
|
5542
|
+
mockCddRegisterDid: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5543
|
+
AccountId32
|
|
5101
5544
|
]>;
|
|
5102
5545
|
/**
|
|
5103
5546
|
* Generates a new `IdentityID` for the caller, and issues a self-generated CDD claim.
|
|
@@ -5111,12 +5554,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5111
5554
|
* - `SecondaryKeysContainPrimaryKey` if `secondary_keys` contains the caller account.
|
|
5112
5555
|
* - `DidAlreadyExists` if auto-generated DID already exists.
|
|
5113
5556
|
**/
|
|
5114
|
-
registerDid: AugmentedSubmittable<(uid:
|
|
5115
|
-
|
|
5557
|
+
registerDid: AugmentedSubmittable<(uid: PolymeshPrimitivesCddIdInvestorUid | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
|
|
5558
|
+
key?: any;
|
|
5116
5559
|
permissions?: any;
|
|
5117
5560
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5118
|
-
|
|
5119
|
-
Vec<
|
|
5561
|
+
PolymeshPrimitivesCddIdInvestorUid,
|
|
5562
|
+
Vec<PolymeshPrimitivesSecondaryKey>
|
|
5120
5563
|
]>;
|
|
5121
5564
|
};
|
|
5122
5565
|
timestamp: {
|
|
@@ -5133,12 +5576,13 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5133
5576
|
*
|
|
5134
5577
|
* # <weight>
|
|
5135
5578
|
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
|
5136
|
-
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
|
|
5579
|
+
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
|
|
5580
|
+
* `on_finalize`)
|
|
5137
5581
|
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
5138
5582
|
* # </weight>
|
|
5139
5583
|
**/
|
|
5140
|
-
set: AugmentedSubmittable<(now: Compact<
|
|
5141
|
-
Compact<
|
|
5584
|
+
set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5585
|
+
Compact<u64>
|
|
5142
5586
|
]>;
|
|
5143
5587
|
};
|
|
5144
5588
|
treasury: {
|
|
@@ -5149,20 +5593,21 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5149
5593
|
* # Error
|
|
5150
5594
|
* * `BadOrigin`: Only root can execute transaction.
|
|
5151
5595
|
* * `InsufficientBalance`: If treasury balances is not enough to cover all beneficiaries.
|
|
5596
|
+
* * `InvalidIdentity`: If one of the beneficiaries has an invalid identity.
|
|
5152
5597
|
**/
|
|
5153
|
-
disbursement: AugmentedSubmittable<(beneficiaries: Vec<
|
|
5598
|
+
disbursement: AugmentedSubmittable<(beneficiaries: Vec<PolymeshPrimitivesBeneficiary> | (PolymeshPrimitivesBeneficiary | {
|
|
5154
5599
|
id?: any;
|
|
5155
5600
|
amount?: any;
|
|
5156
5601
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5157
|
-
Vec<
|
|
5602
|
+
Vec<PolymeshPrimitivesBeneficiary>
|
|
5158
5603
|
]>;
|
|
5159
5604
|
/**
|
|
5160
5605
|
* It transfers the specific `amount` from `origin` account into treasury.
|
|
5161
5606
|
*
|
|
5162
5607
|
* Only accounts which are associated to an identity can make a donation to treasury.
|
|
5163
5608
|
**/
|
|
5164
|
-
reimbursement: AugmentedSubmittable<(amount:
|
|
5165
|
-
|
|
5609
|
+
reimbursement: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5610
|
+
u128
|
|
5166
5611
|
]>;
|
|
5167
5612
|
};
|
|
5168
5613
|
upgradeCommittee: {
|
|
@@ -5172,12 +5617,12 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5172
5617
|
* # Arguments
|
|
5173
5618
|
* * `expiry` - The new expiry time.
|
|
5174
5619
|
**/
|
|
5175
|
-
setExpiresAfter: AugmentedSubmittable<(expiry:
|
|
5620
|
+
setExpiresAfter: AugmentedSubmittable<(expiry: PolymeshCommonUtilitiesMaybeBlock | {
|
|
5176
5621
|
Some: any;
|
|
5177
5622
|
} | {
|
|
5178
5623
|
None: any;
|
|
5179
5624
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5180
|
-
|
|
5625
|
+
PolymeshCommonUtilitiesMaybeBlock
|
|
5181
5626
|
]>;
|
|
5182
5627
|
/**
|
|
5183
5628
|
* Changes the release coordinator.
|
|
@@ -5188,8 +5633,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5188
5633
|
* # Errors
|
|
5189
5634
|
* * `NotAMember`, If the new coordinator `id` is not part of the committee.
|
|
5190
5635
|
**/
|
|
5191
|
-
setReleaseCoordinator: AugmentedSubmittable<(id:
|
|
5192
|
-
|
|
5636
|
+
setReleaseCoordinator: AugmentedSubmittable<(id: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5637
|
+
PolymeshPrimitivesIdentityId
|
|
5193
5638
|
]>;
|
|
5194
5639
|
/**
|
|
5195
5640
|
* Change the vote threshold the determines the winning proposal.
|
|
@@ -5215,9 +5660,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5215
5660
|
* # Errors
|
|
5216
5661
|
* * `NotAMember`, if the `origin` is not a member of this committee.
|
|
5217
5662
|
**/
|
|
5218
|
-
vote: AugmentedSubmittable<(proposal:
|
|
5219
|
-
|
|
5220
|
-
|
|
5663
|
+
vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5664
|
+
H256,
|
|
5665
|
+
u32,
|
|
5221
5666
|
bool
|
|
5222
5667
|
]>;
|
|
5223
5668
|
/**
|
|
@@ -5268,8 +5713,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5268
5713
|
* * `origin` - Origin representing `AddOrigin` or root
|
|
5269
5714
|
* * `who` - IdentityId to be added to the group.
|
|
5270
5715
|
**/
|
|
5271
|
-
addMember: AugmentedSubmittable<(who:
|
|
5272
|
-
|
|
5716
|
+
addMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5717
|
+
PolymeshPrimitivesIdentityId
|
|
5273
5718
|
]>;
|
|
5274
5719
|
/**
|
|
5275
5720
|
* Disables a member at specific moment.
|
|
@@ -5289,10 +5734,10 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5289
5734
|
* * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
|
|
5290
5735
|
* generated claims will be "invalid" as `who` is not considered a member of the group.
|
|
5291
5736
|
**/
|
|
5292
|
-
disableMember: AugmentedSubmittable<(who:
|
|
5293
|
-
|
|
5294
|
-
Option<
|
|
5295
|
-
Option<
|
|
5737
|
+
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array, at: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5738
|
+
PolymeshPrimitivesIdentityId,
|
|
5739
|
+
Option<u64>,
|
|
5740
|
+
Option<u64>
|
|
5296
5741
|
]>;
|
|
5297
5742
|
/**
|
|
5298
5743
|
* Removes a member `who` from the set. May only be called from `RemoveOrigin` or root.
|
|
@@ -5306,8 +5751,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5306
5751
|
* * `origin` - Origin representing `RemoveOrigin` or root
|
|
5307
5752
|
* * `who` - IdentityId to be removed from the group.
|
|
5308
5753
|
**/
|
|
5309
|
-
removeMember: AugmentedSubmittable<(who:
|
|
5310
|
-
|
|
5754
|
+
removeMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5755
|
+
PolymeshPrimitivesIdentityId
|
|
5311
5756
|
]>;
|
|
5312
5757
|
/**
|
|
5313
5758
|
* Changes the membership to a new set, disregarding the existing membership.
|
|
@@ -5317,8 +5762,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5317
5762
|
* * `origin` - Origin representing `ResetOrigin` or root
|
|
5318
5763
|
* * `members` - New set of identities
|
|
5319
5764
|
**/
|
|
5320
|
-
resetMembers: AugmentedSubmittable<(members: Vec<
|
|
5321
|
-
Vec<
|
|
5765
|
+
resetMembers: AugmentedSubmittable<(members: Vec<PolymeshPrimitivesIdentityId> | (PolymeshPrimitivesIdentityId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5766
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
5322
5767
|
]>;
|
|
5323
5768
|
/**
|
|
5324
5769
|
* Change this group's limit for how many concurrent active members they may be.
|
|
@@ -5326,8 +5771,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5326
5771
|
* # Arguments
|
|
5327
5772
|
* * `limit` - the number of active members there may be concurrently.
|
|
5328
5773
|
**/
|
|
5329
|
-
setActiveMembersLimit: AugmentedSubmittable<(limit:
|
|
5330
|
-
|
|
5774
|
+
setActiveMembersLimit: AugmentedSubmittable<(limit: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5775
|
+
u32
|
|
5331
5776
|
]>;
|
|
5332
5777
|
/**
|
|
5333
5778
|
* Swaps out one member `remove` for another member `add`.
|
|
@@ -5339,9 +5784,9 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5339
5784
|
* * `remove` - IdentityId to be removed from the group.
|
|
5340
5785
|
* * `add` - IdentityId to be added in place of `remove`.
|
|
5341
5786
|
**/
|
|
5342
|
-
swapMember: AugmentedSubmittable<(remove:
|
|
5343
|
-
|
|
5344
|
-
|
|
5787
|
+
swapMember: AugmentedSubmittable<(remove: PolymeshPrimitivesIdentityId | string | Uint8Array, add: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5788
|
+
PolymeshPrimitivesIdentityId,
|
|
5789
|
+
PolymeshPrimitivesIdentityId
|
|
5345
5790
|
]>;
|
|
5346
5791
|
};
|
|
5347
5792
|
utility: {
|
|
@@ -5441,24 +5886,21 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
5441
5886
|
* - `call`: Call to be relayed on behalf of target
|
|
5442
5887
|
*
|
|
5443
5888
|
**/
|
|
5444
|
-
relayTx: AugmentedSubmittable<(target:
|
|
5889
|
+
relayTx: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, signature: SpRuntimeMultiSignature | {
|
|
5445
5890
|
Ed25519: any;
|
|
5446
5891
|
} | {
|
|
5447
5892
|
Sr25519: any;
|
|
5448
5893
|
} | {
|
|
5449
5894
|
Ecdsa: any;
|
|
5450
|
-
} | string | Uint8Array, call:
|
|
5895
|
+
} | string | Uint8Array, call: PalletUtilityUniqueCall | {
|
|
5451
5896
|
nonce?: any;
|
|
5452
5897
|
call?: any;
|
|
5453
5898
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5899
|
+
AccountId32,
|
|
5900
|
+
SpRuntimeMultiSignature,
|
|
5901
|
+
PalletUtilityUniqueCall
|
|
5457
5902
|
]>;
|
|
5458
5903
|
};
|
|
5459
5904
|
}
|
|
5460
|
-
interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {
|
|
5461
|
-
(extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;
|
|
5462
|
-
}
|
|
5463
5905
|
}
|
|
5464
5906
|
//# sourceMappingURL=augment-api-tx.d.ts.map
|