@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,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,
|
|
6
|
+
import type { FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConfidentialAssetsCurveTreeCurveTreeTimestamp, PalletConfidentialAssetsCurveTreeTimestampedTreeRoot, PalletConfidentialAssetsSettlementSettlementStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStoFundingAsset, PalletStoFundraiser, PalletValidatorsSlashingSwitch, 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,133 +866,306 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
850
866
|
PolymeshPrimitivesIdentityId
|
|
851
867
|
]>;
|
|
852
868
|
};
|
|
853
|
-
|
|
869
|
+
confidentialAssets: {
|
|
854
870
|
/**
|
|
855
|
-
*
|
|
856
|
-
*
|
|
857
|
-
* # Note
|
|
858
|
-
*
|
|
859
|
-
* Please keep in mind that like all events this is only emitted for successful
|
|
860
|
-
* calls. This is because on failure all storage changes including events are
|
|
861
|
-
* rolled back.
|
|
871
|
+
* Account asset registered.
|
|
862
872
|
**/
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
873
|
+
AccountAssetRegistered: AugmentedEvent<ApiType, [
|
|
874
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
875
|
+
account: PolymeshDartBpKeysAccountPublicKey,
|
|
876
|
+
assetId: u32
|
|
866
877
|
], {
|
|
867
|
-
|
|
868
|
-
|
|
878
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
879
|
+
account: PolymeshDartBpKeysAccountPublicKey;
|
|
880
|
+
assetId: u32;
|
|
869
881
|
}>;
|
|
870
882
|
/**
|
|
871
|
-
*
|
|
883
|
+
* Account curve tree root updated.
|
|
872
884
|
**/
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
885
|
+
AccountCurveTreeRootUpdated: AugmentedEvent<ApiType, [
|
|
886
|
+
root: {
|
|
887
|
+
readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
|
|
888
|
+
readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
|
|
889
|
+
} & Struct
|
|
877
890
|
], {
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
891
|
+
root: {
|
|
892
|
+
readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot;
|
|
893
|
+
readonly timestamp: PalletConfidentialAssetsCurveTreeCurveTreeTimestamp;
|
|
894
|
+
} & Struct;
|
|
881
895
|
}>;
|
|
882
896
|
/**
|
|
883
|
-
*
|
|
897
|
+
* A new Confidential account has been registered.
|
|
884
898
|
**/
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
899
|
+
AccountRegistered: AugmentedEvent<ApiType, [
|
|
900
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
901
|
+
account: PolymeshDartBpKeysAccountPublicKey,
|
|
902
|
+
encryptionKey: PolymeshDartBpKeysEncryptionPublicKey
|
|
889
903
|
], {
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
904
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
905
|
+
account: PolymeshDartBpKeysAccountPublicKey;
|
|
906
|
+
encryptionKey: PolymeshDartBpKeysEncryptionPublicKey;
|
|
893
907
|
}>;
|
|
894
908
|
/**
|
|
895
|
-
*
|
|
909
|
+
* Account curve tree leaf inserted.
|
|
910
|
+
*
|
|
911
|
+
* This curve tree is append-only, so we only store the new leaf.
|
|
896
912
|
**/
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
oldCodeHash: H256
|
|
913
|
+
AccountStateLeafInserted: AugmentedEvent<ApiType, [
|
|
914
|
+
leafIndex: u64,
|
|
915
|
+
accountCommitment: PolymeshDartBpAccountAccountStateCommitment
|
|
901
916
|
], {
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
oldCodeHash: H256;
|
|
917
|
+
leafIndex: u64;
|
|
918
|
+
accountCommitment: PolymeshDartBpAccountAccountStateCommitment;
|
|
905
919
|
}>;
|
|
906
920
|
/**
|
|
907
|
-
* A
|
|
921
|
+
* A new Confidential asset has been created.
|
|
908
922
|
**/
|
|
909
|
-
|
|
910
|
-
|
|
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,
|
|
911
931
|
data: Bytes
|
|
912
932
|
], {
|
|
913
|
-
|
|
933
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
934
|
+
assetId: u32;
|
|
935
|
+
mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>;
|
|
936
|
+
auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>;
|
|
937
|
+
name: Text;
|
|
938
|
+
symbol: Text;
|
|
939
|
+
decimals: u8;
|
|
914
940
|
data: Bytes;
|
|
915
941
|
}>;
|
|
916
942
|
/**
|
|
917
|
-
*
|
|
918
|
-
|
|
919
|
-
|
|
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.
|
|
920
974
|
*
|
|
921
|
-
*
|
|
922
|
-
* calls. This is because on failure all storage changes including events are
|
|
923
|
-
* rolled back.
|
|
975
|
+
* This curve tree is mutable, so we can update existing leaves.
|
|
924
976
|
**/
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
977
|
+
AssetStateLeafUpdated: AugmentedEvent<ApiType, [
|
|
978
|
+
leafIndex: u64,
|
|
979
|
+
assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue
|
|
928
980
|
], {
|
|
929
|
-
|
|
930
|
-
|
|
981
|
+
leafIndex: u64;
|
|
982
|
+
assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue;
|
|
931
983
|
}>;
|
|
932
984
|
/**
|
|
933
|
-
*
|
|
985
|
+
* A Confidential asset has been updated.
|
|
934
986
|
**/
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
987
|
+
AssetUpdated: AugmentedEvent<ApiType, [
|
|
988
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
989
|
+
assetId: u32,
|
|
990
|
+
mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>,
|
|
991
|
+
auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>
|
|
938
992
|
], {
|
|
939
|
-
|
|
940
|
-
|
|
993
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
994
|
+
assetId: u32;
|
|
995
|
+
mediators: BTreeMap<PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey>;
|
|
996
|
+
auditors: BTreeSet<PolymeshDartBpKeysEncryptionPublicKey>;
|
|
941
997
|
}>;
|
|
942
998
|
/**
|
|
943
|
-
*
|
|
999
|
+
* An encryption key has been registered.
|
|
944
1000
|
**/
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
amount: u128
|
|
1001
|
+
EncryptionKeyRegistered: AugmentedEvent<ApiType, [
|
|
1002
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
1003
|
+
encryptionKey: PolymeshDartBpKeysEncryptionPublicKey
|
|
949
1004
|
], {
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
amount: u128;
|
|
1005
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
1006
|
+
encryptionKey: PolymeshDartBpKeysEncryptionPublicKey;
|
|
953
1007
|
}>;
|
|
954
1008
|
/**
|
|
955
|
-
*
|
|
1009
|
+
* Fee account curve tree root updated.
|
|
956
1010
|
**/
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
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,
|
|
960
1021
|
amount: u128
|
|
961
1022
|
], {
|
|
962
|
-
|
|
963
|
-
to: AccountId32;
|
|
1023
|
+
sender: AccountId32;
|
|
964
1024
|
amount: u128;
|
|
965
1025
|
}>;
|
|
966
1026
|
/**
|
|
967
|
-
*
|
|
1027
|
+
* Fee account curve tree leaf inserted.
|
|
968
1028
|
*
|
|
969
|
-
*
|
|
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.
|
|
970
1040
|
*
|
|
971
|
-
*
|
|
972
|
-
|
|
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.
|
|
973
1102
|
**/
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
beneficiary: AccountId32
|
|
1103
|
+
ReceiverClaimed: AugmentedEvent<ApiType, [
|
|
1104
|
+
legRef: PolymeshDartBpLegLegRef
|
|
977
1105
|
], {
|
|
978
|
-
|
|
979
|
-
|
|
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;
|
|
980
1169
|
}>;
|
|
981
1170
|
};
|
|
982
1171
|
corporateAction: {
|
|
@@ -1521,6 +1710,71 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1521
1710
|
who: AccountId32;
|
|
1522
1711
|
}>;
|
|
1523
1712
|
};
|
|
1713
|
+
multiBlockMigrations: {
|
|
1714
|
+
/**
|
|
1715
|
+
* The set of historical migrations has been cleared.
|
|
1716
|
+
**/
|
|
1717
|
+
HistoricCleared: AugmentedEvent<ApiType, [
|
|
1718
|
+
nextCursor: Option<Bytes>
|
|
1719
|
+
], {
|
|
1720
|
+
nextCursor: Option<Bytes>;
|
|
1721
|
+
}>;
|
|
1722
|
+
/**
|
|
1723
|
+
* A migration progressed.
|
|
1724
|
+
**/
|
|
1725
|
+
MigrationAdvanced: AugmentedEvent<ApiType, [
|
|
1726
|
+
index: u32,
|
|
1727
|
+
took: u32
|
|
1728
|
+
], {
|
|
1729
|
+
index: u32;
|
|
1730
|
+
took: u32;
|
|
1731
|
+
}>;
|
|
1732
|
+
/**
|
|
1733
|
+
* A Migration completed.
|
|
1734
|
+
**/
|
|
1735
|
+
MigrationCompleted: AugmentedEvent<ApiType, [
|
|
1736
|
+
index: u32,
|
|
1737
|
+
took: u32
|
|
1738
|
+
], {
|
|
1739
|
+
index: u32;
|
|
1740
|
+
took: u32;
|
|
1741
|
+
}>;
|
|
1742
|
+
/**
|
|
1743
|
+
* A Migration failed.
|
|
1744
|
+
*
|
|
1745
|
+
* This implies that the whole upgrade failed and governance intervention is required.
|
|
1746
|
+
**/
|
|
1747
|
+
MigrationFailed: AugmentedEvent<ApiType, [index: u32, took: u32], {
|
|
1748
|
+
index: u32;
|
|
1749
|
+
took: u32;
|
|
1750
|
+
}>;
|
|
1751
|
+
/**
|
|
1752
|
+
* A migration was skipped since it was already executed in the past.
|
|
1753
|
+
**/
|
|
1754
|
+
MigrationSkipped: AugmentedEvent<ApiType, [index: u32], {
|
|
1755
|
+
index: u32;
|
|
1756
|
+
}>;
|
|
1757
|
+
/**
|
|
1758
|
+
* The current runtime upgrade completed.
|
|
1759
|
+
*
|
|
1760
|
+
* This implies that all of its migrations completed successfully as well.
|
|
1761
|
+
**/
|
|
1762
|
+
UpgradeCompleted: AugmentedEvent<ApiType, []>;
|
|
1763
|
+
/**
|
|
1764
|
+
* Runtime upgrade failed.
|
|
1765
|
+
*
|
|
1766
|
+
* This is very bad and will require governance intervention.
|
|
1767
|
+
**/
|
|
1768
|
+
UpgradeFailed: AugmentedEvent<ApiType, []>;
|
|
1769
|
+
/**
|
|
1770
|
+
* A Runtime upgrade started.
|
|
1771
|
+
*
|
|
1772
|
+
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
1773
|
+
**/
|
|
1774
|
+
UpgradeStarted: AugmentedEvent<ApiType, [migrations: u32], {
|
|
1775
|
+
migrations: u32;
|
|
1776
|
+
}>;
|
|
1777
|
+
};
|
|
1524
1778
|
multiSig: {
|
|
1525
1779
|
/**
|
|
1526
1780
|
* A Multisig has added an admin DID.
|
|
@@ -2048,25 +2302,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2048
2302
|
**/
|
|
2049
2303
|
VoteThresholdUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
|
|
2050
2304
|
};
|
|
2051
|
-
polymeshContracts: {
|
|
2052
|
-
/**
|
|
2053
|
-
* Emitted when a contract starts supporting a new API upgrade.
|
|
2054
|
-
* Contains the [`Api`], [`ChainVersion`], and the bytes for the code hash.
|
|
2055
|
-
**/
|
|
2056
|
-
ApiHashUpdated: AugmentedEvent<ApiType, [
|
|
2057
|
-
PolymeshContractsApi,
|
|
2058
|
-
PolymeshContractsChainVersion,
|
|
2059
|
-
H256
|
|
2060
|
-
]>;
|
|
2061
|
-
/**
|
|
2062
|
-
* Emitted when a contract calls into the runtime.
|
|
2063
|
-
* Contains the account id set by the contract owner and the [`ExtrinsicId`].
|
|
2064
|
-
**/
|
|
2065
|
-
SCRuntimeCall: AugmentedEvent<ApiType, [
|
|
2066
|
-
AccountId32,
|
|
2067
|
-
PolymeshContractsChainExtensionExtrinsicId
|
|
2068
|
-
]>;
|
|
2069
|
-
};
|
|
2070
2305
|
portfolio: {
|
|
2071
2306
|
/**
|
|
2072
2307
|
* Allow another identity to create portfolios.
|
|
@@ -2488,6 +2723,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2488
2723
|
* Failed to execute instruction.
|
|
2489
2724
|
**/
|
|
2490
2725
|
FailedToExecuteInstruction: AugmentedEvent<ApiType, [u64, SpRuntimeDispatchError]>;
|
|
2726
|
+
/**
|
|
2727
|
+
* Funds have been transferred
|
|
2728
|
+
*
|
|
2729
|
+
* Parameters:
|
|
2730
|
+
* - `IdentityId`: The [`IdentityId`] of the caller.
|
|
2731
|
+
* - `AssetHolder`: The source [`AssetHolder`] of the transfer.
|
|
2732
|
+
* - `AssetHolder`: The destination [`AssetHolder`] of the transfer.
|
|
2733
|
+
* - `Fund`: The [`Fund`] being transferred.
|
|
2734
|
+
**/
|
|
2735
|
+
FundsTransferred: AugmentedEvent<ApiType, [
|
|
2736
|
+
PolymeshPrimitivesIdentityId,
|
|
2737
|
+
PolymeshPrimitivesAssetAssetHolder,
|
|
2738
|
+
PolymeshPrimitivesAssetAssetHolder,
|
|
2739
|
+
PolymeshPrimitivesPortfolioFund
|
|
2740
|
+
]>;
|
|
2491
2741
|
/**
|
|
2492
2742
|
* An instruction has been affirmed (did, asset_holder, instruction_id)
|
|
2493
2743
|
**/
|
|
@@ -3469,6 +3719,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3469
3719
|
}>;
|
|
3470
3720
|
};
|
|
3471
3721
|
validators: {
|
|
3722
|
+
/**
|
|
3723
|
+
* Automatic payout finished for the era.
|
|
3724
|
+
**/
|
|
3725
|
+
AutomaticPayoutFinished: AugmentedEvent<ApiType, [era: u32], {
|
|
3726
|
+
era: u32;
|
|
3727
|
+
}>;
|
|
3472
3728
|
/**
|
|
3473
3729
|
* Commission cap has been updated.
|
|
3474
3730
|
**/
|
|
@@ -3482,7 +3738,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3482
3738
|
newCommissionCap: Perbill;
|
|
3483
3739
|
}>;
|
|
3484
3740
|
/**
|
|
3485
|
-
* Remove the nominators from the valid nominators when
|
|
3741
|
+
* Remove the nominators from the valid nominators when their CDD expired.
|
|
3486
3742
|
**/
|
|
3487
3743
|
InvalidatedNominators: AugmentedEvent<ApiType, [
|
|
3488
3744
|
governanceCouncillDid: PolymeshPrimitivesIdentityId,
|
|
@@ -3545,6 +3801,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3545
3801
|
], {
|
|
3546
3802
|
slashingSwitch: PalletValidatorsSlashingSwitch;
|
|
3547
3803
|
}>;
|
|
3804
|
+
/**
|
|
3805
|
+
* Validator payout failed.
|
|
3806
|
+
**/
|
|
3807
|
+
ValidatorPayoutFailed: AugmentedEvent<ApiType, [
|
|
3808
|
+
validator: AccountId32,
|
|
3809
|
+
era: u32,
|
|
3810
|
+
page: u32,
|
|
3811
|
+
error: SpRuntimeDispatchError
|
|
3812
|
+
], {
|
|
3813
|
+
validator: AccountId32;
|
|
3814
|
+
era: u32;
|
|
3815
|
+
page: u32;
|
|
3816
|
+
error: SpRuntimeDispatchError;
|
|
3817
|
+
}>;
|
|
3548
3818
|
};
|
|
3549
3819
|
}
|
|
3550
3820
|
}
|