@polymeshassociation/polymesh-sdk 23.0.0-beta.1 → 23.0.0-beta.2
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 +7 -71
- package/api/client/Claims.d.ts +14 -1
- package/api/client/Claims.d.ts.map +1 -1
- package/api/client/Claims.js +29 -0
- package/api/client/Claims.js.map +1 -1
- package/api/client/Polymesh.d.ts.map +1 -1
- package/api/client/Polymesh.js +2 -1
- package/api/client/Polymesh.js.map +1 -1
- package/api/entities/Portfolio/index.d.ts.map +1 -1
- package/api/entities/Portfolio/index.js +7 -4
- package/api/entities/Portfolio/index.js.map +1 -1
- package/generated/types.d.ts +10 -3
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +7 -0
- package/generated/types.js.map +1 -1
- package/middleware/queries.d.ts +16 -0
- package/middleware/queries.d.ts.map +1 -1
- package/middleware/queries.js +51 -1
- package/middleware/queries.js.map +1 -1
- package/middleware/types.d.ts +1861 -69
- package/middleware/types.d.ts.map +1 -1
- package/middleware/types.js +774 -12
- package/middleware/types.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-23.0.0-beta.2.tgz +0 -0
- package/package.json +1 -1
- package/polkadot/augment-api-errors.d.ts +28 -0
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +81 -2
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +43 -1
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +9 -2
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +128 -3
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-types.d.ts +3 -1
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/lookup.d.ts +300 -221
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +307 -221
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +11 -1
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +14 -1
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +17 -2
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +6 -2
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/schema.d.ts +29 -2
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +51 -3
- package/polkadot/schema.js.map +1 -1
- package/polkadot/settlement/definitions.d.ts +9 -0
- package/polkadot/settlement/definitions.d.ts.map +1 -1
- package/polkadot/settlement/definitions.js +21 -0
- package/polkadot/settlement/definitions.js.map +1 -1
- package/polkadot/types-lookup.d.ts +336 -231
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/types/index.d.ts +9 -0
- package/types/index.d.ts.map +1 -1
- package/utils/constants.d.ts +1 -1
- package/utils/constants.js +1 -1
- package/utils/conversion.d.ts +6 -2
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +16 -5
- package/utils/conversion.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-23.0.0-beta.1.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, 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";
|
|
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, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, 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, 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>;
|
|
@@ -179,7 +179,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
179
179
|
PolymeshPrimitivesTicker
|
|
180
180
|
]>;
|
|
181
181
|
/**
|
|
182
|
-
* Freezes transfers
|
|
182
|
+
* Freezes transfers of a given token.
|
|
183
183
|
*
|
|
184
184
|
* # Arguments
|
|
185
185
|
* * `origin` - the secondary key of the sender.
|
|
@@ -593,7 +593,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
593
593
|
Bytes
|
|
594
594
|
]>;
|
|
595
595
|
/**
|
|
596
|
-
* Unfreezes transfers
|
|
596
|
+
* Unfreezes transfers of a given token.
|
|
597
597
|
*
|
|
598
598
|
* # Arguments
|
|
599
599
|
* * `origin` - the secondary key of the sender.
|
|
@@ -3025,6 +3025,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3025
3025
|
*
|
|
3026
3026
|
* # Arguments
|
|
3027
3027
|
* * `auth_id` - Auth id of the authorization.
|
|
3028
|
+
* #[deprecated(since = "6.1.0", note = "Identity based signers not supported")]
|
|
3028
3029
|
**/
|
|
3029
3030
|
acceptMultisigSignerAsIdentity: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3030
3031
|
u64
|
|
@@ -3294,6 +3295,36 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3294
3295
|
]>;
|
|
3295
3296
|
};
|
|
3296
3297
|
nft: {
|
|
3298
|
+
/**
|
|
3299
|
+
* Forces the transfer of NFTs from a given portfolio to the caller's portfolio.
|
|
3300
|
+
*
|
|
3301
|
+
* # Arguments
|
|
3302
|
+
* * `origin` - is a signer that has permissions to act as an agent of `ticker`.
|
|
3303
|
+
* * `ticker` - the [`Ticker`] of the NFT collection.
|
|
3304
|
+
* * `nft_id` - the [`NFTId`] of the NFT to be transferred.
|
|
3305
|
+
* * `source_portfolio` - the [`PortfolioId`] that currently holds the NFT.
|
|
3306
|
+
* * `callers_portfolio_kind` - the [`PortfolioKind`] of the caller's portfolio.
|
|
3307
|
+
*
|
|
3308
|
+
* # Permissions
|
|
3309
|
+
* * Asset
|
|
3310
|
+
* * Portfolio
|
|
3311
|
+
**/
|
|
3312
|
+
controllerTransfer: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, nfts: PolymeshPrimitivesNftNfTs | {
|
|
3313
|
+
ticker?: any;
|
|
3314
|
+
ids?: any;
|
|
3315
|
+
} | string | Uint8Array, sourcePortfolio: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
3316
|
+
did?: any;
|
|
3317
|
+
kind?: any;
|
|
3318
|
+
} | string | Uint8Array, callersPortfolioKind: PolymeshPrimitivesIdentityIdPortfolioKind | {
|
|
3319
|
+
Default: any;
|
|
3320
|
+
} | {
|
|
3321
|
+
User: any;
|
|
3322
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3323
|
+
PolymeshPrimitivesTicker,
|
|
3324
|
+
PolymeshPrimitivesNftNfTs,
|
|
3325
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
3326
|
+
PolymeshPrimitivesIdentityIdPortfolioKind
|
|
3327
|
+
]>;
|
|
3297
3328
|
/**
|
|
3298
3329
|
* Cretes a new `NFTCollection`.
|
|
3299
3330
|
*
|
|
@@ -3680,6 +3711,31 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3680
3711
|
]>;
|
|
3681
3712
|
};
|
|
3682
3713
|
polymeshContracts: {
|
|
3714
|
+
/**
|
|
3715
|
+
* Instantiates a smart contract defining it with the given `code` and `salt`.
|
|
3716
|
+
*
|
|
3717
|
+
* The contract will be attached as a primary key of a newly created child identity of the caller.
|
|
3718
|
+
*
|
|
3719
|
+
* # Arguments
|
|
3720
|
+
* - `endowment`: Amount of POLYX to transfer to the contract.
|
|
3721
|
+
* - `gas_limit`: For how much gas the `deploy` code in the contract may at most consume.
|
|
3722
|
+
* - `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved from the caller to pay for the storage consumed.
|
|
3723
|
+
* - `code`: The WASM binary defining the smart contract.
|
|
3724
|
+
* - `data`: The input data to pass to the contract constructor.
|
|
3725
|
+
* - `salt`: Used for contract address derivation. By varying this, the same `code` can be used under the same identity.
|
|
3726
|
+
*
|
|
3727
|
+
**/
|
|
3728
|
+
instantiateWithCodeAsPrimaryKey: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
3729
|
+
refTime?: any;
|
|
3730
|
+
proofSize?: any;
|
|
3731
|
+
} | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3732
|
+
u128,
|
|
3733
|
+
SpWeightsWeightV2Weight,
|
|
3734
|
+
Option<u128>,
|
|
3735
|
+
Bytes,
|
|
3736
|
+
Bytes,
|
|
3737
|
+
Bytes
|
|
3738
|
+
]>;
|
|
3683
3739
|
/**
|
|
3684
3740
|
* Instantiates a smart contract defining it with the given `code` and `salt`.
|
|
3685
3741
|
*
|
|
@@ -3722,6 +3778,33 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3722
3778
|
Bytes,
|
|
3723
3779
|
PolymeshPrimitivesSecondaryKeyPermissions
|
|
3724
3780
|
]>;
|
|
3781
|
+
/**
|
|
3782
|
+
* Instantiates a smart contract defining using the given `code_hash` and `salt`.
|
|
3783
|
+
*
|
|
3784
|
+
* Unlike `instantiate_with_code`, this assumes that at least one contract with the same WASM code has already been uploaded.
|
|
3785
|
+
*
|
|
3786
|
+
* The contract will be attached as a primary key of a newly created child identity of the caller.
|
|
3787
|
+
*
|
|
3788
|
+
* # Arguments
|
|
3789
|
+
* - `endowment`: amount of POLYX to transfer to the contract.
|
|
3790
|
+
* - `gas_limit`: for how much gas the `deploy` code in the contract may at most consume.
|
|
3791
|
+
* - `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved from the caller to pay for the storage consumed.
|
|
3792
|
+
* - `code_hash`: of an already uploaded WASM binary.
|
|
3793
|
+
* - `data`: The input data to pass to the contract constructor.
|
|
3794
|
+
* - `salt`: used for contract address derivation. By varying this, the same `code` can be used under the same identity.
|
|
3795
|
+
*
|
|
3796
|
+
**/
|
|
3797
|
+
instantiateWithHashAsPrimaryKey: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
3798
|
+
refTime?: any;
|
|
3799
|
+
proofSize?: any;
|
|
3800
|
+
} | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3801
|
+
u128,
|
|
3802
|
+
SpWeightsWeightV2Weight,
|
|
3803
|
+
Option<u128>,
|
|
3804
|
+
H256,
|
|
3805
|
+
Bytes,
|
|
3806
|
+
Bytes
|
|
3807
|
+
]>;
|
|
3725
3808
|
/**
|
|
3726
3809
|
* Instantiates a smart contract defining using the given `code_hash` and `salt`.
|
|
3727
3810
|
*
|
|
@@ -3777,11 +3860,43 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3777
3860
|
updateCallRuntimeWhitelist: AugmentedSubmittable<(updates: Vec<ITuple<[PolymeshContractsChainExtensionExtrinsicId, bool]>> | [PolymeshContractsChainExtensionExtrinsicId, bool | boolean | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
|
|
3778
3861
|
Vec<ITuple<[PolymeshContractsChainExtensionExtrinsicId, bool]>>
|
|
3779
3862
|
]>;
|
|
3863
|
+
upgradeApi: AugmentedSubmittable<(api: PolymeshContractsApi | {
|
|
3864
|
+
desc?: any;
|
|
3865
|
+
major?: any;
|
|
3866
|
+
} | string | Uint8Array, nextUpgrade: PolymeshContractsNextUpgrade | {
|
|
3867
|
+
chainVersion?: any;
|
|
3868
|
+
apiHash?: any;
|
|
3869
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3870
|
+
PolymeshContractsApi,
|
|
3871
|
+
PolymeshContractsNextUpgrade
|
|
3872
|
+
]>;
|
|
3780
3873
|
};
|
|
3781
3874
|
portfolio: {
|
|
3782
3875
|
acceptPortfolioCustody: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3783
3876
|
u64
|
|
3784
3877
|
]>;
|
|
3878
|
+
/**
|
|
3879
|
+
* Adds an identity that will be allowed to create and take custody of a portfolio under the caller's identity.
|
|
3880
|
+
*
|
|
3881
|
+
* # Arguments
|
|
3882
|
+
* * `trusted_identity` - the [`IdentityId`] that will be allowed to call `create_custody_portfolio`.
|
|
3883
|
+
*
|
|
3884
|
+
**/
|
|
3885
|
+
allowIdentityToCreatePortfolios: AugmentedSubmittable<(trustedIdentity: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3886
|
+
PolymeshPrimitivesIdentityId
|
|
3887
|
+
]>;
|
|
3888
|
+
/**
|
|
3889
|
+
* Creates a portfolio under the `portfolio_owner_id` identity and transfers its custody to the caller's identity.
|
|
3890
|
+
*
|
|
3891
|
+
* # Arguments
|
|
3892
|
+
* * `portfolio_owner_id` - the [`IdentityId`] that will own the new portfolio.
|
|
3893
|
+
* * `portfolio_name` - the [`PortfolioName`] of the new portfolio.
|
|
3894
|
+
*
|
|
3895
|
+
**/
|
|
3896
|
+
createCustodyPortfolio: AugmentedSubmittable<(portfolioOwnerId: PolymeshPrimitivesIdentityId | string | Uint8Array, portfolioName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3897
|
+
PolymeshPrimitivesIdentityId,
|
|
3898
|
+
Bytes
|
|
3899
|
+
]>;
|
|
3785
3900
|
/**
|
|
3786
3901
|
* Creates a portfolio with the given `name`.
|
|
3787
3902
|
**/
|
|
@@ -3900,6 +4015,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3900
4015
|
u64,
|
|
3901
4016
|
Bytes
|
|
3902
4017
|
]>;
|
|
4018
|
+
/**
|
|
4019
|
+
* Removes permission of an identity to create and take custody of a portfolio under the caller's identity.
|
|
4020
|
+
*
|
|
4021
|
+
* # Arguments
|
|
4022
|
+
* * `identity` - the [`IdentityId`] that will have the permissions to call `create_custody_portfolio` revoked.
|
|
4023
|
+
*
|
|
4024
|
+
**/
|
|
4025
|
+
revokeCreatePortfoliosPermission: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4026
|
+
PolymeshPrimitivesIdentityId
|
|
4027
|
+
]>;
|
|
3903
4028
|
};
|
|
3904
4029
|
preimage: {
|
|
3905
4030
|
/**
|