@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,147 +1,247 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import type { Kind, OpaqueTimeSlot } from '@polkadot/types/interfaces/offences';
|
|
9
|
-
import type { AccountId, AccountIndex, Balance, BlockNumber, Hash, Moment, Perbill, PhantomData } from '@polkadot/types/interfaces/runtime';
|
|
10
|
-
import type { TaskAddress } from '@polkadot/types/interfaces/scheduler';
|
|
11
|
-
import type { IdentificationTuple, SessionIndex } from '@polkadot/types/interfaces/session';
|
|
12
|
-
import type { ElectionCompute, EraIndex } from '@polkadot/types/interfaces/staking';
|
|
13
|
-
import type { DispatchError, DispatchInfo, DispatchResult } from '@polkadot/types/interfaces/system';
|
|
14
|
-
import type { AGId, AgentGroup, AssetIdentifier, AssetName, AssetType, AuthorizationData, BallotMeta, BallotTimeRange, BallotVote, BridgeTx, CADetails, CAId, CheckpointId, ComplianceRequirement, CorporateAction, CustomAssetTypeId, Distribution, Document, DocumentId, ErrorAt, EventCounts, EventDid, ExtrinsicPermissions, FundingRoundName, Fundraiser, FundraiserId, FundraiserName, HandledTxStatus, IdentityClaim, IdentityId, InstructionId, InvestorUid, Leg, LegId, MaybeBlock, Memo, Permissions, PipDescription, PipId, PortfolioId, PortfolioName, PortfolioNumber, PosRatio, ProposalData, ProposalState, Proposer, ReceiptMetadata, ScopeId, SecondaryKey, SettlementType, Signatory, SkippedCount, SlashingSwitch, SnapshotId, SnapshottedPip, StoredSchedule, TargetIdentities, Tax, Ticker, TransferManager, TrustedIssuer, Url, VenueDetails, VenueId, VenueType } from "./polymesh";
|
|
15
|
-
import type { ApiTypes } from '@polkadot/api/types';
|
|
16
|
-
declare module '@polkadot/api/types/events' {
|
|
17
|
-
interface AugmentedEvents<ApiType> {
|
|
1
|
+
import type { ApiTypes } from '@polkadot/api-base/types';
|
|
2
|
+
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
|
+
import type { ITuple } from '@polkadot/types-codec/types';
|
|
4
|
+
import type { AccountId32, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
+
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletBridgeBridgeTx, PalletBridgeHandledTxStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletSettlementLeg, PalletSettlementSettlementType, PalletSettlementVenueType, PalletStakingElectionCompute, PalletStakingExposure, PalletStakingSlashingSwitch, PalletStoFundraiser, PolymeshCommonUtilitiesBalancesMemo, PolymeshCommonUtilitiesCheckpointStoredSchedule, PolymeshCommonUtilitiesMaybeBlock, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesCddIdInvestorUid, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEthereumEthereumAddress, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError } from "./types-lookup.ts";
|
|
6
|
+
declare module '@polkadot/api-base/types/events' {
|
|
7
|
+
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
18
8
|
asset: {
|
|
19
9
|
/**
|
|
20
10
|
* Event for creation of the asset.
|
|
21
11
|
* caller DID/ owner DID, ticker, divisibility, asset type, beneficiary DID, disable investor uniqueness
|
|
22
12
|
**/
|
|
23
13
|
AssetCreated: AugmentedEvent<ApiType, [
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
PolymeshPrimitivesIdentityId,
|
|
15
|
+
PolymeshPrimitivesTicker,
|
|
26
16
|
bool,
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
PolymeshPrimitivesAssetAssetType,
|
|
18
|
+
PolymeshPrimitivesIdentityId,
|
|
29
19
|
bool
|
|
30
20
|
]>;
|
|
31
21
|
/**
|
|
32
22
|
* An event emitted when an asset is frozen.
|
|
33
23
|
* Parameter: caller DID, ticker.
|
|
34
24
|
**/
|
|
35
|
-
AssetFrozen: AugmentedEvent<ApiType, [
|
|
25
|
+
AssetFrozen: AugmentedEvent<ApiType, [
|
|
26
|
+
PolymeshPrimitivesIdentityId,
|
|
27
|
+
PolymeshPrimitivesTicker
|
|
28
|
+
]>;
|
|
36
29
|
/**
|
|
37
30
|
* Emit when token ownership is transferred.
|
|
38
31
|
* caller DID / token ownership transferred to DID, ticker, from
|
|
39
32
|
**/
|
|
40
|
-
AssetOwnershipTransferred: AugmentedEvent<ApiType, [
|
|
33
|
+
AssetOwnershipTransferred: AugmentedEvent<ApiType, [
|
|
34
|
+
PolymeshPrimitivesIdentityId,
|
|
35
|
+
PolymeshPrimitivesTicker,
|
|
36
|
+
PolymeshPrimitivesIdentityId
|
|
37
|
+
]>;
|
|
41
38
|
/**
|
|
42
39
|
* An event emitted when a token is renamed.
|
|
43
40
|
* Parameters: caller DID, ticker, new token name.
|
|
44
41
|
**/
|
|
45
|
-
AssetRenamed: AugmentedEvent<ApiType, [
|
|
42
|
+
AssetRenamed: AugmentedEvent<ApiType, [
|
|
43
|
+
PolymeshPrimitivesIdentityId,
|
|
44
|
+
PolymeshPrimitivesTicker,
|
|
45
|
+
Bytes
|
|
46
|
+
]>;
|
|
46
47
|
/**
|
|
47
48
|
* An event emitted when an asset is unfrozen.
|
|
48
49
|
* Parameter: caller DID, ticker.
|
|
49
50
|
**/
|
|
50
|
-
AssetUnfrozen: AugmentedEvent<ApiType, [
|
|
51
|
+
AssetUnfrozen: AugmentedEvent<ApiType, [
|
|
52
|
+
PolymeshPrimitivesIdentityId,
|
|
53
|
+
PolymeshPrimitivesTicker
|
|
54
|
+
]>;
|
|
51
55
|
/**
|
|
52
56
|
* A Polymath Classic token was claimed and transferred to a non-systematic DID.
|
|
53
57
|
**/
|
|
54
|
-
ClassicTickerClaimed: AugmentedEvent<ApiType, [
|
|
58
|
+
ClassicTickerClaimed: AugmentedEvent<ApiType, [
|
|
59
|
+
PolymeshPrimitivesIdentityId,
|
|
60
|
+
PolymeshPrimitivesTicker,
|
|
61
|
+
PolymeshPrimitivesEthereumEthereumAddress
|
|
62
|
+
]>;
|
|
55
63
|
/**
|
|
56
64
|
* Event for when a forced transfer takes place.
|
|
57
65
|
* caller DID/ controller DID, ticker, Portfolio of token holder, value.
|
|
58
66
|
**/
|
|
59
|
-
ControllerTransfer: AugmentedEvent<ApiType, [
|
|
67
|
+
ControllerTransfer: AugmentedEvent<ApiType, [
|
|
68
|
+
PolymeshPrimitivesIdentityId,
|
|
69
|
+
PolymeshPrimitivesTicker,
|
|
70
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
71
|
+
u128
|
|
72
|
+
]>;
|
|
60
73
|
/**
|
|
61
74
|
* A custom asset type already exists on-chain.
|
|
62
75
|
* caller DID, the ID of the custom asset type, the string contents registered.
|
|
63
76
|
**/
|
|
64
|
-
CustomAssetTypeExists: AugmentedEvent<ApiType, [
|
|
77
|
+
CustomAssetTypeExists: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, Bytes]>;
|
|
65
78
|
/**
|
|
66
79
|
* A custom asset type was registered on-chain.
|
|
67
80
|
* caller DID, the ID of the custom asset type, the string contents registered.
|
|
68
81
|
**/
|
|
69
|
-
CustomAssetTypeRegistered: AugmentedEvent<ApiType, [
|
|
82
|
+
CustomAssetTypeRegistered: AugmentedEvent<ApiType, [
|
|
83
|
+
PolymeshPrimitivesIdentityId,
|
|
84
|
+
u32,
|
|
85
|
+
Bytes
|
|
86
|
+
]>;
|
|
70
87
|
/**
|
|
71
88
|
* Event for change in divisibility.
|
|
72
89
|
* caller DID, ticker, divisibility
|
|
73
90
|
**/
|
|
74
|
-
DivisibilityChanged: AugmentedEvent<ApiType, [
|
|
91
|
+
DivisibilityChanged: AugmentedEvent<ApiType, [
|
|
92
|
+
PolymeshPrimitivesIdentityId,
|
|
93
|
+
PolymeshPrimitivesTicker,
|
|
94
|
+
bool
|
|
95
|
+
]>;
|
|
75
96
|
/**
|
|
76
97
|
* A new document attached to an asset
|
|
77
98
|
**/
|
|
78
|
-
DocumentAdded: AugmentedEvent<ApiType, [
|
|
99
|
+
DocumentAdded: AugmentedEvent<ApiType, [
|
|
100
|
+
PolymeshPrimitivesIdentityId,
|
|
101
|
+
PolymeshPrimitivesTicker,
|
|
102
|
+
u32,
|
|
103
|
+
PolymeshPrimitivesDocument
|
|
104
|
+
]>;
|
|
79
105
|
/**
|
|
80
106
|
* A document removed from an asset
|
|
81
107
|
**/
|
|
82
|
-
DocumentRemoved: AugmentedEvent<ApiType, [
|
|
108
|
+
DocumentRemoved: AugmentedEvent<ApiType, [
|
|
109
|
+
PolymeshPrimitivesIdentityId,
|
|
110
|
+
PolymeshPrimitivesTicker,
|
|
111
|
+
u32
|
|
112
|
+
]>;
|
|
83
113
|
/**
|
|
84
114
|
* A extension got removed.
|
|
85
115
|
* caller DID, ticker, AccountId
|
|
86
116
|
**/
|
|
87
|
-
ExtensionRemoved: AugmentedEvent<ApiType, [
|
|
117
|
+
ExtensionRemoved: AugmentedEvent<ApiType, [
|
|
118
|
+
PolymeshPrimitivesIdentityId,
|
|
119
|
+
PolymeshPrimitivesTicker,
|
|
120
|
+
AccountId32
|
|
121
|
+
]>;
|
|
88
122
|
/**
|
|
89
123
|
* An event carrying the name of the current funding round of a ticker.
|
|
90
124
|
* Parameters: caller DID, ticker, funding round name.
|
|
91
125
|
**/
|
|
92
|
-
FundingRoundSet: AugmentedEvent<ApiType, [
|
|
126
|
+
FundingRoundSet: AugmentedEvent<ApiType, [
|
|
127
|
+
PolymeshPrimitivesIdentityId,
|
|
128
|
+
PolymeshPrimitivesTicker,
|
|
129
|
+
Bytes
|
|
130
|
+
]>;
|
|
93
131
|
/**
|
|
94
132
|
* Event emitted when any token identifiers are updated.
|
|
95
133
|
* caller DID, ticker, a vector of (identifier type, identifier value)
|
|
96
134
|
**/
|
|
97
|
-
IdentifiersUpdated: AugmentedEvent<ApiType, [
|
|
135
|
+
IdentifiersUpdated: AugmentedEvent<ApiType, [
|
|
136
|
+
PolymeshPrimitivesIdentityId,
|
|
137
|
+
PolymeshPrimitivesTicker,
|
|
138
|
+
Vec<PolymeshPrimitivesAssetIdentifier>
|
|
139
|
+
]>;
|
|
98
140
|
/**
|
|
99
141
|
* is_issuable() output
|
|
100
142
|
* ticker, return value (true if issuable)
|
|
101
143
|
**/
|
|
102
|
-
IsIssuable: AugmentedEvent<ApiType, [
|
|
144
|
+
IsIssuable: AugmentedEvent<ApiType, [PolymeshPrimitivesTicker, bool]>;
|
|
103
145
|
/**
|
|
104
146
|
* Emit when tokens get issued.
|
|
105
147
|
* caller DID, ticker, beneficiary DID, value, funding round, total issued in this funding round
|
|
106
148
|
**/
|
|
107
149
|
Issued: AugmentedEvent<ApiType, [
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
150
|
+
PolymeshPrimitivesIdentityId,
|
|
151
|
+
PolymeshPrimitivesTicker,
|
|
152
|
+
PolymeshPrimitivesIdentityId,
|
|
153
|
+
u128,
|
|
154
|
+
Bytes,
|
|
155
|
+
u128
|
|
114
156
|
]>;
|
|
115
157
|
/**
|
|
116
158
|
* Emit when tokens get redeemed.
|
|
117
159
|
* caller DID, ticker, from DID, value
|
|
118
160
|
**/
|
|
119
|
-
Redeemed: AugmentedEvent<ApiType, [
|
|
161
|
+
Redeemed: AugmentedEvent<ApiType, [
|
|
162
|
+
PolymeshPrimitivesIdentityId,
|
|
163
|
+
PolymeshPrimitivesTicker,
|
|
164
|
+
PolymeshPrimitivesIdentityId,
|
|
165
|
+
u128
|
|
166
|
+
]>;
|
|
167
|
+
/**
|
|
168
|
+
* Register asset metadata global type.
|
|
169
|
+
* (Global type name, Global type key, type specs)
|
|
170
|
+
**/
|
|
171
|
+
RegisterAssetMetadataGlobalType: AugmentedEvent<ApiType, [
|
|
172
|
+
Bytes,
|
|
173
|
+
u64,
|
|
174
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataSpec
|
|
175
|
+
]>;
|
|
176
|
+
/**
|
|
177
|
+
* Register asset metadata local type.
|
|
178
|
+
* (Caller DID, ticker, Local type name, Local type key, type specs)
|
|
179
|
+
**/
|
|
180
|
+
RegisterAssetMetadataLocalType: AugmentedEvent<ApiType, [
|
|
181
|
+
PolymeshPrimitivesIdentityId,
|
|
182
|
+
PolymeshPrimitivesTicker,
|
|
183
|
+
Bytes,
|
|
184
|
+
u64,
|
|
185
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataSpec
|
|
186
|
+
]>;
|
|
187
|
+
/**
|
|
188
|
+
* Set asset metadata value.
|
|
189
|
+
* (Caller DID, ticker, metadata value, optional value details)
|
|
190
|
+
**/
|
|
191
|
+
SetAssetMetadataValue: AugmentedEvent<ApiType, [
|
|
192
|
+
PolymeshPrimitivesIdentityId,
|
|
193
|
+
PolymeshPrimitivesTicker,
|
|
194
|
+
Bytes,
|
|
195
|
+
Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>
|
|
196
|
+
]>;
|
|
197
|
+
/**
|
|
198
|
+
* Set asset metadata value details (expire, lock status).
|
|
199
|
+
* (Caller DID, ticker, value details)
|
|
200
|
+
**/
|
|
201
|
+
SetAssetMetadataValueDetails: AugmentedEvent<ApiType, [
|
|
202
|
+
PolymeshPrimitivesIdentityId,
|
|
203
|
+
PolymeshPrimitivesTicker,
|
|
204
|
+
PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail
|
|
205
|
+
]>;
|
|
120
206
|
/**
|
|
121
207
|
* Emit when ticker is registered.
|
|
122
208
|
* caller DID / ticker owner did, ticker, ticker owner, expiry
|
|
123
209
|
**/
|
|
124
|
-
TickerRegistered: AugmentedEvent<ApiType, [
|
|
210
|
+
TickerRegistered: AugmentedEvent<ApiType, [
|
|
211
|
+
PolymeshPrimitivesIdentityId,
|
|
212
|
+
PolymeshPrimitivesTicker,
|
|
213
|
+
Option<u64>
|
|
214
|
+
]>;
|
|
125
215
|
/**
|
|
126
216
|
* Emit when ticker is transferred.
|
|
127
217
|
* caller DID / ticker transferred to DID, ticker, from
|
|
128
218
|
**/
|
|
129
|
-
TickerTransferred: AugmentedEvent<ApiType, [
|
|
219
|
+
TickerTransferred: AugmentedEvent<ApiType, [
|
|
220
|
+
PolymeshPrimitivesIdentityId,
|
|
221
|
+
PolymeshPrimitivesTicker,
|
|
222
|
+
PolymeshPrimitivesIdentityId
|
|
223
|
+
]>;
|
|
130
224
|
/**
|
|
131
225
|
* Event for transfer of tokens.
|
|
132
226
|
* caller DID, ticker, from portfolio, to portfolio, value
|
|
133
227
|
**/
|
|
134
|
-
Transfer: AugmentedEvent<ApiType, [
|
|
228
|
+
Transfer: AugmentedEvent<ApiType, [
|
|
229
|
+
PolymeshPrimitivesIdentityId,
|
|
230
|
+
PolymeshPrimitivesTicker,
|
|
231
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
232
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
233
|
+
u128
|
|
234
|
+
]>;
|
|
135
235
|
/**
|
|
136
236
|
* An additional event to Transfer; emitted when `transfer_with_data` is called.
|
|
137
237
|
* caller DID , ticker, from DID, to DID, value, data
|
|
138
238
|
**/
|
|
139
239
|
TransferWithData: AugmentedEvent<ApiType, [
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
240
|
+
PolymeshPrimitivesIdentityId,
|
|
241
|
+
PolymeshPrimitivesTicker,
|
|
242
|
+
PolymeshPrimitivesIdentityId,
|
|
243
|
+
PolymeshPrimitivesIdentityId,
|
|
244
|
+
u128,
|
|
145
245
|
Bytes
|
|
146
246
|
]>;
|
|
147
247
|
};
|
|
@@ -150,113 +250,136 @@ declare module '@polkadot/api/types/events' {
|
|
|
150
250
|
* The account and the amount of unlocked balance of that account that was burned.
|
|
151
251
|
* (caller Id, caller account, amount)
|
|
152
252
|
**/
|
|
153
|
-
AccountBalanceBurned: AugmentedEvent<ApiType, [
|
|
253
|
+
AccountBalanceBurned: AugmentedEvent<ApiType, [
|
|
254
|
+
PolymeshPrimitivesIdentityId,
|
|
255
|
+
AccountId32,
|
|
256
|
+
u128
|
|
257
|
+
]>;
|
|
154
258
|
/**
|
|
155
259
|
* A balance was set by root (did, who, free, reserved).
|
|
156
260
|
**/
|
|
157
|
-
BalanceSet: AugmentedEvent<ApiType, [
|
|
261
|
+
BalanceSet: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u128, u128]>;
|
|
158
262
|
/**
|
|
159
263
|
* An account was created with some free balance. \[did, account, free_balance]
|
|
160
264
|
**/
|
|
161
|
-
Endowed: AugmentedEvent<ApiType, [Option<
|
|
265
|
+
Endowed: AugmentedEvent<ApiType, [Option<PolymeshPrimitivesIdentityId>, AccountId32, u128]>;
|
|
162
266
|
/**
|
|
163
267
|
* Some balance was reserved (moved from free to reserved). \[who, value]
|
|
164
268
|
**/
|
|
165
|
-
Reserved: AugmentedEvent<ApiType, [
|
|
269
|
+
Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
166
270
|
/**
|
|
167
271
|
* Some balance was moved from the reserve of the first account to the second account.
|
|
168
272
|
* Final argument indicates the destination balance type.
|
|
169
273
|
* \[from, to, balance, destination_status]
|
|
170
274
|
**/
|
|
171
|
-
ReserveRepatriated: AugmentedEvent<ApiType, [
|
|
275
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [
|
|
276
|
+
AccountId32,
|
|
277
|
+
AccountId32,
|
|
278
|
+
u128,
|
|
279
|
+
FrameSupportTokensMiscBalanceStatus
|
|
280
|
+
]>;
|
|
172
281
|
/**
|
|
173
282
|
* Transfer succeeded (from_did, from, to_did, to, value, memo).
|
|
174
283
|
**/
|
|
175
284
|
Transfer: AugmentedEvent<ApiType, [
|
|
176
|
-
Option<
|
|
177
|
-
|
|
178
|
-
Option<
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
Option<
|
|
285
|
+
Option<PolymeshPrimitivesIdentityId>,
|
|
286
|
+
AccountId32,
|
|
287
|
+
Option<PolymeshPrimitivesIdentityId>,
|
|
288
|
+
AccountId32,
|
|
289
|
+
u128,
|
|
290
|
+
Option<PolymeshCommonUtilitiesBalancesMemo>
|
|
182
291
|
]>;
|
|
183
292
|
/**
|
|
184
293
|
* Some balance was unreserved (moved from reserved to free). \[who, value]
|
|
185
294
|
**/
|
|
186
|
-
Unreserved: AugmentedEvent<ApiType, [
|
|
295
|
+
Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
187
296
|
};
|
|
188
297
|
base: {
|
|
189
298
|
/**
|
|
190
299
|
* An unexpected error happened that should be investigated.
|
|
191
300
|
**/
|
|
192
|
-
UnexpectedError: AugmentedEvent<ApiType, [Option<
|
|
301
|
+
UnexpectedError: AugmentedEvent<ApiType, [Option<SpRuntimeDispatchError>]>;
|
|
193
302
|
};
|
|
194
303
|
bridge: {
|
|
195
304
|
/**
|
|
196
305
|
* Confirmation of Admin change.
|
|
197
306
|
**/
|
|
198
|
-
AdminChanged: AugmentedEvent<ApiType, [
|
|
307
|
+
AdminChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32]>;
|
|
199
308
|
/**
|
|
200
309
|
* Confirmation of POLYX upgrade on Polymesh from POLY tokens on Ethereum.
|
|
201
310
|
**/
|
|
202
|
-
Bridged: AugmentedEvent<ApiType, [
|
|
311
|
+
Bridged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, PalletBridgeBridgeTx]>;
|
|
203
312
|
/**
|
|
204
313
|
* Bridge limit has been updated.
|
|
205
314
|
**/
|
|
206
|
-
BridgeLimitUpdated: AugmentedEvent<ApiType, [
|
|
315
|
+
BridgeLimitUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u128, u32]>;
|
|
207
316
|
/**
|
|
208
317
|
* Bridge Tx Scheduled.
|
|
209
318
|
**/
|
|
210
|
-
BridgeTxScheduled: AugmentedEvent<ApiType, [
|
|
319
|
+
BridgeTxScheduled: AugmentedEvent<ApiType, [
|
|
320
|
+
PolymeshPrimitivesIdentityId,
|
|
321
|
+
PalletBridgeBridgeTx,
|
|
322
|
+
u32
|
|
323
|
+
]>;
|
|
211
324
|
/**
|
|
212
325
|
* Failed to schedule Bridge Tx.
|
|
213
326
|
**/
|
|
214
|
-
BridgeTxScheduleFailed: AugmentedEvent<ApiType, [
|
|
327
|
+
BridgeTxScheduleFailed: AugmentedEvent<ApiType, [
|
|
328
|
+
PolymeshPrimitivesIdentityId,
|
|
329
|
+
PalletBridgeBridgeTx,
|
|
330
|
+
Bytes
|
|
331
|
+
]>;
|
|
215
332
|
/**
|
|
216
333
|
* Confirmation of a signer set change.
|
|
217
334
|
**/
|
|
218
|
-
ControllerChanged: AugmentedEvent<ApiType, [
|
|
335
|
+
ControllerChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32]>;
|
|
219
336
|
/**
|
|
220
337
|
* Exemption status of an identity has been updated.
|
|
221
338
|
**/
|
|
222
|
-
ExemptedUpdated: AugmentedEvent<ApiType, [
|
|
339
|
+
ExemptedUpdated: AugmentedEvent<ApiType, [
|
|
340
|
+
PolymeshPrimitivesIdentityId,
|
|
341
|
+
PolymeshPrimitivesIdentityId,
|
|
342
|
+
bool
|
|
343
|
+
]>;
|
|
223
344
|
/**
|
|
224
345
|
* A new freeze admin has been added.
|
|
225
346
|
**/
|
|
226
|
-
FreezeAdminAdded: AugmentedEvent<ApiType, [
|
|
347
|
+
FreezeAdminAdded: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32]>;
|
|
227
348
|
/**
|
|
228
349
|
* A freeze admin has been removed.
|
|
229
350
|
**/
|
|
230
|
-
FreezeAdminRemoved: AugmentedEvent<ApiType, [
|
|
351
|
+
FreezeAdminRemoved: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32]>;
|
|
231
352
|
/**
|
|
232
353
|
* Notification of freezing the bridge.
|
|
233
354
|
**/
|
|
234
|
-
Frozen: AugmentedEvent<ApiType, [
|
|
355
|
+
Frozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId]>;
|
|
235
356
|
/**
|
|
236
357
|
* Notification of freezing a transaction.
|
|
237
358
|
**/
|
|
238
|
-
FrozenTx: AugmentedEvent<ApiType, [
|
|
359
|
+
FrozenTx: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, PalletBridgeBridgeTx]>;
|
|
239
360
|
/**
|
|
240
361
|
* Confirmation of default timelock change.
|
|
241
362
|
**/
|
|
242
|
-
TimelockChanged: AugmentedEvent<ApiType, [
|
|
363
|
+
TimelockChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32]>;
|
|
243
364
|
/**
|
|
244
365
|
* Notification of removing a transaction.
|
|
245
366
|
**/
|
|
246
|
-
TxRemoved: AugmentedEvent<ApiType, [
|
|
367
|
+
TxRemoved: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, PalletBridgeBridgeTx]>;
|
|
247
368
|
/**
|
|
248
369
|
* An event emitted after a vector of transactions is handled. The parameter is a vector of
|
|
249
370
|
* tuples of recipient account, its nonce, and the status of the processed transaction.
|
|
250
371
|
**/
|
|
251
|
-
TxsHandled: AugmentedEvent<ApiType, [
|
|
372
|
+
TxsHandled: AugmentedEvent<ApiType, [
|
|
373
|
+
Vec<ITuple<[AccountId32, u32, PalletBridgeHandledTxStatus]>>
|
|
374
|
+
]>;
|
|
252
375
|
/**
|
|
253
376
|
* Notification of unfreezing the bridge.
|
|
254
377
|
**/
|
|
255
|
-
Unfrozen: AugmentedEvent<ApiType, [
|
|
378
|
+
Unfrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId]>;
|
|
256
379
|
/**
|
|
257
380
|
* Notification of unfreezing a transaction.
|
|
258
381
|
**/
|
|
259
|
-
UnfrozenTx: AugmentedEvent<ApiType, [
|
|
382
|
+
UnfrozenTx: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, PalletBridgeBridgeTx]>;
|
|
260
383
|
};
|
|
261
384
|
capitalDistribution: {
|
|
262
385
|
/**
|
|
@@ -265,12 +388,12 @@ declare module '@polkadot/api/types/events' {
|
|
|
265
388
|
* (Caller DID, Holder/Claimant DID, CA's ID, updated distribution details, DID's benefit, DID's tax %)
|
|
266
389
|
**/
|
|
267
390
|
BenefitClaimed: AugmentedEvent<ApiType, [
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
391
|
+
PolymeshPrimitivesEventOnly,
|
|
392
|
+
PolymeshPrimitivesEventOnly,
|
|
393
|
+
PalletCorporateActionsCaId,
|
|
394
|
+
PalletCorporateActionsDistribution,
|
|
395
|
+
u128,
|
|
396
|
+
Permill
|
|
274
397
|
]>;
|
|
275
398
|
/**
|
|
276
399
|
* A capital distribution, with details included,
|
|
@@ -278,54 +401,78 @@ declare module '@polkadot/api/types/events' {
|
|
|
278
401
|
*
|
|
279
402
|
* (Agent DID, CA's ID, distribution details)
|
|
280
403
|
**/
|
|
281
|
-
Created: AugmentedEvent<ApiType, [
|
|
404
|
+
Created: AugmentedEvent<ApiType, [
|
|
405
|
+
PolymeshPrimitivesEventOnly,
|
|
406
|
+
PalletCorporateActionsCaId,
|
|
407
|
+
PalletCorporateActionsDistribution
|
|
408
|
+
]>;
|
|
282
409
|
/**
|
|
283
410
|
* Stats from `push_benefit` was emitted.
|
|
284
411
|
*
|
|
285
412
|
* (Agent DID, CA's ID, max requested DIDs, processed DIDs, failed DIDs)
|
|
286
413
|
**/
|
|
287
|
-
Reclaimed: AugmentedEvent<ApiType, [
|
|
414
|
+
Reclaimed: AugmentedEvent<ApiType, [
|
|
415
|
+
PolymeshPrimitivesEventOnly,
|
|
416
|
+
PalletCorporateActionsCaId,
|
|
417
|
+
u128
|
|
418
|
+
]>;
|
|
288
419
|
/**
|
|
289
420
|
* A capital distribution was removed.
|
|
290
421
|
*
|
|
291
422
|
* (Agent DID, CA's ID)
|
|
292
423
|
**/
|
|
293
|
-
Removed: AugmentedEvent<ApiType, [
|
|
424
|
+
Removed: AugmentedEvent<ApiType, [PolymeshPrimitivesEventOnly, PalletCorporateActionsCaId]>;
|
|
294
425
|
};
|
|
295
426
|
cddServiceProviders: {
|
|
296
427
|
/**
|
|
297
428
|
* The limit of how many active members there can be concurrently was changed.
|
|
298
429
|
**/
|
|
299
|
-
ActiveLimitChanged: AugmentedEvent<ApiType, [
|
|
430
|
+
ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
300
431
|
/**
|
|
301
432
|
* Phantom member, never used.
|
|
302
433
|
**/
|
|
303
|
-
Dummy: AugmentedEvent<ApiType, [
|
|
434
|
+
Dummy: AugmentedEvent<ApiType, []>;
|
|
304
435
|
/**
|
|
305
436
|
* The given member was added; see the transaction for who.
|
|
306
437
|
* caller DID, New member DID.
|
|
307
438
|
**/
|
|
308
|
-
MemberAdded: AugmentedEvent<ApiType, [
|
|
439
|
+
MemberAdded: AugmentedEvent<ApiType, [
|
|
440
|
+
PolymeshPrimitivesIdentityId,
|
|
441
|
+
PolymeshPrimitivesIdentityId
|
|
442
|
+
]>;
|
|
309
443
|
/**
|
|
310
444
|
* The given member was removed; see the transaction for who.
|
|
311
445
|
* caller DID, member DID that get removed.
|
|
312
446
|
**/
|
|
313
|
-
MemberRemoved: AugmentedEvent<ApiType, [
|
|
447
|
+
MemberRemoved: AugmentedEvent<ApiType, [
|
|
448
|
+
PolymeshPrimitivesIdentityId,
|
|
449
|
+
PolymeshPrimitivesIdentityId
|
|
450
|
+
]>;
|
|
314
451
|
/**
|
|
315
452
|
* The given member has been revoked at specific time-stamp.
|
|
316
453
|
* caller DID, member DID that get revoked.
|
|
317
454
|
**/
|
|
318
|
-
MemberRevoked: AugmentedEvent<ApiType, [
|
|
455
|
+
MemberRevoked: AugmentedEvent<ApiType, [
|
|
456
|
+
PolymeshPrimitivesIdentityId,
|
|
457
|
+
PolymeshPrimitivesIdentityId
|
|
458
|
+
]>;
|
|
319
459
|
/**
|
|
320
460
|
* The membership was reset; see the transaction for who the new set is.
|
|
321
461
|
* caller DID, List of new members.
|
|
322
462
|
**/
|
|
323
|
-
MembersReset: AugmentedEvent<ApiType, [
|
|
463
|
+
MembersReset: AugmentedEvent<ApiType, [
|
|
464
|
+
PolymeshPrimitivesIdentityId,
|
|
465
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
466
|
+
]>;
|
|
324
467
|
/**
|
|
325
468
|
* Two members were swapped; see the transaction for who.
|
|
326
469
|
* caller DID, Removed DID, New add DID.
|
|
327
470
|
**/
|
|
328
|
-
MembersSwapped: AugmentedEvent<ApiType, [
|
|
471
|
+
MembersSwapped: AugmentedEvent<ApiType, [
|
|
472
|
+
PolymeshPrimitivesIdentityId,
|
|
473
|
+
PolymeshPrimitivesIdentityId,
|
|
474
|
+
PolymeshPrimitivesIdentityId
|
|
475
|
+
]>;
|
|
329
476
|
};
|
|
330
477
|
checkpoint: {
|
|
331
478
|
/**
|
|
@@ -334,179 +481,279 @@ declare module '@polkadot/api/types/events' {
|
|
|
334
481
|
* (caller DID, ticker, checkpoint ID, total supply, checkpoint timestamp)
|
|
335
482
|
**/
|
|
336
483
|
CheckpointCreated: AugmentedEvent<ApiType, [
|
|
337
|
-
Option<
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
484
|
+
Option<PolymeshPrimitivesEventOnly>,
|
|
485
|
+
PolymeshPrimitivesTicker,
|
|
486
|
+
u64,
|
|
487
|
+
u128,
|
|
488
|
+
u64
|
|
342
489
|
]>;
|
|
343
490
|
/**
|
|
344
491
|
* The maximum complexity for an arbitrary ticker's schedule set was changed.
|
|
345
492
|
*
|
|
346
493
|
* (GC DID, the new maximum)
|
|
347
494
|
**/
|
|
348
|
-
MaximumSchedulesComplexityChanged: AugmentedEvent<ApiType, [
|
|
495
|
+
MaximumSchedulesComplexityChanged: AugmentedEvent<ApiType, [
|
|
496
|
+
PolymeshPrimitivesIdentityId,
|
|
497
|
+
u64
|
|
498
|
+
]>;
|
|
349
499
|
/**
|
|
350
500
|
* A checkpoint schedule was created.
|
|
351
501
|
*
|
|
352
502
|
* (caller DID, ticker, schedule)
|
|
353
503
|
**/
|
|
354
|
-
ScheduleCreated: AugmentedEvent<ApiType, [
|
|
504
|
+
ScheduleCreated: AugmentedEvent<ApiType, [
|
|
505
|
+
PolymeshPrimitivesEventOnly,
|
|
506
|
+
PolymeshPrimitivesTicker,
|
|
507
|
+
PolymeshCommonUtilitiesCheckpointStoredSchedule
|
|
508
|
+
]>;
|
|
355
509
|
/**
|
|
356
510
|
* A checkpoint schedule was removed.
|
|
357
511
|
*
|
|
358
512
|
* (caller DID, ticker, schedule)
|
|
359
513
|
**/
|
|
360
|
-
ScheduleRemoved: AugmentedEvent<ApiType, [
|
|
514
|
+
ScheduleRemoved: AugmentedEvent<ApiType, [
|
|
515
|
+
PolymeshPrimitivesIdentityId,
|
|
516
|
+
PolymeshPrimitivesTicker,
|
|
517
|
+
PolymeshCommonUtilitiesCheckpointStoredSchedule
|
|
518
|
+
]>;
|
|
361
519
|
};
|
|
362
520
|
committeeMembership: {
|
|
363
521
|
/**
|
|
364
522
|
* The limit of how many active members there can be concurrently was changed.
|
|
365
523
|
**/
|
|
366
|
-
ActiveLimitChanged: AugmentedEvent<ApiType, [
|
|
524
|
+
ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
367
525
|
/**
|
|
368
526
|
* Phantom member, never used.
|
|
369
527
|
**/
|
|
370
|
-
Dummy: AugmentedEvent<ApiType, [
|
|
528
|
+
Dummy: AugmentedEvent<ApiType, []>;
|
|
371
529
|
/**
|
|
372
530
|
* The given member was added; see the transaction for who.
|
|
373
531
|
* caller DID, New member DID.
|
|
374
532
|
**/
|
|
375
|
-
MemberAdded: AugmentedEvent<ApiType, [
|
|
533
|
+
MemberAdded: AugmentedEvent<ApiType, [
|
|
534
|
+
PolymeshPrimitivesIdentityId,
|
|
535
|
+
PolymeshPrimitivesIdentityId
|
|
536
|
+
]>;
|
|
376
537
|
/**
|
|
377
538
|
* The given member was removed; see the transaction for who.
|
|
378
539
|
* caller DID, member DID that get removed.
|
|
379
540
|
**/
|
|
380
|
-
MemberRemoved: AugmentedEvent<ApiType, [
|
|
541
|
+
MemberRemoved: AugmentedEvent<ApiType, [
|
|
542
|
+
PolymeshPrimitivesIdentityId,
|
|
543
|
+
PolymeshPrimitivesIdentityId
|
|
544
|
+
]>;
|
|
381
545
|
/**
|
|
382
546
|
* The given member has been revoked at specific time-stamp.
|
|
383
547
|
* caller DID, member DID that get revoked.
|
|
384
548
|
**/
|
|
385
|
-
MemberRevoked: AugmentedEvent<ApiType, [
|
|
549
|
+
MemberRevoked: AugmentedEvent<ApiType, [
|
|
550
|
+
PolymeshPrimitivesIdentityId,
|
|
551
|
+
PolymeshPrimitivesIdentityId
|
|
552
|
+
]>;
|
|
386
553
|
/**
|
|
387
554
|
* The membership was reset; see the transaction for who the new set is.
|
|
388
555
|
* caller DID, List of new members.
|
|
389
556
|
**/
|
|
390
|
-
MembersReset: AugmentedEvent<ApiType, [
|
|
557
|
+
MembersReset: AugmentedEvent<ApiType, [
|
|
558
|
+
PolymeshPrimitivesIdentityId,
|
|
559
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
560
|
+
]>;
|
|
391
561
|
/**
|
|
392
562
|
* Two members were swapped; see the transaction for who.
|
|
393
563
|
* caller DID, Removed DID, New add DID.
|
|
394
564
|
**/
|
|
395
|
-
MembersSwapped: AugmentedEvent<ApiType, [
|
|
565
|
+
MembersSwapped: AugmentedEvent<ApiType, [
|
|
566
|
+
PolymeshPrimitivesIdentityId,
|
|
567
|
+
PolymeshPrimitivesIdentityId,
|
|
568
|
+
PolymeshPrimitivesIdentityId
|
|
569
|
+
]>;
|
|
396
570
|
};
|
|
397
571
|
complianceManager: {
|
|
398
572
|
/**
|
|
399
573
|
* Emitted when an asset compliance for a given ticker gets paused.
|
|
400
574
|
* (caller DID, Ticker).
|
|
401
575
|
**/
|
|
402
|
-
AssetCompliancePaused: AugmentedEvent<ApiType, [
|
|
576
|
+
AssetCompliancePaused: AugmentedEvent<ApiType, [
|
|
577
|
+
PolymeshPrimitivesIdentityId,
|
|
578
|
+
PolymeshPrimitivesTicker
|
|
579
|
+
]>;
|
|
403
580
|
/**
|
|
404
581
|
* Emitted when an asset compliance is replaced.
|
|
405
582
|
* Parameters: caller DID, ticker, new asset compliance.
|
|
406
583
|
**/
|
|
407
584
|
AssetComplianceReplaced: AugmentedEvent<ApiType, [
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
Vec<
|
|
585
|
+
PolymeshPrimitivesIdentityId,
|
|
586
|
+
PolymeshPrimitivesTicker,
|
|
587
|
+
Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement>
|
|
411
588
|
]>;
|
|
412
589
|
/**
|
|
413
590
|
* Emitted when an asset compliance of a ticker is reset.
|
|
414
591
|
* (caller DID, Ticker).
|
|
415
592
|
**/
|
|
416
|
-
AssetComplianceReset: AugmentedEvent<ApiType, [
|
|
593
|
+
AssetComplianceReset: AugmentedEvent<ApiType, [
|
|
594
|
+
PolymeshPrimitivesIdentityId,
|
|
595
|
+
PolymeshPrimitivesTicker
|
|
596
|
+
]>;
|
|
417
597
|
/**
|
|
418
598
|
* Emitted when an asset compliance for a given ticker gets resume.
|
|
419
599
|
* (caller DID, Ticker).
|
|
420
600
|
**/
|
|
421
|
-
AssetComplianceResumed: AugmentedEvent<ApiType, [
|
|
601
|
+
AssetComplianceResumed: AugmentedEvent<ApiType, [
|
|
602
|
+
PolymeshPrimitivesIdentityId,
|
|
603
|
+
PolymeshPrimitivesTicker
|
|
604
|
+
]>;
|
|
422
605
|
/**
|
|
423
606
|
* Emitted when compliance requirement get modified/change.
|
|
424
607
|
* (caller DID, Ticker, ComplianceRequirement).
|
|
425
608
|
**/
|
|
426
609
|
ComplianceRequirementChanged: AugmentedEvent<ApiType, [
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
610
|
+
PolymeshPrimitivesIdentityId,
|
|
611
|
+
PolymeshPrimitivesTicker,
|
|
612
|
+
PolymeshPrimitivesComplianceManagerComplianceRequirement
|
|
430
613
|
]>;
|
|
431
614
|
/**
|
|
432
615
|
* Emitted when new compliance requirement is created.
|
|
433
616
|
* (caller DID, Ticker, ComplianceRequirement).
|
|
434
617
|
**/
|
|
435
618
|
ComplianceRequirementCreated: AugmentedEvent<ApiType, [
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
619
|
+
PolymeshPrimitivesIdentityId,
|
|
620
|
+
PolymeshPrimitivesTicker,
|
|
621
|
+
PolymeshPrimitivesComplianceManagerComplianceRequirement
|
|
439
622
|
]>;
|
|
440
623
|
/**
|
|
441
624
|
* Emitted when a compliance requirement is removed.
|
|
442
625
|
* (caller DID, Ticker, requirement_id).
|
|
443
626
|
**/
|
|
444
|
-
ComplianceRequirementRemoved: AugmentedEvent<ApiType, [
|
|
627
|
+
ComplianceRequirementRemoved: AugmentedEvent<ApiType, [
|
|
628
|
+
PolymeshPrimitivesIdentityId,
|
|
629
|
+
PolymeshPrimitivesTicker,
|
|
630
|
+
u32
|
|
631
|
+
]>;
|
|
445
632
|
/**
|
|
446
633
|
* Emitted when default claim issuer list for a given ticker gets added.
|
|
447
634
|
* (caller DID, Ticker, Added TrustedIssuer).
|
|
448
635
|
**/
|
|
449
|
-
TrustedDefaultClaimIssuerAdded: AugmentedEvent<ApiType, [
|
|
636
|
+
TrustedDefaultClaimIssuerAdded: AugmentedEvent<ApiType, [
|
|
637
|
+
PolymeshPrimitivesIdentityId,
|
|
638
|
+
PolymeshPrimitivesTicker,
|
|
639
|
+
PolymeshPrimitivesConditionTrustedIssuer
|
|
640
|
+
]>;
|
|
450
641
|
/**
|
|
451
642
|
* Emitted when default claim issuer list for a given ticker get removed.
|
|
452
643
|
* (caller DID, Ticker, Removed TrustedIssuer).
|
|
453
644
|
**/
|
|
454
|
-
TrustedDefaultClaimIssuerRemoved: AugmentedEvent<ApiType, [
|
|
645
|
+
TrustedDefaultClaimIssuerRemoved: AugmentedEvent<ApiType, [
|
|
646
|
+
PolymeshPrimitivesIdentityId,
|
|
647
|
+
PolymeshPrimitivesTicker,
|
|
648
|
+
PolymeshPrimitivesIdentityId
|
|
649
|
+
]>;
|
|
650
|
+
};
|
|
651
|
+
contracts: {
|
|
652
|
+
/**
|
|
653
|
+
* A code with the specified hash was removed.
|
|
654
|
+
**/
|
|
655
|
+
CodeRemoved: AugmentedEvent<ApiType, [H256]>;
|
|
656
|
+
/**
|
|
657
|
+
* Code with the specified hash has been stored.
|
|
658
|
+
**/
|
|
659
|
+
CodeStored: AugmentedEvent<ApiType, [H256]>;
|
|
660
|
+
/**
|
|
661
|
+
* A contract's code was updated.
|
|
662
|
+
**/
|
|
663
|
+
ContractCodeUpdated: AugmentedEvent<ApiType, [AccountId32, H256, H256]>;
|
|
664
|
+
/**
|
|
665
|
+
* A custom event emitted by the contract.
|
|
666
|
+
**/
|
|
667
|
+
ContractEmitted: AugmentedEvent<ApiType, [AccountId32, Bytes]>;
|
|
668
|
+
/**
|
|
669
|
+
* Contract deployed by address at the specified address.
|
|
670
|
+
**/
|
|
671
|
+
Instantiated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
672
|
+
/**
|
|
673
|
+
* Contract has been removed.
|
|
674
|
+
*
|
|
675
|
+
* # Note
|
|
676
|
+
*
|
|
677
|
+
* The only way for a contract to be removed and emitting this event is by calling
|
|
678
|
+
* `seal_terminate`.
|
|
679
|
+
**/
|
|
680
|
+
Terminated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
|
455
681
|
};
|
|
456
682
|
corporateAction: {
|
|
457
683
|
/**
|
|
458
684
|
* A new DID was made the CAA.
|
|
459
685
|
* (New CAA DID, Ticker, New CAA DID).
|
|
460
686
|
**/
|
|
461
|
-
CAATransferred: AugmentedEvent<ApiType, [
|
|
687
|
+
CAATransferred: AugmentedEvent<ApiType, [
|
|
688
|
+
PolymeshPrimitivesIdentityId,
|
|
689
|
+
PolymeshPrimitivesTicker,
|
|
690
|
+
PolymeshPrimitivesIdentityId
|
|
691
|
+
]>;
|
|
462
692
|
/**
|
|
463
693
|
* A CA was initiated.
|
|
464
694
|
* (Agent DID, CA id, the CA, the CA details)
|
|
465
695
|
**/
|
|
466
|
-
CAInitiated: AugmentedEvent<ApiType, [
|
|
696
|
+
CAInitiated: AugmentedEvent<ApiType, [
|
|
697
|
+
PolymeshPrimitivesEventOnly,
|
|
698
|
+
PalletCorporateActionsCaId,
|
|
699
|
+
PalletCorporateActionsCorporateAction,
|
|
700
|
+
Bytes
|
|
701
|
+
]>;
|
|
467
702
|
/**
|
|
468
703
|
* A CA was linked to a set of docs.
|
|
469
704
|
* (Agent DID, CA Id, List of doc identifiers)
|
|
470
705
|
**/
|
|
471
|
-
CALinkedToDoc: AugmentedEvent<ApiType, [
|
|
706
|
+
CALinkedToDoc: AugmentedEvent<ApiType, [
|
|
707
|
+
PolymeshPrimitivesIdentityId,
|
|
708
|
+
PalletCorporateActionsCaId,
|
|
709
|
+
Vec<u32>
|
|
710
|
+
]>;
|
|
472
711
|
/**
|
|
473
712
|
* A CA was removed.
|
|
474
713
|
* (Agent DID, CA Id)
|
|
475
714
|
**/
|
|
476
|
-
CARemoved: AugmentedEvent<ApiType, [
|
|
715
|
+
CARemoved: AugmentedEvent<ApiType, [PolymeshPrimitivesEventOnly, PalletCorporateActionsCaId]>;
|
|
477
716
|
/**
|
|
478
717
|
* The set of default `TargetIdentities` for a ticker changed.
|
|
479
718
|
* (Agent DID, Ticker, New TargetIdentities)
|
|
480
719
|
**/
|
|
481
720
|
DefaultTargetIdentitiesChanged: AugmentedEvent<ApiType, [
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
721
|
+
PolymeshPrimitivesIdentityId,
|
|
722
|
+
PolymeshPrimitivesTicker,
|
|
723
|
+
PalletCorporateActionsTargetIdentities
|
|
485
724
|
]>;
|
|
486
725
|
/**
|
|
487
726
|
* The default withholding tax for a ticker changed.
|
|
488
727
|
* (Agent DID, Ticker, New Tax).
|
|
489
728
|
**/
|
|
490
|
-
DefaultWithholdingTaxChanged: AugmentedEvent<ApiType, [
|
|
729
|
+
DefaultWithholdingTaxChanged: AugmentedEvent<ApiType, [
|
|
730
|
+
PolymeshPrimitivesIdentityId,
|
|
731
|
+
PolymeshPrimitivesTicker,
|
|
732
|
+
Permill
|
|
733
|
+
]>;
|
|
491
734
|
/**
|
|
492
735
|
* The withholding tax specific to a DID for a ticker changed.
|
|
493
736
|
* (Agent DID, Ticker, Taxed DID, New Tax).
|
|
494
737
|
**/
|
|
495
738
|
DidWithholdingTaxChanged: AugmentedEvent<ApiType, [
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
Option<
|
|
739
|
+
PolymeshPrimitivesIdentityId,
|
|
740
|
+
PolymeshPrimitivesTicker,
|
|
741
|
+
PolymeshPrimitivesIdentityId,
|
|
742
|
+
Option<Permill>
|
|
500
743
|
]>;
|
|
501
744
|
/**
|
|
502
745
|
* The maximum length of `details` in bytes was changed.
|
|
503
746
|
* (GC DID, new length)
|
|
504
747
|
**/
|
|
505
|
-
MaxDetailsLengthChanged: AugmentedEvent<ApiType, [
|
|
748
|
+
MaxDetailsLengthChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32]>;
|
|
506
749
|
/**
|
|
507
750
|
* A CA's record date changed.
|
|
508
751
|
**/
|
|
509
|
-
RecordDateChanged: AugmentedEvent<ApiType, [
|
|
752
|
+
RecordDateChanged: AugmentedEvent<ApiType, [
|
|
753
|
+
PolymeshPrimitivesEventOnly,
|
|
754
|
+
PalletCorporateActionsCaId,
|
|
755
|
+
PalletCorporateActionsCorporateAction
|
|
756
|
+
]>;
|
|
510
757
|
};
|
|
511
758
|
corporateBallot: {
|
|
512
759
|
/**
|
|
@@ -514,37 +761,59 @@ declare module '@polkadot/api/types/events' {
|
|
|
514
761
|
*
|
|
515
762
|
* (Agent DID, CA's ID, Voting start/end, Ballot metadata, RCV enabled?)
|
|
516
763
|
**/
|
|
517
|
-
Created: AugmentedEvent<ApiType, [
|
|
764
|
+
Created: AugmentedEvent<ApiType, [
|
|
765
|
+
PolymeshPrimitivesIdentityId,
|
|
766
|
+
PalletCorporateActionsCaId,
|
|
767
|
+
PalletCorporateActionsBallotBallotTimeRange,
|
|
768
|
+
PalletCorporateActionsBallotBallotMeta,
|
|
769
|
+
bool
|
|
770
|
+
]>;
|
|
518
771
|
/**
|
|
519
772
|
* A corporate ballot changed its metadata.
|
|
520
773
|
*
|
|
521
774
|
* (Agent DID, CA's ID, New metadata)
|
|
522
775
|
**/
|
|
523
|
-
MetaChanged: AugmentedEvent<ApiType, [
|
|
776
|
+
MetaChanged: AugmentedEvent<ApiType, [
|
|
777
|
+
PolymeshPrimitivesIdentityId,
|
|
778
|
+
PalletCorporateActionsCaId,
|
|
779
|
+
PalletCorporateActionsBallotBallotMeta
|
|
780
|
+
]>;
|
|
524
781
|
/**
|
|
525
782
|
* A corporate ballot changed its start/end date range.
|
|
526
783
|
*
|
|
527
784
|
* (Agent DID, CA's ID, Voting start/end)
|
|
528
785
|
**/
|
|
529
|
-
RangeChanged: AugmentedEvent<ApiType, [
|
|
786
|
+
RangeChanged: AugmentedEvent<ApiType, [
|
|
787
|
+
PolymeshPrimitivesIdentityId,
|
|
788
|
+
PalletCorporateActionsCaId,
|
|
789
|
+
PalletCorporateActionsBallotBallotTimeRange
|
|
790
|
+
]>;
|
|
530
791
|
/**
|
|
531
792
|
* A corporate ballot changed its RCV support.
|
|
532
793
|
*
|
|
533
794
|
* (Agent DID, CA's ID, New support)
|
|
534
795
|
**/
|
|
535
|
-
RCVChanged: AugmentedEvent<ApiType, [
|
|
796
|
+
RCVChanged: AugmentedEvent<ApiType, [
|
|
797
|
+
PolymeshPrimitivesIdentityId,
|
|
798
|
+
PalletCorporateActionsCaId,
|
|
799
|
+
bool
|
|
800
|
+
]>;
|
|
536
801
|
/**
|
|
537
802
|
* A corporate ballot was removed.
|
|
538
803
|
*
|
|
539
804
|
* (Agent DID, CA's ID)
|
|
540
805
|
**/
|
|
541
|
-
Removed: AugmentedEvent<ApiType, [
|
|
806
|
+
Removed: AugmentedEvent<ApiType, [PolymeshPrimitivesEventOnly, PalletCorporateActionsCaId]>;
|
|
542
807
|
/**
|
|
543
808
|
* A vote was cast in a corporate ballot.
|
|
544
809
|
*
|
|
545
810
|
* (voter DID, CAId, Votes)
|
|
546
811
|
**/
|
|
547
|
-
VoteCast: AugmentedEvent<ApiType, [
|
|
812
|
+
VoteCast: AugmentedEvent<ApiType, [
|
|
813
|
+
PolymeshPrimitivesIdentityId,
|
|
814
|
+
PalletCorporateActionsCaId,
|
|
815
|
+
Vec<PalletCorporateActionsBallotBallotVote>
|
|
816
|
+
]>;
|
|
548
817
|
};
|
|
549
818
|
externalAgents: {
|
|
550
819
|
/**
|
|
@@ -552,42 +821,60 @@ declare module '@polkadot/api/types/events' {
|
|
|
552
821
|
*
|
|
553
822
|
* (Caller/Agent DID, Agent's ticker, Agent's group)
|
|
554
823
|
**/
|
|
555
|
-
AgentAdded: AugmentedEvent<ApiType, [
|
|
824
|
+
AgentAdded: AugmentedEvent<ApiType, [
|
|
825
|
+
PolymeshPrimitivesEventOnly,
|
|
826
|
+
PolymeshPrimitivesTicker,
|
|
827
|
+
PolymeshPrimitivesAgentAgentGroup
|
|
828
|
+
]>;
|
|
556
829
|
/**
|
|
557
830
|
* An agent was removed.
|
|
558
831
|
*
|
|
559
832
|
* (Caller DID, Agent's ticker, Agent's DID)
|
|
560
833
|
**/
|
|
561
|
-
AgentRemoved: AugmentedEvent<ApiType, [
|
|
834
|
+
AgentRemoved: AugmentedEvent<ApiType, [
|
|
835
|
+
PolymeshPrimitivesEventOnly,
|
|
836
|
+
PolymeshPrimitivesTicker,
|
|
837
|
+
PolymeshPrimitivesIdentityId
|
|
838
|
+
]>;
|
|
562
839
|
/**
|
|
563
840
|
* An agent's group was changed.
|
|
564
841
|
*
|
|
565
842
|
* (Caller DID, Agent's ticker, Agent's DID, The new group of the agent)
|
|
566
843
|
**/
|
|
567
|
-
GroupChanged: AugmentedEvent<ApiType, [
|
|
844
|
+
GroupChanged: AugmentedEvent<ApiType, [
|
|
845
|
+
PolymeshPrimitivesEventOnly,
|
|
846
|
+
PolymeshPrimitivesTicker,
|
|
847
|
+
PolymeshPrimitivesIdentityId,
|
|
848
|
+
PolymeshPrimitivesAgentAgentGroup
|
|
849
|
+
]>;
|
|
568
850
|
/**
|
|
569
851
|
* An Agent Group was created.
|
|
570
852
|
*
|
|
571
853
|
* (Caller DID, AG's ticker, AG's ID, AG's permissions)
|
|
572
854
|
**/
|
|
573
|
-
GroupCreated: AugmentedEvent<ApiType, [
|
|
855
|
+
GroupCreated: AugmentedEvent<ApiType, [
|
|
856
|
+
PolymeshPrimitivesEventOnly,
|
|
857
|
+
PolymeshPrimitivesTicker,
|
|
858
|
+
u32,
|
|
859
|
+
PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions
|
|
860
|
+
]>;
|
|
574
861
|
/**
|
|
575
862
|
* An Agent Group's permissions was updated.
|
|
576
863
|
*
|
|
577
864
|
* (Caller DID, AG's ticker, AG's ID, AG's new permissions)
|
|
578
865
|
**/
|
|
579
866
|
GroupPermissionsUpdated: AugmentedEvent<ApiType, [
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
867
|
+
PolymeshPrimitivesEventOnly,
|
|
868
|
+
PolymeshPrimitivesTicker,
|
|
869
|
+
u32,
|
|
870
|
+
PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions
|
|
584
871
|
]>;
|
|
585
872
|
};
|
|
586
873
|
grandpa: {
|
|
587
874
|
/**
|
|
588
|
-
* New authority set has been applied.
|
|
875
|
+
* New authority set has been applied.
|
|
589
876
|
**/
|
|
590
|
-
NewAuthorities: AugmentedEvent<ApiType, [
|
|
877
|
+
NewAuthorities: AugmentedEvent<ApiType, [Vec<ITuple<[SpFinalityGrandpaAppPublic, u64]>>]>;
|
|
591
878
|
/**
|
|
592
879
|
* Current authority set has been paused.
|
|
593
880
|
**/
|
|
@@ -599,99 +886,158 @@ declare module '@polkadot/api/types/events' {
|
|
|
599
886
|
};
|
|
600
887
|
identity: {
|
|
601
888
|
/**
|
|
602
|
-
* Asset
|
|
889
|
+
* Asset's identity registered.
|
|
890
|
+
*
|
|
891
|
+
* (Asset DID, ticker)
|
|
603
892
|
**/
|
|
604
|
-
AssetDidRegistered: AugmentedEvent<ApiType, [
|
|
893
|
+
AssetDidRegistered: AugmentedEvent<ApiType, [
|
|
894
|
+
PolymeshPrimitivesIdentityId,
|
|
895
|
+
PolymeshPrimitivesTicker
|
|
896
|
+
]>;
|
|
605
897
|
/**
|
|
606
898
|
* New authorization added.
|
|
899
|
+
*
|
|
607
900
|
* (authorised_by, target_did, target_key, auth_id, authorization_data, expiry)
|
|
608
901
|
**/
|
|
609
902
|
AuthorizationAdded: AugmentedEvent<ApiType, [
|
|
610
|
-
|
|
611
|
-
Option<
|
|
612
|
-
Option<
|
|
903
|
+
PolymeshPrimitivesIdentityId,
|
|
904
|
+
Option<PolymeshPrimitivesIdentityId>,
|
|
905
|
+
Option<AccountId32>,
|
|
613
906
|
u64,
|
|
614
|
-
|
|
615
|
-
Option<
|
|
907
|
+
PolymeshPrimitivesAuthorizationAuthorizationData,
|
|
908
|
+
Option<u64>
|
|
616
909
|
]>;
|
|
617
910
|
/**
|
|
618
911
|
* Authorization consumed.
|
|
912
|
+
*
|
|
619
913
|
* (authorized_identity, authorized_key, auth_id)
|
|
620
914
|
**/
|
|
621
|
-
AuthorizationConsumed: AugmentedEvent<ApiType, [
|
|
915
|
+
AuthorizationConsumed: AugmentedEvent<ApiType, [
|
|
916
|
+
Option<PolymeshPrimitivesIdentityId>,
|
|
917
|
+
Option<AccountId32>,
|
|
918
|
+
u64
|
|
919
|
+
]>;
|
|
622
920
|
/**
|
|
623
921
|
* Authorization rejected by the user who was authorized.
|
|
922
|
+
*
|
|
624
923
|
* (authorized_identity, authorized_key, auth_id)
|
|
625
924
|
**/
|
|
626
|
-
AuthorizationRejected: AugmentedEvent<ApiType, [
|
|
925
|
+
AuthorizationRejected: AugmentedEvent<ApiType, [
|
|
926
|
+
Option<PolymeshPrimitivesIdentityId>,
|
|
927
|
+
Option<AccountId32>,
|
|
928
|
+
u64
|
|
929
|
+
]>;
|
|
627
930
|
/**
|
|
628
931
|
* Authorization revoked by the authorizer.
|
|
932
|
+
*
|
|
629
933
|
* (authorized_identity, authorized_key, auth_id)
|
|
630
934
|
**/
|
|
631
|
-
AuthorizationRevoked: AugmentedEvent<ApiType, [
|
|
935
|
+
AuthorizationRevoked: AugmentedEvent<ApiType, [
|
|
936
|
+
Option<PolymeshPrimitivesIdentityId>,
|
|
937
|
+
Option<AccountId32>,
|
|
938
|
+
u64
|
|
939
|
+
]>;
|
|
632
940
|
/**
|
|
633
941
|
* CDD claims generated by `IdentityId` (a CDD Provider) have been invalidated from
|
|
634
942
|
* `Moment`.
|
|
943
|
+
*
|
|
944
|
+
* (CDD provider DID, disable from date)
|
|
635
945
|
**/
|
|
636
|
-
CddClaimsInvalidated: AugmentedEvent<ApiType, [
|
|
946
|
+
CddClaimsInvalidated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
637
947
|
/**
|
|
638
|
-
* CDD requirement for updating primary key changed.
|
|
948
|
+
* CDD requirement for updating primary key changed.
|
|
949
|
+
*
|
|
950
|
+
* (new_requirement)
|
|
639
951
|
**/
|
|
640
952
|
CddRequirementForPrimaryKeyUpdated: AugmentedEvent<ApiType, [bool]>;
|
|
641
953
|
/**
|
|
642
|
-
*
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* DID, ClaimType, Claim Issuer
|
|
954
|
+
* Claim added to identity.
|
|
955
|
+
*
|
|
956
|
+
* (DID, claim)
|
|
647
957
|
**/
|
|
648
|
-
|
|
958
|
+
ClaimAdded: AugmentedEvent<ApiType, [
|
|
959
|
+
PolymeshPrimitivesIdentityId,
|
|
960
|
+
PolymeshPrimitivesIdentityClaim
|
|
961
|
+
]>;
|
|
649
962
|
/**
|
|
650
|
-
*
|
|
963
|
+
* Claim revoked from identity.
|
|
964
|
+
*
|
|
965
|
+
* (DID, claim)
|
|
651
966
|
**/
|
|
652
|
-
|
|
967
|
+
ClaimRevoked: AugmentedEvent<ApiType, [
|
|
968
|
+
PolymeshPrimitivesIdentityId,
|
|
969
|
+
PolymeshPrimitivesIdentityClaim
|
|
970
|
+
]>;
|
|
653
971
|
/**
|
|
654
|
-
*
|
|
972
|
+
* Identity created.
|
|
973
|
+
*
|
|
974
|
+
* (DID, primary key, secondary keys)
|
|
655
975
|
**/
|
|
656
|
-
|
|
976
|
+
DidCreated: AugmentedEvent<ApiType, [
|
|
977
|
+
PolymeshPrimitivesIdentityId,
|
|
978
|
+
AccountId32,
|
|
979
|
+
Vec<PolymeshPrimitivesSecondaryKey>
|
|
980
|
+
]>;
|
|
657
981
|
/**
|
|
658
|
-
*
|
|
659
|
-
*
|
|
982
|
+
* Primary key of identity changed.
|
|
983
|
+
*
|
|
984
|
+
* (DID, old primary key account ID, new ID)
|
|
660
985
|
**/
|
|
661
|
-
|
|
986
|
+
PrimaryKeyUpdated: AugmentedEvent<ApiType, [
|
|
987
|
+
PolymeshPrimitivesIdentityId,
|
|
988
|
+
AccountId32,
|
|
989
|
+
AccountId32
|
|
990
|
+
]>;
|
|
662
991
|
/**
|
|
663
|
-
*
|
|
992
|
+
* A secondary key left their identity.
|
|
993
|
+
*
|
|
994
|
+
* (DID, secondary key)
|
|
664
995
|
**/
|
|
665
|
-
|
|
996
|
+
SecondaryKeyLeftIdentity: AugmentedEvent<ApiType, [
|
|
997
|
+
PolymeshPrimitivesIdentityId,
|
|
998
|
+
AccountId32
|
|
999
|
+
]>;
|
|
666
1000
|
/**
|
|
667
|
-
*
|
|
1001
|
+
* Secondary key permissions updated.
|
|
1002
|
+
*
|
|
1003
|
+
* (DID, updated secondary key, previous permissions, new permissions)
|
|
668
1004
|
**/
|
|
669
1005
|
SecondaryKeyPermissionsUpdated: AugmentedEvent<ApiType, [
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
1006
|
+
PolymeshPrimitivesIdentityId,
|
|
1007
|
+
AccountId32,
|
|
1008
|
+
PolymeshPrimitivesSecondaryKeyPermissions,
|
|
1009
|
+
PolymeshPrimitivesSecondaryKeyPermissions
|
|
674
1010
|
]>;
|
|
675
1011
|
/**
|
|
676
|
-
*
|
|
1012
|
+
* Secondary keys added to identity.
|
|
1013
|
+
*
|
|
1014
|
+
* (DID, new keys)
|
|
677
1015
|
**/
|
|
678
|
-
SecondaryKeysAdded: AugmentedEvent<ApiType, [
|
|
1016
|
+
SecondaryKeysAdded: AugmentedEvent<ApiType, [
|
|
1017
|
+
PolymeshPrimitivesIdentityId,
|
|
1018
|
+
Vec<PolymeshPrimitivesSecondaryKey>
|
|
1019
|
+
]>;
|
|
679
1020
|
/**
|
|
680
1021
|
* All Secondary keys of the identity ID are frozen.
|
|
1022
|
+
*
|
|
1023
|
+
* (DID)
|
|
681
1024
|
**/
|
|
682
|
-
SecondaryKeysFrozen: AugmentedEvent<ApiType, [
|
|
1025
|
+
SecondaryKeysFrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId]>;
|
|
683
1026
|
/**
|
|
684
|
-
*
|
|
1027
|
+
* Secondary keys removed from identity.
|
|
1028
|
+
*
|
|
1029
|
+
* (DID, the keys that got removed)
|
|
685
1030
|
**/
|
|
686
|
-
SecondaryKeysRemoved: AugmentedEvent<ApiType, [
|
|
1031
|
+
SecondaryKeysRemoved: AugmentedEvent<ApiType, [
|
|
1032
|
+
PolymeshPrimitivesIdentityId,
|
|
1033
|
+
Vec<AccountId32>
|
|
1034
|
+
]>;
|
|
687
1035
|
/**
|
|
688
1036
|
* All Secondary keys of the identity ID are unfrozen.
|
|
1037
|
+
*
|
|
1038
|
+
* (DID)
|
|
689
1039
|
**/
|
|
690
|
-
SecondaryKeysUnfrozen: AugmentedEvent<ApiType, [
|
|
691
|
-
/**
|
|
692
|
-
* A signer left their identity. (did, signer)
|
|
693
|
-
**/
|
|
694
|
-
SignerLeft: AugmentedEvent<ApiType, [IdentityId, Signatory]>;
|
|
1040
|
+
SecondaryKeysUnfrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId]>;
|
|
695
1041
|
};
|
|
696
1042
|
imOnline: {
|
|
697
1043
|
/**
|
|
@@ -699,27 +1045,27 @@ declare module '@polkadot/api/types/events' {
|
|
|
699
1045
|
**/
|
|
700
1046
|
AllGood: AugmentedEvent<ApiType, []>;
|
|
701
1047
|
/**
|
|
702
|
-
* A new heartbeat was received from `AuthorityId
|
|
1048
|
+
* A new heartbeat was received from `AuthorityId`.
|
|
703
1049
|
**/
|
|
704
|
-
HeartbeatReceived: AugmentedEvent<ApiType, [
|
|
1050
|
+
HeartbeatReceived: AugmentedEvent<ApiType, [PalletImOnlineSr25519AppSr25519Public]>;
|
|
705
1051
|
/**
|
|
706
|
-
* At the end of the session, at least one validator was found to be
|
|
1052
|
+
* At the end of the session, at least one validator was found to be offline.
|
|
707
1053
|
**/
|
|
708
|
-
SomeOffline: AugmentedEvent<ApiType, [Vec<
|
|
1054
|
+
SomeOffline: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, PalletStakingExposure]>>]>;
|
|
709
1055
|
};
|
|
710
1056
|
indices: {
|
|
711
1057
|
/**
|
|
712
|
-
* A account index was assigned.
|
|
1058
|
+
* A account index was assigned.
|
|
713
1059
|
**/
|
|
714
|
-
IndexAssigned: AugmentedEvent<ApiType, [
|
|
1060
|
+
IndexAssigned: AugmentedEvent<ApiType, [AccountId32, u32]>;
|
|
715
1061
|
/**
|
|
716
|
-
* A account index has been freed up (unassigned).
|
|
1062
|
+
* A account index has been freed up (unassigned).
|
|
717
1063
|
**/
|
|
718
|
-
IndexFreed: AugmentedEvent<ApiType, [
|
|
1064
|
+
IndexFreed: AugmentedEvent<ApiType, [u32]>;
|
|
719
1065
|
/**
|
|
720
|
-
* A account index has been frozen to its current account ID.
|
|
1066
|
+
* A account index has been frozen to its current account ID.
|
|
721
1067
|
**/
|
|
722
|
-
IndexFrozen: AugmentedEvent<ApiType, [
|
|
1068
|
+
IndexFrozen: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
723
1069
|
};
|
|
724
1070
|
multiSig: {
|
|
725
1071
|
/**
|
|
@@ -727,138 +1073,176 @@ declare module '@polkadot/api/types/events' {
|
|
|
727
1073
|
* Arguments: caller DID, multisig address, signers (pending approval), signatures required.
|
|
728
1074
|
**/
|
|
729
1075
|
MultiSigCreated: AugmentedEvent<ApiType, [
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
Vec<
|
|
1076
|
+
PolymeshPrimitivesIdentityId,
|
|
1077
|
+
AccountId32,
|
|
1078
|
+
AccountId32,
|
|
1079
|
+
Vec<PolymeshPrimitivesSecondaryKeySignatory>,
|
|
734
1080
|
u64
|
|
735
1081
|
]>;
|
|
736
1082
|
/**
|
|
737
1083
|
* Event emitted when the number of required signatures is changed.
|
|
738
1084
|
* Arguments: caller DID, multisig, new required signatures.
|
|
739
1085
|
**/
|
|
740
|
-
MultiSigSignaturesRequiredChanged: AugmentedEvent<ApiType, [
|
|
1086
|
+
MultiSigSignaturesRequiredChanged: AugmentedEvent<ApiType, [
|
|
1087
|
+
PolymeshPrimitivesIdentityId,
|
|
1088
|
+
AccountId32,
|
|
1089
|
+
u64
|
|
1090
|
+
]>;
|
|
741
1091
|
/**
|
|
742
1092
|
* Event emitted when a signatory is added.
|
|
743
1093
|
* Arguments: caller DID, multisig, added signer.
|
|
744
1094
|
**/
|
|
745
|
-
MultiSigSignerAdded: AugmentedEvent<ApiType, [
|
|
1095
|
+
MultiSigSignerAdded: AugmentedEvent<ApiType, [
|
|
1096
|
+
PolymeshPrimitivesIdentityId,
|
|
1097
|
+
AccountId32,
|
|
1098
|
+
PolymeshPrimitivesSecondaryKeySignatory
|
|
1099
|
+
]>;
|
|
746
1100
|
/**
|
|
747
1101
|
* Event emitted when a multisig signatory is authorized to be added.
|
|
748
1102
|
* Arguments: caller DID, multisig, authorized signer.
|
|
749
1103
|
**/
|
|
750
|
-
MultiSigSignerAuthorized: AugmentedEvent<ApiType, [
|
|
1104
|
+
MultiSigSignerAuthorized: AugmentedEvent<ApiType, [
|
|
1105
|
+
PolymeshPrimitivesIdentityId,
|
|
1106
|
+
AccountId32,
|
|
1107
|
+
PolymeshPrimitivesSecondaryKeySignatory
|
|
1108
|
+
]>;
|
|
751
1109
|
/**
|
|
752
1110
|
* Event emitted when a multisig signatory is removed.
|
|
753
1111
|
* Arguments: caller DID, multisig, removed signer.
|
|
754
1112
|
**/
|
|
755
|
-
MultiSigSignerRemoved: AugmentedEvent<ApiType, [
|
|
1113
|
+
MultiSigSignerRemoved: AugmentedEvent<ApiType, [
|
|
1114
|
+
PolymeshPrimitivesIdentityId,
|
|
1115
|
+
AccountId32,
|
|
1116
|
+
PolymeshPrimitivesSecondaryKeySignatory
|
|
1117
|
+
]>;
|
|
756
1118
|
/**
|
|
757
1119
|
* Event emitted after adding a proposal.
|
|
758
1120
|
* Arguments: caller DID, multisig, proposal ID.
|
|
759
1121
|
**/
|
|
760
|
-
ProposalAdded: AugmentedEvent<ApiType, [
|
|
1122
|
+
ProposalAdded: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u64]>;
|
|
761
1123
|
/**
|
|
762
1124
|
* Event emitted when the proposal get approved.
|
|
763
1125
|
* Arguments: caller DID, multisig, authorized signer, proposal id.
|
|
764
1126
|
**/
|
|
765
|
-
ProposalApproved: AugmentedEvent<ApiType, [
|
|
1127
|
+
ProposalApproved: AugmentedEvent<ApiType, [
|
|
1128
|
+
PolymeshPrimitivesIdentityId,
|
|
1129
|
+
AccountId32,
|
|
1130
|
+
PolymeshPrimitivesSecondaryKeySignatory,
|
|
1131
|
+
u64
|
|
1132
|
+
]>;
|
|
766
1133
|
/**
|
|
767
1134
|
* Event emitted when a proposal is executed.
|
|
768
1135
|
* Arguments: caller DID, multisig, proposal ID, result.
|
|
769
1136
|
**/
|
|
770
|
-
ProposalExecuted: AugmentedEvent<ApiType, [
|
|
1137
|
+
ProposalExecuted: AugmentedEvent<ApiType, [
|
|
1138
|
+
PolymeshPrimitivesIdentityId,
|
|
1139
|
+
AccountId32,
|
|
1140
|
+
u64,
|
|
1141
|
+
bool
|
|
1142
|
+
]>;
|
|
771
1143
|
/**
|
|
772
1144
|
* Event emitted when there's an error in proposal execution
|
|
773
1145
|
**/
|
|
774
|
-
ProposalExecutionFailed: AugmentedEvent<ApiType, [
|
|
1146
|
+
ProposalExecutionFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError]>;
|
|
775
1147
|
/**
|
|
776
1148
|
* Event emitted when a proposal is rejected.
|
|
777
1149
|
* Arguments: caller DID, multisig, proposal ID.
|
|
778
1150
|
**/
|
|
779
|
-
ProposalRejected: AugmentedEvent<ApiType, [
|
|
1151
|
+
ProposalRejected: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u64]>;
|
|
780
1152
|
/**
|
|
781
1153
|
* Event emitted when a vote is cast in favor of rejecting a proposal.
|
|
782
1154
|
* Arguments: caller DID, multisig, authorized signer, proposal id.
|
|
783
1155
|
**/
|
|
784
|
-
ProposalRejectionVote: AugmentedEvent<ApiType, [
|
|
1156
|
+
ProposalRejectionVote: AugmentedEvent<ApiType, [
|
|
1157
|
+
PolymeshPrimitivesIdentityId,
|
|
1158
|
+
AccountId32,
|
|
1159
|
+
PolymeshPrimitivesSecondaryKeySignatory,
|
|
1160
|
+
u64
|
|
1161
|
+
]>;
|
|
785
1162
|
/**
|
|
786
1163
|
* Scheduling of proposal fails.
|
|
787
1164
|
**/
|
|
788
|
-
SchedulingFailed: AugmentedEvent<ApiType, [
|
|
1165
|
+
SchedulingFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError]>;
|
|
789
1166
|
};
|
|
790
1167
|
offences: {
|
|
791
1168
|
/**
|
|
792
1169
|
* There is an offence reported of the given `kind` happened at the `session_index` and
|
|
793
|
-
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
794
|
-
*
|
|
795
|
-
* \[kind, timeslot, applied\].
|
|
1170
|
+
* (kind-specific) time slot. This event is not deposited for duplicate slashes.
|
|
1171
|
+
* \[kind, timeslot\].
|
|
796
1172
|
**/
|
|
797
|
-
Offence: AugmentedEvent<ApiType, [
|
|
1173
|
+
Offence: AugmentedEvent<ApiType, [U8aFixed, Bytes]>;
|
|
798
1174
|
};
|
|
799
1175
|
pips: {
|
|
800
1176
|
/**
|
|
801
1177
|
* The maximum number of active PIPs was changed.
|
|
802
1178
|
* (caller DID, old value, new value)
|
|
803
1179
|
**/
|
|
804
|
-
ActivePipLimitChanged: AugmentedEvent<ApiType, [
|
|
1180
|
+
ActivePipLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
805
1181
|
/**
|
|
806
1182
|
* Default enactment period (in blocks) has been changed.
|
|
807
1183
|
* (caller DID, old period, new period)
|
|
808
1184
|
**/
|
|
809
1185
|
DefaultEnactmentPeriodChanged: AugmentedEvent<ApiType, [
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
1186
|
+
PolymeshPrimitivesIdentityId,
|
|
1187
|
+
u32,
|
|
1188
|
+
u32
|
|
813
1189
|
]>;
|
|
814
1190
|
/**
|
|
815
1191
|
* Cancelling the PIP execution failed in the scheduler pallet.
|
|
816
1192
|
**/
|
|
817
|
-
ExecutionCancellingFailed: AugmentedEvent<ApiType, [
|
|
1193
|
+
ExecutionCancellingFailed: AugmentedEvent<ApiType, [u32]>;
|
|
818
1194
|
/**
|
|
819
1195
|
* Execution of a PIP has been scheduled at specific block.
|
|
820
1196
|
**/
|
|
821
|
-
ExecutionScheduled: AugmentedEvent<ApiType, [
|
|
1197
|
+
ExecutionScheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
822
1198
|
/**
|
|
823
1199
|
* Scheduling of the PIP for execution failed in the scheduler pallet.
|
|
824
1200
|
**/
|
|
825
|
-
ExecutionSchedulingFailed: AugmentedEvent<ApiType, [
|
|
1201
|
+
ExecutionSchedulingFailed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
826
1202
|
/**
|
|
827
1203
|
* The PIP has been scheduled for expiry.
|
|
828
1204
|
**/
|
|
829
|
-
ExpiryScheduled: AugmentedEvent<ApiType, [
|
|
1205
|
+
ExpiryScheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
830
1206
|
/**
|
|
831
1207
|
* Scheduling of the PIP for expiry failed in the scheduler pallet.
|
|
832
1208
|
**/
|
|
833
|
-
ExpirySchedulingFailed: AugmentedEvent<ApiType, [
|
|
1209
|
+
ExpirySchedulingFailed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
834
1210
|
/**
|
|
835
1211
|
* Pruning Historical PIPs is enabled or disabled (caller DID, old value, new value)
|
|
836
1212
|
**/
|
|
837
|
-
HistoricalPipsPruned: AugmentedEvent<ApiType, [
|
|
1213
|
+
HistoricalPipsPruned: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, bool, bool]>;
|
|
838
1214
|
/**
|
|
839
1215
|
* The maximum times a PIP can be skipped was changed.
|
|
840
1216
|
* (caller DID, old value, new value)
|
|
841
1217
|
**/
|
|
842
|
-
MaxPipSkipCountChanged: AugmentedEvent<ApiType, [
|
|
1218
|
+
MaxPipSkipCountChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u8, u8]>;
|
|
843
1219
|
/**
|
|
844
1220
|
* Minimum deposit amount modified
|
|
845
1221
|
* (caller DID, old amount, new amount)
|
|
846
1222
|
**/
|
|
847
|
-
MinimumProposalDepositChanged: AugmentedEvent<ApiType, [
|
|
1223
|
+
MinimumProposalDepositChanged: AugmentedEvent<ApiType, [
|
|
1224
|
+
PolymeshPrimitivesIdentityId,
|
|
1225
|
+
u128,
|
|
1226
|
+
u128
|
|
1227
|
+
]>;
|
|
848
1228
|
/**
|
|
849
1229
|
* Amount of blocks after which a pending PIP expires.
|
|
850
1230
|
* (caller DID, old expiry, new expiry)
|
|
851
1231
|
**/
|
|
852
|
-
PendingPipExpiryChanged: AugmentedEvent<ApiType, [
|
|
1232
|
+
PendingPipExpiryChanged: AugmentedEvent<ApiType, [
|
|
1233
|
+
PolymeshPrimitivesIdentityId,
|
|
1234
|
+
PolymeshCommonUtilitiesMaybeBlock,
|
|
1235
|
+
PolymeshCommonUtilitiesMaybeBlock
|
|
1236
|
+
]>;
|
|
853
1237
|
/**
|
|
854
1238
|
* Pip has been closed, bool indicates whether data is pruned
|
|
855
1239
|
**/
|
|
856
|
-
PipClosed: AugmentedEvent<ApiType, [
|
|
1240
|
+
PipClosed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, bool]>;
|
|
857
1241
|
/**
|
|
858
1242
|
* A PIP in the snapshot queue was skipped.
|
|
859
1243
|
* (gc_did, pip_id, new_skip_count)
|
|
860
1244
|
**/
|
|
861
|
-
PipSkipped: AugmentedEvent<ApiType, [
|
|
1245
|
+
PipSkipped: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u8]>;
|
|
862
1246
|
/**
|
|
863
1247
|
* A PIP was made with a `Balance` stake.
|
|
864
1248
|
*
|
|
@@ -867,47 +1251,55 @@ declare module '@polkadot/api/types/events' {
|
|
|
867
1251
|
* Caller DID, Proposer, PIP ID, deposit, URL, description, expiry time, proposal data.
|
|
868
1252
|
**/
|
|
869
1253
|
ProposalCreated: AugmentedEvent<ApiType, [
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
Option<
|
|
875
|
-
Option<
|
|
876
|
-
|
|
877
|
-
|
|
1254
|
+
PolymeshPrimitivesIdentityId,
|
|
1255
|
+
PalletPipsProposer,
|
|
1256
|
+
u32,
|
|
1257
|
+
u128,
|
|
1258
|
+
Option<Bytes>,
|
|
1259
|
+
Option<Bytes>,
|
|
1260
|
+
PolymeshCommonUtilitiesMaybeBlock,
|
|
1261
|
+
PalletPipsProposalData
|
|
878
1262
|
]>;
|
|
879
1263
|
/**
|
|
880
1264
|
* Refund proposal
|
|
881
1265
|
* (id, total amount)
|
|
882
1266
|
**/
|
|
883
|
-
ProposalRefund: AugmentedEvent<ApiType, [
|
|
1267
|
+
ProposalRefund: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u128]>;
|
|
884
1268
|
/**
|
|
885
1269
|
* Triggered each time the state of a proposal is amended
|
|
886
1270
|
**/
|
|
887
|
-
ProposalStateUpdated: AugmentedEvent<ApiType, [
|
|
1271
|
+
ProposalStateUpdated: AugmentedEvent<ApiType, [
|
|
1272
|
+
PolymeshPrimitivesIdentityId,
|
|
1273
|
+
u32,
|
|
1274
|
+
PalletPipsProposalState
|
|
1275
|
+
]>;
|
|
888
1276
|
/**
|
|
889
1277
|
* The snapshot was cleared.
|
|
890
1278
|
**/
|
|
891
|
-
SnapshotCleared: AugmentedEvent<ApiType, [
|
|
1279
|
+
SnapshotCleared: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32]>;
|
|
892
1280
|
/**
|
|
893
1281
|
* Results (e.g., approved, rejected, and skipped), were enacted for some PIPs.
|
|
894
1282
|
* (gc_did, snapshot_id_opt, skipped_pips_with_new_count, rejected_pips, approved_pips)
|
|
895
1283
|
**/
|
|
896
1284
|
SnapshotResultsEnacted: AugmentedEvent<ApiType, [
|
|
897
|
-
|
|
898
|
-
Option<
|
|
899
|
-
Vec<ITuple<[
|
|
900
|
-
Vec<
|
|
901
|
-
Vec<
|
|
1285
|
+
PolymeshPrimitivesIdentityId,
|
|
1286
|
+
Option<u32>,
|
|
1287
|
+
Vec<ITuple<[u32, u8]>>,
|
|
1288
|
+
Vec<u32>,
|
|
1289
|
+
Vec<u32>
|
|
902
1290
|
]>;
|
|
903
1291
|
/**
|
|
904
1292
|
* A new snapshot was taken.
|
|
905
1293
|
**/
|
|
906
|
-
SnapshotTaken: AugmentedEvent<ApiType, [
|
|
1294
|
+
SnapshotTaken: AugmentedEvent<ApiType, [
|
|
1295
|
+
PolymeshPrimitivesIdentityId,
|
|
1296
|
+
u32,
|
|
1297
|
+
Vec<PalletPipsSnapshottedPip>
|
|
1298
|
+
]>;
|
|
907
1299
|
/**
|
|
908
1300
|
* `AccountId` voted `bool` on the proposal referenced by `PipId`
|
|
909
1301
|
**/
|
|
910
|
-
Voted: AugmentedEvent<ApiType, [
|
|
1302
|
+
Voted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u32, bool, u128]>;
|
|
911
1303
|
};
|
|
912
1304
|
polymeshCommittee: {
|
|
913
1305
|
/**
|
|
@@ -915,69 +1307,80 @@ declare module '@polkadot/api/types/events' {
|
|
|
915
1307
|
* tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
916
1308
|
* Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
|
|
917
1309
|
**/
|
|
918
|
-
Approved: AugmentedEvent<ApiType, [
|
|
1310
|
+
Approved: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, H256, u32, u32, u32]>;
|
|
919
1311
|
/**
|
|
920
1312
|
* A motion was executed; `DispatchResult` is `Ok(())` if returned without error.
|
|
921
1313
|
* Parameters: caller DID, proposal hash, result of proposal dispatch.
|
|
922
1314
|
**/
|
|
923
|
-
Executed: AugmentedEvent<ApiType, [
|
|
1315
|
+
Executed: AugmentedEvent<ApiType, [
|
|
1316
|
+
PolymeshPrimitivesIdentityId,
|
|
1317
|
+
H256,
|
|
1318
|
+
Result<Null, SpRuntimeDispatchError>
|
|
1319
|
+
]>;
|
|
924
1320
|
/**
|
|
925
1321
|
* Proposal expiry time has been updated.
|
|
926
1322
|
* Parameters: caller DID, new expiry time (if any).
|
|
927
1323
|
**/
|
|
928
|
-
ExpiresAfterUpdated: AugmentedEvent<ApiType, [
|
|
1324
|
+
ExpiresAfterUpdated: AugmentedEvent<ApiType, [
|
|
1325
|
+
PolymeshPrimitivesIdentityId,
|
|
1326
|
+
PolymeshCommonUtilitiesMaybeBlock
|
|
1327
|
+
]>;
|
|
929
1328
|
/**
|
|
930
1329
|
* Final votes on a motion (given hash)
|
|
931
1330
|
* caller DID, ProposalIndex, Proposal hash, yes voters, no voter
|
|
932
1331
|
**/
|
|
933
1332
|
FinalVotes: AugmentedEvent<ApiType, [
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
Vec<
|
|
938
|
-
Vec<
|
|
1333
|
+
PolymeshPrimitivesIdentityId,
|
|
1334
|
+
u32,
|
|
1335
|
+
H256,
|
|
1336
|
+
Vec<PolymeshPrimitivesIdentityId>,
|
|
1337
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
939
1338
|
]>;
|
|
940
1339
|
/**
|
|
941
1340
|
* A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`).
|
|
942
1341
|
* Parameters: caller DID, proposal index, proposal hash.
|
|
943
1342
|
**/
|
|
944
|
-
Proposed: AugmentedEvent<ApiType, [
|
|
1343
|
+
Proposed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256]>;
|
|
945
1344
|
/**
|
|
946
1345
|
* A motion was rejected by the required threshold with the following
|
|
947
1346
|
* tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
948
1347
|
* Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
|
|
949
1348
|
**/
|
|
950
|
-
Rejected: AugmentedEvent<ApiType, [
|
|
1349
|
+
Rejected: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, H256, u32, u32, u32]>;
|
|
951
1350
|
/**
|
|
952
1351
|
* Release coordinator has been updated.
|
|
953
1352
|
* Parameters: caller DID, DID of the release coordinator.
|
|
954
1353
|
**/
|
|
955
|
-
ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [
|
|
1354
|
+
ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [
|
|
1355
|
+
PolymeshPrimitivesIdentityId,
|
|
1356
|
+
Option<PolymeshPrimitivesIdentityId>
|
|
1357
|
+
]>;
|
|
956
1358
|
/**
|
|
957
1359
|
* A motion (given hash) has been voted on by given account, leaving
|
|
958
1360
|
* a tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
959
1361
|
* caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats.
|
|
960
1362
|
**/
|
|
961
1363
|
Voted: AugmentedEvent<ApiType, [
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
1364
|
+
PolymeshPrimitivesIdentityId,
|
|
1365
|
+
u32,
|
|
1366
|
+
H256,
|
|
965
1367
|
bool,
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
1368
|
+
u32,
|
|
1369
|
+
u32,
|
|
1370
|
+
u32
|
|
969
1371
|
]>;
|
|
970
1372
|
/**
|
|
971
1373
|
* A vote on a motion (given hash) has been retracted.
|
|
972
1374
|
* caller DID, ProposalIndex, Proposal hash, vote that was retracted
|
|
973
1375
|
**/
|
|
974
|
-
VoteRetracted: AugmentedEvent<ApiType, [
|
|
1376
|
+
VoteRetracted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256, bool]>;
|
|
975
1377
|
/**
|
|
976
1378
|
* Voting threshold has been updated
|
|
977
1379
|
* Parameters: caller DID, numerator, denominator
|
|
978
1380
|
**/
|
|
979
|
-
VoteThresholdUpdated: AugmentedEvent<ApiType, [
|
|
1381
|
+
VoteThresholdUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
980
1382
|
};
|
|
1383
|
+
polymeshContracts: {};
|
|
981
1384
|
portfolio: {
|
|
982
1385
|
/**
|
|
983
1386
|
* A token amount has been moved from one portfolio to another.
|
|
@@ -990,12 +1393,12 @@ declare module '@polkadot/api/types/events' {
|
|
|
990
1393
|
* * asset balance that was moved
|
|
991
1394
|
**/
|
|
992
1395
|
MovedBetweenPortfolios: AugmentedEvent<ApiType, [
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
Option<
|
|
1396
|
+
PolymeshPrimitivesIdentityId,
|
|
1397
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1398
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1399
|
+
PolymeshPrimitivesTicker,
|
|
1400
|
+
u128,
|
|
1401
|
+
Option<PolymeshCommonUtilitiesBalancesMemo>
|
|
999
1402
|
]>;
|
|
1000
1403
|
/**
|
|
1001
1404
|
* The portfolio has been successfully created.
|
|
@@ -1005,7 +1408,7 @@ declare module '@polkadot/api/types/events' {
|
|
|
1005
1408
|
* * portfolio number
|
|
1006
1409
|
* * portfolio name
|
|
1007
1410
|
**/
|
|
1008
|
-
PortfolioCreated: AugmentedEvent<ApiType, [
|
|
1411
|
+
PortfolioCreated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, Bytes]>;
|
|
1009
1412
|
/**
|
|
1010
1413
|
* Custody of a portfolio has been given to a different identity
|
|
1011
1414
|
*
|
|
@@ -1014,7 +1417,11 @@ declare module '@polkadot/api/types/events' {
|
|
|
1014
1417
|
* * portfolio id
|
|
1015
1418
|
* * portfolio custodian did
|
|
1016
1419
|
**/
|
|
1017
|
-
PortfolioCustodianChanged: AugmentedEvent<ApiType, [
|
|
1420
|
+
PortfolioCustodianChanged: AugmentedEvent<ApiType, [
|
|
1421
|
+
PolymeshPrimitivesIdentityId,
|
|
1422
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1423
|
+
PolymeshPrimitivesIdentityId
|
|
1424
|
+
]>;
|
|
1018
1425
|
/**
|
|
1019
1426
|
* The portfolio has been successfully removed.
|
|
1020
1427
|
*
|
|
@@ -1022,7 +1429,7 @@ declare module '@polkadot/api/types/events' {
|
|
|
1022
1429
|
* * origin DID
|
|
1023
1430
|
* * portfolio number
|
|
1024
1431
|
**/
|
|
1025
|
-
PortfolioDeleted: AugmentedEvent<ApiType, [
|
|
1432
|
+
PortfolioDeleted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1026
1433
|
/**
|
|
1027
1434
|
* The portfolio identified with `num` has been renamed to `name`.
|
|
1028
1435
|
*
|
|
@@ -1031,7 +1438,7 @@ declare module '@polkadot/api/types/events' {
|
|
|
1031
1438
|
* * portfolio number
|
|
1032
1439
|
* * portfolio name
|
|
1033
1440
|
**/
|
|
1034
|
-
PortfolioRenamed: AugmentedEvent<ApiType, [
|
|
1441
|
+
PortfolioRenamed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, Bytes]>;
|
|
1035
1442
|
/**
|
|
1036
1443
|
* All non-default portfolio numbers and names of a DID.
|
|
1037
1444
|
*
|
|
@@ -1040,23 +1447,40 @@ declare module '@polkadot/api/types/events' {
|
|
|
1040
1447
|
* * vector of number-name pairs
|
|
1041
1448
|
**/
|
|
1042
1449
|
UserPortfolios: AugmentedEvent<ApiType, [
|
|
1043
|
-
|
|
1044
|
-
Vec<ITuple<[
|
|
1450
|
+
PolymeshPrimitivesIdentityId,
|
|
1451
|
+
Vec<ITuple<[u64, Bytes]>>
|
|
1045
1452
|
]>;
|
|
1046
1453
|
};
|
|
1454
|
+
preimage: {
|
|
1455
|
+
/**
|
|
1456
|
+
* A preimage has ben cleared.
|
|
1457
|
+
**/
|
|
1458
|
+
Cleared: AugmentedEvent<ApiType, [H256]>;
|
|
1459
|
+
/**
|
|
1460
|
+
* A preimage has been noted.
|
|
1461
|
+
**/
|
|
1462
|
+
Noted: AugmentedEvent<ApiType, [H256]>;
|
|
1463
|
+
/**
|
|
1464
|
+
* A preimage has been requested.
|
|
1465
|
+
**/
|
|
1466
|
+
Requested: AugmentedEvent<ApiType, [H256]>;
|
|
1467
|
+
};
|
|
1047
1468
|
protocolFee: {
|
|
1048
1469
|
/**
|
|
1049
1470
|
* The fee coefficient.
|
|
1050
1471
|
**/
|
|
1051
|
-
CoefficientSet: AugmentedEvent<ApiType, [
|
|
1472
|
+
CoefficientSet: AugmentedEvent<ApiType, [
|
|
1473
|
+
PolymeshPrimitivesIdentityId,
|
|
1474
|
+
PolymeshPrimitivesPosRatio
|
|
1475
|
+
]>;
|
|
1052
1476
|
/**
|
|
1053
1477
|
* Fee charged.
|
|
1054
1478
|
**/
|
|
1055
|
-
FeeCharged: AugmentedEvent<ApiType, [
|
|
1479
|
+
FeeCharged: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
1056
1480
|
/**
|
|
1057
1481
|
* The protocol fee of an operation.
|
|
1058
1482
|
**/
|
|
1059
|
-
FeeSet: AugmentedEvent<ApiType, [
|
|
1483
|
+
FeeSet: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u128]>;
|
|
1060
1484
|
};
|
|
1061
1485
|
relayer: {
|
|
1062
1486
|
/**
|
|
@@ -1064,153 +1488,223 @@ declare module '@polkadot/api/types/events' {
|
|
|
1064
1488
|
*
|
|
1065
1489
|
* (Caller DID, User Key, Paying Key)
|
|
1066
1490
|
**/
|
|
1067
|
-
AcceptedPayingKey: AugmentedEvent<ApiType, [
|
|
1491
|
+
AcceptedPayingKey: AugmentedEvent<ApiType, [
|
|
1492
|
+
PolymeshPrimitivesEventOnly,
|
|
1493
|
+
AccountId32,
|
|
1494
|
+
AccountId32
|
|
1495
|
+
]>;
|
|
1068
1496
|
/**
|
|
1069
1497
|
* Authorization given for `paying_key` to `user_key`.
|
|
1070
1498
|
*
|
|
1071
1499
|
* (Caller DID, User Key, Paying Key, Initial POLYX limit, Auth ID)
|
|
1072
1500
|
**/
|
|
1073
|
-
AuthorizedPayingKey: AugmentedEvent<ApiType, [
|
|
1501
|
+
AuthorizedPayingKey: AugmentedEvent<ApiType, [
|
|
1502
|
+
PolymeshPrimitivesEventOnly,
|
|
1503
|
+
AccountId32,
|
|
1504
|
+
AccountId32,
|
|
1505
|
+
u128,
|
|
1506
|
+
u64
|
|
1507
|
+
]>;
|
|
1074
1508
|
/**
|
|
1075
1509
|
* Removed paying key.
|
|
1076
1510
|
*
|
|
1077
1511
|
* (Caller DID, User Key, Paying Key)
|
|
1078
1512
|
**/
|
|
1079
|
-
RemovedPayingKey: AugmentedEvent<ApiType, [
|
|
1513
|
+
RemovedPayingKey: AugmentedEvent<ApiType, [
|
|
1514
|
+
PolymeshPrimitivesEventOnly,
|
|
1515
|
+
AccountId32,
|
|
1516
|
+
AccountId32
|
|
1517
|
+
]>;
|
|
1080
1518
|
/**
|
|
1081
1519
|
* Updated polyx limit.
|
|
1082
1520
|
*
|
|
1083
1521
|
* (Caller DID, User Key, Paying Key, POLYX limit, old remaining POLYX)
|
|
1084
1522
|
**/
|
|
1085
1523
|
UpdatedPolyxLimit: AugmentedEvent<ApiType, [
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1524
|
+
PolymeshPrimitivesEventOnly,
|
|
1525
|
+
AccountId32,
|
|
1526
|
+
AccountId32,
|
|
1527
|
+
u128,
|
|
1528
|
+
u128
|
|
1091
1529
|
]>;
|
|
1092
1530
|
};
|
|
1093
1531
|
rewards: {
|
|
1094
1532
|
/**
|
|
1095
1533
|
* Itn reward was claimed.
|
|
1096
1534
|
**/
|
|
1097
|
-
ItnRewardClaimed: AugmentedEvent<ApiType, [
|
|
1535
|
+
ItnRewardClaimed: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
1098
1536
|
};
|
|
1099
1537
|
scheduler: {
|
|
1100
1538
|
/**
|
|
1101
|
-
*
|
|
1539
|
+
* The call for the provided hash was not found so the task has been aborted.
|
|
1540
|
+
**/
|
|
1541
|
+
CallLookupFailed: AugmentedEvent<ApiType, [
|
|
1542
|
+
ITuple<[u32, u32]>,
|
|
1543
|
+
Option<Bytes>,
|
|
1544
|
+
FrameSupportScheduleLookupError
|
|
1545
|
+
]>;
|
|
1546
|
+
/**
|
|
1547
|
+
* Canceled some task.
|
|
1102
1548
|
**/
|
|
1103
|
-
Canceled: AugmentedEvent<ApiType, [
|
|
1549
|
+
Canceled: AugmentedEvent<ApiType, [u32, u32]>;
|
|
1104
1550
|
/**
|
|
1105
|
-
* Dispatched some task.
|
|
1551
|
+
* Dispatched some task.
|
|
1106
1552
|
**/
|
|
1107
|
-
Dispatched: AugmentedEvent<ApiType, [
|
|
1553
|
+
Dispatched: AugmentedEvent<ApiType, [
|
|
1554
|
+
ITuple<[u32, u32]>,
|
|
1555
|
+
Option<Bytes>,
|
|
1556
|
+
Result<Null, SpRuntimeDispatchError>
|
|
1557
|
+
]>;
|
|
1108
1558
|
/**
|
|
1109
|
-
* Scheduled some task.
|
|
1559
|
+
* Scheduled some task.
|
|
1110
1560
|
**/
|
|
1111
|
-
Scheduled: AugmentedEvent<ApiType, [
|
|
1561
|
+
Scheduled: AugmentedEvent<ApiType, [u32, u32]>;
|
|
1112
1562
|
};
|
|
1113
1563
|
session: {
|
|
1114
1564
|
/**
|
|
1115
|
-
* New session has happened. Note that the argument is the
|
|
1116
|
-
* number as the type might suggest.
|
|
1565
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
1566
|
+
* block number as the type might suggest.
|
|
1117
1567
|
**/
|
|
1118
|
-
NewSession: AugmentedEvent<ApiType, [
|
|
1568
|
+
NewSession: AugmentedEvent<ApiType, [u32]>;
|
|
1119
1569
|
};
|
|
1120
1570
|
settlement: {
|
|
1121
1571
|
/**
|
|
1122
1572
|
* An affirmation has been withdrawn (did, portfolio, instruction_id)
|
|
1123
1573
|
**/
|
|
1124
|
-
AffirmationWithdrawn: AugmentedEvent<ApiType, [
|
|
1574
|
+
AffirmationWithdrawn: AugmentedEvent<ApiType, [
|
|
1575
|
+
PolymeshPrimitivesIdentityId,
|
|
1576
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1577
|
+
u64
|
|
1578
|
+
]>;
|
|
1125
1579
|
/**
|
|
1126
1580
|
* An instruction has been affirmed (did, portfolio, instruction_id)
|
|
1127
1581
|
**/
|
|
1128
|
-
InstructionAffirmed: AugmentedEvent<ApiType, [
|
|
1582
|
+
InstructionAffirmed: AugmentedEvent<ApiType, [
|
|
1583
|
+
PolymeshPrimitivesIdentityId,
|
|
1584
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1585
|
+
u64
|
|
1586
|
+
]>;
|
|
1129
1587
|
/**
|
|
1130
1588
|
* A new instruction has been created
|
|
1131
1589
|
* (did, venue_id, instruction_id, settlement_type, trade_date, value_date, legs)
|
|
1132
1590
|
**/
|
|
1133
1591
|
InstructionCreated: AugmentedEvent<ApiType, [
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
Option<
|
|
1139
|
-
Option<
|
|
1140
|
-
Vec<
|
|
1592
|
+
PolymeshPrimitivesIdentityId,
|
|
1593
|
+
u64,
|
|
1594
|
+
u64,
|
|
1595
|
+
PalletSettlementSettlementType,
|
|
1596
|
+
Option<u64>,
|
|
1597
|
+
Option<u64>,
|
|
1598
|
+
Vec<PalletSettlementLeg>
|
|
1141
1599
|
]>;
|
|
1142
1600
|
/**
|
|
1143
1601
|
* Instruction executed successfully(did, instruction_id)
|
|
1144
1602
|
**/
|
|
1145
|
-
InstructionExecuted: AugmentedEvent<ApiType, [
|
|
1603
|
+
InstructionExecuted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1146
1604
|
/**
|
|
1147
1605
|
* Instruction failed execution (did, instruction_id)
|
|
1148
1606
|
**/
|
|
1149
|
-
InstructionFailed: AugmentedEvent<ApiType, [
|
|
1607
|
+
InstructionFailed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1150
1608
|
/**
|
|
1151
1609
|
* An instruction has been rejected (did, instruction_id)
|
|
1152
1610
|
**/
|
|
1153
|
-
InstructionRejected: AugmentedEvent<ApiType, [
|
|
1611
|
+
InstructionRejected: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1154
1612
|
/**
|
|
1155
1613
|
* Instruction is rescheduled.
|
|
1156
1614
|
* (caller DID, instruction_id)
|
|
1157
1615
|
**/
|
|
1158
|
-
InstructionRescheduled: AugmentedEvent<ApiType, [
|
|
1616
|
+
InstructionRescheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1159
1617
|
/**
|
|
1160
1618
|
* Execution of a leg failed (did, instruction_id, leg_id)
|
|
1161
1619
|
**/
|
|
1162
|
-
LegFailedExecution: AugmentedEvent<ApiType, [
|
|
1620
|
+
LegFailedExecution: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, u64]>;
|
|
1163
1621
|
/**
|
|
1164
1622
|
* A receipt has been claimed (did, instruction_id, leg_id, receipt_uid, signer, receipt metadata)
|
|
1165
1623
|
**/
|
|
1166
1624
|
ReceiptClaimed: AugmentedEvent<ApiType, [
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
LegId,
|
|
1625
|
+
PolymeshPrimitivesIdentityId,
|
|
1626
|
+
u64,
|
|
1170
1627
|
u64,
|
|
1171
|
-
|
|
1172
|
-
|
|
1628
|
+
u64,
|
|
1629
|
+
AccountId32,
|
|
1630
|
+
Bytes
|
|
1173
1631
|
]>;
|
|
1174
1632
|
/**
|
|
1175
1633
|
* A receipt has been unclaimed (did, instruction_id, leg_id, receipt_uid, signer)
|
|
1176
1634
|
**/
|
|
1177
|
-
ReceiptUnclaimed: AugmentedEvent<ApiType, [
|
|
1635
|
+
ReceiptUnclaimed: AugmentedEvent<ApiType, [
|
|
1636
|
+
PolymeshPrimitivesIdentityId,
|
|
1637
|
+
u64,
|
|
1638
|
+
u64,
|
|
1639
|
+
u64,
|
|
1640
|
+
AccountId32
|
|
1641
|
+
]>;
|
|
1178
1642
|
/**
|
|
1179
1643
|
* A receipt has been invalidated (did, signer, receipt_uid, validity)
|
|
1180
1644
|
**/
|
|
1181
|
-
ReceiptValidityChanged: AugmentedEvent<ApiType, [
|
|
1645
|
+
ReceiptValidityChanged: AugmentedEvent<ApiType, [
|
|
1646
|
+
PolymeshPrimitivesIdentityId,
|
|
1647
|
+
AccountId32,
|
|
1648
|
+
u64,
|
|
1649
|
+
bool
|
|
1650
|
+
]>;
|
|
1182
1651
|
/**
|
|
1183
1652
|
* Scheduling of instruction fails.
|
|
1184
1653
|
**/
|
|
1185
|
-
SchedulingFailed: AugmentedEvent<ApiType, [
|
|
1654
|
+
SchedulingFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError]>;
|
|
1186
1655
|
/**
|
|
1187
1656
|
* A new venue has been created (did, venue_id, details, type)
|
|
1188
1657
|
**/
|
|
1189
|
-
VenueCreated: AugmentedEvent<ApiType, [
|
|
1658
|
+
VenueCreated: AugmentedEvent<ApiType, [
|
|
1659
|
+
PolymeshPrimitivesIdentityId,
|
|
1660
|
+
u64,
|
|
1661
|
+
Bytes,
|
|
1662
|
+
PalletSettlementVenueType
|
|
1663
|
+
]>;
|
|
1190
1664
|
/**
|
|
1191
1665
|
* An existing venue's details has been updated (did, venue_id, details)
|
|
1192
1666
|
**/
|
|
1193
|
-
VenueDetailsUpdated: AugmentedEvent<ApiType, [
|
|
1667
|
+
VenueDetailsUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, Bytes]>;
|
|
1194
1668
|
/**
|
|
1195
1669
|
* Venue filtering has been enabled or disabled for a ticker (did, ticker, filtering_enabled)
|
|
1196
1670
|
**/
|
|
1197
|
-
VenueFiltering: AugmentedEvent<ApiType, [
|
|
1671
|
+
VenueFiltering: AugmentedEvent<ApiType, [
|
|
1672
|
+
PolymeshPrimitivesIdentityId,
|
|
1673
|
+
PolymeshPrimitivesTicker,
|
|
1674
|
+
bool
|
|
1675
|
+
]>;
|
|
1198
1676
|
/**
|
|
1199
1677
|
* Venues added to allow list (did, ticker, vec<venue_id>)
|
|
1200
1678
|
**/
|
|
1201
|
-
VenuesAllowed: AugmentedEvent<ApiType, [
|
|
1679
|
+
VenuesAllowed: AugmentedEvent<ApiType, [
|
|
1680
|
+
PolymeshPrimitivesIdentityId,
|
|
1681
|
+
PolymeshPrimitivesTicker,
|
|
1682
|
+
Vec<u64>
|
|
1683
|
+
]>;
|
|
1202
1684
|
/**
|
|
1203
1685
|
* Venues added to block list (did, ticker, vec<venue_id>)
|
|
1204
1686
|
**/
|
|
1205
|
-
VenuesBlocked: AugmentedEvent<ApiType, [
|
|
1687
|
+
VenuesBlocked: AugmentedEvent<ApiType, [
|
|
1688
|
+
PolymeshPrimitivesIdentityId,
|
|
1689
|
+
PolymeshPrimitivesTicker,
|
|
1690
|
+
Vec<u64>
|
|
1691
|
+
]>;
|
|
1206
1692
|
/**
|
|
1207
1693
|
* An existing venue's type has been updated (did, venue_id, type)
|
|
1208
1694
|
**/
|
|
1209
|
-
VenueTypeUpdated: AugmentedEvent<ApiType, [
|
|
1695
|
+
VenueTypeUpdated: AugmentedEvent<ApiType, [
|
|
1696
|
+
PolymeshPrimitivesIdentityId,
|
|
1697
|
+
u64,
|
|
1698
|
+
PalletSettlementVenueType
|
|
1699
|
+
]>;
|
|
1210
1700
|
/**
|
|
1211
1701
|
* Venue not part of the token's allow list (did, Ticker, venue_id)
|
|
1212
1702
|
**/
|
|
1213
|
-
VenueUnauthorized: AugmentedEvent<ApiType, [
|
|
1703
|
+
VenueUnauthorized: AugmentedEvent<ApiType, [
|
|
1704
|
+
PolymeshPrimitivesIdentityId,
|
|
1705
|
+
PolymeshPrimitivesTicker,
|
|
1706
|
+
u64
|
|
1707
|
+
]>;
|
|
1214
1708
|
};
|
|
1215
1709
|
staking: {
|
|
1216
1710
|
/**
|
|
@@ -1219,172 +1713,233 @@ declare module '@polkadot/api/types/events' {
|
|
|
1219
1713
|
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
|
1220
1714
|
* it will not be emitted for staking rewards when they are added to stake.
|
|
1221
1715
|
**/
|
|
1222
|
-
Bonded: AugmentedEvent<ApiType, [
|
|
1716
|
+
Bonded: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u128]>;
|
|
1223
1717
|
/**
|
|
1224
1718
|
* When commission cap get updated.
|
|
1225
1719
|
* (old value, new value)
|
|
1226
1720
|
**/
|
|
1227
|
-
CommissionCapUpdated: AugmentedEvent<ApiType, [
|
|
1721
|
+
CommissionCapUpdated: AugmentedEvent<ApiType, [
|
|
1722
|
+
PolymeshPrimitivesIdentityId,
|
|
1723
|
+
Perbill,
|
|
1724
|
+
Perbill
|
|
1725
|
+
]>;
|
|
1228
1726
|
/**
|
|
1229
1727
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
1230
1728
|
* the remainder from the maximum amount of reward.
|
|
1231
1729
|
* \[era_index, validator_payout, remainder\]
|
|
1232
1730
|
**/
|
|
1233
|
-
EraPayout: AugmentedEvent<ApiType, [
|
|
1731
|
+
EraPayout: AugmentedEvent<ApiType, [u32, u128, u128]>;
|
|
1234
1732
|
/**
|
|
1235
1733
|
* Remove the nominators from the valid nominators when there CDD expired.
|
|
1236
1734
|
* Caller, Stash accountId of nominators
|
|
1237
1735
|
**/
|
|
1238
|
-
InvalidatedNominators: AugmentedEvent<ApiType, [
|
|
1736
|
+
InvalidatedNominators: AugmentedEvent<ApiType, [
|
|
1737
|
+
PolymeshPrimitivesIdentityId,
|
|
1738
|
+
AccountId32,
|
|
1739
|
+
Vec<AccountId32>
|
|
1740
|
+
]>;
|
|
1239
1741
|
/**
|
|
1240
1742
|
* Min bond threshold was updated (new value).
|
|
1241
1743
|
**/
|
|
1242
|
-
MinimumBondThresholdUpdated: AugmentedEvent<ApiType, [
|
|
1744
|
+
MinimumBondThresholdUpdated: AugmentedEvent<ApiType, [
|
|
1745
|
+
Option<PolymeshPrimitivesIdentityId>,
|
|
1746
|
+
u128
|
|
1747
|
+
]>;
|
|
1243
1748
|
/**
|
|
1244
1749
|
* User has updated their nominations
|
|
1245
1750
|
**/
|
|
1246
|
-
Nominated: AugmentedEvent<ApiType, [
|
|
1751
|
+
Nominated: AugmentedEvent<ApiType, [
|
|
1752
|
+
PolymeshPrimitivesIdentityId,
|
|
1753
|
+
AccountId32,
|
|
1754
|
+
Vec<AccountId32>
|
|
1755
|
+
]>;
|
|
1247
1756
|
/**
|
|
1248
1757
|
* An old slashing report from a prior era was discarded because it could
|
|
1249
1758
|
* not be processed. \[session_index\]
|
|
1250
1759
|
**/
|
|
1251
|
-
OldSlashingReportDiscarded: AugmentedEvent<ApiType, [
|
|
1760
|
+
OldSlashingReportDiscarded: AugmentedEvent<ApiType, [u32]>;
|
|
1252
1761
|
/**
|
|
1253
1762
|
* An DID has issued a candidacy. See the transaction for who.
|
|
1254
1763
|
* GC identity , Validator's identity.
|
|
1255
1764
|
**/
|
|
1256
|
-
PermissionedIdentityAdded: AugmentedEvent<ApiType, [
|
|
1765
|
+
PermissionedIdentityAdded: AugmentedEvent<ApiType, [
|
|
1766
|
+
PolymeshPrimitivesIdentityId,
|
|
1767
|
+
PolymeshPrimitivesIdentityId
|
|
1768
|
+
]>;
|
|
1257
1769
|
/**
|
|
1258
1770
|
* The given member was removed. See the transaction for who.
|
|
1259
1771
|
* GC identity , Validator's identity.
|
|
1260
1772
|
**/
|
|
1261
|
-
PermissionedIdentityRemoved: AugmentedEvent<ApiType, [
|
|
1773
|
+
PermissionedIdentityRemoved: AugmentedEvent<ApiType, [
|
|
1774
|
+
PolymeshPrimitivesIdentityId,
|
|
1775
|
+
PolymeshPrimitivesIdentityId
|
|
1776
|
+
]>;
|
|
1262
1777
|
/**
|
|
1263
1778
|
* The staker has been rewarded by this amount. \[stash_identity, stash, amount\]
|
|
1264
1779
|
**/
|
|
1265
|
-
Reward: AugmentedEvent<ApiType, [
|
|
1780
|
+
Reward: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u128]>;
|
|
1266
1781
|
/**
|
|
1267
1782
|
* When scheduling of reward payments get interrupted.
|
|
1268
1783
|
**/
|
|
1269
1784
|
RewardPaymentSchedulingInterrupted: AugmentedEvent<ApiType, [
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1785
|
+
AccountId32,
|
|
1786
|
+
u32,
|
|
1787
|
+
SpRuntimeDispatchError
|
|
1273
1788
|
]>;
|
|
1274
1789
|
/**
|
|
1275
1790
|
* One validator (and its nominators) has been slashed by the given amount.
|
|
1276
1791
|
* \[validator, amount\]
|
|
1277
1792
|
**/
|
|
1278
|
-
Slash: AugmentedEvent<ApiType, [
|
|
1793
|
+
Slash: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
1279
1794
|
/**
|
|
1280
1795
|
* Update for whom balance get slashed.
|
|
1281
1796
|
**/
|
|
1282
|
-
SlashingAllowedForChanged: AugmentedEvent<ApiType, [
|
|
1797
|
+
SlashingAllowedForChanged: AugmentedEvent<ApiType, [PalletStakingSlashingSwitch]>;
|
|
1283
1798
|
/**
|
|
1284
1799
|
* A new solution for the upcoming election has been stored. \[compute\]
|
|
1285
1800
|
**/
|
|
1286
|
-
SolutionStored: AugmentedEvent<ApiType, [
|
|
1801
|
+
SolutionStored: AugmentedEvent<ApiType, [PalletStakingElectionCompute]>;
|
|
1287
1802
|
/**
|
|
1288
1803
|
* A new set of stakers was elected with the given \[compute\].
|
|
1289
1804
|
**/
|
|
1290
|
-
StakingElection: AugmentedEvent<ApiType, [
|
|
1805
|
+
StakingElection: AugmentedEvent<ApiType, [PalletStakingElectionCompute]>;
|
|
1291
1806
|
/**
|
|
1292
1807
|
* An account has unbonded this amount. \[did, stash, amount\]
|
|
1293
1808
|
**/
|
|
1294
|
-
Unbonded: AugmentedEvent<ApiType, [
|
|
1809
|
+
Unbonded: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u128]>;
|
|
1295
1810
|
/**
|
|
1296
1811
|
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
|
1297
1812
|
* from the unlocking queue. \[stash, amount\]
|
|
1298
1813
|
**/
|
|
1299
|
-
Withdrawn: AugmentedEvent<ApiType, [
|
|
1814
|
+
Withdrawn: AugmentedEvent<ApiType, [AccountId32, u128]>;
|
|
1300
1815
|
};
|
|
1301
1816
|
statistics: {
|
|
1302
1817
|
/**
|
|
1303
|
-
*
|
|
1818
|
+
* Asset stats updated.
|
|
1819
|
+
*
|
|
1820
|
+
* (Caller DID, Asset, Stat type, Updates)
|
|
1821
|
+
**/
|
|
1822
|
+
AssetStatsUpdated: AugmentedEvent<ApiType, [
|
|
1823
|
+
PolymeshPrimitivesIdentityId,
|
|
1824
|
+
PolymeshPrimitivesStatisticsAssetScope,
|
|
1825
|
+
PolymeshPrimitivesStatisticsStatType,
|
|
1826
|
+
Vec<PolymeshPrimitivesStatisticsStatUpdate>
|
|
1827
|
+
]>;
|
|
1828
|
+
/**
|
|
1829
|
+
* Set Transfer compliance rules for asset.
|
|
1830
|
+
*
|
|
1831
|
+
* (Caller DID, Asset, Transfer conditions)
|
|
1832
|
+
**/
|
|
1833
|
+
SetAssetTransferCompliance: AugmentedEvent<ApiType, [
|
|
1834
|
+
PolymeshPrimitivesIdentityId,
|
|
1835
|
+
PolymeshPrimitivesStatisticsAssetScope,
|
|
1836
|
+
Vec<PolymeshPrimitivesTransferComplianceTransferCondition>
|
|
1837
|
+
]>;
|
|
1838
|
+
/**
|
|
1839
|
+
* Stat types added to asset.
|
|
1840
|
+
*
|
|
1841
|
+
* (Caller DID, Asset, Stat types)
|
|
1304
1842
|
**/
|
|
1305
|
-
|
|
1843
|
+
StatTypesAdded: AugmentedEvent<ApiType, [
|
|
1844
|
+
PolymeshPrimitivesIdentityId,
|
|
1845
|
+
PolymeshPrimitivesStatisticsAssetScope,
|
|
1846
|
+
Vec<PolymeshPrimitivesStatisticsStatType>
|
|
1847
|
+
]>;
|
|
1306
1848
|
/**
|
|
1307
|
-
*
|
|
1849
|
+
* Stat types removed from asset.
|
|
1850
|
+
*
|
|
1851
|
+
* (Caller DID, Asset, Stat types)
|
|
1308
1852
|
**/
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
Vec<ScopeId>
|
|
1853
|
+
StatTypesRemoved: AugmentedEvent<ApiType, [
|
|
1854
|
+
PolymeshPrimitivesIdentityId,
|
|
1855
|
+
PolymeshPrimitivesStatisticsAssetScope,
|
|
1856
|
+
Vec<PolymeshPrimitivesStatisticsStatType>
|
|
1314
1857
|
]>;
|
|
1315
1858
|
/**
|
|
1316
|
-
*
|
|
1859
|
+
* Add `ScopeId`s exempt for transfer conditions matching exempt key.
|
|
1860
|
+
*
|
|
1861
|
+
* (Caller DID, Exempt key, Entities)
|
|
1317
1862
|
**/
|
|
1318
|
-
|
|
1863
|
+
TransferConditionExemptionsAdded: AugmentedEvent<ApiType, [
|
|
1864
|
+
PolymeshPrimitivesIdentityId,
|
|
1865
|
+
PolymeshPrimitivesTransferComplianceTransferConditionExemptKey,
|
|
1866
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
1867
|
+
]>;
|
|
1319
1868
|
/**
|
|
1320
|
-
*
|
|
1869
|
+
* Remove `ScopeId`s exempt for transfer conditions matching exempt key.
|
|
1870
|
+
*
|
|
1871
|
+
* (Caller DID, Exempt key, Entities)
|
|
1321
1872
|
**/
|
|
1322
|
-
|
|
1873
|
+
TransferConditionExemptionsRemoved: AugmentedEvent<ApiType, [
|
|
1874
|
+
PolymeshPrimitivesIdentityId,
|
|
1875
|
+
PolymeshPrimitivesTransferComplianceTransferConditionExemptKey,
|
|
1876
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
1877
|
+
]>;
|
|
1323
1878
|
};
|
|
1324
1879
|
sto: {
|
|
1325
1880
|
/**
|
|
1326
1881
|
* A fundraiser has been stopped.
|
|
1327
1882
|
* (Agent DID, fundraiser id)
|
|
1328
1883
|
**/
|
|
1329
|
-
FundraiserClosed: AugmentedEvent<ApiType, [
|
|
1884
|
+
FundraiserClosed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1330
1885
|
/**
|
|
1331
1886
|
* A new fundraiser has been created.
|
|
1332
1887
|
* (Agent DID, fundraiser id, fundraiser name, fundraiser details)
|
|
1333
1888
|
**/
|
|
1334
1889
|
FundraiserCreated: AugmentedEvent<ApiType, [
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1890
|
+
PolymeshPrimitivesIdentityId,
|
|
1891
|
+
u64,
|
|
1892
|
+
Bytes,
|
|
1893
|
+
PalletStoFundraiser
|
|
1339
1894
|
]>;
|
|
1340
1895
|
/**
|
|
1341
1896
|
* A fundraiser has been frozen.
|
|
1342
1897
|
* (Agent DID, fundraiser id)
|
|
1343
1898
|
**/
|
|
1344
|
-
FundraiserFrozen: AugmentedEvent<ApiType, [
|
|
1899
|
+
FundraiserFrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1345
1900
|
/**
|
|
1346
1901
|
* A fundraiser has been unfrozen.
|
|
1347
1902
|
* (Agent DID, fundraiser id)
|
|
1348
1903
|
**/
|
|
1349
|
-
FundraiserUnfrozen: AugmentedEvent<ApiType, [
|
|
1904
|
+
FundraiserUnfrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1350
1905
|
/**
|
|
1351
1906
|
* A fundraiser window has been modified.
|
|
1352
1907
|
* (Agent DID, fundraiser id, old_start, old_end, new_start, new_end)
|
|
1353
1908
|
**/
|
|
1354
1909
|
FundraiserWindowModified: AugmentedEvent<ApiType, [
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
Option<
|
|
1359
|
-
|
|
1360
|
-
Option<
|
|
1910
|
+
PolymeshPrimitivesEventOnly,
|
|
1911
|
+
u64,
|
|
1912
|
+
u64,
|
|
1913
|
+
Option<u64>,
|
|
1914
|
+
u64,
|
|
1915
|
+
Option<u64>
|
|
1361
1916
|
]>;
|
|
1362
1917
|
/**
|
|
1363
1918
|
* An investor invested in the fundraiser.
|
|
1364
1919
|
* (Investor, fundraiser_id, offering token, raise token, offering_token_amount, raise_token_amount)
|
|
1365
1920
|
**/
|
|
1366
1921
|
Invested: AugmentedEvent<ApiType, [
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1922
|
+
PolymeshPrimitivesIdentityId,
|
|
1923
|
+
u64,
|
|
1924
|
+
PolymeshPrimitivesTicker,
|
|
1925
|
+
PolymeshPrimitivesTicker,
|
|
1926
|
+
u128,
|
|
1927
|
+
u128
|
|
1373
1928
|
]>;
|
|
1374
1929
|
};
|
|
1375
1930
|
sudo: {
|
|
1376
1931
|
/**
|
|
1377
1932
|
* The \[sudoer\] just switched identity; the old key is supplied.
|
|
1378
1933
|
**/
|
|
1379
|
-
KeyChanged: AugmentedEvent<ApiType, [
|
|
1934
|
+
KeyChanged: AugmentedEvent<ApiType, [AccountId32]>;
|
|
1380
1935
|
/**
|
|
1381
1936
|
* A sudo just took place. \[result\]
|
|
1382
1937
|
**/
|
|
1383
|
-
Sudid: AugmentedEvent<ApiType, [
|
|
1938
|
+
Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
1384
1939
|
/**
|
|
1385
1940
|
* A sudo just took place. \[result\]
|
|
1386
1941
|
**/
|
|
1387
|
-
SudoAsDone: AugmentedEvent<ApiType, [
|
|
1942
|
+
SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
1388
1943
|
};
|
|
1389
1944
|
system: {
|
|
1390
1945
|
/**
|
|
@@ -1392,21 +1947,28 @@ declare module '@polkadot/api/types/events' {
|
|
|
1392
1947
|
**/
|
|
1393
1948
|
CodeUpdated: AugmentedEvent<ApiType, []>;
|
|
1394
1949
|
/**
|
|
1395
|
-
* An extrinsic failed.
|
|
1950
|
+
* An extrinsic failed.
|
|
1951
|
+
**/
|
|
1952
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [
|
|
1953
|
+
SpRuntimeDispatchError,
|
|
1954
|
+
FrameSupportWeightsDispatchInfo
|
|
1955
|
+
]>;
|
|
1956
|
+
/**
|
|
1957
|
+
* An extrinsic completed successfully.
|
|
1396
1958
|
**/
|
|
1397
|
-
|
|
1959
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;
|
|
1398
1960
|
/**
|
|
1399
|
-
* An
|
|
1961
|
+
* An account was reaped.
|
|
1400
1962
|
**/
|
|
1401
|
-
|
|
1963
|
+
KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;
|
|
1402
1964
|
/**
|
|
1403
|
-
*
|
|
1965
|
+
* A new account was created.
|
|
1404
1966
|
**/
|
|
1405
|
-
|
|
1967
|
+
NewAccount: AugmentedEvent<ApiType, [AccountId32]>;
|
|
1406
1968
|
/**
|
|
1407
|
-
*
|
|
1969
|
+
* On on-chain remark happened.
|
|
1408
1970
|
**/
|
|
1409
|
-
|
|
1971
|
+
Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;
|
|
1410
1972
|
};
|
|
1411
1973
|
technicalCommittee: {
|
|
1412
1974
|
/**
|
|
@@ -1414,103 +1976,129 @@ declare module '@polkadot/api/types/events' {
|
|
|
1414
1976
|
* tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
1415
1977
|
* Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
|
|
1416
1978
|
**/
|
|
1417
|
-
Approved: AugmentedEvent<ApiType, [
|
|
1979
|
+
Approved: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, H256, u32, u32, u32]>;
|
|
1418
1980
|
/**
|
|
1419
1981
|
* A motion was executed; `DispatchResult` is `Ok(())` if returned without error.
|
|
1420
1982
|
* Parameters: caller DID, proposal hash, result of proposal dispatch.
|
|
1421
1983
|
**/
|
|
1422
|
-
Executed: AugmentedEvent<ApiType, [
|
|
1984
|
+
Executed: AugmentedEvent<ApiType, [
|
|
1985
|
+
PolymeshPrimitivesIdentityId,
|
|
1986
|
+
H256,
|
|
1987
|
+
Result<Null, SpRuntimeDispatchError>
|
|
1988
|
+
]>;
|
|
1423
1989
|
/**
|
|
1424
1990
|
* Proposal expiry time has been updated.
|
|
1425
1991
|
* Parameters: caller DID, new expiry time (if any).
|
|
1426
1992
|
**/
|
|
1427
|
-
ExpiresAfterUpdated: AugmentedEvent<ApiType, [
|
|
1993
|
+
ExpiresAfterUpdated: AugmentedEvent<ApiType, [
|
|
1994
|
+
PolymeshPrimitivesIdentityId,
|
|
1995
|
+
PolymeshCommonUtilitiesMaybeBlock
|
|
1996
|
+
]>;
|
|
1428
1997
|
/**
|
|
1429
1998
|
* Final votes on a motion (given hash)
|
|
1430
1999
|
* caller DID, ProposalIndex, Proposal hash, yes voters, no voter
|
|
1431
2000
|
**/
|
|
1432
2001
|
FinalVotes: AugmentedEvent<ApiType, [
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
Vec<
|
|
1437
|
-
Vec<
|
|
2002
|
+
PolymeshPrimitivesIdentityId,
|
|
2003
|
+
u32,
|
|
2004
|
+
H256,
|
|
2005
|
+
Vec<PolymeshPrimitivesIdentityId>,
|
|
2006
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
1438
2007
|
]>;
|
|
1439
2008
|
/**
|
|
1440
2009
|
* A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`).
|
|
1441
2010
|
* Parameters: caller DID, proposal index, proposal hash.
|
|
1442
2011
|
**/
|
|
1443
|
-
Proposed: AugmentedEvent<ApiType, [
|
|
2012
|
+
Proposed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256]>;
|
|
1444
2013
|
/**
|
|
1445
2014
|
* A motion was rejected by the required threshold with the following
|
|
1446
2015
|
* tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
1447
2016
|
* Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
|
|
1448
2017
|
**/
|
|
1449
|
-
Rejected: AugmentedEvent<ApiType, [
|
|
2018
|
+
Rejected: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, H256, u32, u32, u32]>;
|
|
1450
2019
|
/**
|
|
1451
2020
|
* Release coordinator has been updated.
|
|
1452
2021
|
* Parameters: caller DID, DID of the release coordinator.
|
|
1453
2022
|
**/
|
|
1454
|
-
ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [
|
|
2023
|
+
ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [
|
|
2024
|
+
PolymeshPrimitivesIdentityId,
|
|
2025
|
+
Option<PolymeshPrimitivesIdentityId>
|
|
2026
|
+
]>;
|
|
1455
2027
|
/**
|
|
1456
2028
|
* A motion (given hash) has been voted on by given account, leaving
|
|
1457
2029
|
* a tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
1458
2030
|
* caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats.
|
|
1459
2031
|
**/
|
|
1460
2032
|
Voted: AugmentedEvent<ApiType, [
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
2033
|
+
PolymeshPrimitivesIdentityId,
|
|
2034
|
+
u32,
|
|
2035
|
+
H256,
|
|
1464
2036
|
bool,
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
2037
|
+
u32,
|
|
2038
|
+
u32,
|
|
2039
|
+
u32
|
|
1468
2040
|
]>;
|
|
1469
2041
|
/**
|
|
1470
2042
|
* A vote on a motion (given hash) has been retracted.
|
|
1471
2043
|
* caller DID, ProposalIndex, Proposal hash, vote that was retracted
|
|
1472
2044
|
**/
|
|
1473
|
-
VoteRetracted: AugmentedEvent<ApiType, [
|
|
2045
|
+
VoteRetracted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256, bool]>;
|
|
1474
2046
|
/**
|
|
1475
2047
|
* Voting threshold has been updated
|
|
1476
2048
|
* Parameters: caller DID, numerator, denominator
|
|
1477
2049
|
**/
|
|
1478
|
-
VoteThresholdUpdated: AugmentedEvent<ApiType, [
|
|
2050
|
+
VoteThresholdUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
1479
2051
|
};
|
|
1480
2052
|
technicalCommitteeMembership: {
|
|
1481
2053
|
/**
|
|
1482
2054
|
* The limit of how many active members there can be concurrently was changed.
|
|
1483
2055
|
**/
|
|
1484
|
-
ActiveLimitChanged: AugmentedEvent<ApiType, [
|
|
2056
|
+
ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
1485
2057
|
/**
|
|
1486
2058
|
* Phantom member, never used.
|
|
1487
2059
|
**/
|
|
1488
|
-
Dummy: AugmentedEvent<ApiType, [
|
|
2060
|
+
Dummy: AugmentedEvent<ApiType, []>;
|
|
1489
2061
|
/**
|
|
1490
2062
|
* The given member was added; see the transaction for who.
|
|
1491
2063
|
* caller DID, New member DID.
|
|
1492
2064
|
**/
|
|
1493
|
-
MemberAdded: AugmentedEvent<ApiType, [
|
|
2065
|
+
MemberAdded: AugmentedEvent<ApiType, [
|
|
2066
|
+
PolymeshPrimitivesIdentityId,
|
|
2067
|
+
PolymeshPrimitivesIdentityId
|
|
2068
|
+
]>;
|
|
1494
2069
|
/**
|
|
1495
2070
|
* The given member was removed; see the transaction for who.
|
|
1496
2071
|
* caller DID, member DID that get removed.
|
|
1497
2072
|
**/
|
|
1498
|
-
MemberRemoved: AugmentedEvent<ApiType, [
|
|
2073
|
+
MemberRemoved: AugmentedEvent<ApiType, [
|
|
2074
|
+
PolymeshPrimitivesIdentityId,
|
|
2075
|
+
PolymeshPrimitivesIdentityId
|
|
2076
|
+
]>;
|
|
1499
2077
|
/**
|
|
1500
2078
|
* The given member has been revoked at specific time-stamp.
|
|
1501
2079
|
* caller DID, member DID that get revoked.
|
|
1502
2080
|
**/
|
|
1503
|
-
MemberRevoked: AugmentedEvent<ApiType, [
|
|
2081
|
+
MemberRevoked: AugmentedEvent<ApiType, [
|
|
2082
|
+
PolymeshPrimitivesIdentityId,
|
|
2083
|
+
PolymeshPrimitivesIdentityId
|
|
2084
|
+
]>;
|
|
1504
2085
|
/**
|
|
1505
2086
|
* The membership was reset; see the transaction for who the new set is.
|
|
1506
2087
|
* caller DID, List of new members.
|
|
1507
2088
|
**/
|
|
1508
|
-
MembersReset: AugmentedEvent<ApiType, [
|
|
2089
|
+
MembersReset: AugmentedEvent<ApiType, [
|
|
2090
|
+
PolymeshPrimitivesIdentityId,
|
|
2091
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
2092
|
+
]>;
|
|
1509
2093
|
/**
|
|
1510
2094
|
* Two members were swapped; see the transaction for who.
|
|
1511
2095
|
* caller DID, Removed DID, New add DID.
|
|
1512
2096
|
**/
|
|
1513
|
-
MembersSwapped: AugmentedEvent<ApiType, [
|
|
2097
|
+
MembersSwapped: AugmentedEvent<ApiType, [
|
|
2098
|
+
PolymeshPrimitivesIdentityId,
|
|
2099
|
+
PolymeshPrimitivesIdentityId,
|
|
2100
|
+
PolymeshPrimitivesIdentityId
|
|
2101
|
+
]>;
|
|
1514
2102
|
};
|
|
1515
2103
|
testUtils: {
|
|
1516
2104
|
/**
|
|
@@ -1518,28 +2106,50 @@ declare module '@polkadot/api/types/events' {
|
|
|
1518
2106
|
* valid CDD claim.
|
|
1519
2107
|
* (Target DID, Target Account, a valid CDD claim exists)
|
|
1520
2108
|
**/
|
|
1521
|
-
CddStatus: AugmentedEvent<ApiType, [Option<
|
|
2109
|
+
CddStatus: AugmentedEvent<ApiType, [Option<PolymeshPrimitivesIdentityId>, AccountId32, bool]>;
|
|
1522
2110
|
/**
|
|
1523
2111
|
* Emits the `IdentityId` and the `AccountId` of the caller.
|
|
1524
2112
|
* (Caller DID, Caller account)
|
|
1525
2113
|
**/
|
|
1526
|
-
DidStatus: AugmentedEvent<ApiType, [
|
|
2114
|
+
DidStatus: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32]>;
|
|
1527
2115
|
/**
|
|
1528
2116
|
* A new mocked `InvestorUid` has been created for the given Identity.
|
|
1529
2117
|
* (Target DID, New InvestorUid)
|
|
1530
2118
|
**/
|
|
1531
|
-
MockInvestorUIDCreated: AugmentedEvent<ApiType, [
|
|
2119
|
+
MockInvestorUIDCreated: AugmentedEvent<ApiType, [
|
|
2120
|
+
PolymeshPrimitivesIdentityId,
|
|
2121
|
+
PolymeshPrimitivesCddIdInvestorUid
|
|
2122
|
+
]>;
|
|
1532
2123
|
};
|
|
1533
2124
|
treasury: {
|
|
1534
2125
|
/**
|
|
1535
2126
|
* Disbursement to a target Identity.
|
|
1536
|
-
*
|
|
2127
|
+
*
|
|
2128
|
+
* (treasury identity, target identity, target primary key, amount)
|
|
1537
2129
|
**/
|
|
1538
|
-
TreasuryDisbursement: AugmentedEvent<ApiType, [
|
|
2130
|
+
TreasuryDisbursement: AugmentedEvent<ApiType, [
|
|
2131
|
+
PolymeshPrimitivesIdentityId,
|
|
2132
|
+
PolymeshPrimitivesIdentityId,
|
|
2133
|
+
AccountId32,
|
|
2134
|
+
u128
|
|
2135
|
+
]>;
|
|
2136
|
+
/**
|
|
2137
|
+
* Disbursement to a target Identity failed.
|
|
2138
|
+
*
|
|
2139
|
+
* (treasury identity, target identity, target primary key, amount)
|
|
2140
|
+
**/
|
|
2141
|
+
TreasuryDisbursementFailed: AugmentedEvent<ApiType, [
|
|
2142
|
+
PolymeshPrimitivesIdentityId,
|
|
2143
|
+
PolymeshPrimitivesIdentityId,
|
|
2144
|
+
AccountId32,
|
|
2145
|
+
u128
|
|
2146
|
+
]>;
|
|
1539
2147
|
/**
|
|
1540
2148
|
* Treasury reimbursement.
|
|
2149
|
+
*
|
|
2150
|
+
* (source identity, amount)
|
|
1541
2151
|
**/
|
|
1542
|
-
TreasuryReimbursement: AugmentedEvent<ApiType, [
|
|
2152
|
+
TreasuryReimbursement: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u128]>;
|
|
1543
2153
|
};
|
|
1544
2154
|
upgradeCommittee: {
|
|
1545
2155
|
/**
|
|
@@ -1547,125 +2157,152 @@ declare module '@polkadot/api/types/events' {
|
|
|
1547
2157
|
* tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
1548
2158
|
* Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
|
|
1549
2159
|
**/
|
|
1550
|
-
Approved: AugmentedEvent<ApiType, [
|
|
2160
|
+
Approved: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, H256, u32, u32, u32]>;
|
|
1551
2161
|
/**
|
|
1552
2162
|
* A motion was executed; `DispatchResult` is `Ok(())` if returned without error.
|
|
1553
2163
|
* Parameters: caller DID, proposal hash, result of proposal dispatch.
|
|
1554
2164
|
**/
|
|
1555
|
-
Executed: AugmentedEvent<ApiType, [
|
|
2165
|
+
Executed: AugmentedEvent<ApiType, [
|
|
2166
|
+
PolymeshPrimitivesIdentityId,
|
|
2167
|
+
H256,
|
|
2168
|
+
Result<Null, SpRuntimeDispatchError>
|
|
2169
|
+
]>;
|
|
1556
2170
|
/**
|
|
1557
2171
|
* Proposal expiry time has been updated.
|
|
1558
2172
|
* Parameters: caller DID, new expiry time (if any).
|
|
1559
2173
|
**/
|
|
1560
|
-
ExpiresAfterUpdated: AugmentedEvent<ApiType, [
|
|
2174
|
+
ExpiresAfterUpdated: AugmentedEvent<ApiType, [
|
|
2175
|
+
PolymeshPrimitivesIdentityId,
|
|
2176
|
+
PolymeshCommonUtilitiesMaybeBlock
|
|
2177
|
+
]>;
|
|
1561
2178
|
/**
|
|
1562
2179
|
* Final votes on a motion (given hash)
|
|
1563
2180
|
* caller DID, ProposalIndex, Proposal hash, yes voters, no voter
|
|
1564
2181
|
**/
|
|
1565
2182
|
FinalVotes: AugmentedEvent<ApiType, [
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
Vec<
|
|
1570
|
-
Vec<
|
|
2183
|
+
PolymeshPrimitivesIdentityId,
|
|
2184
|
+
u32,
|
|
2185
|
+
H256,
|
|
2186
|
+
Vec<PolymeshPrimitivesIdentityId>,
|
|
2187
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
1571
2188
|
]>;
|
|
1572
2189
|
/**
|
|
1573
2190
|
* A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`).
|
|
1574
2191
|
* Parameters: caller DID, proposal index, proposal hash.
|
|
1575
2192
|
**/
|
|
1576
|
-
Proposed: AugmentedEvent<ApiType, [
|
|
2193
|
+
Proposed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256]>;
|
|
1577
2194
|
/**
|
|
1578
2195
|
* A motion was rejected by the required threshold with the following
|
|
1579
2196
|
* tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
1580
2197
|
* Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
|
|
1581
2198
|
**/
|
|
1582
|
-
Rejected: AugmentedEvent<ApiType, [
|
|
2199
|
+
Rejected: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, H256, u32, u32, u32]>;
|
|
1583
2200
|
/**
|
|
1584
2201
|
* Release coordinator has been updated.
|
|
1585
2202
|
* Parameters: caller DID, DID of the release coordinator.
|
|
1586
2203
|
**/
|
|
1587
|
-
ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [
|
|
2204
|
+
ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [
|
|
2205
|
+
PolymeshPrimitivesIdentityId,
|
|
2206
|
+
Option<PolymeshPrimitivesIdentityId>
|
|
2207
|
+
]>;
|
|
1588
2208
|
/**
|
|
1589
2209
|
* A motion (given hash) has been voted on by given account, leaving
|
|
1590
2210
|
* a tally (yes votes, no votes and total seats given respectively as `MemberCount`).
|
|
1591
2211
|
* caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats.
|
|
1592
2212
|
**/
|
|
1593
2213
|
Voted: AugmentedEvent<ApiType, [
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
2214
|
+
PolymeshPrimitivesIdentityId,
|
|
2215
|
+
u32,
|
|
2216
|
+
H256,
|
|
1597
2217
|
bool,
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
2218
|
+
u32,
|
|
2219
|
+
u32,
|
|
2220
|
+
u32
|
|
1601
2221
|
]>;
|
|
1602
2222
|
/**
|
|
1603
2223
|
* A vote on a motion (given hash) has been retracted.
|
|
1604
2224
|
* caller DID, ProposalIndex, Proposal hash, vote that was retracted
|
|
1605
2225
|
**/
|
|
1606
|
-
VoteRetracted: AugmentedEvent<ApiType, [
|
|
2226
|
+
VoteRetracted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256, bool]>;
|
|
1607
2227
|
/**
|
|
1608
2228
|
* Voting threshold has been updated
|
|
1609
2229
|
* Parameters: caller DID, numerator, denominator
|
|
1610
2230
|
**/
|
|
1611
|
-
VoteThresholdUpdated: AugmentedEvent<ApiType, [
|
|
2231
|
+
VoteThresholdUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
1612
2232
|
};
|
|
1613
2233
|
upgradeCommitteeMembership: {
|
|
1614
2234
|
/**
|
|
1615
2235
|
* The limit of how many active members there can be concurrently was changed.
|
|
1616
2236
|
**/
|
|
1617
|
-
ActiveLimitChanged: AugmentedEvent<ApiType, [
|
|
2237
|
+
ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
1618
2238
|
/**
|
|
1619
2239
|
* Phantom member, never used.
|
|
1620
2240
|
**/
|
|
1621
|
-
Dummy: AugmentedEvent<ApiType, [
|
|
2241
|
+
Dummy: AugmentedEvent<ApiType, []>;
|
|
1622
2242
|
/**
|
|
1623
2243
|
* The given member was added; see the transaction for who.
|
|
1624
2244
|
* caller DID, New member DID.
|
|
1625
2245
|
**/
|
|
1626
|
-
MemberAdded: AugmentedEvent<ApiType, [
|
|
2246
|
+
MemberAdded: AugmentedEvent<ApiType, [
|
|
2247
|
+
PolymeshPrimitivesIdentityId,
|
|
2248
|
+
PolymeshPrimitivesIdentityId
|
|
2249
|
+
]>;
|
|
1627
2250
|
/**
|
|
1628
2251
|
* The given member was removed; see the transaction for who.
|
|
1629
2252
|
* caller DID, member DID that get removed.
|
|
1630
2253
|
**/
|
|
1631
|
-
MemberRemoved: AugmentedEvent<ApiType, [
|
|
2254
|
+
MemberRemoved: AugmentedEvent<ApiType, [
|
|
2255
|
+
PolymeshPrimitivesIdentityId,
|
|
2256
|
+
PolymeshPrimitivesIdentityId
|
|
2257
|
+
]>;
|
|
1632
2258
|
/**
|
|
1633
2259
|
* The given member has been revoked at specific time-stamp.
|
|
1634
2260
|
* caller DID, member DID that get revoked.
|
|
1635
2261
|
**/
|
|
1636
|
-
MemberRevoked: AugmentedEvent<ApiType, [
|
|
2262
|
+
MemberRevoked: AugmentedEvent<ApiType, [
|
|
2263
|
+
PolymeshPrimitivesIdentityId,
|
|
2264
|
+
PolymeshPrimitivesIdentityId
|
|
2265
|
+
]>;
|
|
1637
2266
|
/**
|
|
1638
2267
|
* The membership was reset; see the transaction for who the new set is.
|
|
1639
2268
|
* caller DID, List of new members.
|
|
1640
2269
|
**/
|
|
1641
|
-
MembersReset: AugmentedEvent<ApiType, [
|
|
2270
|
+
MembersReset: AugmentedEvent<ApiType, [
|
|
2271
|
+
PolymeshPrimitivesIdentityId,
|
|
2272
|
+
Vec<PolymeshPrimitivesIdentityId>
|
|
2273
|
+
]>;
|
|
1642
2274
|
/**
|
|
1643
2275
|
* Two members were swapped; see the transaction for who.
|
|
1644
2276
|
* caller DID, Removed DID, New add DID.
|
|
1645
2277
|
**/
|
|
1646
|
-
MembersSwapped: AugmentedEvent<ApiType, [
|
|
2278
|
+
MembersSwapped: AugmentedEvent<ApiType, [
|
|
2279
|
+
PolymeshPrimitivesIdentityId,
|
|
2280
|
+
PolymeshPrimitivesIdentityId,
|
|
2281
|
+
PolymeshPrimitivesIdentityId
|
|
2282
|
+
]>;
|
|
1647
2283
|
};
|
|
1648
2284
|
utility: {
|
|
1649
2285
|
/**
|
|
1650
2286
|
* Batch of dispatches completed fully with no error.
|
|
1651
2287
|
* Includes a vector of event counts for each dispatch.
|
|
1652
2288
|
**/
|
|
1653
|
-
BatchCompleted: AugmentedEvent<ApiType, [
|
|
2289
|
+
BatchCompleted: AugmentedEvent<ApiType, [Vec<u32>]>;
|
|
1654
2290
|
/**
|
|
1655
2291
|
* Batch of dispatches did not complete fully.
|
|
1656
2292
|
* Includes a vector of event counts for each dispatch and
|
|
1657
2293
|
* the index of the first failing dispatch as well as the error.
|
|
1658
2294
|
**/
|
|
1659
|
-
BatchInterrupted: AugmentedEvent<ApiType, [
|
|
2295
|
+
BatchInterrupted: AugmentedEvent<ApiType, [Vec<u32>, ITuple<[u32, SpRuntimeDispatchError]>]>;
|
|
1660
2296
|
/**
|
|
1661
2297
|
* Batch of dispatches did not complete fully.
|
|
1662
2298
|
* Includes a vector of event counts for each call and
|
|
1663
2299
|
* a vector of any failed dispatches with their indices and associated error.
|
|
1664
2300
|
**/
|
|
1665
|
-
BatchOptimisticFailed: AugmentedEvent<ApiType, [
|
|
2301
|
+
BatchOptimisticFailed: AugmentedEvent<ApiType, [
|
|
2302
|
+
Vec<u32>,
|
|
2303
|
+
Vec<ITuple<[u32, SpRuntimeDispatchError]>>
|
|
2304
|
+
]>;
|
|
1666
2305
|
};
|
|
1667
2306
|
}
|
|
1668
|
-
interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {
|
|
1669
|
-
}
|
|
1670
2307
|
}
|
|
1671
2308
|
//# sourceMappingURL=augment-api-events.d.ts.map
|