@polymeshassociation/polymesh-sdk 26.0.0-alpha.4 → 26.0.0-beta.1
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 +61 -1
- package/api/client/Assets.js +1 -1
- package/api/entities/Account/index.d.ts.map +1 -1
- package/api/entities/Account/index.js +13 -3
- package/api/entities/Account/index.js.map +1 -1
- package/api/entities/Asset/Base/BaseAsset.d.ts +8 -0
- package/api/entities/Asset/Base/BaseAsset.d.ts.map +1 -1
- package/api/entities/Asset/Base/BaseAsset.js +5 -1
- package/api/entities/Asset/Base/BaseAsset.js.map +1 -1
- package/api/entities/Identity/Portfolios.d.ts +8 -0
- package/api/entities/Identity/Portfolios.d.ts.map +1 -1
- package/api/entities/Identity/Portfolios.js +21 -0
- package/api/entities/Identity/Portfolios.js.map +1 -1
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +8 -1
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/TickerReservation/index.js +1 -1
- package/api/entities/Venue/types.d.ts +1 -1
- package/api/entities/Venue/types.d.ts.map +1 -1
- package/api/procedures/createAsset.d.ts +1 -1
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +38 -20
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/types.d.ts +6 -1
- package/api/procedures/types.d.ts.map +1 -1
- package/api/procedures/types.js.map +1 -1
- package/api/procedures/unlinkTickerFromAsset.d.ts +28 -0
- package/api/procedures/unlinkTickerFromAsset.d.ts.map +1 -0
- package/api/procedures/unlinkTickerFromAsset.js +81 -0
- package/api/procedures/unlinkTickerFromAsset.js.map +1 -0
- package/base/Context.js +1 -1
- package/generated/types.d.ts +4 -2
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +2 -0
- package/generated/types.js.map +1 -1
- package/internal.d.ts +1 -0
- package/internal.d.ts.map +1 -1
- package/internal.js +4 -2
- package/internal.js.map +1 -1
- package/middleware/types.d.ts +1162 -3
- package/middleware/types.d.ts.map +1 -1
- package/middleware/types.js +540 -4
- package/middleware/types.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-beta.1.tgz +0 -0
- package/package.json +2 -2
- package/polkadot/asset/definitions.js +1 -1
- package/polkadot/augment-api-errors.d.ts +30 -6
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +120 -137
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +170 -162
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +4 -4
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +198 -258
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-types.d.ts +1 -2
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/compliance/definitions.js +1 -1
- package/polkadot/lookup.d.ts +248 -251
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +398 -395
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +1 -2
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +9 -10
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +10 -11
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +3 -3
- package/polkadot/schema.d.ts +1 -2
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +14 -15
- package/polkadot/schema.js.map +1 -1
- package/polkadot/types-lookup.d.ts +411 -414
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/types/internal.d.ts +4 -4
- package/utils/constants.d.ts +1 -5
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js +2 -6
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +7 -7
- package/utils/conversion.js +2 -2
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +2 -2
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +8 -3
- package/utils/internal.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-alpha.4.tgz +0 -0
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
|
|
|
3
3
|
import type { BTreeSet, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup,
|
|
6
|
+
import type { PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from "./types-lookup.ts";
|
|
7
7
|
export declare type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
8
8
|
export declare type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
9
9
|
export declare type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -39,7 +39,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
39
39
|
*
|
|
40
40
|
* # Arguments
|
|
41
41
|
* * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
|
|
42
|
-
* * `asset_id`: the [`
|
|
42
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
43
43
|
* * `docs`: documents to be attached to the token.
|
|
44
44
|
*
|
|
45
45
|
* # Permissions
|
|
@@ -51,23 +51,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
51
51
|
name?: any;
|
|
52
52
|
docType?: any;
|
|
53
53
|
filingDate?: any;
|
|
54
|
-
} | string | Uint8Array)[], assetId:
|
|
54
|
+
} | string | Uint8Array)[], assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
55
55
|
Vec<PolymeshPrimitivesDocument>,
|
|
56
|
-
|
|
56
|
+
PolymeshPrimitivesAssetAssetId
|
|
57
57
|
]>;
|
|
58
58
|
/**
|
|
59
59
|
* Sets all identities in the `mediators` set as mandatory mediators for any instruction transfering `asset_id`.
|
|
60
60
|
*
|
|
61
61
|
* # Arguments
|
|
62
62
|
* * `origin`: The secondary key of the sender.
|
|
63
|
-
* * `asset_id`: the [`
|
|
63
|
+
* * `asset_id`: the [`AssetId`] of the asset that will require the mediators.
|
|
64
64
|
* * `mediators`: A set of [`IdentityId`] of all the mandatory mediators for the given ticker.
|
|
65
65
|
*
|
|
66
66
|
* # Permissions
|
|
67
67
|
* * Asset
|
|
68
68
|
**/
|
|
69
|
-
addMandatoryMediators: AugmentedSubmittable<(assetId:
|
|
70
|
-
|
|
69
|
+
addMandatoryMediators: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
|
|
70
|
+
PolymeshPrimitivesAssetAssetId,
|
|
71
71
|
BTreeSet<PolymeshPrimitivesIdentityId>
|
|
72
72
|
]>;
|
|
73
73
|
/**
|
|
@@ -75,7 +75,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
75
75
|
*
|
|
76
76
|
* # Arguments
|
|
77
77
|
* * `origin`: a signer that has permissions to act as an agent of `asset_id`.
|
|
78
|
-
* * `asset_id`: the [`
|
|
78
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
79
79
|
* * `value`: the [`Balance`] of tokens that will be transferred.
|
|
80
80
|
* * `from_portfolio`: the [`PortfolioId`] that will have its balance reduced.
|
|
81
81
|
*
|
|
@@ -83,11 +83,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
83
83
|
* * Asset
|
|
84
84
|
* * Portfolio
|
|
85
85
|
**/
|
|
86
|
-
controllerTransfer: AugmentedSubmittable<(assetId:
|
|
86
|
+
controllerTransfer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, fromPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
87
87
|
did?: any;
|
|
88
88
|
kind?: any;
|
|
89
89
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
90
|
-
|
|
90
|
+
PolymeshPrimitivesAssetAssetId,
|
|
91
91
|
u128,
|
|
92
92
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
93
93
|
]>;
|
|
@@ -185,33 +185,33 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
185
185
|
*
|
|
186
186
|
* # Arguments
|
|
187
187
|
* * `origin`: the secondary key of the sender.
|
|
188
|
-
* * `asset_id`: the [`
|
|
188
|
+
* * `asset_id`: the [`AssetId`] that will be exempt from affirmation.
|
|
189
189
|
*
|
|
190
190
|
* # Permissions
|
|
191
191
|
* * Root
|
|
192
192
|
**/
|
|
193
|
-
exemptAssetAffirmation: AugmentedSubmittable<(assetId:
|
|
194
|
-
|
|
193
|
+
exemptAssetAffirmation: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
194
|
+
PolymeshPrimitivesAssetAssetId
|
|
195
195
|
]>;
|
|
196
196
|
/**
|
|
197
197
|
* Freezes transfers of a given token.
|
|
198
198
|
*
|
|
199
199
|
* # Arguments
|
|
200
200
|
* * `origin`: the secondary key of the sender.
|
|
201
|
-
* * `asset_id`: the [`
|
|
201
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
202
202
|
*
|
|
203
203
|
* # Permissions
|
|
204
204
|
* * Asset
|
|
205
205
|
**/
|
|
206
|
-
freeze: AugmentedSubmittable<(assetId:
|
|
207
|
-
|
|
206
|
+
freeze: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
207
|
+
PolymeshPrimitivesAssetAssetId
|
|
208
208
|
]>;
|
|
209
209
|
/**
|
|
210
210
|
* Issue (i.e mint) new tokens to the caller, which must be an authorized external agent.
|
|
211
211
|
*
|
|
212
212
|
* # Arguments
|
|
213
213
|
* * `origin`: A signer that has permissions to act as an agent of `ticker`.
|
|
214
|
-
* * `asset_id`: the [`
|
|
214
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
215
215
|
* * `amount`: The amount of tokens that will be issued.
|
|
216
216
|
* * `portfolio_kind`: The [`PortfolioKind`] of the portfolio that will receive the minted tokens.
|
|
217
217
|
*
|
|
@@ -219,62 +219,62 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
219
219
|
* * Asset
|
|
220
220
|
* * Portfolio
|
|
221
221
|
**/
|
|
222
|
-
issue: AugmentedSubmittable<(assetId:
|
|
222
|
+
issue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
|
|
223
223
|
Default: any;
|
|
224
224
|
} | {
|
|
225
225
|
User: any;
|
|
226
226
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
227
|
-
|
|
227
|
+
PolymeshPrimitivesAssetAssetId,
|
|
228
228
|
u128,
|
|
229
229
|
PolymeshPrimitivesIdentityIdPortfolioKind
|
|
230
230
|
]>;
|
|
231
231
|
/**
|
|
232
|
-
* Establishes a connection between a ticker and an
|
|
232
|
+
* Establishes a connection between a ticker and an AssetId.
|
|
233
233
|
*
|
|
234
234
|
* # Arguments
|
|
235
235
|
* * `origin`: the secondary key of the sender.
|
|
236
236
|
* * `ticker`: the [`Ticker`] that will be linked to the given `asset_id`.
|
|
237
|
-
* * `asset_id`: the [`
|
|
237
|
+
* * `asset_id`: the [`AssetId`] that will be connected to `ticker`.
|
|
238
238
|
*
|
|
239
239
|
* # Permissions
|
|
240
240
|
* * Asset
|
|
241
241
|
**/
|
|
242
|
-
linkTickerToAssetId: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetId:
|
|
242
|
+
linkTickerToAssetId: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
243
243
|
PolymeshPrimitivesTicker,
|
|
244
|
-
|
|
244
|
+
PolymeshPrimitivesAssetAssetId
|
|
245
245
|
]>;
|
|
246
246
|
/**
|
|
247
247
|
* If the token associated to `asset_id` is indivisible, sets [`AssetDetails::divisible`] to true.
|
|
248
248
|
*
|
|
249
249
|
* # Arguments
|
|
250
250
|
* * `origin`: is a signer that has permissions to act as an agent of `ticker`.
|
|
251
|
-
* * `asset_id`: the [`
|
|
251
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
252
252
|
*
|
|
253
253
|
* # Permissions
|
|
254
254
|
* * Asset
|
|
255
255
|
**/
|
|
256
|
-
makeDivisible: AugmentedSubmittable<(assetId:
|
|
257
|
-
|
|
256
|
+
makeDivisible: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
257
|
+
PolymeshPrimitivesAssetAssetId
|
|
258
258
|
]>;
|
|
259
259
|
/**
|
|
260
260
|
* Pre-approves the receivement of an asset.
|
|
261
261
|
*
|
|
262
262
|
* # Arguments
|
|
263
263
|
* * `origin`: the secondary key of the sender.
|
|
264
|
-
* * `asset_id`: the [`
|
|
264
|
+
* * `asset_id`: the [`AssetId`] that will be exempt from affirmation.
|
|
265
265
|
*
|
|
266
266
|
* # Permissions
|
|
267
267
|
* * Asset
|
|
268
268
|
**/
|
|
269
|
-
preApproveAsset: AugmentedSubmittable<(assetId:
|
|
270
|
-
|
|
269
|
+
preApproveAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
270
|
+
PolymeshPrimitivesAssetAssetId
|
|
271
271
|
]>;
|
|
272
272
|
/**
|
|
273
273
|
* Redeems (i.e burns) existing tokens by reducing the balance of the caller's portfolio and the total supply of the token.
|
|
274
274
|
*
|
|
275
275
|
* # Arguments
|
|
276
276
|
* * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
|
|
277
|
-
* * `asset_id`: the [`
|
|
277
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
278
278
|
* * `value`: amount of tokens to redeem.
|
|
279
279
|
* * `portfolio_kind`: the [`PortfolioKind`] that will have its balance reduced.
|
|
280
280
|
*
|
|
@@ -282,12 +282,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
282
282
|
* * Asset
|
|
283
283
|
* * Portfolio
|
|
284
284
|
**/
|
|
285
|
-
redeem: AugmentedSubmittable<(assetId:
|
|
285
|
+
redeem: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
|
|
286
286
|
Default: any;
|
|
287
287
|
} | {
|
|
288
288
|
User: any;
|
|
289
289
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
290
|
-
|
|
290
|
+
PolymeshPrimitivesAssetAssetId,
|
|
291
291
|
u128,
|
|
292
292
|
PolymeshPrimitivesIdentityIdPortfolioKind
|
|
293
293
|
]>;
|
|
@@ -296,7 +296,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
296
296
|
*
|
|
297
297
|
* # Arguments
|
|
298
298
|
* * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
|
|
299
|
-
* * `asset_id`: the [`
|
|
299
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
300
300
|
* * `name`: the [`AssetMetadataName`].
|
|
301
301
|
* * `spec`: the asset metadata specifications ([`AssetMetadataSpec`]).
|
|
302
302
|
* * `value`: the [`AssetMetadataValue`] of the given metadata key.
|
|
@@ -306,7 +306,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
306
306
|
* * Agent
|
|
307
307
|
* * Asset
|
|
308
308
|
**/
|
|
309
|
-
registerAndSetLocalAssetMetadata: AugmentedSubmittable<(assetId:
|
|
309
|
+
registerAndSetLocalAssetMetadata: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
|
|
310
310
|
url?: any;
|
|
311
311
|
description?: any;
|
|
312
312
|
typeDef?: any;
|
|
@@ -314,7 +314,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
314
314
|
expire?: any;
|
|
315
315
|
lockStatus?: any;
|
|
316
316
|
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
317
|
-
|
|
317
|
+
PolymeshPrimitivesAssetAssetId,
|
|
318
318
|
Bytes,
|
|
319
319
|
PolymeshPrimitivesAssetMetadataAssetMetadataSpec,
|
|
320
320
|
Bytes,
|
|
@@ -341,7 +341,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
341
341
|
*
|
|
342
342
|
* # Arguments
|
|
343
343
|
* * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
|
|
344
|
-
* * `asset_id`: the [`
|
|
344
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
345
345
|
* * `name`: the [`AssetMetadataName`].
|
|
346
346
|
* * `spec`: the asset metadata specifications ([`AssetMetadataSpec`]).
|
|
347
347
|
*
|
|
@@ -349,12 +349,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
349
349
|
* * Agent
|
|
350
350
|
* * Asset
|
|
351
351
|
**/
|
|
352
|
-
registerAssetMetadataLocalType: AugmentedSubmittable<(assetId:
|
|
352
|
+
registerAssetMetadataLocalType: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, name: Bytes | string | Uint8Array, spec: PolymeshPrimitivesAssetMetadataAssetMetadataSpec | {
|
|
353
353
|
url?: any;
|
|
354
354
|
description?: any;
|
|
355
355
|
typeDef?: any;
|
|
356
356
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
357
|
-
|
|
357
|
+
PolymeshPrimitivesAssetAssetId,
|
|
358
358
|
Bytes,
|
|
359
359
|
PolymeshPrimitivesAssetMetadataAssetMetadataSpec
|
|
360
360
|
]>;
|
|
@@ -391,55 +391,55 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
391
391
|
*
|
|
392
392
|
* # Arguments
|
|
393
393
|
* * `origin`: the secondary key of the sender.
|
|
394
|
-
* * `asset_id`: the [`
|
|
394
|
+
* * `asset_id`: the [`AssetId`] that will have its exemption removed.
|
|
395
395
|
*
|
|
396
396
|
* # Permissions
|
|
397
397
|
* * Root
|
|
398
398
|
**/
|
|
399
|
-
removeAssetAffirmationExemption: AugmentedSubmittable<(assetId:
|
|
400
|
-
|
|
399
|
+
removeAssetAffirmationExemption: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
400
|
+
PolymeshPrimitivesAssetAssetId
|
|
401
401
|
]>;
|
|
402
402
|
/**
|
|
403
403
|
* Removes the pre approval of an asset.
|
|
404
404
|
*
|
|
405
405
|
* # Arguments
|
|
406
406
|
* * `origin` - the secondary key of the sender.
|
|
407
|
-
* * `asset_id`: the [`
|
|
407
|
+
* * `asset_id`: the [`AssetId`] that will have its exemption removed.
|
|
408
408
|
*
|
|
409
409
|
* # Permissions
|
|
410
410
|
* * Asset
|
|
411
411
|
**/
|
|
412
|
-
removeAssetPreApproval: AugmentedSubmittable<(assetId:
|
|
413
|
-
|
|
412
|
+
removeAssetPreApproval: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
413
|
+
PolymeshPrimitivesAssetAssetId
|
|
414
414
|
]>;
|
|
415
415
|
/**
|
|
416
416
|
* Remove documents for a given token.
|
|
417
417
|
*
|
|
418
418
|
* # Arguments
|
|
419
419
|
* * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
|
|
420
|
-
* * `asset_id`: the [`
|
|
420
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
421
421
|
* * `docs_id`: a vector of all [`DocumentId`] that will be removed from the token.
|
|
422
422
|
*
|
|
423
423
|
* # Permissions
|
|
424
424
|
* * Asset
|
|
425
425
|
**/
|
|
426
|
-
removeDocuments: AugmentedSubmittable<(docsId: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], assetId:
|
|
426
|
+
removeDocuments: AugmentedSubmittable<(docsId: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
427
427
|
Vec<u32>,
|
|
428
|
-
|
|
428
|
+
PolymeshPrimitivesAssetAssetId
|
|
429
429
|
]>;
|
|
430
430
|
/**
|
|
431
431
|
* Removes the asset metadata key and value of a local key.
|
|
432
432
|
*
|
|
433
433
|
* # Arguments
|
|
434
434
|
* * `origin`: the secondary key of the sender.
|
|
435
|
-
* * `asset_id`: the [`
|
|
435
|
+
* * `asset_id`: the [`AssetId`] associated to the local metadata key.
|
|
436
436
|
* * `local_key`: the [`AssetMetadataLocalKey`] that will be removed.
|
|
437
437
|
*
|
|
438
438
|
* # Permissions
|
|
439
439
|
* * Asset
|
|
440
440
|
**/
|
|
441
|
-
removeLocalMetadataKey: AugmentedSubmittable<(assetId:
|
|
442
|
-
|
|
441
|
+
removeLocalMetadataKey: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, localKey: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
442
|
+
PolymeshPrimitivesAssetAssetId,
|
|
443
443
|
u64
|
|
444
444
|
]>;
|
|
445
445
|
/**
|
|
@@ -447,14 +447,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
447
447
|
*
|
|
448
448
|
* # Arguments
|
|
449
449
|
* * `origin`: the secondary key of the sender.
|
|
450
|
-
* * `asset_id`: the [`
|
|
450
|
+
* * `asset_id`: the [`AssetId`] of the asset that will have mediators removed.
|
|
451
451
|
* * `mediators`: A set of [`IdentityId`] of all the mediators that will be removed from the mandatory mediators list.
|
|
452
452
|
*
|
|
453
453
|
* # Permissions
|
|
454
454
|
* * Asset
|
|
455
455
|
**/
|
|
456
|
-
removeMandatoryMediators: AugmentedSubmittable<(assetId:
|
|
457
|
-
|
|
456
|
+
removeMandatoryMediators: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, mediators: BTreeSet<PolymeshPrimitivesIdentityId>) => SubmittableExtrinsic<ApiType>, [
|
|
457
|
+
PolymeshPrimitivesAssetAssetId,
|
|
458
458
|
BTreeSet<PolymeshPrimitivesIdentityId>
|
|
459
459
|
]>;
|
|
460
460
|
/**
|
|
@@ -462,18 +462,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
462
462
|
*
|
|
463
463
|
* # Arguments
|
|
464
464
|
* * `origin`: the secondary key of the sender.
|
|
465
|
-
* * `asset_id`: the [`
|
|
465
|
+
* * `asset_id`: the [`AssetId`] associated to the metadata key.
|
|
466
466
|
* * `metadata_key`: the [`AssetMetadataKey`] that will have its value deleted.
|
|
467
467
|
*
|
|
468
468
|
* # Permissions
|
|
469
469
|
* * Asset
|
|
470
470
|
**/
|
|
471
|
-
removeMetadataValue: AugmentedSubmittable<(assetId:
|
|
471
|
+
removeMetadataValue: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, metadataKey: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
472
472
|
Global: any;
|
|
473
473
|
} | {
|
|
474
474
|
Local: any;
|
|
475
475
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
476
|
-
|
|
476
|
+
PolymeshPrimitivesAssetAssetId,
|
|
477
477
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
478
478
|
]>;
|
|
479
479
|
/**
|
|
@@ -481,14 +481,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
481
481
|
*
|
|
482
482
|
* # Arguments
|
|
483
483
|
* * `origin`: the secondary key of the sender.
|
|
484
|
-
* * `asset_id`: the [`
|
|
484
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
485
485
|
* * `asset_name`: the [`AssetName`] that will be associated to the token.
|
|
486
486
|
*
|
|
487
487
|
* # Permissions
|
|
488
488
|
* * Asset
|
|
489
489
|
**/
|
|
490
|
-
renameAsset: AugmentedSubmittable<(assetId:
|
|
491
|
-
|
|
490
|
+
renameAsset: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, assetName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
491
|
+
PolymeshPrimitivesAssetAssetId,
|
|
492
492
|
Bytes
|
|
493
493
|
]>;
|
|
494
494
|
/**
|
|
@@ -496,7 +496,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
496
496
|
*
|
|
497
497
|
* # Arguments
|
|
498
498
|
* * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
|
|
499
|
-
* * `asset_id`: the [`
|
|
499
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
500
500
|
* * `key`: the [`AssetMetadataKey`] associated to the token.
|
|
501
501
|
* * `value`: the [`AssetMetadataValue`] of the given metadata key.
|
|
502
502
|
* * `details`: optional [`AssetMetadataValueDetail`] (expire, lock status).
|
|
@@ -505,7 +505,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
505
505
|
* * Agent
|
|
506
506
|
* * Asset
|
|
507
507
|
**/
|
|
508
|
-
setAssetMetadata: AugmentedSubmittable<(assetId:
|
|
508
|
+
setAssetMetadata: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
509
509
|
Global: any;
|
|
510
510
|
} | {
|
|
511
511
|
Local: any;
|
|
@@ -513,7 +513,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
513
513
|
expire?: any;
|
|
514
514
|
lockStatus?: any;
|
|
515
515
|
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
516
|
-
|
|
516
|
+
PolymeshPrimitivesAssetAssetId,
|
|
517
517
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey,
|
|
518
518
|
Bytes,
|
|
519
519
|
Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>
|
|
@@ -523,7 +523,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
523
523
|
*
|
|
524
524
|
* # Arguments
|
|
525
525
|
* * `origin`: is a signer that has permissions to act as an agent of `asset_id`.
|
|
526
|
-
* * `asset_id`: the [`
|
|
526
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
527
527
|
* * `key`: the [`AssetMetadataKey`] associated to the token.
|
|
528
528
|
* * `details`: the [`AssetMetadataValueDetail`] (expire, lock status) that will be associated to the token.
|
|
529
529
|
*
|
|
@@ -531,7 +531,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
531
531
|
* * Agent
|
|
532
532
|
* * Asset
|
|
533
533
|
**/
|
|
534
|
-
setAssetMetadataDetails: AugmentedSubmittable<(assetId:
|
|
534
|
+
setAssetMetadataDetails: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, key: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
535
535
|
Global: any;
|
|
536
536
|
} | {
|
|
537
537
|
Local: any;
|
|
@@ -539,7 +539,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
539
539
|
expire?: any;
|
|
540
540
|
lockStatus?: any;
|
|
541
541
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
542
|
-
|
|
542
|
+
PolymeshPrimitivesAssetAssetId,
|
|
543
543
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey,
|
|
544
544
|
PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail
|
|
545
545
|
]>;
|
|
@@ -548,14 +548,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
548
548
|
*
|
|
549
549
|
* # Arguments
|
|
550
550
|
* * `origin`: a signer that has permissions to act as an agent of `asset_id`.
|
|
551
|
-
* * `asset_id`: the [`
|
|
551
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
552
552
|
* * `founding_round_name`: the [`FoundingRoundName`] of the current funding round.
|
|
553
553
|
*
|
|
554
554
|
* # Permissions
|
|
555
555
|
* * Asset
|
|
556
556
|
**/
|
|
557
|
-
setFundingRound: AugmentedSubmittable<(assetId:
|
|
558
|
-
|
|
557
|
+
setFundingRound: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, foundingRoundName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
558
|
+
PolymeshPrimitivesAssetAssetId,
|
|
559
559
|
Bytes
|
|
560
560
|
]>;
|
|
561
561
|
/**
|
|
@@ -563,26 +563,41 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
563
563
|
*
|
|
564
564
|
* # Arguments
|
|
565
565
|
* * `origin`: the secondary key of the sender.
|
|
566
|
-
* * `asset_id`: the [`
|
|
566
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
567
567
|
*
|
|
568
568
|
* # Permissions
|
|
569
569
|
* * Asset
|
|
570
570
|
**/
|
|
571
|
-
unfreeze: AugmentedSubmittable<(assetId:
|
|
572
|
-
|
|
571
|
+
unfreeze: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
572
|
+
PolymeshPrimitivesAssetAssetId
|
|
573
|
+
]>;
|
|
574
|
+
/**
|
|
575
|
+
* Removes the link between a ticker and an asset.
|
|
576
|
+
*
|
|
577
|
+
* # Arguments
|
|
578
|
+
* * `origin`: the secondary key of the sender.
|
|
579
|
+
* * `ticker`: the [`Ticker`] that will be unlinked from the given `asset_id`.
|
|
580
|
+
* * `asset_id`: the [`AssetId`] that will be unlink from `ticker`.
|
|
581
|
+
*
|
|
582
|
+
* # Permissions
|
|
583
|
+
* * Asset
|
|
584
|
+
**/
|
|
585
|
+
unlinkTickerFromAssetId: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
586
|
+
PolymeshPrimitivesTicker,
|
|
587
|
+
PolymeshPrimitivesAssetAssetId
|
|
573
588
|
]>;
|
|
574
589
|
/**
|
|
575
590
|
* Updates the type of an asset.
|
|
576
591
|
*
|
|
577
592
|
* # Arguments
|
|
578
593
|
* * `origin`: it contains the secondary key of the sender
|
|
579
|
-
* * `asset_id`: the [`
|
|
594
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
580
595
|
* * `asset_type`: the new [`AssetType`] of the token.
|
|
581
596
|
*
|
|
582
597
|
* # Permissions
|
|
583
598
|
* * Asset
|
|
584
599
|
**/
|
|
585
|
-
updateAssetType: AugmentedSubmittable<(assetId:
|
|
600
|
+
updateAssetType: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
|
|
586
601
|
EquityCommon: any;
|
|
587
602
|
} | {
|
|
588
603
|
EquityPreferred: any;
|
|
@@ -607,7 +622,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
607
622
|
} | {
|
|
608
623
|
NonFungible: any;
|
|
609
624
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
610
|
-
|
|
625
|
+
PolymeshPrimitivesAssetAssetId,
|
|
611
626
|
PolymeshPrimitivesAssetAssetType
|
|
612
627
|
]>;
|
|
613
628
|
/**
|
|
@@ -615,13 +630,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
615
630
|
*
|
|
616
631
|
* # Arguments
|
|
617
632
|
* * `origin`: a signer that has permissions to act as an agent of `asset_id`.
|
|
618
|
-
* * `asset_id`: the [`
|
|
633
|
+
* * `asset_id`: the [`AssetId`] associated to the token.
|
|
619
634
|
* * `asset_identifiers`: a vector of [`AssetIdentifier`] that will be associated to the token.
|
|
620
635
|
*
|
|
621
636
|
* # Permissions
|
|
622
637
|
* * Asset
|
|
623
638
|
**/
|
|
624
|
-
updateIdentifiers: AugmentedSubmittable<(assetId:
|
|
639
|
+
updateIdentifiers: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, assetIdentifiers: Vec<PolymeshPrimitivesAssetIdentifier> | (PolymeshPrimitivesAssetIdentifier | {
|
|
625
640
|
CUSIP: any;
|
|
626
641
|
} | {
|
|
627
642
|
CINS: any;
|
|
@@ -632,7 +647,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
632
647
|
} | {
|
|
633
648
|
FIGI: any;
|
|
634
649
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
635
|
-
|
|
650
|
+
PolymeshPrimitivesAssetAssetId,
|
|
636
651
|
Vec<PolymeshPrimitivesAssetIdentifier>
|
|
637
652
|
]>;
|
|
638
653
|
};
|
|
@@ -906,10 +921,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
906
921
|
distribute: AugmentedSubmittable<(caId: PalletCorporateActionsCaId | {
|
|
907
922
|
assetId?: any;
|
|
908
923
|
localId?: any;
|
|
909
|
-
} | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency:
|
|
924
|
+
} | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
910
925
|
PalletCorporateActionsCaId,
|
|
911
926
|
Option<u64>,
|
|
912
|
-
|
|
927
|
+
PolymeshPrimitivesAssetAssetId,
|
|
913
928
|
u128,
|
|
914
929
|
u128,
|
|
915
930
|
u64,
|
|
@@ -1096,8 +1111,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1096
1111
|
* - `UnauthorizedAgent` if the DID of `origin` isn't a permissioned agent for `asset_id`.
|
|
1097
1112
|
* - `CounterOverflow` if the total checkpoint counter would overflow.
|
|
1098
1113
|
**/
|
|
1099
|
-
createCheckpoint: AugmentedSubmittable<(assetId:
|
|
1100
|
-
|
|
1114
|
+
createCheckpoint: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1115
|
+
PolymeshPrimitivesAssetAssetId
|
|
1101
1116
|
]>;
|
|
1102
1117
|
/**
|
|
1103
1118
|
* Creates a schedule generating checkpoints
|
|
@@ -1118,10 +1133,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1118
1133
|
* # Permissions
|
|
1119
1134
|
* * Asset
|
|
1120
1135
|
**/
|
|
1121
|
-
createSchedule: AugmentedSubmittable<(assetId:
|
|
1136
|
+
createSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, schedule: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints | {
|
|
1122
1137
|
pending?: any;
|
|
1123
1138
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1124
|
-
|
|
1139
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1125
1140
|
PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
|
|
1126
1141
|
]>;
|
|
1127
1142
|
/**
|
|
@@ -1140,8 +1155,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1140
1155
|
* # Permissions
|
|
1141
1156
|
* * Asset
|
|
1142
1157
|
**/
|
|
1143
|
-
removeSchedule: AugmentedSubmittable<(assetId:
|
|
1144
|
-
|
|
1158
|
+
removeSchedule: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1159
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1145
1160
|
u64
|
|
1146
1161
|
]>;
|
|
1147
1162
|
/**
|
|
@@ -1270,14 +1285,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1270
1285
|
* # Permissions
|
|
1271
1286
|
* * Asset
|
|
1272
1287
|
**/
|
|
1273
|
-
addComplianceRequirement: AugmentedSubmittable<(assetId:
|
|
1288
|
+
addComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, senderConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
|
|
1274
1289
|
conditionType?: any;
|
|
1275
1290
|
issuers?: any;
|
|
1276
1291
|
} | string | Uint8Array)[], receiverConditions: Vec<PolymeshPrimitivesCondition> | (PolymeshPrimitivesCondition | {
|
|
1277
1292
|
conditionType?: any;
|
|
1278
1293
|
issuers?: any;
|
|
1279
1294
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
1280
|
-
|
|
1295
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1281
1296
|
Vec<PolymeshPrimitivesCondition>,
|
|
1282
1297
|
Vec<PolymeshPrimitivesCondition>
|
|
1283
1298
|
]>;
|
|
@@ -1292,11 +1307,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1292
1307
|
* # Permissions
|
|
1293
1308
|
* * Asset
|
|
1294
1309
|
**/
|
|
1295
|
-
addDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId:
|
|
1310
|
+
addDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, issuer: PolymeshPrimitivesConditionTrustedIssuer | {
|
|
1296
1311
|
issuer?: any;
|
|
1297
1312
|
trustedFor?: any;
|
|
1298
1313
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1299
|
-
|
|
1314
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1300
1315
|
PolymeshPrimitivesConditionTrustedIssuer
|
|
1301
1316
|
]>;
|
|
1302
1317
|
/**
|
|
@@ -1310,12 +1325,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1310
1325
|
* # Permissions
|
|
1311
1326
|
* * Asset
|
|
1312
1327
|
**/
|
|
1313
|
-
changeComplianceRequirement: AugmentedSubmittable<(assetId:
|
|
1328
|
+
changeComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, newReq: PolymeshPrimitivesComplianceManagerComplianceRequirement | {
|
|
1314
1329
|
senderConditions?: any;
|
|
1315
1330
|
receiverConditions?: any;
|
|
1316
1331
|
id?: any;
|
|
1317
1332
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1318
|
-
|
|
1333
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1319
1334
|
PolymeshPrimitivesComplianceManagerComplianceRequirement
|
|
1320
1335
|
]>;
|
|
1321
1336
|
/**
|
|
@@ -1328,8 +1343,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1328
1343
|
* # Permissions
|
|
1329
1344
|
* * Asset
|
|
1330
1345
|
**/
|
|
1331
|
-
pauseAssetCompliance: AugmentedSubmittable<(assetId:
|
|
1332
|
-
|
|
1346
|
+
pauseAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1347
|
+
PolymeshPrimitivesAssetAssetId
|
|
1333
1348
|
]>;
|
|
1334
1349
|
/**
|
|
1335
1350
|
* Removes a compliance requirement from an asset's compliance.
|
|
@@ -1342,8 +1357,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1342
1357
|
* # Permissions
|
|
1343
1358
|
* * Asset
|
|
1344
1359
|
**/
|
|
1345
|
-
removeComplianceRequirement: AugmentedSubmittable<(assetId:
|
|
1346
|
-
|
|
1360
|
+
removeComplianceRequirement: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1361
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1347
1362
|
u32
|
|
1348
1363
|
]>;
|
|
1349
1364
|
/**
|
|
@@ -1357,8 +1372,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1357
1372
|
* # Permissions
|
|
1358
1373
|
* * Asset
|
|
1359
1374
|
**/
|
|
1360
|
-
removeDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId:
|
|
1361
|
-
|
|
1375
|
+
removeDefaultTrustedClaimIssuer: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, issuer: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1376
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1362
1377
|
PolymeshPrimitivesIdentityId
|
|
1363
1378
|
]>;
|
|
1364
1379
|
/**
|
|
@@ -1378,12 +1393,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1378
1393
|
* # Permissions
|
|
1379
1394
|
* * Asset
|
|
1380
1395
|
**/
|
|
1381
|
-
replaceAssetCompliance: AugmentedSubmittable<(assetId:
|
|
1396
|
+
replaceAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, assetCompliance: Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement> | (PolymeshPrimitivesComplianceManagerComplianceRequirement | {
|
|
1382
1397
|
senderConditions?: any;
|
|
1383
1398
|
receiverConditions?: any;
|
|
1384
1399
|
id?: any;
|
|
1385
1400
|
} | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
1386
|
-
|
|
1401
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1387
1402
|
Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement>
|
|
1388
1403
|
]>;
|
|
1389
1404
|
/**
|
|
@@ -1396,8 +1411,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1396
1411
|
* # Permissions
|
|
1397
1412
|
* * Asset
|
|
1398
1413
|
**/
|
|
1399
|
-
resetAssetCompliance: AugmentedSubmittable<(assetId:
|
|
1400
|
-
|
|
1414
|
+
resetAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1415
|
+
PolymeshPrimitivesAssetAssetId
|
|
1401
1416
|
]>;
|
|
1402
1417
|
/**
|
|
1403
1418
|
* Resumes the verification of conditions for `asset_id` during transfers.
|
|
@@ -1409,8 +1424,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1409
1424
|
* # Permissions
|
|
1410
1425
|
* * Asset
|
|
1411
1426
|
**/
|
|
1412
|
-
resumeAssetCompliance: AugmentedSubmittable<(assetId:
|
|
1413
|
-
|
|
1427
|
+
resumeAssetCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1428
|
+
PolymeshPrimitivesAssetAssetId
|
|
1414
1429
|
]>;
|
|
1415
1430
|
};
|
|
1416
1431
|
contracts: {
|
|
@@ -1677,7 +1692,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1677
1692
|
* # Permissions
|
|
1678
1693
|
* * Asset
|
|
1679
1694
|
**/
|
|
1680
|
-
initiateCorporateAction: AugmentedSubmittable<(assetId:
|
|
1695
|
+
initiateCorporateAction: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, kind: PalletCorporateActionsCaKind | 'PredictableBenefit' | 'UnpredictableBenefit' | 'IssuerNotice' | 'Reorganization' | 'Other' | number | Uint8Array, declDate: u64 | AnyNumber | Uint8Array, recordDate: Option<PalletCorporateActionsRecordDateSpec> | null | Uint8Array | PalletCorporateActionsRecordDateSpec | {
|
|
1681
1696
|
Scheduled: any;
|
|
1682
1697
|
} | {
|
|
1683
1698
|
ExistingSchedule: any;
|
|
@@ -1690,7 +1705,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1690
1705
|
PolymeshPrimitivesIdentityId | string | Uint8Array,
|
|
1691
1706
|
Permill | AnyNumber | Uint8Array
|
|
1692
1707
|
][]) => SubmittableExtrinsic<ApiType>, [
|
|
1693
|
-
|
|
1708
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1694
1709
|
PalletCorporateActionsCaKind,
|
|
1695
1710
|
u64,
|
|
1696
1711
|
Option<PalletCorporateActionsRecordDateSpec>,
|
|
@@ -1711,10 +1726,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1711
1726
|
targets?: any;
|
|
1712
1727
|
defaultWithholdingTax?: any;
|
|
1713
1728
|
withholdingTax?: any;
|
|
1714
|
-
} | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency:
|
|
1729
|
+
} | string | Uint8Array, portfolio: Option<u64> | null | Uint8Array | u64 | AnyNumber, currency: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perShare: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array, paymentAt: u64 | AnyNumber | Uint8Array, expiresAt: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
1715
1730
|
PalletCorporateActionsInitiateCorporateActionArgs,
|
|
1716
1731
|
Option<u64>,
|
|
1717
|
-
|
|
1732
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1718
1733
|
u128,
|
|
1719
1734
|
u128,
|
|
1720
1735
|
u64,
|
|
@@ -1788,11 +1803,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1788
1803
|
* # Permissions
|
|
1789
1804
|
* * Asset
|
|
1790
1805
|
**/
|
|
1791
|
-
setDefaultTargets: AugmentedSubmittable<(assetId:
|
|
1806
|
+
setDefaultTargets: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, targets: PalletCorporateActionsTargetIdentities | {
|
|
1792
1807
|
identities?: any;
|
|
1793
1808
|
treatment?: any;
|
|
1794
1809
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1795
|
-
|
|
1810
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1796
1811
|
PalletCorporateActionsTargetIdentities
|
|
1797
1812
|
]>;
|
|
1798
1813
|
/**
|
|
@@ -1809,8 +1824,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1809
1824
|
* # Permissions
|
|
1810
1825
|
* * Asset
|
|
1811
1826
|
**/
|
|
1812
|
-
setDefaultWithholdingTax: AugmentedSubmittable<(assetId:
|
|
1813
|
-
|
|
1827
|
+
setDefaultWithholdingTax: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, tax: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1828
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1814
1829
|
Permill
|
|
1815
1830
|
]>;
|
|
1816
1831
|
/**
|
|
@@ -1831,8 +1846,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1831
1846
|
* # Permissions
|
|
1832
1847
|
* * Asset
|
|
1833
1848
|
**/
|
|
1834
|
-
setDidWithholdingTax: AugmentedSubmittable<(assetId:
|
|
1835
|
-
|
|
1849
|
+
setDidWithholdingTax: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, taxedDid: PolymeshPrimitivesIdentityId | string | Uint8Array, tax: Option<Permill> | null | Uint8Array | Permill | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
1850
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1836
1851
|
PolymeshPrimitivesIdentityId,
|
|
1837
1852
|
Option<Permill>
|
|
1838
1853
|
]>;
|
|
@@ -2097,7 +2112,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2097
2112
|
* Abdicate agentship for `asset_id`.
|
|
2098
2113
|
*
|
|
2099
2114
|
* # Arguments
|
|
2100
|
-
* - `assetID` the [`
|
|
2115
|
+
* - `assetID` the [`AssetId] of which the caller is an agent.
|
|
2101
2116
|
*
|
|
2102
2117
|
* # Errors
|
|
2103
2118
|
* - `NotAnAgent` if the caller is not an agent of `asset_id`.
|
|
@@ -2106,8 +2121,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2106
2121
|
* # Permissions
|
|
2107
2122
|
* * Asset
|
|
2108
2123
|
**/
|
|
2109
|
-
abdicate: AugmentedSubmittable<(assetId:
|
|
2110
|
-
|
|
2124
|
+
abdicate: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2125
|
+
PolymeshPrimitivesAssetAssetId
|
|
2111
2126
|
]>;
|
|
2112
2127
|
/**
|
|
2113
2128
|
* Accept an authorization by an agent "Alice" who issued `auth_id`
|
|
@@ -2134,7 +2149,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2134
2149
|
* Change the agent group that `agent` belongs to in `asset_id`.
|
|
2135
2150
|
*
|
|
2136
2151
|
* # Arguments
|
|
2137
|
-
* - `assetID` the [`
|
|
2152
|
+
* - `assetID` the [`AssetId] that has the `agent`.
|
|
2138
2153
|
* - `agent` of `asset_id` to change the group for.
|
|
2139
2154
|
* - `group` that `agent` will belong to in `asset_id`.
|
|
2140
2155
|
*
|
|
@@ -2148,7 +2163,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2148
2163
|
* * Asset
|
|
2149
2164
|
* * Agent
|
|
2150
2165
|
**/
|
|
2151
|
-
changeGroup: AugmentedSubmittable<(assetId:
|
|
2166
|
+
changeGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array, group: PolymeshPrimitivesAgentAgentGroup | {
|
|
2152
2167
|
Full: any;
|
|
2153
2168
|
} | {
|
|
2154
2169
|
Custom: any;
|
|
@@ -2159,7 +2174,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2159
2174
|
} | {
|
|
2160
2175
|
PolymeshV1PIA: any;
|
|
2161
2176
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2162
|
-
|
|
2177
|
+
PolymeshPrimitivesAssetAssetId,
|
|
2163
2178
|
PolymeshPrimitivesIdentityId,
|
|
2164
2179
|
PolymeshPrimitivesAgentAgentGroup
|
|
2165
2180
|
]>;
|
|
@@ -2170,14 +2185,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2170
2185
|
* * Asset
|
|
2171
2186
|
* * Agent
|
|
2172
2187
|
**/
|
|
2173
|
-
createAndChangeCustomGroup: AugmentedSubmittable<(assetId:
|
|
2188
|
+
createAndChangeCustomGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
|
|
2174
2189
|
Whole: any;
|
|
2175
2190
|
} | {
|
|
2176
2191
|
These: any;
|
|
2177
2192
|
} | {
|
|
2178
2193
|
Except: any;
|
|
2179
2194
|
} | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2180
|
-
|
|
2195
|
+
PolymeshPrimitivesAssetAssetId,
|
|
2181
2196
|
PolymeshPrimitivesSecondaryKeyExtrinsicPermissions,
|
|
2182
2197
|
PolymeshPrimitivesIdentityId
|
|
2183
2198
|
]>;
|
|
@@ -2189,7 +2204,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2189
2204
|
* which you can use as `AgentGroup::Custom(id)` when adding agents for `asset_id`.
|
|
2190
2205
|
*
|
|
2191
2206
|
* # Arguments
|
|
2192
|
-
* - `assetID` the [`
|
|
2207
|
+
* - `assetID` the [`AssetId] to add the custom group for.
|
|
2193
2208
|
* - `perms` that the new AG will have.
|
|
2194
2209
|
*
|
|
2195
2210
|
* # Errors
|
|
@@ -2201,14 +2216,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2201
2216
|
* * Asset
|
|
2202
2217
|
* * Agent
|
|
2203
2218
|
**/
|
|
2204
|
-
createGroup: AugmentedSubmittable<(assetId:
|
|
2219
|
+
createGroup: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
|
|
2205
2220
|
Whole: any;
|
|
2206
2221
|
} | {
|
|
2207
2222
|
These: any;
|
|
2208
2223
|
} | {
|
|
2209
2224
|
Except: any;
|
|
2210
2225
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2211
|
-
|
|
2226
|
+
PolymeshPrimitivesAssetAssetId,
|
|
2212
2227
|
PolymeshPrimitivesSecondaryKeyExtrinsicPermissions
|
|
2213
2228
|
]>;
|
|
2214
2229
|
/**
|
|
@@ -2218,14 +2233,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2218
2233
|
* * Asset
|
|
2219
2234
|
* * Agent
|
|
2220
2235
|
**/
|
|
2221
|
-
createGroupAndAddAuth: AugmentedSubmittable<(assetId:
|
|
2236
|
+
createGroupAndAddAuth: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
|
|
2222
2237
|
Whole: any;
|
|
2223
2238
|
} | {
|
|
2224
2239
|
These: any;
|
|
2225
2240
|
} | {
|
|
2226
2241
|
Except: any;
|
|
2227
2242
|
} | string | Uint8Array, target: PolymeshPrimitivesIdentityId | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
2228
|
-
|
|
2243
|
+
PolymeshPrimitivesAssetAssetId,
|
|
2229
2244
|
PolymeshPrimitivesSecondaryKeyExtrinsicPermissions,
|
|
2230
2245
|
PolymeshPrimitivesIdentityId,
|
|
2231
2246
|
Option<u64>
|
|
@@ -2234,7 +2249,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2234
2249
|
* Remove the given `agent` from `asset_id`.
|
|
2235
2250
|
*
|
|
2236
2251
|
* # Arguments
|
|
2237
|
-
* - `assetID` the [`
|
|
2252
|
+
* - `assetID` the [`AssetId] that has the `agent` to remove.
|
|
2238
2253
|
* - `agent` of `asset_id` to remove.
|
|
2239
2254
|
*
|
|
2240
2255
|
* # Errors
|
|
@@ -2246,15 +2261,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2246
2261
|
* * Asset
|
|
2247
2262
|
* * Agent
|
|
2248
2263
|
**/
|
|
2249
|
-
removeAgent: AugmentedSubmittable<(assetId:
|
|
2250
|
-
|
|
2264
|
+
removeAgent: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, agent: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2265
|
+
PolymeshPrimitivesAssetAssetId,
|
|
2251
2266
|
PolymeshPrimitivesIdentityId
|
|
2252
2267
|
]>;
|
|
2253
2268
|
/**
|
|
2254
2269
|
* Updates the permissions of the custom AG identified by `id`, for the given `asset_id`.
|
|
2255
2270
|
*
|
|
2256
2271
|
* # Arguments
|
|
2257
|
-
* - `assetID` the [`
|
|
2272
|
+
* - `assetID` the [`AssetId] the custom AG belongs to.
|
|
2258
2273
|
* - `id` for the custom AG within `asset_id`.
|
|
2259
2274
|
* - `perms` to update the custom AG to.
|
|
2260
2275
|
*
|
|
@@ -2267,14 +2282,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2267
2282
|
* * Asset
|
|
2268
2283
|
* * Agent
|
|
2269
2284
|
**/
|
|
2270
|
-
setGroupPermissions: AugmentedSubmittable<(assetId:
|
|
2285
|
+
setGroupPermissions: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u32 | AnyNumber | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions | {
|
|
2271
2286
|
Whole: any;
|
|
2272
2287
|
} | {
|
|
2273
2288
|
These: any;
|
|
2274
2289
|
} | {
|
|
2275
2290
|
Except: any;
|
|
2276
2291
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2277
|
-
|
|
2292
|
+
PolymeshPrimitivesAssetAssetId,
|
|
2278
2293
|
u32,
|
|
2279
2294
|
PolymeshPrimitivesSecondaryKeyExtrinsicPermissions
|
|
2280
2295
|
]>;
|
|
@@ -2990,6 +3005,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2990
3005
|
AccountId32,
|
|
2991
3006
|
u64
|
|
2992
3007
|
]>;
|
|
3008
|
+
/**
|
|
3009
|
+
* Removes the admin identity from the `multisig`. This must be called by the multisig itself.
|
|
3010
|
+
**/
|
|
3011
|
+
removeAdmin: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
2993
3012
|
/**
|
|
2994
3013
|
* Removes the admin identity from the `multisig`. This must be called by the admin of the multisig.
|
|
2995
3014
|
**/
|
|
@@ -3063,7 +3082,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3063
3082
|
*
|
|
3064
3083
|
* # Arguments
|
|
3065
3084
|
* * `origin` - contains the secondary key of the caller (i.e. who signed the transaction to execute this function).
|
|
3066
|
-
* * `asset_id` - optional [`
|
|
3085
|
+
* * `asset_id` - optional [`AssetId`] associated to the new collection. `None` will create a new asset.
|
|
3067
3086
|
* * `nft_type` - in case the asset hasn't been created yet, one will be created with the given type.
|
|
3068
3087
|
* * `collection_keys` - all mandatory metadata keys that the tokens in the collection must have.
|
|
3069
3088
|
*
|
|
@@ -3077,7 +3096,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3077
3096
|
* # Permissions
|
|
3078
3097
|
* * Asset
|
|
3079
3098
|
**/
|
|
3080
|
-
createNftCollection: AugmentedSubmittable<(assetId: Option<
|
|
3099
|
+
createNftCollection: AugmentedSubmittable<(assetId: Option<PolymeshPrimitivesAssetAssetId> | null | Uint8Array | PolymeshPrimitivesAssetAssetId | string, nftType: Option<PolymeshPrimitivesAssetNonFungibleType> | null | Uint8Array | PolymeshPrimitivesAssetNonFungibleType | {
|
|
3081
3100
|
Derivative: any;
|
|
3082
3101
|
} | {
|
|
3083
3102
|
FixedIncome: any;
|
|
@@ -3086,7 +3105,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3086
3105
|
} | {
|
|
3087
3106
|
Custom: any;
|
|
3088
3107
|
} | string, collectionKeys: PolymeshPrimitivesNftNftCollectionKeys) => SubmittableExtrinsic<ApiType>, [
|
|
3089
|
-
Option<
|
|
3108
|
+
Option<PolymeshPrimitivesAssetAssetId>,
|
|
3090
3109
|
Option<PolymeshPrimitivesAssetNonFungibleType>,
|
|
3091
3110
|
PolymeshPrimitivesNftNftCollectionKeys
|
|
3092
3111
|
]>;
|
|
@@ -3095,7 +3114,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3095
3114
|
*
|
|
3096
3115
|
* # Arguments
|
|
3097
3116
|
* * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
|
|
3098
|
-
* * `asset_id` - the [`
|
|
3117
|
+
* * `asset_id` - the [`AssetId`] of the NFT collection.
|
|
3099
3118
|
* * `nft_metadata_attributes` - all mandatory metadata keys and values for the NFT.
|
|
3100
3119
|
* - `portfolio_kind` - the portfolio that will receive the minted nft.
|
|
3101
3120
|
*
|
|
@@ -3109,7 +3128,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3109
3128
|
* * Asset
|
|
3110
3129
|
* * Portfolio
|
|
3111
3130
|
**/
|
|
3112
|
-
issueNft: AugmentedSubmittable<(assetId:
|
|
3131
|
+
issueNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, nftMetadataAttributes: Vec<PolymeshPrimitivesNftNftMetadataAttribute> | (PolymeshPrimitivesNftNftMetadataAttribute | {
|
|
3113
3132
|
key?: any;
|
|
3114
3133
|
value?: any;
|
|
3115
3134
|
} | string | Uint8Array)[], portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
|
|
@@ -3117,7 +3136,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3117
3136
|
} | {
|
|
3118
3137
|
User: any;
|
|
3119
3138
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3120
|
-
|
|
3139
|
+
PolymeshPrimitivesAssetAssetId,
|
|
3121
3140
|
Vec<PolymeshPrimitivesNftNftMetadataAttribute>,
|
|
3122
3141
|
PolymeshPrimitivesIdentityIdPortfolioKind
|
|
3123
3142
|
]>;
|
|
@@ -3126,7 +3145,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3126
3145
|
*
|
|
3127
3146
|
* # Arguments
|
|
3128
3147
|
* * `origin` - is a signer that has permissions to act as an agent of `asset_id`.
|
|
3129
|
-
* * `asset_id` - the [`
|
|
3148
|
+
* * `asset_id` - the [`AssetId`] of the NFT collection.
|
|
3130
3149
|
* * `nft_id` - the id of the NFT to be burned.
|
|
3131
3150
|
* * `portfolio_kind` - the portfolio that contains the nft.
|
|
3132
3151
|
*
|
|
@@ -3138,12 +3157,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3138
3157
|
* * Asset
|
|
3139
3158
|
* * Portfolio
|
|
3140
3159
|
**/
|
|
3141
|
-
redeemNft: AugmentedSubmittable<(assetId:
|
|
3160
|
+
redeemNft: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, nftId: u64 | AnyNumber | Uint8Array, portfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
|
|
3142
3161
|
Default: any;
|
|
3143
3162
|
} | {
|
|
3144
3163
|
User: any;
|
|
3145
3164
|
} | string | Uint8Array, numberOfKeys: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
3146
|
-
|
|
3165
|
+
PolymeshPrimitivesAssetAssetId,
|
|
3147
3166
|
u64,
|
|
3148
3167
|
PolymeshPrimitivesIdentityIdPortfolioKind,
|
|
3149
3168
|
Option<u8>
|
|
@@ -3689,17 +3708,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3689
3708
|
*
|
|
3690
3709
|
* # Arguments
|
|
3691
3710
|
* * `origin` - the secondary key of the sender.
|
|
3692
|
-
* * `asset_id` - the [`
|
|
3711
|
+
* * `asset_id` - the [`AssetId`] that will be exempt from affirmation.
|
|
3693
3712
|
* * `portfolio_id` - the [`PortfolioId`] that can receive `asset_id` without affirmation.
|
|
3694
3713
|
*
|
|
3695
3714
|
* # Permissions
|
|
3696
3715
|
* * Portfolio
|
|
3697
3716
|
**/
|
|
3698
|
-
preApprovePortfolio: AugmentedSubmittable<(assetId:
|
|
3717
|
+
preApprovePortfolio: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3699
3718
|
did?: any;
|
|
3700
3719
|
kind?: any;
|
|
3701
3720
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3702
|
-
|
|
3721
|
+
PolymeshPrimitivesAssetAssetId,
|
|
3703
3722
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
3704
3723
|
]>;
|
|
3705
3724
|
/**
|
|
@@ -3723,17 +3742,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3723
3742
|
*
|
|
3724
3743
|
* # Arguments
|
|
3725
3744
|
* * `origin` - the secondary key of the sender.
|
|
3726
|
-
* * `asset_id` - the [`
|
|
3745
|
+
* * `asset_id` - the [`AssetId`] that will be exempt from affirmation.
|
|
3727
3746
|
* * `portfolio_id` - the [`PortfolioId`] that can receive `asset_id` without affirmation.
|
|
3728
3747
|
*
|
|
3729
3748
|
* # Permissions
|
|
3730
3749
|
* * Portfolio
|
|
3731
3750
|
**/
|
|
3732
|
-
removePortfolioPreApproval: AugmentedSubmittable<(assetId:
|
|
3751
|
+
removePortfolioPreApproval: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, portfolioId: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3733
3752
|
did?: any;
|
|
3734
3753
|
kind?: any;
|
|
3735
3754
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3736
|
-
|
|
3755
|
+
PolymeshPrimitivesAssetAssetId,
|
|
3737
3756
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
3738
3757
|
]>;
|
|
3739
3758
|
/**
|
|
@@ -4274,14 +4293,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4274
4293
|
/**
|
|
4275
4294
|
* Allows additional venues to create instructions involving an asset.
|
|
4276
4295
|
*
|
|
4277
|
-
* * `asset_id` -
|
|
4296
|
+
* * `asset_id` - AssetId of the token in question.
|
|
4278
4297
|
* * `venues` - Array of venues that are allowed to create instructions for the token in question.
|
|
4279
4298
|
*
|
|
4280
4299
|
* # Permissions
|
|
4281
4300
|
* * Asset
|
|
4282
4301
|
**/
|
|
4283
|
-
allowVenues: AugmentedSubmittable<(assetId:
|
|
4284
|
-
|
|
4302
|
+
allowVenues: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4303
|
+
PolymeshPrimitivesAssetAssetId,
|
|
4285
4304
|
Vec<u64>
|
|
4286
4305
|
]>;
|
|
4287
4306
|
/**
|
|
@@ -4299,14 +4318,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4299
4318
|
/**
|
|
4300
4319
|
* Revokes permission given to venues for creating instructions involving a particular asset.
|
|
4301
4320
|
*
|
|
4302
|
-
* * `asset_id` -
|
|
4321
|
+
* * `asset_id` - AssetId of the token in question.
|
|
4303
4322
|
* * `venues` - Array of venues that are no longer allowed to create instructions for the token in question.
|
|
4304
4323
|
*
|
|
4305
4324
|
* # Permissions
|
|
4306
4325
|
* * Asset
|
|
4307
4326
|
**/
|
|
4308
|
-
disallowVenues: AugmentedSubmittable<(assetId:
|
|
4309
|
-
|
|
4327
|
+
disallowVenues: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, venues: Vec<u64> | (u64 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4328
|
+
PolymeshPrimitivesAssetAssetId,
|
|
4310
4329
|
Vec<u64>
|
|
4311
4330
|
]>;
|
|
4312
4331
|
/**
|
|
@@ -4411,14 +4430,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4411
4430
|
* Enables or disabled venue filtering for a token.
|
|
4412
4431
|
*
|
|
4413
4432
|
* # Arguments
|
|
4414
|
-
* * `asset_id` -
|
|
4433
|
+
* * `asset_id` - AssetId of the token in question.
|
|
4415
4434
|
* * `enabled` - Boolean that decides if the filtering should be enabled.
|
|
4416
4435
|
*
|
|
4417
4436
|
* # Permissions
|
|
4418
4437
|
* * Asset
|
|
4419
4438
|
**/
|
|
4420
|
-
setVenueFiltering: AugmentedSubmittable<(assetId:
|
|
4421
|
-
|
|
4439
|
+
setVenueFiltering: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4440
|
+
PolymeshPrimitivesAssetAssetId,
|
|
4422
4441
|
bool
|
|
4423
4442
|
]>;
|
|
4424
4443
|
/**
|
|
@@ -5078,7 +5097,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5078
5097
|
*
|
|
5079
5098
|
* # Arguments
|
|
5080
5099
|
* - `origin` - a signer that has permissions to act as an agent of `asset_id`.
|
|
5081
|
-
* - `asset_id` - the [`
|
|
5100
|
+
* - `asset_id` - the [`AssetId`] to change the active stats on.
|
|
5082
5101
|
* - `stat_type` - stat type to update.
|
|
5083
5102
|
* - `values` - Updated values for `stat_type`.
|
|
5084
5103
|
*
|
|
@@ -5090,11 +5109,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5090
5109
|
* - Agent
|
|
5091
5110
|
* - Asset
|
|
5092
5111
|
**/
|
|
5093
|
-
batchUpdateAssetStats: AugmentedSubmittable<(assetId:
|
|
5112
|
+
batchUpdateAssetStats: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, statType: PolymeshPrimitivesStatisticsStatType | {
|
|
5094
5113
|
operationType?: any;
|
|
5095
5114
|
claimIssuer?: any;
|
|
5096
5115
|
} | string | Uint8Array, values: BTreeSet<PolymeshPrimitivesStatisticsStatUpdate>) => SubmittableExtrinsic<ApiType>, [
|
|
5097
|
-
|
|
5116
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5098
5117
|
PolymeshPrimitivesStatisticsStatType,
|
|
5099
5118
|
BTreeSet<PolymeshPrimitivesStatisticsStatUpdate>
|
|
5100
5119
|
]>;
|
|
@@ -5103,7 +5122,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5103
5122
|
*
|
|
5104
5123
|
* # Arguments
|
|
5105
5124
|
* - `origin` - a signer that has permissions to act as an agent of `asset_id`.
|
|
5106
|
-
* - `asset_id` - the [`
|
|
5125
|
+
* - `asset_id` - the [`AssetId`] to change the active stats on.
|
|
5107
5126
|
* - `stat_types` - the new stat types to replace any existing types.
|
|
5108
5127
|
*
|
|
5109
5128
|
* # Errors
|
|
@@ -5115,8 +5134,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5115
5134
|
* - Agent
|
|
5116
5135
|
* - Asset
|
|
5117
5136
|
**/
|
|
5118
|
-
setActiveAssetStats: AugmentedSubmittable<(assetId:
|
|
5119
|
-
|
|
5137
|
+
setActiveAssetStats: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, statTypes: BTreeSet<PolymeshPrimitivesStatisticsStatType>) => SubmittableExtrinsic<ApiType>, [
|
|
5138
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5120
5139
|
BTreeSet<PolymeshPrimitivesStatisticsStatType>
|
|
5121
5140
|
]>;
|
|
5122
5141
|
/**
|
|
@@ -5124,7 +5143,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5124
5143
|
*
|
|
5125
5144
|
* # Arguments
|
|
5126
5145
|
* - `origin` - a signer that has permissions to act as an agent of `asset_id`.
|
|
5127
|
-
* - `asset_id` - the [`
|
|
5146
|
+
* - `asset_id` - the [`AssetId`] to change the active stats on.
|
|
5128
5147
|
* - `transfer_conditions` - the new transfer condition to replace any existing conditions.
|
|
5129
5148
|
*
|
|
5130
5149
|
* # Errors
|
|
@@ -5136,8 +5155,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5136
5155
|
* - Agent
|
|
5137
5156
|
* - Asset
|
|
5138
5157
|
**/
|
|
5139
|
-
setAssetTransferCompliance: AugmentedSubmittable<(assetId:
|
|
5140
|
-
|
|
5158
|
+
setAssetTransferCompliance: AugmentedSubmittable<(assetId: PolymeshPrimitivesAssetAssetId | string | Uint8Array, transferConditions: BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>) => SubmittableExtrinsic<ApiType>, [
|
|
5159
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5141
5160
|
BTreeSet<PolymeshPrimitivesTransferComplianceTransferCondition>
|
|
5142
5161
|
]>;
|
|
5143
5162
|
/**
|
|
@@ -5188,17 +5207,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5188
5207
|
createFundraiser: AugmentedSubmittable<(offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
5189
5208
|
did?: any;
|
|
5190
5209
|
kind?: any;
|
|
5191
|
-
} | string | Uint8Array, offeringAsset:
|
|
5210
|
+
} | string | Uint8Array, offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, raisingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
5192
5211
|
did?: any;
|
|
5193
5212
|
kind?: any;
|
|
5194
|
-
} | string | Uint8Array, raisingAsset:
|
|
5213
|
+
} | string | Uint8Array, raisingAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, tiers: Vec<PalletStoPriceTier> | (PalletStoPriceTier | {
|
|
5195
5214
|
total?: any;
|
|
5196
5215
|
price?: any;
|
|
5197
5216
|
} | 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>, [
|
|
5198
5217
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5199
|
-
|
|
5218
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5200
5219
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5201
|
-
|
|
5220
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5202
5221
|
Vec<PalletStoPriceTier>,
|
|
5203
5222
|
u64,
|
|
5204
5223
|
Option<u64>,
|
|
@@ -5215,8 +5234,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5215
5234
|
* # Permissions
|
|
5216
5235
|
* * Asset
|
|
5217
5236
|
**/
|
|
5218
|
-
freezeFundraiser: AugmentedSubmittable<(offeringAsset:
|
|
5219
|
-
|
|
5237
|
+
freezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5238
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5220
5239
|
u64
|
|
5221
5240
|
]>;
|
|
5222
5241
|
/**
|
|
@@ -5239,7 +5258,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5239
5258
|
} | string | Uint8Array, fundingPortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
5240
5259
|
did?: any;
|
|
5241
5260
|
kind?: any;
|
|
5242
|
-
} | string | Uint8Array, offeringAsset:
|
|
5261
|
+
} | string | Uint8Array, offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, purchaseAmount: u128 | AnyNumber | Uint8Array, maxPrice: Option<u128> | null | Uint8Array | u128 | AnyNumber, receipt: Option<PolymeshPrimitivesSettlementReceiptDetails> | null | Uint8Array | PolymeshPrimitivesSettlementReceiptDetails | {
|
|
5243
5262
|
uid?: any;
|
|
5244
5263
|
instructionId?: any;
|
|
5245
5264
|
legId?: any;
|
|
@@ -5249,7 +5268,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5249
5268
|
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
5250
5269
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5251
5270
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
5252
|
-
|
|
5271
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5253
5272
|
u64,
|
|
5254
5273
|
u128,
|
|
5255
5274
|
Option<u128>,
|
|
@@ -5266,8 +5285,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5266
5285
|
* # Permissions
|
|
5267
5286
|
* * Asset
|
|
5268
5287
|
**/
|
|
5269
|
-
modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset:
|
|
5270
|
-
|
|
5288
|
+
modifyFundraiserWindow: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array, start: u64 | AnyNumber | Uint8Array, end: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
5289
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5271
5290
|
u64,
|
|
5272
5291
|
u64,
|
|
5273
5292
|
Option<u64>
|
|
@@ -5281,8 +5300,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5281
5300
|
* # Permissions
|
|
5282
5301
|
* * Asset
|
|
5283
5302
|
**/
|
|
5284
|
-
stop: AugmentedSubmittable<(offeringAsset:
|
|
5285
|
-
|
|
5303
|
+
stop: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5304
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5286
5305
|
u64
|
|
5287
5306
|
]>;
|
|
5288
5307
|
/**
|
|
@@ -5294,8 +5313,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5294
5313
|
* # Permissions
|
|
5295
5314
|
* * Asset
|
|
5296
5315
|
**/
|
|
5297
|
-
unfreezeFundraiser: AugmentedSubmittable<(offeringAsset:
|
|
5298
|
-
|
|
5316
|
+
unfreezeFundraiser: AugmentedSubmittable<(offeringAsset: PolymeshPrimitivesAssetAssetId | string | Uint8Array, id: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
5317
|
+
PolymeshPrimitivesAssetAssetId,
|
|
5299
5318
|
u64
|
|
5300
5319
|
]>;
|
|
5301
5320
|
};
|
|
@@ -5944,85 +5963,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5944
5963
|
batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5945
5964
|
Vec<Call>
|
|
5946
5965
|
]>;
|
|
5947
|
-
/**
|
|
5948
|
-
* Dispatch multiple calls from the sender's origin.
|
|
5949
|
-
*
|
|
5950
|
-
* This will execute all calls, in order, stopping at the first failure,
|
|
5951
|
-
* in which case the state changes are rolled back.
|
|
5952
|
-
* On failure, an event `BatchInterruptedOld(failure_idx, error)` is deposited.
|
|
5953
|
-
*
|
|
5954
|
-
* May be called from root or a signed origin.
|
|
5955
|
-
*
|
|
5956
|
-
* # Parameters
|
|
5957
|
-
* - `calls`: The calls to be dispatched from the same origin.
|
|
5958
|
-
*
|
|
5959
|
-
* # Weight
|
|
5960
|
-
* - The sum of the weights of the `calls`.
|
|
5961
|
-
* - One event.
|
|
5962
|
-
*
|
|
5963
|
-
* This will return `Ok` in all circumstances except an unsigned origin.
|
|
5964
|
-
* To determine the success of the batch, an event is deposited.
|
|
5965
|
-
* If any call failed, then `BatchInterruptedOld` is deposited.
|
|
5966
|
-
* If all were successful, then the `BatchCompletedOld` event is deposited.
|
|
5967
|
-
*
|
|
5968
|
-
* POLYMESH: deprecated.
|
|
5969
|
-
**/
|
|
5970
|
-
batchAtomic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5971
|
-
Vec<Call>
|
|
5972
|
-
]>;
|
|
5973
|
-
/**
|
|
5974
|
-
* Dispatch multiple calls from the sender's origin.
|
|
5975
|
-
*
|
|
5976
|
-
* This will execute until the first one fails and then stop.
|
|
5977
|
-
*
|
|
5978
|
-
* May be called from root or a signed origin.
|
|
5979
|
-
*
|
|
5980
|
-
* # Parameters
|
|
5981
|
-
* - `calls`: The calls to be dispatched from the same origin.
|
|
5982
|
-
*
|
|
5983
|
-
* # Weight
|
|
5984
|
-
* - The sum of the weights of the `calls`.
|
|
5985
|
-
* - One event.
|
|
5986
|
-
*
|
|
5987
|
-
* This will return `Ok` in all circumstances except an unsigned origin. To determine the success of the batch, an
|
|
5988
|
-
* event is deposited. If a call failed and the batch was interrupted, then the
|
|
5989
|
-
* `BatchInterruptedOld` event is deposited, along with the number of successful calls made
|
|
5990
|
-
* and the error of the failed call. If all were successful, then the `BatchCompletedOld`
|
|
5991
|
-
* event is deposited.
|
|
5992
|
-
*
|
|
5993
|
-
* POLYMESH: Renamed from `batch` and deprecated.
|
|
5994
|
-
**/
|
|
5995
|
-
batchOld: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
5996
|
-
Vec<Call>
|
|
5997
|
-
]>;
|
|
5998
|
-
/**
|
|
5999
|
-
* Dispatch multiple calls from the sender's origin.
|
|
6000
|
-
*
|
|
6001
|
-
* This will execute all calls, in order, irrespective of failures.
|
|
6002
|
-
* Any failures will be available in a `BatchOptimisticFailed` event.
|
|
6003
|
-
*
|
|
6004
|
-
* May be called from root or a signed origin.
|
|
6005
|
-
*
|
|
6006
|
-
* # Parameters
|
|
6007
|
-
* - `calls`: The calls to be dispatched from the same origin.
|
|
6008
|
-
*
|
|
6009
|
-
*
|
|
6010
|
-
* # Weight
|
|
6011
|
-
* - The sum of the weights of the `calls`.
|
|
6012
|
-
* - One event.
|
|
6013
|
-
*
|
|
6014
|
-
* This will return `Ok` in all circumstances except an unsigned origin.
|
|
6015
|
-
* To determine the success of the batch, an event is deposited.
|
|
6016
|
-
* If any call failed, then `BatchOptimisticFailed` is deposited,
|
|
6017
|
-
* with a vector of event counts for each call as well as a vector
|
|
6018
|
-
* of errors.
|
|
6019
|
-
* If all were successful, then the `BatchCompletedOld` event is deposited.
|
|
6020
|
-
*
|
|
6021
|
-
* POLYMESH: deprecated.
|
|
6022
|
-
**/
|
|
6023
|
-
batchOptimistic: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
6024
|
-
Vec<Call>
|
|
6025
|
-
]>;
|
|
6026
5966
|
/**
|
|
6027
5967
|
* Dispatches a function call with a provided origin.
|
|
6028
5968
|
*
|