@polymeshassociation/polymesh-sdk 20.2.0-beta.5 → 21.0.0-alpha.10
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 +2 -2
- package/README.md +1 -1
- package/api/client/AccountManagement.d.ts +10 -1
- package/api/client/AccountManagement.d.ts.map +1 -1
- package/api/client/AccountManagement.js +1 -0
- package/api/client/AccountManagement.js.map +1 -1
- package/api/client/Claims.d.ts +3 -17
- package/api/client/Claims.d.ts.map +1 -1
- package/api/client/Claims.js +0 -20
- package/api/client/Claims.js.map +1 -1
- package/api/client/Identities.d.ts +22 -2
- package/api/client/Identities.d.ts.map +1 -1
- package/api/client/Identities.js +2 -0
- package/api/client/Identities.js.map +1 -1
- package/api/client/Network.d.ts +16 -1
- package/api/client/Network.d.ts.map +1 -1
- package/api/client/Network.js +31 -0
- package/api/client/Network.js.map +1 -1
- package/api/client/Polymesh.d.ts +5 -2
- package/api/client/Polymesh.d.ts.map +1 -1
- package/api/client/Polymesh.js +28 -2
- package/api/client/Polymesh.js.map +1 -1
- package/api/client/Settlements.d.ts +2 -2
- package/api/client/Settlements.d.ts.map +1 -1
- package/api/entities/Asset/Checkpoints/Schedules.d.ts +1 -10
- package/api/entities/Asset/Checkpoints/Schedules.d.ts.map +1 -1
- package/api/entities/Asset/Checkpoints/Schedules.js +10 -24
- package/api/entities/Asset/Checkpoints/Schedules.js.map +1 -1
- package/api/entities/Asset/Documents.js +1 -1
- package/api/entities/Asset/Documents.js.map +1 -1
- package/api/entities/Asset/Offerings.js +1 -1
- package/api/entities/Asset/Offerings.js.map +1 -1
- package/api/entities/Asset/Settlements.d.ts.map +1 -1
- package/api/entities/Asset/Settlements.js +8 -1
- package/api/entities/Asset/Settlements.js.map +1 -1
- package/api/entities/Asset/index.d.ts +14 -5
- package/api/entities/Asset/index.d.ts.map +1 -1
- package/api/entities/Asset/index.js +42 -29
- package/api/entities/Asset/index.js.map +1 -1
- package/api/entities/Asset/types.d.ts +12 -7
- package/api/entities/Asset/types.d.ts.map +1 -1
- package/api/entities/Asset/types.js +1 -1
- package/api/entities/Asset/types.js.map +1 -1
- package/api/entities/CheckpointSchedule/index.d.ts +6 -25
- package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
- package/api/entities/CheckpointSchedule/index.js +17 -32
- package/api/entities/CheckpointSchedule/index.js.map +1 -1
- package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
- package/api/entities/CorporateActionBase/index.js +7 -7
- package/api/entities/CorporateActionBase/index.js.map +1 -1
- package/api/entities/Identity/index.d.ts +12 -12
- package/api/entities/Identity/index.d.ts.map +1 -1
- package/api/entities/Identity/index.js +83 -36
- package/api/entities/Identity/index.js.map +1 -1
- package/api/entities/Instruction/index.d.ts +16 -12
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +103 -50
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/Instruction/types.d.ts +3 -2
- package/api/entities/Instruction/types.d.ts.map +1 -1
- package/api/entities/Instruction/types.js +2 -1
- package/api/entities/Instruction/types.js.map +1 -1
- package/api/entities/NumberedPortfolio.d.ts.map +1 -1
- package/api/entities/NumberedPortfolio.js +3 -6
- package/api/entities/NumberedPortfolio.js.map +1 -1
- package/api/entities/Offering/index.d.ts.map +1 -1
- package/api/entities/Offering/index.js +1 -1
- package/api/entities/Offering/index.js.map +1 -1
- package/api/entities/TickerReservation/index.d.ts.map +1 -1
- package/api/entities/TickerReservation/index.js +12 -18
- package/api/entities/TickerReservation/index.js.map +1 -1
- package/api/procedures/acceptPrimaryKeyRotation.d.ts +28 -0
- package/api/procedures/acceptPrimaryKeyRotation.d.ts.map +1 -0
- package/api/procedures/acceptPrimaryKeyRotation.js +92 -0
- package/api/procedures/acceptPrimaryKeyRotation.js.map +1 -0
- package/api/procedures/addInstruction.d.ts.map +1 -1
- package/api/procedures/addInstruction.js +12 -9
- package/api/procedures/addInstruction.js.map +1 -1
- package/api/procedures/attestPrimaryKeyRotation.d.ts +12 -0
- package/api/procedures/attestPrimaryKeyRotation.d.ts.map +1 -0
- package/api/procedures/attestPrimaryKeyRotation.js +72 -0
- package/api/procedures/attestPrimaryKeyRotation.js.map +1 -0
- package/api/procedures/createAsset.d.ts +2 -1
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +14 -32
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/createCheckpointSchedule.js +15 -7
- package/api/procedures/createCheckpointSchedule.js.map +1 -1
- package/api/procedures/executeManualInstruction.d.ts.map +1 -1
- package/api/procedures/executeManualInstruction.js +12 -10
- package/api/procedures/executeManualInstruction.js.map +1 -1
- package/api/procedures/issueTokens.d.ts.map +1 -1
- package/api/procedures/issueTokens.js +7 -2
- package/api/procedures/issueTokens.js.map +1 -1
- package/api/procedures/linkCaDocs.d.ts.map +1 -1
- package/api/procedures/linkCaDocs.js +5 -3
- package/api/procedures/linkCaDocs.js.map +1 -1
- package/api/procedures/modifyClaims.d.ts.map +1 -1
- package/api/procedures/modifyClaims.js +21 -37
- package/api/procedures/modifyClaims.js.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.d.ts +3 -2
- package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.js +82 -23
- package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
- package/api/procedures/modifySignerPermissions.d.ts +1 -1
- package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
- package/api/procedures/modifySignerPermissions.js +4 -2
- package/api/procedures/modifySignerPermissions.js.map +1 -1
- package/api/procedures/moveFunds.d.ts.map +1 -1
- package/api/procedures/moveFunds.js +1 -1
- package/api/procedures/moveFunds.js.map +1 -1
- package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/removeCheckpointSchedule.js +3 -2
- package/api/procedures/removeCheckpointSchedule.js.map +1 -1
- package/api/procedures/rotatePrimaryKey.d.ts +12 -0
- package/api/procedures/rotatePrimaryKey.d.ts.map +1 -0
- package/api/procedures/rotatePrimaryKey.js +68 -0
- package/api/procedures/rotatePrimaryKey.js.map +1 -0
- package/api/procedures/setAssetDocuments.d.ts.map +1 -1
- package/api/procedures/setAssetDocuments.js +4 -2
- package/api/procedures/setAssetDocuments.js.map +1 -1
- package/api/procedures/setVenueFiltering.d.ts +22 -0
- package/api/procedures/setVenueFiltering.d.ts.map +1 -0
- package/api/procedures/setVenueFiltering.js +77 -0
- package/api/procedures/setVenueFiltering.js.map +1 -0
- package/api/procedures/types.d.ts +71 -21
- package/api/procedures/types.d.ts.map +1 -1
- package/api/procedures/types.js.map +1 -1
- package/api/procedures/utils.d.ts.map +1 -1
- package/api/procedures/utils.js +20 -16
- package/api/procedures/utils.js.map +1 -1
- package/base/Context.d.ts +13 -6
- package/base/Context.d.ts.map +1 -1
- package/base/Context.js +36 -2
- package/base/Context.js.map +1 -1
- package/base/PolymeshTransactionBatch.js +1 -1
- package/base/PolymeshTransactionBatch.js.map +1 -1
- package/generated/types.d.ts +30 -6
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +24 -0
- package/generated/types.js.map +1 -1
- package/internal.d.ts +4 -2
- package/internal.d.ts.map +1 -1
- package/internal.js +11 -7
- package/internal.js.map +1 -1
- package/middleware/enumsV2.d.ts +1 -1
- package/middleware/enumsV2.d.ts.map +1 -1
- package/middleware/enumsV2.js +3 -1
- package/middleware/enumsV2.js.map +1 -1
- package/middleware/queriesV2.d.ts +19 -1
- package/middleware/queriesV2.d.ts.map +1 -1
- package/middleware/queriesV2.js +99 -1
- package/middleware/queriesV2.js.map +1 -1
- package/middleware/typesV2.d.ts +1620 -71
- package/middleware/typesV2.d.ts.map +1 -1
- package/middleware/typesV2.js +141 -2
- package/middleware/typesV2.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-21.0.0-alpha.10.tgz +0 -0
- package/package.json +6 -6
- package/polkadot/asset/definitions.d.ts +0 -9
- package/polkadot/asset/definitions.d.ts.map +1 -1
- package/polkadot/asset/definitions.js +1 -47
- package/polkadot/asset/definitions.js.map +1 -1
- package/polkadot/augment-api-consts.d.ts +26 -9
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-consts.js +3 -0
- package/polkadot/augment-api-consts.js.map +1 -1
- package/polkadot/augment-api-errors.d.ts +110 -133
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-errors.js +3 -0
- package/polkadot/augment-api-errors.js.map +1 -1
- package/polkadot/augment-api-events.d.ts +135 -167
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-events.js +3 -0
- package/polkadot/augment-api-events.js.map +1 -1
- package/polkadot/augment-api-query.d.ts +120 -93
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-query.js +3 -0
- package/polkadot/augment-api-query.js.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +29 -24
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.js +1 -0
- package/polkadot/augment-api-rpc.js.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +0 -7
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +482 -738
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-api-tx.js +3 -0
- package/polkadot/augment-api-tx.js.map +1 -1
- package/polkadot/augment-api.d.ts +1 -0
- package/polkadot/augment-api.d.ts.map +1 -1
- package/polkadot/augment-api.js +1 -0
- package/polkadot/augment-api.js.map +1 -1
- package/polkadot/augment-types.d.ts +8 -12
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/augment-types.js +3 -0
- package/polkadot/augment-types.js.map +1 -1
- package/polkadot/definitions.d.ts +1 -1
- package/polkadot/definitions.d.ts.map +1 -1
- package/polkadot/definitions.js +17 -17
- package/polkadot/definitions.js.map +1 -1
- package/polkadot/identity/definitions.d.ts +9 -0
- package/polkadot/identity/definitions.d.ts.map +1 -1
- package/polkadot/identity/definitions.js +21 -0
- package/polkadot/identity/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +534 -682
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +664 -820
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +36 -43
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +38 -45
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +50 -67
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +27 -44
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/registry.js +3 -0
- package/polkadot/registry.js.map +1 -1
- package/polkadot/schema.d.ts +223 -61
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +335 -120
- package/polkadot/schema.js.map +1 -1
- package/polkadot/settlement/definitions.d.ts +16 -0
- package/polkadot/settlement/definitions.d.ts.map +1 -0
- package/polkadot/settlement/definitions.js +25 -0
- package/polkadot/settlement/definitions.js.map +1 -0
- package/polkadot/settlement/index.d.ts +2 -0
- package/polkadot/settlement/index.d.ts.map +1 -0
- package/polkadot/settlement/index.js +20 -0
- package/polkadot/settlement/index.js.map +1 -0
- package/polkadot/settlement/types.d.ts +2 -0
- package/polkadot/settlement/types.d.ts.map +1 -0
- package/polkadot/settlement/types.js +5 -0
- package/polkadot/settlement/types.js.map +1 -0
- package/polkadot/types-lookup.d.ts +741 -918
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/polkadot/types-lookup.js +4 -0
- package/polkadot/types-lookup.js.map +1 -1
- package/polkadot/types.d.ts +1 -1
- package/polkadot/types.d.ts.map +1 -1
- package/polkadot/types.js +1 -1
- package/polkadot/types.js.map +1 -1
- package/types/index.d.ts +47 -50
- package/types/index.d.ts.map +1 -1
- package/types/index.js +17 -31
- package/types/index.js.map +1 -1
- package/types/internal.d.ts +4 -7
- package/types/internal.d.ts.map +1 -1
- package/types/internal.js +2 -0
- package/types/internal.js.map +1 -1
- package/utils/constants.d.ts +6 -2
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js +7 -3
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +33 -48
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +66 -188
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +25 -12
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +34 -106
- package/utils/internal.js.map +1 -1
- package/utils/typeguards.d.ts +1 -13
- package/utils/typeguards.d.ts.map +1 -1
- package/utils/typeguards.js +2 -28
- package/utils/typeguards.js.map +1 -1
- package/api/procedures/addInvestorUniquenessClaim.d.ts +0 -16
- package/api/procedures/addInvestorUniquenessClaim.d.ts.map +0 -1
- package/api/procedures/addInvestorUniquenessClaim.js +0 -82
- package/api/procedures/addInvestorUniquenessClaim.js.map +0 -1
- package/api/procedures/rescheduleInstruction.d.ts +0 -18
- package/api/procedures/rescheduleInstruction.d.ts.map +0 -1
- package/api/procedures/rescheduleInstruction.js +0 -52
- package/api/procedures/rescheduleInstruction.js.map +0 -1
- package/npm-package/polymeshassociation-polymesh-sdk-20.2.0-beta.5.tgz +0 -0
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/submittable';
|
|
2
|
+
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
|
2
3
|
import type { BTreeSet, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
4
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
4
5
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
-
import type {
|
|
6
|
+
import type { PalletBridgeBridgeTx, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletRewardsItnRewardStatus, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsChainExtensionExtrinsicId, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from "./types-lookup.ts";
|
|
7
|
+
export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
8
|
+
export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
9
|
+
export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
6
10
|
declare module '@polkadot/api-base/types/submittable' {
|
|
7
11
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
8
12
|
asset: {
|
|
@@ -55,26 +59,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
55
59
|
Vec<PolymeshPrimitivesDocument>,
|
|
56
60
|
PolymeshPrimitivesTicker
|
|
57
61
|
]>;
|
|
58
|
-
/**
|
|
59
|
-
* Claim a systematically reserved Polymath Classic (PMC) `ticker`
|
|
60
|
-
* and transfer it to the `origin`'s identity.
|
|
61
|
-
*
|
|
62
|
-
* To verify that the `origin` is in control of the Ethereum account on the books,
|
|
63
|
-
* an `ethereum_signature` containing the `origin`'s DID as the message
|
|
64
|
-
* must be provided by that Ethereum account.
|
|
65
|
-
*
|
|
66
|
-
* # Errors
|
|
67
|
-
* - `NoSuchClassicTicker` if this is not a systematically reserved PMC ticker.
|
|
68
|
-
* - `TickerAlreadyRegistered` if the ticker was already registered, e.g., by `origin`.
|
|
69
|
-
* - `TickerRegistrationExpired` if the ticker's registration has expired.
|
|
70
|
-
* - `BadOrigin` if not signed.
|
|
71
|
-
* - `InvalidEthereumSignature` if the `ethereum_signature` is not valid.
|
|
72
|
-
* - `NotAnOwner` if the ethereum account is not the owner of the PMC ticker.
|
|
73
|
-
**/
|
|
74
|
-
claimClassicTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, ethereumSignature: PolymeshPrimitivesEthereumEcdsaSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
75
|
-
PolymeshPrimitivesTicker,
|
|
76
|
-
PolymeshPrimitivesEthereumEcdsaSignature
|
|
77
|
-
]>;
|
|
78
62
|
/**
|
|
79
63
|
* Forces a transfer of token from `from_portfolio` to the caller's default portfolio.
|
|
80
64
|
*
|
|
@@ -104,8 +88,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
104
88
|
* * `asset_type` - the asset type.
|
|
105
89
|
* * `identifiers` - a vector of asset identifiers.
|
|
106
90
|
* * `funding_round` - name of the funding round.
|
|
107
|
-
* * `disable_iu` - whether or not investor uniqueness enforcement should be disabled.
|
|
108
|
-
* This cannot be changed after creating the asset.
|
|
109
91
|
*
|
|
110
92
|
* ## Errors
|
|
111
93
|
* - `InvalidAssetIdentifier` if any of `identifiers` are invalid.
|
|
@@ -154,14 +136,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
154
136
|
LEI: any;
|
|
155
137
|
} | {
|
|
156
138
|
FIGI: any;
|
|
157
|
-
} | string | Uint8Array)[], fundingRound: Option<Bytes> | null |
|
|
139
|
+
} | string | Uint8Array)[], fundingRound: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
|
|
158
140
|
Bytes,
|
|
159
141
|
PolymeshPrimitivesTicker,
|
|
160
142
|
bool,
|
|
161
143
|
PolymeshPrimitivesAssetAssetType,
|
|
162
144
|
Vec<PolymeshPrimitivesAssetIdentifier>,
|
|
163
|
-
Option<Bytes
|
|
164
|
-
bool
|
|
145
|
+
Option<Bytes>
|
|
165
146
|
]>;
|
|
166
147
|
/**
|
|
167
148
|
* Utility extrinsic to batch `create_asset` and `register_custom_asset_type`.
|
|
@@ -176,14 +157,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
176
157
|
LEI: any;
|
|
177
158
|
} | {
|
|
178
159
|
FIGI: any;
|
|
179
|
-
} | string | Uint8Array)[], fundingRound: Option<Bytes> | null |
|
|
160
|
+
} | string | Uint8Array)[], fundingRound: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
|
|
180
161
|
Bytes,
|
|
181
162
|
PolymeshPrimitivesTicker,
|
|
182
163
|
bool,
|
|
183
164
|
Bytes,
|
|
184
165
|
Vec<PolymeshPrimitivesAssetIdentifier>,
|
|
185
|
-
Option<Bytes
|
|
186
|
-
|
|
166
|
+
Option<Bytes>
|
|
167
|
+
]>;
|
|
168
|
+
/**
|
|
169
|
+
* Pre-approves the receivement of the asset for all identities.
|
|
170
|
+
*
|
|
171
|
+
* # Arguments
|
|
172
|
+
* * `origin` - the secondary key of the sender.
|
|
173
|
+
* * `ticker` - the [`Ticker`] that will be exempt from affirmation.
|
|
174
|
+
*
|
|
175
|
+
* # Permissions
|
|
176
|
+
* * Root
|
|
177
|
+
**/
|
|
178
|
+
exemptTickerAffirmation: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
179
|
+
PolymeshPrimitivesTicker
|
|
187
180
|
]>;
|
|
188
181
|
/**
|
|
189
182
|
* Freezes transfers and minting of a given token.
|
|
@@ -202,21 +195,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
202
195
|
PolymeshPrimitivesTicker
|
|
203
196
|
]>;
|
|
204
197
|
/**
|
|
205
|
-
* Issue, or mint, new tokens to the caller,
|
|
206
|
-
* which must be an authorized external agent.
|
|
198
|
+
* Issue, or mint, new tokens to the caller, which must be an authorized external agent.
|
|
207
199
|
*
|
|
208
200
|
* # Arguments
|
|
209
|
-
* * `origin`
|
|
210
|
-
* * `ticker` of the token.
|
|
211
|
-
* * `amount` of tokens that
|
|
201
|
+
* * `origin` - A signer that has permissions to act as an agent of `ticker`.
|
|
202
|
+
* * `ticker` - The [`Ticker`] of the token.
|
|
203
|
+
* * `amount` - The amount of tokens that will be issued.
|
|
204
|
+
* * `portfolio_kind` - The [`PortfolioKind`] of the portfolio that will receive the minted tokens.
|
|
212
205
|
*
|
|
213
206
|
* # Permissions
|
|
214
207
|
* * Asset
|
|
215
208
|
* * Portfolio
|
|
216
209
|
**/
|
|
217
|
-
issue: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array
|
|
210
|
+
issue: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
|
|
211
|
+
Default: any;
|
|
212
|
+
} | {
|
|
213
|
+
User: any;
|
|
214
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
218
215
|
PolymeshPrimitivesTicker,
|
|
219
|
-
u128
|
|
216
|
+
u128,
|
|
217
|
+
PolymeshPrimitivesIdentityIdPortfolioKind
|
|
220
218
|
]>;
|
|
221
219
|
/**
|
|
222
220
|
* Makes an indivisible token divisible.
|
|
@@ -234,6 +232,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
234
232
|
makeDivisible: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
235
233
|
PolymeshPrimitivesTicker
|
|
236
234
|
]>;
|
|
235
|
+
/**
|
|
236
|
+
* Pre-approves the receivement of an asset.
|
|
237
|
+
*
|
|
238
|
+
* # Arguments
|
|
239
|
+
* * `origin` - the secondary key of the sender.
|
|
240
|
+
* * `ticker` - the [`Ticker`] that will be exempt from affirmation.
|
|
241
|
+
*
|
|
242
|
+
* # Permissions
|
|
243
|
+
* * Asset
|
|
244
|
+
**/
|
|
245
|
+
preApproveTicker: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
246
|
+
PolymeshPrimitivesTicker
|
|
247
|
+
]>;
|
|
237
248
|
/**
|
|
238
249
|
* Redeems existing tokens by reducing the balance of the caller's default portfolio and the total supply of the token
|
|
239
250
|
*
|
|
@@ -308,7 +319,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
308
319
|
url?: any;
|
|
309
320
|
description?: any;
|
|
310
321
|
typeDef?: any;
|
|
311
|
-
} | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null |
|
|
322
|
+
} | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null | Uint8Array | PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail | {
|
|
323
|
+
expire?: any;
|
|
324
|
+
lockStatus?: any;
|
|
325
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
312
326
|
PolymeshPrimitivesTicker,
|
|
313
327
|
Bytes,
|
|
314
328
|
PolymeshPrimitivesAssetMetadataAssetMetadataSpec,
|
|
@@ -453,6 +467,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
453
467
|
PolymeshPrimitivesTicker,
|
|
454
468
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
455
469
|
]>;
|
|
470
|
+
/**
|
|
471
|
+
* Removes the pre-approval of the asset for all identities.
|
|
472
|
+
*
|
|
473
|
+
* # Arguments
|
|
474
|
+
* * `origin` - the secondary key of the sender.
|
|
475
|
+
* * `ticker` - the [`Ticker`] that will have its exemption removed.
|
|
476
|
+
*
|
|
477
|
+
* # Permissions
|
|
478
|
+
* * Root
|
|
479
|
+
**/
|
|
480
|
+
removeTickerAffirmationExemption: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
481
|
+
PolymeshPrimitivesTicker
|
|
482
|
+
]>;
|
|
483
|
+
/**
|
|
484
|
+
* Removes the pre approval of an asset.
|
|
485
|
+
*
|
|
486
|
+
* # Arguments
|
|
487
|
+
* * `origin` - the secondary key of the sender.
|
|
488
|
+
* * `ticker` - the [`Ticker`] that will have its exemption removed.
|
|
489
|
+
*
|
|
490
|
+
* # Permissions
|
|
491
|
+
* * Asset
|
|
492
|
+
**/
|
|
493
|
+
removeTickerPreApproval: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
494
|
+
PolymeshPrimitivesTicker
|
|
495
|
+
]>;
|
|
456
496
|
/**
|
|
457
497
|
* Renames a given token.
|
|
458
498
|
*
|
|
@@ -472,34 +512,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
472
512
|
PolymeshPrimitivesTicker,
|
|
473
513
|
Bytes
|
|
474
514
|
]>;
|
|
475
|
-
/**
|
|
476
|
-
* Reserve a Polymath Classic (PMC) ticker.
|
|
477
|
-
* Must be called by root, and assigns the ticker to a systematic DID.
|
|
478
|
-
*
|
|
479
|
-
* # Arguments
|
|
480
|
-
* * `origin` which must be root.
|
|
481
|
-
* * `classic_ticker_import` specification for the PMC ticker.
|
|
482
|
-
* * `contract_did` to reserve the ticker to if `classic_ticker_import.is_contract` holds.
|
|
483
|
-
* * `config` to use for expiry and ticker length.
|
|
484
|
-
*
|
|
485
|
-
* # Errors
|
|
486
|
-
* * `AssetAlreadyCreated` if `classic_ticker_import.ticker` was created as an asset.
|
|
487
|
-
* * `TickerTooLong` if the `config` considers the `classic_ticker_import.ticker` too long.
|
|
488
|
-
* * `TickerAlreadyRegistered` if `classic_ticker_import.ticker` was already registered.
|
|
489
|
-
**/
|
|
490
|
-
reserveClassicTicker: AugmentedSubmittable<(classicTickerImport: PalletAssetClassicTickerImport | {
|
|
491
|
-
ethOwner?: any;
|
|
492
|
-
ticker?: any;
|
|
493
|
-
isContract?: any;
|
|
494
|
-
isCreated?: any;
|
|
495
|
-
} | string | Uint8Array, contractDid: PolymeshPrimitivesIdentityId | string | Uint8Array, config: PalletAssetTickerRegistrationConfig | {
|
|
496
|
-
maxTickerLength?: any;
|
|
497
|
-
registrationLength?: any;
|
|
498
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
499
|
-
PalletAssetClassicTickerImport,
|
|
500
|
-
PolymeshPrimitivesIdentityId,
|
|
501
|
-
PalletAssetTickerRegistrationConfig
|
|
502
|
-
]>;
|
|
503
515
|
/**
|
|
504
516
|
* Set asset metadata value.
|
|
505
517
|
*
|
|
@@ -523,7 +535,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
523
535
|
Global: any;
|
|
524
536
|
} | {
|
|
525
537
|
Local: any;
|
|
526
|
-
} | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null |
|
|
538
|
+
} | string | Uint8Array, value: Bytes | string | Uint8Array, detail: Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail> | null | Uint8Array | PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail | {
|
|
539
|
+
expire?: any;
|
|
540
|
+
lockStatus?: any;
|
|
541
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
527
542
|
PolymeshPrimitivesTicker,
|
|
528
543
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey,
|
|
529
544
|
Bytes,
|
|
@@ -665,20 +680,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
665
680
|
Vec<PolymeshPrimitivesAssetIdentifier>
|
|
666
681
|
]>;
|
|
667
682
|
};
|
|
668
|
-
authorship: {
|
|
669
|
-
/**
|
|
670
|
-
* Provide a set of uncles.
|
|
671
|
-
**/
|
|
672
|
-
setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | {
|
|
673
|
-
parentHash?: any;
|
|
674
|
-
number?: any;
|
|
675
|
-
stateRoot?: any;
|
|
676
|
-
extrinsicsRoot?: any;
|
|
677
|
-
digest?: any;
|
|
678
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
679
|
-
Vec<SpRuntimeHeader>
|
|
680
|
-
]>;
|
|
681
|
-
};
|
|
682
683
|
babe: {
|
|
683
684
|
/**
|
|
684
685
|
* Plan an epoch config change. The epoch config change is recorded and will be enacted on
|
|
@@ -862,10 +863,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
862
863
|
Address32: any;
|
|
863
864
|
} | {
|
|
864
865
|
Address20: any;
|
|
865
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, memo: Option<
|
|
866
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, memo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
|
|
866
867
|
MultiAddress,
|
|
867
868
|
Compact<u128>,
|
|
868
|
-
Option<
|
|
869
|
+
Option<PolymeshPrimitivesMemo>
|
|
869
870
|
]>;
|
|
870
871
|
};
|
|
871
872
|
base: {};
|
|
@@ -1164,7 +1165,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1164
1165
|
distribute: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1165
1166
|
ticker?: any;
|
|
1166
1167
|
localId?: any;
|
|
1167
|
-
} | string | Uint8Array, portfolio: Option<u64> | null |
|
|
1168
|
+
} | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesTicker | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
1168
1169
|
PalletCorporateActionsCaId,
|
|
1169
1170
|
Option<u64>,
|
|
1170
1171
|
PolymeshPrimitivesTicker,
|
|
@@ -1287,7 +1288,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1287
1288
|
* * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
|
|
1288
1289
|
* generated claims will be "invalid" as `who` is not considered a member of the group.
|
|
1289
1290
|
**/
|
|
1290
|
-
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null |
|
|
1291
|
+
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
1291
1292
|
PolymeshPrimitivesIdentityId,
|
|
1292
1293
|
Option<u64>,
|
|
1293
1294
|
Option<u64>
|
|
@@ -1370,21 +1371,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1370
1371
|
*
|
|
1371
1372
|
* # Errors
|
|
1372
1373
|
* - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `ticker`.
|
|
1373
|
-
* - `ScheduleDurationTooShort` if the schedule duration is too short.
|
|
1374
1374
|
* - `InsufficientAccountBalance` if the protocol fee could not be charged.
|
|
1375
1375
|
* - `CounterOverflow` if the schedule ID or total checkpoint counters would overflow.
|
|
1376
|
-
* - `FailedToComputeNextCheckpoint` if the next checkpoint for `schedule` is in the past.
|
|
1377
1376
|
*
|
|
1378
1377
|
* # Permissions
|
|
1379
1378
|
* * Asset
|
|
1380
1379
|
**/
|
|
1381
|
-
createSchedule: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, schedule:
|
|
1382
|
-
|
|
1383
|
-
period?: any;
|
|
1384
|
-
remaining?: any;
|
|
1380
|
+
createSchedule: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, schedule: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints | {
|
|
1381
|
+
pending?: any;
|
|
1385
1382
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1386
1383
|
PolymeshPrimitivesTicker,
|
|
1387
|
-
|
|
1384
|
+
PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
|
|
1388
1385
|
]>;
|
|
1389
1386
|
/**
|
|
1390
1387
|
* Removes the checkpoint schedule of an asset identified by `id`.
|
|
@@ -1463,7 +1460,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1463
1460
|
* * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
|
|
1464
1461
|
* generated claims will be "invalid" as `who` is not considered a member of the group.
|
|
1465
1462
|
**/
|
|
1466
|
-
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null |
|
|
1463
|
+
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
1467
1464
|
PolymeshPrimitivesIdentityId,
|
|
1468
1465
|
Option<u64>,
|
|
1469
1466
|
Option<u64>
|
|
@@ -1707,7 +1704,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1707
1704
|
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
1708
1705
|
refTime?: any;
|
|
1709
1706
|
proofSize?: any;
|
|
1710
|
-
} | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1707
|
+
} | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1711
1708
|
MultiAddress,
|
|
1712
1709
|
Compact<u128>,
|
|
1713
1710
|
SpWeightsWeightV2Weight,
|
|
@@ -1727,7 +1724,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1727
1724
|
Address32: any;
|
|
1728
1725
|
} | {
|
|
1729
1726
|
Address20: any;
|
|
1730
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1727
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1731
1728
|
MultiAddress,
|
|
1732
1729
|
Compact<u128>,
|
|
1733
1730
|
Compact<u64>,
|
|
@@ -1744,7 +1741,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1744
1741
|
instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
1745
1742
|
refTime?: any;
|
|
1746
1743
|
proofSize?: any;
|
|
1747
|
-
} | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1744
|
+
} | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1748
1745
|
Compact<u128>,
|
|
1749
1746
|
SpWeightsWeightV2Weight,
|
|
1750
1747
|
Option<Compact<u128>>,
|
|
@@ -1755,7 +1752,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1755
1752
|
/**
|
|
1756
1753
|
* Deprecated version if [`Self::instantiate`] for use in an in-storage `Call`.
|
|
1757
1754
|
**/
|
|
1758
|
-
instantiateOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1755
|
+
instantiateOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1759
1756
|
Compact<u128>,
|
|
1760
1757
|
Compact<u64>,
|
|
1761
1758
|
Option<Compact<u128>>,
|
|
@@ -1794,7 +1791,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1794
1791
|
instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
1795
1792
|
refTime?: any;
|
|
1796
1793
|
proofSize?: any;
|
|
1797
|
-
} | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1794
|
+
} | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1798
1795
|
Compact<u128>,
|
|
1799
1796
|
SpWeightsWeightV2Weight,
|
|
1800
1797
|
Option<Compact<u128>>,
|
|
@@ -1805,7 +1802,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1805
1802
|
/**
|
|
1806
1803
|
* Deprecated version if [`Self::instantiate_with_code`] for use in an in-storage `Call`.
|
|
1807
1804
|
**/
|
|
1808
|
-
instantiateWithCodeOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1805
|
+
instantiateWithCodeOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1809
1806
|
Compact<u128>,
|
|
1810
1807
|
Compact<u64>,
|
|
1811
1808
|
Option<Compact<u128>>,
|
|
@@ -1870,7 +1867,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1870
1867
|
* only be instantiated by permissioned entities. The same is true when uploading
|
|
1871
1868
|
* through [`Self::instantiate_with_code`].
|
|
1872
1869
|
**/
|
|
1873
|
-
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1870
|
+
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, determinism: PalletContractsWasmDeterminism | 'Deterministic' | 'AllowIndeterminism' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1874
1871
|
Bytes,
|
|
1875
1872
|
Option<Compact<u128>>,
|
|
1876
1873
|
PalletContractsWasmDeterminism
|
|
@@ -1897,7 +1894,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1897
1894
|
changeRecordDate: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
1898
1895
|
ticker?: any;
|
|
1899
1896
|
localId?: any;
|
|
1900
|
-
} | string | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null |
|
|
1897
|
+
} | string | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
|
|
1898
|
+
Scheduled: any;
|
|
1899
|
+
} | {
|
|
1900
|
+
ExistingSchedule: any;
|
|
1901
|
+
} | {
|
|
1902
|
+
Existing: any;
|
|
1903
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
1901
1904
|
PalletCorporateActionsCaId,
|
|
1902
1905
|
Option<PalletCorporateActionsRecordDateSpec>
|
|
1903
1906
|
]>;
|
|
@@ -1933,7 +1936,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1933
1936
|
* # Permissions
|
|
1934
1937
|
* * Asset
|
|
1935
1938
|
**/
|
|
1936
|
-
initiateCorporateAction: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null |
|
|
1939
|
+
initiateCorporateAction: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
|
|
1940
|
+
Scheduled: any;
|
|
1941
|
+
} | {
|
|
1942
|
+
ExistingSchedule: any;
|
|
1943
|
+
} | {
|
|
1944
|
+
Existing: any;
|
|
1945
|
+
} | string, details: Bytes | string | Uint8Array, targets: Option<PalletCorporateActionsTargetIdentities> | null | Uint8Array | PalletCorporateActionsTargetIdentities | {
|
|
1946
|
+
identities?: any;
|
|
1947
|
+
treatment?: any;
|
|
1948
|
+
} | string, defaultWithholdingTax: Option<Permill> | null | Uint8Array | Permill | AnyNumber, withholdingTax: Option<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>> | null | Uint8Array | Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>> | [
|
|
1949
|
+
PolymeshPrimitivesIdentityId | string | Uint8Array,
|
|
1950
|
+
Permill | AnyNumber | Uint8Array
|
|
1951
|
+
][]) => SubmittableExtrinsic<ApiType>, [
|
|
1937
1952
|
PolymeshPrimitivesTicker,
|
|
1938
1953
|
PalletCorporateActionsCaKind,
|
|
1939
1954
|
u64,
|
|
@@ -1955,7 +1970,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1955
1970
|
targets?: any;
|
|
1956
1971
|
defaultWithholdingTax?: any;
|
|
1957
1972
|
withholdingTax?: any;
|
|
1958
|
-
} | string | Uint8Array, portfolio: Option<u64> | null |
|
|
1973
|
+
} | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesTicker | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
1959
1974
|
PalletCorporateActionsInitiateCorporateActionArgs,
|
|
1960
1975
|
Option<u64>,
|
|
1961
1976
|
PolymeshPrimitivesTicker,
|
|
@@ -2075,7 +2090,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2075
2090
|
* # Permissions
|
|
2076
2091
|
* * Asset
|
|
2077
2092
|
**/
|
|
2078
|
-
setDidWithholdingTax: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null |
|
|
2093
|
+
setDidWithholdingTax: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | Uint8Array | Permill | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2079
2094
|
PolymeshPrimitivesTicker,
|
|
2080
2095
|
PolymeshPrimitivesIdentityId,
|
|
2081
2096
|
Option<Permill>
|
|
@@ -2378,7 +2393,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2378
2393
|
These: any;
|
|
2379
2394
|
} | {
|
|
2380
2395
|
Except: any;
|
|
2381
|
-
} | string | Uint8Array, target: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null |
|
|
2396
|
+
} | string | Uint8Array, target: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2382
2397
|
PolymeshPrimitivesTicker,
|
|
2383
2398
|
PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions,
|
|
2384
2399
|
PolymeshPrimitivesIdentityId,
|
|
@@ -2458,7 +2473,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2458
2473
|
* against the extracted offender. If both are valid, the offence
|
|
2459
2474
|
* will be reported.
|
|
2460
2475
|
**/
|
|
2461
|
-
reportEquivocation: AugmentedSubmittable<(equivocationProof:
|
|
2476
|
+
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
|
|
2462
2477
|
setId?: any;
|
|
2463
2478
|
equivocation?: any;
|
|
2464
2479
|
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
@@ -2466,7 +2481,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2466
2481
|
trieNodes?: any;
|
|
2467
2482
|
validatorCount?: any;
|
|
2468
2483
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2469
|
-
|
|
2484
|
+
SpConsensusGrandpaEquivocationProof,
|
|
2470
2485
|
SpSessionMembershipProof
|
|
2471
2486
|
]>;
|
|
2472
2487
|
/**
|
|
@@ -2480,7 +2495,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2480
2495
|
* if the block author is defined it will be defined as the equivocation
|
|
2481
2496
|
* reporter.
|
|
2482
2497
|
**/
|
|
2483
|
-
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof:
|
|
2498
|
+
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | {
|
|
2484
2499
|
setId?: any;
|
|
2485
2500
|
equivocation?: any;
|
|
2486
2501
|
} | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | {
|
|
@@ -2488,7 +2503,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2488
2503
|
trieNodes?: any;
|
|
2489
2504
|
validatorCount?: any;
|
|
2490
2505
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2491
|
-
|
|
2506
|
+
SpConsensusGrandpaEquivocationProof,
|
|
2492
2507
|
SpSessionMembershipProof
|
|
2493
2508
|
]>;
|
|
2494
2509
|
};
|
|
@@ -2508,7 +2523,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2508
2523
|
* * `owner_auth_id` Authorization from the owner who initiated the change
|
|
2509
2524
|
* * `cdd_auth_id` Authorization from a CDD service provider
|
|
2510
2525
|
**/
|
|
2511
|
-
acceptPrimaryKey: AugmentedSubmittable<(rotationAuthId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null |
|
|
2526
|
+
acceptPrimaryKey: AugmentedSubmittable<(rotationAuthId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2512
2527
|
u64,
|
|
2513
2528
|
Option<u64>
|
|
2514
2529
|
]>;
|
|
@@ -2539,7 +2554,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2539
2554
|
AddRelayerPayingKey: any;
|
|
2540
2555
|
} | {
|
|
2541
2556
|
RotatePrimaryKeyToSecondary: any;
|
|
2542
|
-
} | string | Uint8Array, expiry: Option<u64> | null |
|
|
2557
|
+
} | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2543
2558
|
PolymeshPrimitivesSecondaryKeySignatory,
|
|
2544
2559
|
PolymeshPrimitivesAuthorizationAuthorizationData,
|
|
2545
2560
|
Option<u64>
|
|
@@ -2567,114 +2582,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2567
2582
|
Exempted: any;
|
|
2568
2583
|
} | {
|
|
2569
2584
|
Blocked: any;
|
|
2570
|
-
} | {
|
|
2571
|
-
InvestorUniqueness: any;
|
|
2572
|
-
} | {
|
|
2573
|
-
NoData: any;
|
|
2574
|
-
} | {
|
|
2575
|
-
InvestorUniquenessV2: any;
|
|
2576
|
-
} | {
|
|
2577
|
-
Custom: any;
|
|
2578
|
-
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2579
|
-
PolymeshPrimitivesIdentityId,
|
|
2580
|
-
PolymeshPrimitivesIdentityClaimClaim,
|
|
2581
|
-
Option<u64>
|
|
2582
|
-
]>;
|
|
2583
|
-
/**
|
|
2584
|
-
* Add `Claim::InvestorUniqueness` claim for a given target identity.
|
|
2585
|
-
*
|
|
2586
|
-
* # <weight>
|
|
2587
|
-
* Weight of the this extrinsic is depend on the computation that used to validate
|
|
2588
|
-
* the proof of claim, which will be a constant independent of user inputs.
|
|
2589
|
-
* # </weight>
|
|
2590
|
-
*
|
|
2591
|
-
* # Arguments
|
|
2592
|
-
* * origin - Who provides the claim to the user? In this case, it's the user's account id as the user provides.
|
|
2593
|
-
* * target - `IdentityId` to which the claim gets assigned.
|
|
2594
|
-
* * claim - `InvestorUniqueness` claim details.
|
|
2595
|
-
* * proof - To validate the self attestation.
|
|
2596
|
-
* * expiry - Expiry of claim.
|
|
2597
|
-
*
|
|
2598
|
-
* # Errors
|
|
2599
|
-
* * `DidMustAlreadyExist` Target should already been a part of the ecosystem.
|
|
2600
|
-
* * `ClaimVariantNotAllowed` When origin trying to pass claim variant other than `InvestorUniqueness`.
|
|
2601
|
-
* * `ConfidentialScopeClaimNotAllowed` When issuer is different from target or CDD_ID is invalid for given user.
|
|
2602
|
-
* * `InvalidScopeClaim When proof is invalid.
|
|
2603
|
-
* * `InvalidCDDId` when you are not the owner of that CDD_ID.
|
|
2604
|
-
**/
|
|
2605
|
-
addInvestorUniquenessClaim: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, claim: PolymeshPrimitivesIdentityClaimClaim | {
|
|
2606
|
-
Accredited: any;
|
|
2607
|
-
} | {
|
|
2608
|
-
Affiliate: any;
|
|
2609
|
-
} | {
|
|
2610
|
-
BuyLockup: any;
|
|
2611
|
-
} | {
|
|
2612
|
-
SellLockup: any;
|
|
2613
|
-
} | {
|
|
2614
|
-
CustomerDueDiligence: any;
|
|
2615
|
-
} | {
|
|
2616
|
-
KnowYourCustomer: any;
|
|
2617
|
-
} | {
|
|
2618
|
-
Jurisdiction: any;
|
|
2619
|
-
} | {
|
|
2620
|
-
Exempted: any;
|
|
2621
|
-
} | {
|
|
2622
|
-
Blocked: any;
|
|
2623
|
-
} | {
|
|
2624
|
-
InvestorUniqueness: any;
|
|
2625
|
-
} | {
|
|
2626
|
-
NoData: any;
|
|
2627
|
-
} | {
|
|
2628
|
-
InvestorUniquenessV2: any;
|
|
2629
|
-
} | {
|
|
2630
|
-
Custom: any;
|
|
2631
|
-
} | string | Uint8Array, proof: U8aFixed | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2632
|
-
PolymeshPrimitivesIdentityId,
|
|
2633
|
-
PolymeshPrimitivesIdentityClaimClaim,
|
|
2634
|
-
U8aFixed,
|
|
2635
|
-
Option<u64>
|
|
2636
|
-
]>;
|
|
2637
|
-
addInvestorUniquenessClaimV2: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, scope: PolymeshPrimitivesIdentityClaimScope | {
|
|
2638
|
-
Identity: any;
|
|
2639
|
-
} | {
|
|
2640
|
-
Ticker: any;
|
|
2641
|
-
} | {
|
|
2642
|
-
Custom: any;
|
|
2643
|
-
} | string | Uint8Array, claim: PolymeshPrimitivesIdentityClaimClaim | {
|
|
2644
|
-
Accredited: any;
|
|
2645
|
-
} | {
|
|
2646
|
-
Affiliate: any;
|
|
2647
|
-
} | {
|
|
2648
|
-
BuyLockup: any;
|
|
2649
|
-
} | {
|
|
2650
|
-
SellLockup: any;
|
|
2651
|
-
} | {
|
|
2652
|
-
CustomerDueDiligence: any;
|
|
2653
|
-
} | {
|
|
2654
|
-
KnowYourCustomer: any;
|
|
2655
|
-
} | {
|
|
2656
|
-
Jurisdiction: any;
|
|
2657
|
-
} | {
|
|
2658
|
-
Exempted: any;
|
|
2659
|
-
} | {
|
|
2660
|
-
Blocked: any;
|
|
2661
|
-
} | {
|
|
2662
|
-
InvestorUniqueness: any;
|
|
2663
|
-
} | {
|
|
2664
|
-
NoData: any;
|
|
2665
|
-
} | {
|
|
2666
|
-
InvestorUniquenessV2: any;
|
|
2667
2585
|
} | {
|
|
2668
2586
|
Custom: any;
|
|
2669
|
-
} | string | Uint8Array,
|
|
2670
|
-
proofScopeIdWellformed?: any;
|
|
2671
|
-
proofScopeIdCddIdMatch?: any;
|
|
2672
|
-
scopeId?: any;
|
|
2673
|
-
} | string | Uint8Array, expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2587
|
+
} | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2674
2588
|
PolymeshPrimitivesIdentityId,
|
|
2675
|
-
PolymeshPrimitivesIdentityClaimScope,
|
|
2676
2589
|
PolymeshPrimitivesIdentityClaimClaim,
|
|
2677
|
-
ConfidentialIdentityV2ClaimProofsScopeClaimProof,
|
|
2678
2590
|
Option<u64>
|
|
2679
2591
|
]>;
|
|
2680
2592
|
/**
|
|
@@ -2699,16 +2611,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2699
2611
|
Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth>,
|
|
2700
2612
|
u64
|
|
2701
2613
|
]>;
|
|
2702
|
-
/**
|
|
2703
|
-
* Deprecated. Use `add_secondary_keys_with_authorization` instead.
|
|
2704
|
-
**/
|
|
2705
|
-
addSecondaryKeysWithAuthorizationOld: AugmentedSubmittable<(additionalKeys: Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1> | (PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1 | {
|
|
2706
|
-
secondaryKey?: any;
|
|
2707
|
-
authSignature?: any;
|
|
2708
|
-
} | string | Uint8Array)[], expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2709
|
-
Vec<PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1>,
|
|
2710
|
-
u64
|
|
2711
|
-
]>;
|
|
2712
2614
|
/**
|
|
2713
2615
|
* Register `target_account` with a new Identity.
|
|
2714
2616
|
*
|
|
@@ -2739,7 +2641,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2739
2641
|
cddRegisterDidWithCdd: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
|
|
2740
2642
|
key?: any;
|
|
2741
2643
|
permissions?: any;
|
|
2742
|
-
} | string | Uint8Array)[], expiry: Option<u64> | null |
|
|
2644
|
+
} | string | Uint8Array)[], expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2743
2645
|
AccountId32,
|
|
2744
2646
|
Vec<PolymeshPrimitivesSecondaryKey>,
|
|
2745
2647
|
Option<u64>
|
|
@@ -2754,6 +2656,47 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2754
2656
|
changeCddRequirementForMkRotation: AugmentedSubmittable<(authRequired: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2755
2657
|
bool
|
|
2756
2658
|
]>;
|
|
2659
|
+
/**
|
|
2660
|
+
* Create a child identities.
|
|
2661
|
+
*
|
|
2662
|
+
* The new primary key for each child identity will need to sign (off-chain)
|
|
2663
|
+
* an authorization.
|
|
2664
|
+
*
|
|
2665
|
+
* Only the primary key can create child identities.
|
|
2666
|
+
*
|
|
2667
|
+
* # Arguments
|
|
2668
|
+
* - `child_keys` the keys that will become primary keys of their own child identity.
|
|
2669
|
+
*
|
|
2670
|
+
* # Errors
|
|
2671
|
+
* - `KeyNotAllowed` only the primary key can create a new identity.
|
|
2672
|
+
* - `AlreadyLinked` one of the keys is already linked to an identity.
|
|
2673
|
+
* - `DuplicateKey` one of the keys is included multiple times.
|
|
2674
|
+
* - `IsChildIdentity` the caller's identity is already a child identity and can't create child identities.
|
|
2675
|
+
**/
|
|
2676
|
+
createChildIdentities: AugmentedSubmittable<(childKeys: Vec<PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth> | (PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth | {
|
|
2677
|
+
key?: any;
|
|
2678
|
+
authSignature?: any;
|
|
2679
|
+
} | string | Uint8Array)[], expiresAt: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2680
|
+
Vec<PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth>,
|
|
2681
|
+
u64
|
|
2682
|
+
]>;
|
|
2683
|
+
/**
|
|
2684
|
+
* Create a child identity and make the `secondary_key` it's primary key.
|
|
2685
|
+
*
|
|
2686
|
+
* Only the primary key can create child identities.
|
|
2687
|
+
*
|
|
2688
|
+
* # Arguments
|
|
2689
|
+
* - `secondary_key` the secondary key that will become the primary key of the new identity.
|
|
2690
|
+
*
|
|
2691
|
+
* # Errors
|
|
2692
|
+
* - `KeyNotAllowed` only the primary key can create a new identity.
|
|
2693
|
+
* - `NotASigner` the `secondary_key` is not a secondary key of the caller's identity.
|
|
2694
|
+
* - `AccountKeyIsBeingUsed` the `secondary_key` can't be unlinked from it's current identity.
|
|
2695
|
+
* - `IsChildIdentity` the caller's identity is already a child identity and can't create child identities.
|
|
2696
|
+
**/
|
|
2697
|
+
createChildIdentity: AugmentedSubmittable<(secondaryKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2698
|
+
AccountId32
|
|
2699
|
+
]>;
|
|
2757
2700
|
/**
|
|
2758
2701
|
* It disables all secondary keys at `did` identity.
|
|
2759
2702
|
*
|
|
@@ -2779,7 +2722,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2779
2722
|
* You can also define an expiration time,
|
|
2780
2723
|
* which will invalidate all claims generated by that `cdd` and remove it as CDD member group.
|
|
2781
2724
|
**/
|
|
2782
|
-
invalidateCddClaims: AugmentedSubmittable<(cdd: PolymeshPrimitivesIdentityId | string | Uint8Array, disableFrom: u64 | AnyNumber | Uint8Array, expiry: Option<u64> | null |
|
|
2725
|
+
invalidateCddClaims: AugmentedSubmittable<(cdd: PolymeshPrimitivesIdentityId | string | Uint8Array, disableFrom: u64 | AnyNumber | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2783
2726
|
PolymeshPrimitivesIdentityId,
|
|
2784
2727
|
u64,
|
|
2785
2728
|
Option<u64>
|
|
@@ -2794,11 +2737,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2794
2737
|
* Leave the secondary key's identity.
|
|
2795
2738
|
**/
|
|
2796
2739
|
leaveIdentityAsKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2797
|
-
/**
|
|
2798
|
-
* Placeholder for removed `legacy_set_permission_to_signer`.
|
|
2799
|
-
**/
|
|
2800
|
-
placeholderLegacySetPermissionToSigner: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, [
|
|
2801
|
-
]>;
|
|
2802
2740
|
/**
|
|
2803
2741
|
* Register custom claim type.
|
|
2804
2742
|
*
|
|
@@ -2833,16 +2771,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2833
2771
|
removeSecondaryKeys: AugmentedSubmittable<(keysToRemove: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
2834
2772
|
Vec<AccountId32>
|
|
2835
2773
|
]>;
|
|
2836
|
-
/**
|
|
2837
|
-
* Deprecated. Use `remove_secondary_keys` instead.
|
|
2838
|
-
**/
|
|
2839
|
-
removeSecondaryKeysOld: AugmentedSubmittable<(keysToRemove: Vec<PolymeshPrimitivesSecondaryKeySignatory> | (PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2840
|
-
Identity: any;
|
|
2841
|
-
} | {
|
|
2842
|
-
Account: any;
|
|
2843
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
2844
|
-
Vec<PolymeshPrimitivesSecondaryKeySignatory>
|
|
2845
|
-
]>;
|
|
2846
2774
|
/**
|
|
2847
2775
|
* Marks the specified claim as revoked.
|
|
2848
2776
|
**/
|
|
@@ -2864,12 +2792,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2864
2792
|
Exempted: any;
|
|
2865
2793
|
} | {
|
|
2866
2794
|
Blocked: any;
|
|
2867
|
-
} | {
|
|
2868
|
-
InvestorUniqueness: any;
|
|
2869
|
-
} | {
|
|
2870
|
-
NoData: any;
|
|
2871
|
-
} | {
|
|
2872
|
-
InvestorUniquenessV2: any;
|
|
2873
2795
|
} | {
|
|
2874
2796
|
Custom: any;
|
|
2875
2797
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
@@ -2881,10 +2803,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2881
2803
|
* `claim_type`, and `scope`.
|
|
2882
2804
|
*
|
|
2883
2805
|
* Please note that `origin` must be the issuer of the target claim.
|
|
2884
|
-
*
|
|
2885
|
-
* # Errors
|
|
2886
|
-
* - `TargetHasNonZeroBalanceAtScopeId` when you try to revoke a `InvestorUniqueness*`
|
|
2887
|
-
* claim, and `target` identity still have any balance on the given `scope`.
|
|
2888
2806
|
**/
|
|
2889
2807
|
revokeClaimByIndex: AugmentedSubmittable<(target: PolymeshPrimitivesIdentityId | string | Uint8Array, claimType: PolymeshPrimitivesIdentityClaimClaimType | {
|
|
2890
2808
|
Accredited: any;
|
|
@@ -2905,14 +2823,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2905
2823
|
} | {
|
|
2906
2824
|
Blocked: any;
|
|
2907
2825
|
} | {
|
|
2908
|
-
|
|
2909
|
-
} | {
|
|
2910
|
-
|
|
2826
|
+
Custom: any;
|
|
2827
|
+
} | string | Uint8Array, scope: Option<PolymeshPrimitivesIdentityClaimScope> | null | Uint8Array | PolymeshPrimitivesIdentityClaimScope | {
|
|
2828
|
+
Identity: any;
|
|
2911
2829
|
} | {
|
|
2912
|
-
|
|
2830
|
+
Ticker: any;
|
|
2913
2831
|
} | {
|
|
2914
2832
|
Custom: any;
|
|
2915
|
-
} | string
|
|
2833
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
2916
2834
|
PolymeshPrimitivesIdentityId,
|
|
2917
2835
|
PolymeshPrimitivesIdentityClaimClaimType,
|
|
2918
2836
|
Option<PolymeshPrimitivesIdentityClaimScope>
|
|
@@ -2933,25 +2851,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2933
2851
|
* * `owner_auth_id` Authorization from the owner who initiated the change
|
|
2934
2852
|
* * `cdd_auth_id` Authorization from a CDD service provider
|
|
2935
2853
|
**/
|
|
2936
|
-
rotatePrimaryKeyToSecondary: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null |
|
|
2854
|
+
rotatePrimaryKeyToSecondary: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2937
2855
|
u64,
|
|
2938
2856
|
Option<u64>
|
|
2939
2857
|
]>;
|
|
2940
|
-
/**
|
|
2941
|
-
* Deprecated. Use `set_secondary_key_permissions` instead.
|
|
2942
|
-
**/
|
|
2943
|
-
setPermissionToSigner: AugmentedSubmittable<(key: PolymeshPrimitivesSecondaryKeySignatory | {
|
|
2944
|
-
Identity: any;
|
|
2945
|
-
} | {
|
|
2946
|
-
Account: any;
|
|
2947
|
-
} | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
2948
|
-
asset?: any;
|
|
2949
|
-
extrinsic?: any;
|
|
2950
|
-
portfolio?: any;
|
|
2951
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2952
|
-
PolymeshPrimitivesSecondaryKeySignatory,
|
|
2953
|
-
PolymeshPrimitivesSecondaryKeyPermissions
|
|
2954
|
-
]>;
|
|
2955
2858
|
/**
|
|
2956
2859
|
* Sets permissions for an specific `target_key` key.
|
|
2957
2860
|
*
|
|
@@ -2969,18 +2872,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2969
2872
|
* Re-enables all secondary keys of the caller's identity.
|
|
2970
2873
|
**/
|
|
2971
2874
|
unfreezeSecondaryKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2875
|
+
/**
|
|
2876
|
+
* Unlink a child identity from it's parent identity.
|
|
2877
|
+
*
|
|
2878
|
+
* Only the primary key of the parent or child identities can unlink the identities.
|
|
2879
|
+
*
|
|
2880
|
+
* # Arguments
|
|
2881
|
+
* - `child_did` the child identity to unlink from its parent identity.
|
|
2882
|
+
*
|
|
2883
|
+
* # Errors
|
|
2884
|
+
* - `KeyNotAllowed` only the primary key of either the parent or child identity can unlink the identities.
|
|
2885
|
+
* - `NoParentIdentity` the identity `child_did` doesn't have a parent identity.
|
|
2886
|
+
* - `NotParentOrChildIdentity` the caller's identity isn't the parent or child identity.
|
|
2887
|
+
**/
|
|
2888
|
+
unlinkChildIdentity: AugmentedSubmittable<(childDid: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2889
|
+
PolymeshPrimitivesIdentityId
|
|
2890
|
+
]>;
|
|
2972
2891
|
};
|
|
2973
2892
|
imOnline: {
|
|
2974
2893
|
/**
|
|
2975
|
-
*
|
|
2976
|
-
* -
|
|
2977
|
-
*
|
|
2894
|
+
* ## Complexity:
|
|
2895
|
+
* - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of
|
|
2896
|
+
* `heartbeat.network_state.external_address`
|
|
2978
2897
|
* - `O(K)`: decoding of length `K`
|
|
2979
2898
|
* - `O(E)`: decoding/encoding of length `E`
|
|
2980
|
-
* - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,
|
|
2981
|
-
* `ReceivedHeartbeats`
|
|
2982
|
-
* - DbWrites: `ReceivedHeartbeats`
|
|
2983
|
-
* # </weight>
|
|
2984
2899
|
**/
|
|
2985
2900
|
heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | {
|
|
2986
2901
|
blockNumber?: any;
|
|
@@ -3005,14 +2920,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3005
2920
|
*
|
|
3006
2921
|
* Emits `IndexAssigned` if successful.
|
|
3007
2922
|
*
|
|
3008
|
-
*
|
|
2923
|
+
* ## Complexity
|
|
3009
2924
|
* - `O(1)`.
|
|
3010
|
-
* - One storage mutation (codec `O(1)`).
|
|
3011
|
-
* - One reserve operation.
|
|
3012
|
-
* - One event.
|
|
3013
|
-
* -------------------
|
|
3014
|
-
* - DB Weight: 1 Read/Write (Accounts)
|
|
3015
|
-
* # </weight>
|
|
3016
2925
|
**/
|
|
3017
2926
|
claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3018
2927
|
u32
|
|
@@ -3029,16 +2938,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3029
2938
|
*
|
|
3030
2939
|
* Emits `IndexAssigned` if successful.
|
|
3031
2940
|
*
|
|
3032
|
-
*
|
|
2941
|
+
* ## Complexity
|
|
3033
2942
|
* - `O(1)`.
|
|
3034
|
-
* - One storage mutation (codec `O(1)`).
|
|
3035
|
-
* - Up to one reserve operation.
|
|
3036
|
-
* - One event.
|
|
3037
|
-
* -------------------
|
|
3038
|
-
* - DB Weight:
|
|
3039
|
-
* - Reads: Indices Accounts, System Account (original owner)
|
|
3040
|
-
* - Writes: Indices Accounts, System Account (original owner)
|
|
3041
|
-
* # </weight>
|
|
3042
2943
|
**/
|
|
3043
2944
|
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | {
|
|
3044
2945
|
Id: any;
|
|
@@ -3066,14 +2967,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3066
2967
|
*
|
|
3067
2968
|
* Emits `IndexFreed` if successful.
|
|
3068
2969
|
*
|
|
3069
|
-
*
|
|
2970
|
+
* ## Complexity
|
|
3070
2971
|
* - `O(1)`.
|
|
3071
|
-
* - One storage mutation (codec `O(1)`).
|
|
3072
|
-
* - One reserve operation.
|
|
3073
|
-
* - One event.
|
|
3074
|
-
* -------------------
|
|
3075
|
-
* - DB Weight: 1 Read/Write (Accounts)
|
|
3076
|
-
* # </weight>
|
|
3077
2972
|
**/
|
|
3078
2973
|
free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3079
2974
|
u32
|
|
@@ -3089,14 +2984,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3089
2984
|
*
|
|
3090
2985
|
* Emits `IndexFrozen` if successful.
|
|
3091
2986
|
*
|
|
3092
|
-
*
|
|
2987
|
+
* ## Complexity
|
|
3093
2988
|
* - `O(1)`.
|
|
3094
|
-
* - One storage mutation (codec `O(1)`).
|
|
3095
|
-
* - Up to one slash operation.
|
|
3096
|
-
* - One event.
|
|
3097
|
-
* -------------------
|
|
3098
|
-
* - DB Weight: 1 Read/Write (Accounts)
|
|
3099
|
-
* # </weight>
|
|
3100
2989
|
**/
|
|
3101
2990
|
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3102
2991
|
u32
|
|
@@ -3112,16 +3001,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3112
3001
|
*
|
|
3113
3002
|
* Emits `IndexAssigned` if successful.
|
|
3114
3003
|
*
|
|
3115
|
-
*
|
|
3004
|
+
* ## Complexity
|
|
3116
3005
|
* - `O(1)`.
|
|
3117
|
-
* - One storage mutation (codec `O(1)`).
|
|
3118
|
-
* - One transfer operation.
|
|
3119
|
-
* - One event.
|
|
3120
|
-
* -------------------
|
|
3121
|
-
* - DB Weight:
|
|
3122
|
-
* - Reads: Indices Accounts, System Account (recipient)
|
|
3123
|
-
* - Writes: Indices Accounts, System Account (recipient)
|
|
3124
|
-
* # </weight>
|
|
3125
3006
|
**/
|
|
3126
3007
|
transfer: AugmentedSubmittable<(updated: MultiAddress | {
|
|
3127
3008
|
Id: any;
|
|
@@ -3223,6 +3104,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3223
3104
|
changeSigsRequired: AugmentedSubmittable<(sigsRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3224
3105
|
u64
|
|
3225
3106
|
]>;
|
|
3107
|
+
/**
|
|
3108
|
+
* Changes the number of signatures required by a multisig. This must be called by the creator of the multisig.
|
|
3109
|
+
*
|
|
3110
|
+
* # Arguments
|
|
3111
|
+
* * `multisig_account` - The account identifier ([`AccountId`]) for the multi signature account.
|
|
3112
|
+
* * `signatures_required` - The number of required signatures.
|
|
3113
|
+
**/
|
|
3114
|
+
changeSigsRequiredViaCreator: AugmentedSubmittable<(multisigAccount: AccountId32 | string | Uint8Array, signaturesRequired: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3115
|
+
AccountId32,
|
|
3116
|
+
u64
|
|
3117
|
+
]>;
|
|
3226
3118
|
/**
|
|
3227
3119
|
* Creates a multisig
|
|
3228
3120
|
*
|
|
@@ -3248,7 +3140,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3248
3140
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
3249
3141
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
3250
3142
|
**/
|
|
3251
|
-
createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null |
|
|
3143
|
+
createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3252
3144
|
AccountId32,
|
|
3253
3145
|
Call,
|
|
3254
3146
|
Option<u64>,
|
|
@@ -3264,7 +3156,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3264
3156
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
3265
3157
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
3266
3158
|
**/
|
|
3267
|
-
createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null |
|
|
3159
|
+
createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3268
3160
|
AccountId32,
|
|
3269
3161
|
Call,
|
|
3270
3162
|
Option<u64>,
|
|
@@ -3280,7 +3172,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3280
3172
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
3281
3173
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
3282
3174
|
**/
|
|
3283
|
-
createProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null |
|
|
3175
|
+
createProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3284
3176
|
AccountId32,
|
|
3285
3177
|
Call,
|
|
3286
3178
|
Option<u64>,
|
|
@@ -3296,7 +3188,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3296
3188
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
3297
3189
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
3298
3190
|
**/
|
|
3299
|
-
createProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null |
|
|
3191
|
+
createProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3300
3192
|
AccountId32,
|
|
3301
3193
|
Call,
|
|
3302
3194
|
Option<u64>,
|
|
@@ -3321,7 +3213,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3321
3213
|
* # Arguments
|
|
3322
3214
|
* * `multi_sig` - multi sig address
|
|
3323
3215
|
**/
|
|
3324
|
-
makeMultisigPrimary: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, optionalCddAuthId: Option<u64> | null |
|
|
3216
|
+
makeMultisigPrimary: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, optionalCddAuthId: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
3325
3217
|
AccountId32,
|
|
3326
3218
|
Option<u64>
|
|
3327
3219
|
]>;
|
|
@@ -3359,6 +3251,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3359
3251
|
AccountId32,
|
|
3360
3252
|
u64
|
|
3361
3253
|
]>;
|
|
3254
|
+
/**
|
|
3255
|
+
* Removes the creator ability to call `add_multisig_signers_via_creator`, `remove_multisig_signers_via_creator`
|
|
3256
|
+
* and `change_sigs_required_via_creator`.
|
|
3257
|
+
**/
|
|
3258
|
+
removeCreatorControls: AugmentedSubmittable<(multisigAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3259
|
+
AccountId32
|
|
3260
|
+
]>;
|
|
3362
3261
|
/**
|
|
3363
3262
|
* Removes a signer from the multisig. This must be called by the multisig itself.
|
|
3364
3263
|
*
|
|
@@ -3412,8 +3311,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3412
3311
|
* # Permissions
|
|
3413
3312
|
* * Asset
|
|
3414
3313
|
**/
|
|
3415
|
-
createNftCollection: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null |
|
|
3416
|
-
|
|
3314
|
+
createNftCollection: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null | Uint8Array | PolymeshPrimitivesAssetNonFungibleType | {
|
|
3315
|
+
Derivative: any;
|
|
3316
|
+
} | {
|
|
3317
|
+
FixedIncome: any;
|
|
3318
|
+
} | {
|
|
3319
|
+
Invoice: any;
|
|
3320
|
+
} | {
|
|
3321
|
+
Custom: any;
|
|
3322
|
+
} | string, collectionKeys: PolymeshPrimitivesNftNftCollectionKeys) => SubmittableExtrinsic<ApiType>, [
|
|
3323
|
+
PolymeshPrimitivesTicker,
|
|
3417
3324
|
Option<PolymeshPrimitivesAssetNonFungibleType>,
|
|
3418
3325
|
PolymeshPrimitivesNftNftCollectionKeys
|
|
3419
3326
|
]>;
|
|
@@ -3544,7 +3451,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3544
3451
|
* * `deposit` minimum deposit value, which is ignored if `proposer` is a committee.
|
|
3545
3452
|
* * `url` a link to a website for proposal discussion
|
|
3546
3453
|
**/
|
|
3547
|
-
propose: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, url: Option<Bytes> | null |
|
|
3454
|
+
propose: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, url: Option<Bytes> | null | Uint8Array | Bytes | string, description: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
|
|
3548
3455
|
Call,
|
|
3549
3456
|
u128,
|
|
3550
3457
|
Option<Bytes>,
|
|
@@ -3588,7 +3495,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3588
3495
|
* * `RescheduleNotByReleaseCoordinator` unless triggered by release coordinator.
|
|
3589
3496
|
* * `IncorrectProposalState` unless the proposal was in a scheduled state.
|
|
3590
3497
|
**/
|
|
3591
|
-
rescheduleExecution: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, until: Option<u32> | null |
|
|
3498
|
+
rescheduleExecution: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, until: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
3592
3499
|
u32,
|
|
3593
3500
|
Option<u32>
|
|
3594
3501
|
]>;
|
|
@@ -3800,7 +3707,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3800
3707
|
instantiateWithCodePerms: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
3801
3708
|
refTime?: any;
|
|
3802
3709
|
proofSize?: any;
|
|
3803
|
-
} | string | Uint8Array, storageDepositLimit: Option<u128> | null |
|
|
3710
|
+
} | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
3804
3711
|
asset?: any;
|
|
3805
3712
|
extrinsic?: any;
|
|
3806
3713
|
portfolio?: any;
|
|
@@ -3845,7 +3752,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3845
3752
|
instantiateWithHashPerms: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
3846
3753
|
refTime?: any;
|
|
3847
3754
|
proofSize?: any;
|
|
3848
|
-
} | string | Uint8Array, storageDepositLimit: Option<u128> | null |
|
|
3755
|
+
} | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
3849
3756
|
asset?: any;
|
|
3850
3757
|
extrinsic?: any;
|
|
3851
3758
|
portfolio?: any;
|
|
@@ -3893,7 +3800,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3893
3800
|
u64
|
|
3894
3801
|
]>;
|
|
3895
3802
|
/**
|
|
3896
|
-
* Moves
|
|
3803
|
+
* Moves fungigle an non-fungible tokens from one portfolio of an identity to another portfolio of the same
|
|
3897
3804
|
* identity. Must be called by the custodian of the sender.
|
|
3898
3805
|
* Funds from deleted portfolios can also be recovered via this method.
|
|
3899
3806
|
*
|
|
@@ -3906,6 +3813,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3906
3813
|
* * `UnauthorizedCustodian` if the caller is not the custodian of the from portfolio
|
|
3907
3814
|
* * `InsufficientPortfolioBalance` if the sender does not have enough free balance
|
|
3908
3815
|
* * `NoDuplicateAssetsAllowed` the same ticker can't be repeated in the items vector.
|
|
3816
|
+
* * `InvalidTransferNFTNotOwned` if the caller is trying to move an NFT he doesn't own.
|
|
3817
|
+
* * `InvalidTransferNFTIsLocked` if the caller is trying to move a locked NFT.
|
|
3909
3818
|
*
|
|
3910
3819
|
* # Permissions
|
|
3911
3820
|
* * Portfolio
|
|
@@ -3916,48 +3825,31 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3916
3825
|
} | string | Uint8Array, to: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3917
3826
|
did?: any;
|
|
3918
3827
|
kind?: any;
|
|
3919
|
-
} | string | Uint8Array,
|
|
3920
|
-
|
|
3921
|
-
amount?: any;
|
|
3828
|
+
} | string | Uint8Array, funds: Vec<PolymeshPrimitivesPortfolioFund> | (PolymeshPrimitivesPortfolioFund | {
|
|
3829
|
+
description?: any;
|
|
3922
3830
|
memo?: any;
|
|
3923
3831
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
3924
3832
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
3925
3833
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
3926
|
-
Vec<
|
|
3834
|
+
Vec<PolymeshPrimitivesPortfolioFund>
|
|
3927
3835
|
]>;
|
|
3928
3836
|
/**
|
|
3929
|
-
*
|
|
3930
|
-
* identity. Must be called by the custodian of the sender.
|
|
3931
|
-
* Funds from deleted portfolios can also be recovered via this method.
|
|
3837
|
+
* Pre-approves the receivement of an asset to a portfolio.
|
|
3932
3838
|
*
|
|
3933
|
-
*
|
|
3934
|
-
*
|
|
3935
|
-
*
|
|
3936
|
-
* * `
|
|
3937
|
-
* * `destination_is_same_portfolio` if both sender and receiver portfolio are the same
|
|
3938
|
-
* * `DifferentIdentityPortfolios` if the sender and receiver portfolios belong to different identities
|
|
3939
|
-
* * `UnauthorizedCustodian` if the caller is not the custodian of the from portfolio
|
|
3940
|
-
* * `InsufficientPortfolioBalance` if the sender does not have enough free balance
|
|
3941
|
-
* * `NoDuplicateAssetsAllowed` the same ticker can't be repeated in the items vector.
|
|
3942
|
-
* * `InvalidTransferNFTNotOwned` if the caller is trying to move an NFT he doesn't own.
|
|
3943
|
-
* * `InvalidTransferNFTIsLocked` if the caller is trying to move a locked NFT.
|
|
3839
|
+
* # Arguments
|
|
3840
|
+
* * `origin` - the secondary key of the sender.
|
|
3841
|
+
* * `ticker` - the [`Ticker`] that will be exempt from affirmation.
|
|
3842
|
+
* * `portfolio_id` - the [`PortfolioId`] that can receive `ticker` without affirmation.
|
|
3944
3843
|
*
|
|
3945
3844
|
* # Permissions
|
|
3946
3845
|
* * Portfolio
|
|
3947
3846
|
**/
|
|
3948
|
-
|
|
3949
|
-
did?: any;
|
|
3950
|
-
kind?: any;
|
|
3951
|
-
} | string | Uint8Array, to: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3847
|
+
preApprovePortfolio: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3952
3848
|
did?: any;
|
|
3953
3849
|
kind?: any;
|
|
3954
|
-
} | string | Uint8Array
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
3958
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
3959
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
3960
|
-
Vec<PolymeshPrimitivesPortfolioFund>
|
|
3850
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3851
|
+
PolymeshPrimitivesTicker,
|
|
3852
|
+
PolymeshPrimitivesIdentityIdPortfolioId
|
|
3961
3853
|
]>;
|
|
3962
3854
|
/**
|
|
3963
3855
|
* When called by the custodian of `portfolio_id`,
|
|
@@ -3975,6 +3867,24 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3975
3867
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3976
3868
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
3977
3869
|
]>;
|
|
3870
|
+
/**
|
|
3871
|
+
* Removes the pre approval of an asset to a portfolio.
|
|
3872
|
+
*
|
|
3873
|
+
* # Arguments
|
|
3874
|
+
* * `origin` - the secondary key of the sender.
|
|
3875
|
+
* * `ticker` - the [`Ticker`] that will be exempt from affirmation.
|
|
3876
|
+
* * `portfolio_id` - the [`PortfolioId`] that can receive `ticker` without affirmation.
|
|
3877
|
+
*
|
|
3878
|
+
* # Permissions
|
|
3879
|
+
* * Portfolio
|
|
3880
|
+
**/
|
|
3881
|
+
removePortfolioPreApproval: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3882
|
+
did?: any;
|
|
3883
|
+
kind?: any;
|
|
3884
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3885
|
+
PolymeshPrimitivesTicker,
|
|
3886
|
+
PolymeshPrimitivesIdentityIdPortfolioId
|
|
3887
|
+
]>;
|
|
3978
3888
|
/**
|
|
3979
3889
|
* Renames a non-default portfolio.
|
|
3980
3890
|
*
|
|
@@ -4204,7 +4114,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4204
4114
|
/**
|
|
4205
4115
|
* Anonymously schedule a task.
|
|
4206
4116
|
**/
|
|
4207
|
-
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
4117
|
+
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4208
4118
|
u32,
|
|
4209
4119
|
Option<ITuple<[u32, u32]>>,
|
|
4210
4120
|
u8,
|
|
@@ -4212,12 +4122,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4212
4122
|
]>;
|
|
4213
4123
|
/**
|
|
4214
4124
|
* Anonymously schedule a task after a delay.
|
|
4215
|
-
*
|
|
4216
|
-
* # <weight>
|
|
4217
|
-
* Same as [`schedule`].
|
|
4218
|
-
* # </weight>
|
|
4219
4125
|
**/
|
|
4220
|
-
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
4126
|
+
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4221
4127
|
u32,
|
|
4222
4128
|
Option<ITuple<[u32, u32]>>,
|
|
4223
4129
|
u8,
|
|
@@ -4226,7 +4132,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4226
4132
|
/**
|
|
4227
4133
|
* Schedule a named task.
|
|
4228
4134
|
**/
|
|
4229
|
-
scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
4135
|
+
scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4230
4136
|
U8aFixed,
|
|
4231
4137
|
u32,
|
|
4232
4138
|
Option<ITuple<[u32, u32]>>,
|
|
@@ -4235,12 +4141,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4235
4141
|
]>;
|
|
4236
4142
|
/**
|
|
4237
4143
|
* Schedule a named task after a delay.
|
|
4238
|
-
*
|
|
4239
|
-
* # <weight>
|
|
4240
|
-
* Same as [`schedule_named`](Self::schedule_named).
|
|
4241
|
-
* # </weight>
|
|
4242
4144
|
**/
|
|
4243
|
-
scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
4145
|
+
scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4244
4146
|
U8aFixed,
|
|
4245
4147
|
u32,
|
|
4246
4148
|
Option<ITuple<[u32, u32]>>,
|
|
@@ -4259,13 +4161,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4259
4161
|
* means being a controller account) or directly convertible into a validator ID (which
|
|
4260
4162
|
* usually means being a stash account).
|
|
4261
4163
|
*
|
|
4262
|
-
*
|
|
4263
|
-
* -
|
|
4264
|
-
*
|
|
4265
|
-
* - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`
|
|
4266
|
-
* - DbWrites: `NextKeys`, `origin account`
|
|
4267
|
-
* - DbWrites per key id: `KeyOwner`
|
|
4268
|
-
* # </weight>
|
|
4164
|
+
* ## Complexity
|
|
4165
|
+
* - `O(1)` in number of key types. Actual cost depends on the number of length of
|
|
4166
|
+
* `T::Keys::key_ids()` which is fixed.
|
|
4269
4167
|
**/
|
|
4270
4168
|
purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4271
4169
|
/**
|
|
@@ -4275,14 +4173,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4275
4173
|
*
|
|
4276
4174
|
* The dispatch origin of this function must be signed.
|
|
4277
4175
|
*
|
|
4278
|
-
*
|
|
4279
|
-
* -
|
|
4280
|
-
*
|
|
4281
|
-
* - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`
|
|
4282
|
-
* - DbWrites: `origin account`, `NextKeys`
|
|
4283
|
-
* - DbReads per key id: `KeyOwner`
|
|
4284
|
-
* - DbWrites per key id: `KeyOwner`
|
|
4285
|
-
* # </weight>
|
|
4176
|
+
* ## Complexity
|
|
4177
|
+
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
|
|
4178
|
+
* fixed.
|
|
4286
4179
|
**/
|
|
4287
4180
|
setKeys: AugmentedSubmittable<(keys: PolymeshRuntimeDevelopRuntimeSessionKeys | {
|
|
4288
4181
|
grandpa?: any;
|
|
@@ -4295,161 +4188,53 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4295
4188
|
]>;
|
|
4296
4189
|
};
|
|
4297
4190
|
settlement: {
|
|
4298
|
-
/**
|
|
4299
|
-
* Deprecated. Use `add_and_affirm_instruction_with_memo` instead.
|
|
4300
|
-
* Adds and affirms a new instruction.
|
|
4301
|
-
*
|
|
4302
|
-
* # Arguments
|
|
4303
|
-
* * `venue_id` - ID of the venue this instruction belongs to.
|
|
4304
|
-
* * `settlement_type` - Defines if the instruction should be settled
|
|
4305
|
-
* in the next block after receiving all affirmations or waiting till a specific block.
|
|
4306
|
-
* * `trade_date` - Optional date from which people can interact with this instruction.
|
|
4307
|
-
* * `value_date` - Optional date after which the instruction should be settled (not enforced)
|
|
4308
|
-
* * `legs` - Legs included in this instruction.
|
|
4309
|
-
* * `portfolios` - Portfolios that the sender controls and wants to use in this affirmations.
|
|
4310
|
-
*
|
|
4311
|
-
* # Permissions
|
|
4312
|
-
* * Portfolio
|
|
4313
|
-
**/
|
|
4314
|
-
addAndAffirmInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
|
|
4315
|
-
SettleOnAffirmation: any;
|
|
4316
|
-
} | {
|
|
4317
|
-
SettleOnBlock: any;
|
|
4318
|
-
} | {
|
|
4319
|
-
SettleManual: any;
|
|
4320
|
-
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
|
|
4321
|
-
from?: any;
|
|
4322
|
-
to?: any;
|
|
4323
|
-
asset?: any;
|
|
4324
|
-
amount?: any;
|
|
4325
|
-
} | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4326
|
-
did?: any;
|
|
4327
|
-
kind?: any;
|
|
4328
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4329
|
-
u64,
|
|
4330
|
-
PalletSettlementSettlementType,
|
|
4331
|
-
Option<u64>,
|
|
4332
|
-
Option<u64>,
|
|
4333
|
-
Vec<PalletSettlementLeg>,
|
|
4334
|
-
Vec<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
4335
|
-
]>;
|
|
4336
4191
|
/**
|
|
4337
4192
|
* Adds and affirms a new instruction.
|
|
4338
4193
|
*
|
|
4339
4194
|
* # Arguments
|
|
4340
4195
|
* * `venue_id` - ID of the venue this instruction belongs to.
|
|
4341
|
-
* * `settlement_type` - Defines if the instruction should be settled
|
|
4342
|
-
*
|
|
4196
|
+
* * `settlement_type` - Defines if the instruction should be settled in the next block, after receiving all affirmations
|
|
4197
|
+
* or waiting till a specific block.
|
|
4343
4198
|
* * `trade_date` - Optional date from which people can interact with this instruction.
|
|
4344
4199
|
* * `value_date` - Optional date after which the instruction should be settled (not enforced)
|
|
4345
4200
|
* * `legs` - Legs included in this instruction.
|
|
4346
4201
|
* * `portfolios` - Portfolios that the sender controls and wants to use in this affirmations.
|
|
4347
|
-
* * `
|
|
4202
|
+
* * `instruction_memo` - Memo field for this instruction.
|
|
4348
4203
|
*
|
|
4349
4204
|
* # Permissions
|
|
4350
4205
|
* * Portfolio
|
|
4351
4206
|
**/
|
|
4352
|
-
|
|
4207
|
+
addAndAffirmInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PolymeshPrimitivesSettlementSettlementType | {
|
|
4353
4208
|
SettleOnAffirmation: any;
|
|
4354
4209
|
} | {
|
|
4355
4210
|
SettleOnBlock: any;
|
|
4356
4211
|
} | {
|
|
4357
4212
|
SettleManual: any;
|
|
4358
|
-
} | string | Uint8Array, tradeDate: Option<u64> | null |
|
|
4359
|
-
|
|
4360
|
-
to?: any;
|
|
4361
|
-
asset?: any;
|
|
4362
|
-
amount?: any;
|
|
4363
|
-
} | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4364
|
-
did?: any;
|
|
4365
|
-
kind?: any;
|
|
4366
|
-
} | string | Uint8Array)[], instructionMemo: Option<PalletSettlementInstructionMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4367
|
-
u64,
|
|
4368
|
-
PalletSettlementSettlementType,
|
|
4369
|
-
Option<u64>,
|
|
4370
|
-
Option<u64>,
|
|
4371
|
-
Vec<PalletSettlementLeg>,
|
|
4372
|
-
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
4373
|
-
Option<PalletSettlementInstructionMemo>
|
|
4374
|
-
]>;
|
|
4375
|
-
/**
|
|
4376
|
-
* Adds and affirms a new instruction.
|
|
4377
|
-
*
|
|
4378
|
-
* # Arguments
|
|
4379
|
-
* * `venue_id` - ID of the venue this instruction belongs to.
|
|
4380
|
-
* * `settlement_type` - Defines if the instruction should be settled
|
|
4381
|
-
* in the next block after receiving all affirmations or waiting till a specific block.
|
|
4382
|
-
* * `trade_date` - Optional date from which people can interact with this instruction.
|
|
4383
|
-
* * `value_date` - Optional date after which the instruction should be settled (not enforced)
|
|
4384
|
-
* * `legs` - Legs included in this instruction.
|
|
4385
|
-
* * `portfolios` - Portfolios that the sender controls and wants to use in this affirmations.
|
|
4386
|
-
* * `memo` - Memo field for this instruction.
|
|
4387
|
-
*
|
|
4388
|
-
* # Permissions
|
|
4389
|
-
* * Portfolio
|
|
4390
|
-
**/
|
|
4391
|
-
addAndAffirmInstructionWithMemoV2: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
|
|
4392
|
-
SettleOnAffirmation: any;
|
|
4213
|
+
} | string | Uint8Array, tradeDate: Option<u64> | null | Uint8Array | u64 | AnyNumber, valueDate: Option<u64> | null | Uint8Array | u64 | AnyNumber, legs: Vec<PolymeshPrimitivesSettlementLeg> | (PolymeshPrimitivesSettlementLeg | {
|
|
4214
|
+
Fungible: any;
|
|
4393
4215
|
} | {
|
|
4394
|
-
|
|
4216
|
+
NonFungible: any;
|
|
4395
4217
|
} | {
|
|
4396
|
-
|
|
4397
|
-
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLegV2> | (PalletSettlementLegV2 | {
|
|
4398
|
-
from?: any;
|
|
4399
|
-
to?: any;
|
|
4400
|
-
asset?: any;
|
|
4218
|
+
OffChain: any;
|
|
4401
4219
|
} | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4402
4220
|
did?: any;
|
|
4403
4221
|
kind?: any;
|
|
4404
|
-
} | string | Uint8Array)[], instructionMemo: Option<
|
|
4222
|
+
} | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
|
|
4405
4223
|
u64,
|
|
4406
|
-
|
|
4224
|
+
PolymeshPrimitivesSettlementSettlementType,
|
|
4407
4225
|
Option<u64>,
|
|
4408
4226
|
Option<u64>,
|
|
4409
|
-
Vec<
|
|
4227
|
+
Vec<PolymeshPrimitivesSettlementLeg>,
|
|
4410
4228
|
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
4411
|
-
Option<
|
|
4229
|
+
Option<PolymeshPrimitivesMemo>
|
|
4412
4230
|
]>;
|
|
4413
4231
|
/**
|
|
4414
|
-
* Deprecated. Use `add_instruction_with_memo` instead.
|
|
4415
4232
|
* Adds a new instruction.
|
|
4416
4233
|
*
|
|
4417
4234
|
* # Arguments
|
|
4418
4235
|
* * `venue_id` - ID of the venue this instruction belongs to.
|
|
4419
|
-
* * `settlement_type` - Defines if the instruction should be settled
|
|
4420
|
-
*
|
|
4421
|
-
* * `trade_date` - Optional date from which people can interact with this instruction.
|
|
4422
|
-
* * `value_date` - Optional date after which the instruction should be settled (not enforced)
|
|
4423
|
-
* * `legs` - Legs included in this instruction.
|
|
4424
|
-
*
|
|
4425
|
-
* # Weight
|
|
4426
|
-
* `950_000_000 + 1_000_000 * legs.len()`
|
|
4427
|
-
**/
|
|
4428
|
-
addInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
|
|
4429
|
-
SettleOnAffirmation: any;
|
|
4430
|
-
} | {
|
|
4431
|
-
SettleOnBlock: any;
|
|
4432
|
-
} | {
|
|
4433
|
-
SettleManual: any;
|
|
4434
|
-
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
|
|
4435
|
-
from?: any;
|
|
4436
|
-
to?: any;
|
|
4437
|
-
asset?: any;
|
|
4438
|
-
amount?: any;
|
|
4439
|
-
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4440
|
-
u64,
|
|
4441
|
-
PalletSettlementSettlementType,
|
|
4442
|
-
Option<u64>,
|
|
4443
|
-
Option<u64>,
|
|
4444
|
-
Vec<PalletSettlementLeg>
|
|
4445
|
-
]>;
|
|
4446
|
-
/**
|
|
4447
|
-
* Adds a new instruction with memo.
|
|
4448
|
-
*
|
|
4449
|
-
* # Arguments
|
|
4450
|
-
* * `venue_id` - ID of the venue this instruction belongs to.
|
|
4451
|
-
* * `settlement_type` - Defines if the instruction should be settled
|
|
4452
|
-
* in the next block after receiving all affirmations or waiting till a specific block.
|
|
4236
|
+
* * `settlement_type` - Defines if the instruction should be settled in the next block, after receiving all affirmations
|
|
4237
|
+
* or waiting till a specific block.
|
|
4453
4238
|
* * `trade_date` - Optional date from which people can interact with this instruction.
|
|
4454
4239
|
* * `value_date` - Optional date after which the instruction should be settled (not enforced)
|
|
4455
4240
|
* * `legs` - Legs included in this instruction.
|
|
@@ -4458,65 +4243,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4458
4243
|
* # Weight
|
|
4459
4244
|
* `950_000_000 + 1_000_000 * legs.len()`
|
|
4460
4245
|
**/
|
|
4461
|
-
|
|
4246
|
+
addInstruction: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PolymeshPrimitivesSettlementSettlementType | {
|
|
4462
4247
|
SettleOnAffirmation: any;
|
|
4463
4248
|
} | {
|
|
4464
4249
|
SettleOnBlock: any;
|
|
4465
4250
|
} | {
|
|
4466
4251
|
SettleManual: any;
|
|
4467
|
-
} | string | Uint8Array, tradeDate: Option<u64> | null |
|
|
4468
|
-
|
|
4469
|
-
to?: any;
|
|
4470
|
-
asset?: any;
|
|
4471
|
-
amount?: any;
|
|
4472
|
-
} | string | Uint8Array)[], instructionMemo: Option<PalletSettlementInstructionMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4473
|
-
u64,
|
|
4474
|
-
PalletSettlementSettlementType,
|
|
4475
|
-
Option<u64>,
|
|
4476
|
-
Option<u64>,
|
|
4477
|
-
Vec<PalletSettlementLeg>,
|
|
4478
|
-
Option<PalletSettlementInstructionMemo>
|
|
4479
|
-
]>;
|
|
4480
|
-
/**
|
|
4481
|
-
* Adds a new instruction with memo.
|
|
4482
|
-
*
|
|
4483
|
-
* # Arguments
|
|
4484
|
-
* * `venue_id` - ID of the venue this instruction belongs to.
|
|
4485
|
-
* * `settlement_type` - Defines if the instruction should be settled
|
|
4486
|
-
* in the next block after receiving all affirmations or waiting till a specific block.
|
|
4487
|
-
* * `trade_date` - Optional date from which people can interact with this instruction.
|
|
4488
|
-
* * `value_date` - Optional date after which the instruction should be settled (not enforced)
|
|
4489
|
-
* * `legs` - Legs included in this instruction.
|
|
4490
|
-
* * `memo` - Memo field for this instruction.
|
|
4491
|
-
*
|
|
4492
|
-
* # Weight
|
|
4493
|
-
* `950_000_000 + 1_000_000 * legs.len()`
|
|
4494
|
-
**/
|
|
4495
|
-
addInstructionWithMemoV2: AugmentedSubmittable<(venueId: u64 | AnyNumber | Uint8Array, settlementType: PalletSettlementSettlementType | {
|
|
4496
|
-
SettleOnAffirmation: any;
|
|
4252
|
+
} | string | Uint8Array, tradeDate: Option<u64> | null | Uint8Array | u64 | AnyNumber, valueDate: Option<u64> | null | Uint8Array | u64 | AnyNumber, legs: Vec<PolymeshPrimitivesSettlementLeg> | (PolymeshPrimitivesSettlementLeg | {
|
|
4253
|
+
Fungible: any;
|
|
4497
4254
|
} | {
|
|
4498
|
-
|
|
4255
|
+
NonFungible: any;
|
|
4499
4256
|
} | {
|
|
4500
|
-
|
|
4501
|
-
} | string | Uint8Array,
|
|
4502
|
-
from?: any;
|
|
4503
|
-
to?: any;
|
|
4504
|
-
asset?: any;
|
|
4505
|
-
} | string | Uint8Array)[], instructionMemo: Option<PalletSettlementInstructionMemo> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4257
|
+
OffChain: any;
|
|
4258
|
+
} | string | Uint8Array)[], instructionMemo: Option<PolymeshPrimitivesMemo> | null | Uint8Array | PolymeshPrimitivesMemo | string) => SubmittableExtrinsic<ApiType>, [
|
|
4506
4259
|
u64,
|
|
4507
|
-
|
|
4260
|
+
PolymeshPrimitivesSettlementSettlementType,
|
|
4508
4261
|
Option<u64>,
|
|
4509
4262
|
Option<u64>,
|
|
4510
|
-
Vec<
|
|
4511
|
-
Option<
|
|
4263
|
+
Vec<PolymeshPrimitivesSettlementLeg>,
|
|
4264
|
+
Option<PolymeshPrimitivesMemo>
|
|
4512
4265
|
]>;
|
|
4513
4266
|
/**
|
|
4514
4267
|
* Provide affirmation to an existing instruction.
|
|
4515
4268
|
*
|
|
4516
4269
|
* # Arguments
|
|
4517
|
-
* * `id` -
|
|
4270
|
+
* * `id` - The `InstructionId` of the instruction to be affirmed.
|
|
4518
4271
|
* * `portfolios` - Portfolios that the sender controls and wants to affirm this instruction.
|
|
4519
|
-
* * `max_legs_count` - Number of legs that need to be affirmed.
|
|
4520
4272
|
*
|
|
4521
4273
|
* # Permissions
|
|
4522
4274
|
* * Portfolio
|
|
@@ -4524,31 +4276,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4524
4276
|
affirmInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4525
4277
|
did?: any;
|
|
4526
4278
|
kind?: any;
|
|
4527
|
-
} | string | Uint8Array)[]
|
|
4528
|
-
u64,
|
|
4529
|
-
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
4530
|
-
u32
|
|
4531
|
-
]>;
|
|
4532
|
-
/**
|
|
4533
|
-
* Provide affirmation to an existing instruction.
|
|
4534
|
-
*
|
|
4535
|
-
* # Arguments
|
|
4536
|
-
* * `id` - Instruction id to affirm.
|
|
4537
|
-
* * `portfolios` - Portfolios that the sender controls and wants to affirm this instruction.
|
|
4538
|
-
* * `fungible_transfers` - number of fungible transfers in the instruction.
|
|
4539
|
-
* * `nfts_transfers` - total number of NFTs being transferred in the instruction.
|
|
4540
|
-
*
|
|
4541
|
-
* # Permissions
|
|
4542
|
-
* * Portfolio
|
|
4543
|
-
**/
|
|
4544
|
-
affirmInstructionV2: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4545
|
-
did?: any;
|
|
4546
|
-
kind?: any;
|
|
4547
|
-
} | string | Uint8Array)[], fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4279
|
+
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4548
4280
|
u64,
|
|
4549
|
-
Vec<PolymeshPrimitivesIdentityIdPortfolioId
|
|
4550
|
-
u32,
|
|
4551
|
-
u32
|
|
4281
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
4552
4282
|
]>;
|
|
4553
4283
|
/**
|
|
4554
4284
|
* Accepts an instruction and claims a signed receipt.
|
|
@@ -4559,13 +4289,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4559
4289
|
* * `receipt_uid` - Receipt ID generated by the signer.
|
|
4560
4290
|
* * `signer` - Signer of the receipt.
|
|
4561
4291
|
* * `signed_data` - Signed receipt.
|
|
4562
|
-
* * `portfolios` - Portfolios that the sender controls and wants to accept this instruction with
|
|
4292
|
+
* * `portfolios` - Portfolios that the sender controls and wants to accept this instruction with.
|
|
4563
4293
|
*
|
|
4564
4294
|
* # Permissions
|
|
4565
4295
|
* * Portfolio
|
|
4566
4296
|
**/
|
|
4567
|
-
affirmWithReceipts: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, receiptDetails: Vec<
|
|
4568
|
-
|
|
4297
|
+
affirmWithReceipts: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, receiptDetails: Vec<PolymeshPrimitivesSettlementReceiptDetails> | (PolymeshPrimitivesSettlementReceiptDetails | {
|
|
4298
|
+
uid?: any;
|
|
4299
|
+
instructionId?: any;
|
|
4569
4300
|
legId?: any;
|
|
4570
4301
|
signer?: any;
|
|
4571
4302
|
signature?: any;
|
|
@@ -4573,11 +4304,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4573
4304
|
} | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4574
4305
|
did?: any;
|
|
4575
4306
|
kind?: any;
|
|
4576
|
-
} | string | Uint8Array)[]
|
|
4307
|
+
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4577
4308
|
u64,
|
|
4578
|
-
Vec<
|
|
4579
|
-
Vec<PolymeshPrimitivesIdentityIdPortfolioId
|
|
4580
|
-
u32
|
|
4309
|
+
Vec<PolymeshPrimitivesSettlementReceiptDetails>,
|
|
4310
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
4581
4311
|
]>;
|
|
4582
4312
|
/**
|
|
4583
4313
|
* Allows additional venues to create instructions involving an asset.
|
|
@@ -4592,17 +4322,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4592
4322
|
PolymeshPrimitivesTicker,
|
|
4593
4323
|
Vec<u64>
|
|
4594
4324
|
]>;
|
|
4595
|
-
/**
|
|
4596
|
-
* Marks a receipt issued by the caller as claimed or not claimed.
|
|
4597
|
-
* This allows the receipt issuer to invalidate an already issued receipt or revalidate an already claimed receipt.
|
|
4598
|
-
*
|
|
4599
|
-
* * `receipt_uid` - Unique ID of the receipt.
|
|
4600
|
-
* * `validity` - New validity of the receipt.
|
|
4601
|
-
**/
|
|
4602
|
-
changeReceiptValidity: AugmentedSubmittable<(receiptUid: u64 | AnyNumber | Uint8Array, validity: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4603
|
-
u64,
|
|
4604
|
-
bool
|
|
4605
|
-
]>;
|
|
4606
4325
|
/**
|
|
4607
4326
|
* Registers a new venue.
|
|
4608
4327
|
*
|
|
@@ -4610,10 +4329,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4610
4329
|
* * `signers` - Array of signers that are allowed to sign receipts for this venue
|
|
4611
4330
|
* * `typ` - Type of venue being created
|
|
4612
4331
|
**/
|
|
4613
|
-
createVenue: AugmentedSubmittable<(details: Bytes | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], typ:
|
|
4332
|
+
createVenue: AugmentedSubmittable<(details: Bytes | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], typ: PolymeshPrimitivesSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4614
4333
|
Bytes,
|
|
4615
4334
|
Vec<AccountId32>,
|
|
4616
|
-
|
|
4335
|
+
PolymeshPrimitivesSettlementVenueType
|
|
4617
4336
|
]>;
|
|
4618
4337
|
/**
|
|
4619
4338
|
* Revokes permission given to venues for creating instructions involving a particular asset.
|
|
@@ -4629,50 +4348,50 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4629
4348
|
Vec<u64>
|
|
4630
4349
|
]>;
|
|
4631
4350
|
/**
|
|
4632
|
-
* Manually
|
|
4351
|
+
* Manually executes an instruction.
|
|
4633
4352
|
*
|
|
4634
4353
|
* # Arguments
|
|
4635
|
-
* * `id`
|
|
4636
|
-
* * `
|
|
4354
|
+
* * `id`: The [`InstructionId`] of the instruction to be executed.
|
|
4355
|
+
* * `portfolio`: One of the caller's [`PortfolioId`] which is also a counter patry in the instruction.
|
|
4356
|
+
* If None, the caller must be the venue creator or a counter party in a [`Leg::OffChain`].
|
|
4357
|
+
* * `fungible_transfers`: The number of fungible legs in the instruction.
|
|
4358
|
+
* * `nfts_transfers`: The number of nfts being transferred in the instruction.
|
|
4359
|
+
* * `offchain_transfers`: The number of offchain legs in the instruction.
|
|
4360
|
+
* * `weight_limit`: An optional maximum [`Weight`] value to be charged for executing the instruction.
|
|
4361
|
+
* If the `weight_limit` is less than the required amount, the instruction will fail execution.
|
|
4637
4362
|
*
|
|
4638
|
-
*
|
|
4639
|
-
* * `InstructionNotFailed` - Instruction not in a failed state or does not exist.
|
|
4363
|
+
* Note: calling the rpc method `get_execute_instruction_info` returns an instance of [`ExecuteInstructionInfo`], which contains the count parameters.
|
|
4640
4364
|
**/
|
|
4641
|
-
executeManualInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array,
|
|
4365
|
+
executeManualInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: Option<PolymeshPrimitivesIdentityIdPortfolioId> | null | Uint8Array | PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4366
|
+
did?: any;
|
|
4367
|
+
kind?: any;
|
|
4368
|
+
} | string, fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array, offchainTransfers: u32 | AnyNumber | Uint8Array, weightLimit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | {
|
|
4369
|
+
refTime?: any;
|
|
4370
|
+
proofSize?: any;
|
|
4371
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
4642
4372
|
u64,
|
|
4373
|
+
Option<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
4643
4374
|
u32,
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
* Root callable extrinsic, used as an internal call to execute a scheduled settlement instruction.
|
|
4648
|
-
**/
|
|
4649
|
-
executeScheduledInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, legsCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4650
|
-
u64,
|
|
4651
|
-
u32
|
|
4375
|
+
u32,
|
|
4376
|
+
u32,
|
|
4377
|
+
Option<SpWeightsWeightV2Weight>
|
|
4652
4378
|
]>;
|
|
4653
4379
|
/**
|
|
4654
4380
|
* Root callable extrinsic, used as an internal call to execute a scheduled settlement instruction.
|
|
4655
4381
|
**/
|
|
4656
|
-
|
|
4382
|
+
executeScheduledInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | {
|
|
4383
|
+
refTime?: any;
|
|
4384
|
+
proofSize?: any;
|
|
4385
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4657
4386
|
u64,
|
|
4658
|
-
|
|
4659
|
-
u32
|
|
4387
|
+
SpWeightsWeightV2Weight
|
|
4660
4388
|
]>;
|
|
4661
|
-
/**
|
|
4662
|
-
* Placeholder for removed `claim_receipt`
|
|
4663
|
-
**/
|
|
4664
|
-
placeholderClaimReceipt: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4665
|
-
/**
|
|
4666
|
-
* Placeholder for removed `unclaim_receipt`
|
|
4667
|
-
**/
|
|
4668
|
-
placeholderUnclaimReceipt: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4669
4389
|
/**
|
|
4670
4390
|
* Rejects an existing instruction.
|
|
4671
4391
|
*
|
|
4672
4392
|
* # Arguments
|
|
4673
4393
|
* * `id` - Instruction id to reject.
|
|
4674
4394
|
* * `portfolio` - Portfolio to reject the instruction.
|
|
4675
|
-
* * `num_of_legs` - Number of legs in the instruction.
|
|
4676
4395
|
*
|
|
4677
4396
|
* # Permissions
|
|
4678
4397
|
* * Portfolio
|
|
@@ -4680,46 +4399,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4680
4399
|
rejectInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4681
4400
|
did?: any;
|
|
4682
4401
|
kind?: any;
|
|
4683
|
-
} | string | Uint8Array
|
|
4684
|
-
u64,
|
|
4685
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
4686
|
-
u32
|
|
4687
|
-
]>;
|
|
4688
|
-
/**
|
|
4689
|
-
* Rejects an existing instruction.
|
|
4690
|
-
*
|
|
4691
|
-
* # Arguments
|
|
4692
|
-
* * `id` - Instruction id to reject.
|
|
4693
|
-
* * `portfolio` - Portfolio to reject the instruction.
|
|
4694
|
-
* * `fungible_transfers` - number of fungible transfers in the instruction.
|
|
4695
|
-
* * `nfts_transfers` - total number of NFTs being transferred in the instruction.
|
|
4696
|
-
*
|
|
4697
|
-
* # Permissions
|
|
4698
|
-
* * Portfolio
|
|
4699
|
-
**/
|
|
4700
|
-
rejectInstructionV2: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4701
|
-
did?: any;
|
|
4702
|
-
kind?: any;
|
|
4703
|
-
} | string | Uint8Array, fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4402
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4704
4403
|
u64,
|
|
4705
|
-
PolymeshPrimitivesIdentityIdPortfolioId
|
|
4706
|
-
u32,
|
|
4707
|
-
u32
|
|
4708
|
-
]>;
|
|
4709
|
-
/**
|
|
4710
|
-
* Reschedules a failed instruction.
|
|
4711
|
-
*
|
|
4712
|
-
* # Arguments
|
|
4713
|
-
* * `id` - Target instruction id to reschedule.
|
|
4714
|
-
*
|
|
4715
|
-
* # Permissions
|
|
4716
|
-
* * Portfolio
|
|
4717
|
-
*
|
|
4718
|
-
* # Errors
|
|
4719
|
-
* * `InstructionNotFailed` - Instruction not in a failed state or does not exist.
|
|
4720
|
-
**/
|
|
4721
|
-
rescheduleInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4722
|
-
u64
|
|
4404
|
+
PolymeshPrimitivesIdentityIdPortfolioId
|
|
4723
4405
|
]>;
|
|
4724
4406
|
/**
|
|
4725
4407
|
* Enables or disabled venue filtering for a token.
|
|
@@ -4762,9 +4444,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4762
4444
|
* * `id` specifies the ID of the venue to edit.
|
|
4763
4445
|
* * `type` specifies the new type of the venue.
|
|
4764
4446
|
**/
|
|
4765
|
-
updateVenueType: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, typ:
|
|
4447
|
+
updateVenueType: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, typ: PolymeshPrimitivesSettlementVenueType | 'Other' | 'Distribution' | 'Sto' | 'Exchange' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4766
4448
|
u64,
|
|
4767
|
-
|
|
4449
|
+
PolymeshPrimitivesSettlementVenueType
|
|
4768
4450
|
]>;
|
|
4769
4451
|
/**
|
|
4770
4452
|
* Withdraw an affirmation for a given instruction.
|
|
@@ -4772,7 +4454,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4772
4454
|
* # Arguments
|
|
4773
4455
|
* * `id` - Instruction id for that affirmation get withdrawn.
|
|
4774
4456
|
* * `portfolios` - Portfolios that the sender controls and wants to withdraw affirmation.
|
|
4775
|
-
* * `max_legs_count` - Number of legs that need to be un-affirmed.
|
|
4776
4457
|
*
|
|
4777
4458
|
* # Permissions
|
|
4778
4459
|
* * Portfolio
|
|
@@ -4780,31 +4461,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4780
4461
|
withdrawAffirmation: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4781
4462
|
did?: any;
|
|
4782
4463
|
kind?: any;
|
|
4783
|
-
} | string | Uint8Array)[]
|
|
4784
|
-
u64,
|
|
4785
|
-
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
4786
|
-
u32
|
|
4787
|
-
]>;
|
|
4788
|
-
/**
|
|
4789
|
-
* Withdraw an affirmation for a given instruction.
|
|
4790
|
-
*
|
|
4791
|
-
* # Arguments
|
|
4792
|
-
* * `id` - Instruction id for that affirmation get withdrawn.
|
|
4793
|
-
* * `portfolios` - Portfolios that the sender controls and wants to withdraw affirmation.
|
|
4794
|
-
* * `fungible_transfers` - number of fungible transfers in the instruction.
|
|
4795
|
-
* * `nfts_transfers` - total number of NFTs being transferred in the instruction.
|
|
4796
|
-
*
|
|
4797
|
-
* # Permissions
|
|
4798
|
-
* * Portfolio
|
|
4799
|
-
**/
|
|
4800
|
-
withdrawAffirmationV2: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4801
|
-
did?: any;
|
|
4802
|
-
kind?: any;
|
|
4803
|
-
} | string | Uint8Array)[], fungibleTransfers: u32 | AnyNumber | Uint8Array, nftsTransfers: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4464
|
+
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4804
4465
|
u64,
|
|
4805
|
-
Vec<PolymeshPrimitivesIdentityIdPortfolioId
|
|
4806
|
-
u32,
|
|
4807
|
-
u32
|
|
4466
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
4808
4467
|
]>;
|
|
4809
4468
|
};
|
|
4810
4469
|
staking: {
|
|
@@ -4818,7 +4477,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4818
4477
|
* * identity Validator's IdentityId.
|
|
4819
4478
|
* * intended_count No. of validators given identity intends to run.
|
|
4820
4479
|
**/
|
|
4821
|
-
addPermissionedValidator: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, intendedCount: Option<u32> | null |
|
|
4480
|
+
addPermissionedValidator: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, intendedCount: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
4822
4481
|
PolymeshPrimitivesIdentityId,
|
|
4823
4482
|
Option<u32>
|
|
4824
4483
|
]>;
|
|
@@ -5675,7 +5334,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5675
5334
|
} | string | Uint8Array, raisingAsset: PolymeshPrimitivesTicker | string | Uint8Array, tiers: Vec<PalletStoPriceTier> | (PalletStoPriceTier | {
|
|
5676
5335
|
total?: any;
|
|
5677
5336
|
price?: any;
|
|
5678
|
-
} | string | Uint8Array)[], venueId: u64 | AnyNumber | Uint8Array, start: Option<u64> | null |
|
|
5337
|
+
} | string | Uint8Array)[], venueId: u64 | AnyNumber | Uint8Array, start: Option<u64> | null | Uint8Array | u64 | AnyNumber, end: Option<u64> | null | Uint8Array | u64 | AnyNumber, minimumInvestment: u128 | AnyNumber | Uint8Array, fundraiserName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5679
5338
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5680
5339
|
PolymeshPrimitivesTicker,
|
|
5681
5340
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
@@ -5720,14 +5379,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5720
5379
|
} | string | Uint8Array, fundingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
5721
5380
|
did?: any;
|
|
5722
5381
|
kind?: any;
|
|
5723
|
-
} | string | Uint8Array, offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null |
|
|
5382
|
+
} | string | Uint8Array, offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null | Uint8Array | u128 | AnyNumber, receipt: Option<PolymeshPrimitivesSettlementReceiptDetails> | null | Uint8Array | PolymeshPrimitivesSettlementReceiptDetails | {
|
|
5383
|
+
uid?: any;
|
|
5384
|
+
instructionId?: any;
|
|
5385
|
+
legId?: any;
|
|
5386
|
+
signer?: any;
|
|
5387
|
+
signature?: any;
|
|
5388
|
+
metadata?: any;
|
|
5389
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
5724
5390
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5725
5391
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5726
5392
|
PolymeshPrimitivesTicker,
|
|
5727
5393
|
u64,
|
|
5728
5394
|
u128,
|
|
5729
5395
|
Option<u128>,
|
|
5730
|
-
Option<
|
|
5396
|
+
Option<PolymeshPrimitivesSettlementReceiptDetails>
|
|
5731
5397
|
]>;
|
|
5732
5398
|
/**
|
|
5733
5399
|
* Modify the time window a fundraiser is active
|
|
@@ -5740,7 +5406,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5740
5406
|
* # Permissions
|
|
5741
5407
|
* * Asset
|
|
5742
5408
|
**/
|
|
5743
|
-
modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null |
|
|
5409
|
+
modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesTicker | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
5744
5410
|
PolymeshPrimitivesTicker,
|
|
5745
5411
|
u64,
|
|
5746
5412
|
u64,
|
|
@@ -5877,16 +5543,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5877
5543
|
killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5878
5544
|
Vec<Bytes>
|
|
5879
5545
|
]>;
|
|
5880
|
-
/**
|
|
5881
|
-
* Placeholder for removed `fill_block`.
|
|
5882
|
-
**/
|
|
5883
|
-
placeholderFillBlock: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
5884
5546
|
/**
|
|
5885
5547
|
* Make some on-chain remark.
|
|
5886
5548
|
*
|
|
5887
|
-
*
|
|
5549
|
+
* ## Complexity
|
|
5888
5550
|
* - `O(1)`
|
|
5889
|
-
* # </weight>
|
|
5890
5551
|
**/
|
|
5891
5552
|
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5892
5553
|
Bytes
|
|
@@ -5900,16 +5561,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5900
5561
|
/**
|
|
5901
5562
|
* Set the new runtime code.
|
|
5902
5563
|
*
|
|
5903
|
-
*
|
|
5564
|
+
* ## Complexity
|
|
5904
5565
|
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
|
|
5905
|
-
* - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is
|
|
5906
|
-
* expensive).
|
|
5907
|
-
* - 1 storage write (codec `O(C)`).
|
|
5908
|
-
* - 1 digest item.
|
|
5909
|
-
* - 1 event.
|
|
5910
|
-
* The weight of this function is dependent on the runtime, but generally this is very
|
|
5911
|
-
* expensive. We will treat this as a full block.
|
|
5912
|
-
* # </weight>
|
|
5913
5566
|
**/
|
|
5914
5567
|
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5915
5568
|
Bytes
|
|
@@ -5917,13 +5570,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5917
5570
|
/**
|
|
5918
5571
|
* Set the new runtime code without doing any checks of the given `code`.
|
|
5919
5572
|
*
|
|
5920
|
-
*
|
|
5573
|
+
* ## Complexity
|
|
5921
5574
|
* - `O(C)` where `C` length of `code`
|
|
5922
|
-
* - 1 storage write (codec `O(C)`).
|
|
5923
|
-
* - 1 digest item.
|
|
5924
|
-
* - 1 event.
|
|
5925
|
-
* The weight of this function is dependent on the runtime. We will treat this as a full
|
|
5926
|
-
* block. # </weight>
|
|
5927
5575
|
**/
|
|
5928
5576
|
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5929
5577
|
Bytes
|
|
@@ -6062,7 +5710,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6062
5710
|
* * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
|
|
6063
5711
|
* generated claims will be "invalid" as `who` is not considered a member of the group.
|
|
6064
5712
|
**/
|
|
6065
|
-
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null |
|
|
5713
|
+
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
6066
5714
|
PolymeshPrimitivesIdentityId,
|
|
6067
5715
|
Option<u64>,
|
|
6068
5716
|
Option<u64>
|
|
@@ -6130,11 +5778,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6130
5778
|
getMyDid: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
6131
5779
|
/**
|
|
6132
5780
|
* Registers a new Identity for the `target_account` and issues a CDD claim to it.
|
|
6133
|
-
* The Investor UID is generated deterministically by the hash of the generated DID and
|
|
6134
|
-
* then we fix it to be compliant with UUID v4.
|
|
6135
|
-
*
|
|
6136
|
-
* # See
|
|
6137
|
-
* - [RFC 4122: UUID](https://tools.ietf.org/html/rfc4122)
|
|
6138
5781
|
*
|
|
6139
5782
|
* # Failure
|
|
6140
5783
|
* - `origin` has to be an active CDD provider. Inactive CDD providers cannot add new
|
|
@@ -6157,11 +5800,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6157
5800
|
* - `SecondaryKeysContainPrimaryKey` if `secondary_keys` contains the caller account.
|
|
6158
5801
|
* - `DidAlreadyExists` if auto-generated DID already exists.
|
|
6159
5802
|
**/
|
|
6160
|
-
registerDid: AugmentedSubmittable<(
|
|
5803
|
+
registerDid: AugmentedSubmittable<(secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
|
|
6161
5804
|
key?: any;
|
|
6162
5805
|
permissions?: any;
|
|
6163
5806
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6164
|
-
PolymeshPrimitivesCddIdInvestorUid,
|
|
6165
5807
|
Vec<PolymeshPrimitivesSecondaryKey>
|
|
6166
5808
|
]>;
|
|
6167
5809
|
};
|
|
@@ -6177,12 +5819,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6177
5819
|
*
|
|
6178
5820
|
* The dispatch origin for this call must be `Inherent`.
|
|
6179
5821
|
*
|
|
6180
|
-
*
|
|
5822
|
+
* ## Complexity
|
|
6181
5823
|
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
|
6182
5824
|
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
|
|
6183
5825
|
* `on_finalize`)
|
|
6184
5826
|
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
6185
|
-
* # </weight>
|
|
6186
5827
|
**/
|
|
6187
5828
|
set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6188
5829
|
Compact<u64>
|
|
@@ -6334,7 +5975,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6334
5975
|
* * `expiry` - Time-stamp when `who` is removed from CDD. As soon as it is expired, the
|
|
6335
5976
|
* generated claims will be "invalid" as `who` is not considered a member of the group.
|
|
6336
5977
|
**/
|
|
6337
|
-
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null |
|
|
5978
|
+
disableMember: AugmentedSubmittable<(who: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, at: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
6338
5979
|
PolymeshPrimitivesIdentityId,
|
|
6339
5980
|
Option<u64>,
|
|
6340
5981
|
Option<u64>
|
|
@@ -6391,20 +6032,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6391
6032
|
};
|
|
6392
6033
|
utility: {
|
|
6393
6034
|
/**
|
|
6394
|
-
*
|
|
6035
|
+
* Send a batch of dispatch calls.
|
|
6395
6036
|
*
|
|
6396
|
-
*
|
|
6037
|
+
* May be called from any origin except `None`.
|
|
6397
6038
|
*
|
|
6398
|
-
*
|
|
6039
|
+
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
6040
|
+
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
6399
6041
|
*
|
|
6400
|
-
*
|
|
6401
|
-
*
|
|
6042
|
+
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
6043
|
+
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
6402
6044
|
*
|
|
6403
|
-
*
|
|
6404
|
-
* -
|
|
6405
|
-
* - One event.
|
|
6045
|
+
* ## Complexity
|
|
6046
|
+
* - O(C) where C is the number of calls to be batched.
|
|
6406
6047
|
*
|
|
6407
|
-
* This will return `Ok` in all circumstances
|
|
6048
|
+
* This will return `Ok` in all circumstances. To determine the success of the batch, an
|
|
6408
6049
|
* event is deposited. If a call failed and the batch was interrupted, then the
|
|
6409
6050
|
* `BatchInterrupted` event is deposited, along with the number of successful calls made
|
|
6410
6051
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
@@ -6413,12 +6054,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6413
6054
|
batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6414
6055
|
Vec<Call>
|
|
6415
6056
|
]>;
|
|
6057
|
+
/**
|
|
6058
|
+
* Send a batch of dispatch calls and atomically execute them.
|
|
6059
|
+
* The whole transaction will rollback and fail if any of the calls failed.
|
|
6060
|
+
*
|
|
6061
|
+
* May be called from any origin except `None`.
|
|
6062
|
+
*
|
|
6063
|
+
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
6064
|
+
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
6065
|
+
*
|
|
6066
|
+
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
6067
|
+
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
6068
|
+
*
|
|
6069
|
+
* ## Complexity
|
|
6070
|
+
* - O(C) where C is the number of calls to be batched.
|
|
6071
|
+
**/
|
|
6072
|
+
batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6073
|
+
Vec<Call>
|
|
6074
|
+
]>;
|
|
6416
6075
|
/**
|
|
6417
6076
|
* Dispatch multiple calls from the sender's origin.
|
|
6418
6077
|
*
|
|
6419
6078
|
* This will execute all calls, in order, stopping at the first failure,
|
|
6420
6079
|
* in which case the state changes are rolled back.
|
|
6421
|
-
* On failure, an event `
|
|
6080
|
+
* On failure, an event `BatchInterruptedOld(failure_idx, error)` is deposited.
|
|
6422
6081
|
*
|
|
6423
6082
|
* May be called from root or a signed origin.
|
|
6424
6083
|
*
|
|
@@ -6431,12 +6090,39 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6431
6090
|
*
|
|
6432
6091
|
* This will return `Ok` in all circumstances except an unsigned origin.
|
|
6433
6092
|
* To determine the success of the batch, an event is deposited.
|
|
6434
|
-
* If any call failed, then `
|
|
6435
|
-
* If all were successful, then the `
|
|
6093
|
+
* If any call failed, then `BatchInterruptedOld` is deposited.
|
|
6094
|
+
* If all were successful, then the `BatchCompletedOld` event is deposited.
|
|
6095
|
+
*
|
|
6096
|
+
* POLYMESH: deprecated.
|
|
6436
6097
|
**/
|
|
6437
6098
|
batchAtomic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6438
6099
|
Vec<Call>
|
|
6439
6100
|
]>;
|
|
6101
|
+
/**
|
|
6102
|
+
* Dispatch multiple calls from the sender's origin.
|
|
6103
|
+
*
|
|
6104
|
+
* This will execute until the first one fails and then stop.
|
|
6105
|
+
*
|
|
6106
|
+
* May be called from root or a signed origin.
|
|
6107
|
+
*
|
|
6108
|
+
* # Parameters
|
|
6109
|
+
* - `calls`: The calls to be dispatched from the same origin.
|
|
6110
|
+
*
|
|
6111
|
+
* # Weight
|
|
6112
|
+
* - The sum of the weights of the `calls`.
|
|
6113
|
+
* - One event.
|
|
6114
|
+
*
|
|
6115
|
+
* This will return `Ok` in all circumstances except an unsigned origin. To determine the success of the batch, an
|
|
6116
|
+
* event is deposited. If a call failed and the batch was interrupted, then the
|
|
6117
|
+
* `BatchInterruptedOld` event is deposited, along with the number of successful calls made
|
|
6118
|
+
* and the error of the failed call. If all were successful, then the `BatchCompletedOld`
|
|
6119
|
+
* event is deposited.
|
|
6120
|
+
*
|
|
6121
|
+
* POLYMESH: Renamed from `batch` and deprecated.
|
|
6122
|
+
**/
|
|
6123
|
+
batchOld: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6124
|
+
Vec<Call>
|
|
6125
|
+
]>;
|
|
6440
6126
|
/**
|
|
6441
6127
|
* Dispatch multiple calls from the sender's origin.
|
|
6442
6128
|
*
|
|
@@ -6458,11 +6144,53 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6458
6144
|
* If any call failed, then `BatchOptimisticFailed` is deposited,
|
|
6459
6145
|
* with a vector of event counts for each call as well as a vector
|
|
6460
6146
|
* of errors.
|
|
6461
|
-
* If all were successful, then the `
|
|
6147
|
+
* If all were successful, then the `BatchCompletedOld` event is deposited.
|
|
6148
|
+
*
|
|
6149
|
+
* POLYMESH: deprecated.
|
|
6462
6150
|
**/
|
|
6463
6151
|
batchOptimistic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6464
6152
|
Vec<Call>
|
|
6465
6153
|
]>;
|
|
6154
|
+
/**
|
|
6155
|
+
* Dispatches a function call with a provided origin.
|
|
6156
|
+
*
|
|
6157
|
+
* The dispatch origin for this call must be _Root_.
|
|
6158
|
+
*
|
|
6159
|
+
* ## Complexity
|
|
6160
|
+
* - O(1).
|
|
6161
|
+
**/
|
|
6162
|
+
dispatchAs: AugmentedSubmittable<(asOrigin: PolymeshRuntimeDevelopRuntimeOriginCaller | {
|
|
6163
|
+
system: any;
|
|
6164
|
+
} | {
|
|
6165
|
+
Void: any;
|
|
6166
|
+
} | {
|
|
6167
|
+
PolymeshCommittee: any;
|
|
6168
|
+
} | {
|
|
6169
|
+
TechnicalCommittee: any;
|
|
6170
|
+
} | {
|
|
6171
|
+
UpgradeCommittee: any;
|
|
6172
|
+
} | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6173
|
+
PolymeshRuntimeDevelopRuntimeOriginCaller,
|
|
6174
|
+
Call
|
|
6175
|
+
]>;
|
|
6176
|
+
/**
|
|
6177
|
+
* Send a batch of dispatch calls.
|
|
6178
|
+
* Unlike `batch`, it allows errors and won't interrupt.
|
|
6179
|
+
*
|
|
6180
|
+
* May be called from any origin except `None`.
|
|
6181
|
+
*
|
|
6182
|
+
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
6183
|
+
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
6184
|
+
*
|
|
6185
|
+
* If origin is root then the calls are dispatch without checking origin filter. (This
|
|
6186
|
+
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
6187
|
+
*
|
|
6188
|
+
* ## Complexity
|
|
6189
|
+
* - O(C) where C is the number of calls to be batched.
|
|
6190
|
+
**/
|
|
6191
|
+
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6192
|
+
Vec<Call>
|
|
6193
|
+
]>;
|
|
6466
6194
|
/**
|
|
6467
6195
|
* Relay a call for a target from an origin
|
|
6468
6196
|
*
|
|
@@ -6476,6 +6204,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6476
6204
|
* - `signature`: Signature from target authorizing the relay
|
|
6477
6205
|
* - `call`: Call to be relayed on behalf of target
|
|
6478
6206
|
*
|
|
6207
|
+
* POLYMESH: added.
|
|
6479
6208
|
**/
|
|
6480
6209
|
relayTx: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, signature: SpRuntimeMultiSignature | {
|
|
6481
6210
|
Ed25519: any;
|
|
@@ -6491,6 +6220,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6491
6220
|
SpRuntimeMultiSignature,
|
|
6492
6221
|
PalletUtilityUniqueCall
|
|
6493
6222
|
]>;
|
|
6223
|
+
/**
|
|
6224
|
+
* Dispatch a function call with a specified weight.
|
|
6225
|
+
*
|
|
6226
|
+
* This function does not check the weight of the call, and instead allows the
|
|
6227
|
+
* Root origin to specify the weight of the call.
|
|
6228
|
+
*
|
|
6229
|
+
* The dispatch origin for this call must be _Root_.
|
|
6230
|
+
**/
|
|
6231
|
+
withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | {
|
|
6232
|
+
refTime?: any;
|
|
6233
|
+
proofSize?: any;
|
|
6234
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6235
|
+
Call,
|
|
6236
|
+
SpWeightsWeightV2Weight
|
|
6237
|
+
]>;
|
|
6494
6238
|
};
|
|
6495
6239
|
}
|
|
6496
6240
|
}
|