@webb-tools/tangle-substrate-types 0.5.8 → 0.5.12

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.
Files changed (84) hide show
  1. package/README.md +11 -2
  2. package/{build/interfaces → interfaces}/augment-api-consts.d.ts +119 -24
  3. package/{ts-types/src/interfaces → interfaces}/augment-api-errors.d.ts +199 -342
  4. package/{build/interfaces → interfaces}/augment-api-events.d.ts +1365 -378
  5. package/{build/interfaces → interfaces}/augment-api-query.d.ts +718 -261
  6. package/{ts-types/src/interfaces → interfaces}/augment-api-tx.d.ts +1684 -442
  7. package/{ts-types/src/interfaces → interfaces}/lookup.d.ts +1425 -1093
  8. package/{build/interfaces → interfaces}/lookup.js +1443 -1111
  9. package/{build/interfaces → interfaces}/registry.d.ts +62 -75
  10. package/{ts-types/src/interfaces → interfaces}/types-lookup.d.ts +1233 -1128
  11. package/metadata/static-latest.d.ts +2 -0
  12. package/metadata/static-latest.js +7 -0
  13. package/package.json +1 -72
  14. package/.envrc +0 -5
  15. package/babel-config-cjs.cjs +0 -10
  16. package/build/interfaces/augment-api-errors.d.ts +0 -2144
  17. package/build/interfaces/augment-api-tx.d.ts +0 -2876
  18. package/build/interfaces/lookup.d.ts +0 -5908
  19. package/build/interfaces/types-lookup.d.ts +0 -6052
  20. package/build/metadata/static-latest.d.ts +0 -2
  21. package/build/metadata/static-latest.js +0 -7
  22. package/build/metadata/static-type.d.ts +0 -2
  23. package/build/metadata/static-type.js +0 -1
  24. package/build/package.json +0 -1
  25. package/playground.ts +0 -86
  26. package/polkadot-dev-configs/babel-config-cjs.cjs +0 -12
  27. package/polkadot-dev-configs/babel-general.cjs +0 -15
  28. package/polkadot-dev-configs/babel-plugins.cjs +0 -21
  29. package/polkadot-dev-configs/babel-presets.cjs +0 -33
  30. package/polkadot-dev-configs/babel-resolver.cjs +0 -14
  31. package/scripts/build.js +0 -134
  32. package/scripts/publish-types.js +0 -95
  33. package/scripts/updateMetadata.ts +0 -44
  34. package/src/examples/job_and_result_submission.ts +0 -203
  35. package/src/index.ts +0 -7
  36. package/src/interfaces/augment-api-consts.ts +0 -958
  37. package/src/interfaces/augment-api-errors.ts +0 -2152
  38. package/src/interfaces/augment-api-events.ts +0 -1465
  39. package/src/interfaces/augment-api-query.ts +0 -1629
  40. package/src/interfaces/augment-api-rpc.ts +0 -617
  41. package/src/interfaces/augment-api-runtime.ts +0 -308
  42. package/src/interfaces/augment-api-tx.ts +0 -1550
  43. package/src/interfaces/augment-api.ts +0 -10
  44. package/src/interfaces/augment-types.ts +0 -1256
  45. package/src/interfaces/lookup.ts +0 -5912
  46. package/src/interfaces/registry.ts +0 -433
  47. package/src/interfaces/types-lookup.ts +0 -6455
  48. package/src/metadata/metadata.json +0 -5
  49. package/src/metadata/static-latest.ts +0 -1
  50. package/src/metadata/static-type.ts +0 -3
  51. package/ts-types/playground.d.ts +0 -1
  52. package/ts-types/src/examples/job_and_result_submission.d.ts +0 -1
  53. package/ts-types/src/index.d.ts +0 -3
  54. package/ts-types/src/interfaces/augment-api-consts.d.ts +0 -950
  55. package/ts-types/src/interfaces/augment-api-events.d.ts +0 -2281
  56. package/ts-types/src/interfaces/augment-api-query.d.ts +0 -1660
  57. package/ts-types/src/interfaces/augment-api-rpc.d.ts +0 -679
  58. package/ts-types/src/interfaces/augment-api-runtime.d.ts +0 -363
  59. package/ts-types/src/interfaces/augment-api.d.ts +0 -7
  60. package/ts-types/src/interfaces/augment-types.d.ts +0 -1249
  61. package/ts-types/src/interfaces/registry.d.ts +0 -426
  62. package/ts-types/src/metadata/static-latest.d.ts +0 -2
  63. package/ts-types/src/metadata/static-type.d.ts +0 -2
  64. package/ts-types/tsconfig.tsbuildinfo +0 -1
  65. package/tsconfig.json +0 -36
  66. /package/{build/examples → examples}/job_and_result_submission.d.ts +0 -0
  67. /package/{build/examples → examples}/job_and_result_submission.js +0 -0
  68. /package/{build/index.d.ts → index.d.ts} +0 -0
  69. /package/{build/index.js → index.js} +0 -0
  70. /package/{build/interfaces → interfaces}/augment-api-consts.js +0 -0
  71. /package/{build/interfaces → interfaces}/augment-api-errors.js +0 -0
  72. /package/{build/interfaces → interfaces}/augment-api-events.js +0 -0
  73. /package/{build/interfaces → interfaces}/augment-api-query.js +0 -0
  74. /package/{build/interfaces → interfaces}/augment-api-rpc.d.ts +0 -0
  75. /package/{build/interfaces → interfaces}/augment-api-rpc.js +0 -0
  76. /package/{build/interfaces → interfaces}/augment-api-runtime.d.ts +0 -0
  77. /package/{build/interfaces → interfaces}/augment-api-runtime.js +0 -0
  78. /package/{build/interfaces → interfaces}/augment-api-tx.js +0 -0
  79. /package/{build/interfaces → interfaces}/augment-api.d.ts +0 -0
  80. /package/{build/interfaces → interfaces}/augment-api.js +0 -0
  81. /package/{build/interfaces → interfaces}/augment-types.d.ts +0 -0
  82. /package/{build/interfaces → interfaces}/augment-types.js +0 -0
  83. /package/{build/interfaces → interfaces}/registry.js +0 -0
  84. /package/{build/interfaces → interfaces}/types-lookup.js +0 -0
