@polymeshassociation/polymesh-types 7.3.0 → 7.4.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/CHANGELOG.md +3 -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 +94 -2
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +192 -8
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +400 -2
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +395 -2
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +510 -2
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/lookup.d.ts +1079 -327
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +1126 -329
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/registry.d.ts +70 -1
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/types-lookup.d.ts +1087 -332
- package/polkadot/types-lookup.d.ts.map +1 -1
|
@@ -1,13 +1,29 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/events';
|
|
2
2
|
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
3
|
-
import type { BTreeSet, Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
|
+
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Result, Struct, Text, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletContractsOrigin, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStoFundingAsset, PalletStoFundraiser, PalletValidatorsSlashingSwitch, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsChainVersion, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetHoldingsUpdateReason, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFundDescription, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSettlementAffirmationRequirement, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpStakingExposure } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConfidentialAssetsCurveTreeCurveTreeTimestamp, PalletConfidentialAssetsCurveTreeTimestampedTreeRoot, PalletConfidentialAssetsSettlementSettlementStatus, PalletContractsOrigin, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStoFundingAsset, PalletStoFundraiser, PalletValidatorsSlashingSwitch, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsChainVersion, PolymeshDartBpAccountAccountStateCommitment, PolymeshDartBpBatchedProofHash, PolymeshDartBpFeeFeeAccountStateCommitment, PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey, PolymeshDartBpLegLegRef, PolymeshDartBpLegSettlementRef, PolymeshDartCurveTreeCommonCompressedLeafValue, PolymeshDartCurveTreeCompressedCurveTreeRoot, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetHoldingsUpdateReason, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFund, PolymeshPrimitivesPortfolioFundDescription, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSettlementAffirmationRequirement, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpStakingExposure } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
10
10
|
asset: {
|
|
11
|
+
/**
|
|
12
|
+
* A spender used part of an allowance.
|
|
13
|
+
**/
|
|
14
|
+
AllowanceSpent: AugmentedEvent<ApiType, [
|
|
15
|
+
owner: AccountId32,
|
|
16
|
+
spender: AccountId32,
|
|
17
|
+
assetId: PolymeshPrimitivesAssetAssetId,
|
|
18
|
+
amountSpent: u128,
|
|
19
|
+
remainingAllowance: u128
|
|
20
|
+
], {
|
|
21
|
+
owner: AccountId32;
|
|
22
|
+
spender: AccountId32;
|
|
23
|
+
assetId: PolymeshPrimitivesAssetAssetId;
|
|
24
|
+
amountSpent: u128;
|
|
25
|
+
remainingAllowance: u128;
|
|
26
|
+
}>;
|
|
11
27
|
/**
|
|
12
28
|
* A spender allowance was set for an asset.
|
|
13
29
|
**/
|
|
@@ -850,6 +866,308 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
850
866
|
PolymeshPrimitivesIdentityId
|
|
851
867
|
]>;
|
|
852
868
|
};
|
|
869
|
+
confidentialAssets: {
|
|
870
|
+
/**
|
|
871
|
+
* Account asset registered.
|
|
872
|
+
**/
|
|
873
|
+
AccountAssetRegistered: AugmentedEvent<ApiType, [
|
|
874
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
875
|
+
account: PolymeshDartBpKeysAccountPublicKey,
|
|
876
|
+
assetId: u32
|
|
877
|
+
], {
|
|
878
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
879
|
+
account: PolymeshDartBpKeysAccountPublicKey;
|
|
880
|
+
assetId: u32;
|
|
881
|
+
}>;
|
|
882
|
+
/**
|
|
883
|
+
* Account curve tree root updated.
|
|
884
|
+
**/
|
|
885
|
+
AccountCurveTreeRootUpdated: AugmentedEvent<ApiType, [
|
|
886
|
+
root: {
|
|
887
|
+
readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
|
|
888
|
+
readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
|
|
889
|
+
} & Struct
|
|
890
|
+
], {
|
|
891
|
+
root: {
|
|
892
|
+
readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
|
|
893
|
+
readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
|
|
894
|
+
} & Struct;
|
|
895
|
+
}>;
|
|
896
|
+
/**
|
|
897
|
+
* A new Confidential account has been registered.
|
|
898
|
+
**/
|
|
899
|
+
AccountRegistered: AugmentedEvent<ApiType, [
|
|
900
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
901
|
+
account: PolymeshDartBpKeysAccountPublicKey,
|
|
902
|
+
encryptionKey: PolymeshDartBpKeysEncryptionPublicKey
|
|
903
|
+
], {
|
|
904
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
905
|
+
account: PolymeshDartBpKeysAccountPublicKey;
|
|
906
|
+
encryptionKey: PolymeshDartBpKeysEncryptionPublicKey;
|
|
907
|
+
}>;
|
|
908
|
+
/**
|
|
909
|
+
* Account curve tree leaf inserted.
|
|
910
|
+
*
|
|
911
|
+
* This curve tree is append-only, so we only store the new leaf.
|
|
912
|
+
**/
|
|
913
|
+
AccountStateLeafInserted: AugmentedEvent<ApiType, [
|
|
914
|
+
leafIndex: u64,
|
|
915
|
+
accountCommitment: PolymeshDartBpAccountAccountStateCommitment
|
|
916
|
+
], {
|
|
917
|
+
leafIndex: u64;
|
|
918
|
+
accountCommitment: PolymeshDartBpAccountAccountStateCommitment;
|
|
919
|
+
}>;
|
|
920
|
+
/**
|
|
921
|
+
* A new Confidential asset has been created.
|
|
922
|
+
**/
|
|
923
|
+
AssetCreated: AugmentedEvent<ApiType, [
|
|
924
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
925
|
+
assetId: u32,
|
|
926
|
+
mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>,
|
|
927
|
+
auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>,
|
|
928
|
+
name: Text,
|
|
929
|
+
symbol_: Text,
|
|
930
|
+
decimals: u8,
|
|
931
|
+
data: Bytes
|
|
932
|
+
], {
|
|
933
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
934
|
+
assetId: u32;
|
|
935
|
+
mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>;
|
|
936
|
+
auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>;
|
|
937
|
+
name: Text;
|
|
938
|
+
symbol: Text;
|
|
939
|
+
decimals: u8;
|
|
940
|
+
data: Bytes;
|
|
941
|
+
}>;
|
|
942
|
+
/**
|
|
943
|
+
* Asset curve tree root updated.
|
|
944
|
+
**/
|
|
945
|
+
AssetCurveTreeRootUpdated: AugmentedEvent<ApiType, [
|
|
946
|
+
root: {
|
|
947
|
+
readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
|
|
948
|
+
readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
|
|
949
|
+
} & Struct
|
|
950
|
+
], {
|
|
951
|
+
root: {
|
|
952
|
+
readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
|
|
953
|
+
readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
|
|
954
|
+
} & Struct;
|
|
955
|
+
}>;
|
|
956
|
+
/**
|
|
957
|
+
* Minted Confidential asset.
|
|
958
|
+
**/
|
|
959
|
+
AssetMinted: AugmentedEvent<ApiType, [
|
|
960
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
961
|
+
assetId: u32,
|
|
962
|
+
amount: u128,
|
|
963
|
+
totalSupply: u128,
|
|
964
|
+
account: PolymeshDartBpKeysAccountPublicKey
|
|
965
|
+
], {
|
|
966
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
967
|
+
assetId: u32;
|
|
968
|
+
amount: u128;
|
|
969
|
+
totalSupply: u128;
|
|
970
|
+
account: PolymeshDartBpKeysAccountPublicKey;
|
|
971
|
+
}>;
|
|
972
|
+
/**
|
|
973
|
+
* An asset state leaf has been updated.
|
|
974
|
+
*
|
|
975
|
+
* This curve tree is mutable, so we can update existing leaves.
|
|
976
|
+
**/
|
|
977
|
+
AssetStateLeafUpdated: AugmentedEvent<ApiType, [
|
|
978
|
+
leafIndex: u64,
|
|
979
|
+
assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue
|
|
980
|
+
], {
|
|
981
|
+
leafIndex: u64;
|
|
982
|
+
assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue;
|
|
983
|
+
}>;
|
|
984
|
+
/**
|
|
985
|
+
* A Confidential asset has been updated.
|
|
986
|
+
**/
|
|
987
|
+
AssetUpdated: AugmentedEvent<ApiType, [
|
|
988
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
989
|
+
assetId: u32,
|
|
990
|
+
mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>,
|
|
991
|
+
auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>
|
|
992
|
+
], {
|
|
993
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
994
|
+
assetId: u32;
|
|
995
|
+
mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>;
|
|
996
|
+
auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>;
|
|
997
|
+
}>;
|
|
998
|
+
/**
|
|
999
|
+
* An encryption key has been registered.
|
|
1000
|
+
**/
|
|
1001
|
+
EncryptionKeyRegistered: AugmentedEvent<ApiType, [
|
|
1002
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
1003
|
+
encryptionKey: PolymeshDartBpKeysEncryptionPublicKey
|
|
1004
|
+
], {
|
|
1005
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
1006
|
+
encryptionKey: PolymeshDartBpKeysEncryptionPublicKey;
|
|
1007
|
+
}>;
|
|
1008
|
+
/**
|
|
1009
|
+
* Fee account curve tree root updated.
|
|
1010
|
+
**/
|
|
1011
|
+
FeeAccountCurveTreeRootUpdated: AugmentedEvent<ApiType, [
|
|
1012
|
+
root: PalletConfidentialAssetsCurveTreeTimestampedTreeRoot
|
|
1013
|
+
], {
|
|
1014
|
+
root: PalletConfidentialAssetsCurveTreeTimestampedTreeRoot;
|
|
1015
|
+
}>;
|
|
1016
|
+
/**
|
|
1017
|
+
* POLYX deposited into the fee account.
|
|
1018
|
+
**/
|
|
1019
|
+
FeeAccountDeposited: AugmentedEvent<ApiType, [
|
|
1020
|
+
sender: AccountId32,
|
|
1021
|
+
amount: u128
|
|
1022
|
+
], {
|
|
1023
|
+
sender: AccountId32;
|
|
1024
|
+
amount: u128;
|
|
1025
|
+
}>;
|
|
1026
|
+
/**
|
|
1027
|
+
* Fee account curve tree leaf inserted.
|
|
1028
|
+
*
|
|
1029
|
+
* This curve tree is append-only, so we only store the new leaf.
|
|
1030
|
+
**/
|
|
1031
|
+
FeeAccountStateLeafInserted: AugmentedEvent<ApiType, [
|
|
1032
|
+
leafIndex: u64,
|
|
1033
|
+
feeAccountCommitment: PolymeshDartBpFeeFeeAccountStateCommitment
|
|
1034
|
+
], {
|
|
1035
|
+
leafIndex: u64;
|
|
1036
|
+
feeAccountCommitment: PolymeshDartBpFeeFeeAccountStateCommitment;
|
|
1037
|
+
}>;
|
|
1038
|
+
/**
|
|
1039
|
+
* Fee account updated.
|
|
1040
|
+
*
|
|
1041
|
+
* This event is emitted for both registration and top-up of fee accounts.
|
|
1042
|
+
**/
|
|
1043
|
+
FeeAccountUpdated: AugmentedEvent<ApiType, [
|
|
1044
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
1045
|
+
account: PolymeshDartBpKeysAccountPublicKey,
|
|
1046
|
+
isRegistration: bool,
|
|
1047
|
+
amount: u128
|
|
1048
|
+
], {
|
|
1049
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
1050
|
+
account: PolymeshDartBpKeysAccountPublicKey;
|
|
1051
|
+
isRegistration: bool;
|
|
1052
|
+
amount: u128;
|
|
1053
|
+
}>;
|
|
1054
|
+
/**
|
|
1055
|
+
* POLYX withdrawn from the fee account.
|
|
1056
|
+
**/
|
|
1057
|
+
FeeAccountWithdrawn: AugmentedEvent<ApiType, [
|
|
1058
|
+
receiver: AccountId32,
|
|
1059
|
+
amount: u128
|
|
1060
|
+
], {
|
|
1061
|
+
receiver: AccountId32;
|
|
1062
|
+
amount: u128;
|
|
1063
|
+
}>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Mediator has affirmed a leg.
|
|
1066
|
+
**/
|
|
1067
|
+
MediatorAffirmed: AugmentedEvent<ApiType, [
|
|
1068
|
+
legRef: PolymeshDartBpLegLegRef,
|
|
1069
|
+
keyIndex: u8
|
|
1070
|
+
], {
|
|
1071
|
+
legRef: PolymeshDartBpLegLegRef;
|
|
1072
|
+
keyIndex: u8;
|
|
1073
|
+
}>;
|
|
1074
|
+
/**
|
|
1075
|
+
* Mediator has rejected a leg.
|
|
1076
|
+
**/
|
|
1077
|
+
MediatorRejected: AugmentedEvent<ApiType, [
|
|
1078
|
+
legRef: PolymeshDartBpLegLegRef,
|
|
1079
|
+
keyIndex: u8
|
|
1080
|
+
], {
|
|
1081
|
+
legRef: PolymeshDartBpLegLegRef;
|
|
1082
|
+
keyIndex: u8;
|
|
1083
|
+
}>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Receiver has reverted their affirmation for a leg.
|
|
1086
|
+
**/
|
|
1087
|
+
ReceiverAffirmationReverted: AugmentedEvent<ApiType, [
|
|
1088
|
+
legRef: PolymeshDartBpLegLegRef
|
|
1089
|
+
], {
|
|
1090
|
+
legRef: PolymeshDartBpLegLegRef;
|
|
1091
|
+
}>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Receiver has affirmed a leg.
|
|
1094
|
+
**/
|
|
1095
|
+
ReceiverAffirmed: AugmentedEvent<ApiType, [
|
|
1096
|
+
legRef: PolymeshDartBpLegLegRef
|
|
1097
|
+
], {
|
|
1098
|
+
legRef: PolymeshDartBpLegLegRef;
|
|
1099
|
+
}>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Receiver has claimed assets.
|
|
1102
|
+
**/
|
|
1103
|
+
ReceiverClaimed: AugmentedEvent<ApiType, [
|
|
1104
|
+
legRef: PolymeshDartBpLegLegRef
|
|
1105
|
+
], {
|
|
1106
|
+
legRef: PolymeshDartBpLegLegRef;
|
|
1107
|
+
}>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Relayer submitted batched proofs including fee payment.
|
|
1110
|
+
**/
|
|
1111
|
+
RelayerBatchedProofs: AugmentedEvent<ApiType, [
|
|
1112
|
+
relayer: AccountId32,
|
|
1113
|
+
amount: u128,
|
|
1114
|
+
batchHash: PolymeshDartBpBatchedProofHash,
|
|
1115
|
+
batchResult: Result<Null, SpRuntimeDispatchError>
|
|
1116
|
+
], {
|
|
1117
|
+
relayer: AccountId32;
|
|
1118
|
+
amount: u128;
|
|
1119
|
+
batchHash: PolymeshDartBpBatchedProofHash;
|
|
1120
|
+
batchResult: Result<Null, SpRuntimeDispatchError>;
|
|
1121
|
+
}>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Sender has reverted their affirmation for a leg.
|
|
1124
|
+
**/
|
|
1125
|
+
SenderAffirmationReverted: AugmentedEvent<ApiType, [
|
|
1126
|
+
legRef: PolymeshDartBpLegLegRef
|
|
1127
|
+
], {
|
|
1128
|
+
legRef: PolymeshDartBpLegLegRef;
|
|
1129
|
+
}>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Sender has affirmed a leg.
|
|
1132
|
+
**/
|
|
1133
|
+
SenderAffirmed: AugmentedEvent<ApiType, [
|
|
1134
|
+
legRef: PolymeshDartBpLegLegRef
|
|
1135
|
+
], {
|
|
1136
|
+
legRef: PolymeshDartBpLegLegRef;
|
|
1137
|
+
}>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Sender updated counter.
|
|
1140
|
+
**/
|
|
1141
|
+
SenderCounterUpdated: AugmentedEvent<ApiType, [
|
|
1142
|
+
legRef: PolymeshDartBpLegLegRef
|
|
1143
|
+
], {
|
|
1144
|
+
legRef: PolymeshDartBpLegLegRef;
|
|
1145
|
+
}>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Settlement created.
|
|
1148
|
+
**/
|
|
1149
|
+
SettlementCreated: AugmentedEvent<ApiType, [
|
|
1150
|
+
settlementRef: PolymeshDartBpLegSettlementRef,
|
|
1151
|
+
memo: Bytes,
|
|
1152
|
+
assetRootBlock: u32,
|
|
1153
|
+
legs: Vec<Bytes>
|
|
1154
|
+
], {
|
|
1155
|
+
settlementRef: PolymeshDartBpLegSettlementRef;
|
|
1156
|
+
memo: Bytes;
|
|
1157
|
+
assetRootBlock: u32;
|
|
1158
|
+
legs: Vec<Bytes>;
|
|
1159
|
+
}>;
|
|
1160
|
+
/**
|
|
1161
|
+
* Settlement status updated.
|
|
1162
|
+
**/
|
|
1163
|
+
SettlementStatusUpdated: AugmentedEvent<ApiType, [
|
|
1164
|
+
settlementRef: PolymeshDartBpLegSettlementRef,
|
|
1165
|
+
status: PalletConfidentialAssetsSettlementSettlementStatus
|
|
1166
|
+
], {
|
|
1167
|
+
settlementRef: PolymeshDartBpLegSettlementRef;
|
|
1168
|
+
status: PalletConfidentialAssetsSettlementSettlementStatus;
|
|
1169
|
+
}>;
|
|
1170
|
+
};
|
|
853
1171
|
contracts: {
|
|
854
1172
|
/**
|
|
855
1173
|
* A contract was called either by a plain account or another contract.
|
|
@@ -1521,6 +1839,71 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1521
1839
|
who: AccountId32;
|
|
1522
1840
|
}>;
|
|
1523
1841
|
};
|
|
1842
|
+
multiBlockMigrations: {
|
|
1843
|
+
/**
|
|
1844
|
+
* The set of historical migrations has been cleared.
|
|
1845
|
+
**/
|
|
1846
|
+
HistoricCleared: AugmentedEvent<ApiType, [
|
|
1847
|
+
nextCursor: Option<Bytes>
|
|
1848
|
+
], {
|
|
1849
|
+
nextCursor: Option<Bytes>;
|
|
1850
|
+
}>;
|
|
1851
|
+
/**
|
|
1852
|
+
* A migration progressed.
|
|
1853
|
+
**/
|
|
1854
|
+
MigrationAdvanced: AugmentedEvent<ApiType, [
|
|
1855
|
+
index: u32,
|
|
1856
|
+
took: u32
|
|
1857
|
+
], {
|
|
1858
|
+
index: u32;
|
|
1859
|
+
took: u32;
|
|
1860
|
+
}>;
|
|
1861
|
+
/**
|
|
1862
|
+
* A Migration completed.
|
|
1863
|
+
**/
|
|
1864
|
+
MigrationCompleted: AugmentedEvent<ApiType, [
|
|
1865
|
+
index: u32,
|
|
1866
|
+
took: u32
|
|
1867
|
+
], {
|
|
1868
|
+
index: u32;
|
|
1869
|
+
took: u32;
|
|
1870
|
+
}>;
|
|
1871
|
+
/**
|
|
1872
|
+
* A Migration failed.
|
|
1873
|
+
*
|
|
1874
|
+
* This implies that the whole upgrade failed and governance intervention is required.
|
|
1875
|
+
**/
|
|
1876
|
+
MigrationFailed: AugmentedEvent<ApiType, [index: u32, took: u32], {
|
|
1877
|
+
index: u32;
|
|
1878
|
+
took: u32;
|
|
1879
|
+
}>;
|
|
1880
|
+
/**
|
|
1881
|
+
* A migration was skipped since it was already executed in the past.
|
|
1882
|
+
**/
|
|
1883
|
+
MigrationSkipped: AugmentedEvent<ApiType, [index: u32], {
|
|
1884
|
+
index: u32;
|
|
1885
|
+
}>;
|
|
1886
|
+
/**
|
|
1887
|
+
* The current runtime upgrade completed.
|
|
1888
|
+
*
|
|
1889
|
+
* This implies that all of its migrations completed successfully as well.
|
|
1890
|
+
**/
|
|
1891
|
+
UpgradeCompleted: AugmentedEvent<ApiType, []>;
|
|
1892
|
+
/**
|
|
1893
|
+
* Runtime upgrade failed.
|
|
1894
|
+
*
|
|
1895
|
+
* This is very bad and will require governance intervention.
|
|
1896
|
+
**/
|
|
1897
|
+
UpgradeFailed: AugmentedEvent<ApiType, []>;
|
|
1898
|
+
/**
|
|
1899
|
+
* A Runtime upgrade started.
|
|
1900
|
+
*
|
|
1901
|
+
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
1902
|
+
**/
|
|
1903
|
+
UpgradeStarted: AugmentedEvent<ApiType, [migrations: u32], {
|
|
1904
|
+
migrations: u32;
|
|
1905
|
+
}>;
|
|
1906
|
+
};
|
|
1524
1907
|
multiSig: {
|
|
1525
1908
|
/**
|
|
1526
1909
|
* A Multisig has added an admin DID.
|
|
@@ -2488,6 +2871,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2488
2871
|
* Failed to execute instruction.
|
|
2489
2872
|
**/
|
|
2490
2873
|
FailedToExecuteInstruction: AugmentedEvent<ApiType, [u64, SpRuntimeDispatchError]>;
|
|
2874
|
+
/**
|
|
2875
|
+
* Funds have been transferred
|
|
2876
|
+
*
|
|
2877
|
+
* Parameters:
|
|
2878
|
+
* - `IdentityId`: The [`IdentityId`] of the caller.
|
|
2879
|
+
* - `AssetHolder`: The source [`AssetHolder`] of the transfer.
|
|
2880
|
+
* - `AssetHolder`: The destination [`AssetHolder`] of the transfer.
|
|
2881
|
+
* - `Fund`: The [`Fund`] being transferred.
|
|
2882
|
+
**/
|
|
2883
|
+
FundsTransferred: AugmentedEvent<ApiType, [
|
|
2884
|
+
PolymeshPrimitivesIdentityId,
|
|
2885
|
+
PolymeshPrimitivesAssetAssetHolder,
|
|
2886
|
+
PolymeshPrimitivesAssetAssetHolder,
|
|
2887
|
+
PolymeshPrimitivesPortfolioFund
|
|
2888
|
+
]>;
|
|
2491
2889
|
/**
|
|
2492
2890
|
* An instruction has been affirmed (did, asset_holder, instruction_id)
|
|
2493
2891
|
**/
|