@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polymeshassociation/polymesh-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0-alpha.13",
|
|
4
4
|
"description": "High-level API to interact with the Polymesh blockchain",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,18 +8,19 @@
|
|
|
8
8
|
"license": "ISC",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "cross-env node scripts/generateTsconfigDev.js && cross-env webpack-dev-server --config=webpack.config.dev.js",
|
|
11
|
-
"generate:polkadot-types": "yarn fetch-definitions && yarn generate:defs && yarn generate:meta && yarn generate:
|
|
11
|
+
"generate:polkadot-types": "yarn fetch-metadata && yarn fetch-definitions && yarn generate:defs && yarn generate:meta && yarn generate:consts && yarn generate:post-process",
|
|
12
12
|
"generate:middleware-types": "graphql-codegen -r dotenv/config",
|
|
13
|
-
"generate:middleware-types-v2": "graphql-codegen -c codegenv2.yaml",
|
|
14
13
|
"fetch-definitions": "cross-env node scripts/fetchDefinitions.js",
|
|
14
|
+
"fetch-metadata": "sh scripts/fetchMetadata.sh",
|
|
15
15
|
"update-readme": "cross-env node scripts/updateReadme.js",
|
|
16
|
-
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package polymesh-types --input ./src/polkadot",
|
|
17
|
-
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package polymesh-types --
|
|
18
|
-
"generate:
|
|
16
|
+
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --endpoint metadata.json --package polymesh-types --input ./src/polkadot/",
|
|
17
|
+
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --endpoint metadata.json --package polymesh-types --output ./src/polkadot --strict",
|
|
18
|
+
"generate:consts": "cross-env node scripts/generateConsts.js",
|
|
19
19
|
"generate:post-process": "cross-env node scripts/postProcessTypes.js",
|
|
20
20
|
"test": "jest --detectOpenHandles --coverage",
|
|
21
|
+
"test:no-cov": "jest --detectOpenHandles",
|
|
21
22
|
"build:ts": "ttsc -b tsconfig.lib.json",
|
|
22
|
-
"build:docs": "cross-env cp -R src src-temp && cross-env node scripts/prepareCodeForDocs.js && typedoc
|
|
23
|
+
"build:docs": "cross-env cp -R src src-temp && cross-env node scripts/prepareCodeForDocs.js && typedoc && rimraf src && mv src-temp src && cross-env node scripts/processDocs.js",
|
|
23
24
|
"commit": "npx git-cz",
|
|
24
25
|
"semantic-release": "semantic-release",
|
|
25
26
|
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"@graphql-codegen/typescript": "1.22.1",
|
|
39
40
|
"@open-wc/webpack-import-meta-loader": "^0.4.7",
|
|
40
41
|
"@ovos-media/ts-transform-paths": "^1.7.18-1",
|
|
41
|
-
"@polkadot/typegen": "
|
|
42
|
+
"@polkadot/typegen": "8.1.1",
|
|
42
43
|
"@polymathnetwork/local-signing-manager": "1.0.5",
|
|
43
44
|
"@polymathnetwork/signing-manager-types": "^1.0.3",
|
|
44
45
|
"@semantic-release/changelog": "^6.0.1",
|
|
@@ -85,12 +86,13 @@
|
|
|
85
86
|
"stream-browserify": "^3.0.0",
|
|
86
87
|
"ts-jest": "27.0.4",
|
|
87
88
|
"ts-loader": "8.2.0",
|
|
88
|
-
"ts-node": "8.0
|
|
89
|
+
"ts-node": "10.8.0",
|
|
89
90
|
"tsconfig-paths": "^3.9.0",
|
|
90
91
|
"tsconfig-paths-webpack-plugin": "^3.2.0",
|
|
91
92
|
"ttypescript": "1.5.12",
|
|
92
|
-
"typedoc": "0.
|
|
93
|
-
"typedoc-
|
|
93
|
+
"typedoc": "0.23.5",
|
|
94
|
+
"typedoc-github-wiki-theme": "^1.0.1",
|
|
95
|
+
"typedoc-plugin-markdown": "3.13.2",
|
|
94
96
|
"typescript": "4.6.2",
|
|
95
97
|
"webpack": "^5.69.1",
|
|
96
98
|
"webpack-cli": "^4.9.2",
|
|
@@ -106,9 +108,9 @@
|
|
|
106
108
|
"access": "public"
|
|
107
109
|
},
|
|
108
110
|
"dependencies": {
|
|
109
|
-
"@polkadot/api": "
|
|
110
|
-
"@polkadot/util": "
|
|
111
|
-
"@polkadot/util-crypto": "
|
|
111
|
+
"@polkadot/api": "8.1.1",
|
|
112
|
+
"@polkadot/util": "9.0.1",
|
|
113
|
+
"@polkadot/util-crypto": "9.0.1",
|
|
112
114
|
"apollo-cache-inmemory": "^1.6.6",
|
|
113
115
|
"apollo-client": "^2.6.10",
|
|
114
116
|
"apollo-link": "^1.2.14",
|
|
@@ -128,5 +130,61 @@
|
|
|
128
130
|
"lodash": "^4.17.15",
|
|
129
131
|
"semver": "^7.3.5",
|
|
130
132
|
"websocket": "^1.0.31"
|
|
133
|
+
},
|
|
134
|
+
"resolutions": {
|
|
135
|
+
"@polkadot/keyring": "9.0.1",
|
|
136
|
+
"@polkadot/api-augment": "8.1.1",
|
|
137
|
+
"@polkadot/api-base": "8.1.1",
|
|
138
|
+
"@polkadot/api-derive": "8.1.1",
|
|
139
|
+
"@polkadot/rpc-augment": "8.1.1",
|
|
140
|
+
"@polkadot/rpc-core": "8.1.1",
|
|
141
|
+
"@polkadot/rpc-provider": "8.1.1",
|
|
142
|
+
"@polkadot/types": "8.1.1",
|
|
143
|
+
"@polkadot/types-augment": "8.1.1",
|
|
144
|
+
"@polkadot/types-codec": "8.1.1",
|
|
145
|
+
"@polkadot/types-create": "8.1.1",
|
|
146
|
+
"@polkadot/types-known": "8.1.1",
|
|
147
|
+
"@polkadot/util": "9.0.1",
|
|
148
|
+
"@polkadot/networks": "9.0.1",
|
|
149
|
+
"@polkadot/util-crypto": "9.0.1",
|
|
150
|
+
"@polkadot/x-bigint": "9.0.1"
|
|
151
|
+
},
|
|
152
|
+
"overrides": {
|
|
153
|
+
"@polkadot/keyring": "9.0.1",
|
|
154
|
+
"@polkadot/api-augment": "8.1.1",
|
|
155
|
+
"@polkadot/api-base": "8.1.1",
|
|
156
|
+
"@polkadot/api-derive": "8.1.1",
|
|
157
|
+
"@polkadot/rpc-augment": "8.1.1",
|
|
158
|
+
"@polkadot/rpc-core": "8.1.1",
|
|
159
|
+
"@polkadot/rpc-provider": "8.1.1",
|
|
160
|
+
"@polkadot/types": "8.1.1",
|
|
161
|
+
"@polkadot/types-augment": "8.1.1",
|
|
162
|
+
"@polkadot/types-codec": "8.1.1",
|
|
163
|
+
"@polkadot/types-create": "8.1.1",
|
|
164
|
+
"@polkadot/types-known": "8.1.1",
|
|
165
|
+
"@polkadot/util": "9.0.1",
|
|
166
|
+
"@polkadot/networks": "9.0.1",
|
|
167
|
+
"@polkadot/util-crypto": "9.0.1",
|
|
168
|
+
"@polkadot/x-bigint": "9.0.1"
|
|
169
|
+
},
|
|
170
|
+
"pnpm": {
|
|
171
|
+
"overrides": {
|
|
172
|
+
"@polkadot/keyring": "9.0.1",
|
|
173
|
+
"@polkadot/api-augment": "8.1.1",
|
|
174
|
+
"@polkadot/api-base": "8.1.1",
|
|
175
|
+
"@polkadot/api-derive": "8.1.1",
|
|
176
|
+
"@polkadot/rpc-augment": "8.1.1",
|
|
177
|
+
"@polkadot/rpc-core": "8.1.1",
|
|
178
|
+
"@polkadot/rpc-provider": "8.1.1",
|
|
179
|
+
"@polkadot/types": "8.1.1",
|
|
180
|
+
"@polkadot/types-augment": "8.1.1",
|
|
181
|
+
"@polkadot/types-codec": "8.1.1",
|
|
182
|
+
"@polkadot/types-create": "8.1.1",
|
|
183
|
+
"@polkadot/types-known": "8.1.1",
|
|
184
|
+
"@polkadot/util": "9.0.1",
|
|
185
|
+
"@polkadot/networks": "9.0.1",
|
|
186
|
+
"@polkadot/util-crypto": "9.0.1",
|
|
187
|
+
"@polkadot/x-bigint": "9.0.1"
|
|
188
|
+
}
|
|
131
189
|
}
|
|
132
190
|
}
|
|
@@ -12,22 +12,22 @@ exports.default = {
|
|
|
12
12
|
isOptional: false,
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
name: '
|
|
16
|
-
type: 'Option<
|
|
15
|
+
name: 'fromCustodian',
|
|
16
|
+
type: 'Option<PolymeshPrimitivesIdentityId>',
|
|
17
17
|
isOptional: false,
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
name: '
|
|
20
|
+
name: 'fromPortfolio',
|
|
21
21
|
type: 'PortfolioId',
|
|
22
22
|
isOptional: false,
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
name: '
|
|
26
|
-
type: 'Option<
|
|
25
|
+
name: 'toCustodian',
|
|
26
|
+
type: 'Option<PolymeshPrimitivesIdentityId>',
|
|
27
27
|
isOptional: false,
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
name: '
|
|
30
|
+
name: 'toPortfolio',
|
|
31
31
|
type: 'PortfolioId',
|
|
32
32
|
isOptional: false,
|
|
33
33
|
},
|
|
@@ -53,22 +53,22 @@ exports.default = {
|
|
|
53
53
|
description: 'Checks whether a transaction with given parameters can take place or not. The result is granular meaning each check is run and returned regardless of outcome.',
|
|
54
54
|
params: [
|
|
55
55
|
{
|
|
56
|
-
name: '
|
|
57
|
-
type: 'Option<
|
|
56
|
+
name: 'fromCustodian',
|
|
57
|
+
type: 'Option<PolymeshPrimitivesIdentityId>',
|
|
58
58
|
isOptional: false,
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
name: '
|
|
61
|
+
name: 'fromPortfolio',
|
|
62
62
|
type: 'PortfolioId',
|
|
63
63
|
isOptional: false,
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
name: '
|
|
67
|
-
type: 'Option<
|
|
66
|
+
name: 'toCustodian',
|
|
67
|
+
type: 'Option<PolymeshPrimitivesIdentityId>',
|
|
68
68
|
isOptional: false,
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
name: '
|
|
71
|
+
name: 'toPortfolio',
|
|
72
72
|
type: 'PortfolioId',
|
|
73
73
|
isOptional: false,
|
|
74
74
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../src/polkadot/asset/definitions.ts"],"names":[],"mappings":";;AAAA,yDAAyD;AACzD,kBAAe;IACb,GAAG,EAAE;QACH,WAAW,EAAE;YACX,WAAW,EAAE,0EAA0E;YACvF,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,WAAW;oBACjB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../src/polkadot/asset/definitions.ts"],"names":[],"mappings":";;AAAA,yDAAyD;AACzD,kBAAe;IACb,GAAG,EAAE;QACH,WAAW,EAAE;YACX,WAAW,EAAE,0EAA0E;YACvF,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,WAAW;oBACjB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,sCAAsC;oBAC5C,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,aAAa;oBACnB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,sCAAsC;oBAC5C,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,aAAa;oBACnB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,MAAM;oBACZ,UAAU,EAAE,IAAI;iBACjB;aACF;YACD,IAAI,EAAE,mBAAmB;SAC1B;QACD,mBAAmB,EAAE;YACnB,WAAW,EACT,gKAAgK;YAClK,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,sCAAsC;oBAC5C,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,aAAa;oBACnB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,sCAAsC;oBAC5C,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,aAAa;oBACnB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,MAAM;oBACZ,UAAU,EAAE,IAAI;iBACjB;aACF;YACD,IAAI,EAAE,2BAA2B;SAClC;KACF;IACD,KAAK,EAAE,EAAE;CACV,CAAC"}
|
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import type { BlockLength, BlockWeights } from '@polkadot/types/interfaces/system';
|
|
8
|
-
import type { ApiTypes } from '@polkadot/api/types';
|
|
9
|
-
declare module '@polkadot/api/types/consts' {
|
|
10
|
-
interface AugmentedConsts<ApiType> {
|
|
1
|
+
import type { ApiTypes } from '@polkadot/api-base/types';
|
|
2
|
+
import type { Vec, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
|
3
|
+
import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
4
|
+
import type { FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from "./types-lookup.ts";
|
|
5
|
+
declare module '@polkadot/api-base/types/consts' {
|
|
6
|
+
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
11
7
|
asset: {
|
|
8
|
+
assetMetadataNameMaxLength: u32 & AugmentedConst<ApiType>;
|
|
9
|
+
assetMetadataTypeDefMaxLength: u32 & AugmentedConst<ApiType>;
|
|
10
|
+
assetMetadataValueMaxLength: u32 & AugmentedConst<ApiType>;
|
|
12
11
|
assetNameMaxLength: u32 & AugmentedConst<ApiType>;
|
|
13
12
|
fundingRoundNameMaxLength: u32 & AugmentedConst<ApiType>;
|
|
14
|
-
|
|
13
|
+
maxNumberOfTMExtensionForAsset: u32 & AugmentedConst<ApiType>;
|
|
14
|
+
};
|
|
15
|
+
authorship: {
|
|
16
|
+
/**
|
|
17
|
+
* The number of blocks back we should accept uncles.
|
|
18
|
+
* This means that we will deal with uncle-parents that are
|
|
19
|
+
* `UncleGenerations + 1` before `now`.
|
|
20
|
+
**/
|
|
21
|
+
uncleGenerations: u32 & AugmentedConst<ApiType>;
|
|
15
22
|
};
|
|
16
23
|
babe: {
|
|
17
24
|
/**
|
|
18
|
-
* The
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* after the chain has started. Attempting to do so will brick block
|
|
22
|
-
* production.
|
|
25
|
+
* The amount of time, in slots, that each epoch should last.
|
|
26
|
+
* NOTE: Currently it is not possible to change the epoch duration after
|
|
27
|
+
* the chain has started. Attempting to do so will brick block production.
|
|
23
28
|
**/
|
|
24
29
|
epochDuration: u64 & AugmentedConst<ApiType>;
|
|
25
30
|
/**
|
|
@@ -29,13 +34,17 @@ declare module '@polkadot/api/types/consts' {
|
|
|
29
34
|
* duration and the security parameter `c` (where `1 - c` represents
|
|
30
35
|
* the probability of a slot being empty).
|
|
31
36
|
**/
|
|
32
|
-
expectedBlockTime:
|
|
37
|
+
expectedBlockTime: u64 & AugmentedConst<ApiType>;
|
|
38
|
+
/**
|
|
39
|
+
* Max number of authorities allowed
|
|
40
|
+
**/
|
|
41
|
+
maxAuthorities: u32 & AugmentedConst<ApiType>;
|
|
33
42
|
};
|
|
34
43
|
balances: {
|
|
35
44
|
/**
|
|
36
45
|
* The minimum amount required to keep an account open.
|
|
37
46
|
**/
|
|
38
|
-
existentialDeposit:
|
|
47
|
+
existentialDeposit: u128 & AugmentedConst<ApiType>;
|
|
39
48
|
};
|
|
40
49
|
base: {
|
|
41
50
|
maxLen: u32 & AugmentedConst<ApiType>;
|
|
@@ -43,24 +52,100 @@ declare module '@polkadot/api/types/consts' {
|
|
|
43
52
|
complianceManager: {
|
|
44
53
|
maxConditionComplexity: u32 & AugmentedConst<ApiType>;
|
|
45
54
|
};
|
|
55
|
+
contracts: {
|
|
56
|
+
/**
|
|
57
|
+
* The maximum number of contracts that can be pending for deletion.
|
|
58
|
+
*
|
|
59
|
+
* When a contract is deleted by calling `seal_terminate` it becomes inaccessible
|
|
60
|
+
* immediately, but the deletion of the storage items it has accumulated is performed
|
|
61
|
+
* later. The contract is put into the deletion queue. This defines how many
|
|
62
|
+
* contracts can be queued up at the same time. If that limit is reached `seal_terminate`
|
|
63
|
+
* will fail. The action must be retried in a later block in that case.
|
|
64
|
+
*
|
|
65
|
+
* The reasons for limiting the queue depth are:
|
|
66
|
+
*
|
|
67
|
+
* 1. The queue is in storage in order to be persistent between blocks. We want to limit
|
|
68
|
+
* the amount of storage that can be consumed.
|
|
69
|
+
* 2. The queue is stored in a vector and needs to be decoded as a whole when reading
|
|
70
|
+
* it at the end of each block. Longer queues take more weight to decode and hence
|
|
71
|
+
* limit the amount of items that can be deleted per block.
|
|
72
|
+
**/
|
|
73
|
+
deletionQueueDepth: u32 & AugmentedConst<ApiType>;
|
|
74
|
+
/**
|
|
75
|
+
* The maximum amount of weight that can be consumed per block for lazy trie removal.
|
|
76
|
+
*
|
|
77
|
+
* The amount of weight that is dedicated per block to work on the deletion queue. Larger
|
|
78
|
+
* values allow more trie keys to be deleted in each block but reduce the amount of
|
|
79
|
+
* weight that is left for transactions. See [`Self::DeletionQueueDepth`] for more
|
|
80
|
+
* information about the deletion queue.
|
|
81
|
+
**/
|
|
82
|
+
deletionWeightLimit: u64 & AugmentedConst<ApiType>;
|
|
83
|
+
/**
|
|
84
|
+
* The amount of balance a caller has to pay for each byte of storage.
|
|
85
|
+
*
|
|
86
|
+
* # Note
|
|
87
|
+
*
|
|
88
|
+
* Changing this value for an existing chain might need a storage migration.
|
|
89
|
+
**/
|
|
90
|
+
depositPerByte: u128 & AugmentedConst<ApiType>;
|
|
91
|
+
/**
|
|
92
|
+
* The amount of balance a caller has to pay for each storage item.
|
|
93
|
+
*
|
|
94
|
+
* # Note
|
|
95
|
+
*
|
|
96
|
+
* Changing this value for an existing chain might need a storage migration.
|
|
97
|
+
**/
|
|
98
|
+
depositPerItem: u128 & AugmentedConst<ApiType>;
|
|
99
|
+
/**
|
|
100
|
+
* Cost schedule and limits.
|
|
101
|
+
**/
|
|
102
|
+
schedule: PalletContractsSchedule & AugmentedConst<ApiType>;
|
|
103
|
+
};
|
|
46
104
|
corporateAction: {
|
|
47
105
|
maxDidWhts: u32 & AugmentedConst<ApiType>;
|
|
48
106
|
maxTargetIds: u32 & AugmentedConst<ApiType>;
|
|
49
107
|
};
|
|
108
|
+
grandpa: {
|
|
109
|
+
/**
|
|
110
|
+
* Max Authorities in use
|
|
111
|
+
**/
|
|
112
|
+
maxAuthorities: u32 & AugmentedConst<ApiType>;
|
|
113
|
+
};
|
|
50
114
|
identity: {
|
|
51
|
-
|
|
115
|
+
initialPOLYX: u128 & AugmentedConst<ApiType>;
|
|
116
|
+
};
|
|
117
|
+
imOnline: {
|
|
118
|
+
/**
|
|
119
|
+
* A configuration for base priority of unsigned transactions.
|
|
120
|
+
*
|
|
121
|
+
* This is exposed so that it can be tuned for particular runtime, when
|
|
122
|
+
* multiple pallets send unsigned transactions.
|
|
123
|
+
**/
|
|
124
|
+
unsignedPriority: u64 & AugmentedConst<ApiType>;
|
|
52
125
|
};
|
|
53
126
|
indices: {
|
|
54
127
|
/**
|
|
55
128
|
* The deposit needed for reserving an index.
|
|
56
129
|
**/
|
|
57
|
-
deposit:
|
|
130
|
+
deposit: u128 & AugmentedConst<ApiType>;
|
|
131
|
+
};
|
|
132
|
+
scheduler: {
|
|
133
|
+
/**
|
|
134
|
+
* The maximum weight that may be scheduled per block for any dispatchables of less
|
|
135
|
+
* priority than `schedule::HARD_DEADLINE`.
|
|
136
|
+
**/
|
|
137
|
+
maximumWeight: u64 & AugmentedConst<ApiType>;
|
|
138
|
+
/**
|
|
139
|
+
* The maximum number of scheduled calls in the queue for a single block.
|
|
140
|
+
* Not strictly enforced, but used for weight estimation.
|
|
141
|
+
**/
|
|
142
|
+
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
|
|
58
143
|
};
|
|
59
144
|
staking: {
|
|
60
145
|
/**
|
|
61
146
|
* Number of eras that staked funds must remain bonded for.
|
|
62
147
|
**/
|
|
63
|
-
bondingDuration:
|
|
148
|
+
bondingDuration: u32 & AugmentedConst<ApiType>;
|
|
64
149
|
/**
|
|
65
150
|
* The number of blocks before the end of the era from which election submissions are allowed.
|
|
66
151
|
*
|
|
@@ -70,11 +155,11 @@ declare module '@polkadot/api/types/consts' {
|
|
|
70
155
|
* This is bounded by being within the last session. Hence, setting it to a value more than the
|
|
71
156
|
* length of a session will be pointless.
|
|
72
157
|
**/
|
|
73
|
-
electionLookahead:
|
|
158
|
+
electionLookahead: u32 & AugmentedConst<ApiType>;
|
|
74
159
|
/**
|
|
75
160
|
* Total year rewards that gets paid during fixed reward schedule.
|
|
76
161
|
**/
|
|
77
|
-
fixedYearlyReward:
|
|
162
|
+
fixedYearlyReward: u128 & AugmentedConst<ApiType>;
|
|
78
163
|
/**
|
|
79
164
|
* Maximum number of balancing iterations to run in the offchain submission.
|
|
80
165
|
*
|
|
@@ -97,11 +182,11 @@ declare module '@polkadot/api/types/consts' {
|
|
|
97
182
|
/**
|
|
98
183
|
* Maximum amount of `T::currency::total_issuance()` after that non-inflated rewards get paid.
|
|
99
184
|
**/
|
|
100
|
-
maxVariableInflationTotalIssuance:
|
|
185
|
+
maxVariableInflationTotalIssuance: u128 & AugmentedConst<ApiType>;
|
|
101
186
|
/**
|
|
102
187
|
* Minimum amount of POLYX that must be bonded for a new bond.
|
|
103
188
|
**/
|
|
104
|
-
minimumBond:
|
|
189
|
+
minimumBond: u128 & AugmentedConst<ApiType>;
|
|
105
190
|
/**
|
|
106
191
|
* The threshold of improvement that should be provided for a new solution to be accepted.
|
|
107
192
|
**/
|
|
@@ -109,7 +194,7 @@ declare module '@polkadot/api/types/consts' {
|
|
|
109
194
|
/**
|
|
110
195
|
* Number of sessions per era.
|
|
111
196
|
**/
|
|
112
|
-
sessionsPerEra:
|
|
197
|
+
sessionsPerEra: u32 & AugmentedConst<ApiType>;
|
|
113
198
|
/**
|
|
114
199
|
* Number of eras that slashes are deferred by, after computation.
|
|
115
200
|
*
|
|
@@ -117,28 +202,29 @@ declare module '@polkadot/api/types/consts' {
|
|
|
117
202
|
* Set to 0 if slashes should be applied immediately, without opportunity for
|
|
118
203
|
* intervention.
|
|
119
204
|
**/
|
|
120
|
-
slashDeferDuration:
|
|
205
|
+
slashDeferDuration: u32 & AugmentedConst<ApiType>;
|
|
121
206
|
};
|
|
122
207
|
statistics: {
|
|
123
|
-
|
|
208
|
+
maxStatsPerAsset: u32 & AugmentedConst<ApiType>;
|
|
209
|
+
maxTransferConditionsPerAsset: u32 & AugmentedConst<ApiType>;
|
|
124
210
|
};
|
|
125
211
|
system: {
|
|
126
212
|
/**
|
|
127
213
|
* Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
|
128
214
|
**/
|
|
129
|
-
blockHashCount:
|
|
215
|
+
blockHashCount: u32 & AugmentedConst<ApiType>;
|
|
130
216
|
/**
|
|
131
217
|
* The maximum length of a block (in bytes).
|
|
132
218
|
**/
|
|
133
|
-
blockLength:
|
|
219
|
+
blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;
|
|
134
220
|
/**
|
|
135
221
|
* Block & extrinsics weights: base values and limits.
|
|
136
222
|
**/
|
|
137
|
-
blockWeights:
|
|
223
|
+
blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;
|
|
138
224
|
/**
|
|
139
225
|
* The weight of runtime database operations the runtime can invoke.
|
|
140
226
|
**/
|
|
141
|
-
dbWeight:
|
|
227
|
+
dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
|
142
228
|
/**
|
|
143
229
|
* The designated SS85 prefix of this chain.
|
|
144
230
|
*
|
|
@@ -146,33 +232,31 @@ declare module '@polkadot/api/types/consts' {
|
|
|
146
232
|
* that the runtime should know about the prefix in order to make use of it as
|
|
147
233
|
* an identifier of the chain.
|
|
148
234
|
**/
|
|
149
|
-
ss58Prefix:
|
|
235
|
+
ss58Prefix: u16 & AugmentedConst<ApiType>;
|
|
150
236
|
/**
|
|
151
237
|
* Get the chain's current version.
|
|
152
238
|
**/
|
|
153
|
-
version:
|
|
239
|
+
version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;
|
|
154
240
|
};
|
|
155
241
|
timestamp: {
|
|
156
242
|
/**
|
|
157
|
-
* The minimum period between blocks. Beware that this is different to the *expected*
|
|
158
|
-
* that the block production apparatus provides. Your chosen consensus system will
|
|
159
|
-
* work with this to determine a sensible block time. e.g. For Aura, it will be
|
|
160
|
-
* period on default settings.
|
|
243
|
+
* The minimum period between blocks. Beware that this is different to the *expected*
|
|
244
|
+
* period that the block production apparatus provides. Your chosen consensus system will
|
|
245
|
+
* generally work with this to determine a sensible block time. e.g. For Aura, it will be
|
|
246
|
+
* double this period on default settings.
|
|
161
247
|
**/
|
|
162
|
-
minimumPeriod:
|
|
248
|
+
minimumPeriod: u64 & AugmentedConst<ApiType>;
|
|
163
249
|
};
|
|
164
250
|
transactionPayment: {
|
|
165
251
|
/**
|
|
166
252
|
* The fee to be paid for making a transaction; the per-byte portion.
|
|
167
253
|
**/
|
|
168
|
-
transactionByteFee:
|
|
254
|
+
transactionByteFee: u128 & AugmentedConst<ApiType>;
|
|
169
255
|
/**
|
|
170
256
|
* The polynomial that is applied in order to derive fee from weight.
|
|
171
257
|
**/
|
|
172
|
-
weightToFee: Vec<
|
|
258
|
+
weightToFee: Vec<FrameSupportWeightsWeightToFeeCoefficient> & AugmentedConst<ApiType>;
|
|
173
259
|
};
|
|
174
260
|
}
|
|
175
|
-
interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> {
|
|
176
|
-
}
|
|
177
261
|
}
|
|
178
262
|
//# sourceMappingURL=augment-api-consts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"augment-api-consts.d.ts","sourceRoot":"","sources":["../../src/polkadot/augment-api-consts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"augment-api-consts.d.ts","sourceRoot":"","sources":["../../src/polkadot/augment-api-consts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EACV,kCAAkC,EAClC,yCAAyC,EACzC,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,EACvB,uBAAuB,EACxB,0BAA+B;AAEhC,OAAO,QAAQ,iCAAiC,CAAC;IAC/C,UAAiB,eAAe,CAAC,OAAO,SAAS,QAAQ;QACvD,KAAK,EAAE;YACL,0BAA0B,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAC1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