@polymeshassociation/polymesh-sdk 23.0.0-alpha.10 → 23.0.0-alpha.12
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 -8
- package/api/entities/Account/MultiSig/index.d.ts.map +1 -1
- package/api/entities/Account/MultiSig/index.js +2 -5
- package/api/entities/Account/MultiSig/index.js.map +1 -1
- package/api/entities/Asset/NonFungible/Nft.d.ts +6 -3
- package/api/entities/Asset/NonFungible/Nft.d.ts.map +1 -1
- package/api/entities/Asset/NonFungible/Nft.js +5 -6
- package/api/entities/Asset/NonFungible/Nft.js.map +1 -1
- package/api/entities/MultiSigProposal/index.js +3 -3
- package/api/entities/MultiSigProposal/index.js.map +1 -1
- package/api/entities/Portfolio/index.d.ts +12 -4
- package/api/entities/Portfolio/index.d.ts.map +1 -1
- package/api/entities/Portfolio/index.js +61 -2
- package/api/entities/Portfolio/index.js.map +1 -1
- package/api/entities/Portfolio/types.d.ts +17 -2
- package/api/entities/Portfolio/types.d.ts.map +1 -1
- package/api/procedures/moveFunds.d.ts.map +1 -1
- package/api/procedures/moveFunds.js +84 -16
- package/api/procedures/moveFunds.js.map +1 -1
- package/generated/types.d.ts +5 -1
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +4 -0
- package/generated/types.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-23.0.0-alpha.12.tgz +0 -0
- package/package.json +1 -1
- package/polkadot/augment-api-errors.d.ts +4 -18
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +0 -6
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +33 -26
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +123 -51
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/lookup.d.ts +246 -248
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +248 -253
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/registry.d.ts +3 -5
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/types-lookup.d.ts +251 -248
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/types/index.d.ts +11 -2
- package/types/index.d.ts.map +1 -1
- package/types/index.js.map +1 -1
- package/utils/conversion.d.ts +10 -2
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +30 -4
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +5 -1
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +13 -1
- package/utils/internal.js.map +1 -1
- package/utils/typeguards.d.ts +2 -2
- package/utils/typeguards.d.ts.map +1 -1
- package/utils/typeguards.js +1 -1
- package/utils/typeguards.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-23.0.0-alpha.10.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 { PalletBridgeBridgeTx, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult,
|
|
6
|
+
import type { PalletBridgeBridgeTx, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, 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, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAssetCount, 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
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>;
|
|
@@ -3139,6 +3139,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3139
3139
|
* * `expiry` - Optional proposal expiry time.
|
|
3140
3140
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
3141
3141
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
3142
|
+
* #[deprecated(since = "6.0.0", note = "Please use the `create_proposal_as_identity` and `approve_as_identity` instead")]
|
|
3142
3143
|
**/
|
|
3143
3144
|
createOrApproveProposalAsIdentity: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3144
3145
|
AccountId32,
|
|
@@ -3155,6 +3156,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3155
3156
|
* * `expiry` - Optional proposal expiry time.
|
|
3156
3157
|
* * `auto_close` - Close proposal on receiving enough reject votes.
|
|
3157
3158
|
* If this is 1 out of `m` multisig, the proposal will be immediately executed.
|
|
3159
|
+
* #[deprecated(since = "6.0.0", note = "Please use the `create_proposal_as_key` and `approve_as_key` instead")]
|
|
3158
3160
|
**/
|
|
3159
3161
|
createOrApproveProposalAsKey: AugmentedSubmittable<(multisig: AccountId32 | string | Uint8Array, proposal: Call | IMethod | string | Uint8Array, expiry: Option<u64> | null | Uint8Array | u64 | AnyNumber, autoClose: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3160
3162
|
AccountId32,
|
|
@@ -3945,7 +3947,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3945
3947
|
* # Errors
|
|
3946
3948
|
* * `BadOrigin` - Only root allowed.
|
|
3947
3949
|
**/
|
|
3948
|
-
changeBaseFee: AugmentedSubmittable<(op: PolymeshCommonUtilitiesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityCddRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | 'NFTCreateCollection' | 'NFTMint' | number | Uint8Array, baseFee: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3950
|
+
changeBaseFee: AugmentedSubmittable<(op: PolymeshCommonUtilitiesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityCddRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | 'NFTCreateCollection' | 'NFTMint' | 'IdentityCreateChildIdentity' | number | Uint8Array, baseFee: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3949
3951
|
PolymeshCommonUtilitiesProtocolFeeProtocolOp,
|
|
3950
3952
|
u128
|
|
3951
3953
|
]>;
|
|
@@ -4061,42 +4063,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4061
4063
|
u128
|
|
4062
4064
|
]>;
|
|
4063
4065
|
};
|
|
4064
|
-
rewards: {
|
|
4065
|
-
/**
|
|
4066
|
-
* Claim an ITN reward.
|
|
4067
|
-
*
|
|
4068
|
-
* ## Arguments
|
|
4069
|
-
* * `itn_address` specifying the awarded address on ITN.
|
|
4070
|
-
* * `signature` authenticating the claim to the reward.
|
|
4071
|
-
* The signature should contain `reward_address` followed by the suffix `"claim_itn_reward"`,
|
|
4072
|
-
* and must have been signed by `itn_address`.
|
|
4073
|
-
*
|
|
4074
|
-
* # Errors
|
|
4075
|
-
* * `InsufficientBalance` - Itn rewards has insufficient funds to issue the reward.
|
|
4076
|
-
* * `InvalidSignature` - `signature` had an invalid signer or invalid message.
|
|
4077
|
-
* * `ItnRewardAlreadyClaimed` - Reward issued to the `itn_address` has already been claimed.
|
|
4078
|
-
* * `UnknownItnAddress` - `itn_address` is not in the rewards table and has no reward to be claimed.
|
|
4079
|
-
**/
|
|
4080
|
-
claimItnReward: AugmentedSubmittable<(rewardAddress: AccountId32 | string | Uint8Array, itnAddress: AccountId32 | string | Uint8Array, signature: SpRuntimeMultiSignature | {
|
|
4081
|
-
Ed25519: any;
|
|
4082
|
-
} | {
|
|
4083
|
-
Sr25519: any;
|
|
4084
|
-
} | {
|
|
4085
|
-
Ecdsa: any;
|
|
4086
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4087
|
-
AccountId32,
|
|
4088
|
-
AccountId32,
|
|
4089
|
-
SpRuntimeMultiSignature
|
|
4090
|
-
]>;
|
|
4091
|
-
setItnRewardStatus: AugmentedSubmittable<(itnAddress: AccountId32 | string | Uint8Array, status: PalletRewardsItnRewardStatus | {
|
|
4092
|
-
Unclaimed: any;
|
|
4093
|
-
} | {
|
|
4094
|
-
Claimed: any;
|
|
4095
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4096
|
-
AccountId32,
|
|
4097
|
-
PalletRewardsItnRewardStatus
|
|
4098
|
-
]>;
|
|
4099
|
-
};
|
|
4100
4066
|
scheduler: {
|
|
4101
4067
|
/**
|
|
4102
4068
|
* Cancel an anonymously scheduled task.
|
|
@@ -4267,8 +4233,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4267
4233
|
* Provide affirmation to an existing instruction.
|
|
4268
4234
|
*
|
|
4269
4235
|
* # Arguments
|
|
4270
|
-
* * `id` -
|
|
4271
|
-
* * `portfolios` -
|
|
4236
|
+
* * `id` - the [`InstructionId`] of the instruction being affirmed.
|
|
4237
|
+
* * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation.
|
|
4272
4238
|
*
|
|
4273
4239
|
* # Permissions
|
|
4274
4240
|
* * Portfolio
|
|
@@ -4281,15 +4247,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4281
4247
|
Vec<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
4282
4248
|
]>;
|
|
4283
4249
|
/**
|
|
4284
|
-
*
|
|
4250
|
+
* Provide affirmation to an existing instruction.
|
|
4251
|
+
*
|
|
4252
|
+
* # Arguments
|
|
4253
|
+
* * `id` - the [`InstructionId`] of the instruction being affirmed.
|
|
4254
|
+
* * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation.
|
|
4255
|
+
* * `number_of_assets` - an optional [`AffirmationCount`] that will be used for a precise fee estimation before executing the extrinsic.
|
|
4256
|
+
*
|
|
4257
|
+
* Note: calling the rpc method `get_affirmation_count` returns an instance of [`AffirmationCount`].
|
|
4258
|
+
*
|
|
4259
|
+
* # Permissions
|
|
4260
|
+
* * Portfolio
|
|
4261
|
+
**/
|
|
4262
|
+
affirmInstructionWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4263
|
+
did?: any;
|
|
4264
|
+
kind?: any;
|
|
4265
|
+
} | string | Uint8Array)[], numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
|
|
4266
|
+
senderAssetCount?: any;
|
|
4267
|
+
receiverAssetCount?: any;
|
|
4268
|
+
offchainCount?: any;
|
|
4269
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
4270
|
+
u64,
|
|
4271
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
4272
|
+
Option<PolymeshPrimitivesSettlementAffirmationCount>
|
|
4273
|
+
]>;
|
|
4274
|
+
/**
|
|
4275
|
+
* Affirms an instruction using receipts for offchain transfers.
|
|
4285
4276
|
*
|
|
4286
4277
|
* # Arguments
|
|
4287
|
-
* * `id` -
|
|
4288
|
-
* * `
|
|
4289
|
-
* * `
|
|
4290
|
-
* * `signer` - Signer of the receipt.
|
|
4291
|
-
* * `signed_data` - Signed receipt.
|
|
4292
|
-
* * `portfolios` - Portfolios that the sender controls and wants to accept this instruction with.
|
|
4278
|
+
* * `id` - the [`InstructionId`] of the instruction being affirmed.
|
|
4279
|
+
* * `receipt_details` - a vector of [`ReceiptDetails`], which contain the details about the offchain transfer.
|
|
4280
|
+
* * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation.
|
|
4293
4281
|
*
|
|
4294
4282
|
* # Permissions
|
|
4295
4283
|
* * Portfolio
|
|
@@ -4309,6 +4297,40 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4309
4297
|
Vec<PolymeshPrimitivesSettlementReceiptDetails>,
|
|
4310
4298
|
Vec<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
4311
4299
|
]>;
|
|
4300
|
+
/**
|
|
4301
|
+
* Affirms an instruction using receipts for offchain transfers.
|
|
4302
|
+
*
|
|
4303
|
+
* # Arguments
|
|
4304
|
+
* * `id` - the [`InstructionId`] of the instruction being affirmed.
|
|
4305
|
+
* * `receipt_details` - a vector of [`ReceiptDetails`], which contain the details about the offchain transfer.
|
|
4306
|
+
* * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation.
|
|
4307
|
+
* * `number_of_assets` - an optional [`AffirmationCount`] that will be used for a precise fee estimation before executing the extrinsic.
|
|
4308
|
+
*
|
|
4309
|
+
* Note: calling the rpc method `get_affirmation_count` returns an instance of [`AffirmationCount`].
|
|
4310
|
+
*
|
|
4311
|
+
* # Permissions
|
|
4312
|
+
* * Portfolio
|
|
4313
|
+
**/
|
|
4314
|
+
affirmWithReceiptsWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, receiptDetails: Vec<PolymeshPrimitivesSettlementReceiptDetails> | (PolymeshPrimitivesSettlementReceiptDetails | {
|
|
4315
|
+
uid?: any;
|
|
4316
|
+
instructionId?: any;
|
|
4317
|
+
legId?: any;
|
|
4318
|
+
signer?: any;
|
|
4319
|
+
signature?: any;
|
|
4320
|
+
metadata?: any;
|
|
4321
|
+
} | string | Uint8Array)[], portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4322
|
+
did?: any;
|
|
4323
|
+
kind?: any;
|
|
4324
|
+
} | string | Uint8Array)[], numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
|
|
4325
|
+
senderAssetCount?: any;
|
|
4326
|
+
receiverAssetCount?: any;
|
|
4327
|
+
offchainCount?: any;
|
|
4328
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
4329
|
+
u64,
|
|
4330
|
+
Vec<PolymeshPrimitivesSettlementReceiptDetails>,
|
|
4331
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
4332
|
+
Option<PolymeshPrimitivesSettlementAffirmationCount>
|
|
4333
|
+
]>;
|
|
4312
4334
|
/**
|
|
4313
4335
|
* Allows additional venues to create instructions involving an asset.
|
|
4314
4336
|
*
|
|
@@ -4393,8 +4415,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4393
4415
|
* Rejects an existing instruction.
|
|
4394
4416
|
*
|
|
4395
4417
|
* # Arguments
|
|
4396
|
-
* * `id` -
|
|
4397
|
-
* * `portfolio` -
|
|
4418
|
+
* * `id` - the [`InstructionId`] of the instruction being rejected.
|
|
4419
|
+
* * `portfolio` - the [`PortfolioId`] that belongs to the instruction and is rejecting it.
|
|
4398
4420
|
*
|
|
4399
4421
|
* # Permissions
|
|
4400
4422
|
* * Portfolio
|
|
@@ -4406,6 +4428,31 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4406
4428
|
u64,
|
|
4407
4429
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
4408
4430
|
]>;
|
|
4431
|
+
/**
|
|
4432
|
+
* Rejects an existing instruction.
|
|
4433
|
+
*
|
|
4434
|
+
* # Arguments
|
|
4435
|
+
* * `id` - the [`InstructionId`] of the instruction being rejected.
|
|
4436
|
+
* * `portfolio` - the [`PortfolioId`] that belongs to the instruction and is rejecting it.
|
|
4437
|
+
* * `number_of_assets` - an optional [`AssetCount`] that will be used for a precise fee estimation before executing the extrinsic.
|
|
4438
|
+
*
|
|
4439
|
+
* Note: calling the rpc method `get_execute_instruction_info` returns an instance of [`ExecuteInstructionInfo`], which contain the asset count.
|
|
4440
|
+
*
|
|
4441
|
+
* # Permissions
|
|
4442
|
+
* * Portfolio
|
|
4443
|
+
**/
|
|
4444
|
+
rejectInstructionWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4445
|
+
did?: any;
|
|
4446
|
+
kind?: any;
|
|
4447
|
+
} | string | Uint8Array, numberOfAssets: Option<PolymeshPrimitivesSettlementAssetCount> | null | Uint8Array | PolymeshPrimitivesSettlementAssetCount | {
|
|
4448
|
+
fungible?: any;
|
|
4449
|
+
nonFungible?: any;
|
|
4450
|
+
offChain?: any;
|
|
4451
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
4452
|
+
u64,
|
|
4453
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
4454
|
+
Option<PolymeshPrimitivesSettlementAssetCount>
|
|
4455
|
+
]>;
|
|
4409
4456
|
/**
|
|
4410
4457
|
* Enables or disabled venue filtering for a token.
|
|
4411
4458
|
*
|
|
@@ -4455,8 +4502,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4455
4502
|
* Withdraw an affirmation for a given instruction.
|
|
4456
4503
|
*
|
|
4457
4504
|
* # Arguments
|
|
4458
|
-
* * `id` -
|
|
4459
|
-
* * `portfolios` -
|
|
4505
|
+
* * `id` - the [`InstructionId`] of the instruction getting an affirmation withdrawn.
|
|
4506
|
+
* * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation withdrawal.
|
|
4460
4507
|
*
|
|
4461
4508
|
* # Permissions
|
|
4462
4509
|
* * Portfolio
|
|
@@ -4468,6 +4515,31 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4468
4515
|
u64,
|
|
4469
4516
|
Vec<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
4470
4517
|
]>;
|
|
4518
|
+
/**
|
|
4519
|
+
* Withdraw an affirmation for a given instruction.
|
|
4520
|
+
*
|
|
4521
|
+
* # Arguments
|
|
4522
|
+
* * `id` - the [`InstructionId`] of the instruction getting an affirmation withdrawn.
|
|
4523
|
+
* * `portfolios` - a vector of [`PortfolioId`] under the caller's control and intended for affirmation withdrawal.
|
|
4524
|
+
* * `number_of_assets` - an optional [`AffirmationCount`] that will be used for a precise fee estimation before executing the extrinsic.
|
|
4525
|
+
*
|
|
4526
|
+
* Note: calling the rpc method `get_affirmation_count` returns an instance of [`AffirmationCount`].
|
|
4527
|
+
*
|
|
4528
|
+
* # Permissions
|
|
4529
|
+
* * Portfolio
|
|
4530
|
+
**/
|
|
4531
|
+
withdrawAffirmationWithCount: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, portfolios: Vec<PolymeshPrimitivesIdentityIdPortfolioId> | (PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
4532
|
+
did?: any;
|
|
4533
|
+
kind?: any;
|
|
4534
|
+
} | string | Uint8Array)[], numberOfAssets: Option<PolymeshPrimitivesSettlementAffirmationCount> | null | Uint8Array | PolymeshPrimitivesSettlementAffirmationCount | {
|
|
4535
|
+
senderAssetCount?: any;
|
|
4536
|
+
receiverAssetCount?: any;
|
|
4537
|
+
offchainCount?: any;
|
|
4538
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
4539
|
+
u64,
|
|
4540
|
+
Vec<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
4541
|
+
Option<PolymeshPrimitivesSettlementAffirmationCount>
|
|
4542
|
+
]>;
|
|
4471
4543
|
};
|
|
4472
4544
|
staking: {
|
|
4473
4545
|
/**
|