@@ -1,1465 +0,0 @@
1
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/events';
7
-
8
- import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
9
- import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10
- import type { ITuple } from '@polkadot/types-codec/types';
11
- import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
12
- import { FrameSupportTokensMiscBalanceStatus, PalletAirdropClaimsUtilsMultiAddress, SpRuntimeDispatchError, PalletDemocracyMetadataOwner, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, EvmCoreErrorExitReason, EthereumLog, SpConsensusGrandpaAppPublic, PalletImOnlineSr25519AppSr25519Public, SpStakingExposure, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsJobInfo, TanglePrimitivesJobsJobSubmission, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, TangleTestnetRuntimeProxyType, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, StagingXcmV4AssetAssetId, SygmaTraitsTransferType, SygmaFeeHandlerRouterFeeHandlerType, FrameSupportDispatchDispatchInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
13
-
14
- export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
15
-
16
- declare module '@polkadot/api-base/types/events' {
17
- interface AugmentedEvents<ApiType extends ApiTypes> {
18
- assets: {
19
- /**
20
- * Accounts were destroyed for given asset.
21
- **/
22
- AccountsDestroyed: AugmentedEvent<ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u128, accountsDestroyed: u32, accountsRemaining: u32 }>;
23
- /**
24
- * An approval for account `delegate` was cancelled by `owner`.
25
- **/
26
- ApprovalCancelled: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, delegate: AccountId32], { assetId: u128, owner: AccountId32, delegate: AccountId32 }>;
27
- /**
28
- * Approvals were destroyed for given asset.
29
- **/
30
- ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32 }>;
31
- /**
32
- * (Additional) funds have been approved for transfer to a destination account.
33
- **/
34
- ApprovedTransfer: AugmentedEvent<ApiType, [assetId: u128, source: AccountId32, delegate: AccountId32, amount: u128], { assetId: u128, source: AccountId32, delegate: AccountId32, amount: u128 }>;
35
- /**
36
- * Some asset `asset_id` was frozen.
37
- **/
38
- AssetFrozen: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
39
- /**
40
- * The min_balance of an asset has been updated by the asset owner.
41
- **/
42
- AssetMinBalanceChanged: AugmentedEvent<ApiType, [assetId: u128, newMinBalance: u128], { assetId: u128, newMinBalance: u128 }>;
43
- /**
44
- * An asset has had its attributes changed by the `Force` origin.
45
- **/
46
- AssetStatusChanged: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
47
- /**
48
- * Some asset `asset_id` was thawed.
49
- **/
50
- AssetThawed: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
51
- /**
52
- * Some account `who` was blocked.
53
- **/
54
- Blocked: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], { assetId: u128, who: AccountId32 }>;
55
- /**
56
- * Some assets were destroyed.
57
- **/
58
- Burned: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, balance: u128], { assetId: u128, owner: AccountId32, balance: u128 }>;
59
- /**
60
- * Some asset class was created.
61
- **/
62
- Created: AugmentedEvent<ApiType, [assetId: u128, creator: AccountId32, owner: AccountId32], { assetId: u128, creator: AccountId32, owner: AccountId32 }>;
63
- /**
64
- * An asset class was destroyed.
65
- **/
66
- Destroyed: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
67
- /**
68
- * An asset class is in the process of being destroyed.
69
- **/
70
- DestructionStarted: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
71
- /**
72
- * Some asset class was force-created.
73
- **/
74
- ForceCreated: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32], { assetId: u128, owner: AccountId32 }>;
75
- /**
76
- * Some account `who` was frozen.
77
- **/
78
- Frozen: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], { assetId: u128, who: AccountId32 }>;
79
- /**
80
- * Some assets were issued.
81
- **/
82
- Issued: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, amount: u128], { assetId: u128, owner: AccountId32, amount: u128 }>;
83
- /**
84
- * Metadata has been cleared for an asset.
85
- **/
86
- MetadataCleared: AugmentedEvent<ApiType, [assetId: u128], { assetId: u128 }>;
87
- /**
88
- * New metadata has been set for an asset.
89
- **/
90
- MetadataSet: AugmentedEvent<ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u128, name: Bytes, symbol: Bytes, decimals: u8, isFrozen: bool }>;
91
- /**
92
- * The owner changed.
93
- **/
94
- OwnerChanged: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32], { assetId: u128, owner: AccountId32 }>;
95
- /**
96
- * The management team changed.
97
- **/
98
- TeamChanged: AugmentedEvent<ApiType, [assetId: u128, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], { assetId: u128, issuer: AccountId32, admin: AccountId32, freezer: AccountId32 }>;
99
- /**
100
- * Some account `who` was thawed.
101
- **/
102
- Thawed: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], { assetId: u128, who: AccountId32 }>;
103
- /**
104
- * Some account `who` was created with a deposit from `depositor`.
105
- **/
106
- Touched: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32, depositor: AccountId32], { assetId: u128, who: AccountId32, depositor: AccountId32 }>;
107
- /**
108
- * Some assets were transferred.
109
- **/
110
- Transferred: AugmentedEvent<ApiType, [assetId: u128, from: AccountId32, to: AccountId32, amount: u128], { assetId: u128, from: AccountId32, to: AccountId32, amount: u128 }>;
111
- /**
112
- * An `amount` was transferred in its entirety from `owner` to `destination` by
113
- * the approved `delegate`.
114
- **/
115
- TransferredApproved: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], { assetId: u128, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128 }>;
116
- /**
117
- * Generic event
118
- **/
119
- [key: string]: AugmentedEvent<ApiType>;
120
- };
121
- bagsList: {
122
- /**
123
- * Moved an account from one bag to another.
124
- **/
125
- Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], { who: AccountId32, from: u64, to: u64 }>;
126
- /**
127
- * Updated the score of some account to the given amount.
128
- **/
129
- ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], { who: AccountId32, newScore: u64 }>;
130
- /**
131
- * Generic event
132
- **/
133
- [key: string]: AugmentedEvent<ApiType>;
134
- };
135
- balances: {
136
- /**
137
- * A balance was set by root.
138
- **/
139
- BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], { who: AccountId32, free: u128 }>;
140
- /**
141
- * Some amount was burned from an account.
142
- **/
143
- Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
144
- /**
145
- * Some amount was deposited (e.g. for transaction fees).
146
- **/
147
- Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
148
- /**
149
- * An account was removed whose balance was non-zero but below ExistentialDeposit,
150
- * resulting in an outright loss.
151
- **/
152
- DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
153
- /**
154
- * An account was created with some free balance.
155
- **/
156
- Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
157
- /**
158
- * Some balance was frozen.
159
- **/
160
- Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
161
- /**
162
- * Total issuance was increased by `amount`, creating a credit to be balanced.
163
- **/
164
- Issued: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
165
- /**
166
- * Some balance was locked.
167
- **/
168
- Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
169
- /**
170
- * Some amount was minted into an account.
171
- **/
172
- Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
173
- /**
174
- * Total issuance was decreased by `amount`, creating a debt to be balanced.
175
- **/
176
- Rescinded: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
177
- /**
178
- * Some balance was reserved (moved from free to reserved).
179
- **/
180
- Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
181
- /**
182
- * Some balance was moved from the reserve of the first account to the second account.
183
- * Final argument indicates the destination balance type.
184
- **/
185
- ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus }>;
186
- /**
187
- * Some amount was restored into an account.
188
- **/
189
- Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
190
- /**
191
- * Some amount was removed from the account (e.g. for misbehavior).
192
- **/
193
- Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
194
- /**
195
- * Some amount was suspended from an account (it can be restored later).
196
- **/
197
- Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
198
- /**
199
- * Some balance was thawed.
200
- **/
201
- Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
202
- /**
203
- * The `TotalIssuance` was forcefully changed.
204
- **/
205
- TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], { old: u128, new_: u128 }>;
206
- /**
207
- * Transfer succeeded.
208
- **/
209
- Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
210
- /**
211
- * Some balance was unlocked.
212
- **/
213
- Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
214
- /**
215
- * Some balance was unreserved (moved from reserved to free).
216
- **/
217
- Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
218
- /**
219
- * An account was upgraded.
220
- **/
221
- Upgraded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
222
- /**
223
- * Some amount was withdrawn from the account (e.g. for transaction fees).
224
- **/
225
- Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
226
- /**
227
- * Generic event
228
- **/
229
- [key: string]: AugmentedEvent<ApiType>;
230
- };
231
- baseFee: {
232
- BaseFeeOverflow: AugmentedEvent<ApiType, []>;
233
- NewBaseFeePerGas: AugmentedEvent<ApiType, [fee: U256], { fee: U256 }>;
234
- NewElasticity: AugmentedEvent<ApiType, [elasticity: Permill], { elasticity: Permill }>;
235
- /**
236
- * Generic event
237
- **/
238
- [key: string]: AugmentedEvent<ApiType>;
239
- };
240
- bounties: {
241
- /**
242
- * A bounty is approved.
243
- **/
244
- BountyApproved: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
245
- /**
246
- * A bounty is awarded to a beneficiary.
247
- **/
248
- BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: AccountId32], { index: u32, beneficiary: AccountId32 }>;
249
- /**
250
- * A bounty proposal is funded and became active.
251
- **/
252
- BountyBecameActive: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
253
- /**
254
- * A bounty is cancelled.
255
- **/
256
- BountyCanceled: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
257
- /**
258
- * A bounty is claimed by beneficiary.
259
- **/
260
- BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: AccountId32], { index: u32, payout: u128, beneficiary: AccountId32 }>;
261
- /**
262
- * A bounty expiry is extended.
263
- **/
264
- BountyExtended: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
265
- /**
266
- * New bounty proposal.
267
- **/
268
- BountyProposed: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
269
- /**
270
- * A bounty proposal was rejected; funds were slashed.
271
- **/
272
- BountyRejected: AugmentedEvent<ApiType, [index: u32, bond: u128], { index: u32, bond: u128 }>;
273
- /**
274
- * A bounty curator is accepted.
275
- **/
276
- CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], { bountyId: u32, curator: AccountId32 }>;
277
- /**
278
- * A bounty curator is proposed.
279
- **/
280
- CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], { bountyId: u32, curator: AccountId32 }>;
281
- /**
282
- * A bounty curator is unassigned.
283
- **/
284
- CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], { bountyId: u32 }>;
285
- /**
286
- * Generic event
287
- **/
288
- [key: string]: AugmentedEvent<ApiType>;
289
- };
290
- childBounties: {
291
- /**
292
- * A child-bounty is added.
293
- **/
294
- Added: AugmentedEvent<ApiType, [index: u32, childIndex: u32], { index: u32, childIndex: u32 }>;
295
- /**
296
- * A child-bounty is awarded to a beneficiary.
297
- **/
298
- Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: AccountId32], { index: u32, childIndex: u32, beneficiary: AccountId32 }>;
299
- /**
300
- * A child-bounty is cancelled.
301
- **/
302
- Canceled: AugmentedEvent<ApiType, [index: u32, childIndex: u32], { index: u32, childIndex: u32 }>;
303
- /**
304
- * A child-bounty is claimed by beneficiary.
305
- **/
306
- Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32], { index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32 }>;
307
- /**
308
- * Generic event
309
- **/
310
- [key: string]: AugmentedEvent<ApiType>;
311
- };
312
- claims: {
313
- /**
314
- * Someone claimed some native tokens.
315
- **/
316
- Claimed: AugmentedEvent<ApiType, [recipient: AccountId32, source: PalletAirdropClaimsUtilsMultiAddress, amount: u128], { recipient: AccountId32, source: PalletAirdropClaimsUtilsMultiAddress, amount: u128 }>;
317
- /**
318
- * Generic event
319
- **/
320
- [key: string]: AugmentedEvent<ApiType>;
321
- };
322
- council: {
323
- /**
324
- * A motion was approved by the required threshold.
325
- **/
326
- Approved: AugmentedEvent<ApiType, [proposalHash: H256], { proposalHash: H256 }>;
327
- /**
328
- * A proposal was closed because its threshold was reached or after its duration was up.
329
- **/
330
- Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256, yes: u32, no: u32 }>;
331
- /**
332
- * A motion was not approved by the required threshold.
333
- **/
334
- Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], { proposalHash: H256 }>;
335
- /**
336
- * A motion was executed; result will be `Ok` if it returned without error.
337
- **/
338
- Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], { proposalHash: H256, result: Result<Null, SpRuntimeDispatchError> }>;
339
- /**
340
- * A single member did some action; result will be `Ok` if it returned without error.
341
- **/
342
- MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], { proposalHash: H256, result: Result<Null, SpRuntimeDispatchError> }>;
343
- /**
344
- * A motion (given hash) has been proposed (by given account) with a threshold (given
345
- * `MemberCount`).
346
- **/
347
- Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32 }>;
348
- /**
349
- * A motion (given hash) has been voted on by given account, leaving
350
- * a tally (yes votes and no votes given respectively as `MemberCount`).
351
- **/
352
- Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32 }>;
353
- /**
354
- * Generic event
355
- **/
356
- [key: string]: AugmentedEvent<ApiType>;
357
- };
358
- democracy: {
359
- /**
360
- * A proposal_hash has been blacklisted permanently.
361
- **/
362
- Blacklisted: AugmentedEvent<ApiType, [proposalHash: H256], { proposalHash: H256 }>;
363
- /**
364
- * A referendum has been cancelled.
365
- **/
366
- Cancelled: AugmentedEvent<ApiType, [refIndex: u32], { refIndex: u32 }>;
367
- /**
368
- * An account has delegated their vote to another account.
369
- **/
370
- Delegated: AugmentedEvent<ApiType, [who: AccountId32, target: AccountId32], { who: AccountId32, target: AccountId32 }>;
371
- /**
372
- * An external proposal has been tabled.
373
- **/
374
- ExternalTabled: AugmentedEvent<ApiType, []>;
375
- /**
376
- * Metadata for a proposal or a referendum has been cleared.
377
- **/
378
- MetadataCleared: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], { owner: PalletDemocracyMetadataOwner, hash_: H256 }>;
379
- /**
380
- * Metadata for a proposal or a referendum has been set.
381
- **/
382
- MetadataSet: AugmentedEvent<ApiType, [owner: PalletDemocracyMetadataOwner, hash_: H256], { owner: PalletDemocracyMetadataOwner, hash_: H256 }>;
383
- /**
384
- * Metadata has been transferred to new owner.
385
- **/
386
- MetadataTransferred: AugmentedEvent<ApiType, [prevOwner: PalletDemocracyMetadataOwner, owner: PalletDemocracyMetadataOwner, hash_: H256], { prevOwner: PalletDemocracyMetadataOwner, owner: PalletDemocracyMetadataOwner, hash_: H256 }>;
387
- /**
388
- * A proposal has been rejected by referendum.
389
- **/
390
- NotPassed: AugmentedEvent<ApiType, [refIndex: u32], { refIndex: u32 }>;
391
- /**
392
- * A proposal has been approved by referendum.
393
- **/
394
- Passed: AugmentedEvent<ApiType, [refIndex: u32], { refIndex: u32 }>;
395
- /**
396
- * A proposal got canceled.
397
- **/
398
- ProposalCanceled: AugmentedEvent<ApiType, [propIndex: u32], { propIndex: u32 }>;
399
- /**
400
- * A motion has been proposed by a public account.
401
- **/
402
- Proposed: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], { proposalIndex: u32, deposit: u128 }>;
403
- /**
404
- * An account has secconded a proposal
405
- **/
406
- Seconded: AugmentedEvent<ApiType, [seconder: AccountId32, propIndex: u32], { seconder: AccountId32, propIndex: u32 }>;
407
- /**
408
- * A referendum has begun.
409
- **/
410
- Started: AugmentedEvent<ApiType, [refIndex: u32, threshold: PalletDemocracyVoteThreshold], { refIndex: u32, threshold: PalletDemocracyVoteThreshold }>;
411
- /**
412
- * A public proposal has been tabled for referendum vote.
413
- **/
414
- Tabled: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], { proposalIndex: u32, deposit: u128 }>;
415
- /**
416
- * An account has cancelled a previous delegation operation.
417
- **/
418
- Undelegated: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
419
- /**
420
- * An external proposal has been vetoed.
421
- **/
422
- Vetoed: AugmentedEvent<ApiType, [who: AccountId32, proposalHash: H256, until: u64], { who: AccountId32, proposalHash: H256, until: u64 }>;
423
- /**
424
- * An account has voted in a referendum
425
- **/
426
- Voted: AugmentedEvent<ApiType, [voter: AccountId32, refIndex: u32, vote: PalletDemocracyVoteAccountVote], { voter: AccountId32, refIndex: u32, vote: PalletDemocracyVoteAccountVote }>;
427
- /**
428
- * Generic event
429
- **/
430
- [key: string]: AugmentedEvent<ApiType>;
431
- };
432
- dkg: {
433
- /**
434
- * Fee has been updated to the new value
435
- **/
436
- FeeUpdated: AugmentedEvent<ApiType, [PalletDkgFeeInfo]>;
437
- /**
438
- * A DKG has been rotated.
439
- **/
440
- KeyRotated: AugmentedEvent<ApiType, [fromJobId: u64, toJobId: u64, signature: Bytes], { fromJobId: u64, toJobId: u64, signature: Bytes }>;
441
- /**
442
- * Generic event
443
- **/
444
- [key: string]: AugmentedEvent<ApiType>;
445
- };
446
- electionProviderMultiPhase: {
447
- /**
448
- * An election failed.
449
- *
450
- * Not much can be said about which computes failed in the process.
451
- **/
452
- ElectionFailed: AugmentedEvent<ApiType, []>;
453
- /**
454
- * The election has been finalized, with the given computation and score.
455
- **/
456
- ElectionFinalized: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, score: SpNposElectionsElectionScore], { compute: PalletElectionProviderMultiPhaseElectionCompute, score: SpNposElectionsElectionScore }>;
457
- /**
458
- * There was a phase transition in a given round.
459
- **/
460
- PhaseTransitioned: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiPhasePhase, to: PalletElectionProviderMultiPhasePhase, round: u32], { from: PalletElectionProviderMultiPhasePhase, to: PalletElectionProviderMultiPhasePhase, round: u32 }>;
461
- /**
462
- * An account has been rewarded for their signed submission being finalized.
463
- **/
464
- Rewarded: AugmentedEvent<ApiType, [account: AccountId32, value: u128], { account: AccountId32, value: u128 }>;
465
- /**
466
- * An account has been slashed for submitting an invalid signed submission.
467
- **/
468
- Slashed: AugmentedEvent<ApiType, [account: AccountId32, value: u128], { account: AccountId32, value: u128 }>;
469
- /**
470
- * A solution was stored with the given compute.
471
- *
472
- * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
473
- * the stored solution was submited in the signed phase by a miner with the `AccountId`.
474
- * Otherwise, the solution was stored either during the unsigned phase or by
475
- * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
476
- * room for this one.
477
- **/
478
- SolutionStored: AugmentedEvent<ApiType, [compute: PalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool], { compute: PalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool }>;
479
- /**
480
- * Generic event
481
- **/
482
- [key: string]: AugmentedEvent<ApiType>;
483
- };
484
- elections: {
485
- /**
486
- * A candidate was slashed by amount due to failing to obtain a seat as member or
487
- * runner-up.
488
- *
489
- * Note that old members and runners-up are also candidates.
490
- **/
491
- CandidateSlashed: AugmentedEvent<ApiType, [candidate: AccountId32, amount: u128], { candidate: AccountId32, amount: u128 }>;
492
- /**
493
- * Internal error happened while trying to perform election.
494
- **/
495
- ElectionError: AugmentedEvent<ApiType, []>;
496
- /**
497
- * No (or not enough) candidates existed for this round. This is different from
498
- * `NewTerm(\[\])`. See the description of `NewTerm`.
499
- **/
500
- EmptyTerm: AugmentedEvent<ApiType, []>;
501
- /**
502
- * A member has been removed. This should always be followed by either `NewTerm` or
503
- * `EmptyTerm`.
504
- **/
505
- MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
506
- /**
507
- * A new term with new_members. This indicates that enough candidates existed to run
508
- * the election, not that enough have has been elected. The inner value must be examined
509
- * for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
510
- * slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
511
- * begin with.
512
- **/
513
- NewTerm: AugmentedEvent<ApiType, [newMembers: Vec<ITuple<[AccountId32, u128]>>], { newMembers: Vec<ITuple<[AccountId32, u128]>> }>;
514
- /**
515
- * Someone has renounced their candidacy.
516
- **/
517
- Renounced: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
518
- /**
519
- * A seat holder was slashed by amount by being forcefully removed from the set.
520
- **/
521
- SeatHolderSlashed: AugmentedEvent<ApiType, [seatHolder: AccountId32, amount: u128], { seatHolder: AccountId32, amount: u128 }>;
522
- /**
523
- * Generic event
524
- **/
525
- [key: string]: AugmentedEvent<ApiType>;
526
- };
527
- ethereum: {
528
- /**
529
- * An ethereum transaction was successfully executed.
530
- **/
531
- Executed: AugmentedEvent<ApiType, [from: H160, to: H160, transactionHash: H256, exitReason: EvmCoreErrorExitReason, extraData: Bytes], { from: H160, to: H160, transactionHash: H256, exitReason: EvmCoreErrorExitReason, extraData: Bytes }>;
532
- /**
533
- * Generic event
534
- **/
535
- [key: string]: AugmentedEvent<ApiType>;
536
- };
537
- evm: {
538
- /**
539
- * A contract has been created at given address.
540
- **/
541
- Created: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
542
- /**
543
- * A contract was attempted to be created, but the execution failed.
544
- **/
545
- CreatedFailed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
546
- /**
547
- * A contract has been executed successfully with states applied.
548
- **/
549
- Executed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
550
- /**
551
- * A contract has been executed with errors. States are reverted with only gas fees applied.
552
- **/
553
- ExecutedFailed: AugmentedEvent<ApiType, [address: H160], { address: H160 }>;
554
- /**
555
- * Ethereum events from contracts.
556
- **/
557
- Log: AugmentedEvent<ApiType, [log: EthereumLog], { log: EthereumLog }>;
558
- /**
559
- * Generic event
560
- **/
561
- [key: string]: AugmentedEvent<ApiType>;
562
- };
563
- grandpa: {
564
- /**
565
- * New authority set has been applied.
566
- **/
567
- NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], { authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>> }>;
568
- /**
569
- * Current authority set has been paused.
570
- **/
571
- Paused: AugmentedEvent<ApiType, []>;
572
- /**
573
- * Current authority set has been resumed.
574
- **/
575
- Resumed: AugmentedEvent<ApiType, []>;
576
- /**
577
- * Generic event
578
- **/
579
- [key: string]: AugmentedEvent<ApiType>;
580
- };
581
- identity: {
582
- /**
583
- * A username authority was added.
584
- **/
585
- AuthorityAdded: AugmentedEvent<ApiType, [authority: AccountId32], { authority: AccountId32 }>;
586
- /**
587
- * A username authority was removed.
588
- **/
589
- AuthorityRemoved: AugmentedEvent<ApiType, [authority: AccountId32], { authority: AccountId32 }>;
590
- /**
591
- * A dangling username (as in, a username corresponding to an account that has removed its
592
- * identity) has been removed.
593
- **/
594
- DanglingUsernameRemoved: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
595
- /**
596
- * A name was cleared, and the given balance returned.
597
- **/
598
- IdentityCleared: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32, deposit: u128 }>;
599
- /**
600
- * A name was removed and the given balance slashed.
601
- **/
602
- IdentityKilled: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32, deposit: u128 }>;
603
- /**
604
- * A name was set or reset (which will remove all judgements).
605
- **/
606
- IdentitySet: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
607
- /**
608
- * A judgement was given by a registrar.
609
- **/
610
- JudgementGiven: AugmentedEvent<ApiType, [target: AccountId32, registrarIndex: u32], { target: AccountId32, registrarIndex: u32 }>;
611
- /**
612
- * A judgement was asked from a registrar.
613
- **/
614
- JudgementRequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
615
- /**
616
- * A judgement request was retracted.
617
- **/
618
- JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
619
- /**
620
- * A queued username passed its expiration without being claimed and was removed.
621
- **/
622
- PreapprovalExpired: AugmentedEvent<ApiType, [whose: AccountId32], { whose: AccountId32 }>;
623
- /**
624
- * A username was set as a primary and can be looked up from `who`.
625
- **/
626
- PrimaryUsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
627
- /**
628
- * A registrar was added.
629
- **/
630
- RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], { registrarIndex: u32 }>;
631
- /**
632
- * A sub-identity was added to an identity and the deposit paid.
633
- **/
634
- SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
635
- /**
636
- * A sub-identity was removed from an identity and the deposit freed.
637
- **/
638
- SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
639
- /**
640
- * A sub-identity was cleared, and the given deposit repatriated from the
641
- * main identity account to the sub-identity account.
642
- **/
643
- SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
644
- /**
645
- * A username was queued, but `who` must accept it prior to `expiration`.
646
- **/
647
- UsernameQueued: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes, expiration: u64], { who: AccountId32, username: Bytes, expiration: u64 }>;
648
- /**
649
- * A username was set for `who`.
650
- **/
651
- UsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
652
- /**
653
- * Generic event
654
- **/
655
- [key: string]: AugmentedEvent<ApiType>;
656
- };
657
- imOnline: {
658
- /**
659
- * At the end of the session, no offence was committed.
660
- **/
661
- AllGood: AugmentedEvent<ApiType, []>;
662
- /**
663
- * A new heartbeat was received from `AuthorityId`.
664
- **/
665
- HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], { authorityId: PalletImOnlineSr25519AppSr25519Public }>;
666
- /**
667
- * At the end of the session, at least one validator was found to be offline.
668
- **/
669
- SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>], { offline: Vec<ITuple<[AccountId32, SpStakingExposure]>> }>;
670
- /**
671
- * Generic event
672
- **/
673
- [key: string]: AugmentedEvent<ApiType>;
674
- };
675
- indices: {
676
- /**
677
- * A account index was assigned.
678
- **/
679
- IndexAssigned: AugmentedEvent<ApiType, [who: AccountId32, index: u32], { who: AccountId32, index: u32 }>;
680
- /**
681
- * A account index has been freed up (unassigned).
682
- **/
683
- IndexFreed: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
684
- /**
685
- * A account index has been frozen to its current account ID.
686
- **/
687
- IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: AccountId32], { index: u32, who: AccountId32 }>;
688
- /**
689
- * Generic event
690
- **/
691
- [key: string]: AugmentedEvent<ApiType>;
692
- };
693
- jobs: {
694
- /**
695
- * The participants of a job has been updated
696
- **/
697
- JobParticipantsUpdated: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobInfo], { jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobInfo }>;
698
- /**
699
- * An existing job was removed and refunded
700
- **/
701
- JobRefunded: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType], { jobId: u64, roleType: TanglePrimitivesRolesRoleType }>;
702
- /**
703
- * A job has been resubmitted, this is when a phase1 result has been discarded
704
- * and a new phase1 job is requested
705
- **/
706
- JobReSubmitted: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobInfo], { jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobInfo }>;
707
- /**
708
- * A job result expiry time has been extended
709
- **/
710
- JobResultExtended: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType, newExpiry: u64], { jobId: u64, roleType: TanglePrimitivesRolesRoleType, newExpiry: u64 }>;
711
- /**
712
- * A new job result has been submitted
713
- **/
714
- JobResultSubmitted: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType], { jobId: u64, roleType: TanglePrimitivesRolesRoleType }>;
715
- /**
716
- * A new job has been submitted
717
- **/
718
- JobSubmitted: AugmentedEvent<ApiType, [jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobSubmission], { jobId: u64, roleType: TanglePrimitivesRolesRoleType, details: TanglePrimitivesJobsJobSubmission }>;
719
- /**
720
- * validator has earned reward
721
- **/
722
- ValidatorRewarded: AugmentedEvent<ApiType, [id: AccountId32, reward: u128], { id: AccountId32, reward: u128 }>;
723
- /**
724
- * Generic event
725
- **/
726
- [key: string]: AugmentedEvent<ApiType>;
727
- };
728
- multiAssetDelegation: {
729
- /**
730
- * Event emitted when a blueprint is whitelisted for rewards
731
- **/
732
- BlueprintWhitelisted: AugmentedEvent<ApiType, [blueprintId: u32], { blueprintId: u32 }>;
733
- /**
734
- * A delegator bond less request has been cancelled.
735
- **/
736
- CancelledDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
737
- /**
738
- * An unstake has been cancelled.
739
- **/
740
- CancelledUnstake: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
741
- /**
742
- * A delegation has been made.
743
- **/
744
- Delegated: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, amount: u128, assetId: u128], { who: AccountId32, operator: AccountId32, amount: u128, assetId: u128 }>;
745
- /**
746
- * A deposit has been made.
747
- **/
748
- Deposited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, assetId: Option<u128>], { who: AccountId32, amount: u128, assetId: Option<u128> }>;
749
- /**
750
- * A delegator bond less request has been executed.
751
- **/
752
- ExecutedDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
753
- /**
754
- * An unstake has been executed.
755
- **/
756
- ExecutedUnstake: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
757
- /**
758
- * Event emitted when an incentive APY and cap are set for an asset
759
- **/
760
- IncentiveAPYAndCapSet: AugmentedEvent<ApiType, [assetId: u128, apy: u128, cap: u128], { assetId: u128, apy: u128, cap: u128 }>;
761
- /**
762
- * An operator has cancelled their bond decrease request.
763
- **/
764
- OperatorBondLessCancelled: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
765
- /**
766
- * An operator has executed their bond decrease.
767
- **/
768
- OperatorBondLessExecuted: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
769
- /**
770
- * An operator has scheduled to decrease their bond.
771
- **/
772
- OperatorBondLessScheduled: AugmentedEvent<ApiType, [who: AccountId32, bondLessAmount: u128], { who: AccountId32, bondLessAmount: u128 }>;
773
- /**
774
- * An operator has increased their bond.
775
- **/
776
- OperatorBondMore: AugmentedEvent<ApiType, [who: AccountId32, additionalBond: u128], { who: AccountId32, additionalBond: u128 }>;
777
- /**
778
- * An operator has joined.
779
- **/
780
- OperatorJoined: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
781
- /**
782
- * An operator has cancelled their leave request.
783
- **/
784
- OperatorLeaveCancelled: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
785
- /**
786
- * An operator has executed their leave request.
787
- **/
788
- OperatorLeaveExecuted: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
789
- /**
790
- * An operator has scheduled to leave.
791
- **/
792
- OperatorLeavingScheduled: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
793
- /**
794
- * An operator has gone offline.
795
- **/
796
- OperatorWentOffline: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
797
- /**
798
- * An operator has gone online.
799
- **/
800
- OperatorWentOnline: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
801
- /**
802
- * A delegator bond less request has been scheduled.
803
- **/
804
- ScheduledDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, amount: u128, assetId: u128], { who: AccountId32, operator: AccountId32, amount: u128, assetId: u128 }>;
805
- /**
806
- * An unstake has been scheduled.
807
- **/
808
- ScheduledUnstake: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, assetId: Option<u128>], { who: AccountId32, amount: u128, assetId: Option<u128> }>;
809
- /**
810
- * New whitelisted assets set
811
- **/
812
- WhitelistedAssetsSet: AugmentedEvent<ApiType, [assets: Vec<u128>], { assets: Vec<u128> }>;
813
- /**
814
- * Generic event
815
- **/
816
- [key: string]: AugmentedEvent<ApiType>;
817
- };
818
- multisig: {
819
- /**
820
- * A multisig operation has been approved by someone.
821
- **/
822
- MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>;
823
- /**
824
- * A multisig operation has been cancelled.
825
- **/
826
- MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>;
827
- /**
828
- * A multisig operation has been executed.
829
- **/
830
- MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError>], { approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError> }>;
831
- /**
832
- * A new multisig operation has begun.
833
- **/
834
- NewMultisig: AugmentedEvent<ApiType, [approving: AccountId32, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, multisig: AccountId32, callHash: U8aFixed }>;
835
- /**
836
- * Generic event
837
- **/
838
- [key: string]: AugmentedEvent<ApiType>;
839
- };
840
- nominationPools: {
841
- /**
842
- * A member has became bonded in a pool.
843
- **/
844
- Bonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, bonded: u128, joined: bool], { member: AccountId32, poolId: u32, bonded: u128, joined: bool }>;
845
- /**
846
- * A pool has been created.
847
- **/
848
- Created: AugmentedEvent<ApiType, [depositor: AccountId32, poolId: u32], { depositor: AccountId32, poolId: u32 }>;
849
- /**
850
- * A pool has been destroyed.
851
- **/
852
- Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
853
- /**
854
- * A member has been removed from a pool.
855
- *
856
- * The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
857
- **/
858
- MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32], { poolId: u32, member: AccountId32 }>;
859
- /**
860
- * Topped up deficit in frozen ED of the reward pool.
861
- **/
862
- MinBalanceDeficitAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], { poolId: u32, amount: u128 }>;
863
- /**
864
- * Claimed excess frozen ED of af the reward pool.
865
- **/
866
- MinBalanceExcessAdjusted: AugmentedEvent<ApiType, [poolId: u32, amount: u128], { poolId: u32, amount: u128 }>;
867
- /**
868
- * A payout has been made to a member.
869
- **/
870
- PaidOut: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, payout: u128], { member: AccountId32, poolId: u32, payout: u128 }>;
871
- /**
872
- * A pool's commission `change_rate` has been changed.
873
- **/
874
- PoolCommissionChangeRateUpdated: AugmentedEvent<ApiType, [poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate], { poolId: u32, changeRate: PalletNominationPoolsCommissionChangeRate }>;
875
- /**
876
- * Pool commission has been claimed.
877
- **/
878
- PoolCommissionClaimed: AugmentedEvent<ApiType, [poolId: u32, commission: u128], { poolId: u32, commission: u128 }>;
879
- /**
880
- * Pool commission claim permission has been updated.
881
- **/
882
- PoolCommissionClaimPermissionUpdated: AugmentedEvent<ApiType, [poolId: u32, permission: Option<PalletNominationPoolsCommissionClaimPermission>], { poolId: u32, permission: Option<PalletNominationPoolsCommissionClaimPermission> }>;
883
- /**
884
- * A pool's commission setting has been changed.
885
- **/
886
- PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], { poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>> }>;
887
- /**
888
- * A pool's maximum commission setting has been changed.
889
- **/
890
- PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
891
- /**
892
- * The active balance of pool `pool_id` has been slashed to `balance`.
893
- **/
894
- PoolSlashed: AugmentedEvent<ApiType, [poolId: u32, balance: u128], { poolId: u32, balance: u128 }>;
895
- /**
896
- * The roles of a pool have been updated to the given new roles. Note that the depositor
897
- * can never change.
898
- **/
899
- RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], { root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32> }>;
900
- /**
901
- * The state of a pool has changed
902
- **/
903
- StateChanged: AugmentedEvent<ApiType, [poolId: u32, newState: PalletNominationPoolsPoolState], { poolId: u32, newState: PalletNominationPoolsPoolState }>;
904
- /**
905
- * A member has unbonded from their pool.
906
- *
907
- * - `balance` is the corresponding balance of the number of points that has been
908
- * requested to be unbonded (the argument of the `unbond` transaction) from the bonded
909
- * pool.
910
- * - `points` is the number of points that are issued as a result of `balance` being
911
- * dissolved into the corresponding unbonding pool.
912
- * - `era` is the era in which the balance will be unbonded.
913
- * In the absence of slashing, these values will match. In the presence of slashing, the
914
- * number of points that are issued in the unbonding pool will be less than the amount
915
- * requested to be unbonded.
916
- **/
917
- Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32], { member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32 }>;
918
- /**
919
- * The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
920
- **/
921
- UnbondingPoolSlashed: AugmentedEvent<ApiType, [poolId: u32, era: u32, balance: u128], { poolId: u32, era: u32, balance: u128 }>;
922
- /**
923
- * A member has withdrawn from their pool.
924
- *
925
- * The given number of `points` have been dissolved in return of `balance`.
926
- *
927
- * Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
928
- * will be 1.
929
- **/
930
- Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], { member: AccountId32, poolId: u32, balance: u128, points: u128 }>;
931
- /**
932
- * Generic event
933
- **/
934
- [key: string]: AugmentedEvent<ApiType>;
935
- };
936
- offences: {
937
- /**
938
- * There is an offence reported of the given `kind` happened at the `session_index` and
939
- * (kind-specific) time slot. This event is not deposited for duplicate slashes.
940
- * \[kind, timeslot\].
941
- **/
942
- Offence: AugmentedEvent<ApiType, [kind: U8aFixed, timeslot: Bytes], { kind: U8aFixed, timeslot: Bytes }>;
943
- /**
944
- * Generic event
945
- **/
946
- [key: string]: AugmentedEvent<ApiType>;
947
- };
948
- preimage: {
949
- /**
950
- * A preimage has ben cleared.
951
- **/
952
- Cleared: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
953
- /**
954
- * A preimage has been noted.
955
- **/
956
- Noted: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
957
- /**
958
- * A preimage has been requested.
959
- **/
960
- Requested: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
961
- /**
962
- * Generic event
963
- **/
964
- [key: string]: AugmentedEvent<ApiType>;
965
- };
966
- proxy: {
967
- /**
968
- * An announcement was placed to make a call in the future.
969
- **/
970
- Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
971
- /**
972
- * A proxy was added.
973
- **/
974
- ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64], { delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64 }>;
975
- /**
976
- * A proxy was executed correctly, with the given.
977
- **/
978
- ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
979
- /**
980
- * A proxy was removed.
981
- **/
982
- ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64], { delegator: AccountId32, delegatee: AccountId32, proxyType: TangleTestnetRuntimeProxyType, delay: u64 }>;
983
- /**
984
- * A pure account has been created by new proxy with given
985
- * disambiguation index and proxy type.
986
- **/
987
- PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: TangleTestnetRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: TangleTestnetRuntimeProxyType, disambiguationIndex: u16 }>;
988
- /**
989
- * Generic event
990
- **/
991
- [key: string]: AugmentedEvent<ApiType>;
992
- };
993
- roles: {
994
- /**
995
- * The min restaking bond amount has been updated
996
- **/
997
- MinRestakingBondUpdated: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
998
- /**
999
- * The re-stakers' rewards are getting paid.
1000
- **/
1001
- PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], { eraIndex: u32, validatorStash: AccountId32 }>;
1002
- /**
1003
- * Pending jobs,that cannot be opted out at the moment.
1004
- **/
1005
- PendingJobs: AugmentedEvent<ApiType, [pendingJobs: Vec<ITuple<[TanglePrimitivesRolesRoleType, u64]>>], { pendingJobs: Vec<ITuple<[TanglePrimitivesRolesRoleType, u64]>> }>;
1006
- /**
1007
- * New profile created.
1008
- **/
1009
- ProfileCreated: AugmentedEvent<ApiType, [account: AccountId32, totalProfileRestake: u128, roles: Vec<TanglePrimitivesRolesRoleType>], { account: AccountId32, totalProfileRestake: u128, roles: Vec<TanglePrimitivesRolesRoleType> }>;
1010
- /**
1011
- * Profile deleted.
1012
- **/
1013
- ProfileDeleted: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
1014
- /**
1015
- * Profile updated.
1016
- **/
1017
- ProfileUpdated: AugmentedEvent<ApiType, [account: AccountId32, totalProfileRestake: u128, roles: Vec<TanglePrimitivesRolesRoleType>], { account: AccountId32, totalProfileRestake: u128, roles: Vec<TanglePrimitivesRolesRoleType> }>;
1018
- /**
1019
- * The re-staker has been rewarded by this amount.
1020
- **/
1021
- Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
1022
- /**
1023
- * Role assigned to the validator.
1024
- **/
1025
- RoleAssigned: AugmentedEvent<ApiType, [account: AccountId32, role: TanglePrimitivesRolesRoleType], { account: AccountId32, role: TanglePrimitivesRolesRoleType }>;
1026
- /**
1027
- * Removed validator from role.
1028
- **/
1029
- RoleRemoved: AugmentedEvent<ApiType, [account: AccountId32, role: TanglePrimitivesRolesRoleType], { account: AccountId32, role: TanglePrimitivesRolesRoleType }>;
1030
- /**
1031
- * Roles inflation reward paid for era
1032
- **/
1033
- RolesRewardSet: AugmentedEvent<ApiType, [totalRewards: u128], { totalRewards: u128 }>;
1034
- /**
1035
- * Slashed validator.
1036
- **/
1037
- Slashed: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
1038
- /**
1039
- * Generic event
1040
- **/
1041
- [key: string]: AugmentedEvent<ApiType>;
1042
- };
1043
- scheduler: {
1044
- /**
1045
- * The call for the provided hash was not found so the task has been aborted.
1046
- **/
1047
- CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u64, u32]>, id: Option<U8aFixed>], { task: ITuple<[u64, u32]>, id: Option<U8aFixed> }>;
1048
- /**
1049
- * Canceled some task.
1050
- **/
1051
- Canceled: AugmentedEvent<ApiType, [when: u64, index: u32], { when: u64, index: u32 }>;
1052
- /**
1053
- * Dispatched some task.
1054
- **/
1055
- Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u64, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u64, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>;
1056
- /**
1057
- * The given task was unable to be renewed since the agenda is full at that block.
1058
- **/
1059
- PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u64, u32]>, id: Option<U8aFixed>], { task: ITuple<[u64, u32]>, id: Option<U8aFixed> }>;
1060
- /**
1061
- * The given task can never be executed since it is overweight.
1062
- **/
1063
- PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u64, u32]>, id: Option<U8aFixed>], { task: ITuple<[u64, u32]>, id: Option<U8aFixed> }>;
1064
- /**
1065
- * Scheduled some task.
1066
- **/
1067
- Scheduled: AugmentedEvent<ApiType, [when: u64, index: u32], { when: u64, index: u32 }>;
1068
- /**
1069
- * Generic event
1070
- **/
1071
- [key: string]: AugmentedEvent<ApiType>;
1072
- };
1073
- session: {
1074
- /**
1075
- * New session has happened. Note that the argument is the session index, not the
1076
- * block number as the type might suggest.
1077
- **/
1078
- NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
1079
- /**
1080
- * Generic event
1081
- **/
1082
- [key: string]: AugmentedEvent<ApiType>;
1083
- };
1084
- staking: {
1085
- /**
1086
- * An account has bonded this amount. \[stash, amount\]
1087
- *
1088
- * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
1089
- * it will not be emitted for staking rewards when they are added to stake.
1090
- **/
1091
- Bonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
1092
- /**
1093
- * An account has stopped participating as either a validator or nominator.
1094
- **/
1095
- Chilled: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
1096
- /**
1097
- * The era payout has been set; the first balance is the validator-payout; the second is
1098
- * the remainder from the maximum amount of reward.
1099
- **/
1100
- EraPaid: AugmentedEvent<ApiType, [eraIndex: u32, validatorPayout: u128, remainder: u128], { eraIndex: u32, validatorPayout: u128, remainder: u128 }>;
1101
- /**
1102
- * A new force era mode was set.
1103
- **/
1104
- ForceEra: AugmentedEvent<ApiType, [mode: PalletStakingForcing], { mode: PalletStakingForcing }>;
1105
- /**
1106
- * A nominator has been kicked from a validator.
1107
- **/
1108
- Kicked: AugmentedEvent<ApiType, [nominator: AccountId32, stash: AccountId32], { nominator: AccountId32, stash: AccountId32 }>;
1109
- /**
1110
- * An old slashing report from a prior era was discarded because it could
1111
- * not be processed.
1112
- **/
1113
- OldSlashingReportDiscarded: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
1114
- /**
1115
- * The stakers' rewards are getting paid.
1116
- **/
1117
- PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], { eraIndex: u32, validatorStash: AccountId32 }>;
1118
- /**
1119
- * The nominator has been rewarded by this amount to this destination.
1120
- **/
1121
- Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, dest: PalletStakingRewardDestination, amount: u128], { stash: AccountId32, dest: PalletStakingRewardDestination, amount: u128 }>;
1122
- /**
1123
- * A staker (validator or nominator) has been slashed by the given amount.
1124
- **/
1125
- Slashed: AugmentedEvent<ApiType, [staker: AccountId32, amount: u128], { staker: AccountId32, amount: u128 }>;
1126
- /**
1127
- * A slash for the given validator, for the given percentage of their stake, at the given
1128
- * era as been reported.
1129
- **/
1130
- SlashReported: AugmentedEvent<ApiType, [validator: AccountId32, fraction: Perbill, slashEra: u32], { validator: AccountId32, fraction: Perbill, slashEra: u32 }>;
1131
- /**
1132
- * Targets size limit reached.
1133
- **/
1134
- SnapshotTargetsSizeExceeded: AugmentedEvent<ApiType, [size_: u32], { size_: u32 }>;
1135
- /**
1136
- * Voters size limit reached.
1137
- **/
1138
- SnapshotVotersSizeExceeded: AugmentedEvent<ApiType, [size_: u32], { size_: u32 }>;
1139
- /**
1140
- * A new set of stakers was elected.
1141
- **/
1142
- StakersElected: AugmentedEvent<ApiType, []>;
1143
- /**
1144
- * The election failed. No new era is planned.
1145
- **/
1146
- StakingElectionFailed: AugmentedEvent<ApiType, []>;
1147
- /**
1148
- * An account has unbonded this amount.
1149
- **/
1150
- Unbonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
1151
- /**
1152
- * A validator has set their preferences.
1153
- **/
1154
- ValidatorPrefsSet: AugmentedEvent<ApiType, [stash: AccountId32, prefs: PalletStakingValidatorPrefs], { stash: AccountId32, prefs: PalletStakingValidatorPrefs }>;
1155
- /**
1156
- * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
1157
- * from the unlocking queue.
1158
- **/
1159
- Withdrawn: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
1160
- /**
1161
- * Generic event
1162
- **/
1163
- [key: string]: AugmentedEvent<ApiType>;
1164
- };
1165
- sudo: {
1166
- /**
1167
- * The sudo key has been updated.
1168
- **/
1169
- KeyChanged: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: AccountId32], { old: Option<AccountId32>, new_: AccountId32 }>;
1170
- /**
1171
- * The key was permanently removed.
1172
- **/
1173
- KeyRemoved: AugmentedEvent<ApiType, []>;
1174
- /**
1175
- * A sudo call just took place.
1176
- **/
1177
- Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
1178
- /**
1179
- * A [sudo_as](Pallet::sudo_as) call just took place.
1180
- **/
1181
- SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
1182
- /**
1183
- * Generic event
1184
- **/
1185
- [key: string]: AugmentedEvent<ApiType>;
1186
- };
1187
- sygmaAccessSegregator: {
1188
- /**
1189
- * Extrinsic access grant to someone
1190
- * args: [pallet_index, extrinsic_name, who]
1191
- **/
1192
- AccessGranted: AugmentedEvent<ApiType, [palletIndex: u8, extrinsicName: Bytes, who: AccountId32], { palletIndex: u8, extrinsicName: Bytes, who: AccountId32 }>;
1193
- /**
1194
- * Generic event
1195
- **/
1196
- [key: string]: AugmentedEvent<ApiType>;
1197
- };
1198
- sygmaBasicFeeHandler: {
1199
- /**
1200
- * Fee set for a specific asset
1201
- * args: [domain, asset, amount]
1202
- **/
1203
- FeeSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, amount: u128], { domain: u8, asset: StagingXcmV4AssetAssetId, amount: u128 }>;
1204
- /**
1205
- * Generic event
1206
- **/
1207
- [key: string]: AugmentedEvent<ApiType>;
1208
- };
1209
- sygmaBridge: {
1210
- /**
1211
- * When all bridges are paused
1212
- **/
1213
- AllBridgePaused: AugmentedEvent<ApiType, [sender: AccountId32], { sender: AccountId32 }>;
1214
- /**
1215
- * When all bridges are unpaused
1216
- **/
1217
- AllBridgeUnpaused: AugmentedEvent<ApiType, [sender: AccountId32], { sender: AccountId32 }>;
1218
- /**
1219
- * When bridge is paused
1220
- * args: [dest_domain_id]
1221
- **/
1222
- BridgePaused: AugmentedEvent<ApiType, [destDomainId: u8], { destDomainId: u8 }>;
1223
- /**
1224
- * When bridge is unpaused
1225
- * args: [dest_domain_id]
1226
- **/
1227
- BridgeUnpaused: AugmentedEvent<ApiType, [destDomainId: u8], { destDomainId: u8 }>;
1228
- /**
1229
- * When initial bridge transfer send to dest domain
1230
- * args: [dest_domain_id, resource_id, deposit_nonce, sender, transfer_type,
1231
- * deposit_data, handler_response, ]
1232
- **/
1233
- Deposit: AugmentedEvent<ApiType, [destDomainId: u8, resourceId: U8aFixed, depositNonce: u64, sender: AccountId32, transferType: SygmaTraitsTransferType, depositData: Bytes, handlerResponse: Bytes], { destDomainId: u8, resourceId: U8aFixed, depositNonce: u64, sender: AccountId32, transferType: SygmaTraitsTransferType, depositData: Bytes, handlerResponse: Bytes }>;
1234
- /**
1235
- * When proposal was faild to execute
1236
- **/
1237
- FailedHandlerExecution: AugmentedEvent<ApiType, [error: Bytes, originDomainId: u8, depositNonce: u64], { error: Bytes, originDomainId: u8, depositNonce: u64 }>;
1238
- /**
1239
- * When bridge fee is collected
1240
- **/
1241
- FeeCollected: AugmentedEvent<ApiType, [feePayer: AccountId32, destDomainId: u8, resourceId: U8aFixed, feeAmount: u128, feeAssetId: StagingXcmV4AssetAssetId], { feePayer: AccountId32, destDomainId: u8, resourceId: U8aFixed, feeAmount: u128, feeAssetId: StagingXcmV4AssetAssetId }>;
1242
- /**
1243
- * When proposal was executed successfully
1244
- **/
1245
- ProposalExecution: AugmentedEvent<ApiType, [originDomainId: u8, depositNonce: u64, dataHash: U8aFixed], { originDomainId: u8, depositNonce: u64, dataHash: U8aFixed }>;
1246
- /**
1247
- * When registering a new dest domainID with its corresponding chainID
1248
- **/
1249
- RegisterDestDomain: AugmentedEvent<ApiType, [sender: AccountId32, domainId: u8, chainId: U256], { sender: AccountId32, domainId: u8, chainId: U256 }>;
1250
- /**
1251
- * When user is going to retry a bridge transfer
1252
- * args: [deposit_on_block_height, dest_domain_id, sender]
1253
- **/
1254
- Retry: AugmentedEvent<ApiType, [depositOnBlockHeight: u128, destDomainId: u8, sender: AccountId32], { depositOnBlockHeight: u128, destDomainId: u8, sender: AccountId32 }>;
1255
- /**
1256
- * When unregistering a dest domainID with its corresponding chainID
1257
- **/
1258
- UnregisterDestDomain: AugmentedEvent<ApiType, [sender: AccountId32, domainId: u8, chainId: U256], { sender: AccountId32, domainId: u8, chainId: U256 }>;
1259
- /**
1260
- * Generic event
1261
- **/
1262
- [key: string]: AugmentedEvent<ApiType>;
1263
- };
1264
- sygmaFeeHandlerRouter: {
1265
- /**
1266
- * When fee handler was set for a specific (domain, asset) pair
1267
- * args: [dest_domain_id, asset_id, handler_type]
1268
- **/
1269
- FeeHandlerSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, handlerType: SygmaFeeHandlerRouterFeeHandlerType], { domain: u8, asset: StagingXcmV4AssetAssetId, handlerType: SygmaFeeHandlerRouterFeeHandlerType }>;
1270
- /**
1271
- * Generic event
1272
- **/
1273
- [key: string]: AugmentedEvent<ApiType>;
1274
- };
1275
- sygmaPercentageFeeHandler: {
1276
- /**
1277
- * Fee set rate for a specific asset and domain
1278
- * args: [domain, asset, rate_basis_point, fee_lower_bound, fee_upper_bound]
1279
- **/
1280
- FeeRateSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, rateBasisPoint: u32, feeLowerBound: u128, feeUpperBound: u128], { domain: u8, asset: StagingXcmV4AssetAssetId, rateBasisPoint: u32, feeLowerBound: u128, feeUpperBound: u128 }>;
1281
- /**
1282
- * Generic event
1283
- **/
1284
- [key: string]: AugmentedEvent<ApiType>;
1285
- };
1286
- system: {
1287
- /**
1288
- * `:code` was updated.
1289
- **/
1290
- CodeUpdated: AugmentedEvent<ApiType, []>;
1291
- /**
1292
- * An extrinsic failed.
1293
- **/
1294
- ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo }>;
1295
- /**
1296
- * An extrinsic completed successfully.
1297
- **/
1298
- ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo }>;
1299
- /**
1300
- * An account was reaped.
1301
- **/
1302
- KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
1303
- /**
1304
- * A new account was created.
1305
- **/
1306
- NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
1307
- /**
1308
- * On on-chain remark happened.
1309
- **/
1310
- Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
1311
- /**
1312
- * An upgrade was authorized.
1313
- **/
1314
- UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256, checkVersion: bool }>;
1315
- /**
1316
- * Generic event
1317
- **/
1318
- [key: string]: AugmentedEvent<ApiType>;
1319
- };
1320
- transactionPayment: {
1321
- /**
1322
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
1323
- * has been paid by `who`.
1324
- **/
1325
- TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], { who: AccountId32, actualFee: u128, tip: u128 }>;
1326
- /**
1327
- * Generic event
1328
- **/
1329
- [key: string]: AugmentedEvent<ApiType>;
1330
- };
1331
- treasury: {
1332
- /**
1333
- * A new asset spend proposal has been approved.
1334
- **/
1335
- AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind: Null, amount: u128, beneficiary: AccountId32, validFrom: u64, expireAt: u64], { index: u32, assetKind: Null, amount: u128, beneficiary: AccountId32, validFrom: u64, expireAt: u64 }>;
1336
- /**
1337
- * An approved spend was voided.
1338
- **/
1339
- AssetSpendVoided: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
1340
- /**
1341
- * Some funds have been allocated.
1342
- **/
1343
- Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], { proposalIndex: u32, award: u128, account: AccountId32 }>;
1344
- /**
1345
- * Some of our funds have been burnt.
1346
- **/
1347
- Burnt: AugmentedEvent<ApiType, [burntFunds: u128], { burntFunds: u128 }>;
1348
- /**
1349
- * Some funds have been deposited.
1350
- **/
1351
- Deposit: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
1352
- /**
1353
- * A payment happened.
1354
- **/
1355
- Paid: AugmentedEvent<ApiType, [index: u32, paymentId: Null], { index: u32, paymentId: Null }>;
1356
- /**
1357
- * A payment failed and can be retried.
1358
- **/
1359
- PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: Null], { index: u32, paymentId: Null }>;
1360
- /**
1361
- * New proposal.
1362
- **/
1363
- Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
1364
- /**
1365
- * A proposal was rejected; funds were slashed.
1366
- **/
1367
- Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
1368
- /**
1369
- * Spending has finished; this is the amount that rolls over until next spend.
1370
- **/
1371
- Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], { rolloverBalance: u128 }>;
1372
- /**
1373
- * A new spend proposal has been approved.
1374
- **/
1375
- SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId32], { proposalIndex: u32, amount: u128, beneficiary: AccountId32 }>;
1376
- /**
1377
- * We have ended a spend period and will now allocate funds.
1378
- **/
1379
- Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], { budgetRemaining: u128 }>;
1380
- /**
1381
- * A spend was processed and removed from the storage. It might have been successfully
1382
- * paid or it may have expired.
1383
- **/
1384
- SpendProcessed: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
1385
- /**
1386
- * The inactive funds of the pallet have been updated.
1387
- **/
1388
- UpdatedInactive: AugmentedEvent<ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128, deactivated: u128 }>;
1389
- /**
1390
- * Generic event
1391
- **/
1392
- [key: string]: AugmentedEvent<ApiType>;
1393
- };
1394
- txPause: {
1395
- /**
1396
- * This pallet, or a specific call is now paused.
1397
- **/
1398
- CallPaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], { fullName: ITuple<[Bytes, Bytes]> }>;
1399
- /**
1400
- * This pallet, or a specific call is now unpaused.
1401
- **/
1402
- CallUnpaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], { fullName: ITuple<[Bytes, Bytes]> }>;
1403
- /**
1404
- * Generic event
1405
- **/
1406
- [key: string]: AugmentedEvent<ApiType>;
1407
- };
1408
- utility: {
1409
- /**
1410
- * Batch of dispatches completed fully with no error.
1411
- **/
1412
- BatchCompleted: AugmentedEvent<ApiType, []>;
1413
- /**
1414
- * Batch of dispatches completed but has errors.
1415
- **/
1416
- BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
1417
- /**
1418
- * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1419
- * well as the error.
1420
- **/
1421
- BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32, error: SpRuntimeDispatchError }>;
1422
- /**
1423
- * A call was dispatched.
1424
- **/
1425
- DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
1426
- /**
1427
- * A single item within a Batch of dispatches has completed with no error.
1428
- **/
1429
- ItemCompleted: AugmentedEvent<ApiType, []>;
1430
- /**
1431
- * A single item within a Batch of dispatches has completed with error.
1432
- **/
1433
- ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError }>;
1434
- /**
1435
- * Generic event
1436
- **/
1437
- [key: string]: AugmentedEvent<ApiType>;
1438
- };
1439
- vesting: {
1440
- /**
1441
- * An \[account\] has become fully vested.
1442
- **/
1443
- VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
1444
- /**
1445
- * The amount vested has been updated. This could indicate a change in funds available.
1446
- * The balance given is the amount which is left unvested (and thus locked).
1447
- **/
1448
- VestingUpdated: AugmentedEvent<ApiType, [account: AccountId32, unvested: u128], { account: AccountId32, unvested: u128 }>;
1449
- /**
1450
- * Generic event
1451
- **/
1452
- [key: string]: AugmentedEvent<ApiType>;
1453
- };
1454
- zkSaaS: {
1455
- /**
1456
- * Fee has been updated to the new value
1457
- **/
1458
- FeeUpdated: AugmentedEvent<ApiType, [PalletZksaasFeeInfo]>;
1459
- /**
1460
- * Generic event
1461
- **/
1462
- [key: string]: AugmentedEvent<ApiType>;
1463
- };
1464
- } // AugmentedEvents
1465
- } // declare module