@polymeshassociation/polymesh-sdk 19.0.0-beta.4 → 19.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -3
- package/README.md +2 -2
- package/api/client/Claims.d.ts.map +1 -1
- package/api/client/Claims.js +11 -1
- package/api/client/Claims.js.map +1 -1
- package/api/client/Identities.d.ts +2 -2
- package/api/client/Network.d.ts +1 -1
- package/api/client/Network.d.ts.map +1 -1
- package/api/client/Network.js +25 -2
- package/api/client/Network.js.map +1 -1
- package/api/client/Polymesh.d.ts +7 -0
- package/api/client/Polymesh.d.ts.map +1 -1
- package/api/client/Polymesh.js +7 -0
- package/api/client/Polymesh.js.map +1 -1
- package/api/entities/Account.d.ts +4 -0
- package/api/entities/Account.d.ts.map +1 -1
- package/api/entities/Account.js +22 -0
- package/api/entities/Account.js.map +1 -1
- package/api/entities/Asset/index.d.ts.map +1 -1
- package/api/entities/Asset/index.js +6 -0
- package/api/entities/Asset/index.js.map +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.d.ts.map +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.js +3 -0
- package/api/entities/DefaultTrustedClaimIssuer.js.map +1 -1
- package/api/entities/DividendDistribution/index.d.ts.map +1 -1
- package/api/entities/DividendDistribution/index.js +6 -0
- package/api/entities/DividendDistribution/index.js.map +1 -1
- package/api/entities/Identity/AssetPermissions.d.ts +1 -1
- package/api/entities/Identity/AssetPermissions.d.ts.map +1 -1
- package/api/entities/Identity/AssetPermissions.js +12 -0
- package/api/entities/Identity/AssetPermissions.js.map +1 -1
- package/api/entities/Identity/index.d.ts +7 -1
- package/api/entities/Identity/index.d.ts.map +1 -1
- package/api/entities/Identity/index.js +25 -0
- package/api/entities/Identity/index.js.map +1 -1
- package/api/entities/Instruction/index.d.ts +14 -2
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +44 -19
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/Instruction/types.d.ts +12 -7
- package/api/entities/Instruction/types.d.ts.map +1 -1
- package/api/entities/Instruction/types.js +1 -0
- package/api/entities/Instruction/types.js.map +1 -1
- package/api/entities/NumberedPortfolio.d.ts.map +1 -1
- package/api/entities/NumberedPortfolio.js +3 -0
- package/api/entities/NumberedPortfolio.js.map +1 -1
- package/api/entities/Offering/index.d.ts.map +1 -1
- package/api/entities/Offering/index.js +3 -0
- package/api/entities/Offering/index.js.map +1 -1
- package/api/entities/Portfolio/index.d.ts.map +1 -1
- package/api/entities/Portfolio/index.js +8 -0
- package/api/entities/Portfolio/index.js.map +1 -1
- package/api/entities/Subsidies.d.ts +20 -0
- package/api/entities/Subsidies.d.ts.map +1 -0
- package/api/entities/Subsidies.js +49 -0
- package/api/entities/Subsidies.js.map +1 -0
- package/api/entities/Venue/index.d.ts +15 -2
- package/api/entities/Venue/index.d.ts.map +1 -1
- package/api/entities/Venue/index.js +27 -0
- package/api/entities/Venue/index.js.map +1 -1
- package/api/entities/Venue/types.d.ts +11 -0
- package/api/entities/Venue/types.d.ts.map +1 -1
- package/api/entities/Venue/types.js.map +1 -1
- package/api/procedures/addInstruction.d.ts.map +1 -1
- package/api/procedures/addInstruction.js +54 -11
- package/api/procedures/addInstruction.js.map +1 -1
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +6 -0
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/executeManualInstruction.d.ts +27 -0
- package/api/procedures/executeManualInstruction.d.ts.map +1 -0
- package/api/procedures/executeManualInstruction.js +120 -0
- package/api/procedures/executeManualInstruction.js.map +1 -0
- package/api/procedures/moveFunds.d.ts.map +1 -1
- package/api/procedures/moveFunds.js +9 -0
- package/api/procedures/moveFunds.js.map +1 -1
- package/api/procedures/quitCustody.d.ts.map +1 -1
- package/api/procedures/quitCustody.js +3 -2
- package/api/procedures/quitCustody.js.map +1 -1
- package/api/procedures/registerIdentity.d.ts +1 -1
- package/api/procedures/registerIdentity.d.ts.map +1 -1
- package/api/procedures/registerIdentity.js +22 -6
- package/api/procedures/registerIdentity.js.map +1 -1
- package/api/procedures/reserveTicker.d.ts.map +1 -1
- package/api/procedures/reserveTicker.js +6 -0
- package/api/procedures/reserveTicker.js.map +1 -1
- package/api/procedures/types.d.ts +30 -6
- package/api/procedures/types.d.ts.map +1 -1
- package/api/procedures/types.js.map +1 -1
- package/api/procedures/utils.d.ts +5 -1
- package/api/procedures/utils.d.ts.map +1 -1
- package/api/procedures/utils.js +34 -1
- package/api/procedures/utils.js.map +1 -1
- package/base/Context.d.ts +6 -0
- package/base/Context.d.ts.map +1 -1
- package/base/Context.js +26 -13
- package/base/Context.js.map +1 -1
- package/base/PolymeshTransactionBase.d.ts +6 -0
- package/base/PolymeshTransactionBase.d.ts.map +1 -1
- package/base/PolymeshTransactionBase.js +32 -3
- package/base/PolymeshTransactionBase.js.map +1 -1
- package/generated/types.d.ts +10 -5
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +5 -0
- package/generated/types.js.map +1 -1
- package/internal.d.ts +1 -0
- package/internal.d.ts.map +1 -1
- package/internal.js +5 -3
- package/internal.js.map +1 -1
- package/middleware/enumsV2.d.ts +3 -0
- package/middleware/enumsV2.d.ts.map +1 -0
- package/middleware/enumsV2.js +31 -0
- package/middleware/enumsV2.js.map +1 -0
- package/middleware/queriesV2.d.ts +16 -2
- package/middleware/queriesV2.d.ts.map +1 -1
- package/middleware/queriesV2.js +146 -24
- package/middleware/queriesV2.js.map +1 -1
- package/middleware/typesV2.d.ts +19184 -19991
- package/middleware/typesV2.d.ts.map +1 -1
- package/middleware/typesV2.js +1987 -1811
- package/middleware/typesV2.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-19.0.0-beta.6.tgz +0 -0
- package/package.json +8 -7
- package/polkadot/augment-api-errors.d.ts +43 -3
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +25 -0
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +14 -3
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +113 -5
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/lookup.d.ts +145 -115
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +156 -116
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/registry.d.ts +2 -1
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/types-lookup.d.ts +188 -131
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/types/index.d.ts +4 -2
- package/types/index.d.ts.map +1 -1
- package/types/index.js +7 -1
- package/types/index.js.map +1 -1
- package/types/internal.d.ts +1 -1
- package/types/internal.d.ts.map +1 -1
- package/types/utils/index.d.ts +1 -1
- package/utils/constants.d.ts +2 -2
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js +2 -2
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +11 -8
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +60 -9
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +6 -0
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +14 -23
- package/utils/internal.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-19.0.0-beta.4.tgz +0 -0
|
@@ -2,7 +2,7 @@ import type { ApiTypes } from '@polkadot/api-base/types';
|
|
|
2
2
|
import type { BTreeSet, Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
3
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
4
4
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
-
import type { ConfidentialIdentityV2ClaimProofsScopeClaimProof, FrameSupportScheduleMaybeHashed, PalletAssetCheckpointScheduleSpec, PalletAssetClassicTickerImport, PalletAssetTickerRegistrationConfig, PalletBridgeBridgeTx, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletPortfolioMovePortfolioItem, PalletRewardsItnRewardStatus, PalletSettlementInstructionMemo, PalletSettlementLeg, PalletSettlementReceiptDetails, PalletSettlementSettlementType, PalletSettlementVenueType, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesBalancesMemo, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCddIdInvestorUid, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEthereumEcdsaSignature, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpRuntimeHeader, SpRuntimeMultiSignature, SpSessionMembershipProof } from "./types-lookup.ts";
|
|
5
|
+
import type { ConfidentialIdentityV2ClaimProofsScopeClaimProof, FrameSupportScheduleMaybeHashed, PalletAssetCheckpointScheduleSpec, PalletAssetClassicTickerImport, PalletAssetTickerRegistrationConfig, PalletBridgeBridgeTx, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletPipsSnapshotResult, PalletPortfolioMovePortfolioItem, PalletRewardsItnRewardStatus, PalletSettlementInstructionMemo, PalletSettlementLeg, PalletSettlementReceiptDetails, PalletSettlementSettlementType, PalletSettlementVenueType, PalletStakingCompactAssignments, PalletStakingElectionSize, PalletStakingRewardDestination, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoPriceTier, PalletUtilityUniqueCall, PolymeshCommonUtilitiesBalancesMemo, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuthV1, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsChainExtensionExtrinsicId, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCddIdInvestorUid, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEthereumEcdsaSignature, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentityIdPortfolioKind, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpRuntimeHeader, SpRuntimeMultiSignature, SpSessionMembershipProof } from "./types-lookup.ts";
|
|
6
6
|
declare module '@polkadot/api-base/types/submittable' {
|
|
7
7
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
8
8
|
asset: {
|
|
@@ -544,6 +544,46 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
544
544
|
unfreeze: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
545
545
|
PolymeshPrimitivesTicker
|
|
546
546
|
]>;
|
|
547
|
+
/**
|
|
548
|
+
* Updates the type of an asset.
|
|
549
|
+
*
|
|
550
|
+
* # Arguments
|
|
551
|
+
* * `origin` - the secondary key of the sender.
|
|
552
|
+
* * `ticker` - the ticker of the token.
|
|
553
|
+
* * `asset_type` - the new type of the token.
|
|
554
|
+
*
|
|
555
|
+
* ## Errors
|
|
556
|
+
* - `InvalidCustomAssetTypeId` if `asset_type` is of type custom and has an invalid type id.
|
|
557
|
+
*
|
|
558
|
+
* # Permissions
|
|
559
|
+
* * Asset
|
|
560
|
+
**/
|
|
561
|
+
updateAssetType: AugmentedSubmittable<(ticker: PolymeshPrimitivesTicker | string | Uint8Array, assetType: PolymeshPrimitivesAssetAssetType | {
|
|
562
|
+
EquityCommon: any;
|
|
563
|
+
} | {
|
|
564
|
+
EquityPreferred: any;
|
|
565
|
+
} | {
|
|
566
|
+
Commodity: any;
|
|
567
|
+
} | {
|
|
568
|
+
FixedIncome: any;
|
|
569
|
+
} | {
|
|
570
|
+
REIT: any;
|
|
571
|
+
} | {
|
|
572
|
+
Fund: any;
|
|
573
|
+
} | {
|
|
574
|
+
RevenueShareAgreement: any;
|
|
575
|
+
} | {
|
|
576
|
+
StructuredProduct: any;
|
|
577
|
+
} | {
|
|
578
|
+
Derivative: any;
|
|
579
|
+
} | {
|
|
580
|
+
Custom: any;
|
|
581
|
+
} | {
|
|
582
|
+
StableCoin: any;
|
|
583
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
584
|
+
PolymeshPrimitivesTicker,
|
|
585
|
+
PolymeshPrimitivesAssetAssetType
|
|
586
|
+
]>;
|
|
547
587
|
/**
|
|
548
588
|
* Updates the asset identifiers.
|
|
549
589
|
*
|
|
@@ -1430,7 +1470,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1430
1470
|
complianceManager: {
|
|
1431
1471
|
/**
|
|
1432
1472
|
* Adds a compliance requirement to an asset's compliance by ticker.
|
|
1433
|
-
* If
|
|
1473
|
+
* If there are duplicate ClaimTypes for a particular trusted issuer, duplicates are removed.
|
|
1434
1474
|
*
|
|
1435
1475
|
* # Arguments
|
|
1436
1476
|
* * origin - Signer of the dispatchable. It should be the owner of the ticker
|
|
@@ -2540,9 +2580,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2540
2580
|
* - `target_account` (primary key of the new Identity) can be linked to just one and only
|
|
2541
2581
|
* one identity.
|
|
2542
2582
|
* - External secondary keys can be linked to just one identity.
|
|
2543
|
-
*
|
|
2544
|
-
* # Weight
|
|
2545
|
-
* `7_000_000_000 + 600_000 * secondary_keys.len()`
|
|
2546
2583
|
**/
|
|
2547
2584
|
cddRegisterDid: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
|
|
2548
2585
|
key?: any;
|
|
@@ -2551,6 +2588,24 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2551
2588
|
AccountId32,
|
|
2552
2589
|
Vec<PolymeshPrimitivesSecondaryKey>
|
|
2553
2590
|
]>;
|
|
2591
|
+
/**
|
|
2592
|
+
* Register `target_account` with a new Identity and issue a CDD claim with a blank CddId
|
|
2593
|
+
*
|
|
2594
|
+
* # Failure
|
|
2595
|
+
* - `origin` has to be a active CDD provider. Inactive CDD providers cannot add new
|
|
2596
|
+
* claims.
|
|
2597
|
+
* - `target_account` (primary key of the new Identity) can be linked to just one and only
|
|
2598
|
+
* one identity.
|
|
2599
|
+
* - External secondary keys can be linked to just one identity.
|
|
2600
|
+
**/
|
|
2601
|
+
cddRegisterDidWithCdd: AugmentedSubmittable<(targetAccount: AccountId32 | string | Uint8Array, secondaryKeys: Vec<PolymeshPrimitivesSecondaryKey> | (PolymeshPrimitivesSecondaryKey | {
|
|
2602
|
+
key?: any;
|
|
2603
|
+
permissions?: any;
|
|
2604
|
+
} | string | Uint8Array)[], expiry: Option<u64> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2605
|
+
AccountId32,
|
|
2606
|
+
Vec<PolymeshPrimitivesSecondaryKey>,
|
|
2607
|
+
Option<u64>
|
|
2608
|
+
]>;
|
|
2554
2609
|
/**
|
|
2555
2610
|
* Set if CDD authorization is required for updating primary key of an identity.
|
|
2556
2611
|
* Callable via root (governance)
|
|
@@ -3553,6 +3608,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3553
3608
|
Bytes,
|
|
3554
3609
|
PolymeshPrimitivesSecondaryKeyPermissions
|
|
3555
3610
|
]>;
|
|
3611
|
+
/**
|
|
3612
|
+
* Update CallRuntime whitelist.
|
|
3613
|
+
*
|
|
3614
|
+
* # Arguments
|
|
3615
|
+
*
|
|
3616
|
+
* # Errors
|
|
3617
|
+
**/
|
|
3618
|
+
updateCallRuntimeWhitelist: AugmentedSubmittable<(updates: Vec<ITuple<[PolymeshContractsChainExtensionExtrinsicId, bool]>> | [PolymeshContractsChainExtensionExtrinsicId, bool | boolean | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
|
|
3619
|
+
Vec<ITuple<[PolymeshContractsChainExtensionExtrinsicId, bool]>>
|
|
3620
|
+
]>;
|
|
3556
3621
|
};
|
|
3557
3622
|
portfolio: {
|
|
3558
3623
|
acceptPortfolioCustody: AugmentedSubmittable<(authId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
@@ -3976,6 +4041,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3976
4041
|
SettleOnAffirmation: any;
|
|
3977
4042
|
} | {
|
|
3978
4043
|
SettleOnBlock: any;
|
|
4044
|
+
} | {
|
|
4045
|
+
SettleManual: any;
|
|
3979
4046
|
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
|
|
3980
4047
|
from?: any;
|
|
3981
4048
|
to?: any;
|
|
@@ -4012,6 +4079,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4012
4079
|
SettleOnAffirmation: any;
|
|
4013
4080
|
} | {
|
|
4014
4081
|
SettleOnBlock: any;
|
|
4082
|
+
} | {
|
|
4083
|
+
SettleManual: any;
|
|
4015
4084
|
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
|
|
4016
4085
|
from?: any;
|
|
4017
4086
|
to?: any;
|
|
@@ -4048,6 +4117,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4048
4117
|
SettleOnAffirmation: any;
|
|
4049
4118
|
} | {
|
|
4050
4119
|
SettleOnBlock: any;
|
|
4120
|
+
} | {
|
|
4121
|
+
SettleManual: any;
|
|
4051
4122
|
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
|
|
4052
4123
|
from?: any;
|
|
4053
4124
|
to?: any;
|
|
@@ -4079,6 +4150,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4079
4150
|
SettleOnAffirmation: any;
|
|
4080
4151
|
} | {
|
|
4081
4152
|
SettleOnBlock: any;
|
|
4153
|
+
} | {
|
|
4154
|
+
SettleManual: any;
|
|
4082
4155
|
} | string | Uint8Array, tradeDate: Option<u64> | null | object | string | Uint8Array, valueDate: Option<u64> | null | object | string | Uint8Array, legs: Vec<PalletSettlementLeg> | (PalletSettlementLeg | {
|
|
4083
4156
|
from?: any;
|
|
4084
4157
|
to?: any;
|
|
@@ -4212,6 +4285,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4212
4285
|
PolymeshPrimitivesTicker,
|
|
4213
4286
|
Vec<u64>
|
|
4214
4287
|
]>;
|
|
4288
|
+
/**
|
|
4289
|
+
* Manually execute settlement
|
|
4290
|
+
*
|
|
4291
|
+
* # Arguments
|
|
4292
|
+
* * `id` - Target instruction id to reschedule.
|
|
4293
|
+
* * `_legs_count` - Legs included in this instruction.
|
|
4294
|
+
*
|
|
4295
|
+
* # Errors
|
|
4296
|
+
* * `InstructionNotFailed` - Instruction not in a failed state or does not exist.
|
|
4297
|
+
**/
|
|
4298
|
+
executeManualInstruction: AugmentedSubmittable<(id: u64 | AnyNumber | Uint8Array, legsCount: u32 | AnyNumber | Uint8Array, portfolio: Option<PolymeshPrimitivesIdentityIdPortfolioId> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4299
|
+
u64,
|
|
4300
|
+
u32,
|
|
4301
|
+
Option<PolymeshPrimitivesIdentityIdPortfolioId>
|
|
4302
|
+
]>;
|
|
4215
4303
|
/**
|
|
4216
4304
|
* Root callable extrinsic, used as an internal call to execute a scheduled settlement instruction.
|
|
4217
4305
|
**/
|
|
@@ -4469,6 +4557,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4469
4557
|
* # </weight>
|
|
4470
4558
|
**/
|
|
4471
4559
|
chill: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4560
|
+
/**
|
|
4561
|
+
* GC forcefully chills a validator.
|
|
4562
|
+
* Effects will be felt at the beginning of the next era.
|
|
4563
|
+
* And, it can be only called when [`EraElectionStatus`] is `Closed`.
|
|
4564
|
+
*
|
|
4565
|
+
* # Arguments
|
|
4566
|
+
* * origin which must be a GC.
|
|
4567
|
+
* * identity must be permissioned to run operator/validator nodes.
|
|
4568
|
+
* * stash_keys contains the secondary keys of the permissioned identity
|
|
4569
|
+
*
|
|
4570
|
+
* # Errors
|
|
4571
|
+
* * `BadOrigin` The origin was not a GC member.
|
|
4572
|
+
* * `CallNotAllowed` The call is not allowed at the given time due to restrictions of election period.
|
|
4573
|
+
* * `NotExists` Permissioned validator doesn't exist.
|
|
4574
|
+
* * `NotStash` Not a stash account for the permissioned identity.
|
|
4575
|
+
**/
|
|
4576
|
+
chillFromGovernance: AugmentedSubmittable<(identity: PolymeshPrimitivesIdentityId | string | Uint8Array, stashKeys: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [
|
|
4577
|
+
PolymeshPrimitivesIdentityId,
|
|
4578
|
+
Vec<AccountId32>
|
|
4579
|
+
]>;
|
|
4472
4580
|
/**
|
|
4473
4581
|
* Force there to be a new era at the end of the next session. After this, it will be
|
|
4474
4582
|
* reset to normal (non-forced) behaviour.
|