@functionland/react-native-fula 1.55.15 → 1.55.16
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 +20 -20
- package/android/build.gradle +114 -114
- package/android/gradle.properties +8 -8
- package/android/src/main/AndroidManifest.xml +3 -3
- package/android/src/main/AndroidManifestNew.xml +2 -2
- package/android/src/main/java/land/fx/fula/ConfigRef.java +7 -7
- package/android/src/main/java/land/fx/fula/Cryptography.java +62 -62
- package/android/src/main/java/land/fx/fula/FulaModule.java +0 -0
- package/android/src/main/java/land/fx/fula/FulaPackage.java +32 -32
- package/android/src/main/java/land/fx/fula/SharedPreferenceHelper.java +65 -65
- package/android/src/main/java/land/fx/fula/StaticHelper.java +13 -13
- package/android/src/main/java/land/fx/fula/ThreadUtils.java +42 -42
- package/ios/Cryptography.swift +59 -59
- package/ios/Fula-Bridging-Header.h +3 -3
- package/ios/Fula.mm +272 -272
- package/ios/Fula.swift +18 -15
- package/ios/UserDataHelper.swift +143 -143
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-consts.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-errors.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-events.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-query.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-rpc.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-runtime.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api-tx.js.map +1 -1
- package/lib/commonjs/interfaces/augment-api.js.map +1 -1
- package/lib/commonjs/interfaces/augment-types.js.map +1 -1
- package/lib/commonjs/interfaces/definitions.js.map +1 -1
- package/lib/commonjs/interfaces/defintions.js.map +1 -1
- package/lib/commonjs/interfaces/fulaNativeModule.js.map +1 -1
- package/lib/commonjs/interfaces/index.js.map +1 -1
- package/lib/commonjs/interfaces/lookup.js +300 -300
- package/lib/commonjs/interfaces/lookup.js.map +1 -1
- package/lib/commonjs/interfaces/registry.js.map +1 -1
- package/lib/commonjs/interfaces/types-lookup.js.map +1 -1
- package/lib/commonjs/interfaces/types.js.map +1 -1
- package/lib/commonjs/protocols/blockchain.js +70 -70
- package/lib/commonjs/protocols/blockchain.js.map +1 -1
- package/lib/commonjs/protocols/chain-api.js.map +1 -1
- package/lib/commonjs/protocols/fula.js.map +1 -1
- package/lib/commonjs/protocols/fx-ai.js.map +1 -1
- package/lib/commonjs/protocols/fxblox.js +3 -3
- package/lib/commonjs/protocols/fxblox.js.map +1 -1
- package/lib/commonjs/types/blockchain.js.map +1 -1
- package/lib/commonjs/types/fxblox.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/interfaces/augment-api-consts.js.map +1 -1
- package/lib/module/interfaces/augment-api-errors.js.map +1 -1
- package/lib/module/interfaces/augment-api-events.js.map +1 -1
- package/lib/module/interfaces/augment-api-query.js.map +1 -1
- package/lib/module/interfaces/augment-api-rpc.js.map +1 -1
- package/lib/module/interfaces/augment-api-runtime.js.map +1 -1
- package/lib/module/interfaces/augment-api-tx.js.map +1 -1
- package/lib/module/interfaces/augment-api.js.map +1 -1
- package/lib/module/interfaces/augment-types.js.map +1 -1
- package/lib/module/interfaces/definitions.js.map +1 -1
- package/lib/module/interfaces/defintions.js.map +1 -1
- package/lib/module/interfaces/fulaNativeModule.js.map +1 -1
- package/lib/module/interfaces/index.js.map +1 -1
- package/lib/module/interfaces/lookup.js +300 -300
- package/lib/module/interfaces/lookup.js.map +1 -1
- package/lib/module/interfaces/registry.js.map +1 -1
- package/lib/module/interfaces/types-lookup.js.map +1 -1
- package/lib/module/interfaces/types.js.map +1 -1
- package/lib/module/protocols/blockchain.js +70 -70
- package/lib/module/protocols/blockchain.js.map +1 -1
- package/lib/module/protocols/chain-api.js.map +1 -1
- package/lib/module/protocols/fula.js.map +1 -1
- package/lib/module/protocols/fx-ai.js.map +1 -1
- package/lib/module/protocols/fxblox.js +3 -3
- package/lib/module/protocols/fxblox.js.map +1 -1
- package/lib/module/types/blockchain.js.map +1 -1
- package/lib/module/types/fxblox.js.map +1 -1
- package/package.json +177 -176
- package/src/index.tsx +4 -4
- package/src/interfaces/augment-api-consts.ts +273 -273
- package/src/interfaces/augment-api-errors.ts +474 -474
- package/src/interfaces/augment-api-events.ts +448 -448
- package/src/interfaces/augment-api-query.ts +466 -466
- package/src/interfaces/augment-api-rpc.ts +617 -617
- package/src/interfaces/augment-api-runtime.ts +223 -223
- package/src/interfaces/augment-api-tx.ts +709 -709
- package/src/interfaces/augment-api.ts +9 -9
- package/src/interfaces/augment-types.ts +1322 -1322
- package/src/interfaces/definitions.ts +1 -1
- package/src/interfaces/defintions.ts +1 -1
- package/src/interfaces/index.ts +3 -3
- package/src/interfaces/lookup.ts +2011 -2011
- package/src/interfaces/registry.ts +163 -163
- package/src/interfaces/types-lookup.ts +2165 -2165
- package/src/interfaces/types.ts +2 -2
- package/src/protocols/blockchain.ts +716 -716
- package/src/protocols/fxblox.ts +442 -442
|
@@ -1,448 +1,448 @@
|
|
|
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, U8aFixed, Vec, bool, i32, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
|
10
|
-
import type { ITuple } from '@polkadot/types-codec/types';
|
|
11
|
-
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
12
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, FunctionlandFulaChallengeState, FunctionlandFulaManifestAvailable, FunctionlandFulaManifestWithPoolId, FunctionlandFulaStorerData, PalletImOnlineSr25519AppSr25519Public, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError, SugarfungeMarketRateBalance } 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
|
-
asset: {
|
|
19
|
-
AssetCreated: AugmentedEvent<ApiType, [classId: u64, assetId: u64, who: AccountId32], { classId: u64, assetId: u64, who: AccountId32 }>;
|
|
20
|
-
AssetMetadataUpdated: AugmentedEvent<ApiType, [classId: u64, assetId: u64, who: AccountId32, metadata: Bytes], { classId: u64, assetId: u64, who: AccountId32, metadata: Bytes }>;
|
|
21
|
-
BatchBurn: AugmentedEvent<ApiType, [who: AccountId32, from: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128>], { who: AccountId32, from: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128> }>;
|
|
22
|
-
BatchMint: AugmentedEvent<ApiType, [who: AccountId32, to: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128>], { who: AccountId32, to: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128> }>;
|
|
23
|
-
BatchTransferred: AugmentedEvent<ApiType, [who: AccountId32, from: AccountId32, to: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128>], { who: AccountId32, from: AccountId32, to: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128> }>;
|
|
24
|
-
Burn: AugmentedEvent<ApiType, [who: AccountId32, from: AccountId32, classId: u64, assetId: u64, amount: u128], { who: AccountId32, from: AccountId32, classId: u64, assetId: u64, amount: u128 }>;
|
|
25
|
-
ClassCreated: AugmentedEvent<ApiType, [classId: u64, who: AccountId32], { classId: u64, who: AccountId32 }>;
|
|
26
|
-
Mint: AugmentedEvent<ApiType, [who: AccountId32, to: AccountId32, classId: u64, assetId: u64, amount: u128], { who: AccountId32, to: AccountId32, classId: u64, assetId: u64, amount: u128 }>;
|
|
27
|
-
OperatorApprovalForAll: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, classId: u64, approved: bool], { who: AccountId32, operator: AccountId32, classId: u64, approved: bool }>;
|
|
28
|
-
Transferred: AugmentedEvent<ApiType, [who: AccountId32, from: AccountId32, to: AccountId32, classId: u64, assetId: u64, amount: u128], { who: AccountId32, from: AccountId32, to: AccountId32, classId: u64, assetId: u64, amount: u128 }>;
|
|
29
|
-
/**
|
|
30
|
-
* Generic event
|
|
31
|
-
**/
|
|
32
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
33
|
-
};
|
|
34
|
-
bag: {
|
|
35
|
-
Created: AugmentedEvent<ApiType, [bag: AccountId32, who: AccountId32, classId: u64, assetId: u64, owners: Vec<AccountId32>], { bag: AccountId32, who: AccountId32, classId: u64, assetId: u64, owners: Vec<AccountId32> }>;
|
|
36
|
-
Deposit: AugmentedEvent<ApiType, [bag: AccountId32, who: AccountId32], { bag: AccountId32, who: AccountId32 }>;
|
|
37
|
-
Register: AugmentedEvent<ApiType, [who: AccountId32, classId: u64], { who: AccountId32, classId: u64 }>;
|
|
38
|
-
Sweep: AugmentedEvent<ApiType, [bag: AccountId32, who: AccountId32, to: AccountId32], { bag: AccountId32, who: AccountId32, to: AccountId32 }>;
|
|
39
|
-
/**
|
|
40
|
-
* Generic event
|
|
41
|
-
**/
|
|
42
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
43
|
-
};
|
|
44
|
-
balances: {
|
|
45
|
-
/**
|
|
46
|
-
* A balance was set by root.
|
|
47
|
-
**/
|
|
48
|
-
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], { who: AccountId32, free: u128 }>;
|
|
49
|
-
/**
|
|
50
|
-
* Some amount was burned from an account.
|
|
51
|
-
**/
|
|
52
|
-
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
53
|
-
/**
|
|
54
|
-
* Some amount was deposited (e.g. for transaction fees).
|
|
55
|
-
**/
|
|
56
|
-
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
57
|
-
/**
|
|
58
|
-
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
59
|
-
* resulting in an outright loss.
|
|
60
|
-
**/
|
|
61
|
-
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
|
|
62
|
-
/**
|
|
63
|
-
* An account was created with some free balance.
|
|
64
|
-
**/
|
|
65
|
-
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
|
66
|
-
/**
|
|
67
|
-
* Some balance was frozen.
|
|
68
|
-
**/
|
|
69
|
-
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
70
|
-
/**
|
|
71
|
-
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
72
|
-
**/
|
|
73
|
-
Issued: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
|
|
74
|
-
/**
|
|
75
|
-
* Some balance was locked.
|
|
76
|
-
**/
|
|
77
|
-
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
78
|
-
/**
|
|
79
|
-
* Some amount was minted into an account.
|
|
80
|
-
**/
|
|
81
|
-
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
82
|
-
/**
|
|
83
|
-
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
84
|
-
**/
|
|
85
|
-
Rescinded: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
|
|
86
|
-
/**
|
|
87
|
-
* Some balance was reserved (moved from free to reserved).
|
|
88
|
-
**/
|
|
89
|
-
Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
90
|
-
/**
|
|
91
|
-
* Some balance was moved from the reserve of the first account to the second account.
|
|
92
|
-
* Final argument indicates the destination balance type.
|
|
93
|
-
**/
|
|
94
|
-
ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus }>;
|
|
95
|
-
/**
|
|
96
|
-
* Some amount was restored into an account.
|
|
97
|
-
**/
|
|
98
|
-
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
99
|
-
/**
|
|
100
|
-
* Some amount was removed from the account (e.g. for misbehavior).
|
|
101
|
-
**/
|
|
102
|
-
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
103
|
-
/**
|
|
104
|
-
* Some amount was suspended from an account (it can be restored later).
|
|
105
|
-
**/
|
|
106
|
-
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
107
|
-
/**
|
|
108
|
-
* Some balance was thawed.
|
|
109
|
-
**/
|
|
110
|
-
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
111
|
-
/**
|
|
112
|
-
* Transfer succeeded.
|
|
113
|
-
**/
|
|
114
|
-
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
115
|
-
/**
|
|
116
|
-
* Some balance was unlocked.
|
|
117
|
-
**/
|
|
118
|
-
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
119
|
-
/**
|
|
120
|
-
* Some balance was unreserved (moved from reserved to free).
|
|
121
|
-
**/
|
|
122
|
-
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
123
|
-
/**
|
|
124
|
-
* An account was upgraded.
|
|
125
|
-
**/
|
|
126
|
-
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
127
|
-
/**
|
|
128
|
-
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
129
|
-
**/
|
|
130
|
-
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
131
|
-
/**
|
|
132
|
-
* Generic event
|
|
133
|
-
**/
|
|
134
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
135
|
-
};
|
|
136
|
-
bundle: {
|
|
137
|
-
Burn: AugmentedEvent<ApiType, [bundleId: H256, who: AccountId32, from: AccountId32, to: AccountId32, amount: u128], { bundleId: H256, who: AccountId32, from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
138
|
-
Mint: AugmentedEvent<ApiType, [bundleId: H256, who: AccountId32, from: AccountId32, to: AccountId32, amount: u128], { bundleId: H256, who: AccountId32, from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
139
|
-
Register: AugmentedEvent<ApiType, [bundleId: H256, who: AccountId32, classId: u64, assetId: u64], { bundleId: H256, who: AccountId32, classId: u64, assetId: u64 }>;
|
|
140
|
-
/**
|
|
141
|
-
* Generic event
|
|
142
|
-
**/
|
|
143
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
144
|
-
};
|
|
145
|
-
council: {
|
|
146
|
-
/**
|
|
147
|
-
* A motion was approved by the required threshold.
|
|
148
|
-
**/
|
|
149
|
-
Approved: AugmentedEvent<ApiType, [proposalHash: H256], { proposalHash: H256 }>;
|
|
150
|
-
/**
|
|
151
|
-
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
152
|
-
**/
|
|
153
|
-
Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256, yes: u32, no: u32 }>;
|
|
154
|
-
/**
|
|
155
|
-
* A motion was not approved by the required threshold.
|
|
156
|
-
**/
|
|
157
|
-
Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], { proposalHash: H256 }>;
|
|
158
|
-
/**
|
|
159
|
-
* A motion was executed; result will be `Ok` if it returned without error.
|
|
160
|
-
**/
|
|
161
|
-
Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], { proposalHash: H256, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
162
|
-
/**
|
|
163
|
-
* A single member did some action; result will be `Ok` if it returned without error.
|
|
164
|
-
**/
|
|
165
|
-
MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], { proposalHash: H256, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
166
|
-
/**
|
|
167
|
-
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
168
|
-
* `MemberCount`).
|
|
169
|
-
**/
|
|
170
|
-
Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32 }>;
|
|
171
|
-
/**
|
|
172
|
-
* A motion (given hash) has been voted on by given account, leaving
|
|
173
|
-
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
174
|
-
**/
|
|
175
|
-
Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32 }>;
|
|
176
|
-
/**
|
|
177
|
-
* Generic event
|
|
178
|
-
**/
|
|
179
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
180
|
-
};
|
|
181
|
-
dao: {
|
|
182
|
-
/**
|
|
183
|
-
* Event documentation should end with an array that provides descriptive names for event
|
|
184
|
-
* parameters. [something, who]
|
|
185
|
-
**/
|
|
186
|
-
SomethingStored: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
187
|
-
/**
|
|
188
|
-
* Generic event
|
|
189
|
-
**/
|
|
190
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
191
|
-
};
|
|
192
|
-
exgine: {
|
|
193
|
-
/**
|
|
194
|
-
* Event documentation should end with an array that provides descriptive names for event
|
|
195
|
-
* parameters. [something, who]
|
|
196
|
-
**/
|
|
197
|
-
SomethingStored: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
198
|
-
/**
|
|
199
|
-
* Generic event
|
|
200
|
-
**/
|
|
201
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
202
|
-
};
|
|
203
|
-
fula: {
|
|
204
|
-
BatchManifestOutput: AugmentedEvent<ApiType, [uploader: AccountId32, poolIds: Vec<u32>, manifests: Vec<Bytes>], { uploader: AccountId32, poolIds: Vec<u32>, manifests: Vec<Bytes> }>;
|
|
205
|
-
BatchManifestRemoved: AugmentedEvent<ApiType, [uploader: AccountId32, poolIds: Vec<u32>, cids: Vec<Bytes>], { uploader: AccountId32, poolIds: Vec<u32>, cids: Vec<Bytes> }>;
|
|
206
|
-
BatchRemoveStorerOutput: AugmentedEvent<ApiType, [storer: AccountId32, poolId: u32, cids: Vec<Bytes>], { storer: AccountId32, poolId: u32, cids: Vec<Bytes> }>;
|
|
207
|
-
BatchStorageManifestOutput: AugmentedEvent<ApiType, [storer: AccountId32, poolId: u32, cids: Vec<Bytes>], { storer: AccountId32, poolId: u32, cids: Vec<Bytes> }>;
|
|
208
|
-
Challenge: AugmentedEvent<ApiType, [challenger: AccountId32, challenged: AccountId32, cid: Bytes, state: FunctionlandFulaChallengeState], { challenger: AccountId32, challenged: AccountId32, cid: Bytes, state: FunctionlandFulaChallengeState }>;
|
|
209
|
-
GetAvailableManifests: AugmentedEvent<ApiType, [manifests: Vec<FunctionlandFulaManifestAvailable>], { manifests: Vec<FunctionlandFulaManifestAvailable> }>;
|
|
210
|
-
GetManifests: AugmentedEvent<ApiType, [manifests: Vec<FunctionlandFulaManifestWithPoolId>], { manifests: Vec<FunctionlandFulaManifestWithPoolId> }>;
|
|
211
|
-
GetManifestsStorerData: AugmentedEvent<ApiType, [manifests: Vec<FunctionlandFulaStorerData>], { manifests: Vec<FunctionlandFulaStorerData> }>;
|
|
212
|
-
ManifestOutput: AugmentedEvent<ApiType, [uploader: AccountId32, storer: Vec<AccountId32>, poolId: u32, manifest: Bytes], { uploader: AccountId32, storer: Vec<AccountId32>, poolId: u32, manifest: Bytes }>;
|
|
213
|
-
ManifestRemoved: AugmentedEvent<ApiType, [uploader: AccountId32, poolId: u32, cid: Bytes], { uploader: AccountId32, poolId: u32, cid: Bytes }>;
|
|
214
|
-
ManifestStorageUpdated: AugmentedEvent<ApiType, [storer: AccountId32, poolId: u32, cid: Bytes, activeCycles: u16, missedCycles: u16, activeDays: i32], { storer: AccountId32, poolId: u32, cid: Bytes, activeCycles: u16, missedCycles: u16, activeDays: i32 }>;
|
|
215
|
-
MintedLaborTokens: AugmentedEvent<ApiType, [account: AccountId32, classId: u64, assetId: u64, amount: u128, calculatedAmount: u128], { account: AccountId32, classId: u64, assetId: u64, amount: u128, calculatedAmount: u128 }>;
|
|
216
|
-
RemoveStorerOutput: AugmentedEvent<ApiType, [storer: Option<AccountId32>, poolId: u32, cid: Bytes], { storer: Option<AccountId32>, poolId: u32, cid: Bytes }>;
|
|
217
|
-
StorageManifestOutput: AugmentedEvent<ApiType, [storer: AccountId32, poolId: u32, cid: Bytes], { storer: AccountId32, poolId: u32, cid: Bytes }>;
|
|
218
|
-
UpdateFileSizeOutput: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32, cid: Bytes, size_: u64], { account: AccountId32, poolId: u32, cid: Bytes, size_: u64 }>;
|
|
219
|
-
UpdateFileSizesOutput: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32, cids: Vec<Bytes>, sizes: Vec<u64>], { account: AccountId32, poolId: u32, cids: Vec<Bytes>, sizes: Vec<u64> }>;
|
|
220
|
-
VerifiedChallenges: AugmentedEvent<ApiType, [challenged: AccountId32, successful: Vec<Bytes>, failed: Vec<Bytes>], { challenged: AccountId32, successful: Vec<Bytes>, failed: Vec<Bytes> }>;
|
|
221
|
-
VerifiedStorerManifests: AugmentedEvent<ApiType, [storer: AccountId32, validCids: Vec<Bytes>, invalidCids: Vec<Bytes>], { storer: AccountId32, validCids: Vec<Bytes>, invalidCids: Vec<Bytes> }>;
|
|
222
|
-
/**
|
|
223
|
-
* Generic event
|
|
224
|
-
**/
|
|
225
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
226
|
-
};
|
|
227
|
-
grandpa: {
|
|
228
|
-
/**
|
|
229
|
-
* New authority set has been applied.
|
|
230
|
-
**/
|
|
231
|
-
NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], { authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>> }>;
|
|
232
|
-
/**
|
|
233
|
-
* Current authority set has been paused.
|
|
234
|
-
**/
|
|
235
|
-
Paused: AugmentedEvent<ApiType, []>;
|
|
236
|
-
/**
|
|
237
|
-
* Current authority set has been resumed.
|
|
238
|
-
**/
|
|
239
|
-
Resumed: AugmentedEvent<ApiType, []>;
|
|
240
|
-
/**
|
|
241
|
-
* Generic event
|
|
242
|
-
**/
|
|
243
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
244
|
-
};
|
|
245
|
-
imOnline: {
|
|
246
|
-
/**
|
|
247
|
-
* At the end of the session, no offence was committed.
|
|
248
|
-
**/
|
|
249
|
-
AllGood: AugmentedEvent<ApiType, []>;
|
|
250
|
-
/**
|
|
251
|
-
* A new heartbeat was received from `AuthorityId`.
|
|
252
|
-
**/
|
|
253
|
-
HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], { authorityId: PalletImOnlineSr25519AppSr25519Public }>;
|
|
254
|
-
/**
|
|
255
|
-
* At the end of the session, at least one validator was found to be offline.
|
|
256
|
-
**/
|
|
257
|
-
SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, AccountId32]>>], { offline: Vec<ITuple<[AccountId32, AccountId32]>> }>;
|
|
258
|
-
/**
|
|
259
|
-
* Generic event
|
|
260
|
-
**/
|
|
261
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
262
|
-
};
|
|
263
|
-
market: {
|
|
264
|
-
Created: AugmentedEvent<ApiType, [marketId: u64, who: AccountId32], { marketId: u64, who: AccountId32 }>;
|
|
265
|
-
Deposit: AugmentedEvent<ApiType, [who: AccountId32, marketId: u64, marketRateId: u64, amount: u128, balances: Vec<SugarfungeMarketRateBalance>, success: bool], { who: AccountId32, marketId: u64, marketRateId: u64, amount: u128, balances: Vec<SugarfungeMarketRateBalance>, success: bool }>;
|
|
266
|
-
Exchanged: AugmentedEvent<ApiType, [buyer: AccountId32, marketId: u64, marketRateId: u64, amount: u128, balances: Vec<SugarfungeMarketRateBalance>, success: bool], { buyer: AccountId32, marketId: u64, marketRateId: u64, amount: u128, balances: Vec<SugarfungeMarketRateBalance>, success: bool }>;
|
|
267
|
-
LiquidityAdded: AugmentedEvent<ApiType, [who: AccountId32, marketId: u64, marketRateId: u64, classIds: Vec<u64>, assetIds: Vec<Vec<u64>>, amounts: Vec<Vec<u128>>], { who: AccountId32, marketId: u64, marketRateId: u64, classIds: Vec<u64>, assetIds: Vec<Vec<u64>>, amounts: Vec<Vec<u128>> }>;
|
|
268
|
-
LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, marketId: u64, marketRateId: u64, classIds: Vec<u64>, assetIds: Vec<Vec<u64>>, amounts: Vec<Vec<u128>>], { who: AccountId32, marketId: u64, marketRateId: u64, classIds: Vec<u64>, assetIds: Vec<Vec<u64>>, amounts: Vec<Vec<u128>> }>;
|
|
269
|
-
RateCreated: AugmentedEvent<ApiType, [marketId: u64, marketRateId: u64, who: AccountId32], { marketId: u64, marketRateId: u64, who: AccountId32 }>;
|
|
270
|
-
/**
|
|
271
|
-
* Generic event
|
|
272
|
-
**/
|
|
273
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
274
|
-
};
|
|
275
|
-
pool: {
|
|
276
|
-
/**
|
|
277
|
-
* Pool's capacity has been reached,
|
|
278
|
-
**/
|
|
279
|
-
CapacityReached: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
|
280
|
-
/**
|
|
281
|
-
* A user requested to join a pool.
|
|
282
|
-
**/
|
|
283
|
-
JoinRequested: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32], { account: AccountId32, poolId: u32 }>;
|
|
284
|
-
/**
|
|
285
|
-
* Pool participant left.
|
|
286
|
-
**/
|
|
287
|
-
ParticipantLeft: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32], { account: AccountId32, poolId: u32 }>;
|
|
288
|
-
/**
|
|
289
|
-
* A pool has been created.
|
|
290
|
-
**/
|
|
291
|
-
PoolCreated: AugmentedEvent<ApiType, [owner: Option<AccountId32>, poolId: u32], { owner: Option<AccountId32>, poolId: u32 }>;
|
|
292
|
-
/**
|
|
293
|
-
* A user has withdrawn their request to join a pool.
|
|
294
|
-
**/
|
|
295
|
-
RequestWithdrawn: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32], { account: AccountId32, poolId: u32 }>;
|
|
296
|
-
VotingResult: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32, result: Bytes], { account: AccountId32, poolId: u32, result: Bytes }>;
|
|
297
|
-
/**
|
|
298
|
-
* Generic event
|
|
299
|
-
**/
|
|
300
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
301
|
-
};
|
|
302
|
-
scheduler: {
|
|
303
|
-
/**
|
|
304
|
-
* The call for the provided hash was not found so the task has been aborted.
|
|
305
|
-
**/
|
|
306
|
-
CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
307
|
-
/**
|
|
308
|
-
* Canceled some task.
|
|
309
|
-
**/
|
|
310
|
-
Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
|
|
311
|
-
/**
|
|
312
|
-
* Dispatched some task.
|
|
313
|
-
**/
|
|
314
|
-
Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
315
|
-
/**
|
|
316
|
-
* The given task was unable to be renewed since the agenda is full at that block.
|
|
317
|
-
**/
|
|
318
|
-
PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
319
|
-
/**
|
|
320
|
-
* The given task can never be executed since it is overweight.
|
|
321
|
-
**/
|
|
322
|
-
PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
323
|
-
/**
|
|
324
|
-
* Scheduled some task.
|
|
325
|
-
**/
|
|
326
|
-
Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
|
|
327
|
-
/**
|
|
328
|
-
* Generic event
|
|
329
|
-
**/
|
|
330
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
331
|
-
};
|
|
332
|
-
session: {
|
|
333
|
-
/**
|
|
334
|
-
* New session has happened. Note that the argument is the session index, not the
|
|
335
|
-
* block number as the type might suggest.
|
|
336
|
-
**/
|
|
337
|
-
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
|
338
|
-
/**
|
|
339
|
-
* Generic event
|
|
340
|
-
**/
|
|
341
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
342
|
-
};
|
|
343
|
-
sudo: {
|
|
344
|
-
/**
|
|
345
|
-
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
|
|
346
|
-
**/
|
|
347
|
-
KeyChanged: AugmentedEvent<ApiType, [oldSudoer: Option<AccountId32>], { oldSudoer: Option<AccountId32> }>;
|
|
348
|
-
/**
|
|
349
|
-
* A sudo just took place. \[result\]
|
|
350
|
-
**/
|
|
351
|
-
Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
|
|
352
|
-
/**
|
|
353
|
-
* A sudo just took place. \[result\]
|
|
354
|
-
**/
|
|
355
|
-
SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
|
|
356
|
-
/**
|
|
357
|
-
* Generic event
|
|
358
|
-
**/
|
|
359
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
360
|
-
};
|
|
361
|
-
system: {
|
|
362
|
-
/**
|
|
363
|
-
* `:code` was updated.
|
|
364
|
-
**/
|
|
365
|
-
CodeUpdated: AugmentedEvent<ApiType, []>;
|
|
366
|
-
/**
|
|
367
|
-
* An extrinsic failed.
|
|
368
|
-
**/
|
|
369
|
-
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
|
370
|
-
/**
|
|
371
|
-
* An extrinsic completed successfully.
|
|
372
|
-
**/
|
|
373
|
-
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
|
374
|
-
/**
|
|
375
|
-
* An account was reaped.
|
|
376
|
-
**/
|
|
377
|
-
KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
378
|
-
/**
|
|
379
|
-
* A new account was created.
|
|
380
|
-
**/
|
|
381
|
-
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
382
|
-
/**
|
|
383
|
-
* On on-chain remark happened.
|
|
384
|
-
**/
|
|
385
|
-
Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
|
|
386
|
-
/**
|
|
387
|
-
* Generic event
|
|
388
|
-
**/
|
|
389
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
390
|
-
};
|
|
391
|
-
transactionPayment: {
|
|
392
|
-
/**
|
|
393
|
-
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
394
|
-
* has been paid by `who`.
|
|
395
|
-
**/
|
|
396
|
-
TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], { who: AccountId32, actualFee: u128, tip: u128 }>;
|
|
397
|
-
/**
|
|
398
|
-
* Generic event
|
|
399
|
-
**/
|
|
400
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
401
|
-
};
|
|
402
|
-
utility: {
|
|
403
|
-
/**
|
|
404
|
-
* Batch of dispatches completed fully with no error.
|
|
405
|
-
**/
|
|
406
|
-
BatchCompleted: AugmentedEvent<ApiType, []>;
|
|
407
|
-
/**
|
|
408
|
-
* Batch of dispatches completed but has errors.
|
|
409
|
-
**/
|
|
410
|
-
BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
|
|
411
|
-
/**
|
|
412
|
-
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
413
|
-
* well as the error.
|
|
414
|
-
**/
|
|
415
|
-
BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32, error: SpRuntimeDispatchError }>;
|
|
416
|
-
/**
|
|
417
|
-
* A call was dispatched.
|
|
418
|
-
**/
|
|
419
|
-
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
|
420
|
-
/**
|
|
421
|
-
* A single item within a Batch of dispatches has completed with no error.
|
|
422
|
-
**/
|
|
423
|
-
ItemCompleted: AugmentedEvent<ApiType, []>;
|
|
424
|
-
/**
|
|
425
|
-
* A single item within a Batch of dispatches has completed with error.
|
|
426
|
-
**/
|
|
427
|
-
ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError }>;
|
|
428
|
-
/**
|
|
429
|
-
* Generic event
|
|
430
|
-
**/
|
|
431
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
432
|
-
};
|
|
433
|
-
validatorSet: {
|
|
434
|
-
/**
|
|
435
|
-
* New validator addition initiated. Effective in ~2 sessions.
|
|
436
|
-
**/
|
|
437
|
-
ValidatorAdditionInitiated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
438
|
-
/**
|
|
439
|
-
* Validator removal initiated. Effective in ~2 sessions.
|
|
440
|
-
**/
|
|
441
|
-
ValidatorRemovalInitiated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
442
|
-
/**
|
|
443
|
-
* Generic event
|
|
444
|
-
**/
|
|
445
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
446
|
-
};
|
|
447
|
-
} // AugmentedEvents
|
|
448
|
-
} // declare module
|
|
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, U8aFixed, Vec, bool, i32, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
|
10
|
+
import type { ITuple } from '@polkadot/types-codec/types';
|
|
11
|
+
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
12
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, FunctionlandFulaChallengeState, FunctionlandFulaManifestAvailable, FunctionlandFulaManifestWithPoolId, FunctionlandFulaStorerData, PalletImOnlineSr25519AppSr25519Public, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError, SugarfungeMarketRateBalance } 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
|
+
asset: {
|
|
19
|
+
AssetCreated: AugmentedEvent<ApiType, [classId: u64, assetId: u64, who: AccountId32], { classId: u64, assetId: u64, who: AccountId32 }>;
|
|
20
|
+
AssetMetadataUpdated: AugmentedEvent<ApiType, [classId: u64, assetId: u64, who: AccountId32, metadata: Bytes], { classId: u64, assetId: u64, who: AccountId32, metadata: Bytes }>;
|
|
21
|
+
BatchBurn: AugmentedEvent<ApiType, [who: AccountId32, from: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128>], { who: AccountId32, from: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128> }>;
|
|
22
|
+
BatchMint: AugmentedEvent<ApiType, [who: AccountId32, to: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128>], { who: AccountId32, to: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128> }>;
|
|
23
|
+
BatchTransferred: AugmentedEvent<ApiType, [who: AccountId32, from: AccountId32, to: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128>], { who: AccountId32, from: AccountId32, to: AccountId32, classId: u64, assetIds: Vec<u64>, amounts: Vec<u128> }>;
|
|
24
|
+
Burn: AugmentedEvent<ApiType, [who: AccountId32, from: AccountId32, classId: u64, assetId: u64, amount: u128], { who: AccountId32, from: AccountId32, classId: u64, assetId: u64, amount: u128 }>;
|
|
25
|
+
ClassCreated: AugmentedEvent<ApiType, [classId: u64, who: AccountId32], { classId: u64, who: AccountId32 }>;
|
|
26
|
+
Mint: AugmentedEvent<ApiType, [who: AccountId32, to: AccountId32, classId: u64, assetId: u64, amount: u128], { who: AccountId32, to: AccountId32, classId: u64, assetId: u64, amount: u128 }>;
|
|
27
|
+
OperatorApprovalForAll: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, classId: u64, approved: bool], { who: AccountId32, operator: AccountId32, classId: u64, approved: bool }>;
|
|
28
|
+
Transferred: AugmentedEvent<ApiType, [who: AccountId32, from: AccountId32, to: AccountId32, classId: u64, assetId: u64, amount: u128], { who: AccountId32, from: AccountId32, to: AccountId32, classId: u64, assetId: u64, amount: u128 }>;
|
|
29
|
+
/**
|
|
30
|
+
* Generic event
|
|
31
|
+
**/
|
|
32
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
33
|
+
};
|
|
34
|
+
bag: {
|
|
35
|
+
Created: AugmentedEvent<ApiType, [bag: AccountId32, who: AccountId32, classId: u64, assetId: u64, owners: Vec<AccountId32>], { bag: AccountId32, who: AccountId32, classId: u64, assetId: u64, owners: Vec<AccountId32> }>;
|
|
36
|
+
Deposit: AugmentedEvent<ApiType, [bag: AccountId32, who: AccountId32], { bag: AccountId32, who: AccountId32 }>;
|
|
37
|
+
Register: AugmentedEvent<ApiType, [who: AccountId32, classId: u64], { who: AccountId32, classId: u64 }>;
|
|
38
|
+
Sweep: AugmentedEvent<ApiType, [bag: AccountId32, who: AccountId32, to: AccountId32], { bag: AccountId32, who: AccountId32, to: AccountId32 }>;
|
|
39
|
+
/**
|
|
40
|
+
* Generic event
|
|
41
|
+
**/
|
|
42
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
43
|
+
};
|
|
44
|
+
balances: {
|
|
45
|
+
/**
|
|
46
|
+
* A balance was set by root.
|
|
47
|
+
**/
|
|
48
|
+
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], { who: AccountId32, free: u128 }>;
|
|
49
|
+
/**
|
|
50
|
+
* Some amount was burned from an account.
|
|
51
|
+
**/
|
|
52
|
+
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
53
|
+
/**
|
|
54
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
55
|
+
**/
|
|
56
|
+
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
57
|
+
/**
|
|
58
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
59
|
+
* resulting in an outright loss.
|
|
60
|
+
**/
|
|
61
|
+
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
|
|
62
|
+
/**
|
|
63
|
+
* An account was created with some free balance.
|
|
64
|
+
**/
|
|
65
|
+
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
|
66
|
+
/**
|
|
67
|
+
* Some balance was frozen.
|
|
68
|
+
**/
|
|
69
|
+
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
70
|
+
/**
|
|
71
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
72
|
+
**/
|
|
73
|
+
Issued: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
|
|
74
|
+
/**
|
|
75
|
+
* Some balance was locked.
|
|
76
|
+
**/
|
|
77
|
+
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
78
|
+
/**
|
|
79
|
+
* Some amount was minted into an account.
|
|
80
|
+
**/
|
|
81
|
+
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
82
|
+
/**
|
|
83
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
84
|
+
**/
|
|
85
|
+
Rescinded: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
|
|
86
|
+
/**
|
|
87
|
+
* Some balance was reserved (moved from free to reserved).
|
|
88
|
+
**/
|
|
89
|
+
Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
90
|
+
/**
|
|
91
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
92
|
+
* Final argument indicates the destination balance type.
|
|
93
|
+
**/
|
|
94
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus }>;
|
|
95
|
+
/**
|
|
96
|
+
* Some amount was restored into an account.
|
|
97
|
+
**/
|
|
98
|
+
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
99
|
+
/**
|
|
100
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
101
|
+
**/
|
|
102
|
+
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
103
|
+
/**
|
|
104
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
105
|
+
**/
|
|
106
|
+
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
107
|
+
/**
|
|
108
|
+
* Some balance was thawed.
|
|
109
|
+
**/
|
|
110
|
+
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
111
|
+
/**
|
|
112
|
+
* Transfer succeeded.
|
|
113
|
+
**/
|
|
114
|
+
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
115
|
+
/**
|
|
116
|
+
* Some balance was unlocked.
|
|
117
|
+
**/
|
|
118
|
+
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
119
|
+
/**
|
|
120
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
121
|
+
**/
|
|
122
|
+
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
123
|
+
/**
|
|
124
|
+
* An account was upgraded.
|
|
125
|
+
**/
|
|
126
|
+
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
127
|
+
/**
|
|
128
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
129
|
+
**/
|
|
130
|
+
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
|
131
|
+
/**
|
|
132
|
+
* Generic event
|
|
133
|
+
**/
|
|
134
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
135
|
+
};
|
|
136
|
+
bundle: {
|
|
137
|
+
Burn: AugmentedEvent<ApiType, [bundleId: H256, who: AccountId32, from: AccountId32, to: AccountId32, amount: u128], { bundleId: H256, who: AccountId32, from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
138
|
+
Mint: AugmentedEvent<ApiType, [bundleId: H256, who: AccountId32, from: AccountId32, to: AccountId32, amount: u128], { bundleId: H256, who: AccountId32, from: AccountId32, to: AccountId32, amount: u128 }>;
|
|
139
|
+
Register: AugmentedEvent<ApiType, [bundleId: H256, who: AccountId32, classId: u64, assetId: u64], { bundleId: H256, who: AccountId32, classId: u64, assetId: u64 }>;
|
|
140
|
+
/**
|
|
141
|
+
* Generic event
|
|
142
|
+
**/
|
|
143
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
144
|
+
};
|
|
145
|
+
council: {
|
|
146
|
+
/**
|
|
147
|
+
* A motion was approved by the required threshold.
|
|
148
|
+
**/
|
|
149
|
+
Approved: AugmentedEvent<ApiType, [proposalHash: H256], { proposalHash: H256 }>;
|
|
150
|
+
/**
|
|
151
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
152
|
+
**/
|
|
153
|
+
Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256, yes: u32, no: u32 }>;
|
|
154
|
+
/**
|
|
155
|
+
* A motion was not approved by the required threshold.
|
|
156
|
+
**/
|
|
157
|
+
Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], { proposalHash: H256 }>;
|
|
158
|
+
/**
|
|
159
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
160
|
+
**/
|
|
161
|
+
Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], { proposalHash: H256, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
162
|
+
/**
|
|
163
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
164
|
+
**/
|
|
165
|
+
MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], { proposalHash: H256, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
166
|
+
/**
|
|
167
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
168
|
+
* `MemberCount`).
|
|
169
|
+
**/
|
|
170
|
+
Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32 }>;
|
|
171
|
+
/**
|
|
172
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
173
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
174
|
+
**/
|
|
175
|
+
Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32 }>;
|
|
176
|
+
/**
|
|
177
|
+
* Generic event
|
|
178
|
+
**/
|
|
179
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
180
|
+
};
|
|
181
|
+
dao: {
|
|
182
|
+
/**
|
|
183
|
+
* Event documentation should end with an array that provides descriptive names for event
|
|
184
|
+
* parameters. [something, who]
|
|
185
|
+
**/
|
|
186
|
+
SomethingStored: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
187
|
+
/**
|
|
188
|
+
* Generic event
|
|
189
|
+
**/
|
|
190
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
191
|
+
};
|
|
192
|
+
exgine: {
|
|
193
|
+
/**
|
|
194
|
+
* Event documentation should end with an array that provides descriptive names for event
|
|
195
|
+
* parameters. [something, who]
|
|
196
|
+
**/
|
|
197
|
+
SomethingStored: AugmentedEvent<ApiType, [u32, AccountId32]>;
|
|
198
|
+
/**
|
|
199
|
+
* Generic event
|
|
200
|
+
**/
|
|
201
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
202
|
+
};
|
|
203
|
+
fula: {
|
|
204
|
+
BatchManifestOutput: AugmentedEvent<ApiType, [uploader: AccountId32, poolIds: Vec<u32>, manifests: Vec<Bytes>], { uploader: AccountId32, poolIds: Vec<u32>, manifests: Vec<Bytes> }>;
|
|
205
|
+
BatchManifestRemoved: AugmentedEvent<ApiType, [uploader: AccountId32, poolIds: Vec<u32>, cids: Vec<Bytes>], { uploader: AccountId32, poolIds: Vec<u32>, cids: Vec<Bytes> }>;
|
|
206
|
+
BatchRemoveStorerOutput: AugmentedEvent<ApiType, [storer: AccountId32, poolId: u32, cids: Vec<Bytes>], { storer: AccountId32, poolId: u32, cids: Vec<Bytes> }>;
|
|
207
|
+
BatchStorageManifestOutput: AugmentedEvent<ApiType, [storer: AccountId32, poolId: u32, cids: Vec<Bytes>], { storer: AccountId32, poolId: u32, cids: Vec<Bytes> }>;
|
|
208
|
+
Challenge: AugmentedEvent<ApiType, [challenger: AccountId32, challenged: AccountId32, cid: Bytes, state: FunctionlandFulaChallengeState], { challenger: AccountId32, challenged: AccountId32, cid: Bytes, state: FunctionlandFulaChallengeState }>;
|
|
209
|
+
GetAvailableManifests: AugmentedEvent<ApiType, [manifests: Vec<FunctionlandFulaManifestAvailable>], { manifests: Vec<FunctionlandFulaManifestAvailable> }>;
|
|
210
|
+
GetManifests: AugmentedEvent<ApiType, [manifests: Vec<FunctionlandFulaManifestWithPoolId>], { manifests: Vec<FunctionlandFulaManifestWithPoolId> }>;
|
|
211
|
+
GetManifestsStorerData: AugmentedEvent<ApiType, [manifests: Vec<FunctionlandFulaStorerData>], { manifests: Vec<FunctionlandFulaStorerData> }>;
|
|
212
|
+
ManifestOutput: AugmentedEvent<ApiType, [uploader: AccountId32, storer: Vec<AccountId32>, poolId: u32, manifest: Bytes], { uploader: AccountId32, storer: Vec<AccountId32>, poolId: u32, manifest: Bytes }>;
|
|
213
|
+
ManifestRemoved: AugmentedEvent<ApiType, [uploader: AccountId32, poolId: u32, cid: Bytes], { uploader: AccountId32, poolId: u32, cid: Bytes }>;
|
|
214
|
+
ManifestStorageUpdated: AugmentedEvent<ApiType, [storer: AccountId32, poolId: u32, cid: Bytes, activeCycles: u16, missedCycles: u16, activeDays: i32], { storer: AccountId32, poolId: u32, cid: Bytes, activeCycles: u16, missedCycles: u16, activeDays: i32 }>;
|
|
215
|
+
MintedLaborTokens: AugmentedEvent<ApiType, [account: AccountId32, classId: u64, assetId: u64, amount: u128, calculatedAmount: u128], { account: AccountId32, classId: u64, assetId: u64, amount: u128, calculatedAmount: u128 }>;
|
|
216
|
+
RemoveStorerOutput: AugmentedEvent<ApiType, [storer: Option<AccountId32>, poolId: u32, cid: Bytes], { storer: Option<AccountId32>, poolId: u32, cid: Bytes }>;
|
|
217
|
+
StorageManifestOutput: AugmentedEvent<ApiType, [storer: AccountId32, poolId: u32, cid: Bytes], { storer: AccountId32, poolId: u32, cid: Bytes }>;
|
|
218
|
+
UpdateFileSizeOutput: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32, cid: Bytes, size_: u64], { account: AccountId32, poolId: u32, cid: Bytes, size_: u64 }>;
|
|
219
|
+
UpdateFileSizesOutput: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32, cids: Vec<Bytes>, sizes: Vec<u64>], { account: AccountId32, poolId: u32, cids: Vec<Bytes>, sizes: Vec<u64> }>;
|
|
220
|
+
VerifiedChallenges: AugmentedEvent<ApiType, [challenged: AccountId32, successful: Vec<Bytes>, failed: Vec<Bytes>], { challenged: AccountId32, successful: Vec<Bytes>, failed: Vec<Bytes> }>;
|
|
221
|
+
VerifiedStorerManifests: AugmentedEvent<ApiType, [storer: AccountId32, validCids: Vec<Bytes>, invalidCids: Vec<Bytes>], { storer: AccountId32, validCids: Vec<Bytes>, invalidCids: Vec<Bytes> }>;
|
|
222
|
+
/**
|
|
223
|
+
* Generic event
|
|
224
|
+
**/
|
|
225
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
226
|
+
};
|
|
227
|
+
grandpa: {
|
|
228
|
+
/**
|
|
229
|
+
* New authority set has been applied.
|
|
230
|
+
**/
|
|
231
|
+
NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], { authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>> }>;
|
|
232
|
+
/**
|
|
233
|
+
* Current authority set has been paused.
|
|
234
|
+
**/
|
|
235
|
+
Paused: AugmentedEvent<ApiType, []>;
|
|
236
|
+
/**
|
|
237
|
+
* Current authority set has been resumed.
|
|
238
|
+
**/
|
|
239
|
+
Resumed: AugmentedEvent<ApiType, []>;
|
|
240
|
+
/**
|
|
241
|
+
* Generic event
|
|
242
|
+
**/
|
|
243
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
244
|
+
};
|
|
245
|
+
imOnline: {
|
|
246
|
+
/**
|
|
247
|
+
* At the end of the session, no offence was committed.
|
|
248
|
+
**/
|
|
249
|
+
AllGood: AugmentedEvent<ApiType, []>;
|
|
250
|
+
/**
|
|
251
|
+
* A new heartbeat was received from `AuthorityId`.
|
|
252
|
+
**/
|
|
253
|
+
HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], { authorityId: PalletImOnlineSr25519AppSr25519Public }>;
|
|
254
|
+
/**
|
|
255
|
+
* At the end of the session, at least one validator was found to be offline.
|
|
256
|
+
**/
|
|
257
|
+
SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, AccountId32]>>], { offline: Vec<ITuple<[AccountId32, AccountId32]>> }>;
|
|
258
|
+
/**
|
|
259
|
+
* Generic event
|
|
260
|
+
**/
|
|
261
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
262
|
+
};
|
|
263
|
+
market: {
|
|
264
|
+
Created: AugmentedEvent<ApiType, [marketId: u64, who: AccountId32], { marketId: u64, who: AccountId32 }>;
|
|
265
|
+
Deposit: AugmentedEvent<ApiType, [who: AccountId32, marketId: u64, marketRateId: u64, amount: u128, balances: Vec<SugarfungeMarketRateBalance>, success: bool], { who: AccountId32, marketId: u64, marketRateId: u64, amount: u128, balances: Vec<SugarfungeMarketRateBalance>, success: bool }>;
|
|
266
|
+
Exchanged: AugmentedEvent<ApiType, [buyer: AccountId32, marketId: u64, marketRateId: u64, amount: u128, balances: Vec<SugarfungeMarketRateBalance>, success: bool], { buyer: AccountId32, marketId: u64, marketRateId: u64, amount: u128, balances: Vec<SugarfungeMarketRateBalance>, success: bool }>;
|
|
267
|
+
LiquidityAdded: AugmentedEvent<ApiType, [who: AccountId32, marketId: u64, marketRateId: u64, classIds: Vec<u64>, assetIds: Vec<Vec<u64>>, amounts: Vec<Vec<u128>>], { who: AccountId32, marketId: u64, marketRateId: u64, classIds: Vec<u64>, assetIds: Vec<Vec<u64>>, amounts: Vec<Vec<u128>> }>;
|
|
268
|
+
LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, marketId: u64, marketRateId: u64, classIds: Vec<u64>, assetIds: Vec<Vec<u64>>, amounts: Vec<Vec<u128>>], { who: AccountId32, marketId: u64, marketRateId: u64, classIds: Vec<u64>, assetIds: Vec<Vec<u64>>, amounts: Vec<Vec<u128>> }>;
|
|
269
|
+
RateCreated: AugmentedEvent<ApiType, [marketId: u64, marketRateId: u64, who: AccountId32], { marketId: u64, marketRateId: u64, who: AccountId32 }>;
|
|
270
|
+
/**
|
|
271
|
+
* Generic event
|
|
272
|
+
**/
|
|
273
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
274
|
+
};
|
|
275
|
+
pool: {
|
|
276
|
+
/**
|
|
277
|
+
* Pool's capacity has been reached,
|
|
278
|
+
**/
|
|
279
|
+
CapacityReached: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
|
280
|
+
/**
|
|
281
|
+
* A user requested to join a pool.
|
|
282
|
+
**/
|
|
283
|
+
JoinRequested: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32], { account: AccountId32, poolId: u32 }>;
|
|
284
|
+
/**
|
|
285
|
+
* Pool participant left.
|
|
286
|
+
**/
|
|
287
|
+
ParticipantLeft: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32], { account: AccountId32, poolId: u32 }>;
|
|
288
|
+
/**
|
|
289
|
+
* A pool has been created.
|
|
290
|
+
**/
|
|
291
|
+
PoolCreated: AugmentedEvent<ApiType, [owner: Option<AccountId32>, poolId: u32], { owner: Option<AccountId32>, poolId: u32 }>;
|
|
292
|
+
/**
|
|
293
|
+
* A user has withdrawn their request to join a pool.
|
|
294
|
+
**/
|
|
295
|
+
RequestWithdrawn: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32], { account: AccountId32, poolId: u32 }>;
|
|
296
|
+
VotingResult: AugmentedEvent<ApiType, [account: AccountId32, poolId: u32, result: Bytes], { account: AccountId32, poolId: u32, result: Bytes }>;
|
|
297
|
+
/**
|
|
298
|
+
* Generic event
|
|
299
|
+
**/
|
|
300
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
301
|
+
};
|
|
302
|
+
scheduler: {
|
|
303
|
+
/**
|
|
304
|
+
* The call for the provided hash was not found so the task has been aborted.
|
|
305
|
+
**/
|
|
306
|
+
CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
307
|
+
/**
|
|
308
|
+
* Canceled some task.
|
|
309
|
+
**/
|
|
310
|
+
Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
|
|
311
|
+
/**
|
|
312
|
+
* Dispatched some task.
|
|
313
|
+
**/
|
|
314
|
+
Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>;
|
|
315
|
+
/**
|
|
316
|
+
* The given task was unable to be renewed since the agenda is full at that block.
|
|
317
|
+
**/
|
|
318
|
+
PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
319
|
+
/**
|
|
320
|
+
* The given task can never be executed since it is overweight.
|
|
321
|
+
**/
|
|
322
|
+
PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
|
|
323
|
+
/**
|
|
324
|
+
* Scheduled some task.
|
|
325
|
+
**/
|
|
326
|
+
Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
|
|
327
|
+
/**
|
|
328
|
+
* Generic event
|
|
329
|
+
**/
|
|
330
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
331
|
+
};
|
|
332
|
+
session: {
|
|
333
|
+
/**
|
|
334
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
335
|
+
* block number as the type might suggest.
|
|
336
|
+
**/
|
|
337
|
+
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
|
338
|
+
/**
|
|
339
|
+
* Generic event
|
|
340
|
+
**/
|
|
341
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
342
|
+
};
|
|
343
|
+
sudo: {
|
|
344
|
+
/**
|
|
345
|
+
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
|
|
346
|
+
**/
|
|
347
|
+
KeyChanged: AugmentedEvent<ApiType, [oldSudoer: Option<AccountId32>], { oldSudoer: Option<AccountId32> }>;
|
|
348
|
+
/**
|
|
349
|
+
* A sudo just took place. \[result\]
|
|
350
|
+
**/
|
|
351
|
+
Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
|
|
352
|
+
/**
|
|
353
|
+
* A sudo just took place. \[result\]
|
|
354
|
+
**/
|
|
355
|
+
SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
|
|
356
|
+
/**
|
|
357
|
+
* Generic event
|
|
358
|
+
**/
|
|
359
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
360
|
+
};
|
|
361
|
+
system: {
|
|
362
|
+
/**
|
|
363
|
+
* `:code` was updated.
|
|
364
|
+
**/
|
|
365
|
+
CodeUpdated: AugmentedEvent<ApiType, []>;
|
|
366
|
+
/**
|
|
367
|
+
* An extrinsic failed.
|
|
368
|
+
**/
|
|
369
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
|
370
|
+
/**
|
|
371
|
+
* An extrinsic completed successfully.
|
|
372
|
+
**/
|
|
373
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
|
374
|
+
/**
|
|
375
|
+
* An account was reaped.
|
|
376
|
+
**/
|
|
377
|
+
KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
378
|
+
/**
|
|
379
|
+
* A new account was created.
|
|
380
|
+
**/
|
|
381
|
+
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
|
382
|
+
/**
|
|
383
|
+
* On on-chain remark happened.
|
|
384
|
+
**/
|
|
385
|
+
Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
|
|
386
|
+
/**
|
|
387
|
+
* Generic event
|
|
388
|
+
**/
|
|
389
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
390
|
+
};
|
|
391
|
+
transactionPayment: {
|
|
392
|
+
/**
|
|
393
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
394
|
+
* has been paid by `who`.
|
|
395
|
+
**/
|
|
396
|
+
TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], { who: AccountId32, actualFee: u128, tip: u128 }>;
|
|
397
|
+
/**
|
|
398
|
+
* Generic event
|
|
399
|
+
**/
|
|
400
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
401
|
+
};
|
|
402
|
+
utility: {
|
|
403
|
+
/**
|
|
404
|
+
* Batch of dispatches completed fully with no error.
|
|
405
|
+
**/
|
|
406
|
+
BatchCompleted: AugmentedEvent<ApiType, []>;
|
|
407
|
+
/**
|
|
408
|
+
* Batch of dispatches completed but has errors.
|
|
409
|
+
**/
|
|
410
|
+
BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
|
|
411
|
+
/**
|
|
412
|
+
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
413
|
+
* well as the error.
|
|
414
|
+
**/
|
|
415
|
+
BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32, error: SpRuntimeDispatchError }>;
|
|
416
|
+
/**
|
|
417
|
+
* A call was dispatched.
|
|
418
|
+
**/
|
|
419
|
+
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
|
420
|
+
/**
|
|
421
|
+
* A single item within a Batch of dispatches has completed with no error.
|
|
422
|
+
**/
|
|
423
|
+
ItemCompleted: AugmentedEvent<ApiType, []>;
|
|
424
|
+
/**
|
|
425
|
+
* A single item within a Batch of dispatches has completed with error.
|
|
426
|
+
**/
|
|
427
|
+
ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError }>;
|
|
428
|
+
/**
|
|
429
|
+
* Generic event
|
|
430
|
+
**/
|
|
431
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
432
|
+
};
|
|
433
|
+
validatorSet: {
|
|
434
|
+
/**
|
|
435
|
+
* New validator addition initiated. Effective in ~2 sessions.
|
|
436
|
+
**/
|
|
437
|
+
ValidatorAdditionInitiated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
438
|
+
/**
|
|
439
|
+
* Validator removal initiated. Effective in ~2 sessions.
|
|
440
|
+
**/
|
|
441
|
+
ValidatorRemovalInitiated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
442
|
+
/**
|
|
443
|
+
* Generic event
|
|
444
|
+
**/
|
|
445
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
446
|
+
};
|
|
447
|
+
} // AugmentedEvents
|
|
448
|
+
} // declare module
|