@polymeshassociation/polymesh-types 7.3.0 → 7.5.0
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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +2 -3
- package/generated/types.d.ts +35 -2
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +36 -1
- package/generated/types.js.map +1 -1
- package/package.json +1 -1
- package/polkadot/augment-api-consts.d.ts +70 -58
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +125 -142
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +373 -103
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +377 -71
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +31 -39
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +459 -286
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/lookup.d.ts +1203 -830
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +1174 -802
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/registry.d.ts +70 -36
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/types-lookup.d.ts +1099 -727
- package/polkadot/types-lookup.d.ts.map +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/submittable';
|
|
2
2
|
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
|
3
|
-
import type { BTreeSet, Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
|
+
import type { BTreeMap, BTreeSet, Bytes, Compact, Option, Text, U256, 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, H160, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { PalletBalancesAdjustmentDirection,
|
|
6
|
+
import type { PalletBalancesAdjustmentDirection, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCaKind, PalletCorporateActionsInitiateCorporateActionArgs, PalletCorporateActionsRecordDateSpec, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletPipsSnapshotResult, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStoFundingMethod, PalletStoPriceTier, PalletValidatorsSlashingSwitch, PolymeshDartBpAccountBatchedAccountAssetRegistrationProof, PolymeshDartBpAffirmationProofsInstantReceiverAffirmationProof, PolymeshDartBpAffirmationProofsInstantSenderAffirmationProof, PolymeshDartBpAffirmationProofsReceiverAffirmationProof, PolymeshDartBpAffirmationProofsReceiverClaimProof, PolymeshDartBpAffirmationProofsReceiverRevertAffirmationProof, PolymeshDartBpAffirmationProofsSenderAffirmationProof, PolymeshDartBpAffirmationProofsSenderCounterUpdateProof, PolymeshDartBpAffirmationProofsSenderRevertAffirmationProof, PolymeshDartBpAssetAssetMintingProof, PolymeshDartBpBatchedBatchedProofs, PolymeshDartBpFeeBatchedFeeAccountRegistrationProof, PolymeshDartBpFeeBatchedFeeAccountTopupProof, PolymeshDartBpFeeFeePaymentWithBatchedProofs, PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysAccountRegistrationProof, PolymeshDartBpKeysEncryptionKeyRegistrationProof, PolymeshDartBpKeysEncryptionPublicKey, PolymeshDartBpLegInstantInstantSettlementProof, PolymeshDartBpLegProofsBatchedSettlementProof, PolymeshDartBpLegProofsMediatorAffirmationProof, PolymeshDartBpLegSettlementProof, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetHolderKind, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaimClaim, PolymeshPrimitivesIdentityClaimClaimType, PolymeshPrimitivesIdentityClaimScope, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesIdentitySecondaryKeyWithAuth, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesNftNftCollectionKeys, PolymeshPrimitivesNftNftMetadataAttribute, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPosRatio, PolymeshPrimitivesProtocolFeeProtocolOp, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAffirmationRequirement, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptDetails, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeOriginCaller, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
8
8
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
9
9
|
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -1945,226 +1945,462 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1945
1945
|
PolymeshPrimitivesAssetAssetId
|
|
1946
1946
|
]>;
|
|
1947
1947
|
};
|
|
1948
|
-
|
|
1948
|
+
confidentialAssets: {
|
|
1949
1949
|
/**
|
|
1950
|
-
*
|
|
1950
|
+
* Create a settlement with batched leg affirmations.
|
|
1951
1951
|
*
|
|
1952
|
-
* #
|
|
1952
|
+
* # Arguments
|
|
1953
|
+
* * `origin` - The origin of the call.
|
|
1954
|
+
* * `proof` - The settlement proof with batched leg affirmations.
|
|
1953
1955
|
*
|
|
1954
|
-
*
|
|
1955
|
-
* * `
|
|
1956
|
-
* * `
|
|
1957
|
-
* * `
|
|
1958
|
-
*
|
|
1959
|
-
|
|
1956
|
+
* # Errors
|
|
1957
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
1958
|
+
* * `InvalidProof` if the proof is invalid.
|
|
1959
|
+
* * `SettlementMissingLegs` if the settlement has no legs.
|
|
1960
|
+
* * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed.
|
|
1961
|
+
**/
|
|
1962
|
+
batchedSettlement: AugmentedSubmittable<(proof: PolymeshDartBpLegProofsBatchedSettlementProof | {
|
|
1963
|
+
settlement?: any;
|
|
1964
|
+
legAffirmations?: any;
|
|
1965
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1966
|
+
PolymeshDartBpLegProofsBatchedSettlementProof
|
|
1967
|
+
]>;
|
|
1968
|
+
/**
|
|
1969
|
+
* Create a new Confidential Asset.
|
|
1960
1970
|
*
|
|
1961
|
-
*
|
|
1962
|
-
*
|
|
1963
|
-
*
|
|
1964
|
-
*
|
|
1965
|
-
*
|
|
1971
|
+
* # Arguments
|
|
1972
|
+
* * `auditor_or_mediator` - The auditor or mediator public key.
|
|
1973
|
+
*
|
|
1974
|
+
* # Errors
|
|
1975
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
1976
|
+
* * `AccountMissing` if the auditor or mediator is not registered.
|
|
1977
|
+
* * `EncryptionKeyMissing` if the encryption key of the auditor or mediator is not registered.
|
|
1966
1978
|
**/
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
} | {
|
|
1974
|
-
Address32: any;
|
|
1975
|
-
} | {
|
|
1976
|
-
Address20: any;
|
|
1977
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
1978
|
-
refTime?: any;
|
|
1979
|
-
proofSize?: any;
|
|
1980
|
-
} | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1981
|
-
MultiAddress,
|
|
1982
|
-
Compact<u128>,
|
|
1983
|
-
SpWeightsWeightV2Weight,
|
|
1984
|
-
Option<Compact<u128>>,
|
|
1979
|
+
createAsset: AugmentedSubmittable<(name: Text | string, symbol: Text | string, decimals: u8 | AnyNumber | Uint8Array, mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>, auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
1980
|
+
Text,
|
|
1981
|
+
Text,
|
|
1982
|
+
u8,
|
|
1983
|
+
BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>,
|
|
1984
|
+
BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>,
|
|
1985
1985
|
Bytes
|
|
1986
1986
|
]>;
|
|
1987
1987
|
/**
|
|
1988
|
-
*
|
|
1988
|
+
* Create a new settlement.
|
|
1989
|
+
*
|
|
1990
|
+
* # Arguments
|
|
1991
|
+
* * `origin` - The origin of the call.
|
|
1992
|
+
* * `proof` - The settlement proof.
|
|
1989
1993
|
*
|
|
1990
|
-
*
|
|
1994
|
+
* # Errors
|
|
1995
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
1996
|
+
* * `InvalidProof` if the proof is invalid.
|
|
1997
|
+
* * `SettlementMissingLegs` if the settlement has no legs.
|
|
1998
|
+
* * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed.
|
|
1991
1999
|
**/
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
} |
|
|
1997
|
-
|
|
1998
|
-
} | {
|
|
1999
|
-
Address32: any;
|
|
2000
|
-
} | {
|
|
2001
|
-
Address20: any;
|
|
2002
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2003
|
-
MultiAddress,
|
|
2004
|
-
Compact<u128>,
|
|
2005
|
-
Compact<u64>,
|
|
2006
|
-
Option<Compact<u128>>,
|
|
2007
|
-
Bytes
|
|
2000
|
+
createSettlement: AugmentedSubmittable<(proof: PolymeshDartBpLegSettlementProof | {
|
|
2001
|
+
memo?: any;
|
|
2002
|
+
rootBlock?: any;
|
|
2003
|
+
legs?: any;
|
|
2004
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2005
|
+
PolymeshDartBpLegSettlementProof
|
|
2008
2006
|
]>;
|
|
2009
2007
|
/**
|
|
2010
|
-
*
|
|
2008
|
+
* Create and execute an instant settlement.
|
|
2011
2009
|
*
|
|
2012
|
-
*
|
|
2013
|
-
*
|
|
2014
|
-
*
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2010
|
+
* # Arguments
|
|
2011
|
+
* * `origin` - The origin of the call.
|
|
2012
|
+
* * `proof` - The settlement proof with batched leg affirmations.
|
|
2013
|
+
*
|
|
2014
|
+
* # Errors
|
|
2015
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2016
|
+
* * `InvalidProof` if the proof is invalid.
|
|
2017
|
+
* * `SettlementMissingLegs` if the settlement has no legs.
|
|
2018
|
+
* * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed.
|
|
2019
|
+
**/
|
|
2020
|
+
executeInstantSettlement: AugmentedSubmittable<(proof: PolymeshDartBpLegInstantInstantSettlementProof | {
|
|
2021
|
+
settlement?: any;
|
|
2022
|
+
legAffirmations?: any;
|
|
2023
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2024
|
+
PolymeshDartBpLegInstantInstantSettlementProof
|
|
2026
2025
|
]>;
|
|
2027
2026
|
/**
|
|
2028
|
-
*
|
|
2027
|
+
* Receiver affirms a settlement leg as the last pending affirmation.
|
|
2029
2028
|
*
|
|
2030
|
-
*
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2029
|
+
* This can only be used when the receiver affirmation is the last pending affirmation for the settlement.
|
|
2030
|
+
*
|
|
2031
|
+
* # Arguments
|
|
2032
|
+
* * `origin` - The origin of the call.
|
|
2033
|
+
* * `proof` - The instant receiver affirmation proof.
|
|
2034
|
+
*
|
|
2035
|
+
* # Errors
|
|
2036
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2037
|
+
* * `SettlementNotPending` if the settlement is not pending.
|
|
2038
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2039
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2040
|
+
* * `AlreadyAffirmed` if the leg has already been affirmed by the receiver.
|
|
2041
|
+
* * `NotLastPendingAffirmation` if the receiver affirmation is not the last pending affirmation for the settlement.
|
|
2042
|
+
**/
|
|
2043
|
+
instantReceiverAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsInstantReceiverAffirmationProof | {
|
|
2044
|
+
legRef?: any;
|
|
2045
|
+
rootBlock?: any;
|
|
2046
|
+
updatedAccountStateCommitment?: any;
|
|
2047
|
+
nullifier?: any;
|
|
2048
|
+
inner?: any;
|
|
2049
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2050
|
+
PolymeshDartBpAffirmationProofsInstantReceiverAffirmationProof
|
|
2039
2051
|
]>;
|
|
2040
2052
|
/**
|
|
2041
|
-
*
|
|
2042
|
-
* some balance.
|
|
2053
|
+
* Sender affirms a settlement leg as the last pending affirmation.
|
|
2043
2054
|
*
|
|
2044
|
-
* This
|
|
2045
|
-
* [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
|
|
2046
|
-
* also check the documentation of [`Self::upload_code`].
|
|
2055
|
+
* This can only be used when the sender affirmation is the last pending affirmation for the settlement.
|
|
2047
2056
|
*
|
|
2048
|
-
* #
|
|
2057
|
+
* # Arguments
|
|
2058
|
+
* * `origin` - The origin of the call.
|
|
2059
|
+
* * `proof` - The instant sender affirmation proof.
|
|
2049
2060
|
*
|
|
2050
|
-
*
|
|
2051
|
-
* * `
|
|
2052
|
-
* * `
|
|
2053
|
-
*
|
|
2054
|
-
* * `
|
|
2055
|
-
* * `
|
|
2056
|
-
* * `
|
|
2061
|
+
* # Errors
|
|
2062
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2063
|
+
* * `SettlementNotPending` if the settlement is not pending.
|
|
2064
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2065
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2066
|
+
* * `AlreadyAffirmed` if the leg has already been affirmed by the sender.
|
|
2067
|
+
* * `NotLastPendingAffirmation` if the sender affirmation is not the last pending affirmation for the settlement.
|
|
2068
|
+
**/
|
|
2069
|
+
instantSenderAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsInstantSenderAffirmationProof | {
|
|
2070
|
+
legRef?: any;
|
|
2071
|
+
rootBlock?: any;
|
|
2072
|
+
updatedAccountStateCommitment?: any;
|
|
2073
|
+
nullifier?: any;
|
|
2074
|
+
inner?: any;
|
|
2075
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2076
|
+
PolymeshDartBpAffirmationProofsInstantSenderAffirmationProof
|
|
2077
|
+
]>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Mediator affirms a settlement leg.
|
|
2057
2080
|
*
|
|
2058
|
-
*
|
|
2081
|
+
* # Arguments
|
|
2082
|
+
* * `origin` - The origin of the call.
|
|
2083
|
+
* * `proof` - The mediator affirmation proof.
|
|
2059
2084
|
*
|
|
2060
|
-
*
|
|
2061
|
-
*
|
|
2062
|
-
*
|
|
2063
|
-
*
|
|
2064
|
-
*
|
|
2065
|
-
*
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
Bytes,
|
|
2076
|
-
Bytes
|
|
2085
|
+
* # Errors
|
|
2086
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2087
|
+
* * `SettlementNotPending` if the settlement is not pending.
|
|
2088
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2089
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2090
|
+
* * `AlreadyAffirmed` if the leg has already been affirmed by the mediator.
|
|
2091
|
+
* * `WrongMediatorId` if the mediator ID does not match the expected mediator for the leg.
|
|
2092
|
+
**/
|
|
2093
|
+
mediatorAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpLegProofsMediatorAffirmationProof | {
|
|
2094
|
+
legRef?: any;
|
|
2095
|
+
accept?: any;
|
|
2096
|
+
keyIndex?: any;
|
|
2097
|
+
inner?: any;
|
|
2098
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2099
|
+
PolymeshDartBpLegProofsMediatorAffirmationProof
|
|
2077
2100
|
]>;
|
|
2078
2101
|
/**
|
|
2079
|
-
*
|
|
2102
|
+
* Mint a Confidential asset.
|
|
2080
2103
|
*
|
|
2081
|
-
*
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2104
|
+
* # Arguments
|
|
2105
|
+
* * `origin` - The origin of the call. They must be the owner of the Confidential asset and Confidential account.
|
|
2106
|
+
* * `proof` - The minting proof.
|
|
2107
|
+
*
|
|
2108
|
+
* # Errors
|
|
2109
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2110
|
+
* * `AccountMissing` if the Confidential account is not registered.
|
|
2111
|
+
* * `AssetMissing` if the Confidential asset is not registered.
|
|
2112
|
+
* * `NotAccountOwner` if the caller is not the owner of the Confidential account.
|
|
2113
|
+
* * `InvalidProof` if the proof is invalid.
|
|
2114
|
+
* * `NotAssetOwner` if the caller is not the owner of the Confidential asset.
|
|
2115
|
+
* * `MaxTotalSupplyExceeded` if the total supply of the Confidential asset exceeds the maximum total supply.
|
|
2116
|
+
* * `NullifierAlreadyUsed` if the nullifier for the account state commitment has already been used.
|
|
2117
|
+
**/
|
|
2118
|
+
mintAsset: AugmentedSubmittable<(proof: PolymeshDartBpAssetAssetMintingProof | {
|
|
2119
|
+
pk?: any;
|
|
2120
|
+
pkEnc?: any;
|
|
2121
|
+
assetId?: any;
|
|
2122
|
+
amount?: any;
|
|
2123
|
+
rootBlock?: any;
|
|
2124
|
+
updatedAccountStateCommitment?: any;
|
|
2125
|
+
nullifier?: any;
|
|
2126
|
+
inner?: any;
|
|
2127
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2128
|
+
PolymeshDartBpAssetAssetMintingProof
|
|
2090
2129
|
]>;
|
|
2091
2130
|
/**
|
|
2092
|
-
*
|
|
2093
|
-
*
|
|
2094
|
-
*
|
|
2095
|
-
*
|
|
2131
|
+
* Receiver affirms a settlement leg.
|
|
2132
|
+
*
|
|
2133
|
+
* # Arguments
|
|
2134
|
+
* * `origin` - The origin of the call.
|
|
2135
|
+
* * `proof` - The receiver affirmation proof.
|
|
2136
|
+
*
|
|
2137
|
+
* # Errors
|
|
2138
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2139
|
+
* * `SettlementNotPending` if the settlement is not pending.
|
|
2140
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2141
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2142
|
+
* * `AlreadyAffirmed` if the leg has already been affirmed by the receiver.
|
|
2143
|
+
**/
|
|
2144
|
+
receiverAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsReceiverAffirmationProof | {
|
|
2145
|
+
legRef?: any;
|
|
2146
|
+
rootBlock?: any;
|
|
2147
|
+
updatedAccountStateCommitment?: any;
|
|
2148
|
+
nullifier?: any;
|
|
2149
|
+
inner?: any;
|
|
2150
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2151
|
+
PolymeshDartBpAffirmationProofsReceiverAffirmationProof
|
|
2152
|
+
]>;
|
|
2153
|
+
/**
|
|
2154
|
+
* Receiver claims their assets after a settlement has been executed.
|
|
2155
|
+
*
|
|
2156
|
+
* # Arguments
|
|
2157
|
+
* * `origin` - The origin of the call.
|
|
2158
|
+
* * `proof` - The receiver claim proof.
|
|
2159
|
+
*
|
|
2160
|
+
* # Errors
|
|
2161
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2162
|
+
* * `SettlementNotExecuted` if the settlement has not been executed.
|
|
2163
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2164
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2165
|
+
**/
|
|
2166
|
+
receiverClaim: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsReceiverClaimProof | {
|
|
2167
|
+
legRef?: any;
|
|
2168
|
+
rootBlock?: any;
|
|
2169
|
+
updatedAccountStateCommitment?: any;
|
|
2170
|
+
nullifier?: any;
|
|
2171
|
+
inner?: any;
|
|
2172
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2173
|
+
PolymeshDartBpAffirmationProofsReceiverClaimProof
|
|
2174
|
+
]>;
|
|
2175
|
+
/**
|
|
2176
|
+
* Receiver reverts their affirmation.
|
|
2177
|
+
*
|
|
2178
|
+
* # Arguments
|
|
2179
|
+
* * `origin` - The origin of the call.
|
|
2180
|
+
* * `proof` - The receiver revert affirmation proof.
|
|
2181
|
+
*
|
|
2182
|
+
* # Errors
|
|
2183
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2184
|
+
* * `SettlementAlreadyExecuted` if the settlement has already been executed.
|
|
2185
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2186
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2187
|
+
**/
|
|
2188
|
+
receiverRevertAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsReceiverRevertAffirmationProof | {
|
|
2189
|
+
legRef?: any;
|
|
2190
|
+
rootBlock?: any;
|
|
2191
|
+
updatedAccountStateCommitment?: any;
|
|
2192
|
+
nullifier?: any;
|
|
2193
|
+
inner?: any;
|
|
2194
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2195
|
+
PolymeshDartBpAffirmationProofsReceiverRevertAffirmationProof
|
|
2196
|
+
]>;
|
|
2197
|
+
/**
|
|
2198
|
+
* Batch register multiple accounts and assets.
|
|
2199
|
+
*
|
|
2200
|
+
* This is used to initialize the first account state commitment of the Confidential asset for the Confidential account.
|
|
2201
|
+
*
|
|
2202
|
+
* # Arguments
|
|
2203
|
+
* * `origin` - The origin of the call. They must be the owner of the Confidential account.
|
|
2204
|
+
* * `proof` - The Batched Account asset registration proof.
|
|
2205
|
+
*
|
|
2206
|
+
* # Errors
|
|
2207
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2208
|
+
* * `AccountMissing` if the Confidential account is not registered.
|
|
2209
|
+
* * `AssetMissing` if the Confidential asset is not registered.
|
|
2210
|
+
* * `AccountAssetAlreadyRegistered` if the Confidential account has already registered the Confidential asset.
|
|
2211
|
+
* * `NotAccountOwner` if the caller is not the owner of the Confidential account.
|
|
2212
|
+
* * `InvalidProof` if the proof is invalid.
|
|
2213
|
+
**/
|
|
2214
|
+
registerAccountAssets: AugmentedSubmittable<(proof: PolymeshDartBpAccountBatchedAccountAssetRegistrationProof | {
|
|
2215
|
+
proofs?: any;
|
|
2216
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2217
|
+
PolymeshDartBpAccountBatchedAccountAssetRegistrationProof
|
|
2218
|
+
]>;
|
|
2219
|
+
/**
|
|
2220
|
+
* Register a dart account.
|
|
2221
|
+
*
|
|
2222
|
+
* # Arguments
|
|
2223
|
+
* * `account` the dart account to register.
|
|
2224
|
+
* * `encryption_key` the encryption key for the dart account.
|
|
2225
|
+
*
|
|
2226
|
+
* # Errors
|
|
2227
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2228
|
+
* * `AccountAlreadyCreated` if the dart account or encryption key is already registered.
|
|
2096
2229
|
**/
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2230
|
+
registerAccounts: AugmentedSubmittable<(proof: PolymeshDartBpKeysAccountRegistrationProof | {
|
|
2231
|
+
accounts?: any;
|
|
2232
|
+
inner?: any;
|
|
2100
2233
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2101
|
-
|
|
2234
|
+
PolymeshDartBpKeysAccountRegistrationProof
|
|
2102
2235
|
]>;
|
|
2103
2236
|
/**
|
|
2104
|
-
*
|
|
2237
|
+
* Register encryption keys for auditors/mediators.
|
|
2105
2238
|
*
|
|
2106
|
-
*
|
|
2107
|
-
*
|
|
2239
|
+
* # Arguments
|
|
2240
|
+
* * `origin` - The origin of the call.
|
|
2241
|
+
* * `proof` - The auditor/mediator encryption registration proof.
|
|
2242
|
+
*
|
|
2243
|
+
* # Errors
|
|
2244
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2245
|
+
* * `EncryptionKeyAlreadyRegistered` if the encryption key is already registered.
|
|
2246
|
+
* * `InvalidProof` if the proof is invalid.
|
|
2108
2247
|
**/
|
|
2109
|
-
|
|
2110
|
-
|
|
2248
|
+
registerEncryptionKeys: AugmentedSubmittable<(proof: PolymeshDartBpKeysEncryptionKeyRegistrationProof | {
|
|
2249
|
+
keys_?: any;
|
|
2250
|
+
inner?: any;
|
|
2251
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2252
|
+
PolymeshDartBpKeysEncryptionKeyRegistrationProof
|
|
2111
2253
|
]>;
|
|
2112
2254
|
/**
|
|
2113
|
-
*
|
|
2255
|
+
* Batch register multiple fee accounts.
|
|
2114
2256
|
*
|
|
2115
|
-
* This
|
|
2116
|
-
* an error if either the `code_hash` or `dest` do not exist.
|
|
2257
|
+
* This is used to register fee accounts for Confidential private fee payments.
|
|
2117
2258
|
*
|
|
2118
|
-
* #
|
|
2259
|
+
* # Arguments
|
|
2260
|
+
* * `origin` - The origin of the call.
|
|
2261
|
+
* * `proof` - The batched fee account registration proof.
|
|
2119
2262
|
*
|
|
2120
|
-
*
|
|
2121
|
-
*
|
|
2122
|
-
*
|
|
2263
|
+
* # Errors
|
|
2264
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2265
|
+
* * `FeeAccountAlreadyRegistered` if the fee account or encryption key is already registered.
|
|
2266
|
+
* * `NullifierAlreadyUsed` if the nullifier for the fee account state commitment has already been used.
|
|
2267
|
+
* * `InvalidFeeAssetId` if the fee asset ID is invalid.
|
|
2268
|
+
* * `InvalidProof` if the proof is invalid.
|
|
2269
|
+
* * `InsufficientBalance` if the caller has insufficient balance to pay the deposit.
|
|
2270
|
+
**/
|
|
2271
|
+
registerFeeAccounts: AugmentedSubmittable<(proof: PolymeshDartBpFeeBatchedFeeAccountRegistrationProof | {
|
|
2272
|
+
proofs?: any;
|
|
2273
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2274
|
+
PolymeshDartBpFeeBatchedFeeAccountRegistrationProof
|
|
2275
|
+
]>;
|
|
2276
|
+
/**
|
|
2277
|
+
* Relayer submit a batch of proofs paid using a private fee payment.
|
|
2278
|
+
*
|
|
2279
|
+
* Users can use a Relayer service to submit their Confidential proofs for privacy (i.e., the origin is not the user).
|
|
2280
|
+
* The Relayer is paid/reimbursed using a private fee payment from the user's Confidential fee account.
|
|
2281
|
+
*
|
|
2282
|
+
* Relayers can charge a commission fee on top of the transaction fee (i.e. `commission fee + transaction fee = fee amount`).
|
|
2283
|
+
*
|
|
2284
|
+
* Relayers should verify that the fee payment proof is valid before submitting the batched Confidential proofs. They are not required
|
|
2285
|
+
* to verify the batched Confidential proofs. If the user's Confidential proofs are invalid, the user is still responsible for paying the fee to the relayer.
|
|
2286
|
+
*
|
|
2287
|
+
* # Arguments
|
|
2288
|
+
* * `origin` - The origin of the call. This is the relayer.
|
|
2289
|
+
* * `proof` - The fee payment proof and batched Confidential proofs.
|
|
2290
|
+
*
|
|
2291
|
+
* # Errors
|
|
2292
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2293
|
+
* * `InvalidFeePaymentProof` if the fee payment proof is invalid.
|
|
2294
|
+
* * `InsufficientFeePayment` if the fee payment is insufficient to cover the relayer fee.
|
|
2123
2295
|
**/
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
Raw: any;
|
|
2130
|
-
} | {
|
|
2131
|
-
Address32: any;
|
|
2132
|
-
} | {
|
|
2133
|
-
Address20: any;
|
|
2134
|
-
} | string | Uint8Array, codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2135
|
-
MultiAddress,
|
|
2136
|
-
H256
|
|
2296
|
+
relayerSubmitBatchedProofs: AugmentedSubmittable<(proof: PolymeshDartBpFeeFeePaymentWithBatchedProofs | {
|
|
2297
|
+
feePayment?: any;
|
|
2298
|
+
batchedProofs?: any;
|
|
2299
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2300
|
+
PolymeshDartBpFeeFeePaymentWithBatchedProofs
|
|
2137
2301
|
]>;
|
|
2138
2302
|
/**
|
|
2139
|
-
*
|
|
2303
|
+
* Sender affirms a settlement leg.
|
|
2140
2304
|
*
|
|
2141
|
-
*
|
|
2142
|
-
*
|
|
2143
|
-
*
|
|
2305
|
+
* # Arguments
|
|
2306
|
+
* * `origin` - The origin of the call.
|
|
2307
|
+
* * `proof` - The sender affirmation proof.
|
|
2144
2308
|
*
|
|
2145
|
-
*
|
|
2146
|
-
*
|
|
2147
|
-
*
|
|
2309
|
+
* # Errors
|
|
2310
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2311
|
+
* * `SettlementNotPending` if the settlement is not pending.
|
|
2312
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2313
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2314
|
+
* * `AlreadyAffirmed` if the leg has already been affirmed by the sender.
|
|
2315
|
+
**/
|
|
2316
|
+
senderAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsSenderAffirmationProof | {
|
|
2317
|
+
legRef?: any;
|
|
2318
|
+
rootBlock?: any;
|
|
2319
|
+
updatedAccountStateCommitment?: any;
|
|
2320
|
+
nullifier?: any;
|
|
2321
|
+
inner?: any;
|
|
2322
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2323
|
+
PolymeshDartBpAffirmationProofsSenderAffirmationProof
|
|
2324
|
+
]>;
|
|
2325
|
+
/**
|
|
2326
|
+
* Sender reverts their affirmation.
|
|
2148
2327
|
*
|
|
2149
|
-
*
|
|
2150
|
-
*
|
|
2151
|
-
*
|
|
2328
|
+
* # Arguments
|
|
2329
|
+
* * `origin` - The origin of the call.
|
|
2330
|
+
* * `proof` - The sender revert affirmation proof.
|
|
2152
2331
|
*
|
|
2153
|
-
* #
|
|
2332
|
+
* # Errors
|
|
2333
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2334
|
+
* * `SettlementAlreadyExecuted` if the settlement has already been executed.
|
|
2335
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2336
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2337
|
+
**/
|
|
2338
|
+
senderRevertAffirmation: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsSenderRevertAffirmationProof | {
|
|
2339
|
+
legRef?: any;
|
|
2340
|
+
rootBlock?: any;
|
|
2341
|
+
updatedAccountStateCommitment?: any;
|
|
2342
|
+
nullifier?: any;
|
|
2343
|
+
inner?: any;
|
|
2344
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2345
|
+
PolymeshDartBpAffirmationProofsSenderRevertAffirmationProof
|
|
2346
|
+
]>;
|
|
2347
|
+
/**
|
|
2348
|
+
* Sender updates their counter after a settlement has been executed.
|
|
2154
2349
|
*
|
|
2155
|
-
*
|
|
2156
|
-
*
|
|
2157
|
-
*
|
|
2158
|
-
* through [`Self::instantiate_with_code`].
|
|
2350
|
+
* # Arguments
|
|
2351
|
+
* * `origin` - The origin of the call.
|
|
2352
|
+
* * `proof` - The sender update proof.
|
|
2159
2353
|
*
|
|
2160
|
-
*
|
|
2161
|
-
*
|
|
2162
|
-
*
|
|
2354
|
+
* # Errors
|
|
2355
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2356
|
+
* * `SettlementNotExecuted` if the settlement has not been executed.
|
|
2357
|
+
* * `SettlementNotFound` if the settlement is not found.
|
|
2358
|
+
* * `LegNotFound` if the leg is not found in the settlement.
|
|
2359
|
+
**/
|
|
2360
|
+
senderUpdateCounter: AugmentedSubmittable<(proof: PolymeshDartBpAffirmationProofsSenderCounterUpdateProof | {
|
|
2361
|
+
legRef?: any;
|
|
2362
|
+
rootBlock?: any;
|
|
2363
|
+
updatedAccountStateCommitment?: any;
|
|
2364
|
+
nullifier?: any;
|
|
2365
|
+
inner?: any;
|
|
2366
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2367
|
+
PolymeshDartBpAffirmationProofsSenderCounterUpdateProof
|
|
2368
|
+
]>;
|
|
2369
|
+
/**
|
|
2370
|
+
* Submit a batch of proofs.
|
|
2371
|
+
*
|
|
2372
|
+
* # Arguments
|
|
2373
|
+
* * `origin` - The origin of the call.
|
|
2374
|
+
* * `proof` - The batched proofs.
|
|
2375
|
+
*
|
|
2376
|
+
* # Errors
|
|
2377
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2378
|
+
* * `InvalidProof` if any of the proofs are invalid.
|
|
2163
2379
|
**/
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2380
|
+
submitBatchedProofs: AugmentedSubmittable<(proof: PolymeshDartBpBatchedBatchedProofs | {
|
|
2381
|
+
proofs?: any;
|
|
2382
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2383
|
+
PolymeshDartBpBatchedBatchedProofs
|
|
2384
|
+
]>;
|
|
2385
|
+
/**
|
|
2386
|
+
* Toup a batch of fee accounts.
|
|
2387
|
+
*
|
|
2388
|
+
* # Arguments
|
|
2389
|
+
* * `origin` - The origin of the call.
|
|
2390
|
+
* * `proof` - The batched fee account topup proof.
|
|
2391
|
+
*
|
|
2392
|
+
* # Errors
|
|
2393
|
+
* * `BadOrigin` if `origin` isn't signed.
|
|
2394
|
+
* * `FeeAccountMissing` if the fee account is not registered.
|
|
2395
|
+
* * `InvalidFeeAssetId` if the fee asset ID is invalid.
|
|
2396
|
+
* * `InvalidProof` if the proof is invalid.
|
|
2397
|
+
* * `InsufficientBalance` if the caller has insufficient balance to pay the deposit.
|
|
2398
|
+
**/
|
|
2399
|
+
topupFeeAccounts: AugmentedSubmittable<(proof: PolymeshDartBpFeeBatchedFeeAccountTopupProof | {
|
|
2400
|
+
rootBlock?: any;
|
|
2401
|
+
proofs?: any;
|
|
2402
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
2403
|
+
PolymeshDartBpFeeBatchedFeeAccountTopupProof
|
|
2168
2404
|
]>;
|
|
2169
2405
|
};
|
|
2170
2406
|
corporateAction: {
|
|
@@ -3482,6 +3718,56 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3482
3718
|
u32
|
|
3483
3719
|
]>;
|
|
3484
3720
|
};
|
|
3721
|
+
multiBlockMigrations: {
|
|
3722
|
+
/**
|
|
3723
|
+
* Clears the `Historic` set.
|
|
3724
|
+
*
|
|
3725
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
3726
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
3727
|
+
* way that will result in a sensible weight.
|
|
3728
|
+
**/
|
|
3729
|
+
clearHistoric: AugmentedSubmittable<(selector: PalletMigrationsHistoricCleanupSelector | {
|
|
3730
|
+
Specific: any;
|
|
3731
|
+
} | {
|
|
3732
|
+
Wildcard: any;
|
|
3733
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
3734
|
+
PalletMigrationsHistoricCleanupSelector
|
|
3735
|
+
]>;
|
|
3736
|
+
/**
|
|
3737
|
+
* Forces the onboarding of the migrations.
|
|
3738
|
+
*
|
|
3739
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
3740
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
3741
|
+
**/
|
|
3742
|
+
forceOnboardMbms: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
3743
|
+
/**
|
|
3744
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
3745
|
+
*
|
|
3746
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
3747
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
3748
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
3749
|
+
* indicates that the current block number plus one should be used.
|
|
3750
|
+
**/
|
|
3751
|
+
forceSetActiveCursor: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, innerCursor: Option<Bytes> | null | Uint8Array | Bytes | string, startedAt: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
3752
|
+
u32,
|
|
3753
|
+
Option<Bytes>,
|
|
3754
|
+
Option<u32>
|
|
3755
|
+
]>;
|
|
3756
|
+
/**
|
|
3757
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
3758
|
+
*
|
|
3759
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
3760
|
+
* restarting the migration process in this manner will not call the
|
|
3761
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
3762
|
+
**/
|
|
3763
|
+
forceSetCursor: AugmentedSubmittable<(cursor: Option<PalletMigrationsMigrationCursor> | null | Uint8Array | PalletMigrationsMigrationCursor | {
|
|
3764
|
+
Active: any;
|
|
3765
|
+
} | {
|
|
3766
|
+
Stuck: any;
|
|
3767
|
+
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
3768
|
+
Option<PalletMigrationsMigrationCursor>
|
|
3769
|
+
]>;
|
|
3770
|
+
};
|
|
3485
3771
|
multiSig: {
|
|
3486
3772
|
/**
|
|
3487
3773
|
* Accepts a multisig signer authorization given to signer's key (AccountId).
|
|
@@ -4238,115 +4524,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4238
4524
|
Call
|
|
4239
4525
|
]>;
|
|
4240
4526
|
};
|
|
4241
|
-
polymeshContracts: {
|
|
4242
|
-
/**
|
|
4243
|
-
* Instantiates a smart contract defining it with the given `code` and `salt`.
|
|
4244
|
-
*
|
|
4245
|
-
* The contract will be attached as a secondary key,
|
|
4246
|
-
* with `perms` as its permissions, to `origin`'s identity.
|
|
4247
|
-
*
|
|
4248
|
-
* The contract is transferred `endowment` amount of POLYX.
|
|
4249
|
-
* This is distinct from the `gas_limit`,
|
|
4250
|
-
* which controls how much gas the deployment code may at most consume.
|
|
4251
|
-
*
|
|
4252
|
-
* # Arguments
|
|
4253
|
-
* - `endowment` amount of POLYX to transfer to the contract.
|
|
4254
|
-
* - `gas_limit` for how much gas the `deploy` code in the contract may at most consume.
|
|
4255
|
-
* - `storage_deposit_limit` The maximum amount of balance that can be charged/reserved
|
|
4256
|
-
* from the caller to pay for the storage consumed.
|
|
4257
|
-
* - `code` with the WASM binary defining the smart contract.
|
|
4258
|
-
* - `data` The input data to pass to the contract constructor.
|
|
4259
|
-
* - `salt` used for contract address derivation.
|
|
4260
|
-
* By varying this, the same `code` can be used under the same identity.
|
|
4261
|
-
* - `perms` that the new secondary key will have.
|
|
4262
|
-
*
|
|
4263
|
-
* # Errors
|
|
4264
|
-
* - All the errors in `pallet_contracts::Call::instantiate_with_code` can also happen here.
|
|
4265
|
-
* - CDD/Permissions are checked, unlike in `pallet_contracts`.
|
|
4266
|
-
* - Errors that arise when adding a new secondary key can also occur here.
|
|
4267
|
-
**/
|
|
4268
|
-
instantiateWithCodePerms: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
4269
|
-
refTime?: any;
|
|
4270
|
-
proofSize?: any;
|
|
4271
|
-
} | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
4272
|
-
asset?: any;
|
|
4273
|
-
extrinsic?: any;
|
|
4274
|
-
portfolio?: any;
|
|
4275
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4276
|
-
u128,
|
|
4277
|
-
SpWeightsWeightV2Weight,
|
|
4278
|
-
Option<u128>,
|
|
4279
|
-
Bytes,
|
|
4280
|
-
Bytes,
|
|
4281
|
-
Bytes,
|
|
4282
|
-
PolymeshPrimitivesSecondaryKeyPermissions
|
|
4283
|
-
]>;
|
|
4284
|
-
/**
|
|
4285
|
-
* Instantiates a smart contract defining using the given `code_hash` and `salt`.
|
|
4286
|
-
*
|
|
4287
|
-
* Unlike `instantiate_with_code`,
|
|
4288
|
-
* this assumes that at least one contract with the same WASM code has already been uploaded.
|
|
4289
|
-
*
|
|
4290
|
-
* The contract will be attached as a secondary key,
|
|
4291
|
-
* with `perms` as its permissions, to `origin`'s identity.
|
|
4292
|
-
*
|
|
4293
|
-
* The contract is transferred `endowment` amount of POLYX.
|
|
4294
|
-
* This is distinct from the `gas_limit`,
|
|
4295
|
-
* which controls how much gas the deployment code may at most consume.
|
|
4296
|
-
*
|
|
4297
|
-
* # Arguments
|
|
4298
|
-
* - `endowment` amount of POLYX to transfer to the contract.
|
|
4299
|
-
* - `gas_limit` for how much gas the `deploy` code in the contract may at most consume.
|
|
4300
|
-
* - `storage_deposit_limit` The maximum amount of balance that can be charged/reserved
|
|
4301
|
-
* from the caller to pay for the storage consumed.
|
|
4302
|
-
* - `code_hash` of an already uploaded WASM binary.
|
|
4303
|
-
* - `data` The input data to pass to the contract constructor.
|
|
4304
|
-
* - `salt` used for contract address derivation.
|
|
4305
|
-
* By varying this, the same `code` can be used under the same identity.
|
|
4306
|
-
* - `perms` that the new secondary key will have.
|
|
4307
|
-
*
|
|
4308
|
-
* # Errors
|
|
4309
|
-
* - All the errors in `pallet_contracts::Call::instantiate` can also happen here.
|
|
4310
|
-
* - CDD/Permissions are checked, unlike in `pallet_contracts`.
|
|
4311
|
-
* - Errors that arise when adding a new secondary key can also occur here.
|
|
4312
|
-
**/
|
|
4313
|
-
instantiateWithHashPerms: AugmentedSubmittable<(endowment: u128 | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | {
|
|
4314
|
-
refTime?: any;
|
|
4315
|
-
proofSize?: any;
|
|
4316
|
-
} | string | Uint8Array, storageDepositLimit: Option<u128> | null | Uint8Array | u128 | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array, perms: PolymeshPrimitivesSecondaryKeyPermissions | {
|
|
4317
|
-
asset?: any;
|
|
4318
|
-
extrinsic?: any;
|
|
4319
|
-
portfolio?: any;
|
|
4320
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4321
|
-
u128,
|
|
4322
|
-
SpWeightsWeightV2Weight,
|
|
4323
|
-
Option<u128>,
|
|
4324
|
-
H256,
|
|
4325
|
-
Bytes,
|
|
4326
|
-
Bytes,
|
|
4327
|
-
PolymeshPrimitivesSecondaryKeyPermissions
|
|
4328
|
-
]>;
|
|
4329
|
-
/**
|
|
4330
|
-
* Update CallRuntime whitelist.
|
|
4331
|
-
*
|
|
4332
|
-
* # Arguments
|
|
4333
|
-
*
|
|
4334
|
-
* # Errors
|
|
4335
|
-
**/
|
|
4336
|
-
updateCallRuntimeWhitelist: AugmentedSubmittable<(updates: Vec<ITuple<[PolymeshContractsChainExtensionExtrinsicId, bool]>> | [PolymeshContractsChainExtensionExtrinsicId, bool | boolean | Uint8Array][]) => SubmittableExtrinsic<ApiType>, [
|
|
4337
|
-
Vec<ITuple<[PolymeshContractsChainExtensionExtrinsicId, bool]>>
|
|
4338
|
-
]>;
|
|
4339
|
-
upgradeApi: AugmentedSubmittable<(api: PolymeshContractsApi | {
|
|
4340
|
-
desc?: any;
|
|
4341
|
-
major?: any;
|
|
4342
|
-
} | string | Uint8Array, nextUpgrade: PolymeshContractsNextUpgrade | {
|
|
4343
|
-
chainVersion?: any;
|
|
4344
|
-
apiHash?: any;
|
|
4345
|
-
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4346
|
-
PolymeshContractsApi,
|
|
4347
|
-
PolymeshContractsNextUpgrade
|
|
4348
|
-
]>;
|
|
4349
|
-
};
|
|
4350
4527
|
polymeshTransactionPayment: {
|
|
4351
4528
|
setDisableFees: AugmentedSubmittable<(value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
4352
4529
|
bool
|
|
@@ -7273,10 +7450,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7273
7450
|
PolymeshPrimitivesIdentityId,
|
|
7274
7451
|
Vec<AccountId32>
|
|
7275
7452
|
]>;
|
|
7276
|
-
payoutStakersBySystem: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7277
|
-
AccountId32,
|
|
7278
|
-
u32
|
|
7279
|
-
]>;
|
|
7280
7453
|
/**
|
|
7281
7454
|
* Remove an identity from the pool of (wannabe) validator identities. Effects are known in the next session.
|
|
7282
7455
|
*
|