@d9-network/spec 1.2.2 → 1.2.4
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/node_modules/@polkadot-api/descriptors/dist/chunk-7P6ASYW6.mjs +9 -0
- package/node_modules/@polkadot-api/descriptors/dist/common-types.d.ts +3371 -0
- package/node_modules/@polkadot-api/descriptors/dist/common.d.ts +1 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/burnManager.d.ts +183 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/burnMining.d.ts +184 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/crossChainTransfer.d.ts +249 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/index.d.ts +8 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/marketMaker.d.ts +209 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/merchantMining.d.ts +263 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/miningPool.d.ts +159 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/nodeReward.d.ts +172 -0
- package/node_modules/@polkadot-api/descriptors/dist/contracts/usdt.d.ts +145 -0
- package/node_modules/@polkadot-api/descriptors/dist/d9.d.ts +3346 -0
- package/node_modules/@polkadot-api/descriptors/dist/d9_metadata-EHIEZLL5.mjs +8 -0
- package/node_modules/@polkadot-api/descriptors/dist/d9_metadata.d.ts +2 -0
- package/node_modules/@polkadot-api/descriptors/dist/descriptors-JQ4ZJQ4V.mjs +29 -0
- package/node_modules/@polkadot-api/descriptors/dist/descriptors.d.ts +1 -0
- package/node_modules/@polkadot-api/descriptors/dist/index.d.ts +11 -0
- package/node_modules/@polkadot-api/descriptors/dist/index.js +200 -0
- package/node_modules/@polkadot-api/descriptors/dist/index.mjs +115 -0
- package/node_modules/@polkadot-api/descriptors/dist/metadataTypes-32V7BYUB.mjs +8 -0
- package/node_modules/@polkadot-api/descriptors/dist/metadataTypes.d.ts +2 -0
- package/node_modules/@polkadot-api/descriptors/generated.json +1 -0
- package/node_modules/@polkadot-api/descriptors/package.json +24 -0
- package/package.json +5 -2
|
@@ -0,0 +1,3371 @@
|
|
|
1
|
+
import { Enum, GetEnum, FixedSizeBinary, SS58String, FixedSizeArray, Binary, ResultPayload, TxCallData } from "polkadot-api";
|
|
2
|
+
type AnonymousEnum<T extends {}> = T & {
|
|
3
|
+
__anonymous: true;
|
|
4
|
+
};
|
|
5
|
+
type MyTuple<T> = [T, ...T[]];
|
|
6
|
+
type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
|
|
7
|
+
type Anonymize<T> = SeparateUndefined<T extends FixedSizeBinary<infer L> ? number extends L ? Binary : FixedSizeBinary<L> : T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
|
|
8
|
+
[K in keyof T]: T[K];
|
|
9
|
+
} : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
|
|
10
|
+
[K in keyof T & string]: T[K];
|
|
11
|
+
}>;
|
|
12
|
+
export type Ic5m5lp1oioo8r = Array<FixedSizeBinary<32>>;
|
|
13
|
+
export type Ihfphjolmsqq1 = (SS58String) | undefined;
|
|
14
|
+
export type Idrurqd6ddlmr3 = {
|
|
15
|
+
"total": bigint;
|
|
16
|
+
"delegated": bigint;
|
|
17
|
+
};
|
|
18
|
+
export type I2na29tt2afp0j = FixedSizeArray<2, SS58String>;
|
|
19
|
+
export type Ia2lhg7l2hilo3 = Array<SS58String>;
|
|
20
|
+
export type I9ft3qmrv5je1f = {
|
|
21
|
+
"account_id": SS58String;
|
|
22
|
+
"total_votes": bigint;
|
|
23
|
+
"self_votes": bigint;
|
|
24
|
+
"delegated_votes": bigint;
|
|
25
|
+
};
|
|
26
|
+
export type I8oim79f1d4kf0 = {
|
|
27
|
+
"name": Binary;
|
|
28
|
+
"sharing_percent": number;
|
|
29
|
+
"index_of_last_percent_change": number;
|
|
30
|
+
};
|
|
31
|
+
export type I1q8tnt1cluu5j = {
|
|
32
|
+
"free": bigint;
|
|
33
|
+
"reserved": bigint;
|
|
34
|
+
"frozen": bigint;
|
|
35
|
+
"flags": bigint;
|
|
36
|
+
};
|
|
37
|
+
export type I8ds64oj6581v0 = Array<{
|
|
38
|
+
"id": FixedSizeBinary<8>;
|
|
39
|
+
"amount": bigint;
|
|
40
|
+
"reasons": BalancesTypesReasons;
|
|
41
|
+
}>;
|
|
42
|
+
export type BalancesTypesReasons = Enum<{
|
|
43
|
+
"Fee": undefined;
|
|
44
|
+
"Misc": undefined;
|
|
45
|
+
"All": undefined;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const BalancesTypesReasons: GetEnum<BalancesTypesReasons>;
|
|
48
|
+
export type I9bin2jc70qt6q = Array<Anonymize<I3qt1hgg4djhgb>>;
|
|
49
|
+
export type I3qt1hgg4djhgb = {
|
|
50
|
+
"amount": bigint;
|
|
51
|
+
};
|
|
52
|
+
export type GrandpaStoredState = Enum<{
|
|
53
|
+
"Live": undefined;
|
|
54
|
+
"PendingPause": {
|
|
55
|
+
"scheduled_at": number;
|
|
56
|
+
"delay": number;
|
|
57
|
+
};
|
|
58
|
+
"Paused": undefined;
|
|
59
|
+
"PendingResume": {
|
|
60
|
+
"scheduled_at": number;
|
|
61
|
+
"delay": number;
|
|
62
|
+
};
|
|
63
|
+
}>;
|
|
64
|
+
export declare const GrandpaStoredState: GetEnum<GrandpaStoredState>;
|
|
65
|
+
export type I7pe2me3i3vtn9 = {
|
|
66
|
+
"scheduled_at": number;
|
|
67
|
+
"delay": number;
|
|
68
|
+
"next_authorities": Anonymize<I3geksg000c171>;
|
|
69
|
+
"forced"?: (number) | undefined;
|
|
70
|
+
};
|
|
71
|
+
export type I3geksg000c171 = Array<[FixedSizeBinary<32>, bigint]>;
|
|
72
|
+
export type I9jd27rnpm8ttv = FixedSizeArray<2, number>;
|
|
73
|
+
export type I5sesotjlssv2d = {
|
|
74
|
+
"nonce": number;
|
|
75
|
+
"consumers": number;
|
|
76
|
+
"providers": number;
|
|
77
|
+
"sufficients": number;
|
|
78
|
+
"data": Anonymize<I1q8tnt1cluu5j>;
|
|
79
|
+
};
|
|
80
|
+
export type Iffmde3ekjedi9 = {
|
|
81
|
+
"normal": Anonymize<I4q39t5hn830vp>;
|
|
82
|
+
"operational": Anonymize<I4q39t5hn830vp>;
|
|
83
|
+
"mandatory": Anonymize<I4q39t5hn830vp>;
|
|
84
|
+
};
|
|
85
|
+
export type I4q39t5hn830vp = {
|
|
86
|
+
"ref_time": bigint;
|
|
87
|
+
"proof_size": bigint;
|
|
88
|
+
};
|
|
89
|
+
export type I4mddgoa69c0a2 = Array<DigestItem>;
|
|
90
|
+
export type DigestItem = Enum<{
|
|
91
|
+
"PreRuntime": Anonymize<I82jm9g7pufuel>;
|
|
92
|
+
"Consensus": Anonymize<I82jm9g7pufuel>;
|
|
93
|
+
"Seal": Anonymize<I82jm9g7pufuel>;
|
|
94
|
+
"Other": Binary;
|
|
95
|
+
"RuntimeEnvironmentUpdated": undefined;
|
|
96
|
+
}>;
|
|
97
|
+
export declare const DigestItem: GetEnum<DigestItem>;
|
|
98
|
+
export type I82jm9g7pufuel = [FixedSizeBinary<4>, Binary];
|
|
99
|
+
export type I4mkleqnhi2c9f = Array<{
|
|
100
|
+
"phase": Phase;
|
|
101
|
+
"event": Enum<{
|
|
102
|
+
"D9Referral": Anonymize<I6nndihevflu7p>;
|
|
103
|
+
"D9Treasury": Anonymize<Ib9qdgri0agbjk>;
|
|
104
|
+
"D9NodeVoting": Anonymize<Iar9gfpo24q8al>;
|
|
105
|
+
"D9NodeRewards": Anonymize<I746vfkm0odi0b>;
|
|
106
|
+
"Balances": Anonymize<Ipa3jfc46ilad>;
|
|
107
|
+
"Grandpa": GrandpaEvent;
|
|
108
|
+
"Sudo": Anonymize<I8p5vdvvd8noco>;
|
|
109
|
+
"System": Anonymize<I3dgmos32o2p8u>;
|
|
110
|
+
"TransactionPayment": TransactionPaymentEvent;
|
|
111
|
+
"Assets": Anonymize<I9ctto4ohg8j86>;
|
|
112
|
+
"Collective": Anonymize<Iscocsvsbndnl>;
|
|
113
|
+
"Contracts": Anonymize<Idk8d6j19bc3dq>;
|
|
114
|
+
"ImOnline": Anonymize<Id110vug875n1o>;
|
|
115
|
+
"Session": SessionEvent;
|
|
116
|
+
"Treasury": Anonymize<I3ul3cf3die25m>;
|
|
117
|
+
"CouncilLock": Anonymize<I76tkr0so3ic0f>;
|
|
118
|
+
"D9MultiSig": Anonymize<Ie8pcvlro0letr>;
|
|
119
|
+
}>;
|
|
120
|
+
"topics": Anonymize<Ic5m5lp1oioo8r>;
|
|
121
|
+
}>;
|
|
122
|
+
export type Phase = Enum<{
|
|
123
|
+
"ApplyExtrinsic": number;
|
|
124
|
+
"Finalization": undefined;
|
|
125
|
+
"Initialization": undefined;
|
|
126
|
+
}>;
|
|
127
|
+
export declare const Phase: GetEnum<Phase>;
|
|
128
|
+
export type I6nndihevflu7p = AnonymousEnum<{
|
|
129
|
+
"NewReferralRelationshipCreated": Anonymize<I2na29tt2afp0j>;
|
|
130
|
+
"NewReferralDepthSet": number;
|
|
131
|
+
"NewDefaultParentSet": SS58String;
|
|
132
|
+
}>;
|
|
133
|
+
export type Ib9qdgri0agbjk = AnonymousEnum<{
|
|
134
|
+
"NewTreasurer": SS58String;
|
|
135
|
+
}>;
|
|
136
|
+
export type Iar9gfpo24q8al = AnonymousEnum<{
|
|
137
|
+
"CandidacySubmitted": SS58String;
|
|
138
|
+
"VotesDelegatedBy": SS58String;
|
|
139
|
+
"CandidacyRemoved": SS58String;
|
|
140
|
+
}>;
|
|
141
|
+
export type I746vfkm0odi0b = AnonymousEnum<{
|
|
142
|
+
"ErrorIssuingRewards": undefined;
|
|
143
|
+
"ContractError": Anonymize<I3015mdrqab6c7>;
|
|
144
|
+
}>;
|
|
145
|
+
export type I3015mdrqab6c7 = AnonymousEnum<{
|
|
146
|
+
"Other": undefined;
|
|
147
|
+
"CannotLookup": undefined;
|
|
148
|
+
"BadOrigin": undefined;
|
|
149
|
+
"Module": Enum<{
|
|
150
|
+
"Aura": undefined;
|
|
151
|
+
"D9Referral": Anonymize<Ifpv76015u5gkc>;
|
|
152
|
+
"D9Treasury": Anonymize<Iafda24oppvo36>;
|
|
153
|
+
"D9NodeVoting": Anonymize<I5sqhmc01la2av>;
|
|
154
|
+
"D9NodeRewards": Anonymize<I3o7tv38281ge4>;
|
|
155
|
+
"Balances": Anonymize<Ife9031aj6on0k>;
|
|
156
|
+
"Grandpa": Anonymize<I7q8i0pp1gkas6>;
|
|
157
|
+
"Sudo": Anonymize<Iaug04qjhbli00>;
|
|
158
|
+
"System": Anonymize<I2b5jj3f5ebo54>;
|
|
159
|
+
"Timestamp": undefined;
|
|
160
|
+
"TransactionPayment": undefined;
|
|
161
|
+
"Assets": Anonymize<Ifn5p2ma236tv1>;
|
|
162
|
+
"AuthorityDiscovery": undefined;
|
|
163
|
+
"Collective": Anonymize<Ife8pdk1gks2gu>;
|
|
164
|
+
"Contracts": Anonymize<I1835a928dq6i9>;
|
|
165
|
+
"Historical": undefined;
|
|
166
|
+
"ImOnline": Anonymize<I8kh6j0q1r930d>;
|
|
167
|
+
"RandomnessCollectiveFlip": undefined;
|
|
168
|
+
"Session": Anonymize<I1e07dgbaqd1sq>;
|
|
169
|
+
"Treasury": Anonymize<I4emjcpgu2307d>;
|
|
170
|
+
"CouncilLock": Anonymize<Id182d0p4ektcl>;
|
|
171
|
+
"D9MultiSig": Anonymize<Iagnr906kpjuvj>;
|
|
172
|
+
}>;
|
|
173
|
+
"ConsumerRemaining": undefined;
|
|
174
|
+
"NoProviders": undefined;
|
|
175
|
+
"TooManyConsumers": undefined;
|
|
176
|
+
"Token": Enum<{
|
|
177
|
+
"FundsUnavailable": undefined;
|
|
178
|
+
"OnlyProvider": undefined;
|
|
179
|
+
"BelowMinimum": undefined;
|
|
180
|
+
"CannotCreate": undefined;
|
|
181
|
+
"UnknownAsset": undefined;
|
|
182
|
+
"Frozen": undefined;
|
|
183
|
+
"Unsupported": undefined;
|
|
184
|
+
"CannotCreateHold": undefined;
|
|
185
|
+
"NotExpendable": undefined;
|
|
186
|
+
}>;
|
|
187
|
+
"Arithmetic": ArithmeticError;
|
|
188
|
+
"Transactional": TransactionalError;
|
|
189
|
+
"Exhausted": undefined;
|
|
190
|
+
"Corruption": undefined;
|
|
191
|
+
"Unavailable": undefined;
|
|
192
|
+
}>;
|
|
193
|
+
export type Ifpv76015u5gkc = AnonymousEnum<{
|
|
194
|
+
"NoReferralAccountRecord": undefined;
|
|
195
|
+
}>;
|
|
196
|
+
export type Iafda24oppvo36 = AnonymousEnum<{
|
|
197
|
+
"OnlyTreasurerCanDoThis": undefined;
|
|
198
|
+
"NoTreasurerSet": undefined;
|
|
199
|
+
}>;
|
|
200
|
+
export type I5sqhmc01la2av = AnonymousEnum<{
|
|
201
|
+
"HexDecodeError": undefined;
|
|
202
|
+
"EmptyDelegationList": undefined;
|
|
203
|
+
"DelegationListTooLarge": undefined;
|
|
204
|
+
"DelegatorHasNoVotingCapacity": undefined;
|
|
205
|
+
"DelegatorHasNoAvailableVotes": undefined;
|
|
206
|
+
"DelegatorHasInsufficientVotes": undefined;
|
|
207
|
+
"AttemptingToRemoveMoreVotesThanDelegated": undefined;
|
|
208
|
+
"CandidateDoesNotExist": undefined;
|
|
209
|
+
"CandidateAlreadyExists": undefined;
|
|
210
|
+
"ErrorGettingNodeMetadata": undefined;
|
|
211
|
+
"VoterDidntDelegateToThisCandidate": undefined;
|
|
212
|
+
"NotActiveValidator": undefined;
|
|
213
|
+
"AtMaximumNumberOfCandidates": undefined;
|
|
214
|
+
"BurnAmountMustBeGreaterThan100": undefined;
|
|
215
|
+
"SupporterShareOutOfRange": undefined;
|
|
216
|
+
"CurrentValidatorCanNotChangeSharePercentage": undefined;
|
|
217
|
+
}>;
|
|
218
|
+
export type I3o7tv38281ge4 = AnonymousEnum<{
|
|
219
|
+
"RestrictedAccess": undefined;
|
|
220
|
+
"NodeRewardContractNotSet": undefined;
|
|
221
|
+
"ErrorUpdatingNodeRewardContract": undefined;
|
|
222
|
+
}>;
|
|
223
|
+
export type Ife9031aj6on0k = AnonymousEnum<{
|
|
224
|
+
/**
|
|
225
|
+
* Vesting balance too high to send value.
|
|
226
|
+
*/
|
|
227
|
+
"VestingBalance": undefined;
|
|
228
|
+
/**
|
|
229
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
230
|
+
*/
|
|
231
|
+
"LiquidityRestrictions": undefined;
|
|
232
|
+
/**
|
|
233
|
+
* Balance too low to send value.
|
|
234
|
+
*/
|
|
235
|
+
"InsufficientBalance": undefined;
|
|
236
|
+
/**
|
|
237
|
+
* Value too low to create account due to existential deposit.
|
|
238
|
+
*/
|
|
239
|
+
"ExistentialDeposit": undefined;
|
|
240
|
+
/**
|
|
241
|
+
* Transfer/payment would kill account.
|
|
242
|
+
*/
|
|
243
|
+
"Expendability": undefined;
|
|
244
|
+
/**
|
|
245
|
+
* A vesting schedule already exists for this account.
|
|
246
|
+
*/
|
|
247
|
+
"ExistingVestingSchedule": undefined;
|
|
248
|
+
/**
|
|
249
|
+
* Beneficiary account must pre-exist.
|
|
250
|
+
*/
|
|
251
|
+
"DeadAccount": undefined;
|
|
252
|
+
/**
|
|
253
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
254
|
+
*/
|
|
255
|
+
"TooManyReserves": undefined;
|
|
256
|
+
/**
|
|
257
|
+
* Number of holds exceed `MaxHolds`.
|
|
258
|
+
*/
|
|
259
|
+
"TooManyHolds": undefined;
|
|
260
|
+
/**
|
|
261
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
262
|
+
*/
|
|
263
|
+
"TooManyFreezes": undefined;
|
|
264
|
+
}>;
|
|
265
|
+
export type I7q8i0pp1gkas6 = AnonymousEnum<{
|
|
266
|
+
/**
|
|
267
|
+
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
268
|
+
* (either paused or already pending pause).
|
|
269
|
+
*/
|
|
270
|
+
"PauseFailed": undefined;
|
|
271
|
+
/**
|
|
272
|
+
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
273
|
+
* (either live or already pending resume).
|
|
274
|
+
*/
|
|
275
|
+
"ResumeFailed": undefined;
|
|
276
|
+
/**
|
|
277
|
+
* Attempt to signal GRANDPA change with one already pending.
|
|
278
|
+
*/
|
|
279
|
+
"ChangePending": undefined;
|
|
280
|
+
/**
|
|
281
|
+
* Cannot signal forced change so soon after last.
|
|
282
|
+
*/
|
|
283
|
+
"TooSoon": undefined;
|
|
284
|
+
/**
|
|
285
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
286
|
+
*/
|
|
287
|
+
"InvalidKeyOwnershipProof": undefined;
|
|
288
|
+
/**
|
|
289
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
290
|
+
*/
|
|
291
|
+
"InvalidEquivocationProof": undefined;
|
|
292
|
+
/**
|
|
293
|
+
* A given equivocation report is valid but already previously reported.
|
|
294
|
+
*/
|
|
295
|
+
"DuplicateOffenceReport": undefined;
|
|
296
|
+
}>;
|
|
297
|
+
export type Iaug04qjhbli00 = AnonymousEnum<{
|
|
298
|
+
/**
|
|
299
|
+
* Sender must be the Sudo account
|
|
300
|
+
*/
|
|
301
|
+
"RequireSudo": undefined;
|
|
302
|
+
}>;
|
|
303
|
+
export type I2b5jj3f5ebo54 = AnonymousEnum<{
|
|
304
|
+
/**
|
|
305
|
+
* The name of specification does not match between the current runtime
|
|
306
|
+
* and the new runtime.
|
|
307
|
+
*/
|
|
308
|
+
"InvalidSpecName": undefined;
|
|
309
|
+
/**
|
|
310
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
311
|
+
* and the new runtime.
|
|
312
|
+
*/
|
|
313
|
+
"SpecVersionNeedsToIncrease": undefined;
|
|
314
|
+
/**
|
|
315
|
+
* Failed to extract the runtime version from the new runtime.
|
|
316
|
+
*
|
|
317
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
318
|
+
*/
|
|
319
|
+
"FailedToExtractRuntimeVersion": undefined;
|
|
320
|
+
/**
|
|
321
|
+
* Suicide called when the account has non-default composite data.
|
|
322
|
+
*/
|
|
323
|
+
"NonDefaultComposite": undefined;
|
|
324
|
+
/**
|
|
325
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
326
|
+
*/
|
|
327
|
+
"NonZeroRefCount": undefined;
|
|
328
|
+
/**
|
|
329
|
+
* The origin filter prevent the call to be dispatched.
|
|
330
|
+
*/
|
|
331
|
+
"CallFiltered": undefined;
|
|
332
|
+
}>;
|
|
333
|
+
export type Ifn5p2ma236tv1 = AnonymousEnum<{
|
|
334
|
+
/**
|
|
335
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
336
|
+
*/
|
|
337
|
+
"BalanceLow": undefined;
|
|
338
|
+
/**
|
|
339
|
+
* The account to alter does not exist.
|
|
340
|
+
*/
|
|
341
|
+
"NoAccount": undefined;
|
|
342
|
+
/**
|
|
343
|
+
* The signing account has no permission to do the operation.
|
|
344
|
+
*/
|
|
345
|
+
"NoPermission": undefined;
|
|
346
|
+
/**
|
|
347
|
+
* The given asset ID is unknown.
|
|
348
|
+
*/
|
|
349
|
+
"Unknown": undefined;
|
|
350
|
+
/**
|
|
351
|
+
* The origin account is frozen.
|
|
352
|
+
*/
|
|
353
|
+
"Frozen": undefined;
|
|
354
|
+
/**
|
|
355
|
+
* The asset ID is already taken.
|
|
356
|
+
*/
|
|
357
|
+
"InUse": undefined;
|
|
358
|
+
/**
|
|
359
|
+
* Invalid witness data given.
|
|
360
|
+
*/
|
|
361
|
+
"BadWitness": undefined;
|
|
362
|
+
/**
|
|
363
|
+
* Minimum balance should be non-zero.
|
|
364
|
+
*/
|
|
365
|
+
"MinBalanceZero": undefined;
|
|
366
|
+
/**
|
|
367
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
368
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
369
|
+
* fewer then the maximum number of consumers has been reached.
|
|
370
|
+
*/
|
|
371
|
+
"UnavailableConsumer": undefined;
|
|
372
|
+
/**
|
|
373
|
+
* Invalid metadata given.
|
|
374
|
+
*/
|
|
375
|
+
"BadMetadata": undefined;
|
|
376
|
+
/**
|
|
377
|
+
* No approval exists that would allow the transfer.
|
|
378
|
+
*/
|
|
379
|
+
"Unapproved": undefined;
|
|
380
|
+
/**
|
|
381
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
382
|
+
*/
|
|
383
|
+
"WouldDie": undefined;
|
|
384
|
+
/**
|
|
385
|
+
* The asset-account already exists.
|
|
386
|
+
*/
|
|
387
|
+
"AlreadyExists": undefined;
|
|
388
|
+
/**
|
|
389
|
+
* The asset-account doesn't have an associated deposit.
|
|
390
|
+
*/
|
|
391
|
+
"NoDeposit": undefined;
|
|
392
|
+
/**
|
|
393
|
+
* The operation would result in funds being burned.
|
|
394
|
+
*/
|
|
395
|
+
"WouldBurn": undefined;
|
|
396
|
+
/**
|
|
397
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
398
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
399
|
+
*/
|
|
400
|
+
"LiveAsset": undefined;
|
|
401
|
+
/**
|
|
402
|
+
* The asset is not live, and likely being destroyed.
|
|
403
|
+
*/
|
|
404
|
+
"AssetNotLive": undefined;
|
|
405
|
+
/**
|
|
406
|
+
* The asset status is not the expected status.
|
|
407
|
+
*/
|
|
408
|
+
"IncorrectStatus": undefined;
|
|
409
|
+
/**
|
|
410
|
+
* The asset should be frozen before the given operation.
|
|
411
|
+
*/
|
|
412
|
+
"NotFrozen": undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Callback action resulted in error
|
|
415
|
+
*/
|
|
416
|
+
"CallbackFailed": undefined;
|
|
417
|
+
}>;
|
|
418
|
+
export type Ife8pdk1gks2gu = AnonymousEnum<{
|
|
419
|
+
/**
|
|
420
|
+
* Account is not a member
|
|
421
|
+
*/
|
|
422
|
+
"NotMember": undefined;
|
|
423
|
+
/**
|
|
424
|
+
* Duplicate proposals not allowed
|
|
425
|
+
*/
|
|
426
|
+
"DuplicateProposal": undefined;
|
|
427
|
+
/**
|
|
428
|
+
* Proposal must exist
|
|
429
|
+
*/
|
|
430
|
+
"ProposalMissing": undefined;
|
|
431
|
+
/**
|
|
432
|
+
* Mismatched index
|
|
433
|
+
*/
|
|
434
|
+
"WrongIndex": undefined;
|
|
435
|
+
/**
|
|
436
|
+
* Duplicate vote ignored
|
|
437
|
+
*/
|
|
438
|
+
"DuplicateVote": undefined;
|
|
439
|
+
/**
|
|
440
|
+
* Members are already initialized!
|
|
441
|
+
*/
|
|
442
|
+
"AlreadyInitialized": undefined;
|
|
443
|
+
/**
|
|
444
|
+
* The close call was made too early, before the end of the voting.
|
|
445
|
+
*/
|
|
446
|
+
"TooEarly": undefined;
|
|
447
|
+
/**
|
|
448
|
+
* There can only be a maximum of `MaxProposals` active proposals.
|
|
449
|
+
*/
|
|
450
|
+
"TooManyProposals": undefined;
|
|
451
|
+
/**
|
|
452
|
+
* The given weight bound for the proposal was too low.
|
|
453
|
+
*/
|
|
454
|
+
"WrongProposalWeight": undefined;
|
|
455
|
+
/**
|
|
456
|
+
* The given length bound for the proposal was too low.
|
|
457
|
+
*/
|
|
458
|
+
"WrongProposalLength": undefined;
|
|
459
|
+
}>;
|
|
460
|
+
export type I1835a928dq6i9 = AnonymousEnum<{
|
|
461
|
+
/**
|
|
462
|
+
* A new schedule must have a greater version than the current one.
|
|
463
|
+
*/
|
|
464
|
+
"InvalidScheduleVersion": undefined;
|
|
465
|
+
/**
|
|
466
|
+
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
|
467
|
+
*/
|
|
468
|
+
"InvalidCallFlags": undefined;
|
|
469
|
+
/**
|
|
470
|
+
* The executed contract exhausted its gas limit.
|
|
471
|
+
*/
|
|
472
|
+
"OutOfGas": undefined;
|
|
473
|
+
/**
|
|
474
|
+
* The output buffer supplied to a contract API call was too small.
|
|
475
|
+
*/
|
|
476
|
+
"OutputBufferTooSmall": undefined;
|
|
477
|
+
/**
|
|
478
|
+
* Performing the requested transfer failed. Probably because there isn't enough
|
|
479
|
+
* free balance in the sender's account.
|
|
480
|
+
*/
|
|
481
|
+
"TransferFailed": undefined;
|
|
482
|
+
/**
|
|
483
|
+
* Performing a call was denied because the calling depth reached the limit
|
|
484
|
+
* of what is specified in the schedule.
|
|
485
|
+
*/
|
|
486
|
+
"MaxCallDepthReached": undefined;
|
|
487
|
+
/**
|
|
488
|
+
* No contract was found at the specified address.
|
|
489
|
+
*/
|
|
490
|
+
"ContractNotFound": undefined;
|
|
491
|
+
/**
|
|
492
|
+
* The code supplied to `instantiate_with_code` exceeds the limit specified in the
|
|
493
|
+
* current schedule.
|
|
494
|
+
*/
|
|
495
|
+
"CodeTooLarge": undefined;
|
|
496
|
+
/**
|
|
497
|
+
* No code could be found at the supplied code hash.
|
|
498
|
+
*/
|
|
499
|
+
"CodeNotFound": undefined;
|
|
500
|
+
/**
|
|
501
|
+
* A buffer outside of sandbox memory was passed to a contract API function.
|
|
502
|
+
*/
|
|
503
|
+
"OutOfBounds": undefined;
|
|
504
|
+
/**
|
|
505
|
+
* Input passed to a contract API function failed to decode as expected type.
|
|
506
|
+
*/
|
|
507
|
+
"DecodingFailed": undefined;
|
|
508
|
+
/**
|
|
509
|
+
* Contract trapped during execution.
|
|
510
|
+
*/
|
|
511
|
+
"ContractTrapped": undefined;
|
|
512
|
+
/**
|
|
513
|
+
* The size defined in `T::MaxValueSize` was exceeded.
|
|
514
|
+
*/
|
|
515
|
+
"ValueTooLarge": undefined;
|
|
516
|
+
/**
|
|
517
|
+
* Termination of a contract is not allowed while the contract is already
|
|
518
|
+
* on the call stack. Can be triggered by `seal_terminate`.
|
|
519
|
+
*/
|
|
520
|
+
"TerminatedWhileReentrant": undefined;
|
|
521
|
+
/**
|
|
522
|
+
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
|
523
|
+
*/
|
|
524
|
+
"InputForwarded": undefined;
|
|
525
|
+
/**
|
|
526
|
+
* The subject passed to `seal_random` exceeds the limit.
|
|
527
|
+
*/
|
|
528
|
+
"RandomSubjectTooLong": undefined;
|
|
529
|
+
/**
|
|
530
|
+
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
|
531
|
+
*/
|
|
532
|
+
"TooManyTopics": undefined;
|
|
533
|
+
/**
|
|
534
|
+
* The chain does not provide a chain extension. Calling the chain extension results
|
|
535
|
+
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
|
536
|
+
* is rejected.
|
|
537
|
+
*/
|
|
538
|
+
"NoChainExtension": undefined;
|
|
539
|
+
/**
|
|
540
|
+
* A contract with the same AccountId already exists.
|
|
541
|
+
*/
|
|
542
|
+
"DuplicateContract": undefined;
|
|
543
|
+
/**
|
|
544
|
+
* A contract self destructed in its constructor.
|
|
545
|
+
*
|
|
546
|
+
* This can be triggered by a call to `seal_terminate`.
|
|
547
|
+
*/
|
|
548
|
+
"TerminatedInConstructor": undefined;
|
|
549
|
+
/**
|
|
550
|
+
* A call tried to invoke a contract that is flagged as non-reentrant.
|
|
551
|
+
* The only other cause is that a call from a contract into the runtime tried to call back
|
|
552
|
+
* into `pallet-contracts`. This would make the whole pallet reentrant with regard to
|
|
553
|
+
* contract code execution which is not supported.
|
|
554
|
+
*/
|
|
555
|
+
"ReentranceDenied": undefined;
|
|
556
|
+
/**
|
|
557
|
+
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
558
|
+
*/
|
|
559
|
+
"StorageDepositNotEnoughFunds": undefined;
|
|
560
|
+
/**
|
|
561
|
+
* More storage was created than allowed by the storage deposit limit.
|
|
562
|
+
*/
|
|
563
|
+
"StorageDepositLimitExhausted": undefined;
|
|
564
|
+
/**
|
|
565
|
+
* Code removal was denied because the code is still in use by at least one contract.
|
|
566
|
+
*/
|
|
567
|
+
"CodeInUse": undefined;
|
|
568
|
+
/**
|
|
569
|
+
* The contract ran to completion but decided to revert its storage changes.
|
|
570
|
+
* Please note that this error is only returned from extrinsics. When called directly
|
|
571
|
+
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
|
|
572
|
+
* to determine whether a reversion has taken place.
|
|
573
|
+
*/
|
|
574
|
+
"ContractReverted": undefined;
|
|
575
|
+
/**
|
|
576
|
+
* The contract's code was found to be invalid during validation or instrumentation.
|
|
577
|
+
*
|
|
578
|
+
* The most likely cause of this is that an API was used which is not supported by the
|
|
579
|
+
* node. This happens if an older node is used with a new version of ink!. Try updating
|
|
580
|
+
* your node to the newest available version.
|
|
581
|
+
*
|
|
582
|
+
* A more detailed error can be found on the node console if debug messages are enabled
|
|
583
|
+
* by supplying `-lruntime::contracts=debug`.
|
|
584
|
+
*/
|
|
585
|
+
"CodeRejected": undefined;
|
|
586
|
+
/**
|
|
587
|
+
* An indetermistic code was used in a context where this is not permitted.
|
|
588
|
+
*/
|
|
589
|
+
"Indeterministic": undefined;
|
|
590
|
+
}>;
|
|
591
|
+
export type I8kh6j0q1r930d = AnonymousEnum<{
|
|
592
|
+
/**
|
|
593
|
+
* Non existent public key.
|
|
594
|
+
*/
|
|
595
|
+
"InvalidKey": undefined;
|
|
596
|
+
/**
|
|
597
|
+
* Duplicated heartbeat.
|
|
598
|
+
*/
|
|
599
|
+
"DuplicatedHeartbeat": undefined;
|
|
600
|
+
}>;
|
|
601
|
+
export type I1e07dgbaqd1sq = AnonymousEnum<{
|
|
602
|
+
/**
|
|
603
|
+
* Invalid ownership proof.
|
|
604
|
+
*/
|
|
605
|
+
"InvalidProof": undefined;
|
|
606
|
+
/**
|
|
607
|
+
* No associated validator ID for account.
|
|
608
|
+
*/
|
|
609
|
+
"NoAssociatedValidatorId": undefined;
|
|
610
|
+
/**
|
|
611
|
+
* Registered duplicate key.
|
|
612
|
+
*/
|
|
613
|
+
"DuplicatedKey": undefined;
|
|
614
|
+
/**
|
|
615
|
+
* No keys are associated with this account.
|
|
616
|
+
*/
|
|
617
|
+
"NoKeys": undefined;
|
|
618
|
+
/**
|
|
619
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
620
|
+
*/
|
|
621
|
+
"NoAccount": undefined;
|
|
622
|
+
}>;
|
|
623
|
+
export type I4emjcpgu2307d = AnonymousEnum<{
|
|
624
|
+
/**
|
|
625
|
+
* Proposer's balance is too low.
|
|
626
|
+
*/
|
|
627
|
+
"InsufficientProposersBalance": undefined;
|
|
628
|
+
/**
|
|
629
|
+
* No proposal or bounty at that index.
|
|
630
|
+
*/
|
|
631
|
+
"InvalidIndex": undefined;
|
|
632
|
+
/**
|
|
633
|
+
* Too many approvals in the queue.
|
|
634
|
+
*/
|
|
635
|
+
"TooManyApprovals": undefined;
|
|
636
|
+
/**
|
|
637
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
638
|
+
* amount to be spent.
|
|
639
|
+
*/
|
|
640
|
+
"InsufficientPermission": undefined;
|
|
641
|
+
/**
|
|
642
|
+
* Proposal has not been approved.
|
|
643
|
+
*/
|
|
644
|
+
"ProposalNotApproved": undefined;
|
|
645
|
+
}>;
|
|
646
|
+
export type Id182d0p4ektcl = AnonymousEnum<{
|
|
647
|
+
"NotValidNominator": undefined;
|
|
648
|
+
"ProposalFeeInsufficient": undefined;
|
|
649
|
+
"MiningPoolContractNotSet": undefined;
|
|
650
|
+
"ErrorGettingRankedNodes": undefined;
|
|
651
|
+
"AccountAlreadyLocked": undefined;
|
|
652
|
+
"AccountNotLocked": undefined;
|
|
653
|
+
"ProposalAlreadyExists": undefined;
|
|
654
|
+
"AccountAlreadyInReferendum": undefined;
|
|
655
|
+
"AdminCannotBeNominated": undefined;
|
|
656
|
+
"LockCandidatesNotPermittedToInteract": undefined;
|
|
657
|
+
"LockedAccountsNotPermittedToInteract": undefined;
|
|
658
|
+
"LockedAccountCannotVote": undefined;
|
|
659
|
+
"ReferendumDoesNotExist": undefined;
|
|
660
|
+
"NotValidCouncilMember": undefined;
|
|
661
|
+
"ErrorCalculatingVotes": undefined;
|
|
662
|
+
"VoterAlreadyVoted": undefined;
|
|
663
|
+
}>;
|
|
664
|
+
export type Iagnr906kpjuvj = AnonymousEnum<{
|
|
665
|
+
/**
|
|
666
|
+
* Signers list contains duplicates
|
|
667
|
+
*/
|
|
668
|
+
"DuplicatesInList": undefined;
|
|
669
|
+
/**
|
|
670
|
+
* Caller not in signatories
|
|
671
|
+
*/
|
|
672
|
+
"CallerNotSignatory": undefined;
|
|
673
|
+
/**
|
|
674
|
+
* Multi-sig account already exists
|
|
675
|
+
*/
|
|
676
|
+
"MSAAlreadyExists": undefined;
|
|
677
|
+
/**
|
|
678
|
+
* Multi-sig account not found
|
|
679
|
+
*/
|
|
680
|
+
"MSANotFound": undefined;
|
|
681
|
+
/**
|
|
682
|
+
* Must have at least 2 signers
|
|
683
|
+
*/
|
|
684
|
+
"SignatoriesTooShort": undefined;
|
|
685
|
+
/**
|
|
686
|
+
* Too many signers
|
|
687
|
+
*/
|
|
688
|
+
"SignatoriesTooLong": undefined;
|
|
689
|
+
/**
|
|
690
|
+
* approval already exists
|
|
691
|
+
*/
|
|
692
|
+
"ApprovalExists": undefined;
|
|
693
|
+
/**
|
|
694
|
+
* attempting to remove nonexistent approval
|
|
695
|
+
*/
|
|
696
|
+
"ApprovalDoesntExist": undefined;
|
|
697
|
+
/**
|
|
698
|
+
* Minimum approvals is out of range
|
|
699
|
+
*/
|
|
700
|
+
"MinApprovalOutOfRange": undefined;
|
|
701
|
+
/**
|
|
702
|
+
* Proposal approval equals existing one
|
|
703
|
+
*/
|
|
704
|
+
"NewMinimumEqualsCurrentMinimum": undefined;
|
|
705
|
+
/**
|
|
706
|
+
* Account is already an author
|
|
707
|
+
*/
|
|
708
|
+
"AccountAlreadyAuthor": undefined;
|
|
709
|
+
/**
|
|
710
|
+
* only the msa author execute this calls
|
|
711
|
+
*/
|
|
712
|
+
"OnlyMSAItselfCanDoThis": undefined;
|
|
713
|
+
/**
|
|
714
|
+
* Authors list too long
|
|
715
|
+
*/
|
|
716
|
+
"AuthorVecTooLong": undefined;
|
|
717
|
+
/**
|
|
718
|
+
* Not an author
|
|
719
|
+
*/
|
|
720
|
+
"AccountNotAuthor": undefined;
|
|
721
|
+
/**
|
|
722
|
+
* Not a signatory
|
|
723
|
+
*/
|
|
724
|
+
"AccountNotSignatory": undefined;
|
|
725
|
+
/**
|
|
726
|
+
* Reached max possible authors
|
|
727
|
+
*/
|
|
728
|
+
"AccountErrorMaxAuthors": undefined;
|
|
729
|
+
/**
|
|
730
|
+
* Pending calls limit reached
|
|
731
|
+
*/
|
|
732
|
+
"CallLimit": undefined;
|
|
733
|
+
/**
|
|
734
|
+
* Approvals limit reached
|
|
735
|
+
*/
|
|
736
|
+
"ApprovalsLimitReached": undefined;
|
|
737
|
+
/**
|
|
738
|
+
* Failed to encode call
|
|
739
|
+
*/
|
|
740
|
+
"CallEncodingFailure": undefined;
|
|
741
|
+
/**
|
|
742
|
+
* This account hit its multi-sig limit
|
|
743
|
+
*/
|
|
744
|
+
"AccountAtMultiSigLimit": undefined;
|
|
745
|
+
/**
|
|
746
|
+
* Failed to create pending call
|
|
747
|
+
*/
|
|
748
|
+
"FailedToCreatePendingCall": undefined;
|
|
749
|
+
/**
|
|
750
|
+
* Call not found for multi-sig
|
|
751
|
+
*/
|
|
752
|
+
"CallNotFound": undefined;
|
|
753
|
+
/**
|
|
754
|
+
* Failed to decode call
|
|
755
|
+
*/
|
|
756
|
+
"FailureDecodingCall": undefined;
|
|
757
|
+
/**
|
|
758
|
+
* failure building BoundedVec
|
|
759
|
+
*/
|
|
760
|
+
"FailedToBuildBoundedVec": undefined;
|
|
761
|
+
/**
|
|
762
|
+
* Min approval proposal not found
|
|
763
|
+
*/
|
|
764
|
+
"ProposalNotFound": undefined;
|
|
765
|
+
/**
|
|
766
|
+
* proposal already pending
|
|
767
|
+
*/
|
|
768
|
+
"ProposalAlreadyPending": undefined;
|
|
769
|
+
}>;
|
|
770
|
+
export type ArithmeticError = Enum<{
|
|
771
|
+
"Underflow": undefined;
|
|
772
|
+
"Overflow": undefined;
|
|
773
|
+
"DivisionByZero": undefined;
|
|
774
|
+
}>;
|
|
775
|
+
export declare const ArithmeticError: GetEnum<ArithmeticError>;
|
|
776
|
+
export type TransactionalError = Enum<{
|
|
777
|
+
"LimitReached": undefined;
|
|
778
|
+
"NoLayer": undefined;
|
|
779
|
+
}>;
|
|
780
|
+
export declare const TransactionalError: GetEnum<TransactionalError>;
|
|
781
|
+
export type Ipa3jfc46ilad = AnonymousEnum<{
|
|
782
|
+
/**
|
|
783
|
+
* An account was created with some free balance.
|
|
784
|
+
*/
|
|
785
|
+
"Endowed": Anonymize<Icv68aq8841478>;
|
|
786
|
+
/**
|
|
787
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
788
|
+
* resulting in an outright loss.
|
|
789
|
+
*/
|
|
790
|
+
"DustLost": Anonymize<Ic262ibdoec56a>;
|
|
791
|
+
/**
|
|
792
|
+
* Transfer succeeded.
|
|
793
|
+
*/
|
|
794
|
+
"Transfer": Anonymize<Iflcfm9b6nlmdd>;
|
|
795
|
+
/**
|
|
796
|
+
* A balance was set by root.
|
|
797
|
+
*/
|
|
798
|
+
"BalanceSet": Anonymize<Ijrsf4mnp3eka>;
|
|
799
|
+
/**
|
|
800
|
+
* Some balance was reserved (moved from free to reserved).
|
|
801
|
+
*/
|
|
802
|
+
"Reserved": Anonymize<Id5fm4p8lj5qgi>;
|
|
803
|
+
/**
|
|
804
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
805
|
+
*/
|
|
806
|
+
"Unreserved": Anonymize<Id5fm4p8lj5qgi>;
|
|
807
|
+
/**
|
|
808
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
809
|
+
* Final argument indicates the destination balance type.
|
|
810
|
+
*/
|
|
811
|
+
"ReserveRepatriated": Anonymize<I8tjvj9uq4b7hi>;
|
|
812
|
+
/**
|
|
813
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
814
|
+
*/
|
|
815
|
+
"Deposit": Anonymize<Id5fm4p8lj5qgi>;
|
|
816
|
+
/**
|
|
817
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
818
|
+
*/
|
|
819
|
+
"Withdraw": Anonymize<Id5fm4p8lj5qgi>;
|
|
820
|
+
/**
|
|
821
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
822
|
+
*/
|
|
823
|
+
"Slashed": Anonymize<Id5fm4p8lj5qgi>;
|
|
824
|
+
/**
|
|
825
|
+
* Some amount was minted into an account.
|
|
826
|
+
*/
|
|
827
|
+
"Minted": Anonymize<Id5fm4p8lj5qgi>;
|
|
828
|
+
/**
|
|
829
|
+
* Some amount was burned from an account.
|
|
830
|
+
*/
|
|
831
|
+
"Burned": Anonymize<Id5fm4p8lj5qgi>;
|
|
832
|
+
/**
|
|
833
|
+
* Some amount was suspended from an account (it can be restored later).
|
|
834
|
+
*/
|
|
835
|
+
"Suspended": Anonymize<Id5fm4p8lj5qgi>;
|
|
836
|
+
/**
|
|
837
|
+
* Some amount was restored into an account.
|
|
838
|
+
*/
|
|
839
|
+
"Restored": Anonymize<Id5fm4p8lj5qgi>;
|
|
840
|
+
/**
|
|
841
|
+
* An account was upgraded.
|
|
842
|
+
*/
|
|
843
|
+
"Upgraded": Anonymize<I4cbvqmqadhrea>;
|
|
844
|
+
/**
|
|
845
|
+
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
|
846
|
+
*/
|
|
847
|
+
"Issued": Anonymize<I3qt1hgg4djhgb>;
|
|
848
|
+
/**
|
|
849
|
+
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
|
850
|
+
*/
|
|
851
|
+
"Rescinded": Anonymize<I3qt1hgg4djhgb>;
|
|
852
|
+
/**
|
|
853
|
+
* Some balance was locked.
|
|
854
|
+
*/
|
|
855
|
+
"Locked": Anonymize<Id5fm4p8lj5qgi>;
|
|
856
|
+
/**
|
|
857
|
+
* Some balance was unlocked.
|
|
858
|
+
*/
|
|
859
|
+
"Unlocked": Anonymize<Id5fm4p8lj5qgi>;
|
|
860
|
+
/**
|
|
861
|
+
* Some balance was frozen.
|
|
862
|
+
*/
|
|
863
|
+
"Frozen": Anonymize<Id5fm4p8lj5qgi>;
|
|
864
|
+
/**
|
|
865
|
+
* Some balance was thawed.
|
|
866
|
+
*/
|
|
867
|
+
"Thawed": Anonymize<Id5fm4p8lj5qgi>;
|
|
868
|
+
}>;
|
|
869
|
+
export type Icv68aq8841478 = {
|
|
870
|
+
"account": SS58String;
|
|
871
|
+
"free_balance": bigint;
|
|
872
|
+
};
|
|
873
|
+
export type Ic262ibdoec56a = {
|
|
874
|
+
"account": SS58String;
|
|
875
|
+
"amount": bigint;
|
|
876
|
+
};
|
|
877
|
+
export type Iflcfm9b6nlmdd = {
|
|
878
|
+
"from": SS58String;
|
|
879
|
+
"to": SS58String;
|
|
880
|
+
"amount": bigint;
|
|
881
|
+
};
|
|
882
|
+
export type Ijrsf4mnp3eka = {
|
|
883
|
+
"who": SS58String;
|
|
884
|
+
"free": bigint;
|
|
885
|
+
};
|
|
886
|
+
export type Id5fm4p8lj5qgi = {
|
|
887
|
+
"who": SS58String;
|
|
888
|
+
"amount": bigint;
|
|
889
|
+
};
|
|
890
|
+
export type I8tjvj9uq4b7hi = {
|
|
891
|
+
"from": SS58String;
|
|
892
|
+
"to": SS58String;
|
|
893
|
+
"amount": bigint;
|
|
894
|
+
"destination_status": BalanceStatus;
|
|
895
|
+
};
|
|
896
|
+
export type BalanceStatus = Enum<{
|
|
897
|
+
"Free": undefined;
|
|
898
|
+
"Reserved": undefined;
|
|
899
|
+
}>;
|
|
900
|
+
export declare const BalanceStatus: GetEnum<BalanceStatus>;
|
|
901
|
+
export type I4cbvqmqadhrea = {
|
|
902
|
+
"who": SS58String;
|
|
903
|
+
};
|
|
904
|
+
export type GrandpaEvent = Enum<{
|
|
905
|
+
/**
|
|
906
|
+
* New authority set has been applied.
|
|
907
|
+
*/
|
|
908
|
+
"NewAuthorities": Anonymize<I5768ac424h061>;
|
|
909
|
+
/**
|
|
910
|
+
* Current authority set has been paused.
|
|
911
|
+
*/
|
|
912
|
+
"Paused": undefined;
|
|
913
|
+
/**
|
|
914
|
+
* Current authority set has been resumed.
|
|
915
|
+
*/
|
|
916
|
+
"Resumed": undefined;
|
|
917
|
+
}>;
|
|
918
|
+
export declare const GrandpaEvent: GetEnum<GrandpaEvent>;
|
|
919
|
+
export type I5768ac424h061 = {
|
|
920
|
+
"authority_set": Anonymize<I3geksg000c171>;
|
|
921
|
+
};
|
|
922
|
+
export type I8p5vdvvd8noco = AnonymousEnum<{
|
|
923
|
+
/**
|
|
924
|
+
* A sudo just took place. \[result\]
|
|
925
|
+
*/
|
|
926
|
+
"Sudid": Anonymize<I34ij139cfkd29>;
|
|
927
|
+
/**
|
|
928
|
+
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
|
|
929
|
+
*/
|
|
930
|
+
"KeyChanged": Anonymize<I4sdl4mafpdt24>;
|
|
931
|
+
/**
|
|
932
|
+
* A sudo just took place. \[result\]
|
|
933
|
+
*/
|
|
934
|
+
"SudoAsDone": Anonymize<I34ij139cfkd29>;
|
|
935
|
+
}>;
|
|
936
|
+
export type I34ij139cfkd29 = {
|
|
937
|
+
"sudo_result": Anonymize<I3pd2qrlv5lfbq>;
|
|
938
|
+
};
|
|
939
|
+
export type I3pd2qrlv5lfbq = ResultPayload<undefined, Anonymize<I3015mdrqab6c7>>;
|
|
940
|
+
export type I4sdl4mafpdt24 = {
|
|
941
|
+
"old_sudoer"?: Anonymize<Ihfphjolmsqq1>;
|
|
942
|
+
};
|
|
943
|
+
export type I3dgmos32o2p8u = AnonymousEnum<{
|
|
944
|
+
/**
|
|
945
|
+
* An extrinsic completed successfully.
|
|
946
|
+
*/
|
|
947
|
+
"ExtrinsicSuccess": Anonymize<Ia82mnkmeo2rhc>;
|
|
948
|
+
/**
|
|
949
|
+
* An extrinsic failed.
|
|
950
|
+
*/
|
|
951
|
+
"ExtrinsicFailed": Anonymize<Ik28h8117tnle>;
|
|
952
|
+
/**
|
|
953
|
+
* `:code` was updated.
|
|
954
|
+
*/
|
|
955
|
+
"CodeUpdated": undefined;
|
|
956
|
+
/**
|
|
957
|
+
* A new account was created.
|
|
958
|
+
*/
|
|
959
|
+
"NewAccount": Anonymize<Icbccs0ug47ilf>;
|
|
960
|
+
/**
|
|
961
|
+
* An account was reaped.
|
|
962
|
+
*/
|
|
963
|
+
"KilledAccount": Anonymize<Icbccs0ug47ilf>;
|
|
964
|
+
/**
|
|
965
|
+
* On on-chain remark happened.
|
|
966
|
+
*/
|
|
967
|
+
"Remarked": Anonymize<I855j4i3kr8ko1>;
|
|
968
|
+
}>;
|
|
969
|
+
export type Ia82mnkmeo2rhc = {
|
|
970
|
+
"dispatch_info": Anonymize<Ic9s8f85vjtncc>;
|
|
971
|
+
};
|
|
972
|
+
export type Ic9s8f85vjtncc = {
|
|
973
|
+
"weight": Anonymize<I4q39t5hn830vp>;
|
|
974
|
+
"class": DispatchClass;
|
|
975
|
+
"pays_fee": Enum<{
|
|
976
|
+
"Yes": undefined;
|
|
977
|
+
"No": undefined;
|
|
978
|
+
}>;
|
|
979
|
+
};
|
|
980
|
+
export type DispatchClass = Enum<{
|
|
981
|
+
"Normal": undefined;
|
|
982
|
+
"Operational": undefined;
|
|
983
|
+
"Mandatory": undefined;
|
|
984
|
+
}>;
|
|
985
|
+
export declare const DispatchClass: GetEnum<DispatchClass>;
|
|
986
|
+
export type Ik28h8117tnle = {
|
|
987
|
+
"dispatch_error": Anonymize<I3015mdrqab6c7>;
|
|
988
|
+
"dispatch_info": Anonymize<Ic9s8f85vjtncc>;
|
|
989
|
+
};
|
|
990
|
+
export type Icbccs0ug47ilf = {
|
|
991
|
+
"account": SS58String;
|
|
992
|
+
};
|
|
993
|
+
export type I855j4i3kr8ko1 = {
|
|
994
|
+
"sender": SS58String;
|
|
995
|
+
"hash": FixedSizeBinary<32>;
|
|
996
|
+
};
|
|
997
|
+
export type TransactionPaymentEvent = Enum<{
|
|
998
|
+
/**
|
|
999
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
1000
|
+
* has been paid by `who`.
|
|
1001
|
+
*/
|
|
1002
|
+
"TransactionFeePaid": Anonymize<Ier2cke86dqbr2>;
|
|
1003
|
+
}>;
|
|
1004
|
+
export declare const TransactionPaymentEvent: GetEnum<TransactionPaymentEvent>;
|
|
1005
|
+
export type Ier2cke86dqbr2 = {
|
|
1006
|
+
"who": SS58String;
|
|
1007
|
+
"actual_fee": bigint;
|
|
1008
|
+
"tip": bigint;
|
|
1009
|
+
};
|
|
1010
|
+
export type I9ctto4ohg8j86 = AnonymousEnum<{
|
|
1011
|
+
/**
|
|
1012
|
+
* Some asset class was created.
|
|
1013
|
+
*/
|
|
1014
|
+
"Created": Anonymize<I88ff3u4dpivk>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Some assets were issued.
|
|
1017
|
+
*/
|
|
1018
|
+
"Issued": Anonymize<I33cp947glv1ks>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Some assets were transferred.
|
|
1021
|
+
*/
|
|
1022
|
+
"Transferred": Anonymize<Ic9om1gmmqu7rq>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Some assets were destroyed.
|
|
1025
|
+
*/
|
|
1026
|
+
"Burned": Anonymize<I5hfov2b68ppb6>;
|
|
1027
|
+
/**
|
|
1028
|
+
* The management team changed.
|
|
1029
|
+
*/
|
|
1030
|
+
"TeamChanged": Anonymize<Ibthhb2m9vneds>;
|
|
1031
|
+
/**
|
|
1032
|
+
* The owner changed.
|
|
1033
|
+
*/
|
|
1034
|
+
"OwnerChanged": Anonymize<Iaitn5bqfacj7k>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Some account `who` was frozen.
|
|
1037
|
+
*/
|
|
1038
|
+
"Frozen": Anonymize<If4ebvclj2ugvi>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Some account `who` was thawed.
|
|
1041
|
+
*/
|
|
1042
|
+
"Thawed": Anonymize<If4ebvclj2ugvi>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Some asset `asset_id` was frozen.
|
|
1045
|
+
*/
|
|
1046
|
+
"AssetFrozen": Anonymize<Ia5le7udkgbaq9>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Some asset `asset_id` was thawed.
|
|
1049
|
+
*/
|
|
1050
|
+
"AssetThawed": Anonymize<Ia5le7udkgbaq9>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Accounts were destroyed for given asset.
|
|
1053
|
+
*/
|
|
1054
|
+
"AccountsDestroyed": Anonymize<Ieduc1e6frq8rb>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Approvals were destroyed for given asset.
|
|
1057
|
+
*/
|
|
1058
|
+
"ApprovalsDestroyed": Anonymize<I9h6gbtabovtm4>;
|
|
1059
|
+
/**
|
|
1060
|
+
* An asset class is in the process of being destroyed.
|
|
1061
|
+
*/
|
|
1062
|
+
"DestructionStarted": Anonymize<Ia5le7udkgbaq9>;
|
|
1063
|
+
/**
|
|
1064
|
+
* An asset class was destroyed.
|
|
1065
|
+
*/
|
|
1066
|
+
"Destroyed": Anonymize<Ia5le7udkgbaq9>;
|
|
1067
|
+
/**
|
|
1068
|
+
* Some asset class was force-created.
|
|
1069
|
+
*/
|
|
1070
|
+
"ForceCreated": Anonymize<Iaitn5bqfacj7k>;
|
|
1071
|
+
/**
|
|
1072
|
+
* New metadata has been set for an asset.
|
|
1073
|
+
*/
|
|
1074
|
+
"MetadataSet": Anonymize<Ifnsa0dkkpf465>;
|
|
1075
|
+
/**
|
|
1076
|
+
* Metadata has been cleared for an asset.
|
|
1077
|
+
*/
|
|
1078
|
+
"MetadataCleared": Anonymize<Ia5le7udkgbaq9>;
|
|
1079
|
+
/**
|
|
1080
|
+
* (Additional) funds have been approved for transfer to a destination account.
|
|
1081
|
+
*/
|
|
1082
|
+
"ApprovedTransfer": Anonymize<I65dtqr2egjbc3>;
|
|
1083
|
+
/**
|
|
1084
|
+
* An approval for account `delegate` was cancelled by `owner`.
|
|
1085
|
+
*/
|
|
1086
|
+
"ApprovalCancelled": Anonymize<Ibqj3vg5s5lk0c>;
|
|
1087
|
+
/**
|
|
1088
|
+
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
1089
|
+
* the approved `delegate`.
|
|
1090
|
+
*/
|
|
1091
|
+
"TransferredApproved": Anonymize<I6l73u513p8rna>;
|
|
1092
|
+
/**
|
|
1093
|
+
* An asset has had its attributes changed by the `Force` origin.
|
|
1094
|
+
*/
|
|
1095
|
+
"AssetStatusChanged": Anonymize<Ia5le7udkgbaq9>;
|
|
1096
|
+
/**
|
|
1097
|
+
* The min_balance of an asset has been updated by the asset owner.
|
|
1098
|
+
*/
|
|
1099
|
+
"AssetMinBalanceChanged": Anonymize<Iefqmt2htu1dlu>;
|
|
1100
|
+
}>;
|
|
1101
|
+
export type I88ff3u4dpivk = {
|
|
1102
|
+
"asset_id": number;
|
|
1103
|
+
"creator": SS58String;
|
|
1104
|
+
"owner": SS58String;
|
|
1105
|
+
};
|
|
1106
|
+
export type I33cp947glv1ks = {
|
|
1107
|
+
"asset_id": number;
|
|
1108
|
+
"owner": SS58String;
|
|
1109
|
+
"amount": bigint;
|
|
1110
|
+
};
|
|
1111
|
+
export type Ic9om1gmmqu7rq = {
|
|
1112
|
+
"asset_id": number;
|
|
1113
|
+
"from": SS58String;
|
|
1114
|
+
"to": SS58String;
|
|
1115
|
+
"amount": bigint;
|
|
1116
|
+
};
|
|
1117
|
+
export type I5hfov2b68ppb6 = {
|
|
1118
|
+
"asset_id": number;
|
|
1119
|
+
"owner": SS58String;
|
|
1120
|
+
"balance": bigint;
|
|
1121
|
+
};
|
|
1122
|
+
export type Ibthhb2m9vneds = {
|
|
1123
|
+
"asset_id": number;
|
|
1124
|
+
"issuer": SS58String;
|
|
1125
|
+
"admin": SS58String;
|
|
1126
|
+
"freezer": SS58String;
|
|
1127
|
+
};
|
|
1128
|
+
export type Iaitn5bqfacj7k = {
|
|
1129
|
+
"asset_id": number;
|
|
1130
|
+
"owner": SS58String;
|
|
1131
|
+
};
|
|
1132
|
+
export type If4ebvclj2ugvi = {
|
|
1133
|
+
"asset_id": number;
|
|
1134
|
+
"who": SS58String;
|
|
1135
|
+
};
|
|
1136
|
+
export type Ia5le7udkgbaq9 = {
|
|
1137
|
+
"asset_id": number;
|
|
1138
|
+
};
|
|
1139
|
+
export type Ieduc1e6frq8rb = {
|
|
1140
|
+
"asset_id": number;
|
|
1141
|
+
"accounts_destroyed": number;
|
|
1142
|
+
"accounts_remaining": number;
|
|
1143
|
+
};
|
|
1144
|
+
export type I9h6gbtabovtm4 = {
|
|
1145
|
+
"asset_id": number;
|
|
1146
|
+
"approvals_destroyed": number;
|
|
1147
|
+
"approvals_remaining": number;
|
|
1148
|
+
};
|
|
1149
|
+
export type Ifnsa0dkkpf465 = {
|
|
1150
|
+
"asset_id": number;
|
|
1151
|
+
"name": Binary;
|
|
1152
|
+
"symbol": Binary;
|
|
1153
|
+
"decimals": number;
|
|
1154
|
+
"is_frozen": boolean;
|
|
1155
|
+
};
|
|
1156
|
+
export type I65dtqr2egjbc3 = {
|
|
1157
|
+
"asset_id": number;
|
|
1158
|
+
"source": SS58String;
|
|
1159
|
+
"delegate": SS58String;
|
|
1160
|
+
"amount": bigint;
|
|
1161
|
+
};
|
|
1162
|
+
export type Ibqj3vg5s5lk0c = {
|
|
1163
|
+
"asset_id": number;
|
|
1164
|
+
"owner": SS58String;
|
|
1165
|
+
"delegate": SS58String;
|
|
1166
|
+
};
|
|
1167
|
+
export type I6l73u513p8rna = {
|
|
1168
|
+
"asset_id": number;
|
|
1169
|
+
"owner": SS58String;
|
|
1170
|
+
"delegate": SS58String;
|
|
1171
|
+
"destination": SS58String;
|
|
1172
|
+
"amount": bigint;
|
|
1173
|
+
};
|
|
1174
|
+
export type Iefqmt2htu1dlu = {
|
|
1175
|
+
"asset_id": number;
|
|
1176
|
+
"new_min_balance": bigint;
|
|
1177
|
+
};
|
|
1178
|
+
export type Iscocsvsbndnl = AnonymousEnum<{
|
|
1179
|
+
/**
|
|
1180
|
+
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
1181
|
+
* `MemberCount`).
|
|
1182
|
+
*/
|
|
1183
|
+
"Proposed": Anonymize<Ift6f10887nk72>;
|
|
1184
|
+
/**
|
|
1185
|
+
* A motion (given hash) has been voted on by given account, leaving
|
|
1186
|
+
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
1187
|
+
*/
|
|
1188
|
+
"Voted": Anonymize<I7qc53b1tvqjg2>;
|
|
1189
|
+
/**
|
|
1190
|
+
* A motion was approved by the required threshold.
|
|
1191
|
+
*/
|
|
1192
|
+
"Approved": Anonymize<I2ev73t79f46tb>;
|
|
1193
|
+
/**
|
|
1194
|
+
* A motion was not approved by the required threshold.
|
|
1195
|
+
*/
|
|
1196
|
+
"Disapproved": Anonymize<I2ev73t79f46tb>;
|
|
1197
|
+
/**
|
|
1198
|
+
* A motion was executed; result will be `Ok` if it returned without error.
|
|
1199
|
+
*/
|
|
1200
|
+
"Executed": Anonymize<I8ugagfge33cr6>;
|
|
1201
|
+
/**
|
|
1202
|
+
* A single member did some action; result will be `Ok` if it returned without error.
|
|
1203
|
+
*/
|
|
1204
|
+
"MemberExecuted": Anonymize<I8ugagfge33cr6>;
|
|
1205
|
+
/**
|
|
1206
|
+
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
1207
|
+
*/
|
|
1208
|
+
"Closed": Anonymize<Iak7fhrgb9jnnq>;
|
|
1209
|
+
}>;
|
|
1210
|
+
export type Ift6f10887nk72 = {
|
|
1211
|
+
"account": SS58String;
|
|
1212
|
+
"proposal_index": number;
|
|
1213
|
+
"proposal_hash": FixedSizeBinary<32>;
|
|
1214
|
+
"threshold": number;
|
|
1215
|
+
};
|
|
1216
|
+
export type I7qc53b1tvqjg2 = {
|
|
1217
|
+
"account": SS58String;
|
|
1218
|
+
"proposal_hash": FixedSizeBinary<32>;
|
|
1219
|
+
"voted": boolean;
|
|
1220
|
+
"yes": number;
|
|
1221
|
+
"no": number;
|
|
1222
|
+
};
|
|
1223
|
+
export type I2ev73t79f46tb = {
|
|
1224
|
+
"proposal_hash": FixedSizeBinary<32>;
|
|
1225
|
+
};
|
|
1226
|
+
export type I8ugagfge33cr6 = {
|
|
1227
|
+
"proposal_hash": FixedSizeBinary<32>;
|
|
1228
|
+
"result": Anonymize<I3pd2qrlv5lfbq>;
|
|
1229
|
+
};
|
|
1230
|
+
export type Iak7fhrgb9jnnq = {
|
|
1231
|
+
"proposal_hash": FixedSizeBinary<32>;
|
|
1232
|
+
"yes": number;
|
|
1233
|
+
"no": number;
|
|
1234
|
+
};
|
|
1235
|
+
export type Idk8d6j19bc3dq = AnonymousEnum<{
|
|
1236
|
+
/**
|
|
1237
|
+
* Contract deployed by address at the specified address.
|
|
1238
|
+
*/
|
|
1239
|
+
"Instantiated": Anonymize<Ie5222qfrr24ek>;
|
|
1240
|
+
/**
|
|
1241
|
+
* Contract has been removed.
|
|
1242
|
+
*
|
|
1243
|
+
* # Note
|
|
1244
|
+
*
|
|
1245
|
+
* The only way for a contract to be removed and emitting this event is by calling
|
|
1246
|
+
* `seal_terminate`.
|
|
1247
|
+
*/
|
|
1248
|
+
"Terminated": Anonymize<I28g8sphdu312k>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Code with the specified hash has been stored.
|
|
1251
|
+
*/
|
|
1252
|
+
"CodeStored": Anonymize<Ib51vk42m1po4n>;
|
|
1253
|
+
/**
|
|
1254
|
+
* A custom event emitted by the contract.
|
|
1255
|
+
*/
|
|
1256
|
+
"ContractEmitted": Anonymize<I853aigjva3f0t>;
|
|
1257
|
+
/**
|
|
1258
|
+
* A code with the specified hash was removed.
|
|
1259
|
+
*/
|
|
1260
|
+
"CodeRemoved": Anonymize<Ib51vk42m1po4n>;
|
|
1261
|
+
/**
|
|
1262
|
+
* A contract's code was updated.
|
|
1263
|
+
*/
|
|
1264
|
+
"ContractCodeUpdated": Anonymize<I7q5qk4uoanhof>;
|
|
1265
|
+
/**
|
|
1266
|
+
* A contract was called either by a plain account or another contract.
|
|
1267
|
+
*
|
|
1268
|
+
* # Note
|
|
1269
|
+
*
|
|
1270
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
1271
|
+
* calls. This is because on failure all storage changes including events are
|
|
1272
|
+
* rolled back.
|
|
1273
|
+
*/
|
|
1274
|
+
"Called": Anonymize<I33ec4tl0gpobd>;
|
|
1275
|
+
/**
|
|
1276
|
+
* A contract delegate called a code hash.
|
|
1277
|
+
*
|
|
1278
|
+
* # Note
|
|
1279
|
+
*
|
|
1280
|
+
* Please keep in mind that like all events this is only emitted for successful
|
|
1281
|
+
* calls. This is because on failure all storage changes including events are
|
|
1282
|
+
* rolled back.
|
|
1283
|
+
*/
|
|
1284
|
+
"DelegateCalled": Anonymize<Idht9upmipvd4j>;
|
|
1285
|
+
}>;
|
|
1286
|
+
export type Ie5222qfrr24ek = {
|
|
1287
|
+
"deployer": SS58String;
|
|
1288
|
+
"contract": SS58String;
|
|
1289
|
+
};
|
|
1290
|
+
export type I28g8sphdu312k = {
|
|
1291
|
+
/**
|
|
1292
|
+
* The contract that was terminated.
|
|
1293
|
+
*/
|
|
1294
|
+
"contract": SS58String;
|
|
1295
|
+
/**
|
|
1296
|
+
* The account that received the contracts remaining balance
|
|
1297
|
+
*/
|
|
1298
|
+
"beneficiary": SS58String;
|
|
1299
|
+
};
|
|
1300
|
+
export type Ib51vk42m1po4n = {
|
|
1301
|
+
"code_hash": FixedSizeBinary<32>;
|
|
1302
|
+
};
|
|
1303
|
+
export type I853aigjva3f0t = {
|
|
1304
|
+
/**
|
|
1305
|
+
* The contract that emitted the event.
|
|
1306
|
+
*/
|
|
1307
|
+
"contract": SS58String;
|
|
1308
|
+
/**
|
|
1309
|
+
* Data supplied by the contract. Metadata generated during contract compilation
|
|
1310
|
+
* is needed to decode it.
|
|
1311
|
+
*/
|
|
1312
|
+
"data": Binary;
|
|
1313
|
+
};
|
|
1314
|
+
export type I7q5qk4uoanhof = {
|
|
1315
|
+
/**
|
|
1316
|
+
* The contract that has been updated.
|
|
1317
|
+
*/
|
|
1318
|
+
"contract": SS58String;
|
|
1319
|
+
/**
|
|
1320
|
+
* New code hash that was set for the contract.
|
|
1321
|
+
*/
|
|
1322
|
+
"new_code_hash": FixedSizeBinary<32>;
|
|
1323
|
+
/**
|
|
1324
|
+
* Previous code hash of the contract.
|
|
1325
|
+
*/
|
|
1326
|
+
"old_code_hash": FixedSizeBinary<32>;
|
|
1327
|
+
};
|
|
1328
|
+
export type I33ec4tl0gpobd = {
|
|
1329
|
+
/**
|
|
1330
|
+
* The account that called the `contract`.
|
|
1331
|
+
*/
|
|
1332
|
+
"caller": SS58String;
|
|
1333
|
+
/**
|
|
1334
|
+
* The contract that was called.
|
|
1335
|
+
*/
|
|
1336
|
+
"contract": SS58String;
|
|
1337
|
+
};
|
|
1338
|
+
export type Idht9upmipvd4j = {
|
|
1339
|
+
/**
|
|
1340
|
+
* The contract that performed the delegate call and hence in whose context
|
|
1341
|
+
* the `code_hash` is executed.
|
|
1342
|
+
*/
|
|
1343
|
+
"contract": SS58String;
|
|
1344
|
+
/**
|
|
1345
|
+
* The code hash that was delegate called.
|
|
1346
|
+
*/
|
|
1347
|
+
"code_hash": FixedSizeBinary<32>;
|
|
1348
|
+
};
|
|
1349
|
+
export type Id110vug875n1o = AnonymousEnum<{
|
|
1350
|
+
/**
|
|
1351
|
+
* A new heartbeat was received from `AuthorityId`.
|
|
1352
|
+
*/
|
|
1353
|
+
"HeartbeatReceived": Anonymize<I6niuoceqveh04>;
|
|
1354
|
+
/**
|
|
1355
|
+
* At the end of the session, no offence was committed.
|
|
1356
|
+
*/
|
|
1357
|
+
"AllGood": undefined;
|
|
1358
|
+
/**
|
|
1359
|
+
* At the end of the session, at least one validator was found to be offline.
|
|
1360
|
+
*/
|
|
1361
|
+
"SomeOffline": Anonymize<I6qlgjcdbigsr7>;
|
|
1362
|
+
}>;
|
|
1363
|
+
export type I6niuoceqveh04 = {
|
|
1364
|
+
"authority_id": FixedSizeBinary<32>;
|
|
1365
|
+
};
|
|
1366
|
+
export type I6qlgjcdbigsr7 = {
|
|
1367
|
+
"offline": Array<[SS58String, Anonymize<I9ft3qmrv5je1f>]>;
|
|
1368
|
+
};
|
|
1369
|
+
export type SessionEvent = Enum<{
|
|
1370
|
+
/**
|
|
1371
|
+
* New session has happened. Note that the argument is the session index, not the
|
|
1372
|
+
* block number as the type might suggest.
|
|
1373
|
+
*/
|
|
1374
|
+
"NewSession": Anonymize<I2hq50pu2kdjpo>;
|
|
1375
|
+
}>;
|
|
1376
|
+
export declare const SessionEvent: GetEnum<SessionEvent>;
|
|
1377
|
+
export type I2hq50pu2kdjpo = {
|
|
1378
|
+
"session_index": number;
|
|
1379
|
+
};
|
|
1380
|
+
export type I3ul3cf3die25m = AnonymousEnum<{
|
|
1381
|
+
/**
|
|
1382
|
+
* New proposal.
|
|
1383
|
+
*/
|
|
1384
|
+
"Proposed": Anonymize<I44hc4lgsn4o1j>;
|
|
1385
|
+
/**
|
|
1386
|
+
* We have ended a spend period and will now allocate funds.
|
|
1387
|
+
*/
|
|
1388
|
+
"Spending": Anonymize<I8iksqi3eani0a>;
|
|
1389
|
+
/**
|
|
1390
|
+
* Some funds have been allocated.
|
|
1391
|
+
*/
|
|
1392
|
+
"Awarded": Anonymize<I16enopmju1p0q>;
|
|
1393
|
+
/**
|
|
1394
|
+
* A proposal was rejected; funds were slashed.
|
|
1395
|
+
*/
|
|
1396
|
+
"Rejected": Anonymize<Ifgqhle2413de7>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Some of our funds have been burnt.
|
|
1399
|
+
*/
|
|
1400
|
+
"Burnt": Anonymize<I43kq8qudg7pq9>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Spending has finished; this is the amount that rolls over until next spend.
|
|
1403
|
+
*/
|
|
1404
|
+
"Rollover": Anonymize<I76riseemre533>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Some funds have been deposited.
|
|
1407
|
+
*/
|
|
1408
|
+
"Deposit": Anonymize<Ie5v6njpckr05b>;
|
|
1409
|
+
/**
|
|
1410
|
+
* A new spend proposal has been approved.
|
|
1411
|
+
*/
|
|
1412
|
+
"SpendApproved": Anonymize<I38bmcrmh852rk>;
|
|
1413
|
+
/**
|
|
1414
|
+
* The inactive funds of the pallet have been updated.
|
|
1415
|
+
*/
|
|
1416
|
+
"UpdatedInactive": Anonymize<I4hcillge8de5f>;
|
|
1417
|
+
}>;
|
|
1418
|
+
export type I44hc4lgsn4o1j = {
|
|
1419
|
+
"proposal_index": number;
|
|
1420
|
+
};
|
|
1421
|
+
export type I8iksqi3eani0a = {
|
|
1422
|
+
"budget_remaining": bigint;
|
|
1423
|
+
};
|
|
1424
|
+
export type I16enopmju1p0q = {
|
|
1425
|
+
"proposal_index": number;
|
|
1426
|
+
"award": bigint;
|
|
1427
|
+
"account": SS58String;
|
|
1428
|
+
};
|
|
1429
|
+
export type Ifgqhle2413de7 = {
|
|
1430
|
+
"proposal_index": number;
|
|
1431
|
+
"slashed": bigint;
|
|
1432
|
+
};
|
|
1433
|
+
export type I43kq8qudg7pq9 = {
|
|
1434
|
+
"burnt_funds": bigint;
|
|
1435
|
+
};
|
|
1436
|
+
export type I76riseemre533 = {
|
|
1437
|
+
"rollover_balance": bigint;
|
|
1438
|
+
};
|
|
1439
|
+
export type Ie5v6njpckr05b = {
|
|
1440
|
+
"value": bigint;
|
|
1441
|
+
};
|
|
1442
|
+
export type I38bmcrmh852rk = {
|
|
1443
|
+
"proposal_index": number;
|
|
1444
|
+
"amount": bigint;
|
|
1445
|
+
"beneficiary": SS58String;
|
|
1446
|
+
};
|
|
1447
|
+
export type I4hcillge8de5f = {
|
|
1448
|
+
"reactivated": bigint;
|
|
1449
|
+
"deactivated": bigint;
|
|
1450
|
+
};
|
|
1451
|
+
export type I76tkr0so3ic0f = AnonymousEnum<{
|
|
1452
|
+
"AccountNominatedForLock": SS58String;
|
|
1453
|
+
"ProposalFeePaid": Anonymize<I95l2k9b1re95f>;
|
|
1454
|
+
/**
|
|
1455
|
+
* voter, proposed account lock state, decision
|
|
1456
|
+
*/
|
|
1457
|
+
"VoteRecorded": Anonymize<I2evmoek0livio>;
|
|
1458
|
+
"AccountLocked": SS58String;
|
|
1459
|
+
"AccountUnlocked": SS58String;
|
|
1460
|
+
"AccountNominatedForUnlock": SS58String;
|
|
1461
|
+
"VoteStarted": undefined;
|
|
1462
|
+
"VoteEnded": Anonymize<Ifi8hei4mra7b1>;
|
|
1463
|
+
}>;
|
|
1464
|
+
export type I95l2k9b1re95f = [SS58String, bigint];
|
|
1465
|
+
export type I2evmoek0livio = [SS58String, SS58String, Anonymize<I6ip6vnprpkup3>, boolean];
|
|
1466
|
+
export type I6ip6vnprpkup3 = AnonymousEnum<{
|
|
1467
|
+
"Locked": undefined;
|
|
1468
|
+
"Unlocked": undefined;
|
|
1469
|
+
}>;
|
|
1470
|
+
export type Ifi8hei4mra7b1 = [SS58String, Anonymize<I2ec0urgo8jiub>];
|
|
1471
|
+
export type I2ec0urgo8jiub = AnonymousEnum<{
|
|
1472
|
+
"Passed": undefined;
|
|
1473
|
+
"Rejected": undefined;
|
|
1474
|
+
"Inconclusive": Anonymize<I9jd27rnpm8ttv>;
|
|
1475
|
+
}>;
|
|
1476
|
+
export type Ie8pcvlro0letr = AnonymousEnum<{
|
|
1477
|
+
/**
|
|
1478
|
+
* (creator, created)
|
|
1479
|
+
*/
|
|
1480
|
+
"MultiSignatureAccountCreated": Anonymize<I2na29tt2afp0j>;
|
|
1481
|
+
/**
|
|
1482
|
+
* (updater, updated)
|
|
1483
|
+
*/
|
|
1484
|
+
"MultiSignatureAccountUpdated": Anonymize<I2na29tt2afp0j>;
|
|
1485
|
+
/**
|
|
1486
|
+
* new transaction authors (author, call_id)
|
|
1487
|
+
*/
|
|
1488
|
+
"NewCallAuthored": Anonymize<I8uo3fpd3bcc6f>;
|
|
1489
|
+
/**
|
|
1490
|
+
* add approval to transaction (multi signature account, approver)
|
|
1491
|
+
*/
|
|
1492
|
+
"ApprovalAdded": Anonymize<I2na29tt2afp0j>;
|
|
1493
|
+
/**
|
|
1494
|
+
* remove approval from transaction (multi signature account, approver)
|
|
1495
|
+
*/
|
|
1496
|
+
"ApprovalRemoved": Anonymize<I2na29tt2afp0j>;
|
|
1497
|
+
/**
|
|
1498
|
+
* (executor)
|
|
1499
|
+
*/
|
|
1500
|
+
"CallExecuted": FixedSizeBinary<32>;
|
|
1501
|
+
/**
|
|
1502
|
+
* msa set new minimum approvals (multi signature account, new minimum)
|
|
1503
|
+
*/
|
|
1504
|
+
"MinApprovalsChanged": Anonymize<I6ouflveob4eli>;
|
|
1505
|
+
}>;
|
|
1506
|
+
export type I8uo3fpd3bcc6f = [SS58String, FixedSizeBinary<32>];
|
|
1507
|
+
export type I6ouflveob4eli = [SS58String, number];
|
|
1508
|
+
export type I95g6i7ilua7lq = Array<Anonymize<I9jd27rnpm8ttv>>;
|
|
1509
|
+
export type Ieniouoqkq4icf = {
|
|
1510
|
+
"spec_version": number;
|
|
1511
|
+
"spec_name": string;
|
|
1512
|
+
};
|
|
1513
|
+
export type TransactionPaymentReleases = Enum<{
|
|
1514
|
+
"V1Ancient": undefined;
|
|
1515
|
+
"V2": undefined;
|
|
1516
|
+
}>;
|
|
1517
|
+
export declare const TransactionPaymentReleases: GetEnum<TransactionPaymentReleases>;
|
|
1518
|
+
export type I3qklfjubrljqh = {
|
|
1519
|
+
"owner": SS58String;
|
|
1520
|
+
"issuer": SS58String;
|
|
1521
|
+
"admin": SS58String;
|
|
1522
|
+
"freezer": SS58String;
|
|
1523
|
+
"supply": bigint;
|
|
1524
|
+
"deposit": bigint;
|
|
1525
|
+
"min_balance": bigint;
|
|
1526
|
+
"is_sufficient": boolean;
|
|
1527
|
+
"accounts": number;
|
|
1528
|
+
"sufficients": number;
|
|
1529
|
+
"approvals": number;
|
|
1530
|
+
"status": Enum<{
|
|
1531
|
+
"Live": undefined;
|
|
1532
|
+
"Frozen": undefined;
|
|
1533
|
+
"Destroying": undefined;
|
|
1534
|
+
}>;
|
|
1535
|
+
};
|
|
1536
|
+
export type Ifpr2ehamqbtpn = {
|
|
1537
|
+
"balance": bigint;
|
|
1538
|
+
"is_frozen": boolean;
|
|
1539
|
+
"reason": Enum<{
|
|
1540
|
+
"Consumer": undefined;
|
|
1541
|
+
"Sufficient": undefined;
|
|
1542
|
+
"DepositHeld": bigint;
|
|
1543
|
+
"DepositRefunded": undefined;
|
|
1544
|
+
}>;
|
|
1545
|
+
};
|
|
1546
|
+
export type I7svnfko10tq2e = [number, SS58String];
|
|
1547
|
+
export type I4s6jkha20aoh0 = {
|
|
1548
|
+
"amount": bigint;
|
|
1549
|
+
"deposit": bigint;
|
|
1550
|
+
};
|
|
1551
|
+
export type I2brm5b9jij1st = [number, SS58String, SS58String];
|
|
1552
|
+
export type I78s05f59eoi8b = {
|
|
1553
|
+
"deposit": bigint;
|
|
1554
|
+
"name": Binary;
|
|
1555
|
+
"symbol": Binary;
|
|
1556
|
+
"decimals": number;
|
|
1557
|
+
"is_frozen": boolean;
|
|
1558
|
+
};
|
|
1559
|
+
export type Idbc6j12l47q6u = AnonymousEnum<{
|
|
1560
|
+
"D9Referral": Anonymize<I71le0r85ise00>;
|
|
1561
|
+
"D9Treasury": Anonymize<I5hbr43v8akvb9>;
|
|
1562
|
+
"D9NodeVoting": Anonymize<Iel9a5lddvm7m0>;
|
|
1563
|
+
"D9NodeRewards": Anonymize<Idcdoc5g5tvr98>;
|
|
1564
|
+
"Balances": Anonymize<I3pto7qvau3o4v>;
|
|
1565
|
+
"Grandpa": Anonymize<Ibck9ekr2i96uj>;
|
|
1566
|
+
"Sudo": Anonymize<Ird8kl6giffl6>;
|
|
1567
|
+
"System": Anonymize<Iccjej82b2j3c5>;
|
|
1568
|
+
"Timestamp": Anonymize<I7d75gqfg6jh9c>;
|
|
1569
|
+
"Assets": Anonymize<Ibt67jeu7kvjri>;
|
|
1570
|
+
"Collective": Anonymize<I27qsasejs7q6k>;
|
|
1571
|
+
"Contracts": Anonymize<I46q0lr7dn0ms>;
|
|
1572
|
+
"ImOnline": Anonymize<I3q88ia71e6pqf>;
|
|
1573
|
+
"Session": Anonymize<Iarlhbk9kadefk>;
|
|
1574
|
+
"Treasury": Anonymize<I8pvomobr0rgmg>;
|
|
1575
|
+
"CouncilLock": Anonymize<I1adeifplnqpmb>;
|
|
1576
|
+
"D9MultiSig": Anonymize<I2ilk32gggqout>;
|
|
1577
|
+
}>;
|
|
1578
|
+
export type I71le0r85ise00 = AnonymousEnum<{
|
|
1579
|
+
"change_referral_depth": Anonymize<Iatgdi2kcv135n>;
|
|
1580
|
+
}>;
|
|
1581
|
+
export type Iatgdi2kcv135n = {
|
|
1582
|
+
"new_depth": number;
|
|
1583
|
+
};
|
|
1584
|
+
export type I5hbr43v8akvb9 = AnonymousEnum<{
|
|
1585
|
+
"new_treasurer": Anonymize<I9v2pl8dvist4n>;
|
|
1586
|
+
}>;
|
|
1587
|
+
export type I9v2pl8dvist4n = {
|
|
1588
|
+
"new_treasurer": SS58String;
|
|
1589
|
+
};
|
|
1590
|
+
export type Iel9a5lddvm7m0 = AnonymousEnum<{
|
|
1591
|
+
"submit_candidacy": Anonymize<I99b0kdiutrec0>;
|
|
1592
|
+
"add_voting_interest": Anonymize<Ieue63tv8cm6fj>;
|
|
1593
|
+
"delegate_votes": Anonymize<Ifngtmog63ju60>;
|
|
1594
|
+
"remove_candidacy": undefined;
|
|
1595
|
+
"try_remove_votes_from_candidate": Anonymize<Idq1r98dclp264>;
|
|
1596
|
+
"redistribute_votes": Anonymize<I7j6vt4ra6khhv>;
|
|
1597
|
+
"change_candidate_name": Anonymize<I37gkv4ibak4u6>;
|
|
1598
|
+
"change_candidate_supporter_share": Anonymize<I29iqhd70jua80>;
|
|
1599
|
+
"set_pallet_admin": Anonymize<Iddf3ptb5cr131>;
|
|
1600
|
+
}>;
|
|
1601
|
+
export type I99b0kdiutrec0 = {
|
|
1602
|
+
"candidate_metadata": Anonymize<I8oim79f1d4kf0>;
|
|
1603
|
+
};
|
|
1604
|
+
export type Ieue63tv8cm6fj = {
|
|
1605
|
+
"beneficiary_voter": SS58String;
|
|
1606
|
+
"main_pool": SS58String;
|
|
1607
|
+
"amount_to_burn": bigint;
|
|
1608
|
+
"burn_contract": SS58String;
|
|
1609
|
+
};
|
|
1610
|
+
export type Ifngtmog63ju60 = {
|
|
1611
|
+
"delegations": Array<Anonymize<Idq1r98dclp264>>;
|
|
1612
|
+
};
|
|
1613
|
+
export type Idq1r98dclp264 = {
|
|
1614
|
+
"candidate": SS58String;
|
|
1615
|
+
"votes": bigint;
|
|
1616
|
+
};
|
|
1617
|
+
export type I7j6vt4ra6khhv = {
|
|
1618
|
+
"from": SS58String;
|
|
1619
|
+
"to": SS58String;
|
|
1620
|
+
};
|
|
1621
|
+
export type I37gkv4ibak4u6 = {
|
|
1622
|
+
"name": Binary;
|
|
1623
|
+
};
|
|
1624
|
+
export type I29iqhd70jua80 = {
|
|
1625
|
+
"sharing_percent": number;
|
|
1626
|
+
};
|
|
1627
|
+
export type Iddf3ptb5cr131 = {
|
|
1628
|
+
"new_admin": SS58String;
|
|
1629
|
+
};
|
|
1630
|
+
export type Idcdoc5g5tvr98 = AnonymousEnum<{
|
|
1631
|
+
"set_pallet_admin": Anonymize<Iddf3ptb5cr131>;
|
|
1632
|
+
"set_node_reward_contract": Anonymize<Iam7af3p82h77u>;
|
|
1633
|
+
}>;
|
|
1634
|
+
export type Iam7af3p82h77u = {
|
|
1635
|
+
"new_contract": SS58String;
|
|
1636
|
+
};
|
|
1637
|
+
export type I3pto7qvau3o4v = AnonymousEnum<{
|
|
1638
|
+
/**
|
|
1639
|
+
* Transfer some liquid free balance to another account.
|
|
1640
|
+
*
|
|
1641
|
+
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
|
1642
|
+
* If the sender's account is below the existential deposit as a result
|
|
1643
|
+
* of the transfer, the account will be reaped.
|
|
1644
|
+
*
|
|
1645
|
+
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
1646
|
+
*/
|
|
1647
|
+
"transfer_allow_death": Anonymize<I4ktuaksf5i1gk>;
|
|
1648
|
+
/**
|
|
1649
|
+
* Set the regular balance of a given account; it also takes a reserved balance but this
|
|
1650
|
+
* must be the same as the account's current reserved balance.
|
|
1651
|
+
*
|
|
1652
|
+
* The dispatch origin for this call is `root`.
|
|
1653
|
+
*
|
|
1654
|
+
* WARNING: This call is DEPRECATED! Use `force_set_balance` instead.
|
|
1655
|
+
*/
|
|
1656
|
+
"set_balance_deprecated": Anonymize<I2vudfeo4jg9um>;
|
|
1657
|
+
/**
|
|
1658
|
+
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
1659
|
+
* may be specified.
|
|
1660
|
+
*/
|
|
1661
|
+
"force_transfer": Anonymize<I9bqtpv2ii35mp>;
|
|
1662
|
+
/**
|
|
1663
|
+
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
1664
|
+
* kill the origin account.
|
|
1665
|
+
*
|
|
1666
|
+
* 99% of the time you want [`transfer_allow_death`] instead.
|
|
1667
|
+
*
|
|
1668
|
+
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
|
1669
|
+
*/
|
|
1670
|
+
"transfer_keep_alive": Anonymize<I4ktuaksf5i1gk>;
|
|
1671
|
+
/**
|
|
1672
|
+
* Transfer the entire transferable balance from the caller account.
|
|
1673
|
+
*
|
|
1674
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
1675
|
+
* any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
|
|
1676
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
1677
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
1678
|
+
* deposits, etc...
|
|
1679
|
+
*
|
|
1680
|
+
* The dispatch origin of this call must be Signed.
|
|
1681
|
+
*
|
|
1682
|
+
* - `dest`: The recipient of the transfer.
|
|
1683
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
1684
|
+
* of the funds the account has, causing the sender account to be killed (false), or
|
|
1685
|
+
* transfer everything except at least the existential deposit, which will guarantee to
|
|
1686
|
+
* keep the sender account alive (true).
|
|
1687
|
+
*/
|
|
1688
|
+
"transfer_all": Anonymize<I9j7pagd6d4bda>;
|
|
1689
|
+
/**
|
|
1690
|
+
* Unreserve some balance from a user by force.
|
|
1691
|
+
*
|
|
1692
|
+
* Can only be called by ROOT.
|
|
1693
|
+
*/
|
|
1694
|
+
"force_unreserve": Anonymize<I2h9pmio37r7fb>;
|
|
1695
|
+
/**
|
|
1696
|
+
* Upgrade a specified account.
|
|
1697
|
+
*
|
|
1698
|
+
* - `origin`: Must be `Signed`.
|
|
1699
|
+
* - `who`: The account to be upgraded.
|
|
1700
|
+
*
|
|
1701
|
+
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
1702
|
+
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
1703
|
+
* possibililty of churn).
|
|
1704
|
+
*/
|
|
1705
|
+
"upgrade_accounts": Anonymize<Ibmr18suc9ikh9>;
|
|
1706
|
+
/**
|
|
1707
|
+
* Alias for `transfer_allow_death`, provided only for name-wise compatibility.
|
|
1708
|
+
*
|
|
1709
|
+
* WARNING: DEPRECATED! Will be released in approximately 3 months.
|
|
1710
|
+
*/
|
|
1711
|
+
"transfer": Anonymize<I4ktuaksf5i1gk>;
|
|
1712
|
+
/**
|
|
1713
|
+
* Set the regular balance of a given account.
|
|
1714
|
+
*
|
|
1715
|
+
* The dispatch origin for this call is `root`.
|
|
1716
|
+
*/
|
|
1717
|
+
"force_set_balance": Anonymize<I9iq22t0burs89>;
|
|
1718
|
+
}>;
|
|
1719
|
+
export type I4ktuaksf5i1gk = {
|
|
1720
|
+
"dest": MultiAddress;
|
|
1721
|
+
"value": bigint;
|
|
1722
|
+
};
|
|
1723
|
+
export type MultiAddress = Enum<{
|
|
1724
|
+
"Id": SS58String;
|
|
1725
|
+
"Index": undefined;
|
|
1726
|
+
"Raw": Binary;
|
|
1727
|
+
"Address32": FixedSizeBinary<32>;
|
|
1728
|
+
"Address20": FixedSizeBinary<20>;
|
|
1729
|
+
}>;
|
|
1730
|
+
export declare const MultiAddress: GetEnum<MultiAddress>;
|
|
1731
|
+
export type I2vudfeo4jg9um = {
|
|
1732
|
+
"who": MultiAddress;
|
|
1733
|
+
"new_free": bigint;
|
|
1734
|
+
"old_reserved": bigint;
|
|
1735
|
+
};
|
|
1736
|
+
export type I9bqtpv2ii35mp = {
|
|
1737
|
+
"source": MultiAddress;
|
|
1738
|
+
"dest": MultiAddress;
|
|
1739
|
+
"value": bigint;
|
|
1740
|
+
};
|
|
1741
|
+
export type I9j7pagd6d4bda = {
|
|
1742
|
+
"dest": MultiAddress;
|
|
1743
|
+
"keep_alive": boolean;
|
|
1744
|
+
};
|
|
1745
|
+
export type I2h9pmio37r7fb = {
|
|
1746
|
+
"who": MultiAddress;
|
|
1747
|
+
"amount": bigint;
|
|
1748
|
+
};
|
|
1749
|
+
export type Ibmr18suc9ikh9 = {
|
|
1750
|
+
"who": Anonymize<Ia2lhg7l2hilo3>;
|
|
1751
|
+
};
|
|
1752
|
+
export type I9iq22t0burs89 = {
|
|
1753
|
+
"who": MultiAddress;
|
|
1754
|
+
"new_free": bigint;
|
|
1755
|
+
};
|
|
1756
|
+
export type Ibck9ekr2i96uj = AnonymousEnum<{
|
|
1757
|
+
/**
|
|
1758
|
+
* Report voter equivocation/misbehavior. This method will verify the
|
|
1759
|
+
* equivocation proof and validate the given key ownership proof
|
|
1760
|
+
* against the extracted offender. If both are valid, the offence
|
|
1761
|
+
* will be reported.
|
|
1762
|
+
*/
|
|
1763
|
+
"report_equivocation": Anonymize<I3a5kuu5t5jj3g>;
|
|
1764
|
+
/**
|
|
1765
|
+
* Report voter equivocation/misbehavior. This method will verify the
|
|
1766
|
+
* equivocation proof and validate the given key ownership proof
|
|
1767
|
+
* against the extracted offender. If both are valid, the offence
|
|
1768
|
+
* will be reported.
|
|
1769
|
+
*
|
|
1770
|
+
* This extrinsic must be called unsigned and it is expected that only
|
|
1771
|
+
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
1772
|
+
* if the block author is defined it will be defined as the equivocation
|
|
1773
|
+
* reporter.
|
|
1774
|
+
*/
|
|
1775
|
+
"report_equivocation_unsigned": Anonymize<I3a5kuu5t5jj3g>;
|
|
1776
|
+
/**
|
|
1777
|
+
* Note that the current authority set of the GRANDPA finality gadget has stalled.
|
|
1778
|
+
*
|
|
1779
|
+
* This will trigger a forced authority set change at the beginning of the next session, to
|
|
1780
|
+
* be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
|
|
1781
|
+
* that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
|
|
1782
|
+
* The block production rate (which may be slowed down because of finality lagging) should
|
|
1783
|
+
* be taken into account when choosing the `delay`. The GRANDPA voters based on the new
|
|
1784
|
+
* authority will start voting on top of `best_finalized_block_number` for new finalized
|
|
1785
|
+
* blocks. `best_finalized_block_number` should be the highest of the latest finalized
|
|
1786
|
+
* block of all validators of the new authority set.
|
|
1787
|
+
*
|
|
1788
|
+
* Only callable by root.
|
|
1789
|
+
*/
|
|
1790
|
+
"note_stalled": Anonymize<I2hviml3snvhhn>;
|
|
1791
|
+
}>;
|
|
1792
|
+
export type I3a5kuu5t5jj3g = {
|
|
1793
|
+
"equivocation_proof": {
|
|
1794
|
+
"set_id": bigint;
|
|
1795
|
+
"equivocation": GrandpaEquivocation;
|
|
1796
|
+
};
|
|
1797
|
+
};
|
|
1798
|
+
export type GrandpaEquivocation = Enum<{
|
|
1799
|
+
"Prevote": {
|
|
1800
|
+
"round_number": bigint;
|
|
1801
|
+
"identity": FixedSizeBinary<32>;
|
|
1802
|
+
"first": [{
|
|
1803
|
+
"target_hash": FixedSizeBinary<32>;
|
|
1804
|
+
"target_number": number;
|
|
1805
|
+
}, FixedSizeBinary<64>];
|
|
1806
|
+
"second": [{
|
|
1807
|
+
"target_hash": FixedSizeBinary<32>;
|
|
1808
|
+
"target_number": number;
|
|
1809
|
+
}, FixedSizeBinary<64>];
|
|
1810
|
+
};
|
|
1811
|
+
"Precommit": {
|
|
1812
|
+
"round_number": bigint;
|
|
1813
|
+
"identity": FixedSizeBinary<32>;
|
|
1814
|
+
"first": [{
|
|
1815
|
+
"target_hash": FixedSizeBinary<32>;
|
|
1816
|
+
"target_number": number;
|
|
1817
|
+
}, FixedSizeBinary<64>];
|
|
1818
|
+
"second": [{
|
|
1819
|
+
"target_hash": FixedSizeBinary<32>;
|
|
1820
|
+
"target_number": number;
|
|
1821
|
+
}, FixedSizeBinary<64>];
|
|
1822
|
+
};
|
|
1823
|
+
}>;
|
|
1824
|
+
export declare const GrandpaEquivocation: GetEnum<GrandpaEquivocation>;
|
|
1825
|
+
export type I2hviml3snvhhn = {
|
|
1826
|
+
"delay": number;
|
|
1827
|
+
"best_finalized_block_number": number;
|
|
1828
|
+
};
|
|
1829
|
+
export type Ird8kl6giffl6 = AnonymousEnum<{
|
|
1830
|
+
/**
|
|
1831
|
+
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
1832
|
+
*
|
|
1833
|
+
* The dispatch origin for this call must be _Signed_.
|
|
1834
|
+
*
|
|
1835
|
+
* ## Complexity
|
|
1836
|
+
* - O(1).
|
|
1837
|
+
*/
|
|
1838
|
+
"sudo": Anonymize<I5ieg0uffm6362>;
|
|
1839
|
+
/**
|
|
1840
|
+
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
1841
|
+
* This function does not check the weight of the call, and instead allows the
|
|
1842
|
+
* Sudo user to specify the weight of the call.
|
|
1843
|
+
*
|
|
1844
|
+
* The dispatch origin for this call must be _Signed_.
|
|
1845
|
+
*
|
|
1846
|
+
* ## Complexity
|
|
1847
|
+
* - O(1).
|
|
1848
|
+
*/
|
|
1849
|
+
"sudo_unchecked_weight": Anonymize<Icnilucsdvt9dl>;
|
|
1850
|
+
/**
|
|
1851
|
+
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
|
|
1852
|
+
* key.
|
|
1853
|
+
*
|
|
1854
|
+
* The dispatch origin for this call must be _Signed_.
|
|
1855
|
+
*
|
|
1856
|
+
* ## Complexity
|
|
1857
|
+
* - O(1).
|
|
1858
|
+
*/
|
|
1859
|
+
"set_key": Anonymize<I8k3rnvpeeh4hv>;
|
|
1860
|
+
/**
|
|
1861
|
+
* Authenticates the sudo key and dispatches a function call with `Signed` origin from
|
|
1862
|
+
* a given account.
|
|
1863
|
+
*
|
|
1864
|
+
* The dispatch origin for this call must be _Signed_.
|
|
1865
|
+
*
|
|
1866
|
+
* ## Complexity
|
|
1867
|
+
* - O(1).
|
|
1868
|
+
*/
|
|
1869
|
+
"sudo_as": Anonymize<Iducklp98fr36e>;
|
|
1870
|
+
}>;
|
|
1871
|
+
export type I5ieg0uffm6362 = {
|
|
1872
|
+
"call": TxCallData;
|
|
1873
|
+
};
|
|
1874
|
+
export type Icnilucsdvt9dl = {
|
|
1875
|
+
"call": TxCallData;
|
|
1876
|
+
"weight": Anonymize<I4q39t5hn830vp>;
|
|
1877
|
+
};
|
|
1878
|
+
export type I8k3rnvpeeh4hv = {
|
|
1879
|
+
"new": MultiAddress;
|
|
1880
|
+
};
|
|
1881
|
+
export type Iducklp98fr36e = {
|
|
1882
|
+
"who": MultiAddress;
|
|
1883
|
+
"call": TxCallData;
|
|
1884
|
+
};
|
|
1885
|
+
export type Iccjej82b2j3c5 = AnonymousEnum<{
|
|
1886
|
+
/**
|
|
1887
|
+
* Make some on-chain remark.
|
|
1888
|
+
*
|
|
1889
|
+
* ## Complexity
|
|
1890
|
+
* - `O(1)`
|
|
1891
|
+
*/
|
|
1892
|
+
"remark": Anonymize<I8ofcg5rbj0g2c>;
|
|
1893
|
+
/**
|
|
1894
|
+
* Set the number of pages in the WebAssembly environment's heap.
|
|
1895
|
+
*/
|
|
1896
|
+
"set_heap_pages": Anonymize<I4adgbll7gku4i>;
|
|
1897
|
+
/**
|
|
1898
|
+
* Set the new runtime code.
|
|
1899
|
+
*
|
|
1900
|
+
* ## Complexity
|
|
1901
|
+
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
|
|
1902
|
+
*/
|
|
1903
|
+
"set_code": Anonymize<I6pjjpfvhvcfru>;
|
|
1904
|
+
/**
|
|
1905
|
+
* Set the new runtime code without doing any checks of the given `code`.
|
|
1906
|
+
*
|
|
1907
|
+
* ## Complexity
|
|
1908
|
+
* - `O(C)` where `C` length of `code`
|
|
1909
|
+
*/
|
|
1910
|
+
"set_code_without_checks": Anonymize<I6pjjpfvhvcfru>;
|
|
1911
|
+
/**
|
|
1912
|
+
* Set some items of storage.
|
|
1913
|
+
*/
|
|
1914
|
+
"set_storage": Anonymize<I9pj91mj79qekl>;
|
|
1915
|
+
/**
|
|
1916
|
+
* Kill some items from storage.
|
|
1917
|
+
*/
|
|
1918
|
+
"kill_storage": Anonymize<I39uah9nss64h9>;
|
|
1919
|
+
/**
|
|
1920
|
+
* Kill all storage items with a key that starts with the given prefix.
|
|
1921
|
+
*
|
|
1922
|
+
* **NOTE:** We rely on the Root origin to provide us the number of subkeys under
|
|
1923
|
+
* the prefix we are removing to accurately calculate the weight of this function.
|
|
1924
|
+
*/
|
|
1925
|
+
"kill_prefix": Anonymize<Ik64dknsq7k08>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Make some on-chain remark and emit event.
|
|
1928
|
+
*/
|
|
1929
|
+
"remark_with_event": Anonymize<I8ofcg5rbj0g2c>;
|
|
1930
|
+
}>;
|
|
1931
|
+
export type I8ofcg5rbj0g2c = {
|
|
1932
|
+
"remark": Binary;
|
|
1933
|
+
};
|
|
1934
|
+
export type I4adgbll7gku4i = {
|
|
1935
|
+
"pages": bigint;
|
|
1936
|
+
};
|
|
1937
|
+
export type I6pjjpfvhvcfru = {
|
|
1938
|
+
"code": Binary;
|
|
1939
|
+
};
|
|
1940
|
+
export type I9pj91mj79qekl = {
|
|
1941
|
+
"items": Array<FixedSizeArray<2, Binary>>;
|
|
1942
|
+
};
|
|
1943
|
+
export type I39uah9nss64h9 = {
|
|
1944
|
+
"keys": Anonymize<Itom7fk49o0c9>;
|
|
1945
|
+
};
|
|
1946
|
+
export type Itom7fk49o0c9 = Array<Binary>;
|
|
1947
|
+
export type Ik64dknsq7k08 = {
|
|
1948
|
+
"prefix": Binary;
|
|
1949
|
+
"subkeys": number;
|
|
1950
|
+
};
|
|
1951
|
+
export type I7d75gqfg6jh9c = AnonymousEnum<{
|
|
1952
|
+
/**
|
|
1953
|
+
* Set the current time.
|
|
1954
|
+
*
|
|
1955
|
+
* This call should be invoked exactly once per block. It will panic at the finalization
|
|
1956
|
+
* phase, if this call hasn't been invoked by that time.
|
|
1957
|
+
*
|
|
1958
|
+
* The timestamp should be greater than the previous one by the amount specified by
|
|
1959
|
+
* `MinimumPeriod`.
|
|
1960
|
+
*
|
|
1961
|
+
* The dispatch origin for this call must be `Inherent`.
|
|
1962
|
+
*
|
|
1963
|
+
* ## Complexity
|
|
1964
|
+
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
|
1965
|
+
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
|
|
1966
|
+
* `on_finalize`)
|
|
1967
|
+
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
1968
|
+
*/
|
|
1969
|
+
"set": Anonymize<Idcr6u6361oad9>;
|
|
1970
|
+
}>;
|
|
1971
|
+
export type Idcr6u6361oad9 = {
|
|
1972
|
+
"now": bigint;
|
|
1973
|
+
};
|
|
1974
|
+
export type Ibt67jeu7kvjri = AnonymousEnum<{
|
|
1975
|
+
/**
|
|
1976
|
+
* Issue a new class of fungible assets from a public origin.
|
|
1977
|
+
*
|
|
1978
|
+
* This new asset class has no assets initially and its owner is the origin.
|
|
1979
|
+
*
|
|
1980
|
+
* The origin must conform to the configured `CreateOrigin` and have sufficient funds free.
|
|
1981
|
+
*
|
|
1982
|
+
* Funds of sender are reserved by `AssetDeposit`.
|
|
1983
|
+
*
|
|
1984
|
+
* Parameters:
|
|
1985
|
+
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
1986
|
+
* an existing asset.
|
|
1987
|
+
* - `admin`: The admin of this class of assets. The admin is the initial address of each
|
|
1988
|
+
* member of the asset class's admin team.
|
|
1989
|
+
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
1990
|
+
* have. If an account's balance is reduced below this, then it collapses to zero.
|
|
1991
|
+
*
|
|
1992
|
+
* Emits `Created` event when successful.
|
|
1993
|
+
*
|
|
1994
|
+
* Weight: `O(1)`
|
|
1995
|
+
*/
|
|
1996
|
+
"create": Anonymize<Ic357tcepuvo5c>;
|
|
1997
|
+
/**
|
|
1998
|
+
* Issue a new class of fungible assets from a privileged origin.
|
|
1999
|
+
*
|
|
2000
|
+
* This new asset class has no assets initially.
|
|
2001
|
+
*
|
|
2002
|
+
* The origin must conform to `ForceOrigin`.
|
|
2003
|
+
*
|
|
2004
|
+
* Unlike `create`, no funds are reserved.
|
|
2005
|
+
*
|
|
2006
|
+
* - `id`: The identifier of the new asset. This must not be currently in use to identify
|
|
2007
|
+
* an existing asset.
|
|
2008
|
+
* - `owner`: The owner of this class of assets. The owner has full superuser permissions
|
|
2009
|
+
* over this asset, but may later change and configure the permissions using
|
|
2010
|
+
* `transfer_ownership` and `set_team`.
|
|
2011
|
+
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
2012
|
+
* have. If an account's balance is reduced below this, then it collapses to zero.
|
|
2013
|
+
*
|
|
2014
|
+
* Emits `ForceCreated` event when successful.
|
|
2015
|
+
*
|
|
2016
|
+
* Weight: `O(1)`
|
|
2017
|
+
*/
|
|
2018
|
+
"force_create": Anonymize<I2rnoam876ruhj>;
|
|
2019
|
+
/**
|
|
2020
|
+
* Start the process of destroying a fungible asset class.
|
|
2021
|
+
*
|
|
2022
|
+
* `start_destroy` is the first in a series of extrinsics that should be called, to allow
|
|
2023
|
+
* destruction of an asset class.
|
|
2024
|
+
*
|
|
2025
|
+
* The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`.
|
|
2026
|
+
*
|
|
2027
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
2028
|
+
* asset.
|
|
2029
|
+
*
|
|
2030
|
+
* The asset class must be frozen before calling `start_destroy`.
|
|
2031
|
+
*/
|
|
2032
|
+
"start_destroy": Anonymize<Ic5b47dj4coa3r>;
|
|
2033
|
+
/**
|
|
2034
|
+
* Destroy all accounts associated with a given asset.
|
|
2035
|
+
*
|
|
2036
|
+
* `destroy_accounts` should only be called after `start_destroy` has been called, and the
|
|
2037
|
+
* asset is in a `Destroying` state.
|
|
2038
|
+
*
|
|
2039
|
+
* Due to weight restrictions, this function may need to be called multiple times to fully
|
|
2040
|
+
* destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time.
|
|
2041
|
+
*
|
|
2042
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
2043
|
+
* asset.
|
|
2044
|
+
*
|
|
2045
|
+
* Each call emits the `Event::DestroyedAccounts` event.
|
|
2046
|
+
*/
|
|
2047
|
+
"destroy_accounts": Anonymize<Ic5b47dj4coa3r>;
|
|
2048
|
+
/**
|
|
2049
|
+
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
|
2050
|
+
*
|
|
2051
|
+
* `destroy_approvals` should only be called after `start_destroy` has been called, and the
|
|
2052
|
+
* asset is in a `Destroying` state.
|
|
2053
|
+
*
|
|
2054
|
+
* Due to weight restrictions, this function may need to be called multiple times to fully
|
|
2055
|
+
* destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time.
|
|
2056
|
+
*
|
|
2057
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
2058
|
+
* asset.
|
|
2059
|
+
*
|
|
2060
|
+
* Each call emits the `Event::DestroyedApprovals` event.
|
|
2061
|
+
*/
|
|
2062
|
+
"destroy_approvals": Anonymize<Ic5b47dj4coa3r>;
|
|
2063
|
+
/**
|
|
2064
|
+
* Complete destroying asset and unreserve currency.
|
|
2065
|
+
*
|
|
2066
|
+
* `finish_destroy` should only be called after `start_destroy` has been called, and the
|
|
2067
|
+
* asset is in a `Destroying` state. All accounts or approvals should be destroyed before
|
|
2068
|
+
* hand.
|
|
2069
|
+
*
|
|
2070
|
+
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
2071
|
+
* asset.
|
|
2072
|
+
*
|
|
2073
|
+
* Each successful call emits the `Event::Destroyed` event.
|
|
2074
|
+
*/
|
|
2075
|
+
"finish_destroy": Anonymize<Ic5b47dj4coa3r>;
|
|
2076
|
+
/**
|
|
2077
|
+
* Mint assets of a particular class.
|
|
2078
|
+
*
|
|
2079
|
+
* The origin must be Signed and the sender must be the Issuer of the asset `id`.
|
|
2080
|
+
*
|
|
2081
|
+
* - `id`: The identifier of the asset to have some amount minted.
|
|
2082
|
+
* - `beneficiary`: The account to be credited with the minted assets.
|
|
2083
|
+
* - `amount`: The amount of the asset to be minted.
|
|
2084
|
+
*
|
|
2085
|
+
* Emits `Issued` event when successful.
|
|
2086
|
+
*
|
|
2087
|
+
* Weight: `O(1)`
|
|
2088
|
+
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
|
|
2089
|
+
*/
|
|
2090
|
+
"mint": Anonymize<Ib3qnc19gu633c>;
|
|
2091
|
+
/**
|
|
2092
|
+
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
|
|
2093
|
+
*
|
|
2094
|
+
* Origin must be Signed and the sender should be the Manager of the asset `id`.
|
|
2095
|
+
*
|
|
2096
|
+
* Bails with `NoAccount` if the `who` is already dead.
|
|
2097
|
+
*
|
|
2098
|
+
* - `id`: The identifier of the asset to have some amount burned.
|
|
2099
|
+
* - `who`: The account to be debited from.
|
|
2100
|
+
* - `amount`: The maximum amount by which `who`'s balance should be reduced.
|
|
2101
|
+
*
|
|
2102
|
+
* Emits `Burned` with the actual amount burned. If this takes the balance to below the
|
|
2103
|
+
* minimum for the asset, then the amount burned is increased to take it to zero.
|
|
2104
|
+
*
|
|
2105
|
+
* Weight: `O(1)`
|
|
2106
|
+
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
|
|
2107
|
+
*/
|
|
2108
|
+
"burn": Anonymize<Ifira6u9hi7cu1>;
|
|
2109
|
+
/**
|
|
2110
|
+
* Move some assets from the sender account to another.
|
|
2111
|
+
*
|
|
2112
|
+
* Origin must be Signed.
|
|
2113
|
+
*
|
|
2114
|
+
* - `id`: The identifier of the asset to have some amount transferred.
|
|
2115
|
+
* - `target`: The account to be credited.
|
|
2116
|
+
* - `amount`: The amount by which the sender's balance of assets should be reduced and
|
|
2117
|
+
* `target`'s balance increased. The amount actually transferred may be slightly greater in
|
|
2118
|
+
* the case that the transfer would otherwise take the sender balance above zero but below
|
|
2119
|
+
* the minimum balance. Must be greater than zero.
|
|
2120
|
+
*
|
|
2121
|
+
* Emits `Transferred` with the actual amount transferred. If this takes the source balance
|
|
2122
|
+
* to below the minimum for the asset, then the amount transferred is increased to take it
|
|
2123
|
+
* to zero.
|
|
2124
|
+
*
|
|
2125
|
+
* Weight: `O(1)`
|
|
2126
|
+
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
2127
|
+
* `target`.
|
|
2128
|
+
*/
|
|
2129
|
+
"transfer": Anonymize<I72tqocvdoqfff>;
|
|
2130
|
+
/**
|
|
2131
|
+
* Move some assets from the sender account to another, keeping the sender account alive.
|
|
2132
|
+
*
|
|
2133
|
+
* Origin must be Signed.
|
|
2134
|
+
*
|
|
2135
|
+
* - `id`: The identifier of the asset to have some amount transferred.
|
|
2136
|
+
* - `target`: The account to be credited.
|
|
2137
|
+
* - `amount`: The amount by which the sender's balance of assets should be reduced and
|
|
2138
|
+
* `target`'s balance increased. The amount actually transferred may be slightly greater in
|
|
2139
|
+
* the case that the transfer would otherwise take the sender balance above zero but below
|
|
2140
|
+
* the minimum balance. Must be greater than zero.
|
|
2141
|
+
*
|
|
2142
|
+
* Emits `Transferred` with the actual amount transferred. If this takes the source balance
|
|
2143
|
+
* to below the minimum for the asset, then the amount transferred is increased to take it
|
|
2144
|
+
* to zero.
|
|
2145
|
+
*
|
|
2146
|
+
* Weight: `O(1)`
|
|
2147
|
+
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
|
|
2148
|
+
* `target`.
|
|
2149
|
+
*/
|
|
2150
|
+
"transfer_keep_alive": Anonymize<I72tqocvdoqfff>;
|
|
2151
|
+
/**
|
|
2152
|
+
* Move some assets from one account to another.
|
|
2153
|
+
*
|
|
2154
|
+
* Origin must be Signed and the sender should be the Admin of the asset `id`.
|
|
2155
|
+
*
|
|
2156
|
+
* - `id`: The identifier of the asset to have some amount transferred.
|
|
2157
|
+
* - `source`: The account to be debited.
|
|
2158
|
+
* - `dest`: The account to be credited.
|
|
2159
|
+
* - `amount`: The amount by which the `source`'s balance of assets should be reduced and
|
|
2160
|
+
* `dest`'s balance increased. The amount actually transferred may be slightly greater in
|
|
2161
|
+
* the case that the transfer would otherwise take the `source` balance above zero but
|
|
2162
|
+
* below the minimum balance. Must be greater than zero.
|
|
2163
|
+
*
|
|
2164
|
+
* Emits `Transferred` with the actual amount transferred. If this takes the source balance
|
|
2165
|
+
* to below the minimum for the asset, then the amount transferred is increased to take it
|
|
2166
|
+
* to zero.
|
|
2167
|
+
*
|
|
2168
|
+
* Weight: `O(1)`
|
|
2169
|
+
* Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
|
|
2170
|
+
* `dest`.
|
|
2171
|
+
*/
|
|
2172
|
+
"force_transfer": Anonymize<I2i27f3sfmvc05>;
|
|
2173
|
+
/**
|
|
2174
|
+
* Disallow further unprivileged transfers from an account.
|
|
2175
|
+
*
|
|
2176
|
+
* Origin must be Signed and the sender should be the Freezer of the asset `id`.
|
|
2177
|
+
*
|
|
2178
|
+
* - `id`: The identifier of the asset to be frozen.
|
|
2179
|
+
* - `who`: The account to be frozen.
|
|
2180
|
+
*
|
|
2181
|
+
* Emits `Frozen`.
|
|
2182
|
+
*
|
|
2183
|
+
* Weight: `O(1)`
|
|
2184
|
+
*/
|
|
2185
|
+
"freeze": Anonymize<I1nlrtd1epki2d>;
|
|
2186
|
+
/**
|
|
2187
|
+
* Allow unprivileged transfers from an account again.
|
|
2188
|
+
*
|
|
2189
|
+
* Origin must be Signed and the sender should be the Admin of the asset `id`.
|
|
2190
|
+
*
|
|
2191
|
+
* - `id`: The identifier of the asset to be frozen.
|
|
2192
|
+
* - `who`: The account to be unfrozen.
|
|
2193
|
+
*
|
|
2194
|
+
* Emits `Thawed`.
|
|
2195
|
+
*
|
|
2196
|
+
* Weight: `O(1)`
|
|
2197
|
+
*/
|
|
2198
|
+
"thaw": Anonymize<I1nlrtd1epki2d>;
|
|
2199
|
+
/**
|
|
2200
|
+
* Disallow further unprivileged transfers for the asset class.
|
|
2201
|
+
*
|
|
2202
|
+
* Origin must be Signed and the sender should be the Freezer of the asset `id`.
|
|
2203
|
+
*
|
|
2204
|
+
* - `id`: The identifier of the asset to be frozen.
|
|
2205
|
+
*
|
|
2206
|
+
* Emits `Frozen`.
|
|
2207
|
+
*
|
|
2208
|
+
* Weight: `O(1)`
|
|
2209
|
+
*/
|
|
2210
|
+
"freeze_asset": Anonymize<Ic5b47dj4coa3r>;
|
|
2211
|
+
/**
|
|
2212
|
+
* Allow unprivileged transfers for the asset again.
|
|
2213
|
+
*
|
|
2214
|
+
* Origin must be Signed and the sender should be the Admin of the asset `id`.
|
|
2215
|
+
*
|
|
2216
|
+
* - `id`: The identifier of the asset to be thawed.
|
|
2217
|
+
*
|
|
2218
|
+
* Emits `Thawed`.
|
|
2219
|
+
*
|
|
2220
|
+
* Weight: `O(1)`
|
|
2221
|
+
*/
|
|
2222
|
+
"thaw_asset": Anonymize<Ic5b47dj4coa3r>;
|
|
2223
|
+
/**
|
|
2224
|
+
* Change the Owner of an asset.
|
|
2225
|
+
*
|
|
2226
|
+
* Origin must be Signed and the sender should be the Owner of the asset `id`.
|
|
2227
|
+
*
|
|
2228
|
+
* - `id`: The identifier of the asset.
|
|
2229
|
+
* - `owner`: The new Owner of this asset.
|
|
2230
|
+
*
|
|
2231
|
+
* Emits `OwnerChanged`.
|
|
2232
|
+
*
|
|
2233
|
+
* Weight: `O(1)`
|
|
2234
|
+
*/
|
|
2235
|
+
"transfer_ownership": Anonymize<I3abtumcmempjs>;
|
|
2236
|
+
/**
|
|
2237
|
+
* Change the Issuer, Admin and Freezer of an asset.
|
|
2238
|
+
*
|
|
2239
|
+
* Origin must be Signed and the sender should be the Owner of the asset `id`.
|
|
2240
|
+
*
|
|
2241
|
+
* - `id`: The identifier of the asset to be frozen.
|
|
2242
|
+
* - `issuer`: The new Issuer of this asset.
|
|
2243
|
+
* - `admin`: The new Admin of this asset.
|
|
2244
|
+
* - `freezer`: The new Freezer of this asset.
|
|
2245
|
+
*
|
|
2246
|
+
* Emits `TeamChanged`.
|
|
2247
|
+
*
|
|
2248
|
+
* Weight: `O(1)`
|
|
2249
|
+
*/
|
|
2250
|
+
"set_team": Anonymize<Id81m8flopt8ha>;
|
|
2251
|
+
/**
|
|
2252
|
+
* Set the metadata for an asset.
|
|
2253
|
+
*
|
|
2254
|
+
* Origin must be Signed and the sender should be the Owner of the asset `id`.
|
|
2255
|
+
*
|
|
2256
|
+
* Funds of sender are reserved according to the formula:
|
|
2257
|
+
* `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into
|
|
2258
|
+
* account any already reserved funds.
|
|
2259
|
+
*
|
|
2260
|
+
* - `id`: The identifier of the asset to update.
|
|
2261
|
+
* - `name`: The user friendly name of this asset. Limited in length by `StringLimit`.
|
|
2262
|
+
* - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`.
|
|
2263
|
+
* - `decimals`: The number of decimals this asset uses to represent one unit.
|
|
2264
|
+
*
|
|
2265
|
+
* Emits `MetadataSet`.
|
|
2266
|
+
*
|
|
2267
|
+
* Weight: `O(1)`
|
|
2268
|
+
*/
|
|
2269
|
+
"set_metadata": Anonymize<I8hff7chabggkd>;
|
|
2270
|
+
/**
|
|
2271
|
+
* Clear the metadata for an asset.
|
|
2272
|
+
*
|
|
2273
|
+
* Origin must be Signed and the sender should be the Owner of the asset `id`.
|
|
2274
|
+
*
|
|
2275
|
+
* Any deposit is freed for the asset owner.
|
|
2276
|
+
*
|
|
2277
|
+
* - `id`: The identifier of the asset to clear.
|
|
2278
|
+
*
|
|
2279
|
+
* Emits `MetadataCleared`.
|
|
2280
|
+
*
|
|
2281
|
+
* Weight: `O(1)`
|
|
2282
|
+
*/
|
|
2283
|
+
"clear_metadata": Anonymize<Ic5b47dj4coa3r>;
|
|
2284
|
+
/**
|
|
2285
|
+
* Force the metadata for an asset to some value.
|
|
2286
|
+
*
|
|
2287
|
+
* Origin must be ForceOrigin.
|
|
2288
|
+
*
|
|
2289
|
+
* Any deposit is left alone.
|
|
2290
|
+
*
|
|
2291
|
+
* - `id`: The identifier of the asset to update.
|
|
2292
|
+
* - `name`: The user friendly name of this asset. Limited in length by `StringLimit`.
|
|
2293
|
+
* - `symbol`: The exchange symbol for this asset. Limited in length by `StringLimit`.
|
|
2294
|
+
* - `decimals`: The number of decimals this asset uses to represent one unit.
|
|
2295
|
+
*
|
|
2296
|
+
* Emits `MetadataSet`.
|
|
2297
|
+
*
|
|
2298
|
+
* Weight: `O(N + S)` where N and S are the length of the name and symbol respectively.
|
|
2299
|
+
*/
|
|
2300
|
+
"force_set_metadata": Anonymize<I49i39mtj1ivbs>;
|
|
2301
|
+
/**
|
|
2302
|
+
* Clear the metadata for an asset.
|
|
2303
|
+
*
|
|
2304
|
+
* Origin must be ForceOrigin.
|
|
2305
|
+
*
|
|
2306
|
+
* Any deposit is returned.
|
|
2307
|
+
*
|
|
2308
|
+
* - `id`: The identifier of the asset to clear.
|
|
2309
|
+
*
|
|
2310
|
+
* Emits `MetadataCleared`.
|
|
2311
|
+
*
|
|
2312
|
+
* Weight: `O(1)`
|
|
2313
|
+
*/
|
|
2314
|
+
"force_clear_metadata": Anonymize<Ic5b47dj4coa3r>;
|
|
2315
|
+
/**
|
|
2316
|
+
* Alter the attributes of a given asset.
|
|
2317
|
+
*
|
|
2318
|
+
* Origin must be `ForceOrigin`.
|
|
2319
|
+
*
|
|
2320
|
+
* - `id`: The identifier of the asset.
|
|
2321
|
+
* - `owner`: The new Owner of this asset.
|
|
2322
|
+
* - `issuer`: The new Issuer of this asset.
|
|
2323
|
+
* - `admin`: The new Admin of this asset.
|
|
2324
|
+
* - `freezer`: The new Freezer of this asset.
|
|
2325
|
+
* - `min_balance`: The minimum balance of this new asset that any single account must
|
|
2326
|
+
* have. If an account's balance is reduced below this, then it collapses to zero.
|
|
2327
|
+
* - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient
|
|
2328
|
+
* value to account for the state bloat associated with its balance storage. If set to
|
|
2329
|
+
* `true`, then non-zero balances may be stored without a `consumer` reference (and thus
|
|
2330
|
+
* an ED in the Balances pallet or whatever else is used to control user-account state
|
|
2331
|
+
* growth).
|
|
2332
|
+
* - `is_frozen`: Whether this asset class is frozen except for permissioned/admin
|
|
2333
|
+
* instructions.
|
|
2334
|
+
*
|
|
2335
|
+
* Emits `AssetStatusChanged` with the identity of the asset.
|
|
2336
|
+
*
|
|
2337
|
+
* Weight: `O(1)`
|
|
2338
|
+
*/
|
|
2339
|
+
"force_asset_status": Anonymize<Ifkr2kcak2vto1>;
|
|
2340
|
+
/**
|
|
2341
|
+
* Approve an amount of asset for transfer by a delegated third-party account.
|
|
2342
|
+
*
|
|
2343
|
+
* Origin must be Signed.
|
|
2344
|
+
*
|
|
2345
|
+
* Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account
|
|
2346
|
+
* for the purpose of holding the approval. If some non-zero amount of assets is already
|
|
2347
|
+
* approved from signing account to `delegate`, then it is topped up or unreserved to
|
|
2348
|
+
* meet the right value.
|
|
2349
|
+
*
|
|
2350
|
+
* NOTE: The signing account does not need to own `amount` of assets at the point of
|
|
2351
|
+
* making this call.
|
|
2352
|
+
*
|
|
2353
|
+
* - `id`: The identifier of the asset.
|
|
2354
|
+
* - `delegate`: The account to delegate permission to transfer asset.
|
|
2355
|
+
* - `amount`: The amount of asset that may be transferred by `delegate`. If there is
|
|
2356
|
+
* already an approval in place, then this acts additively.
|
|
2357
|
+
*
|
|
2358
|
+
* Emits `ApprovedTransfer` on success.
|
|
2359
|
+
*
|
|
2360
|
+
* Weight: `O(1)`
|
|
2361
|
+
*/
|
|
2362
|
+
"approve_transfer": Anonymize<I1ju6r8q0cs9jt>;
|
|
2363
|
+
/**
|
|
2364
|
+
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
2365
|
+
*
|
|
2366
|
+
* Origin must be Signed and there must be an approval in place between signer and
|
|
2367
|
+
* `delegate`.
|
|
2368
|
+
*
|
|
2369
|
+
* Unreserves any deposit previously reserved by `approve_transfer` for the approval.
|
|
2370
|
+
*
|
|
2371
|
+
* - `id`: The identifier of the asset.
|
|
2372
|
+
* - `delegate`: The account delegated permission to transfer asset.
|
|
2373
|
+
*
|
|
2374
|
+
* Emits `ApprovalCancelled` on success.
|
|
2375
|
+
*
|
|
2376
|
+
* Weight: `O(1)`
|
|
2377
|
+
*/
|
|
2378
|
+
"cancel_approval": Anonymize<I4kpeq6j7cd5bu>;
|
|
2379
|
+
/**
|
|
2380
|
+
* Cancel all of some asset approved for delegated transfer by a third-party account.
|
|
2381
|
+
*
|
|
2382
|
+
* Origin must be either ForceOrigin or Signed origin with the signer being the Admin
|
|
2383
|
+
* account of the asset `id`.
|
|
2384
|
+
*
|
|
2385
|
+
* Unreserves any deposit previously reserved by `approve_transfer` for the approval.
|
|
2386
|
+
*
|
|
2387
|
+
* - `id`: The identifier of the asset.
|
|
2388
|
+
* - `delegate`: The account delegated permission to transfer asset.
|
|
2389
|
+
*
|
|
2390
|
+
* Emits `ApprovalCancelled` on success.
|
|
2391
|
+
*
|
|
2392
|
+
* Weight: `O(1)`
|
|
2393
|
+
*/
|
|
2394
|
+
"force_cancel_approval": Anonymize<I5na1ka76k6811>;
|
|
2395
|
+
/**
|
|
2396
|
+
* Transfer some asset balance from a previously delegated account to some third-party
|
|
2397
|
+
* account.
|
|
2398
|
+
*
|
|
2399
|
+
* Origin must be Signed and there must be an approval in place by the `owner` to the
|
|
2400
|
+
* signer.
|
|
2401
|
+
*
|
|
2402
|
+
* If the entire amount approved for transfer is transferred, then any deposit previously
|
|
2403
|
+
* reserved by `approve_transfer` is unreserved.
|
|
2404
|
+
*
|
|
2405
|
+
* - `id`: The identifier of the asset.
|
|
2406
|
+
* - `owner`: The account which previously approved for a transfer of at least `amount` and
|
|
2407
|
+
* from which the asset balance will be withdrawn.
|
|
2408
|
+
* - `destination`: The account to which the asset balance of `amount` will be transferred.
|
|
2409
|
+
* - `amount`: The amount of assets to transfer.
|
|
2410
|
+
*
|
|
2411
|
+
* Emits `TransferredApproved` on success.
|
|
2412
|
+
*
|
|
2413
|
+
* Weight: `O(1)`
|
|
2414
|
+
*/
|
|
2415
|
+
"transfer_approved": Anonymize<I59mhdb9omdqfa>;
|
|
2416
|
+
/**
|
|
2417
|
+
* Create an asset account for non-provider assets.
|
|
2418
|
+
*
|
|
2419
|
+
* A deposit will be taken from the signer account.
|
|
2420
|
+
*
|
|
2421
|
+
* - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit
|
|
2422
|
+
* to be taken.
|
|
2423
|
+
* - `id`: The identifier of the asset for the account to be created.
|
|
2424
|
+
*
|
|
2425
|
+
* Emits `Touched` event when successful.
|
|
2426
|
+
*/
|
|
2427
|
+
"touch": Anonymize<Ic5b47dj4coa3r>;
|
|
2428
|
+
/**
|
|
2429
|
+
* Return the deposit (if any) of an asset account.
|
|
2430
|
+
*
|
|
2431
|
+
* The origin must be Signed.
|
|
2432
|
+
*
|
|
2433
|
+
* - `id`: The identifier of the asset for the account to be created.
|
|
2434
|
+
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
|
2435
|
+
*
|
|
2436
|
+
* Emits `Refunded` event when successful.
|
|
2437
|
+
*/
|
|
2438
|
+
"refund": Anonymize<I9vl5kpk0fpakt>;
|
|
2439
|
+
/**
|
|
2440
|
+
* Sets the minimum balance of an asset.
|
|
2441
|
+
*
|
|
2442
|
+
* Only works if there aren't any accounts that are holding the asset or if
|
|
2443
|
+
* the new value of `min_balance` is less than the old one.
|
|
2444
|
+
*
|
|
2445
|
+
* Origin must be Signed and the sender has to be the Owner of the
|
|
2446
|
+
* asset `id`.
|
|
2447
|
+
*
|
|
2448
|
+
* - `id`: The identifier of the asset.
|
|
2449
|
+
* - `min_balance`: The new value of `min_balance`.
|
|
2450
|
+
*
|
|
2451
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
2452
|
+
*/
|
|
2453
|
+
"set_min_balance": Anonymize<I717jt61hu19b4>;
|
|
2454
|
+
}>;
|
|
2455
|
+
export type Ic357tcepuvo5c = {
|
|
2456
|
+
"id": number;
|
|
2457
|
+
"admin": MultiAddress;
|
|
2458
|
+
"min_balance": bigint;
|
|
2459
|
+
};
|
|
2460
|
+
export type I2rnoam876ruhj = {
|
|
2461
|
+
"id": number;
|
|
2462
|
+
"owner": MultiAddress;
|
|
2463
|
+
"is_sufficient": boolean;
|
|
2464
|
+
"min_balance": bigint;
|
|
2465
|
+
};
|
|
2466
|
+
export type Ic5b47dj4coa3r = {
|
|
2467
|
+
"id": number;
|
|
2468
|
+
};
|
|
2469
|
+
export type Ib3qnc19gu633c = {
|
|
2470
|
+
"id": number;
|
|
2471
|
+
"beneficiary": MultiAddress;
|
|
2472
|
+
"amount": bigint;
|
|
2473
|
+
};
|
|
2474
|
+
export type Ifira6u9hi7cu1 = {
|
|
2475
|
+
"id": number;
|
|
2476
|
+
"who": MultiAddress;
|
|
2477
|
+
"amount": bigint;
|
|
2478
|
+
};
|
|
2479
|
+
export type I72tqocvdoqfff = {
|
|
2480
|
+
"id": number;
|
|
2481
|
+
"target": MultiAddress;
|
|
2482
|
+
"amount": bigint;
|
|
2483
|
+
};
|
|
2484
|
+
export type I2i27f3sfmvc05 = {
|
|
2485
|
+
"id": number;
|
|
2486
|
+
"source": MultiAddress;
|
|
2487
|
+
"dest": MultiAddress;
|
|
2488
|
+
"amount": bigint;
|
|
2489
|
+
};
|
|
2490
|
+
export type I1nlrtd1epki2d = {
|
|
2491
|
+
"id": number;
|
|
2492
|
+
"who": MultiAddress;
|
|
2493
|
+
};
|
|
2494
|
+
export type I3abtumcmempjs = {
|
|
2495
|
+
"id": number;
|
|
2496
|
+
"owner": MultiAddress;
|
|
2497
|
+
};
|
|
2498
|
+
export type Id81m8flopt8ha = {
|
|
2499
|
+
"id": number;
|
|
2500
|
+
"issuer": MultiAddress;
|
|
2501
|
+
"admin": MultiAddress;
|
|
2502
|
+
"freezer": MultiAddress;
|
|
2503
|
+
};
|
|
2504
|
+
export type I8hff7chabggkd = {
|
|
2505
|
+
"id": number;
|
|
2506
|
+
"name": Binary;
|
|
2507
|
+
"symbol": Binary;
|
|
2508
|
+
"decimals": number;
|
|
2509
|
+
};
|
|
2510
|
+
export type I49i39mtj1ivbs = {
|
|
2511
|
+
"id": number;
|
|
2512
|
+
"name": Binary;
|
|
2513
|
+
"symbol": Binary;
|
|
2514
|
+
"decimals": number;
|
|
2515
|
+
"is_frozen": boolean;
|
|
2516
|
+
};
|
|
2517
|
+
export type Ifkr2kcak2vto1 = {
|
|
2518
|
+
"id": number;
|
|
2519
|
+
"owner": MultiAddress;
|
|
2520
|
+
"issuer": MultiAddress;
|
|
2521
|
+
"admin": MultiAddress;
|
|
2522
|
+
"freezer": MultiAddress;
|
|
2523
|
+
"min_balance": bigint;
|
|
2524
|
+
"is_sufficient": boolean;
|
|
2525
|
+
"is_frozen": boolean;
|
|
2526
|
+
};
|
|
2527
|
+
export type I1ju6r8q0cs9jt = {
|
|
2528
|
+
"id": number;
|
|
2529
|
+
"delegate": MultiAddress;
|
|
2530
|
+
"amount": bigint;
|
|
2531
|
+
};
|
|
2532
|
+
export type I4kpeq6j7cd5bu = {
|
|
2533
|
+
"id": number;
|
|
2534
|
+
"delegate": MultiAddress;
|
|
2535
|
+
};
|
|
2536
|
+
export type I5na1ka76k6811 = {
|
|
2537
|
+
"id": number;
|
|
2538
|
+
"owner": MultiAddress;
|
|
2539
|
+
"delegate": MultiAddress;
|
|
2540
|
+
};
|
|
2541
|
+
export type I59mhdb9omdqfa = {
|
|
2542
|
+
"id": number;
|
|
2543
|
+
"owner": MultiAddress;
|
|
2544
|
+
"destination": MultiAddress;
|
|
2545
|
+
"amount": bigint;
|
|
2546
|
+
};
|
|
2547
|
+
export type I9vl5kpk0fpakt = {
|
|
2548
|
+
"id": number;
|
|
2549
|
+
"allow_burn": boolean;
|
|
2550
|
+
};
|
|
2551
|
+
export type I717jt61hu19b4 = {
|
|
2552
|
+
"id": number;
|
|
2553
|
+
"min_balance": bigint;
|
|
2554
|
+
};
|
|
2555
|
+
export type I27qsasejs7q6k = AnonymousEnum<{
|
|
2556
|
+
/**
|
|
2557
|
+
* Set the collective's membership.
|
|
2558
|
+
*
|
|
2559
|
+
* - `new_members`: The new member list. Be nice to the chain and provide it sorted.
|
|
2560
|
+
* - `prime`: The prime member whose vote sets the default.
|
|
2561
|
+
* - `old_count`: The upper bound for the previous number of members in storage. Used for
|
|
2562
|
+
* weight estimation.
|
|
2563
|
+
*
|
|
2564
|
+
* The dispatch of this call must be `SetMembersOrigin`.
|
|
2565
|
+
*
|
|
2566
|
+
* NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
|
|
2567
|
+
* the weight estimations rely on it to estimate dispatchable weight.
|
|
2568
|
+
*
|
|
2569
|
+
* # WARNING:
|
|
2570
|
+
*
|
|
2571
|
+
* The `pallet-collective` can also be managed by logic outside of the pallet through the
|
|
2572
|
+
* implementation of the trait [`ChangeMembers`].
|
|
2573
|
+
* Any call to `set_members` must be careful that the member set doesn't get out of sync
|
|
2574
|
+
* with other logic managing the member set.
|
|
2575
|
+
*
|
|
2576
|
+
* ## Complexity:
|
|
2577
|
+
* - `O(MP + N)` where:
|
|
2578
|
+
* - `M` old-members-count (code- and governance-bounded)
|
|
2579
|
+
* - `N` new-members-count (code- and governance-bounded)
|
|
2580
|
+
* - `P` proposals-count (code-bounded)
|
|
2581
|
+
*/
|
|
2582
|
+
"set_members": Anonymize<I38jfk5li8iang>;
|
|
2583
|
+
/**
|
|
2584
|
+
* Dispatch a proposal from a member using the `Member` origin.
|
|
2585
|
+
*
|
|
2586
|
+
* Origin must be a member of the collective.
|
|
2587
|
+
*
|
|
2588
|
+
* ## Complexity:
|
|
2589
|
+
* - `O(B + M + P)` where:
|
|
2590
|
+
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
2591
|
+
* - `M` members-count (code-bounded)
|
|
2592
|
+
* - `P` complexity of dispatching `proposal`
|
|
2593
|
+
*/
|
|
2594
|
+
"execute": Anonymize<I81bepctomm169>;
|
|
2595
|
+
/**
|
|
2596
|
+
* Add a new proposal to either be voted on or executed directly.
|
|
2597
|
+
*
|
|
2598
|
+
* Requires the sender to be member.
|
|
2599
|
+
*
|
|
2600
|
+
* `threshold` determines whether `proposal` is executed directly (`threshold < 2`)
|
|
2601
|
+
* or put up for voting.
|
|
2602
|
+
*
|
|
2603
|
+
* ## Complexity
|
|
2604
|
+
* - `O(B + M + P1)` or `O(B + M + P2)` where:
|
|
2605
|
+
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
2606
|
+
* - `M` is members-count (code- and governance-bounded)
|
|
2607
|
+
* - branching is influenced by `threshold` where:
|
|
2608
|
+
* - `P1` is proposal execution complexity (`threshold < 2`)
|
|
2609
|
+
* - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
|
|
2610
|
+
*/
|
|
2611
|
+
"propose": Anonymize<Ib8e4i1c3merv7>;
|
|
2612
|
+
/**
|
|
2613
|
+
* Add an aye or nay vote for the sender to the given proposal.
|
|
2614
|
+
*
|
|
2615
|
+
* Requires the sender to be a member.
|
|
2616
|
+
*
|
|
2617
|
+
* Transaction fees will be waived if the member is voting on any particular proposal
|
|
2618
|
+
* for the first time and the call is successful. Subsequent vote changes will charge a
|
|
2619
|
+
* fee.
|
|
2620
|
+
* ## Complexity
|
|
2621
|
+
* - `O(M)` where `M` is members-count (code- and governance-bounded)
|
|
2622
|
+
*/
|
|
2623
|
+
"vote": Anonymize<I2dtrijkm5601t>;
|
|
2624
|
+
/**
|
|
2625
|
+
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
2626
|
+
* state.
|
|
2627
|
+
*
|
|
2628
|
+
* Must be called by the Root origin.
|
|
2629
|
+
*
|
|
2630
|
+
* Parameters:
|
|
2631
|
+
* * `proposal_hash`: The hash of the proposal that should be disapproved.
|
|
2632
|
+
*
|
|
2633
|
+
* ## Complexity
|
|
2634
|
+
* O(P) where P is the number of max proposals
|
|
2635
|
+
*/
|
|
2636
|
+
"disapprove_proposal": Anonymize<I2ev73t79f46tb>;
|
|
2637
|
+
/**
|
|
2638
|
+
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
2639
|
+
*
|
|
2640
|
+
* May be called by any signed account in order to finish voting and close the proposal.
|
|
2641
|
+
*
|
|
2642
|
+
* If called before the end of the voting period it will only close the vote if it is
|
|
2643
|
+
* has enough votes to be approved or disapproved.
|
|
2644
|
+
*
|
|
2645
|
+
* If called after the end of the voting period abstentions are counted as rejections
|
|
2646
|
+
* unless there is a prime member set and the prime member cast an approval.
|
|
2647
|
+
*
|
|
2648
|
+
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
2649
|
+
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
2650
|
+
*
|
|
2651
|
+
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
2652
|
+
* proposal.
|
|
2653
|
+
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
2654
|
+
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
2655
|
+
*
|
|
2656
|
+
* ## Complexity
|
|
2657
|
+
* - `O(B + M + P1 + P2)` where:
|
|
2658
|
+
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
2659
|
+
* - `M` is members-count (code- and governance-bounded)
|
|
2660
|
+
* - `P1` is the complexity of `proposal` preimage.
|
|
2661
|
+
* - `P2` is proposal-count (code-bounded)
|
|
2662
|
+
*/
|
|
2663
|
+
"close": Anonymize<Ib2obgji960euh>;
|
|
2664
|
+
}>;
|
|
2665
|
+
export type I38jfk5li8iang = {
|
|
2666
|
+
"new_members": Anonymize<Ia2lhg7l2hilo3>;
|
|
2667
|
+
"prime"?: Anonymize<Ihfphjolmsqq1>;
|
|
2668
|
+
"old_count": number;
|
|
2669
|
+
};
|
|
2670
|
+
export type I81bepctomm169 = {
|
|
2671
|
+
"proposal": TxCallData;
|
|
2672
|
+
"length_bound": number;
|
|
2673
|
+
};
|
|
2674
|
+
export type Ib8e4i1c3merv7 = {
|
|
2675
|
+
"threshold": number;
|
|
2676
|
+
"proposal": TxCallData;
|
|
2677
|
+
"length_bound": number;
|
|
2678
|
+
};
|
|
2679
|
+
export type I2dtrijkm5601t = {
|
|
2680
|
+
"proposal": FixedSizeBinary<32>;
|
|
2681
|
+
"index": number;
|
|
2682
|
+
"approve": boolean;
|
|
2683
|
+
};
|
|
2684
|
+
export type Ib2obgji960euh = {
|
|
2685
|
+
"proposal_hash": FixedSizeBinary<32>;
|
|
2686
|
+
"index": number;
|
|
2687
|
+
"proposal_weight_bound": Anonymize<I4q39t5hn830vp>;
|
|
2688
|
+
"length_bound": number;
|
|
2689
|
+
};
|
|
2690
|
+
export type I46q0lr7dn0ms = AnonymousEnum<{
|
|
2691
|
+
/**
|
|
2692
|
+
* Deprecated version if [`Self::call`] for use in an in-storage `Call`.
|
|
2693
|
+
*/
|
|
2694
|
+
"call_old_weight": Anonymize<Ia2rnh5pfua40a>;
|
|
2695
|
+
/**
|
|
2696
|
+
* Deprecated version if [`Self::instantiate_with_code`] for use in an in-storage `Call`.
|
|
2697
|
+
*/
|
|
2698
|
+
"instantiate_with_code_old_weight": Anonymize<I3otc7e9a35k1k>;
|
|
2699
|
+
/**
|
|
2700
|
+
* Deprecated version if [`Self::instantiate`] for use in an in-storage `Call`.
|
|
2701
|
+
*/
|
|
2702
|
+
"instantiate_old_weight": Anonymize<I89ier5tb9ne0s>;
|
|
2703
|
+
/**
|
|
2704
|
+
* Upload new `code` without instantiating a contract from it.
|
|
2705
|
+
*
|
|
2706
|
+
* If the code does not already exist a deposit is reserved from the caller
|
|
2707
|
+
* and unreserved only when [`Self::remove_code`] is called. The size of the reserve
|
|
2708
|
+
* depends on the instrumented size of the the supplied `code`.
|
|
2709
|
+
*
|
|
2710
|
+
* If the code already exists in storage it will still return `Ok` and upgrades
|
|
2711
|
+
* the in storage version to the current
|
|
2712
|
+
* [`InstructionWeights::version`](InstructionWeights).
|
|
2713
|
+
*
|
|
2714
|
+
* - `determinism`: If this is set to any other value but [`Determinism::Enforced`] then
|
|
2715
|
+
* the only way to use this code is to delegate call into it from an offchain execution.
|
|
2716
|
+
* Set to [`Determinism::Enforced`] if in doubt.
|
|
2717
|
+
*
|
|
2718
|
+
* # Note
|
|
2719
|
+
*
|
|
2720
|
+
* Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
|
|
2721
|
+
* To avoid this situation a constructor could employ access control so that it can
|
|
2722
|
+
* only be instantiated by permissioned entities. The same is true when uploading
|
|
2723
|
+
* through [`Self::instantiate_with_code`].
|
|
2724
|
+
*/
|
|
2725
|
+
"upload_code": Anonymize<Im2f0numhevg3>;
|
|
2726
|
+
/**
|
|
2727
|
+
* Remove the code stored under `code_hash` and refund the deposit to its owner.
|
|
2728
|
+
*
|
|
2729
|
+
* A code can only be removed by its original uploader (its owner) and only if it is
|
|
2730
|
+
* not used by any contract.
|
|
2731
|
+
*/
|
|
2732
|
+
"remove_code": Anonymize<Ib51vk42m1po4n>;
|
|
2733
|
+
/**
|
|
2734
|
+
* Privileged function that changes the code of an existing contract.
|
|
2735
|
+
*
|
|
2736
|
+
* This takes care of updating refcounts and all other necessary operations. Returns
|
|
2737
|
+
* an error if either the `code_hash` or `dest` do not exist.
|
|
2738
|
+
*
|
|
2739
|
+
* # Note
|
|
2740
|
+
*
|
|
2741
|
+
* This does **not** change the address of the contract in question. This means
|
|
2742
|
+
* that the contract address is no longer derived from its code hash after calling
|
|
2743
|
+
* this dispatchable.
|
|
2744
|
+
*/
|
|
2745
|
+
"set_code": Anonymize<I2agkcpojhkk43>;
|
|
2746
|
+
/**
|
|
2747
|
+
* Makes a call to an account, optionally transferring some balance.
|
|
2748
|
+
*
|
|
2749
|
+
* # Parameters
|
|
2750
|
+
*
|
|
2751
|
+
* * `dest`: Address of the contract to call.
|
|
2752
|
+
* * `value`: The balance to transfer from the `origin` to `dest`.
|
|
2753
|
+
* * `gas_limit`: The gas limit enforced when executing the constructor.
|
|
2754
|
+
* * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
|
|
2755
|
+
* caller to pay for the storage consumed.
|
|
2756
|
+
* * `data`: The input data to pass to the contract.
|
|
2757
|
+
*
|
|
2758
|
+
* * If the account is a smart-contract account, the associated code will be
|
|
2759
|
+
* executed and any value will be transferred.
|
|
2760
|
+
* * If the account is a regular account, any value will be transferred.
|
|
2761
|
+
* * If no account exists and the call value is not less than `existential_deposit`,
|
|
2762
|
+
* a regular account will be created and any value will be transferred.
|
|
2763
|
+
*/
|
|
2764
|
+
"call": Anonymize<I32rvg545edabm>;
|
|
2765
|
+
/**
|
|
2766
|
+
* Instantiates a new contract from the supplied `code` optionally transferring
|
|
2767
|
+
* some balance.
|
|
2768
|
+
*
|
|
2769
|
+
* This dispatchable has the same effect as calling [`Self::upload_code`] +
|
|
2770
|
+
* [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
|
|
2771
|
+
* also check the documentation of [`Self::upload_code`].
|
|
2772
|
+
*
|
|
2773
|
+
* # Parameters
|
|
2774
|
+
*
|
|
2775
|
+
* * `value`: The balance to transfer from the `origin` to the newly created contract.
|
|
2776
|
+
* * `gas_limit`: The gas limit enforced when executing the constructor.
|
|
2777
|
+
* * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
|
|
2778
|
+
* from the caller to pay for the storage consumed.
|
|
2779
|
+
* * `code`: The contract code to deploy in raw bytes.
|
|
2780
|
+
* * `data`: The input data to pass to the contract constructor.
|
|
2781
|
+
* * `salt`: Used for the address derivation. See [`Pallet::contract_address`].
|
|
2782
|
+
*
|
|
2783
|
+
* Instantiation is executed as follows:
|
|
2784
|
+
*
|
|
2785
|
+
* - The supplied `code` is instrumented, deployed, and a `code_hash` is created for that
|
|
2786
|
+
* code.
|
|
2787
|
+
* - If the `code_hash` already exists on the chain the underlying `code` will be shared.
|
|
2788
|
+
* - The destination address is computed based on the sender, code_hash and the salt.
|
|
2789
|
+
* - The smart-contract account is created at the computed address.
|
|
2790
|
+
* - The `value` is transferred to the new account.
|
|
2791
|
+
* - The `deploy` function is executed in the context of the newly-created account.
|
|
2792
|
+
*/
|
|
2793
|
+
"instantiate_with_code": Anonymize<I83fv0vi59md7i>;
|
|
2794
|
+
/**
|
|
2795
|
+
* Instantiates a contract from a previously deployed wasm binary.
|
|
2796
|
+
*
|
|
2797
|
+
* This function is identical to [`Self::instantiate_with_code`] but without the
|
|
2798
|
+
* code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
|
|
2799
|
+
* must be supplied.
|
|
2800
|
+
*/
|
|
2801
|
+
"instantiate": Anonymize<I5tjjqcdd4tae0>;
|
|
2802
|
+
}>;
|
|
2803
|
+
export type Ia2rnh5pfua40a = {
|
|
2804
|
+
"dest": MultiAddress;
|
|
2805
|
+
"value": bigint;
|
|
2806
|
+
"gas_limit": bigint;
|
|
2807
|
+
"storage_deposit_limit"?: Anonymize<I35p85j063s0il>;
|
|
2808
|
+
"data": Binary;
|
|
2809
|
+
};
|
|
2810
|
+
export type I35p85j063s0il = (bigint) | undefined;
|
|
2811
|
+
export type I3otc7e9a35k1k = {
|
|
2812
|
+
"value": bigint;
|
|
2813
|
+
"gas_limit": bigint;
|
|
2814
|
+
"storage_deposit_limit"?: Anonymize<I35p85j063s0il>;
|
|
2815
|
+
"code": Binary;
|
|
2816
|
+
"data": Binary;
|
|
2817
|
+
"salt": Binary;
|
|
2818
|
+
};
|
|
2819
|
+
export type I89ier5tb9ne0s = {
|
|
2820
|
+
"value": bigint;
|
|
2821
|
+
"gas_limit": bigint;
|
|
2822
|
+
"storage_deposit_limit"?: Anonymize<I35p85j063s0il>;
|
|
2823
|
+
"code_hash": FixedSizeBinary<32>;
|
|
2824
|
+
"data": Binary;
|
|
2825
|
+
"salt": Binary;
|
|
2826
|
+
};
|
|
2827
|
+
export type Im2f0numhevg3 = {
|
|
2828
|
+
"code": Binary;
|
|
2829
|
+
"storage_deposit_limit"?: Anonymize<I35p85j063s0il>;
|
|
2830
|
+
"determinism": Anonymize<I2dfliekq1ed7e>;
|
|
2831
|
+
};
|
|
2832
|
+
export type I2dfliekq1ed7e = AnonymousEnum<{
|
|
2833
|
+
"Enforced": undefined;
|
|
2834
|
+
"Relaxed": undefined;
|
|
2835
|
+
}>;
|
|
2836
|
+
export type I2agkcpojhkk43 = {
|
|
2837
|
+
"dest": MultiAddress;
|
|
2838
|
+
"code_hash": FixedSizeBinary<32>;
|
|
2839
|
+
};
|
|
2840
|
+
export type I32rvg545edabm = {
|
|
2841
|
+
"dest": MultiAddress;
|
|
2842
|
+
"value": bigint;
|
|
2843
|
+
"gas_limit": Anonymize<I4q39t5hn830vp>;
|
|
2844
|
+
"storage_deposit_limit"?: Anonymize<I35p85j063s0il>;
|
|
2845
|
+
"data": Binary;
|
|
2846
|
+
};
|
|
2847
|
+
export type I83fv0vi59md7i = {
|
|
2848
|
+
"value": bigint;
|
|
2849
|
+
"gas_limit": Anonymize<I4q39t5hn830vp>;
|
|
2850
|
+
"storage_deposit_limit"?: Anonymize<I35p85j063s0il>;
|
|
2851
|
+
"code": Binary;
|
|
2852
|
+
"data": Binary;
|
|
2853
|
+
"salt": Binary;
|
|
2854
|
+
};
|
|
2855
|
+
export type I5tjjqcdd4tae0 = {
|
|
2856
|
+
"value": bigint;
|
|
2857
|
+
"gas_limit": Anonymize<I4q39t5hn830vp>;
|
|
2858
|
+
"storage_deposit_limit"?: Anonymize<I35p85j063s0il>;
|
|
2859
|
+
"code_hash": FixedSizeBinary<32>;
|
|
2860
|
+
"data": Binary;
|
|
2861
|
+
"salt": Binary;
|
|
2862
|
+
};
|
|
2863
|
+
export type I3q88ia71e6pqf = AnonymousEnum<{
|
|
2864
|
+
/**
|
|
2865
|
+
* ## Complexity:
|
|
2866
|
+
* - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of
|
|
2867
|
+
* `heartbeat.network_state.external_address`
|
|
2868
|
+
* - `O(K)`: decoding of length `K`
|
|
2869
|
+
* - `O(E)`: decoding/encoding of length `E`
|
|
2870
|
+
*/
|
|
2871
|
+
"heartbeat": Anonymize<I8lba6g6is07ov>;
|
|
2872
|
+
}>;
|
|
2873
|
+
export type I8lba6g6is07ov = {
|
|
2874
|
+
"heartbeat": {
|
|
2875
|
+
"block_number": number;
|
|
2876
|
+
"network_state": Anonymize<Ibr09o7d15q6ao>;
|
|
2877
|
+
"session_index": number;
|
|
2878
|
+
"authority_index": number;
|
|
2879
|
+
"validators_len": number;
|
|
2880
|
+
};
|
|
2881
|
+
"signature": FixedSizeBinary<64>;
|
|
2882
|
+
};
|
|
2883
|
+
export type Ibr09o7d15q6ao = {
|
|
2884
|
+
"peer_id": Binary;
|
|
2885
|
+
"external_addresses": Anonymize<Itom7fk49o0c9>;
|
|
2886
|
+
};
|
|
2887
|
+
export type Iarlhbk9kadefk = AnonymousEnum<{
|
|
2888
|
+
/**
|
|
2889
|
+
* Sets the session key(s) of the function caller to `keys`.
|
|
2890
|
+
* Allows an account to set its session key prior to becoming a validator.
|
|
2891
|
+
* This doesn't take effect until the next session.
|
|
2892
|
+
*
|
|
2893
|
+
* The dispatch origin of this function must be signed.
|
|
2894
|
+
*
|
|
2895
|
+
* ## Complexity
|
|
2896
|
+
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
|
|
2897
|
+
* fixed.
|
|
2898
|
+
*/
|
|
2899
|
+
"set_keys": Anonymize<I7e25ln6niqtfu>;
|
|
2900
|
+
/**
|
|
2901
|
+
* Removes any session key(s) of the function caller.
|
|
2902
|
+
*
|
|
2903
|
+
* This doesn't take effect until the next session.
|
|
2904
|
+
*
|
|
2905
|
+
* The dispatch origin of this function must be Signed and the account must be either be
|
|
2906
|
+
* convertible to a validator ID using the chain's typical addressing system (this usually
|
|
2907
|
+
* means being a controller account) or directly convertible into a validator ID (which
|
|
2908
|
+
* usually means being a stash account).
|
|
2909
|
+
*
|
|
2910
|
+
* ## Complexity
|
|
2911
|
+
* - `O(1)` in number of key types. Actual cost depends on the number of length of
|
|
2912
|
+
* `T::Keys::key_ids()` which is fixed.
|
|
2913
|
+
*/
|
|
2914
|
+
"purge_keys": undefined;
|
|
2915
|
+
}>;
|
|
2916
|
+
export type I7e25ln6niqtfu = {
|
|
2917
|
+
"keys": Anonymize<Ibi8anou2vv8ko>;
|
|
2918
|
+
"proof": Binary;
|
|
2919
|
+
};
|
|
2920
|
+
export type Ibi8anou2vv8ko = {
|
|
2921
|
+
"aura": FixedSizeBinary<32>;
|
|
2922
|
+
"grandpa": FixedSizeBinary<32>;
|
|
2923
|
+
"im_online": FixedSizeBinary<32>;
|
|
2924
|
+
"authority_discovery": FixedSizeBinary<32>;
|
|
2925
|
+
};
|
|
2926
|
+
export type I8pvomobr0rgmg = AnonymousEnum<{
|
|
2927
|
+
/**
|
|
2928
|
+
* Put forward a suggestion for spending. A deposit proportional to the value
|
|
2929
|
+
* is reserved and slashed if the proposal is rejected. It is returned once the
|
|
2930
|
+
* proposal is awarded.
|
|
2931
|
+
*
|
|
2932
|
+
* ## Complexity
|
|
2933
|
+
* - O(1)
|
|
2934
|
+
*/
|
|
2935
|
+
"propose_spend": Anonymize<Iffcutbjvs7mcv>;
|
|
2936
|
+
/**
|
|
2937
|
+
* Reject a proposed spend. The original deposit will be slashed.
|
|
2938
|
+
*
|
|
2939
|
+
* May only be called from `T::RejectOrigin`.
|
|
2940
|
+
*
|
|
2941
|
+
* ## Complexity
|
|
2942
|
+
* - O(1)
|
|
2943
|
+
*/
|
|
2944
|
+
"reject_proposal": Anonymize<Icm9m0qeemu66d>;
|
|
2945
|
+
/**
|
|
2946
|
+
* Approve a proposal. At a later time, the proposal will be allocated to the beneficiary
|
|
2947
|
+
* and the original deposit will be returned.
|
|
2948
|
+
*
|
|
2949
|
+
* May only be called from `T::ApproveOrigin`.
|
|
2950
|
+
*
|
|
2951
|
+
* ## Complexity
|
|
2952
|
+
* - O(1).
|
|
2953
|
+
*/
|
|
2954
|
+
"approve_proposal": Anonymize<Icm9m0qeemu66d>;
|
|
2955
|
+
/**
|
|
2956
|
+
* Propose and approve a spend of treasury funds.
|
|
2957
|
+
*
|
|
2958
|
+
* - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.
|
|
2959
|
+
* - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
|
|
2960
|
+
* - `beneficiary`: The destination account for the transfer.
|
|
2961
|
+
*
|
|
2962
|
+
* NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the
|
|
2963
|
+
* beneficiary.
|
|
2964
|
+
*/
|
|
2965
|
+
"spend": Anonymize<Icnrv1mfbd3in1>;
|
|
2966
|
+
/**
|
|
2967
|
+
* Force a previously approved proposal to be removed from the approval queue.
|
|
2968
|
+
* The original deposit will no longer be returned.
|
|
2969
|
+
*
|
|
2970
|
+
* May only be called from `T::RejectOrigin`.
|
|
2971
|
+
* - `proposal_id`: The index of a proposal
|
|
2972
|
+
*
|
|
2973
|
+
* ## Complexity
|
|
2974
|
+
* - O(A) where `A` is the number of approvals
|
|
2975
|
+
*
|
|
2976
|
+
* Errors:
|
|
2977
|
+
* - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,
|
|
2978
|
+
* i.e., the proposal has not been approved. This could also mean the proposal does not
|
|
2979
|
+
* exist altogether, thus there is no way it would have been approved in the first place.
|
|
2980
|
+
*/
|
|
2981
|
+
"remove_approval": Anonymize<Icm9m0qeemu66d>;
|
|
2982
|
+
}>;
|
|
2983
|
+
export type Iffcutbjvs7mcv = {
|
|
2984
|
+
"value": bigint;
|
|
2985
|
+
"beneficiary": MultiAddress;
|
|
2986
|
+
};
|
|
2987
|
+
export type Icm9m0qeemu66d = {
|
|
2988
|
+
"proposal_id": number;
|
|
2989
|
+
};
|
|
2990
|
+
export type Icnrv1mfbd3in1 = {
|
|
2991
|
+
"amount": bigint;
|
|
2992
|
+
"beneficiary": MultiAddress;
|
|
2993
|
+
};
|
|
2994
|
+
export type I1adeifplnqpmb = AnonymousEnum<{
|
|
2995
|
+
"set_pallet_admin": Anonymize<Iddf3ptb5cr131>;
|
|
2996
|
+
"set_mining_pool_contract": Anonymize<Iam7af3p82h77u>;
|
|
2997
|
+
"propose_lock": Anonymize<I4fpsonn5j8ai1>;
|
|
2998
|
+
"propose_unlock": Anonymize<Ie2ucfidi90b0e>;
|
|
2999
|
+
"vote_in_referendum": Anonymize<I9khdgpnnuth59>;
|
|
3000
|
+
"set_proposal_fee": Anonymize<I4g2n89k9snq80>;
|
|
3001
|
+
"admin_lock_accounts": Anonymize<Icrf0bc54q02cm>;
|
|
3002
|
+
"admin_unlock_accounts": Anonymize<I2nufb64tt01st>;
|
|
3003
|
+
"admin_remove_proposal": Anonymize<Icaemmvog4s1bf>;
|
|
3004
|
+
}>;
|
|
3005
|
+
export type I4fpsonn5j8ai1 = {
|
|
3006
|
+
"account_to_lock": SS58String;
|
|
3007
|
+
"proposal_fee": bigint;
|
|
3008
|
+
};
|
|
3009
|
+
export type Ie2ucfidi90b0e = {
|
|
3010
|
+
"account_to_unlock": SS58String;
|
|
3011
|
+
"proposal_fee": bigint;
|
|
3012
|
+
};
|
|
3013
|
+
export type I9khdgpnnuth59 = {
|
|
3014
|
+
"lock_candidate": SS58String;
|
|
3015
|
+
"assent_on_decision": boolean;
|
|
3016
|
+
};
|
|
3017
|
+
export type I4g2n89k9snq80 = {
|
|
3018
|
+
"new_fee": bigint;
|
|
3019
|
+
};
|
|
3020
|
+
export type Icrf0bc54q02cm = {
|
|
3021
|
+
"accounts_to_lock": Anonymize<Ia2lhg7l2hilo3>;
|
|
3022
|
+
"proposer": SS58String;
|
|
3023
|
+
};
|
|
3024
|
+
export type I2nufb64tt01st = {
|
|
3025
|
+
"accounts_to_unlock": Anonymize<Ia2lhg7l2hilo3>;
|
|
3026
|
+
};
|
|
3027
|
+
export type Icaemmvog4s1bf = {
|
|
3028
|
+
"proposed_account": SS58String;
|
|
3029
|
+
};
|
|
3030
|
+
export type I2ilk32gggqout = AnonymousEnum<{
|
|
3031
|
+
/**
|
|
3032
|
+
* create a new multi signature account
|
|
3033
|
+
*
|
|
3034
|
+
* signatories must have cardinality of at least 2 and
|
|
3035
|
+
* less than T::MaxSignatories, with all unique elements.
|
|
3036
|
+
* origin must be an element of signatories and authors a
|
|
3037
|
+
* subset of signatories.
|
|
3038
|
+
* Parameters:
|
|
3039
|
+
* - `signatories`: the list of signatories
|
|
3040
|
+
* - `authors_opt`: the list of authors, if None all signatories are authors
|
|
3041
|
+
* - `min_approving_signatories`: the minimum number of signatories required to approve a call
|
|
3042
|
+
*/
|
|
3043
|
+
"create_multi_sig_account": Anonymize<I95cgc2lf0oi91>;
|
|
3044
|
+
/**
|
|
3045
|
+
* create a call for a msa
|
|
3046
|
+
*
|
|
3047
|
+
* only authors can create calls
|
|
3048
|
+
* Parameters:
|
|
3049
|
+
* - `multi_sig_account`: the multi signature account
|
|
3050
|
+
* - `call`: the call to be executed (runtime call. the js polkadot can help create it)
|
|
3051
|
+
*/
|
|
3052
|
+
"author_a_call": Anonymize<I73402qtagb1c2>;
|
|
3053
|
+
/**
|
|
3054
|
+
* signatories approve a call
|
|
3055
|
+
*
|
|
3056
|
+
* Parameters:
|
|
3057
|
+
* - `multi_sig_account`: the multi signature account
|
|
3058
|
+
* - `call_id`: the call to be approved
|
|
3059
|
+
*/
|
|
3060
|
+
"add_call_approval": Anonymize<I7v7r0cihtaupi>;
|
|
3061
|
+
/**
|
|
3062
|
+
* remove approval for a call
|
|
3063
|
+
*
|
|
3064
|
+
* Parameters:
|
|
3065
|
+
* - `multi_sig_account`: the multi signature account
|
|
3066
|
+
* - `call_id`: the call to be approved
|
|
3067
|
+
*/
|
|
3068
|
+
"remove_call_approval": Anonymize<I7v7r0cihtaupi>;
|
|
3069
|
+
/**
|
|
3070
|
+
* propose a new minimum approvals for a multi signature account
|
|
3071
|
+
*
|
|
3072
|
+
* Parameters:
|
|
3073
|
+
* - `msa_address`: the multi signature account
|
|
3074
|
+
* - `new_min_approvals`: the new minimum approvals
|
|
3075
|
+
*/
|
|
3076
|
+
"proposal_msa_new_minimum": Anonymize<Ibl4potoitj8d4>;
|
|
3077
|
+
"approve_msa_new_minimum": Anonymize<Ibvn4b8lrtppoe>;
|
|
3078
|
+
"revoke_approval_for_msa_new_minimum": Anonymize<Ibvn4b8lrtppoe>;
|
|
3079
|
+
"remove_call": Anonymize<I7v7r0cihtaupi>;
|
|
3080
|
+
}>;
|
|
3081
|
+
export type I95cgc2lf0oi91 = {
|
|
3082
|
+
"signatories": Anonymize<Ia2lhg7l2hilo3>;
|
|
3083
|
+
"authors_opt"?: Anonymize<I9ov9amur2hn1d>;
|
|
3084
|
+
"min_approving_signatories": number;
|
|
3085
|
+
};
|
|
3086
|
+
export type I9ov9amur2hn1d = (Anonymize<Ia2lhg7l2hilo3>) | undefined;
|
|
3087
|
+
export type I73402qtagb1c2 = {
|
|
3088
|
+
"multi_sig_account": SS58String;
|
|
3089
|
+
"call": TxCallData;
|
|
3090
|
+
};
|
|
3091
|
+
export type I7v7r0cihtaupi = {
|
|
3092
|
+
"multi_sig_account": SS58String;
|
|
3093
|
+
"call_id": FixedSizeBinary<32>;
|
|
3094
|
+
};
|
|
3095
|
+
export type Ibl4potoitj8d4 = {
|
|
3096
|
+
"msa_address": SS58String;
|
|
3097
|
+
"new_min_approvals": number;
|
|
3098
|
+
};
|
|
3099
|
+
export type Ibvn4b8lrtppoe = {
|
|
3100
|
+
"msa_address": SS58String;
|
|
3101
|
+
};
|
|
3102
|
+
export type I99bb69usss9gs = {
|
|
3103
|
+
"index": number;
|
|
3104
|
+
"threshold": number;
|
|
3105
|
+
"ayes": Anonymize<Ia2lhg7l2hilo3>;
|
|
3106
|
+
"nays": Anonymize<Ia2lhg7l2hilo3>;
|
|
3107
|
+
"end": number;
|
|
3108
|
+
};
|
|
3109
|
+
export type Iba6d6esmudd4l = {
|
|
3110
|
+
"instruction_weights_version": number;
|
|
3111
|
+
"initial": number;
|
|
3112
|
+
"maximum": number;
|
|
3113
|
+
"code": Binary;
|
|
3114
|
+
"determinism": Anonymize<I2dfliekq1ed7e>;
|
|
3115
|
+
};
|
|
3116
|
+
export type Iajr55k07398gt = {
|
|
3117
|
+
"owner": SS58String;
|
|
3118
|
+
"deposit": bigint;
|
|
3119
|
+
"refcount": bigint;
|
|
3120
|
+
};
|
|
3121
|
+
export type I4cu6usuqp8s16 = {
|
|
3122
|
+
"trie_id": Binary;
|
|
3123
|
+
"deposit_account": SS58String;
|
|
3124
|
+
"code_hash": FixedSizeBinary<32>;
|
|
3125
|
+
"storage_bytes": number;
|
|
3126
|
+
"storage_items": number;
|
|
3127
|
+
"storage_byte_deposit": bigint;
|
|
3128
|
+
"storage_item_deposit": bigint;
|
|
3129
|
+
"storage_base_deposit": bigint;
|
|
3130
|
+
};
|
|
3131
|
+
export type I8t4pajubp34g3 = {
|
|
3132
|
+
"insert_counter": number;
|
|
3133
|
+
"delete_counter": number;
|
|
3134
|
+
};
|
|
3135
|
+
export type I4pact7n2e9a0i = [FixedSizeBinary<32>, number];
|
|
3136
|
+
export type Icgdc6619k0j8h = [number, Anonymize<Ibr09o7d15q6ao>];
|
|
3137
|
+
export type I3jnic9t7c9s12 = Array<[SS58String, Anonymize<Ibi8anou2vv8ko>]>;
|
|
3138
|
+
export type Icgljjb6j82uhn = Array<number>;
|
|
3139
|
+
export type Iegmj7n48sc3am = {
|
|
3140
|
+
"proposer": SS58String;
|
|
3141
|
+
"value": bigint;
|
|
3142
|
+
"beneficiary": SS58String;
|
|
3143
|
+
"bond": bigint;
|
|
3144
|
+
};
|
|
3145
|
+
export type I6asvuaa371pho = {
|
|
3146
|
+
"proposed_account": SS58String;
|
|
3147
|
+
"session_index": number;
|
|
3148
|
+
"nominator": SS58String;
|
|
3149
|
+
"change_to": Anonymize<I6ip6vnprpkup3>;
|
|
3150
|
+
"creation_time": bigint;
|
|
3151
|
+
"estimated_time_to_referendum"?: Anonymize<I35p85j063s0il>;
|
|
3152
|
+
};
|
|
3153
|
+
export type Iahe10507jfnjb = {
|
|
3154
|
+
"nominator": SS58String;
|
|
3155
|
+
"proposed_account": SS58String;
|
|
3156
|
+
"index_of_proposal": number;
|
|
3157
|
+
"change_to": Anonymize<I6ip6vnprpkup3>;
|
|
3158
|
+
"assenting_voters": Anonymize<Ia2lhg7l2hilo3>;
|
|
3159
|
+
"dissenting_voters": Anonymize<Ia2lhg7l2hilo3>;
|
|
3160
|
+
"start_time": bigint;
|
|
3161
|
+
"estimated_end_time": bigint;
|
|
3162
|
+
};
|
|
3163
|
+
export type I1sg558l3j27vd = {
|
|
3164
|
+
"nominator": SS58String;
|
|
3165
|
+
"proposed_account": SS58String;
|
|
3166
|
+
"index_of_proposal": number;
|
|
3167
|
+
"changed_to": Anonymize<I6ip6vnprpkup3>;
|
|
3168
|
+
"assenting_voters": Anonymize<Ia2lhg7l2hilo3>;
|
|
3169
|
+
"dissenting_voters": Anonymize<Ia2lhg7l2hilo3>;
|
|
3170
|
+
"result": Anonymize<I2ec0urgo8jiub>;
|
|
3171
|
+
"end_time": bigint;
|
|
3172
|
+
};
|
|
3173
|
+
export type I4qtcfejrn68ub = {
|
|
3174
|
+
"account": SS58String;
|
|
3175
|
+
"nominator": SS58String;
|
|
3176
|
+
"lock_index": number;
|
|
3177
|
+
};
|
|
3178
|
+
export type I633kkio6e6dvg = {
|
|
3179
|
+
"address": SS58String;
|
|
3180
|
+
"authors"?: Anonymize<I9ov9amur2hn1d>;
|
|
3181
|
+
"signatories": Anonymize<Ia2lhg7l2hilo3>;
|
|
3182
|
+
"minimum_signatories": number;
|
|
3183
|
+
"pending_calls": Array<{
|
|
3184
|
+
"id": FixedSizeBinary<32>;
|
|
3185
|
+
"call": Binary;
|
|
3186
|
+
"approvals": Anonymize<Ia2lhg7l2hilo3>;
|
|
3187
|
+
}>;
|
|
3188
|
+
};
|
|
3189
|
+
export type Iertf1uspcjckm = {
|
|
3190
|
+
"msa_address": SS58String;
|
|
3191
|
+
"new_minimum": number;
|
|
3192
|
+
"proposer": SS58String;
|
|
3193
|
+
"approvals": Anonymize<Ia2lhg7l2hilo3>;
|
|
3194
|
+
"pass_requirement": number;
|
|
3195
|
+
};
|
|
3196
|
+
export type In7a38730s6qs = {
|
|
3197
|
+
"base_block": Anonymize<I4q39t5hn830vp>;
|
|
3198
|
+
"max_block": Anonymize<I4q39t5hn830vp>;
|
|
3199
|
+
"per_class": {
|
|
3200
|
+
"normal": {
|
|
3201
|
+
"base_extrinsic": Anonymize<I4q39t5hn830vp>;
|
|
3202
|
+
"max_extrinsic"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3203
|
+
"max_total"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3204
|
+
"reserved"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3205
|
+
};
|
|
3206
|
+
"operational": {
|
|
3207
|
+
"base_extrinsic": Anonymize<I4q39t5hn830vp>;
|
|
3208
|
+
"max_extrinsic"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3209
|
+
"max_total"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3210
|
+
"reserved"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3211
|
+
};
|
|
3212
|
+
"mandatory": {
|
|
3213
|
+
"base_extrinsic": Anonymize<I4q39t5hn830vp>;
|
|
3214
|
+
"max_extrinsic"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3215
|
+
"max_total"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3216
|
+
"reserved"?: (Anonymize<I4q39t5hn830vp>) | undefined;
|
|
3217
|
+
};
|
|
3218
|
+
};
|
|
3219
|
+
};
|
|
3220
|
+
export type If15el53dd76v9 = {
|
|
3221
|
+
"normal": number;
|
|
3222
|
+
"operational": number;
|
|
3223
|
+
"mandatory": number;
|
|
3224
|
+
};
|
|
3225
|
+
export type I9s0ave7t0vnrk = {
|
|
3226
|
+
"read": bigint;
|
|
3227
|
+
"write": bigint;
|
|
3228
|
+
};
|
|
3229
|
+
export type Ic6nglu2db2c36 = {
|
|
3230
|
+
"spec_name": string;
|
|
3231
|
+
"impl_name": string;
|
|
3232
|
+
"authoring_version": number;
|
|
3233
|
+
"spec_version": number;
|
|
3234
|
+
"impl_version": number;
|
|
3235
|
+
"apis": Array<[FixedSizeBinary<8>, number]>;
|
|
3236
|
+
"transaction_version": number;
|
|
3237
|
+
"state_version": number;
|
|
3238
|
+
};
|
|
3239
|
+
export type I1q6j2f64t5q87 = {
|
|
3240
|
+
"limits": {
|
|
3241
|
+
"event_topics": number;
|
|
3242
|
+
"globals": number;
|
|
3243
|
+
"locals": number;
|
|
3244
|
+
"parameters": number;
|
|
3245
|
+
"memory_pages": number;
|
|
3246
|
+
"table_size": number;
|
|
3247
|
+
"br_table_size": number;
|
|
3248
|
+
"subject_len": number;
|
|
3249
|
+
"payload_len": number;
|
|
3250
|
+
"runtime_memory": number;
|
|
3251
|
+
};
|
|
3252
|
+
"instruction_weights": {
|
|
3253
|
+
"version": number;
|
|
3254
|
+
"fallback": number;
|
|
3255
|
+
"i64const": number;
|
|
3256
|
+
"i64load": number;
|
|
3257
|
+
"i64store": number;
|
|
3258
|
+
"select": number;
|
|
3259
|
+
"r#if": number;
|
|
3260
|
+
"br": number;
|
|
3261
|
+
"br_if": number;
|
|
3262
|
+
"br_table": number;
|
|
3263
|
+
"br_table_per_entry": number;
|
|
3264
|
+
"call": number;
|
|
3265
|
+
"call_indirect": number;
|
|
3266
|
+
"call_per_local": number;
|
|
3267
|
+
"local_get": number;
|
|
3268
|
+
"local_set": number;
|
|
3269
|
+
"local_tee": number;
|
|
3270
|
+
"global_get": number;
|
|
3271
|
+
"global_set": number;
|
|
3272
|
+
"memory_current": number;
|
|
3273
|
+
"memory_grow": number;
|
|
3274
|
+
"i64clz": number;
|
|
3275
|
+
"i64ctz": number;
|
|
3276
|
+
"i64popcnt": number;
|
|
3277
|
+
"i64eqz": number;
|
|
3278
|
+
"i64extendsi32": number;
|
|
3279
|
+
"i64extendui32": number;
|
|
3280
|
+
"i32wrapi64": number;
|
|
3281
|
+
"i64eq": number;
|
|
3282
|
+
"i64ne": number;
|
|
3283
|
+
"i64lts": number;
|
|
3284
|
+
"i64ltu": number;
|
|
3285
|
+
"i64gts": number;
|
|
3286
|
+
"i64gtu": number;
|
|
3287
|
+
"i64les": number;
|
|
3288
|
+
"i64leu": number;
|
|
3289
|
+
"i64ges": number;
|
|
3290
|
+
"i64geu": number;
|
|
3291
|
+
"i64add": number;
|
|
3292
|
+
"i64sub": number;
|
|
3293
|
+
"i64mul": number;
|
|
3294
|
+
"i64divs": number;
|
|
3295
|
+
"i64divu": number;
|
|
3296
|
+
"i64rems": number;
|
|
3297
|
+
"i64remu": number;
|
|
3298
|
+
"i64and": number;
|
|
3299
|
+
"i64or": number;
|
|
3300
|
+
"i64xor": number;
|
|
3301
|
+
"i64shl": number;
|
|
3302
|
+
"i64shrs": number;
|
|
3303
|
+
"i64shru": number;
|
|
3304
|
+
"i64rotl": number;
|
|
3305
|
+
"i64rotr": number;
|
|
3306
|
+
};
|
|
3307
|
+
"host_fn_weights": {
|
|
3308
|
+
"caller": Anonymize<I4q39t5hn830vp>;
|
|
3309
|
+
"is_contract": Anonymize<I4q39t5hn830vp>;
|
|
3310
|
+
"code_hash": Anonymize<I4q39t5hn830vp>;
|
|
3311
|
+
"own_code_hash": Anonymize<I4q39t5hn830vp>;
|
|
3312
|
+
"caller_is_origin": Anonymize<I4q39t5hn830vp>;
|
|
3313
|
+
"address": Anonymize<I4q39t5hn830vp>;
|
|
3314
|
+
"gas_left": Anonymize<I4q39t5hn830vp>;
|
|
3315
|
+
"balance": Anonymize<I4q39t5hn830vp>;
|
|
3316
|
+
"value_transferred": Anonymize<I4q39t5hn830vp>;
|
|
3317
|
+
"minimum_balance": Anonymize<I4q39t5hn830vp>;
|
|
3318
|
+
"block_number": Anonymize<I4q39t5hn830vp>;
|
|
3319
|
+
"now": Anonymize<I4q39t5hn830vp>;
|
|
3320
|
+
"weight_to_fee": Anonymize<I4q39t5hn830vp>;
|
|
3321
|
+
"gas": Anonymize<I4q39t5hn830vp>;
|
|
3322
|
+
"input": Anonymize<I4q39t5hn830vp>;
|
|
3323
|
+
"input_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3324
|
+
"r#return": Anonymize<I4q39t5hn830vp>;
|
|
3325
|
+
"return_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3326
|
+
"terminate": Anonymize<I4q39t5hn830vp>;
|
|
3327
|
+
"random": Anonymize<I4q39t5hn830vp>;
|
|
3328
|
+
"deposit_event": Anonymize<I4q39t5hn830vp>;
|
|
3329
|
+
"deposit_event_per_topic": Anonymize<I4q39t5hn830vp>;
|
|
3330
|
+
"deposit_event_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3331
|
+
"debug_message": Anonymize<I4q39t5hn830vp>;
|
|
3332
|
+
"debug_message_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3333
|
+
"set_storage": Anonymize<I4q39t5hn830vp>;
|
|
3334
|
+
"set_storage_per_new_byte": Anonymize<I4q39t5hn830vp>;
|
|
3335
|
+
"set_storage_per_old_byte": Anonymize<I4q39t5hn830vp>;
|
|
3336
|
+
"set_code_hash": Anonymize<I4q39t5hn830vp>;
|
|
3337
|
+
"clear_storage": Anonymize<I4q39t5hn830vp>;
|
|
3338
|
+
"clear_storage_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3339
|
+
"contains_storage": Anonymize<I4q39t5hn830vp>;
|
|
3340
|
+
"contains_storage_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3341
|
+
"get_storage": Anonymize<I4q39t5hn830vp>;
|
|
3342
|
+
"get_storage_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3343
|
+
"take_storage": Anonymize<I4q39t5hn830vp>;
|
|
3344
|
+
"take_storage_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3345
|
+
"transfer": Anonymize<I4q39t5hn830vp>;
|
|
3346
|
+
"call": Anonymize<I4q39t5hn830vp>;
|
|
3347
|
+
"delegate_call": Anonymize<I4q39t5hn830vp>;
|
|
3348
|
+
"call_transfer_surcharge": Anonymize<I4q39t5hn830vp>;
|
|
3349
|
+
"call_per_cloned_byte": Anonymize<I4q39t5hn830vp>;
|
|
3350
|
+
"instantiate": Anonymize<I4q39t5hn830vp>;
|
|
3351
|
+
"instantiate_transfer_surcharge": Anonymize<I4q39t5hn830vp>;
|
|
3352
|
+
"instantiate_per_input_byte": Anonymize<I4q39t5hn830vp>;
|
|
3353
|
+
"instantiate_per_salt_byte": Anonymize<I4q39t5hn830vp>;
|
|
3354
|
+
"hash_sha2_256": Anonymize<I4q39t5hn830vp>;
|
|
3355
|
+
"hash_sha2_256_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3356
|
+
"hash_keccak_256": Anonymize<I4q39t5hn830vp>;
|
|
3357
|
+
"hash_keccak_256_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3358
|
+
"hash_blake2_256": Anonymize<I4q39t5hn830vp>;
|
|
3359
|
+
"hash_blake2_256_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3360
|
+
"hash_blake2_128": Anonymize<I4q39t5hn830vp>;
|
|
3361
|
+
"hash_blake2_128_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3362
|
+
"ecdsa_recover": Anonymize<I4q39t5hn830vp>;
|
|
3363
|
+
"ecdsa_to_eth_address": Anonymize<I4q39t5hn830vp>;
|
|
3364
|
+
"sr25519_verify": Anonymize<I4q39t5hn830vp>;
|
|
3365
|
+
"sr25519_verify_per_byte": Anonymize<I4q39t5hn830vp>;
|
|
3366
|
+
"reentrance_count": Anonymize<I4q39t5hn830vp>;
|
|
3367
|
+
"account_reentrance_count": Anonymize<I4q39t5hn830vp>;
|
|
3368
|
+
"instantiation_nonce": Anonymize<I4q39t5hn830vp>;
|
|
3369
|
+
};
|
|
3370
|
+
};
|
|
3371
|
+
export {};
|