@dedot/chaintypes 0.0.1-alpha.22
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/LICENSE +201 -0
- package/README.md +3 -0
- package/aleph/consts.d.ts +533 -0
- package/aleph/consts.js +2 -0
- package/aleph/errors.d.ts +822 -0
- package/aleph/errors.js +2 -0
- package/aleph/events.d.ts +997 -0
- package/aleph/events.js +2 -0
- package/aleph/index.d.ts +19 -0
- package/aleph/index.js +3 -0
- package/aleph/query.d.ts +1271 -0
- package/aleph/query.js +2 -0
- package/aleph/rpc.d.ts +575 -0
- package/aleph/rpc.js +2 -0
- package/aleph/runtime.d.ts +410 -0
- package/aleph/runtime.js +2 -0
- package/aleph/tx.d.ts +2206 -0
- package/aleph/tx.js +2 -0
- package/aleph/types.d.ts +5560 -0
- package/aleph/types.js +2 -0
- package/astar/consts.d.ts +679 -0
- package/astar/consts.js +2 -0
- package/astar/errors.d.ts +1317 -0
- package/astar/errors.js +2 -0
- package/astar/events.d.ts +1707 -0
- package/astar/events.js +2 -0
- package/astar/index.d.ts +19 -0
- package/astar/index.js +3 -0
- package/astar/query.d.ts +1474 -0
- package/astar/query.js +2 -0
- package/astar/rpc.d.ts +775 -0
- package/astar/rpc.js +2 -0
- package/astar/runtime.d.ts +262 -0
- package/astar/runtime.js +2 -0
- package/astar/tx.d.ts +4810 -0
- package/astar/tx.js +2 -0
- package/astar/types.d.ts +12338 -0
- package/astar/types.js +2 -0
- package/cjs/aleph/consts.js +3 -0
- package/cjs/aleph/errors.js +3 -0
- package/cjs/aleph/events.js +3 -0
- package/cjs/aleph/index.js +19 -0
- package/cjs/aleph/query.js +3 -0
- package/cjs/aleph/rpc.js +3 -0
- package/cjs/aleph/runtime.js +3 -0
- package/cjs/aleph/tx.js +3 -0
- package/cjs/aleph/types.js +3 -0
- package/cjs/astar/consts.js +3 -0
- package/cjs/astar/errors.js +3 -0
- package/cjs/astar/events.js +3 -0
- package/cjs/astar/index.js +19 -0
- package/cjs/astar/query.js +3 -0
- package/cjs/astar/rpc.js +3 -0
- package/cjs/astar/runtime.js +3 -0
- package/cjs/astar/tx.js +3 -0
- package/cjs/astar/types.js +3 -0
- package/cjs/index.js +2 -0
- package/cjs/kusama/consts.js +3 -0
- package/cjs/kusama/errors.js +3 -0
- package/cjs/kusama/events.js +3 -0
- package/cjs/kusama/index.js +19 -0
- package/cjs/kusama/query.js +3 -0
- package/cjs/kusama/rpc.js +3 -0
- package/cjs/kusama/runtime.js +3 -0
- package/cjs/kusama/tx.js +3 -0
- package/cjs/kusama/types.js +3 -0
- package/cjs/kusamaAssetHub/consts.js +3 -0
- package/cjs/kusamaAssetHub/errors.js +3 -0
- package/cjs/kusamaAssetHub/events.js +3 -0
- package/cjs/kusamaAssetHub/index.js +19 -0
- package/cjs/kusamaAssetHub/query.js +3 -0
- package/cjs/kusamaAssetHub/rpc.js +3 -0
- package/cjs/kusamaAssetHub/runtime.js +3 -0
- package/cjs/kusamaAssetHub/tx.js +3 -0
- package/cjs/kusamaAssetHub/types.js +3 -0
- package/cjs/moonbeam/consts.js +3 -0
- package/cjs/moonbeam/errors.js +3 -0
- package/cjs/moonbeam/events.js +3 -0
- package/cjs/moonbeam/index.js +19 -0
- package/cjs/moonbeam/query.js +3 -0
- package/cjs/moonbeam/rpc.js +3 -0
- package/cjs/moonbeam/runtime.js +3 -0
- package/cjs/moonbeam/tx.js +3 -0
- package/cjs/moonbeam/types.js +3 -0
- package/cjs/package.json +1 -0
- package/cjs/packageInfo.js +5 -0
- package/cjs/polkadot/consts.js +3 -0
- package/cjs/polkadot/errors.js +3 -0
- package/cjs/polkadot/events.js +3 -0
- package/cjs/polkadot/index.js +19 -0
- package/cjs/polkadot/query.js +3 -0
- package/cjs/polkadot/rpc.js +3 -0
- package/cjs/polkadot/runtime.js +3 -0
- package/cjs/polkadot/tx.js +3 -0
- package/cjs/polkadot/types.js +3 -0
- package/cjs/polkadotAssetHub/consts.js +3 -0
- package/cjs/polkadotAssetHub/errors.js +3 -0
- package/cjs/polkadotAssetHub/events.js +3 -0
- package/cjs/polkadotAssetHub/index.js +19 -0
- package/cjs/polkadotAssetHub/query.js +3 -0
- package/cjs/polkadotAssetHub/rpc.js +3 -0
- package/cjs/polkadotAssetHub/runtime.js +3 -0
- package/cjs/polkadotAssetHub/tx.js +3 -0
- package/cjs/polkadotAssetHub/types.js +3 -0
- package/cjs/rococoAssetHub/consts.js +3 -0
- package/cjs/rococoAssetHub/errors.js +3 -0
- package/cjs/rococoAssetHub/events.js +3 -0
- package/cjs/rococoAssetHub/index.js +19 -0
- package/cjs/rococoAssetHub/query.js +3 -0
- package/cjs/rococoAssetHub/rpc.js +3 -0
- package/cjs/rococoAssetHub/runtime.js +3 -0
- package/cjs/rococoAssetHub/tx.js +3 -0
- package/cjs/rococoAssetHub/types.js +3 -0
- package/cjs/substrate/consts.js +3 -0
- package/cjs/substrate/errors.js +3 -0
- package/cjs/substrate/events.js +3 -0
- package/cjs/substrate/index.js +19 -0
- package/cjs/substrate/query.js +3 -0
- package/cjs/substrate/rpc.js +3 -0
- package/cjs/substrate/runtime.js +3 -0
- package/cjs/substrate/tx.js +3 -0
- package/cjs/substrate/types.js +3 -0
- package/cjs/westendAssetHub/consts.js +3 -0
- package/cjs/westendAssetHub/errors.js +3 -0
- package/cjs/westendAssetHub/events.js +3 -0
- package/cjs/westendAssetHub/index.js +19 -0
- package/cjs/westendAssetHub/query.js +3 -0
- package/cjs/westendAssetHub/rpc.js +3 -0
- package/cjs/westendAssetHub/runtime.js +3 -0
- package/cjs/westendAssetHub/tx.js +3 -0
- package/cjs/westendAssetHub/types.js +3 -0
- package/index.d.ts +5 -0
- package/index.js +1 -0
- package/kusama/consts.d.ts +1427 -0
- package/kusama/consts.js +2 -0
- package/kusama/errors.d.ts +2494 -0
- package/kusama/errors.js +2 -0
- package/kusama/events.d.ts +2960 -0
- package/kusama/events.js +2 -0
- package/kusama/index.d.ts +19 -0
- package/kusama/index.js +3 -0
- package/kusama/query.d.ts +3251 -0
- package/kusama/query.js +2 -0
- package/kusama/rpc.d.ts +726 -0
- package/kusama/rpc.js +2 -0
- package/kusama/runtime.d.ts +844 -0
- package/kusama/runtime.js +2 -0
- package/kusama/tx.d.ts +6014 -0
- package/kusama/tx.js +2 -0
- package/kusama/types.d.ts +15903 -0
- package/kusama/types.js +2 -0
- package/kusamaAssetHub/consts.d.ts +632 -0
- package/kusamaAssetHub/consts.js +2 -0
- package/kusamaAssetHub/errors.d.ts +1164 -0
- package/kusamaAssetHub/errors.js +2 -0
- package/kusamaAssetHub/events.d.ts +2162 -0
- package/kusamaAssetHub/events.js +2 -0
- package/kusamaAssetHub/index.d.ts +19 -0
- package/kusamaAssetHub/index.js +3 -0
- package/kusamaAssetHub/query.d.ts +1301 -0
- package/kusamaAssetHub/query.js +2 -0
- package/kusamaAssetHub/rpc.d.ts +590 -0
- package/kusamaAssetHub/rpc.js +2 -0
- package/kusamaAssetHub/runtime.d.ts +402 -0
- package/kusamaAssetHub/runtime.js +2 -0
- package/kusamaAssetHub/tx.d.ts +4217 -0
- package/kusamaAssetHub/tx.js +2 -0
- package/kusamaAssetHub/types.d.ts +10418 -0
- package/kusamaAssetHub/types.js +2 -0
- package/moonbeam/consts.d.ts +961 -0
- package/moonbeam/consts.js +2 -0
- package/moonbeam/errors.d.ts +1797 -0
- package/moonbeam/errors.js +2 -0
- package/moonbeam/events.d.ts +2840 -0
- package/moonbeam/events.js +2 -0
- package/moonbeam/index.d.ts +19 -0
- package/moonbeam/index.js +3 -0
- package/moonbeam/query.d.ts +2027 -0
- package/moonbeam/query.js +2 -0
- package/moonbeam/rpc.d.ts +809 -0
- package/moonbeam/rpc.js +2 -0
- package/moonbeam/runtime.d.ts +506 -0
- package/moonbeam/runtime.js +2 -0
- package/moonbeam/tx.d.ts +5205 -0
- package/moonbeam/tx.js +2 -0
- package/moonbeam/types.d.ts +12349 -0
- package/moonbeam/types.js +2 -0
- package/package.json +33 -0
- package/packageInfo.d.ts +4 -0
- package/packageInfo.js +3 -0
- package/polkadot/consts.d.ts +1160 -0
- package/polkadot/consts.js +2 -0
- package/polkadot/errors.d.ts +2020 -0
- package/polkadot/errors.js +2 -0
- package/polkadot/events.d.ts +2235 -0
- package/polkadot/events.js +2 -0
- package/polkadot/index.d.ts +19 -0
- package/polkadot/index.js +3 -0
- package/polkadot/query.d.ts +2811 -0
- package/polkadot/query.js +2 -0
- package/polkadot/rpc.d.ts +726 -0
- package/polkadot/rpc.js +2 -0
- package/polkadot/runtime.d.ts +844 -0
- package/polkadot/runtime.js +2 -0
- package/polkadot/tx.d.ts +5009 -0
- package/polkadot/tx.js +2 -0
- package/polkadot/types.d.ts +13729 -0
- package/polkadot/types.js +2 -0
- package/polkadotAssetHub/consts.d.ts +524 -0
- package/polkadotAssetHub/consts.js +2 -0
- package/polkadotAssetHub/errors.d.ts +925 -0
- package/polkadotAssetHub/errors.js +2 -0
- package/polkadotAssetHub/events.d.ts +1787 -0
- package/polkadotAssetHub/events.js +2 -0
- package/polkadotAssetHub/index.d.ts +19 -0
- package/polkadotAssetHub/index.js +3 -0
- package/polkadotAssetHub/query.d.ts +1222 -0
- package/polkadotAssetHub/query.js +2 -0
- package/polkadotAssetHub/rpc.d.ts +590 -0
- package/polkadotAssetHub/rpc.js +2 -0
- package/polkadotAssetHub/runtime.d.ts +359 -0
- package/polkadotAssetHub/runtime.js +2 -0
- package/polkadotAssetHub/tx.d.ts +3492 -0
- package/polkadotAssetHub/tx.js +2 -0
- package/polkadotAssetHub/types.d.ts +9164 -0
- package/polkadotAssetHub/types.js +2 -0
- package/rococoAssetHub/consts.d.ts +658 -0
- package/rococoAssetHub/consts.js +2 -0
- package/rococoAssetHub/errors.d.ts +1231 -0
- package/rococoAssetHub/errors.js +2 -0
- package/rococoAssetHub/events.d.ts +2172 -0
- package/rococoAssetHub/events.js +2 -0
- package/rococoAssetHub/index.d.ts +19 -0
- package/rococoAssetHub/index.js +3 -0
- package/rococoAssetHub/query.d.ts +1269 -0
- package/rococoAssetHub/query.js +2 -0
- package/rococoAssetHub/rpc.d.ts +590 -0
- package/rococoAssetHub/rpc.js +2 -0
- package/rococoAssetHub/runtime.d.ts +428 -0
- package/rococoAssetHub/runtime.js +2 -0
- package/rococoAssetHub/tx.d.ts +4307 -0
- package/rococoAssetHub/tx.js +2 -0
- package/rococoAssetHub/types.d.ts +11066 -0
- package/rococoAssetHub/types.js +2 -0
- package/substrate/consts.d.ts +1971 -0
- package/substrate/consts.js +2 -0
- package/substrate/errors.d.ts +3337 -0
- package/substrate/errors.js +2 -0
- package/substrate/events.d.ts +4777 -0
- package/substrate/events.js +2 -0
- package/substrate/index.d.ts +19 -0
- package/substrate/index.js +3 -0
- package/substrate/query.d.ts +3350 -0
- package/substrate/query.js +2 -0
- package/substrate/rpc.d.ts +718 -0
- package/substrate/rpc.js +2 -0
- package/substrate/runtime.d.ts +708 -0
- package/substrate/runtime.js +2 -0
- package/substrate/tx.d.ts +8800 -0
- package/substrate/tx.js +2 -0
- package/substrate/types.d.ts +20332 -0
- package/substrate/types.js +2 -0
- package/westendAssetHub/consts.d.ts +658 -0
- package/westendAssetHub/consts.js +2 -0
- package/westendAssetHub/errors.d.ts +1231 -0
- package/westendAssetHub/errors.js +2 -0
- package/westendAssetHub/events.d.ts +2172 -0
- package/westendAssetHub/events.js +2 -0
- package/westendAssetHub/index.d.ts +19 -0
- package/westendAssetHub/index.js +3 -0
- package/westendAssetHub/query.d.ts +1269 -0
- package/westendAssetHub/query.js +2 -0
- package/westendAssetHub/rpc.d.ts +590 -0
- package/westendAssetHub/rpc.js +2 -0
- package/westendAssetHub/runtime.d.ts +456 -0
- package/westendAssetHub/runtime.js +2 -0
- package/westendAssetHub/tx.d.ts +4307 -0
- package/westendAssetHub/tx.js +2 -0
- package/westendAssetHub/types.d.ts +11062 -0
- package/westendAssetHub/types.js +2 -0
|
@@ -0,0 +1,1707 @@
|
|
|
1
|
+
import type { GenericChainEvents, GenericPalletEvent } from '@dedot/types';
|
|
2
|
+
import type { DispatchInfo, DispatchError, AccountId32, H256, Result, FixedBytes, Bytes, H160, U256, FixedU64 } from '@dedot/codecs';
|
|
3
|
+
import type { PalletMultisigTimepoint, AstarRuntimeProxyType, SpWeightsWeightV2Weight, FrameSupportTokensMiscBalanceStatus, PalletInflationInflationConfiguration, PalletDappStakingV3Subperiod, AstarPrimitivesDappStakingSmartContract, PalletDappStakingV3ForcingType, XcmV3TraitsError, PolkadotParachainPrimitivesId, XcmV3TraitsOutcome, XcmV3MultilocationMultiLocation, XcmV3Xcm, XcmV3Response, XcmVersionedMultiAssets, XcmV3MultiassetMultiAssets, XcmVersionedMultiLocation, XcmV3MultiassetMultiAsset, EthereumLog, EvmCoreErrorExitReason, PalletContractsOrigin, PalletDappsStakingRewardDestination } from './types';
|
|
4
|
+
export interface ChainEvents extends GenericChainEvents {
|
|
5
|
+
/**
|
|
6
|
+
* Pallet `System`'s events
|
|
7
|
+
**/
|
|
8
|
+
system: {
|
|
9
|
+
/**
|
|
10
|
+
* An extrinsic completed successfully.
|
|
11
|
+
**/
|
|
12
|
+
ExtrinsicSuccess: GenericPalletEvent<'System', 'ExtrinsicSuccess', {
|
|
13
|
+
dispatchInfo: DispatchInfo;
|
|
14
|
+
}>;
|
|
15
|
+
/**
|
|
16
|
+
* An extrinsic failed.
|
|
17
|
+
**/
|
|
18
|
+
ExtrinsicFailed: GenericPalletEvent<'System', 'ExtrinsicFailed', {
|
|
19
|
+
dispatchError: DispatchError;
|
|
20
|
+
dispatchInfo: DispatchInfo;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* `:code` was updated.
|
|
24
|
+
**/
|
|
25
|
+
CodeUpdated: GenericPalletEvent<'System', 'CodeUpdated', null>;
|
|
26
|
+
/**
|
|
27
|
+
* A new account was created.
|
|
28
|
+
**/
|
|
29
|
+
NewAccount: GenericPalletEvent<'System', 'NewAccount', {
|
|
30
|
+
account: AccountId32;
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* An account was reaped.
|
|
34
|
+
**/
|
|
35
|
+
KilledAccount: GenericPalletEvent<'System', 'KilledAccount', {
|
|
36
|
+
account: AccountId32;
|
|
37
|
+
}>;
|
|
38
|
+
/**
|
|
39
|
+
* On on-chain remark happened.
|
|
40
|
+
**/
|
|
41
|
+
Remarked: GenericPalletEvent<'System', 'Remarked', {
|
|
42
|
+
sender: AccountId32;
|
|
43
|
+
hash: H256;
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Generic pallet event
|
|
47
|
+
**/
|
|
48
|
+
[prop: string]: GenericPalletEvent;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Pallet `Utility`'s events
|
|
52
|
+
**/
|
|
53
|
+
utility: {
|
|
54
|
+
/**
|
|
55
|
+
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
56
|
+
* well as the error.
|
|
57
|
+
**/
|
|
58
|
+
BatchInterrupted: GenericPalletEvent<'Utility', 'BatchInterrupted', {
|
|
59
|
+
index: number;
|
|
60
|
+
error: DispatchError;
|
|
61
|
+
}>;
|
|
62
|
+
/**
|
|
63
|
+
* Batch of dispatches completed fully with no error.
|
|
64
|
+
**/
|
|
65
|
+
BatchCompleted: GenericPalletEvent<'Utility', 'BatchCompleted', null>;
|
|
66
|
+
/**
|
|
67
|
+
* Batch of dispatches completed but has errors.
|
|
68
|
+
**/
|
|
69
|
+
BatchCompletedWithErrors: GenericPalletEvent<'Utility', 'BatchCompletedWithErrors', null>;
|
|
70
|
+
/**
|
|
71
|
+
* A single item within a Batch of dispatches has completed with no error.
|
|
72
|
+
**/
|
|
73
|
+
ItemCompleted: GenericPalletEvent<'Utility', 'ItemCompleted', null>;
|
|
74
|
+
/**
|
|
75
|
+
* A single item within a Batch of dispatches has completed with error.
|
|
76
|
+
**/
|
|
77
|
+
ItemFailed: GenericPalletEvent<'Utility', 'ItemFailed', {
|
|
78
|
+
error: DispatchError;
|
|
79
|
+
}>;
|
|
80
|
+
/**
|
|
81
|
+
* A call was dispatched.
|
|
82
|
+
**/
|
|
83
|
+
DispatchedAs: GenericPalletEvent<'Utility', 'DispatchedAs', {
|
|
84
|
+
result: Result<[], DispatchError>;
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* Generic pallet event
|
|
88
|
+
**/
|
|
89
|
+
[prop: string]: GenericPalletEvent;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Pallet `Identity`'s events
|
|
93
|
+
**/
|
|
94
|
+
identity: {
|
|
95
|
+
/**
|
|
96
|
+
* A name was set or reset (which will remove all judgements).
|
|
97
|
+
**/
|
|
98
|
+
IdentitySet: GenericPalletEvent<'Identity', 'IdentitySet', {
|
|
99
|
+
who: AccountId32;
|
|
100
|
+
}>;
|
|
101
|
+
/**
|
|
102
|
+
* A name was cleared, and the given balance returned.
|
|
103
|
+
**/
|
|
104
|
+
IdentityCleared: GenericPalletEvent<'Identity', 'IdentityCleared', {
|
|
105
|
+
who: AccountId32;
|
|
106
|
+
deposit: bigint;
|
|
107
|
+
}>;
|
|
108
|
+
/**
|
|
109
|
+
* A name was removed and the given balance slashed.
|
|
110
|
+
**/
|
|
111
|
+
IdentityKilled: GenericPalletEvent<'Identity', 'IdentityKilled', {
|
|
112
|
+
who: AccountId32;
|
|
113
|
+
deposit: bigint;
|
|
114
|
+
}>;
|
|
115
|
+
/**
|
|
116
|
+
* A judgement was asked from a registrar.
|
|
117
|
+
**/
|
|
118
|
+
JudgementRequested: GenericPalletEvent<'Identity', 'JudgementRequested', {
|
|
119
|
+
who: AccountId32;
|
|
120
|
+
registrarIndex: number;
|
|
121
|
+
}>;
|
|
122
|
+
/**
|
|
123
|
+
* A judgement request was retracted.
|
|
124
|
+
**/
|
|
125
|
+
JudgementUnrequested: GenericPalletEvent<'Identity', 'JudgementUnrequested', {
|
|
126
|
+
who: AccountId32;
|
|
127
|
+
registrarIndex: number;
|
|
128
|
+
}>;
|
|
129
|
+
/**
|
|
130
|
+
* A judgement was given by a registrar.
|
|
131
|
+
**/
|
|
132
|
+
JudgementGiven: GenericPalletEvent<'Identity', 'JudgementGiven', {
|
|
133
|
+
target: AccountId32;
|
|
134
|
+
registrarIndex: number;
|
|
135
|
+
}>;
|
|
136
|
+
/**
|
|
137
|
+
* A registrar was added.
|
|
138
|
+
**/
|
|
139
|
+
RegistrarAdded: GenericPalletEvent<'Identity', 'RegistrarAdded', {
|
|
140
|
+
registrarIndex: number;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* A sub-identity was added to an identity and the deposit paid.
|
|
144
|
+
**/
|
|
145
|
+
SubIdentityAdded: GenericPalletEvent<'Identity', 'SubIdentityAdded', {
|
|
146
|
+
sub: AccountId32;
|
|
147
|
+
main: AccountId32;
|
|
148
|
+
deposit: bigint;
|
|
149
|
+
}>;
|
|
150
|
+
/**
|
|
151
|
+
* A sub-identity was removed from an identity and the deposit freed.
|
|
152
|
+
**/
|
|
153
|
+
SubIdentityRemoved: GenericPalletEvent<'Identity', 'SubIdentityRemoved', {
|
|
154
|
+
sub: AccountId32;
|
|
155
|
+
main: AccountId32;
|
|
156
|
+
deposit: bigint;
|
|
157
|
+
}>;
|
|
158
|
+
/**
|
|
159
|
+
* A sub-identity was cleared, and the given deposit repatriated from the
|
|
160
|
+
* main identity account to the sub-identity account.
|
|
161
|
+
**/
|
|
162
|
+
SubIdentityRevoked: GenericPalletEvent<'Identity', 'SubIdentityRevoked', {
|
|
163
|
+
sub: AccountId32;
|
|
164
|
+
main: AccountId32;
|
|
165
|
+
deposit: bigint;
|
|
166
|
+
}>;
|
|
167
|
+
/**
|
|
168
|
+
* Generic pallet event
|
|
169
|
+
**/
|
|
170
|
+
[prop: string]: GenericPalletEvent;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Pallet `Multisig`'s events
|
|
174
|
+
**/
|
|
175
|
+
multisig: {
|
|
176
|
+
/**
|
|
177
|
+
* A new multisig operation has begun.
|
|
178
|
+
**/
|
|
179
|
+
NewMultisig: GenericPalletEvent<'Multisig', 'NewMultisig', {
|
|
180
|
+
approving: AccountId32;
|
|
181
|
+
multisig: AccountId32;
|
|
182
|
+
callHash: FixedBytes<32>;
|
|
183
|
+
}>;
|
|
184
|
+
/**
|
|
185
|
+
* A multisig operation has been approved by someone.
|
|
186
|
+
**/
|
|
187
|
+
MultisigApproval: GenericPalletEvent<'Multisig', 'MultisigApproval', {
|
|
188
|
+
approving: AccountId32;
|
|
189
|
+
timepoint: PalletMultisigTimepoint;
|
|
190
|
+
multisig: AccountId32;
|
|
191
|
+
callHash: FixedBytes<32>;
|
|
192
|
+
}>;
|
|
193
|
+
/**
|
|
194
|
+
* A multisig operation has been executed.
|
|
195
|
+
**/
|
|
196
|
+
MultisigExecuted: GenericPalletEvent<'Multisig', 'MultisigExecuted', {
|
|
197
|
+
approving: AccountId32;
|
|
198
|
+
timepoint: PalletMultisigTimepoint;
|
|
199
|
+
multisig: AccountId32;
|
|
200
|
+
callHash: FixedBytes<32>;
|
|
201
|
+
result: Result<[], DispatchError>;
|
|
202
|
+
}>;
|
|
203
|
+
/**
|
|
204
|
+
* A multisig operation has been cancelled.
|
|
205
|
+
**/
|
|
206
|
+
MultisigCancelled: GenericPalletEvent<'Multisig', 'MultisigCancelled', {
|
|
207
|
+
cancelling: AccountId32;
|
|
208
|
+
timepoint: PalletMultisigTimepoint;
|
|
209
|
+
multisig: AccountId32;
|
|
210
|
+
callHash: FixedBytes<32>;
|
|
211
|
+
}>;
|
|
212
|
+
/**
|
|
213
|
+
* Generic pallet event
|
|
214
|
+
**/
|
|
215
|
+
[prop: string]: GenericPalletEvent;
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* Pallet `Proxy`'s events
|
|
219
|
+
**/
|
|
220
|
+
proxy: {
|
|
221
|
+
/**
|
|
222
|
+
* A proxy was executed correctly, with the given.
|
|
223
|
+
**/
|
|
224
|
+
ProxyExecuted: GenericPalletEvent<'Proxy', 'ProxyExecuted', {
|
|
225
|
+
result: Result<[], DispatchError>;
|
|
226
|
+
}>;
|
|
227
|
+
/**
|
|
228
|
+
* A pure account has been created by new proxy with given
|
|
229
|
+
* disambiguation index and proxy type.
|
|
230
|
+
**/
|
|
231
|
+
PureCreated: GenericPalletEvent<'Proxy', 'PureCreated', {
|
|
232
|
+
pure: AccountId32;
|
|
233
|
+
who: AccountId32;
|
|
234
|
+
proxyType: AstarRuntimeProxyType;
|
|
235
|
+
disambiguationIndex: number;
|
|
236
|
+
}>;
|
|
237
|
+
/**
|
|
238
|
+
* An announcement was placed to make a call in the future.
|
|
239
|
+
**/
|
|
240
|
+
Announced: GenericPalletEvent<'Proxy', 'Announced', {
|
|
241
|
+
real: AccountId32;
|
|
242
|
+
proxy: AccountId32;
|
|
243
|
+
callHash: H256;
|
|
244
|
+
}>;
|
|
245
|
+
/**
|
|
246
|
+
* A proxy was added.
|
|
247
|
+
**/
|
|
248
|
+
ProxyAdded: GenericPalletEvent<'Proxy', 'ProxyAdded', {
|
|
249
|
+
delegator: AccountId32;
|
|
250
|
+
delegatee: AccountId32;
|
|
251
|
+
proxyType: AstarRuntimeProxyType;
|
|
252
|
+
delay: number;
|
|
253
|
+
}>;
|
|
254
|
+
/**
|
|
255
|
+
* A proxy was removed.
|
|
256
|
+
**/
|
|
257
|
+
ProxyRemoved: GenericPalletEvent<'Proxy', 'ProxyRemoved', {
|
|
258
|
+
delegator: AccountId32;
|
|
259
|
+
delegatee: AccountId32;
|
|
260
|
+
proxyType: AstarRuntimeProxyType;
|
|
261
|
+
delay: number;
|
|
262
|
+
}>;
|
|
263
|
+
/**
|
|
264
|
+
* Generic pallet event
|
|
265
|
+
**/
|
|
266
|
+
[prop: string]: GenericPalletEvent;
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* Pallet `ParachainSystem`'s events
|
|
270
|
+
**/
|
|
271
|
+
parachainSystem: {
|
|
272
|
+
/**
|
|
273
|
+
* The validation function has been scheduled to apply.
|
|
274
|
+
**/
|
|
275
|
+
ValidationFunctionStored: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionStored', null>;
|
|
276
|
+
/**
|
|
277
|
+
* The validation function was applied as of the contained relay chain block number.
|
|
278
|
+
**/
|
|
279
|
+
ValidationFunctionApplied: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionApplied', {
|
|
280
|
+
relayChainBlockNum: number;
|
|
281
|
+
}>;
|
|
282
|
+
/**
|
|
283
|
+
* The relay-chain aborted the upgrade process.
|
|
284
|
+
**/
|
|
285
|
+
ValidationFunctionDiscarded: GenericPalletEvent<'ParachainSystem', 'ValidationFunctionDiscarded', null>;
|
|
286
|
+
/**
|
|
287
|
+
* An upgrade has been authorized.
|
|
288
|
+
**/
|
|
289
|
+
UpgradeAuthorized: GenericPalletEvent<'ParachainSystem', 'UpgradeAuthorized', {
|
|
290
|
+
codeHash: H256;
|
|
291
|
+
}>;
|
|
292
|
+
/**
|
|
293
|
+
* Some downward messages have been received and will be processed.
|
|
294
|
+
**/
|
|
295
|
+
DownwardMessagesReceived: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesReceived', {
|
|
296
|
+
count: number;
|
|
297
|
+
}>;
|
|
298
|
+
/**
|
|
299
|
+
* Downward messages were processed using the given weight.
|
|
300
|
+
**/
|
|
301
|
+
DownwardMessagesProcessed: GenericPalletEvent<'ParachainSystem', 'DownwardMessagesProcessed', {
|
|
302
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
303
|
+
dmqHead: H256;
|
|
304
|
+
}>;
|
|
305
|
+
/**
|
|
306
|
+
* An upward message was sent to the relay chain.
|
|
307
|
+
**/
|
|
308
|
+
UpwardMessageSent: GenericPalletEvent<'ParachainSystem', 'UpwardMessageSent', {
|
|
309
|
+
messageHash?: FixedBytes<32> | undefined;
|
|
310
|
+
}>;
|
|
311
|
+
/**
|
|
312
|
+
* Generic pallet event
|
|
313
|
+
**/
|
|
314
|
+
[prop: string]: GenericPalletEvent;
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Pallet `TransactionPayment`'s events
|
|
318
|
+
**/
|
|
319
|
+
transactionPayment: {
|
|
320
|
+
/**
|
|
321
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
322
|
+
* has been paid by `who`.
|
|
323
|
+
**/
|
|
324
|
+
TransactionFeePaid: GenericPalletEvent<'TransactionPayment', 'TransactionFeePaid', {
|
|
325
|
+
who: AccountId32;
|
|
326
|
+
actualFee: bigint;
|
|
327
|
+
tip: bigint;
|
|
328
|
+
}>;
|
|
329
|
+
/**
|
|
330
|
+
* Generic pallet event
|
|
331
|
+
**/
|
|
332
|
+
[prop: string]: GenericPalletEvent;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Pallet `Balances`'s events
|
|
336
|
+
**/
|
|
337
|
+
balances: {
|
|
338
|
+
/**
|
|
339
|
+
* An account was created with some free balance.
|
|
340
|
+
**/
|
|
341
|
+
Endowed: GenericPalletEvent<'Balances', 'Endowed', {
|
|
342
|
+
account: AccountId32;
|
|
343
|
+
freeBalance: bigint;
|
|
344
|
+
}>;
|
|
345
|
+
/**
|
|
346
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
347
|
+
* resulting in an outright loss.
|
|
348
|
+
**/
|
|
349
|
+
DustLost: GenericPalletEvent<'Balances', 'DustLost', {
|
|
350
|
+
account: AccountId32;
|
|
351
|
+
amount: bigint;
|
|
352
|
+
}>;
|
|
353
|
+
/**
|
|
354
|
+
* Transfer succeeded.
|
|
355
|
+
**/
|
|
356
|
+
Transfer: GenericPalletEvent<'Balances', 'Transfer', {
|
|
357
|
+
from: AccountId32;
|
|
358
|
+
to: AccountId32;
|
|
359
|
+
amount: bigint;
|
|
360
|
+
}>;
|
|
361
|
+
/**
|
|
362
|
+
* A balance was set by root.
|
|
363
|
+
**/
|
|
364
|
+
BalanceSet: GenericPalletEvent<'Balances', 'BalanceSet', {
|
|
365
|
+
who: AccountId32;
|
|
366
|
+
free: bigint;
|
|
367
|
+
}>;
|
|
368
|
+
/**
|
|
369
|
+
* Some balance was reserved (moved from free to reserved).
|
|
370
|
+
**/
|
|
371
|
+
Reserved: GenericPalletEvent<'Balances', 'Reserved', {
|
|
372
|
+
who: AccountId32;
|
|
373
|
+
amount: bigint;
|
|
374
|
+
}>;
|
|
375
|
+
/**
|
|
376
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
377
|
+
**/
|
|
378
|
+
Unreserved: GenericPalletEvent<'Balances', 'Unreserved', {
|
|
379
|
+
who: AccountId32;
|
|
380
|
+
amount: bigint;
|
|
381
|
+
}>;
|
|
382
|
+
/**
|
|
383
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
384
|
+
* Final argument indicates the destination balance type.
|
|
385
|
+
**/
|
|
386
|
+
ReserveRepatriated: GenericPalletEvent<'Balances', 'ReserveRepatriated', {
|
|
387
|
+
from: AccountId32;
|
|
388
|
+
to: AccountId32;
|
|
389
|
+
amount: bigint;
|
|
390
|
+
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
391
|
+
}>;
|
|
392
|
+
/**
|
|
393
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
394
|
+
**/
|
|
395
|
+
Deposit: GenericPalletEvent<'Balances', 'Deposit', {
|
|
396
|
+
who: AccountId32;
|
|
397
|
+
amount: bigint;
|
|
398
|
+
}>;
|
|
399
|
+
/**
|
|
400
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
401
|
+
**/
|
|
402
|
+
Withdraw: GenericPalletEvent<'Balances', 'Withdraw', {
|
|
403
|
+
who: AccountId32;
|
|
404
|
+
amount: bigint;
|
|
405
|
+
}>;
|
|
406
|
+
/**
|
|
407
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
408
|
+
**/
|
|
409
|
+
Slashed: GenericPalletEvent<'Balances', 'Slashed', {
|
|
410
|
+
who: AccountId32;
|
|
411
|
+
amount: bigint;
|
|
412
|
+
}>;
|
|
413
|
+
/**
|
|
414
|
+
* Some amount was minted into an account.
|
|
415
|
+
**/
|
|
416
|
+
Minted: GenericPalletEvent<'Balances', 'Minted', {
|
|
417
|
+
who: AccountId32;
|
|
418
|
+
amount: bigint;
|
|
419
|
+
}>;
|
|
420
|
+
/**
|
|
421
|
+
* Some amount was burned from an account.
|
|
422
|
+
**/
|
|
423
|
+
Burned: GenericPalletEvent<'Balances', 'Burned', {
|
|
424
|
+
who: AccountId32;
|
|
425
|
+
amount: bigint;
|
|
426
|
+
}>;
|
|
427
|
+
/**
|
|
428
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
429
|
+
**/
|
|
430
|
+
Suspended: GenericPalletEvent<'Balances', 'Suspended', {
|
|
431
|
+
who: AccountId32;
|
|
432
|
+
amount: bigint;
|
|
433
|
+
}>;
|
|
434
|
+
/**
|
|
435
|
+
* Some amount was restored into an account.
|
|
436
|
+
**/
|
|
437
|
+
Restored: GenericPalletEvent<'Balances', 'Restored', {
|
|
438
|
+
who: AccountId32;
|
|
439
|
+
amount: bigint;
|
|
440
|
+
}>;
|
|
441
|
+
/**
|
|
442
|
+
* An account was upgraded.
|
|
443
|
+
**/
|
|
444
|
+
Upgraded: GenericPalletEvent<'Balances', 'Upgraded', {
|
|
445
|
+
who: AccountId32;
|
|
446
|
+
}>;
|
|
447
|
+
/**
|
|
448
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
449
|
+
**/
|
|
450
|
+
Issued: GenericPalletEvent<'Balances', 'Issued', {
|
|
451
|
+
amount: bigint;
|
|
452
|
+
}>;
|
|
453
|
+
/**
|
|
454
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
455
|
+
**/
|
|
456
|
+
Rescinded: GenericPalletEvent<'Balances', 'Rescinded', {
|
|
457
|
+
amount: bigint;
|
|
458
|
+
}>;
|
|
459
|
+
/**
|
|
460
|
+
* Some balance was locked.
|
|
461
|
+
**/
|
|
462
|
+
Locked: GenericPalletEvent<'Balances', 'Locked', {
|
|
463
|
+
who: AccountId32;
|
|
464
|
+
amount: bigint;
|
|
465
|
+
}>;
|
|
466
|
+
/**
|
|
467
|
+
* Some balance was unlocked.
|
|
468
|
+
**/
|
|
469
|
+
Unlocked: GenericPalletEvent<'Balances', 'Unlocked', {
|
|
470
|
+
who: AccountId32;
|
|
471
|
+
amount: bigint;
|
|
472
|
+
}>;
|
|
473
|
+
/**
|
|
474
|
+
* Some balance was frozen.
|
|
475
|
+
**/
|
|
476
|
+
Frozen: GenericPalletEvent<'Balances', 'Frozen', {
|
|
477
|
+
who: AccountId32;
|
|
478
|
+
amount: bigint;
|
|
479
|
+
}>;
|
|
480
|
+
/**
|
|
481
|
+
* Some balance was thawed.
|
|
482
|
+
**/
|
|
483
|
+
Thawed: GenericPalletEvent<'Balances', 'Thawed', {
|
|
484
|
+
who: AccountId32;
|
|
485
|
+
amount: bigint;
|
|
486
|
+
}>;
|
|
487
|
+
/**
|
|
488
|
+
* Generic pallet event
|
|
489
|
+
**/
|
|
490
|
+
[prop: string]: GenericPalletEvent;
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* Pallet `Vesting`'s events
|
|
494
|
+
**/
|
|
495
|
+
vesting: {
|
|
496
|
+
/**
|
|
497
|
+
* The amount vested has been updated. This could indicate a change in funds available.
|
|
498
|
+
* The balance given is the amount which is left unvested (and thus locked).
|
|
499
|
+
**/
|
|
500
|
+
VestingUpdated: GenericPalletEvent<'Vesting', 'VestingUpdated', {
|
|
501
|
+
account: AccountId32;
|
|
502
|
+
unvested: bigint;
|
|
503
|
+
}>;
|
|
504
|
+
/**
|
|
505
|
+
* An \[account\] has become fully vested.
|
|
506
|
+
**/
|
|
507
|
+
VestingCompleted: GenericPalletEvent<'Vesting', 'VestingCompleted', {
|
|
508
|
+
account: AccountId32;
|
|
509
|
+
}>;
|
|
510
|
+
/**
|
|
511
|
+
* Generic pallet event
|
|
512
|
+
**/
|
|
513
|
+
[prop: string]: GenericPalletEvent;
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* Pallet `Inflation`'s events
|
|
517
|
+
**/
|
|
518
|
+
inflation: {
|
|
519
|
+
/**
|
|
520
|
+
* Inflation parameters have been force changed. This will have effect on the next inflation recalculation.
|
|
521
|
+
**/
|
|
522
|
+
InflationParametersForceChanged: GenericPalletEvent<'Inflation', 'InflationParametersForceChanged', null>;
|
|
523
|
+
/**
|
|
524
|
+
* Inflation configuration has been force changed. This will have an immediate effect from this block.
|
|
525
|
+
**/
|
|
526
|
+
InflationConfigurationForceChanged: GenericPalletEvent<'Inflation', 'InflationConfigurationForceChanged', {
|
|
527
|
+
config: PalletInflationInflationConfiguration;
|
|
528
|
+
}>;
|
|
529
|
+
/**
|
|
530
|
+
* Inflation recalculation has been forced.
|
|
531
|
+
**/
|
|
532
|
+
ForcedInflationRecalculation: GenericPalletEvent<'Inflation', 'ForcedInflationRecalculation', {
|
|
533
|
+
config: PalletInflationInflationConfiguration;
|
|
534
|
+
}>;
|
|
535
|
+
/**
|
|
536
|
+
* New inflation configuration has been set.
|
|
537
|
+
**/
|
|
538
|
+
NewInflationConfiguration: GenericPalletEvent<'Inflation', 'NewInflationConfiguration', {
|
|
539
|
+
config: PalletInflationInflationConfiguration;
|
|
540
|
+
}>;
|
|
541
|
+
/**
|
|
542
|
+
* Generic pallet event
|
|
543
|
+
**/
|
|
544
|
+
[prop: string]: GenericPalletEvent;
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* Pallet `DappStaking`'s events
|
|
548
|
+
**/
|
|
549
|
+
dappStaking: {
|
|
550
|
+
/**
|
|
551
|
+
* Maintenance mode has been either enabled or disabled.
|
|
552
|
+
**/
|
|
553
|
+
MaintenanceMode: GenericPalletEvent<'DappStaking', 'MaintenanceMode', {
|
|
554
|
+
enabled: boolean;
|
|
555
|
+
}>;
|
|
556
|
+
/**
|
|
557
|
+
* New era has started.
|
|
558
|
+
**/
|
|
559
|
+
NewEra: GenericPalletEvent<'DappStaking', 'NewEra', {
|
|
560
|
+
era: number;
|
|
561
|
+
}>;
|
|
562
|
+
/**
|
|
563
|
+
* New subperiod has started.
|
|
564
|
+
**/
|
|
565
|
+
NewSubperiod: GenericPalletEvent<'DappStaking', 'NewSubperiod', {
|
|
566
|
+
subperiod: PalletDappStakingV3Subperiod;
|
|
567
|
+
number: number;
|
|
568
|
+
}>;
|
|
569
|
+
/**
|
|
570
|
+
* A smart contract has been registered for dApp staking
|
|
571
|
+
**/
|
|
572
|
+
DAppRegistered: GenericPalletEvent<'DappStaking', 'DAppRegistered', {
|
|
573
|
+
owner: AccountId32;
|
|
574
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
575
|
+
dappId: number;
|
|
576
|
+
}>;
|
|
577
|
+
/**
|
|
578
|
+
* dApp reward destination has been updated.
|
|
579
|
+
**/
|
|
580
|
+
DAppRewardDestinationUpdated: GenericPalletEvent<'DappStaking', 'DAppRewardDestinationUpdated', {
|
|
581
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
582
|
+
beneficiary?: AccountId32 | undefined;
|
|
583
|
+
}>;
|
|
584
|
+
/**
|
|
585
|
+
* dApp owner has been changed.
|
|
586
|
+
**/
|
|
587
|
+
DAppOwnerChanged: GenericPalletEvent<'DappStaking', 'DAppOwnerChanged', {
|
|
588
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
589
|
+
newOwner: AccountId32;
|
|
590
|
+
}>;
|
|
591
|
+
/**
|
|
592
|
+
* dApp has been unregistered
|
|
593
|
+
**/
|
|
594
|
+
DAppUnregistered: GenericPalletEvent<'DappStaking', 'DAppUnregistered', {
|
|
595
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
596
|
+
era: number;
|
|
597
|
+
}>;
|
|
598
|
+
/**
|
|
599
|
+
* Account has locked some amount into dApp staking.
|
|
600
|
+
**/
|
|
601
|
+
Locked: GenericPalletEvent<'DappStaking', 'Locked', {
|
|
602
|
+
account: AccountId32;
|
|
603
|
+
amount: bigint;
|
|
604
|
+
}>;
|
|
605
|
+
/**
|
|
606
|
+
* Account has started the unlocking process for some amount.
|
|
607
|
+
**/
|
|
608
|
+
Unlocking: GenericPalletEvent<'DappStaking', 'Unlocking', {
|
|
609
|
+
account: AccountId32;
|
|
610
|
+
amount: bigint;
|
|
611
|
+
}>;
|
|
612
|
+
/**
|
|
613
|
+
* Account has claimed unlocked amount, removing the lock from it.
|
|
614
|
+
**/
|
|
615
|
+
ClaimedUnlocked: GenericPalletEvent<'DappStaking', 'ClaimedUnlocked', {
|
|
616
|
+
account: AccountId32;
|
|
617
|
+
amount: bigint;
|
|
618
|
+
}>;
|
|
619
|
+
/**
|
|
620
|
+
* Account has relocked all of the unlocking chunks.
|
|
621
|
+
**/
|
|
622
|
+
Relock: GenericPalletEvent<'DappStaking', 'Relock', {
|
|
623
|
+
account: AccountId32;
|
|
624
|
+
amount: bigint;
|
|
625
|
+
}>;
|
|
626
|
+
/**
|
|
627
|
+
* Account has staked some amount on a smart contract.
|
|
628
|
+
**/
|
|
629
|
+
Stake: GenericPalletEvent<'DappStaking', 'Stake', {
|
|
630
|
+
account: AccountId32;
|
|
631
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
632
|
+
amount: bigint;
|
|
633
|
+
}>;
|
|
634
|
+
/**
|
|
635
|
+
* Account has unstaked some amount from a smart contract.
|
|
636
|
+
**/
|
|
637
|
+
Unstake: GenericPalletEvent<'DappStaking', 'Unstake', {
|
|
638
|
+
account: AccountId32;
|
|
639
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
640
|
+
amount: bigint;
|
|
641
|
+
}>;
|
|
642
|
+
/**
|
|
643
|
+
* Account has claimed some stake rewards.
|
|
644
|
+
**/
|
|
645
|
+
Reward: GenericPalletEvent<'DappStaking', 'Reward', {
|
|
646
|
+
account: AccountId32;
|
|
647
|
+
era: number;
|
|
648
|
+
amount: bigint;
|
|
649
|
+
}>;
|
|
650
|
+
/**
|
|
651
|
+
* Bonus reward has been paid out to a loyal staker.
|
|
652
|
+
**/
|
|
653
|
+
BonusReward: GenericPalletEvent<'DappStaking', 'BonusReward', {
|
|
654
|
+
account: AccountId32;
|
|
655
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
656
|
+
period: number;
|
|
657
|
+
amount: bigint;
|
|
658
|
+
}>;
|
|
659
|
+
/**
|
|
660
|
+
* dApp reward has been paid out to a beneficiary.
|
|
661
|
+
**/
|
|
662
|
+
DAppReward: GenericPalletEvent<'DappStaking', 'DAppReward', {
|
|
663
|
+
beneficiary: AccountId32;
|
|
664
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
665
|
+
tierId: number;
|
|
666
|
+
era: number;
|
|
667
|
+
amount: bigint;
|
|
668
|
+
}>;
|
|
669
|
+
/**
|
|
670
|
+
* Account has unstaked funds from an unregistered smart contract
|
|
671
|
+
**/
|
|
672
|
+
UnstakeFromUnregistered: GenericPalletEvent<'DappStaking', 'UnstakeFromUnregistered', {
|
|
673
|
+
account: AccountId32;
|
|
674
|
+
smartContract: AstarPrimitivesDappStakingSmartContract;
|
|
675
|
+
amount: bigint;
|
|
676
|
+
}>;
|
|
677
|
+
/**
|
|
678
|
+
* Some expired stake entries have been removed from storage.
|
|
679
|
+
**/
|
|
680
|
+
ExpiredEntriesRemoved: GenericPalletEvent<'DappStaking', 'ExpiredEntriesRemoved', {
|
|
681
|
+
account: AccountId32;
|
|
682
|
+
count: number;
|
|
683
|
+
}>;
|
|
684
|
+
/**
|
|
685
|
+
* Privileged origin has forced a new era and possibly a subperiod to start from next block.
|
|
686
|
+
**/
|
|
687
|
+
Force: GenericPalletEvent<'DappStaking', 'Force', {
|
|
688
|
+
forcingType: PalletDappStakingV3ForcingType;
|
|
689
|
+
}>;
|
|
690
|
+
/**
|
|
691
|
+
* Generic pallet event
|
|
692
|
+
**/
|
|
693
|
+
[prop: string]: GenericPalletEvent;
|
|
694
|
+
};
|
|
695
|
+
/**
|
|
696
|
+
* Pallet `Assets`'s events
|
|
697
|
+
**/
|
|
698
|
+
assets: {
|
|
699
|
+
/**
|
|
700
|
+
* Some asset class was created.
|
|
701
|
+
**/
|
|
702
|
+
Created: GenericPalletEvent<'Assets', 'Created', {
|
|
703
|
+
assetId: bigint;
|
|
704
|
+
creator: AccountId32;
|
|
705
|
+
owner: AccountId32;
|
|
706
|
+
}>;
|
|
707
|
+
/**
|
|
708
|
+
* Some assets were issued.
|
|
709
|
+
**/
|
|
710
|
+
Issued: GenericPalletEvent<'Assets', 'Issued', {
|
|
711
|
+
assetId: bigint;
|
|
712
|
+
owner: AccountId32;
|
|
713
|
+
amount: bigint;
|
|
714
|
+
}>;
|
|
715
|
+
/**
|
|
716
|
+
* Some assets were transferred.
|
|
717
|
+
**/
|
|
718
|
+
Transferred: GenericPalletEvent<'Assets', 'Transferred', {
|
|
719
|
+
assetId: bigint;
|
|
720
|
+
from: AccountId32;
|
|
721
|
+
to: AccountId32;
|
|
722
|
+
amount: bigint;
|
|
723
|
+
}>;
|
|
724
|
+
/**
|
|
725
|
+
* Some assets were destroyed.
|
|
726
|
+
**/
|
|
727
|
+
Burned: GenericPalletEvent<'Assets', 'Burned', {
|
|
728
|
+
assetId: bigint;
|
|
729
|
+
owner: AccountId32;
|
|
730
|
+
balance: bigint;
|
|
731
|
+
}>;
|
|
732
|
+
/**
|
|
733
|
+
* The management team changed.
|
|
734
|
+
**/
|
|
735
|
+
TeamChanged: GenericPalletEvent<'Assets', 'TeamChanged', {
|
|
736
|
+
assetId: bigint;
|
|
737
|
+
issuer: AccountId32;
|
|
738
|
+
admin: AccountId32;
|
|
739
|
+
freezer: AccountId32;
|
|
740
|
+
}>;
|
|
741
|
+
/**
|
|
742
|
+
* The owner changed.
|
|
743
|
+
**/
|
|
744
|
+
OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', {
|
|
745
|
+
assetId: bigint;
|
|
746
|
+
owner: AccountId32;
|
|
747
|
+
}>;
|
|
748
|
+
/**
|
|
749
|
+
* Some account `who` was frozen.
|
|
750
|
+
**/
|
|
751
|
+
Frozen: GenericPalletEvent<'Assets', 'Frozen', {
|
|
752
|
+
assetId: bigint;
|
|
753
|
+
who: AccountId32;
|
|
754
|
+
}>;
|
|
755
|
+
/**
|
|
756
|
+
* Some account `who` was thawed.
|
|
757
|
+
**/
|
|
758
|
+
Thawed: GenericPalletEvent<'Assets', 'Thawed', {
|
|
759
|
+
assetId: bigint;
|
|
760
|
+
who: AccountId32;
|
|
761
|
+
}>;
|
|
762
|
+
/**
|
|
763
|
+
* Some asset `asset_id` was frozen.
|
|
764
|
+
**/
|
|
765
|
+
AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', {
|
|
766
|
+
assetId: bigint;
|
|
767
|
+
}>;
|
|
768
|
+
/**
|
|
769
|
+
* Some asset `asset_id` was thawed.
|
|
770
|
+
**/
|
|
771
|
+
AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', {
|
|
772
|
+
assetId: bigint;
|
|
773
|
+
}>;
|
|
774
|
+
/**
|
|
775
|
+
* Accounts were destroyed for given asset.
|
|
776
|
+
**/
|
|
777
|
+
AccountsDestroyed: GenericPalletEvent<'Assets', 'AccountsDestroyed', {
|
|
778
|
+
assetId: bigint;
|
|
779
|
+
accountsDestroyed: number;
|
|
780
|
+
accountsRemaining: number;
|
|
781
|
+
}>;
|
|
782
|
+
/**
|
|
783
|
+
* Approvals were destroyed for given asset.
|
|
784
|
+
**/
|
|
785
|
+
ApprovalsDestroyed: GenericPalletEvent<'Assets', 'ApprovalsDestroyed', {
|
|
786
|
+
assetId: bigint;
|
|
787
|
+
approvalsDestroyed: number;
|
|
788
|
+
approvalsRemaining: number;
|
|
789
|
+
}>;
|
|
790
|
+
/**
|
|
791
|
+
* An asset class is in the process of being destroyed.
|
|
792
|
+
**/
|
|
793
|
+
DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', {
|
|
794
|
+
assetId: bigint;
|
|
795
|
+
}>;
|
|
796
|
+
/**
|
|
797
|
+
* An asset class was destroyed.
|
|
798
|
+
**/
|
|
799
|
+
Destroyed: GenericPalletEvent<'Assets', 'Destroyed', {
|
|
800
|
+
assetId: bigint;
|
|
801
|
+
}>;
|
|
802
|
+
/**
|
|
803
|
+
* Some asset class was force-created.
|
|
804
|
+
**/
|
|
805
|
+
ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', {
|
|
806
|
+
assetId: bigint;
|
|
807
|
+
owner: AccountId32;
|
|
808
|
+
}>;
|
|
809
|
+
/**
|
|
810
|
+
* New metadata has been set for an asset.
|
|
811
|
+
**/
|
|
812
|
+
MetadataSet: GenericPalletEvent<'Assets', 'MetadataSet', {
|
|
813
|
+
assetId: bigint;
|
|
814
|
+
name: Bytes;
|
|
815
|
+
symbol: Bytes;
|
|
816
|
+
decimals: number;
|
|
817
|
+
isFrozen: boolean;
|
|
818
|
+
}>;
|
|
819
|
+
/**
|
|
820
|
+
* Metadata has been cleared for an asset.
|
|
821
|
+
**/
|
|
822
|
+
MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', {
|
|
823
|
+
assetId: bigint;
|
|
824
|
+
}>;
|
|
825
|
+
/**
|
|
826
|
+
* (Additional) funds have been approved for transfer to a destination account.
|
|
827
|
+
**/
|
|
828
|
+
ApprovedTransfer: GenericPalletEvent<'Assets', 'ApprovedTransfer', {
|
|
829
|
+
assetId: bigint;
|
|
830
|
+
source: AccountId32;
|
|
831
|
+
delegate: AccountId32;
|
|
832
|
+
amount: bigint;
|
|
833
|
+
}>;
|
|
834
|
+
/**
|
|
835
|
+
* An approval for account `delegate` was cancelled by `owner`.
|
|
836
|
+
**/
|
|
837
|
+
ApprovalCancelled: GenericPalletEvent<'Assets', 'ApprovalCancelled', {
|
|
838
|
+
assetId: bigint;
|
|
839
|
+
owner: AccountId32;
|
|
840
|
+
delegate: AccountId32;
|
|
841
|
+
}>;
|
|
842
|
+
/**
|
|
843
|
+
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
844
|
+
* the approved `delegate`.
|
|
845
|
+
**/
|
|
846
|
+
TransferredApproved: GenericPalletEvent<'Assets', 'TransferredApproved', {
|
|
847
|
+
assetId: bigint;
|
|
848
|
+
owner: AccountId32;
|
|
849
|
+
delegate: AccountId32;
|
|
850
|
+
destination: AccountId32;
|
|
851
|
+
amount: bigint;
|
|
852
|
+
}>;
|
|
853
|
+
/**
|
|
854
|
+
* An asset has had its attributes changed by the `Force` origin.
|
|
855
|
+
**/
|
|
856
|
+
AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', {
|
|
857
|
+
assetId: bigint;
|
|
858
|
+
}>;
|
|
859
|
+
/**
|
|
860
|
+
* The min_balance of an asset has been updated by the asset owner.
|
|
861
|
+
**/
|
|
862
|
+
AssetMinBalanceChanged: GenericPalletEvent<'Assets', 'AssetMinBalanceChanged', {
|
|
863
|
+
assetId: bigint;
|
|
864
|
+
newMinBalance: bigint;
|
|
865
|
+
}>;
|
|
866
|
+
/**
|
|
867
|
+
* Some account `who` was created with a deposit from `depositor`.
|
|
868
|
+
**/
|
|
869
|
+
Touched: GenericPalletEvent<'Assets', 'Touched', {
|
|
870
|
+
assetId: bigint;
|
|
871
|
+
who: AccountId32;
|
|
872
|
+
depositor: AccountId32;
|
|
873
|
+
}>;
|
|
874
|
+
/**
|
|
875
|
+
* Some account `who` was blocked.
|
|
876
|
+
**/
|
|
877
|
+
Blocked: GenericPalletEvent<'Assets', 'Blocked', {
|
|
878
|
+
assetId: bigint;
|
|
879
|
+
who: AccountId32;
|
|
880
|
+
}>;
|
|
881
|
+
/**
|
|
882
|
+
* Generic pallet event
|
|
883
|
+
**/
|
|
884
|
+
[prop: string]: GenericPalletEvent;
|
|
885
|
+
};
|
|
886
|
+
/**
|
|
887
|
+
* Pallet `CollatorSelection`'s events
|
|
888
|
+
**/
|
|
889
|
+
collatorSelection: {
|
|
890
|
+
NewInvulnerables: GenericPalletEvent<'CollatorSelection', 'NewInvulnerables', Array<AccountId32>>;
|
|
891
|
+
NewDesiredCandidates: GenericPalletEvent<'CollatorSelection', 'NewDesiredCandidates', number>;
|
|
892
|
+
NewCandidacyBond: GenericPalletEvent<'CollatorSelection', 'NewCandidacyBond', bigint>;
|
|
893
|
+
CandidateAdded: GenericPalletEvent<'CollatorSelection', 'CandidateAdded', [AccountId32, bigint]>;
|
|
894
|
+
CandidateRemoved: GenericPalletEvent<'CollatorSelection', 'CandidateRemoved', AccountId32>;
|
|
895
|
+
CandidateSlashed: GenericPalletEvent<'CollatorSelection', 'CandidateSlashed', AccountId32>;
|
|
896
|
+
/**
|
|
897
|
+
* Generic pallet event
|
|
898
|
+
**/
|
|
899
|
+
[prop: string]: GenericPalletEvent;
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* Pallet `Session`'s events
|
|
903
|
+
**/
|
|
904
|
+
session: {
|
|
905
|
+
/**
|
|
906
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
907
|
+
* block number as the type might suggest.
|
|
908
|
+
**/
|
|
909
|
+
NewSession: GenericPalletEvent<'Session', 'NewSession', {
|
|
910
|
+
sessionIndex: number;
|
|
911
|
+
}>;
|
|
912
|
+
/**
|
|
913
|
+
* Generic pallet event
|
|
914
|
+
**/
|
|
915
|
+
[prop: string]: GenericPalletEvent;
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* Pallet `XcmpQueue`'s events
|
|
919
|
+
**/
|
|
920
|
+
xcmpQueue: {
|
|
921
|
+
/**
|
|
922
|
+
* Some XCM was executed ok.
|
|
923
|
+
**/
|
|
924
|
+
Success: GenericPalletEvent<'XcmpQueue', 'Success', {
|
|
925
|
+
messageHash?: FixedBytes<32> | undefined;
|
|
926
|
+
weight: SpWeightsWeightV2Weight;
|
|
927
|
+
}>;
|
|
928
|
+
/**
|
|
929
|
+
* Some XCM failed.
|
|
930
|
+
**/
|
|
931
|
+
Fail: GenericPalletEvent<'XcmpQueue', 'Fail', {
|
|
932
|
+
messageHash?: FixedBytes<32> | undefined;
|
|
933
|
+
error: XcmV3TraitsError;
|
|
934
|
+
weight: SpWeightsWeightV2Weight;
|
|
935
|
+
}>;
|
|
936
|
+
/**
|
|
937
|
+
* Bad XCM version used.
|
|
938
|
+
**/
|
|
939
|
+
BadVersion: GenericPalletEvent<'XcmpQueue', 'BadVersion', {
|
|
940
|
+
messageHash?: FixedBytes<32> | undefined;
|
|
941
|
+
}>;
|
|
942
|
+
/**
|
|
943
|
+
* Bad XCM format used.
|
|
944
|
+
**/
|
|
945
|
+
BadFormat: GenericPalletEvent<'XcmpQueue', 'BadFormat', {
|
|
946
|
+
messageHash?: FixedBytes<32> | undefined;
|
|
947
|
+
}>;
|
|
948
|
+
/**
|
|
949
|
+
* An HRMP message was sent to a sibling parachain.
|
|
950
|
+
**/
|
|
951
|
+
XcmpMessageSent: GenericPalletEvent<'XcmpQueue', 'XcmpMessageSent', {
|
|
952
|
+
messageHash?: FixedBytes<32> | undefined;
|
|
953
|
+
}>;
|
|
954
|
+
/**
|
|
955
|
+
* An XCM exceeded the individual message weight budget.
|
|
956
|
+
**/
|
|
957
|
+
OverweightEnqueued: GenericPalletEvent<'XcmpQueue', 'OverweightEnqueued', {
|
|
958
|
+
sender: PolkadotParachainPrimitivesId;
|
|
959
|
+
sentAt: number;
|
|
960
|
+
index: bigint;
|
|
961
|
+
required: SpWeightsWeightV2Weight;
|
|
962
|
+
}>;
|
|
963
|
+
/**
|
|
964
|
+
* An XCM from the overweight queue was executed with the given actual weight used.
|
|
965
|
+
**/
|
|
966
|
+
OverweightServiced: GenericPalletEvent<'XcmpQueue', 'OverweightServiced', {
|
|
967
|
+
index: bigint;
|
|
968
|
+
used: SpWeightsWeightV2Weight;
|
|
969
|
+
}>;
|
|
970
|
+
/**
|
|
971
|
+
* Generic pallet event
|
|
972
|
+
**/
|
|
973
|
+
[prop: string]: GenericPalletEvent;
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* Pallet `PolkadotXcm`'s events
|
|
977
|
+
**/
|
|
978
|
+
polkadotXcm: {
|
|
979
|
+
/**
|
|
980
|
+
* Execution of an XCM message was attempted.
|
|
981
|
+
*
|
|
982
|
+
* \[ outcome \]
|
|
983
|
+
**/
|
|
984
|
+
Attempted: GenericPalletEvent<'PolkadotXcm', 'Attempted', XcmV3TraitsOutcome>;
|
|
985
|
+
/**
|
|
986
|
+
* A XCM message was sent.
|
|
987
|
+
*
|
|
988
|
+
* \[ origin, destination, message \]
|
|
989
|
+
**/
|
|
990
|
+
Sent: GenericPalletEvent<'PolkadotXcm', 'Sent', [
|
|
991
|
+
XcmV3MultilocationMultiLocation,
|
|
992
|
+
XcmV3MultilocationMultiLocation,
|
|
993
|
+
XcmV3Xcm
|
|
994
|
+
]>;
|
|
995
|
+
/**
|
|
996
|
+
* Query response received which does not match a registered query. This may be because a
|
|
997
|
+
* matching query was never registered, it may be because it is a duplicate response, or
|
|
998
|
+
* because the query timed out.
|
|
999
|
+
*
|
|
1000
|
+
* \[ origin location, id \]
|
|
1001
|
+
**/
|
|
1002
|
+
UnexpectedResponse: GenericPalletEvent<'PolkadotXcm', 'UnexpectedResponse', [
|
|
1003
|
+
XcmV3MultilocationMultiLocation,
|
|
1004
|
+
bigint
|
|
1005
|
+
]>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Query response has been received and is ready for taking with `take_response`. There is
|
|
1008
|
+
* no registered notification call.
|
|
1009
|
+
*
|
|
1010
|
+
* \[ id, response \]
|
|
1011
|
+
**/
|
|
1012
|
+
ResponseReady: GenericPalletEvent<'PolkadotXcm', 'ResponseReady', [bigint, XcmV3Response]>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Query response has been received and query is removed. The registered notification has
|
|
1015
|
+
* been dispatched and executed successfully.
|
|
1016
|
+
*
|
|
1017
|
+
* \[ id, pallet index, call index \]
|
|
1018
|
+
**/
|
|
1019
|
+
Notified: GenericPalletEvent<'PolkadotXcm', 'Notified', [bigint, number, number]>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Query response has been received and query is removed. The registered notification could
|
|
1022
|
+
* not be dispatched because the dispatch weight is greater than the maximum weight
|
|
1023
|
+
* originally budgeted by this runtime for the query result.
|
|
1024
|
+
*
|
|
1025
|
+
* \[ id, pallet index, call index, actual weight, max budgeted weight \]
|
|
1026
|
+
**/
|
|
1027
|
+
NotifyOverweight: GenericPalletEvent<'PolkadotXcm', 'NotifyOverweight', [
|
|
1028
|
+
bigint,
|
|
1029
|
+
number,
|
|
1030
|
+
number,
|
|
1031
|
+
SpWeightsWeightV2Weight,
|
|
1032
|
+
SpWeightsWeightV2Weight
|
|
1033
|
+
]>;
|
|
1034
|
+
/**
|
|
1035
|
+
* Query response has been received and query is removed. There was a general error with
|
|
1036
|
+
* dispatching the notification call.
|
|
1037
|
+
*
|
|
1038
|
+
* \[ id, pallet index, call index \]
|
|
1039
|
+
**/
|
|
1040
|
+
NotifyDispatchError: GenericPalletEvent<'PolkadotXcm', 'NotifyDispatchError', [bigint, number, number]>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Query response has been received and query is removed. The dispatch was unable to be
|
|
1043
|
+
* decoded into a `Call`; this might be due to dispatch function having a signature which
|
|
1044
|
+
* is not `(origin, QueryId, Response)`.
|
|
1045
|
+
*
|
|
1046
|
+
* \[ id, pallet index, call index \]
|
|
1047
|
+
**/
|
|
1048
|
+
NotifyDecodeFailed: GenericPalletEvent<'PolkadotXcm', 'NotifyDecodeFailed', [bigint, number, number]>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Expected query response has been received but the origin location of the response does
|
|
1051
|
+
* not match that expected. The query remains registered for a later, valid, response to
|
|
1052
|
+
* be received and acted upon.
|
|
1053
|
+
*
|
|
1054
|
+
* \[ origin location, id, expected location \]
|
|
1055
|
+
**/
|
|
1056
|
+
InvalidResponder: GenericPalletEvent<'PolkadotXcm', 'InvalidResponder', [
|
|
1057
|
+
XcmV3MultilocationMultiLocation,
|
|
1058
|
+
bigint,
|
|
1059
|
+
XcmV3MultilocationMultiLocation | undefined
|
|
1060
|
+
]>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Expected query response has been received but the expected origin location placed in
|
|
1063
|
+
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
1064
|
+
*
|
|
1065
|
+
* This is unexpected (since a location placed in storage in a previously executing
|
|
1066
|
+
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
1067
|
+
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
1068
|
+
* needed.
|
|
1069
|
+
*
|
|
1070
|
+
* \[ origin location, id \]
|
|
1071
|
+
**/
|
|
1072
|
+
InvalidResponderVersion: GenericPalletEvent<'PolkadotXcm', 'InvalidResponderVersion', [
|
|
1073
|
+
XcmV3MultilocationMultiLocation,
|
|
1074
|
+
bigint
|
|
1075
|
+
]>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Received query response has been read and removed.
|
|
1078
|
+
*
|
|
1079
|
+
* \[ id \]
|
|
1080
|
+
**/
|
|
1081
|
+
ResponseTaken: GenericPalletEvent<'PolkadotXcm', 'ResponseTaken', bigint>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Some assets have been placed in an asset trap.
|
|
1084
|
+
*
|
|
1085
|
+
* \[ hash, origin, assets \]
|
|
1086
|
+
**/
|
|
1087
|
+
AssetsTrapped: GenericPalletEvent<'PolkadotXcm', 'AssetsTrapped', [
|
|
1088
|
+
H256,
|
|
1089
|
+
XcmV3MultilocationMultiLocation,
|
|
1090
|
+
XcmVersionedMultiAssets
|
|
1091
|
+
]>;
|
|
1092
|
+
/**
|
|
1093
|
+
* An XCM version change notification message has been attempted to be sent.
|
|
1094
|
+
*
|
|
1095
|
+
* The cost of sending it (borne by the chain) is included.
|
|
1096
|
+
*
|
|
1097
|
+
* \[ destination, result, cost \]
|
|
1098
|
+
**/
|
|
1099
|
+
VersionChangeNotified: GenericPalletEvent<'PolkadotXcm', 'VersionChangeNotified', [
|
|
1100
|
+
XcmV3MultilocationMultiLocation,
|
|
1101
|
+
number,
|
|
1102
|
+
XcmV3MultiassetMultiAssets
|
|
1103
|
+
]>;
|
|
1104
|
+
/**
|
|
1105
|
+
* The supported version of a location has been changed. This might be through an
|
|
1106
|
+
* automatic notification or a manual intervention.
|
|
1107
|
+
*
|
|
1108
|
+
* \[ location, XCM version \]
|
|
1109
|
+
**/
|
|
1110
|
+
SupportedVersionChanged: GenericPalletEvent<'PolkadotXcm', 'SupportedVersionChanged', [
|
|
1111
|
+
XcmV3MultilocationMultiLocation,
|
|
1112
|
+
number
|
|
1113
|
+
]>;
|
|
1114
|
+
/**
|
|
1115
|
+
* A given location which had a version change subscription was dropped owing to an error
|
|
1116
|
+
* sending the notification to it.
|
|
1117
|
+
*
|
|
1118
|
+
* \[ location, query ID, error \]
|
|
1119
|
+
**/
|
|
1120
|
+
NotifyTargetSendFail: GenericPalletEvent<'PolkadotXcm', 'NotifyTargetSendFail', [
|
|
1121
|
+
XcmV3MultilocationMultiLocation,
|
|
1122
|
+
bigint,
|
|
1123
|
+
XcmV3TraitsError
|
|
1124
|
+
]>;
|
|
1125
|
+
/**
|
|
1126
|
+
* A given location which had a version change subscription was dropped owing to an error
|
|
1127
|
+
* migrating the location to our new XCM format.
|
|
1128
|
+
*
|
|
1129
|
+
* \[ location, query ID \]
|
|
1130
|
+
**/
|
|
1131
|
+
NotifyTargetMigrationFail: GenericPalletEvent<'PolkadotXcm', 'NotifyTargetMigrationFail', [
|
|
1132
|
+
XcmVersionedMultiLocation,
|
|
1133
|
+
bigint
|
|
1134
|
+
]>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Expected query response has been received but the expected querier location placed in
|
|
1137
|
+
* storage by this runtime previously cannot be decoded. The query remains registered.
|
|
1138
|
+
*
|
|
1139
|
+
* This is unexpected (since a location placed in storage in a previously executing
|
|
1140
|
+
* runtime should be readable prior to query timeout) and dangerous since the possibly
|
|
1141
|
+
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
1142
|
+
* needed.
|
|
1143
|
+
*
|
|
1144
|
+
* \[ origin location, id \]
|
|
1145
|
+
**/
|
|
1146
|
+
InvalidQuerierVersion: GenericPalletEvent<'PolkadotXcm', 'InvalidQuerierVersion', [
|
|
1147
|
+
XcmV3MultilocationMultiLocation,
|
|
1148
|
+
bigint
|
|
1149
|
+
]>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Expected query response has been received but the querier location of the response does
|
|
1152
|
+
* not match the expected. The query remains registered for a later, valid, response to
|
|
1153
|
+
* be received and acted upon.
|
|
1154
|
+
*
|
|
1155
|
+
* \[ origin location, id, expected querier, maybe actual querier \]
|
|
1156
|
+
**/
|
|
1157
|
+
InvalidQuerier: GenericPalletEvent<'PolkadotXcm', 'InvalidQuerier', [
|
|
1158
|
+
XcmV3MultilocationMultiLocation,
|
|
1159
|
+
bigint,
|
|
1160
|
+
XcmV3MultilocationMultiLocation,
|
|
1161
|
+
XcmV3MultilocationMultiLocation | undefined
|
|
1162
|
+
]>;
|
|
1163
|
+
/**
|
|
1164
|
+
* A remote has requested XCM version change notification from us and we have honored it.
|
|
1165
|
+
* A version information message is sent to them and its cost is included.
|
|
1166
|
+
*
|
|
1167
|
+
* \[ destination location, cost \]
|
|
1168
|
+
**/
|
|
1169
|
+
VersionNotifyStarted: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyStarted', [
|
|
1170
|
+
XcmV3MultilocationMultiLocation,
|
|
1171
|
+
XcmV3MultiassetMultiAssets
|
|
1172
|
+
]>;
|
|
1173
|
+
/**
|
|
1174
|
+
* We have requested that a remote chain sends us XCM version change notifications.
|
|
1175
|
+
*
|
|
1176
|
+
* \[ destination location, cost \]
|
|
1177
|
+
**/
|
|
1178
|
+
VersionNotifyRequested: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyRequested', [
|
|
1179
|
+
XcmV3MultilocationMultiLocation,
|
|
1180
|
+
XcmV3MultiassetMultiAssets
|
|
1181
|
+
]>;
|
|
1182
|
+
/**
|
|
1183
|
+
* We have requested that a remote chain stops sending us XCM version change notifications.
|
|
1184
|
+
*
|
|
1185
|
+
* \[ destination location, cost \]
|
|
1186
|
+
**/
|
|
1187
|
+
VersionNotifyUnrequested: GenericPalletEvent<'PolkadotXcm', 'VersionNotifyUnrequested', [
|
|
1188
|
+
XcmV3MultilocationMultiLocation,
|
|
1189
|
+
XcmV3MultiassetMultiAssets
|
|
1190
|
+
]>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
1193
|
+
*
|
|
1194
|
+
* \[ paying location, fees \]
|
|
1195
|
+
**/
|
|
1196
|
+
FeesPaid: GenericPalletEvent<'PolkadotXcm', 'FeesPaid', [
|
|
1197
|
+
XcmV3MultilocationMultiLocation,
|
|
1198
|
+
XcmV3MultiassetMultiAssets
|
|
1199
|
+
]>;
|
|
1200
|
+
/**
|
|
1201
|
+
* Some assets have been claimed from an asset trap
|
|
1202
|
+
*
|
|
1203
|
+
* \[ hash, origin, assets \]
|
|
1204
|
+
**/
|
|
1205
|
+
AssetsClaimed: GenericPalletEvent<'PolkadotXcm', 'AssetsClaimed', [
|
|
1206
|
+
H256,
|
|
1207
|
+
XcmV3MultilocationMultiLocation,
|
|
1208
|
+
XcmVersionedMultiAssets
|
|
1209
|
+
]>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Generic pallet event
|
|
1212
|
+
**/
|
|
1213
|
+
[prop: string]: GenericPalletEvent;
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* Pallet `CumulusXcm`'s events
|
|
1217
|
+
**/
|
|
1218
|
+
cumulusXcm: {
|
|
1219
|
+
/**
|
|
1220
|
+
* Downward message is invalid XCM.
|
|
1221
|
+
* \[ id \]
|
|
1222
|
+
**/
|
|
1223
|
+
InvalidFormat: GenericPalletEvent<'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
|
|
1224
|
+
/**
|
|
1225
|
+
* Downward message is unsupported version of XCM.
|
|
1226
|
+
* \[ id \]
|
|
1227
|
+
**/
|
|
1228
|
+
UnsupportedVersion: GenericPalletEvent<'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Downward message executed with the given outcome.
|
|
1231
|
+
* \[ id, outcome \]
|
|
1232
|
+
**/
|
|
1233
|
+
ExecutedDownward: GenericPalletEvent<'CumulusXcm', 'ExecutedDownward', [FixedBytes<32>, XcmV3TraitsOutcome]>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Generic pallet event
|
|
1236
|
+
**/
|
|
1237
|
+
[prop: string]: GenericPalletEvent;
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* Pallet `DmpQueue`'s events
|
|
1241
|
+
**/
|
|
1242
|
+
dmpQueue: {
|
|
1243
|
+
/**
|
|
1244
|
+
* Downward message is invalid XCM.
|
|
1245
|
+
**/
|
|
1246
|
+
InvalidFormat: GenericPalletEvent<'DmpQueue', 'InvalidFormat', {
|
|
1247
|
+
messageId: FixedBytes<32>;
|
|
1248
|
+
}>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Downward message is unsupported version of XCM.
|
|
1251
|
+
**/
|
|
1252
|
+
UnsupportedVersion: GenericPalletEvent<'DmpQueue', 'UnsupportedVersion', {
|
|
1253
|
+
messageId: FixedBytes<32>;
|
|
1254
|
+
}>;
|
|
1255
|
+
/**
|
|
1256
|
+
* Downward message executed with the given outcome.
|
|
1257
|
+
**/
|
|
1258
|
+
ExecutedDownward: GenericPalletEvent<'DmpQueue', 'ExecutedDownward', {
|
|
1259
|
+
messageId: FixedBytes<32>;
|
|
1260
|
+
outcome: XcmV3TraitsOutcome;
|
|
1261
|
+
}>;
|
|
1262
|
+
/**
|
|
1263
|
+
* The weight limit for handling downward messages was reached.
|
|
1264
|
+
**/
|
|
1265
|
+
WeightExhausted: GenericPalletEvent<'DmpQueue', 'WeightExhausted', {
|
|
1266
|
+
messageId: FixedBytes<32>;
|
|
1267
|
+
remainingWeight: SpWeightsWeightV2Weight;
|
|
1268
|
+
requiredWeight: SpWeightsWeightV2Weight;
|
|
1269
|
+
}>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Downward message is overweight and was placed in the overweight queue.
|
|
1272
|
+
**/
|
|
1273
|
+
OverweightEnqueued: GenericPalletEvent<'DmpQueue', 'OverweightEnqueued', {
|
|
1274
|
+
messageId: FixedBytes<32>;
|
|
1275
|
+
overweightIndex: bigint;
|
|
1276
|
+
requiredWeight: SpWeightsWeightV2Weight;
|
|
1277
|
+
}>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Downward message from the overweight queue was executed.
|
|
1280
|
+
**/
|
|
1281
|
+
OverweightServiced: GenericPalletEvent<'DmpQueue', 'OverweightServiced', {
|
|
1282
|
+
overweightIndex: bigint;
|
|
1283
|
+
weightUsed: SpWeightsWeightV2Weight;
|
|
1284
|
+
}>;
|
|
1285
|
+
/**
|
|
1286
|
+
* The maximum number of downward messages was.
|
|
1287
|
+
**/
|
|
1288
|
+
MaxMessagesExhausted: GenericPalletEvent<'DmpQueue', 'MaxMessagesExhausted', {
|
|
1289
|
+
messageId: FixedBytes<32>;
|
|
1290
|
+
}>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Generic pallet event
|
|
1293
|
+
**/
|
|
1294
|
+
[prop: string]: GenericPalletEvent;
|
|
1295
|
+
};
|
|
1296
|
+
/**
|
|
1297
|
+
* Pallet `XcAssetConfig`'s events
|
|
1298
|
+
**/
|
|
1299
|
+
xcAssetConfig: {
|
|
1300
|
+
/**
|
|
1301
|
+
* Registed mapping between asset type and asset Id.
|
|
1302
|
+
**/
|
|
1303
|
+
AssetRegistered: GenericPalletEvent<'XcAssetConfig', 'AssetRegistered', {
|
|
1304
|
+
assetLocation: XcmVersionedMultiLocation;
|
|
1305
|
+
assetId: bigint;
|
|
1306
|
+
}>;
|
|
1307
|
+
/**
|
|
1308
|
+
* Changed the amount of units we are charging per execution second for an asset
|
|
1309
|
+
**/
|
|
1310
|
+
UnitsPerSecondChanged: GenericPalletEvent<'XcAssetConfig', 'UnitsPerSecondChanged', {
|
|
1311
|
+
assetLocation: XcmVersionedMultiLocation;
|
|
1312
|
+
unitsPerSecond: bigint;
|
|
1313
|
+
}>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Changed the asset type mapping for a given asset id
|
|
1316
|
+
**/
|
|
1317
|
+
AssetLocationChanged: GenericPalletEvent<'XcAssetConfig', 'AssetLocationChanged', {
|
|
1318
|
+
previousAssetLocation: XcmVersionedMultiLocation;
|
|
1319
|
+
assetId: bigint;
|
|
1320
|
+
newAssetLocation: XcmVersionedMultiLocation;
|
|
1321
|
+
}>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Supported asset type for fee payment removed.
|
|
1324
|
+
**/
|
|
1325
|
+
SupportedAssetRemoved: GenericPalletEvent<'XcAssetConfig', 'SupportedAssetRemoved', {
|
|
1326
|
+
assetLocation: XcmVersionedMultiLocation;
|
|
1327
|
+
}>;
|
|
1328
|
+
/**
|
|
1329
|
+
* Removed all information related to an asset Id
|
|
1330
|
+
**/
|
|
1331
|
+
AssetRemoved: GenericPalletEvent<'XcAssetConfig', 'AssetRemoved', {
|
|
1332
|
+
assetLocation: XcmVersionedMultiLocation;
|
|
1333
|
+
assetId: bigint;
|
|
1334
|
+
}>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Generic pallet event
|
|
1337
|
+
**/
|
|
1338
|
+
[prop: string]: GenericPalletEvent;
|
|
1339
|
+
};
|
|
1340
|
+
/**
|
|
1341
|
+
* Pallet `XTokens`'s events
|
|
1342
|
+
**/
|
|
1343
|
+
xTokens: {
|
|
1344
|
+
/**
|
|
1345
|
+
* Transferred `MultiAsset` with fee.
|
|
1346
|
+
**/
|
|
1347
|
+
TransferredMultiAssets: GenericPalletEvent<'XTokens', 'TransferredMultiAssets', {
|
|
1348
|
+
sender: AccountId32;
|
|
1349
|
+
assets: XcmV3MultiassetMultiAssets;
|
|
1350
|
+
fee: XcmV3MultiassetMultiAsset;
|
|
1351
|
+
dest: XcmV3MultilocationMultiLocation;
|
|
1352
|
+
}>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Generic pallet event
|
|
1355
|
+
**/
|
|
1356
|
+
[prop: string]: GenericPalletEvent;
|
|
1357
|
+
};
|
|
1358
|
+
/**
|
|
1359
|
+
* Pallet `EVM`'s events
|
|
1360
|
+
**/
|
|
1361
|
+
evm: {
|
|
1362
|
+
/**
|
|
1363
|
+
* Ethereum events from contracts.
|
|
1364
|
+
**/
|
|
1365
|
+
Log: GenericPalletEvent<'EVM', 'Log', {
|
|
1366
|
+
log: EthereumLog;
|
|
1367
|
+
}>;
|
|
1368
|
+
/**
|
|
1369
|
+
* A contract has been created at given address.
|
|
1370
|
+
**/
|
|
1371
|
+
Created: GenericPalletEvent<'EVM', 'Created', {
|
|
1372
|
+
address: H160;
|
|
1373
|
+
}>;
|
|
1374
|
+
/**
|
|
1375
|
+
* A contract was attempted to be created, but the execution failed.
|
|
1376
|
+
**/
|
|
1377
|
+
CreatedFailed: GenericPalletEvent<'EVM', 'CreatedFailed', {
|
|
1378
|
+
address: H160;
|
|
1379
|
+
}>;
|
|
1380
|
+
/**
|
|
1381
|
+
* A contract has been executed successfully with states applied.
|
|
1382
|
+
**/
|
|
1383
|
+
Executed: GenericPalletEvent<'EVM', 'Executed', {
|
|
1384
|
+
address: H160;
|
|
1385
|
+
}>;
|
|
1386
|
+
/**
|
|
1387
|
+
* A contract has been executed with errors. States are reverted with only gas fees applied.
|
|
1388
|
+
**/
|
|
1389
|
+
ExecutedFailed: GenericPalletEvent<'EVM', 'ExecutedFailed', {
|
|
1390
|
+
address: H160;
|
|
1391
|
+
}>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Generic pallet event
|
|
1394
|
+
**/
|
|
1395
|
+
[prop: string]: GenericPalletEvent;
|
|
1396
|
+
};
|
|
1397
|
+
/**
|
|
1398
|
+
* Pallet `Ethereum`'s events
|
|
1399
|
+
**/
|
|
1400
|
+
ethereum: {
|
|
1401
|
+
/**
|
|
1402
|
+
* An ethereum transaction was successfully executed.
|
|
1403
|
+
**/
|
|
1404
|
+
Executed: GenericPalletEvent<'Ethereum', 'Executed', {
|
|
1405
|
+
from: H160;
|
|
1406
|
+
to: H160;
|
|
1407
|
+
transactionHash: H256;
|
|
1408
|
+
exitReason: EvmCoreErrorExitReason;
|
|
1409
|
+
extraData: Bytes;
|
|
1410
|
+
}>;
|
|
1411
|
+
/**
|
|
1412
|
+
* Generic pallet event
|
|
1413
|
+
**/
|
|
1414
|
+
[prop: string]: GenericPalletEvent;
|
|
1415
|
+
};
|
|
1416
|
+
/**
|
|
1417
|
+
* Pallet `DynamicEvmBaseFee`'s events
|
|
1418
|
+
**/
|
|
1419
|
+
dynamicEvmBaseFee: {
|
|
1420
|
+
/**
|
|
1421
|
+
* New `base fee per gas` value has been force-set.
|
|
1422
|
+
**/
|
|
1423
|
+
NewBaseFeePerGas: GenericPalletEvent<'DynamicEvmBaseFee', 'NewBaseFeePerGas', {
|
|
1424
|
+
fee: U256;
|
|
1425
|
+
}>;
|
|
1426
|
+
/**
|
|
1427
|
+
* Generic pallet event
|
|
1428
|
+
**/
|
|
1429
|
+
[prop: string]: GenericPalletEvent;
|
|
1430
|
+
};
|
|
1431
|
+
/**
|
|
1432
|
+
* Pallet `Contracts`'s events
|
|
1433
|
+
**/
|
|
1434
|
+
contracts: {
|
|
1435
|
+
/**
|
|
1436
|
+
* Contract deployed by address at the specified address.
|
|
1437
|
+
**/
|
|
1438
|
+
Instantiated: GenericPalletEvent<'Contracts', 'Instantiated', {
|
|
1439
|
+
deployer: AccountId32;
|
|
1440
|
+
contract: AccountId32;
|
|
1441
|
+
}>;
|
|
1442
|
+
/**
|
|
1443
|
+
* Contract has been removed.
|
|
1444
|
+
*
|
|
1445
|
+
* # Note
|
|
1446
|
+
*
|
|
1447
|
+
* The only way for a contract to be removed and emitting this event is by calling
|
|
1448
|
+
* `seal_terminate`.
|
|
1449
|
+
**/
|
|
1450
|
+
Terminated: GenericPalletEvent<'Contracts', 'Terminated', {
|
|
1451
|
+
/**
|
|
1452
|
+
* The contract that was terminated.
|
|
1453
|
+
**/
|
|
1454
|
+
contract: AccountId32;
|
|
1455
|
+
/**
|
|
1456
|
+
* The account that received the contracts remaining balance
|
|
1457
|
+
**/
|
|
1458
|
+
beneficiary: AccountId32;
|
|
1459
|
+
}>;
|
|
1460
|
+
/**
|
|
1461
|
+
* Code with the specified hash has been stored.
|
|
1462
|
+
**/
|
|
1463
|
+
CodeStored: GenericPalletEvent<'Contracts', 'CodeStored', {
|
|
1464
|
+
codeHash: H256;
|
|
1465
|
+
}>;
|
|
1466
|
+
/**
|
|
1467
|
+
* A custom event emitted by the contract.
|
|
1468
|
+
**/
|
|
1469
|
+
ContractEmitted: GenericPalletEvent<'Contracts', 'ContractEmitted', {
|
|
1470
|
+
/**
|
|
1471
|
+
* The contract that emitted the event.
|
|
1472
|
+
**/
|
|
1473
|
+
contract: AccountId32;
|
|
1474
|
+
/**
|
|
1475
|
+
* Data supplied by the contract. Metadata generated during contract compilation
|
|
1476
|
+
* is needed to decode it.
|
|
1477
|
+
**/
|
|
1478
|
+
data: Bytes;
|
|
1479
|
+
}>;
|
|
1480
|
+
/**
|
|
1481
|
+
* A code with the specified hash was removed.
|
|
1482
|
+
**/
|
|
1483
|
+
CodeRemoved: GenericPalletEvent<'Contracts', 'CodeRemoved', {
|
|
1484
|
+
codeHash: H256;
|
|
1485
|
+
}>;
|
|
1486
|
+
/**
|
|
1487
|
+
* A contract's code was updated.
|
|
1488
|
+
**/
|
|
1489
|
+
ContractCodeUpdated: GenericPalletEvent<'Contracts', 'ContractCodeUpdated', {
|
|
1490
|
+
/**
|
|
1491
|
+
* The contract that has been updated.
|
|
1492
|
+
**/
|
|
1493
|
+
contract: AccountId32;
|
|
1494
|
+
/**
|
|
1495
|
+
* New code hash that was set for the contract.
|
|
1496
|
+
**/
|
|
1497
|
+
newCodeHash: H256;
|
|
1498
|
+
/**
|
|
1499
|
+
* Previous code hash of the contract.
|
|
1500
|
+
**/
|
|
1501
|
+
oldCodeHash: H256;
|
|
1502
|
+
}>;
|
|
1503
|
+
/**
|
|
1504
|
+
* A contract was called either by a plain account or another contract.
|
|
1505
|
+
*
|
|
1506
|
+
* # Note
|
|
1507
|
+
*
|
|
1508
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
1509
|
+
* calls. This is because on failure all storage changes including events are
|
|
1510
|
+
* rolled back.
|
|
1511
|
+
**/
|
|
1512
|
+
Called: GenericPalletEvent<'Contracts', 'Called', {
|
|
1513
|
+
/**
|
|
1514
|
+
* The caller of the `contract`.
|
|
1515
|
+
**/
|
|
1516
|
+
caller: PalletContractsOrigin;
|
|
1517
|
+
/**
|
|
1518
|
+
* The contract that was called.
|
|
1519
|
+
**/
|
|
1520
|
+
contract: AccountId32;
|
|
1521
|
+
}>;
|
|
1522
|
+
/**
|
|
1523
|
+
* A contract delegate called a code hash.
|
|
1524
|
+
*
|
|
1525
|
+
* # Note
|
|
1526
|
+
*
|
|
1527
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
1528
|
+
* calls. This is because on failure all storage changes including events are
|
|
1529
|
+
* rolled back.
|
|
1530
|
+
**/
|
|
1531
|
+
DelegateCalled: GenericPalletEvent<'Contracts', 'DelegateCalled', {
|
|
1532
|
+
/**
|
|
1533
|
+
* The contract that performed the delegate call and hence in whose context
|
|
1534
|
+
* the `code_hash` is executed.
|
|
1535
|
+
**/
|
|
1536
|
+
contract: AccountId32;
|
|
1537
|
+
/**
|
|
1538
|
+
* The code hash that was delegate called.
|
|
1539
|
+
**/
|
|
1540
|
+
codeHash: H256;
|
|
1541
|
+
}>;
|
|
1542
|
+
/**
|
|
1543
|
+
* Generic pallet event
|
|
1544
|
+
**/
|
|
1545
|
+
[prop: string]: GenericPalletEvent;
|
|
1546
|
+
};
|
|
1547
|
+
/**
|
|
1548
|
+
* Pallet `Sudo`'s events
|
|
1549
|
+
**/
|
|
1550
|
+
sudo: {
|
|
1551
|
+
/**
|
|
1552
|
+
* A sudo just took place. \[result\]
|
|
1553
|
+
**/
|
|
1554
|
+
Sudid: GenericPalletEvent<'Sudo', 'Sudid', {
|
|
1555
|
+
sudoResult: Result<[], DispatchError>;
|
|
1556
|
+
}>;
|
|
1557
|
+
/**
|
|
1558
|
+
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
|
|
1559
|
+
**/
|
|
1560
|
+
KeyChanged: GenericPalletEvent<'Sudo', 'KeyChanged', {
|
|
1561
|
+
oldSudoer?: AccountId32 | undefined;
|
|
1562
|
+
}>;
|
|
1563
|
+
/**
|
|
1564
|
+
* A sudo just took place. \[result\]
|
|
1565
|
+
**/
|
|
1566
|
+
SudoAsDone: GenericPalletEvent<'Sudo', 'SudoAsDone', {
|
|
1567
|
+
sudoResult: Result<[], DispatchError>;
|
|
1568
|
+
}>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Generic pallet event
|
|
1571
|
+
**/
|
|
1572
|
+
[prop: string]: GenericPalletEvent;
|
|
1573
|
+
};
|
|
1574
|
+
/**
|
|
1575
|
+
* Pallet `StaticPriceProvider`'s events
|
|
1576
|
+
**/
|
|
1577
|
+
staticPriceProvider: {
|
|
1578
|
+
/**
|
|
1579
|
+
* New static native currency price has been set.
|
|
1580
|
+
**/
|
|
1581
|
+
PriceSet: GenericPalletEvent<'StaticPriceProvider', 'PriceSet', {
|
|
1582
|
+
price: FixedU64;
|
|
1583
|
+
}>;
|
|
1584
|
+
/**
|
|
1585
|
+
* Generic pallet event
|
|
1586
|
+
**/
|
|
1587
|
+
[prop: string]: GenericPalletEvent;
|
|
1588
|
+
};
|
|
1589
|
+
/**
|
|
1590
|
+
* Pallet `DappStakingMigration`'s events
|
|
1591
|
+
**/
|
|
1592
|
+
dappStakingMigration: {
|
|
1593
|
+
/**
|
|
1594
|
+
* Number of entries migrated from v2 over to v3
|
|
1595
|
+
**/
|
|
1596
|
+
EntriesMigrated: GenericPalletEvent<'DappStakingMigration', 'EntriesMigrated', number>;
|
|
1597
|
+
/**
|
|
1598
|
+
* Number of entries deleted from v2
|
|
1599
|
+
**/
|
|
1600
|
+
EntriesDeleted: GenericPalletEvent<'DappStakingMigration', 'EntriesDeleted', number>;
|
|
1601
|
+
/**
|
|
1602
|
+
* Generic pallet event
|
|
1603
|
+
**/
|
|
1604
|
+
[prop: string]: GenericPalletEvent;
|
|
1605
|
+
};
|
|
1606
|
+
/**
|
|
1607
|
+
* Pallet `DappsStaking`'s events
|
|
1608
|
+
**/
|
|
1609
|
+
dappsStaking: {
|
|
1610
|
+
/**
|
|
1611
|
+
* Account has bonded and staked funds on a smart contract.
|
|
1612
|
+
**/
|
|
1613
|
+
BondAndStake: GenericPalletEvent<'DappsStaking', 'BondAndStake', [
|
|
1614
|
+
AccountId32,
|
|
1615
|
+
AstarPrimitivesDappStakingSmartContract,
|
|
1616
|
+
bigint
|
|
1617
|
+
]>;
|
|
1618
|
+
/**
|
|
1619
|
+
* Account has unbonded & unstaked some funds. Unbonding process begins.
|
|
1620
|
+
**/
|
|
1621
|
+
UnbondAndUnstake: GenericPalletEvent<'DappsStaking', 'UnbondAndUnstake', [
|
|
1622
|
+
AccountId32,
|
|
1623
|
+
AstarPrimitivesDappStakingSmartContract,
|
|
1624
|
+
bigint
|
|
1625
|
+
]>;
|
|
1626
|
+
/**
|
|
1627
|
+
* Account has fully withdrawn all staked amount from an unregistered contract.
|
|
1628
|
+
**/
|
|
1629
|
+
WithdrawFromUnregistered: GenericPalletEvent<'DappsStaking', 'WithdrawFromUnregistered', [
|
|
1630
|
+
AccountId32,
|
|
1631
|
+
AstarPrimitivesDappStakingSmartContract,
|
|
1632
|
+
bigint
|
|
1633
|
+
]>;
|
|
1634
|
+
/**
|
|
1635
|
+
* Account has withdrawn unbonded funds.
|
|
1636
|
+
**/
|
|
1637
|
+
Withdrawn: GenericPalletEvent<'DappsStaking', 'Withdrawn', [AccountId32, bigint]>;
|
|
1638
|
+
/**
|
|
1639
|
+
* New contract added for staking.
|
|
1640
|
+
**/
|
|
1641
|
+
NewContract: GenericPalletEvent<'DappsStaking', 'NewContract', [
|
|
1642
|
+
AccountId32,
|
|
1643
|
+
AstarPrimitivesDappStakingSmartContract
|
|
1644
|
+
]>;
|
|
1645
|
+
/**
|
|
1646
|
+
* Contract removed from dapps staking.
|
|
1647
|
+
**/
|
|
1648
|
+
ContractRemoved: GenericPalletEvent<'DappsStaking', 'ContractRemoved', [
|
|
1649
|
+
AccountId32,
|
|
1650
|
+
AstarPrimitivesDappStakingSmartContract
|
|
1651
|
+
]>;
|
|
1652
|
+
/**
|
|
1653
|
+
* New dapps staking era. Distribute era rewards to contracts.
|
|
1654
|
+
**/
|
|
1655
|
+
NewDappStakingEra: GenericPalletEvent<'DappsStaking', 'NewDappStakingEra', number>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Reward paid to staker or developer.
|
|
1658
|
+
**/
|
|
1659
|
+
Reward: GenericPalletEvent<'DappsStaking', 'Reward', [
|
|
1660
|
+
AccountId32,
|
|
1661
|
+
AstarPrimitivesDappStakingSmartContract,
|
|
1662
|
+
number,
|
|
1663
|
+
bigint
|
|
1664
|
+
]>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Maintenance mode has been enabled or disabled
|
|
1667
|
+
**/
|
|
1668
|
+
MaintenanceMode: GenericPalletEvent<'DappsStaking', 'MaintenanceMode', boolean>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Reward handling modified
|
|
1671
|
+
**/
|
|
1672
|
+
RewardDestination: GenericPalletEvent<'DappsStaking', 'RewardDestination', [
|
|
1673
|
+
AccountId32,
|
|
1674
|
+
PalletDappsStakingRewardDestination
|
|
1675
|
+
]>;
|
|
1676
|
+
/**
|
|
1677
|
+
* Nomination part has been transfered from one contract to another.
|
|
1678
|
+
*
|
|
1679
|
+
* \(staker account, origin smart contract, amount, target smart contract\)
|
|
1680
|
+
**/
|
|
1681
|
+
NominationTransfer: GenericPalletEvent<'DappsStaking', 'NominationTransfer', [
|
|
1682
|
+
AccountId32,
|
|
1683
|
+
AstarPrimitivesDappStakingSmartContract,
|
|
1684
|
+
bigint,
|
|
1685
|
+
AstarPrimitivesDappStakingSmartContract
|
|
1686
|
+
]>;
|
|
1687
|
+
/**
|
|
1688
|
+
* Stale, unclaimed reward from an unregistered contract has been burned.
|
|
1689
|
+
*
|
|
1690
|
+
* \(developer account, smart contract, era, amount burned\)
|
|
1691
|
+
**/
|
|
1692
|
+
StaleRewardBurned: GenericPalletEvent<'DappsStaking', 'StaleRewardBurned', [
|
|
1693
|
+
AccountId32,
|
|
1694
|
+
AstarPrimitivesDappStakingSmartContract,
|
|
1695
|
+
number,
|
|
1696
|
+
bigint
|
|
1697
|
+
]>;
|
|
1698
|
+
/**
|
|
1699
|
+
* Pallet is being decommissioned.
|
|
1700
|
+
**/
|
|
1701
|
+
Decommission: GenericPalletEvent<'DappsStaking', 'Decommission', null>;
|
|
1702
|
+
/**
|
|
1703
|
+
* Generic pallet event
|
|
1704
|
+
**/
|
|
1705
|
+
[prop: string]: GenericPalletEvent;
|
|
1706
|
+
};
|
|
1707
|
+
}
|