@webb-tools/tangle-substrate-types 0.5.5 → 0.5.9
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/build/interfaces/augment-api-consts.d.ts +104 -4
- package/build/interfaces/augment-api-errors.d.ts +365 -0
- package/build/interfaces/augment-api-events.d.ts +495 -2
- package/build/interfaces/augment-api-query.d.ts +140 -2
- package/build/interfaces/augment-api-tx.d.ts +609 -1
- package/build/interfaces/augment-types.d.ts +21 -2
- package/build/interfaces/lookup.d.ts +1377 -369
- package/build/interfaces/lookup.js +1360 -352
- package/build/interfaces/registry.d.ts +57 -1
- package/build/interfaces/types-lookup.d.ts +1477 -353
- package/build/metadata/static-latest.d.ts +1 -1
- package/build/metadata/static-latest.js +1 -1
- package/build/package.json +1 -1
- package/package.json +4 -4
- package/src/interfaces/augment-api-consts.ts +104 -4
- package/src/interfaces/augment-api-errors.ts +365 -0
- package/src/interfaces/augment-api-events.ts +294 -2
- package/src/interfaces/augment-api-query.ts +131 -2
- package/src/interfaces/augment-api-tx.ts +315 -1
- package/src/interfaces/augment-types.ts +21 -2
- package/src/interfaces/lookup.ts +1361 -353
- package/src/interfaces/registry.ts +57 -1
- package/src/interfaces/types-lookup.ts +1531 -353
- package/src/metadata/metadata.json +1 -1
- package/src/metadata/static-latest.ts +1 -1
- package/ts-types/src/interfaces/augment-api-consts.d.ts +104 -4
- package/ts-types/src/interfaces/augment-api-errors.d.ts +365 -0
- package/ts-types/src/interfaces/augment-api-events.d.ts +495 -2
- package/ts-types/src/interfaces/augment-api-query.d.ts +140 -2
- package/ts-types/src/interfaces/augment-api-tx.d.ts +609 -1
- package/ts-types/src/interfaces/augment-types.d.ts +21 -2
- package/ts-types/src/interfaces/lookup.d.ts +1377 -369
- package/ts-types/src/interfaces/registry.d.ts +57 -1
- package/ts-types/src/interfaces/types-lookup.d.ts +1477 -353
- package/ts-types/src/metadata/static-latest.d.ts +1 -1
- package/ts-types/tsconfig.tsbuildinfo +1 -1
@@ -4,12 +4,416 @@ import type { Data } from '@polkadot/types';
|
|
4
4
|
import type { Bytes, Compact, Null, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
6
6
|
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
7
|
-
import { SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpSessionMembershipProof, PalletBalancesAdjustmentDirection, PalletAirdropClaimsUtilsMultiAddress, PalletAirdropClaimsUtilsMultiAddressSignature, PalletAirdropClaimsStatementKind, SpWeightsWeightV2Weight, PalletDemocracyConviction, FrameSupportPreimagesBounded, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, SpNposElectionsSupport, SpNposElectionsElectionScore, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, EthereumTransactionTransactionV2, SpConsensusGrandpaEquivocationProof, SpCoreVoid, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, SpRuntimeMultiSignature, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsValidatorOffenceType, TanglePrimitivesJobsJobSubmission, TanglePrimitivesJobsJobResult, TanglePrimitivesMisbehaviorMisbehaviorSubmission, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsPoolState, PalletNominationPoolsConfigOpAccountId32, TangleTestnetRuntimeProxyType, PalletRolesProfile, TangleTestnetRuntimeOpaqueSessionKeys, PalletStakingRewardDestination, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill, PalletStakingValidatorPrefs, TangleTestnetRuntimeOriginCaller, PalletVestingVestingInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
|
7
|
+
import { SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpSessionMembershipProof, PalletBalancesAdjustmentDirection, PalletAirdropClaimsUtilsMultiAddress, PalletAirdropClaimsUtilsMultiAddressSignature, PalletAirdropClaimsStatementKind, SpWeightsWeightV2Weight, PalletDemocracyConviction, FrameSupportPreimagesBounded, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, SpNposElectionsSupport, SpNposElectionsElectionScore, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, EthereumTransactionTransactionV2, SpConsensusGrandpaEquivocationProof, SpCoreVoid, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, SpRuntimeMultiSignature, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsValidatorOffenceType, TanglePrimitivesJobsJobSubmission, TanglePrimitivesJobsJobResult, TanglePrimitivesMisbehaviorMisbehaviorSubmission, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsPoolState, PalletNominationPoolsConfigOpAccountId32, TangleTestnetRuntimeProxyType, PalletRolesProfile, TangleTestnetRuntimeOpaqueSessionKeys, PalletStakingRewardDestination, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill, PalletStakingValidatorPrefs, StagingXcmV4AssetAssetId, StagingXcmV4Asset, StagingXcmV4Location, SygmaBridgeProposal, SygmaTraitsMpcAddress, SygmaFeeHandlerRouterFeeHandlerType, TangleTestnetRuntimeOriginCaller, PalletVestingVestingInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
|
8
8
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
9
9
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
10
10
|
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
11
11
|
declare module '@polkadot/api-base/types/submittable' {
|
12
12
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
13
|
+
assets: {
|
14
|
+
/**
|
15
|
+
* See [`Pallet::approve_transfer`].
|
16
|
+
**/
|
17
|
+
approveTransfer: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, delegate: MultiAddress | {
|
18
|
+
Id: any;
|
19
|
+
} | {
|
20
|
+
Index: any;
|
21
|
+
} | {
|
22
|
+
Raw: any;
|
23
|
+
} | {
|
24
|
+
Address32: any;
|
25
|
+
} | {
|
26
|
+
Address20: any;
|
27
|
+
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, Compact<u128>]>;
|
28
|
+
/**
|
29
|
+
* See [`Pallet::block`].
|
30
|
+
**/
|
31
|
+
block: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, who: MultiAddress | {
|
32
|
+
Id: any;
|
33
|
+
} | {
|
34
|
+
Index: any;
|
35
|
+
} | {
|
36
|
+
Raw: any;
|
37
|
+
} | {
|
38
|
+
Address32: any;
|
39
|
+
} | {
|
40
|
+
Address20: any;
|
41
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
42
|
+
/**
|
43
|
+
* See [`Pallet::burn`].
|
44
|
+
**/
|
45
|
+
burn: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, who: MultiAddress | {
|
46
|
+
Id: any;
|
47
|
+
} | {
|
48
|
+
Index: any;
|
49
|
+
} | {
|
50
|
+
Raw: any;
|
51
|
+
} | {
|
52
|
+
Address32: any;
|
53
|
+
} | {
|
54
|
+
Address20: any;
|
55
|
+
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, Compact<u128>]>;
|
56
|
+
/**
|
57
|
+
* See [`Pallet::cancel_approval`].
|
58
|
+
**/
|
59
|
+
cancelApproval: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, delegate: MultiAddress | {
|
60
|
+
Id: any;
|
61
|
+
} | {
|
62
|
+
Index: any;
|
63
|
+
} | {
|
64
|
+
Raw: any;
|
65
|
+
} | {
|
66
|
+
Address32: any;
|
67
|
+
} | {
|
68
|
+
Address20: any;
|
69
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
70
|
+
/**
|
71
|
+
* See [`Pallet::clear_metadata`].
|
72
|
+
**/
|
73
|
+
clearMetadata: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
74
|
+
/**
|
75
|
+
* See [`Pallet::create`].
|
76
|
+
**/
|
77
|
+
create: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, admin: MultiAddress | {
|
78
|
+
Id: any;
|
79
|
+
} | {
|
80
|
+
Index: any;
|
81
|
+
} | {
|
82
|
+
Raw: any;
|
83
|
+
} | {
|
84
|
+
Address32: any;
|
85
|
+
} | {
|
86
|
+
Address20: any;
|
87
|
+
} | string | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, u128]>;
|
88
|
+
/**
|
89
|
+
* See [`Pallet::destroy_accounts`].
|
90
|
+
**/
|
91
|
+
destroyAccounts: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
92
|
+
/**
|
93
|
+
* See [`Pallet::destroy_approvals`].
|
94
|
+
**/
|
95
|
+
destroyApprovals: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
96
|
+
/**
|
97
|
+
* See [`Pallet::finish_destroy`].
|
98
|
+
**/
|
99
|
+
finishDestroy: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
100
|
+
/**
|
101
|
+
* See [`Pallet::force_asset_status`].
|
102
|
+
**/
|
103
|
+
forceAssetStatus: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, owner: MultiAddress | {
|
104
|
+
Id: any;
|
105
|
+
} | {
|
106
|
+
Index: any;
|
107
|
+
} | {
|
108
|
+
Raw: any;
|
109
|
+
} | {
|
110
|
+
Address32: any;
|
111
|
+
} | {
|
112
|
+
Address20: any;
|
113
|
+
} | string | Uint8Array, issuer: MultiAddress | {
|
114
|
+
Id: any;
|
115
|
+
} | {
|
116
|
+
Index: any;
|
117
|
+
} | {
|
118
|
+
Raw: any;
|
119
|
+
} | {
|
120
|
+
Address32: any;
|
121
|
+
} | {
|
122
|
+
Address20: any;
|
123
|
+
} | string | Uint8Array, admin: MultiAddress | {
|
124
|
+
Id: any;
|
125
|
+
} | {
|
126
|
+
Index: any;
|
127
|
+
} | {
|
128
|
+
Raw: any;
|
129
|
+
} | {
|
130
|
+
Address32: any;
|
131
|
+
} | {
|
132
|
+
Address20: any;
|
133
|
+
} | string | Uint8Array, freezer: MultiAddress | {
|
134
|
+
Id: any;
|
135
|
+
} | {
|
136
|
+
Index: any;
|
137
|
+
} | {
|
138
|
+
Raw: any;
|
139
|
+
} | {
|
140
|
+
Address32: any;
|
141
|
+
} | {
|
142
|
+
Address20: any;
|
143
|
+
} | string | Uint8Array, minBalance: Compact<u128> | AnyNumber | Uint8Array, isSufficient: bool | boolean | Uint8Array, isFrozen: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, MultiAddress, Compact<u128>, bool, bool]>;
|
144
|
+
/**
|
145
|
+
* See [`Pallet::force_cancel_approval`].
|
146
|
+
**/
|
147
|
+
forceCancelApproval: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, owner: MultiAddress | {
|
148
|
+
Id: any;
|
149
|
+
} | {
|
150
|
+
Index: any;
|
151
|
+
} | {
|
152
|
+
Raw: any;
|
153
|
+
} | {
|
154
|
+
Address32: any;
|
155
|
+
} | {
|
156
|
+
Address20: any;
|
157
|
+
} | string | Uint8Array, delegate: MultiAddress | {
|
158
|
+
Id: any;
|
159
|
+
} | {
|
160
|
+
Index: any;
|
161
|
+
} | {
|
162
|
+
Raw: any;
|
163
|
+
} | {
|
164
|
+
Address32: any;
|
165
|
+
} | {
|
166
|
+
Address20: any;
|
167
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress]>;
|
168
|
+
/**
|
169
|
+
* See [`Pallet::force_clear_metadata`].
|
170
|
+
**/
|
171
|
+
forceClearMetadata: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
172
|
+
/**
|
173
|
+
* See [`Pallet::force_create`].
|
174
|
+
**/
|
175
|
+
forceCreate: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, owner: MultiAddress | {
|
176
|
+
Id: any;
|
177
|
+
} | {
|
178
|
+
Index: any;
|
179
|
+
} | {
|
180
|
+
Raw: any;
|
181
|
+
} | {
|
182
|
+
Address32: any;
|
183
|
+
} | {
|
184
|
+
Address20: any;
|
185
|
+
} | string | Uint8Array, isSufficient: bool | boolean | Uint8Array, minBalance: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, bool, Compact<u128>]>;
|
186
|
+
/**
|
187
|
+
* See [`Pallet::force_set_metadata`].
|
188
|
+
**/
|
189
|
+
forceSetMetadata: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, name: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, decimals: u8 | AnyNumber | Uint8Array, isFrozen: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Bytes, Bytes, u8, bool]>;
|
190
|
+
/**
|
191
|
+
* See [`Pallet::force_transfer`].
|
192
|
+
**/
|
193
|
+
forceTransfer: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, source: MultiAddress | {
|
194
|
+
Id: any;
|
195
|
+
} | {
|
196
|
+
Index: any;
|
197
|
+
} | {
|
198
|
+
Raw: any;
|
199
|
+
} | {
|
200
|
+
Address32: any;
|
201
|
+
} | {
|
202
|
+
Address20: any;
|
203
|
+
} | string | Uint8Array, dest: MultiAddress | {
|
204
|
+
Id: any;
|
205
|
+
} | {
|
206
|
+
Index: any;
|
207
|
+
} | {
|
208
|
+
Raw: any;
|
209
|
+
} | {
|
210
|
+
Address32: any;
|
211
|
+
} | {
|
212
|
+
Address20: any;
|
213
|
+
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, Compact<u128>]>;
|
214
|
+
/**
|
215
|
+
* See [`Pallet::freeze`].
|
216
|
+
**/
|
217
|
+
freeze: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, who: MultiAddress | {
|
218
|
+
Id: any;
|
219
|
+
} | {
|
220
|
+
Index: any;
|
221
|
+
} | {
|
222
|
+
Raw: any;
|
223
|
+
} | {
|
224
|
+
Address32: any;
|
225
|
+
} | {
|
226
|
+
Address20: any;
|
227
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
228
|
+
/**
|
229
|
+
* See [`Pallet::freeze_asset`].
|
230
|
+
**/
|
231
|
+
freezeAsset: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
232
|
+
/**
|
233
|
+
* See [`Pallet::mint`].
|
234
|
+
**/
|
235
|
+
mint: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | {
|
236
|
+
Id: any;
|
237
|
+
} | {
|
238
|
+
Index: any;
|
239
|
+
} | {
|
240
|
+
Raw: any;
|
241
|
+
} | {
|
242
|
+
Address32: any;
|
243
|
+
} | {
|
244
|
+
Address20: any;
|
245
|
+
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, Compact<u128>]>;
|
246
|
+
/**
|
247
|
+
* See [`Pallet::refund`].
|
248
|
+
**/
|
249
|
+
refund: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
250
|
+
/**
|
251
|
+
* See [`Pallet::refund_other`].
|
252
|
+
**/
|
253
|
+
refundOther: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, who: MultiAddress | {
|
254
|
+
Id: any;
|
255
|
+
} | {
|
256
|
+
Index: any;
|
257
|
+
} | {
|
258
|
+
Raw: any;
|
259
|
+
} | {
|
260
|
+
Address32: any;
|
261
|
+
} | {
|
262
|
+
Address20: any;
|
263
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
264
|
+
/**
|
265
|
+
* See [`Pallet::set_metadata`].
|
266
|
+
**/
|
267
|
+
setMetadata: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, name: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, decimals: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Bytes, Bytes, u8]>;
|
268
|
+
/**
|
269
|
+
* See [`Pallet::set_min_balance`].
|
270
|
+
**/
|
271
|
+
setMinBalance: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u128]>;
|
272
|
+
/**
|
273
|
+
* See [`Pallet::set_team`].
|
274
|
+
**/
|
275
|
+
setTeam: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, issuer: MultiAddress | {
|
276
|
+
Id: any;
|
277
|
+
} | {
|
278
|
+
Index: any;
|
279
|
+
} | {
|
280
|
+
Raw: any;
|
281
|
+
} | {
|
282
|
+
Address32: any;
|
283
|
+
} | {
|
284
|
+
Address20: any;
|
285
|
+
} | string | Uint8Array, admin: MultiAddress | {
|
286
|
+
Id: any;
|
287
|
+
} | {
|
288
|
+
Index: any;
|
289
|
+
} | {
|
290
|
+
Raw: any;
|
291
|
+
} | {
|
292
|
+
Address32: any;
|
293
|
+
} | {
|
294
|
+
Address20: any;
|
295
|
+
} | string | Uint8Array, freezer: MultiAddress | {
|
296
|
+
Id: any;
|
297
|
+
} | {
|
298
|
+
Index: any;
|
299
|
+
} | {
|
300
|
+
Raw: any;
|
301
|
+
} | {
|
302
|
+
Address32: any;
|
303
|
+
} | {
|
304
|
+
Address20: any;
|
305
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
306
|
+
/**
|
307
|
+
* See [`Pallet::start_destroy`].
|
308
|
+
**/
|
309
|
+
startDestroy: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
310
|
+
/**
|
311
|
+
* See [`Pallet::thaw`].
|
312
|
+
**/
|
313
|
+
thaw: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, who: MultiAddress | {
|
314
|
+
Id: any;
|
315
|
+
} | {
|
316
|
+
Index: any;
|
317
|
+
} | {
|
318
|
+
Raw: any;
|
319
|
+
} | {
|
320
|
+
Address32: any;
|
321
|
+
} | {
|
322
|
+
Address20: any;
|
323
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
324
|
+
/**
|
325
|
+
* See [`Pallet::thaw_asset`].
|
326
|
+
**/
|
327
|
+
thawAsset: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
328
|
+
/**
|
329
|
+
* See [`Pallet::touch`].
|
330
|
+
**/
|
331
|
+
touch: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
332
|
+
/**
|
333
|
+
* See [`Pallet::touch_other`].
|
334
|
+
**/
|
335
|
+
touchOther: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, who: MultiAddress | {
|
336
|
+
Id: any;
|
337
|
+
} | {
|
338
|
+
Index: any;
|
339
|
+
} | {
|
340
|
+
Raw: any;
|
341
|
+
} | {
|
342
|
+
Address32: any;
|
343
|
+
} | {
|
344
|
+
Address20: any;
|
345
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
346
|
+
/**
|
347
|
+
* See [`Pallet::transfer`].
|
348
|
+
**/
|
349
|
+
transfer: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, target: MultiAddress | {
|
350
|
+
Id: any;
|
351
|
+
} | {
|
352
|
+
Index: any;
|
353
|
+
} | {
|
354
|
+
Raw: any;
|
355
|
+
} | {
|
356
|
+
Address32: any;
|
357
|
+
} | {
|
358
|
+
Address20: any;
|
359
|
+
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, Compact<u128>]>;
|
360
|
+
/**
|
361
|
+
* See [`Pallet::transfer_approved`].
|
362
|
+
**/
|
363
|
+
transferApproved: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, owner: MultiAddress | {
|
364
|
+
Id: any;
|
365
|
+
} | {
|
366
|
+
Index: any;
|
367
|
+
} | {
|
368
|
+
Raw: any;
|
369
|
+
} | {
|
370
|
+
Address32: any;
|
371
|
+
} | {
|
372
|
+
Address20: any;
|
373
|
+
} | string | Uint8Array, destination: MultiAddress | {
|
374
|
+
Id: any;
|
375
|
+
} | {
|
376
|
+
Index: any;
|
377
|
+
} | {
|
378
|
+
Raw: any;
|
379
|
+
} | {
|
380
|
+
Address32: any;
|
381
|
+
} | {
|
382
|
+
Address20: any;
|
383
|
+
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, Compact<u128>]>;
|
384
|
+
/**
|
385
|
+
* See [`Pallet::transfer_keep_alive`].
|
386
|
+
**/
|
387
|
+
transferKeepAlive: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, target: MultiAddress | {
|
388
|
+
Id: any;
|
389
|
+
} | {
|
390
|
+
Index: any;
|
391
|
+
} | {
|
392
|
+
Raw: any;
|
393
|
+
} | {
|
394
|
+
Address32: any;
|
395
|
+
} | {
|
396
|
+
Address20: any;
|
397
|
+
} | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, Compact<u128>]>;
|
398
|
+
/**
|
399
|
+
* See [`Pallet::transfer_ownership`].
|
400
|
+
**/
|
401
|
+
transferOwnership: AugmentedSubmittable<(id: Compact<u128> | AnyNumber | Uint8Array, owner: MultiAddress | {
|
402
|
+
Id: any;
|
403
|
+
} | {
|
404
|
+
Index: any;
|
405
|
+
} | {
|
406
|
+
Raw: any;
|
407
|
+
} | {
|
408
|
+
Address32: any;
|
409
|
+
} | {
|
410
|
+
Address20: any;
|
411
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
412
|
+
/**
|
413
|
+
* Generic tx
|
414
|
+
**/
|
415
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
416
|
+
};
|
13
417
|
babe: {
|
14
418
|
/**
|
15
419
|
* See [`Pallet::plan_config_change`].
|
@@ -377,6 +781,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
377
781
|
} | {
|
378
782
|
Native: any;
|
379
783
|
} | string | Uint8Array, statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PalletAirdropClaimsUtilsMultiAddress>, Option<PalletAirdropClaimsUtilsMultiAddress>, PalletAirdropClaimsUtilsMultiAddressSignature, Bytes]>;
|
784
|
+
/**
|
785
|
+
* See [`Pallet::claim_signed`].
|
786
|
+
**/
|
787
|
+
claimSigned: AugmentedSubmittable<(dest: Option<PalletAirdropClaimsUtilsMultiAddress> | null | Uint8Array | PalletAirdropClaimsUtilsMultiAddress | {
|
788
|
+
EVM: any;
|
789
|
+
} | {
|
790
|
+
Native: any;
|
791
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Option<PalletAirdropClaimsUtilsMultiAddress>]>;
|
380
792
|
/**
|
381
793
|
* See [`Pallet::force_set_expiry_config`].
|
382
794
|
**/
|
@@ -1183,6 +1595,96 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
1183
1595
|
**/
|
1184
1596
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
1185
1597
|
};
|
1598
|
+
multiAssetDelegation: {
|
1599
|
+
/**
|
1600
|
+
* See [`Pallet::cancel_delegator_bond_less`].
|
1601
|
+
**/
|
1602
|
+
cancelDelegatorBondLess: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1603
|
+
/**
|
1604
|
+
* See [`Pallet::cancel_leave_operators`].
|
1605
|
+
**/
|
1606
|
+
cancelLeaveOperators: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1607
|
+
/**
|
1608
|
+
* See [`Pallet::cancel_operator_bond_less`].
|
1609
|
+
**/
|
1610
|
+
cancelOperatorBondLess: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1611
|
+
/**
|
1612
|
+
* See [`Pallet::cancel_unstake`].
|
1613
|
+
**/
|
1614
|
+
cancelUnstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1615
|
+
/**
|
1616
|
+
* See [`Pallet::delegate`].
|
1617
|
+
**/
|
1618
|
+
delegate: AugmentedSubmittable<(operator: AccountId32 | string | Uint8Array, assetId: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128, u128]>;
|
1619
|
+
/**
|
1620
|
+
* See [`Pallet::deposit`].
|
1621
|
+
**/
|
1622
|
+
deposit: AugmentedSubmittable<(assetId: Option<u128> | null | Uint8Array | u128 | AnyNumber, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u128>, u128]>;
|
1623
|
+
/**
|
1624
|
+
* See [`Pallet::execute_delegator_bond_less`].
|
1625
|
+
**/
|
1626
|
+
executeDelegatorBondLess: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1627
|
+
/**
|
1628
|
+
* See [`Pallet::execute_leave_operators`].
|
1629
|
+
**/
|
1630
|
+
executeLeaveOperators: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1631
|
+
/**
|
1632
|
+
* See [`Pallet::execute_operator_bond_less`].
|
1633
|
+
**/
|
1634
|
+
executeOperatorBondLess: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1635
|
+
/**
|
1636
|
+
* See [`Pallet::execute_unstake`].
|
1637
|
+
**/
|
1638
|
+
executeUnstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1639
|
+
/**
|
1640
|
+
* See [`Pallet::go_offline`].
|
1641
|
+
**/
|
1642
|
+
goOffline: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1643
|
+
/**
|
1644
|
+
* See [`Pallet::go_online`].
|
1645
|
+
**/
|
1646
|
+
goOnline: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1647
|
+
/**
|
1648
|
+
* See [`Pallet::join_operators`].
|
1649
|
+
**/
|
1650
|
+
joinOperators: AugmentedSubmittable<(bondAmount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
1651
|
+
/**
|
1652
|
+
* See [`Pallet::operator_bond_more`].
|
1653
|
+
**/
|
1654
|
+
operatorBondMore: AugmentedSubmittable<(additionalBond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
1655
|
+
/**
|
1656
|
+
* See [`Pallet::schedule_delegator_bond_less`].
|
1657
|
+
**/
|
1658
|
+
scheduleDelegatorBondLess: AugmentedSubmittable<(operator: AccountId32 | string | Uint8Array, assetId: u128 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128, u128]>;
|
1659
|
+
/**
|
1660
|
+
* See [`Pallet::schedule_leave_operators`].
|
1661
|
+
**/
|
1662
|
+
scheduleLeaveOperators: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
1663
|
+
/**
|
1664
|
+
* See [`Pallet::schedule_operator_bond_less`].
|
1665
|
+
**/
|
1666
|
+
scheduleOperatorBondLess: AugmentedSubmittable<(bondLessAmount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
1667
|
+
/**
|
1668
|
+
* See [`Pallet::schedule_unstake`].
|
1669
|
+
**/
|
1670
|
+
scheduleUnstake: AugmentedSubmittable<(assetId: Option<u128> | null | Uint8Array | u128 | AnyNumber, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u128>, u128]>;
|
1671
|
+
/**
|
1672
|
+
* See [`Pallet::set_incentive_apy_and_cap`].
|
1673
|
+
**/
|
1674
|
+
setIncentiveApyAndCap: AugmentedSubmittable<(assetId: u128 | AnyNumber | Uint8Array, apy: u128 | AnyNumber | Uint8Array, cap: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u128, u128]>;
|
1675
|
+
/**
|
1676
|
+
* See [`Pallet::set_whitelisted_assets`].
|
1677
|
+
**/
|
1678
|
+
setWhitelistedAssets: AugmentedSubmittable<(assets: Vec<u128> | (u128 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<u128>]>;
|
1679
|
+
/**
|
1680
|
+
* See [`Pallet::whitelist_blueprint_for_rewards`].
|
1681
|
+
**/
|
1682
|
+
whitelistBlueprintForRewards: AugmentedSubmittable<(blueprintId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
1683
|
+
/**
|
1684
|
+
* Generic tx
|
1685
|
+
**/
|
1686
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
1687
|
+
};
|
1186
1688
|
multisig: {
|
1187
1689
|
/**
|
1188
1690
|
* See [`Pallet::approve_as_multi`].
|
@@ -1984,6 +2486,112 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
1984
2486
|
**/
|
1985
2487
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
1986
2488
|
};
|
2489
|
+
sygmaAccessSegregator: {
|
2490
|
+
/**
|
2491
|
+
* See [`Pallet::grant_access`].
|
2492
|
+
**/
|
2493
|
+
grantAccess: AugmentedSubmittable<(palletIndex: u8 | AnyNumber | Uint8Array, extrinsicName: Bytes | string | Uint8Array, who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8, Bytes, AccountId32]>;
|
2494
|
+
/**
|
2495
|
+
* Generic tx
|
2496
|
+
**/
|
2497
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
2498
|
+
};
|
2499
|
+
sygmaBasicFeeHandler: {
|
2500
|
+
/**
|
2501
|
+
* See [`Pallet::set_fee`].
|
2502
|
+
**/
|
2503
|
+
setFee: AugmentedSubmittable<(domain: u8 | AnyNumber | Uint8Array, asset: StagingXcmV4AssetAssetId | {
|
2504
|
+
parents?: any;
|
2505
|
+
interior?: any;
|
2506
|
+
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8, StagingXcmV4AssetAssetId, u128]>;
|
2507
|
+
/**
|
2508
|
+
* Generic tx
|
2509
|
+
**/
|
2510
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
2511
|
+
};
|
2512
|
+
sygmaBridge: {
|
2513
|
+
/**
|
2514
|
+
* See [`Pallet::deposit`].
|
2515
|
+
**/
|
2516
|
+
deposit: AugmentedSubmittable<(asset: StagingXcmV4Asset | {
|
2517
|
+
id?: any;
|
2518
|
+
fun?: any;
|
2519
|
+
} | string | Uint8Array, dest: StagingXcmV4Location | {
|
2520
|
+
parents?: any;
|
2521
|
+
interior?: any;
|
2522
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Asset, StagingXcmV4Location]>;
|
2523
|
+
/**
|
2524
|
+
* See [`Pallet::execute_proposal`].
|
2525
|
+
**/
|
2526
|
+
executeProposal: AugmentedSubmittable<(proposals: Vec<SygmaBridgeProposal> | (SygmaBridgeProposal | {
|
2527
|
+
originDomainId?: any;
|
2528
|
+
depositNonce?: any;
|
2529
|
+
resourceId?: any;
|
2530
|
+
data?: any;
|
2531
|
+
} | string | Uint8Array)[], signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<SygmaBridgeProposal>, Bytes]>;
|
2532
|
+
/**
|
2533
|
+
* See [`Pallet::pause_all_bridges`].
|
2534
|
+
**/
|
2535
|
+
pauseAllBridges: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
2536
|
+
/**
|
2537
|
+
* See [`Pallet::pause_bridge`].
|
2538
|
+
**/
|
2539
|
+
pauseBridge: AugmentedSubmittable<(destDomainId: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8]>;
|
2540
|
+
/**
|
2541
|
+
* See [`Pallet::register_domain`].
|
2542
|
+
**/
|
2543
|
+
registerDomain: AugmentedSubmittable<(destDomainId: u8 | AnyNumber | Uint8Array, destChainId: U256 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8, U256]>;
|
2544
|
+
/**
|
2545
|
+
* See [`Pallet::retry`].
|
2546
|
+
**/
|
2547
|
+
retry: AugmentedSubmittable<(depositOnBlockHeight: u128 | AnyNumber | Uint8Array, destDomainId: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u8]>;
|
2548
|
+
/**
|
2549
|
+
* See [`Pallet::set_mpc_address`].
|
2550
|
+
**/
|
2551
|
+
setMpcAddress: AugmentedSubmittable<(addr: SygmaTraitsMpcAddress | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SygmaTraitsMpcAddress]>;
|
2552
|
+
/**
|
2553
|
+
* See [`Pallet::unpause_all_bridges`].
|
2554
|
+
**/
|
2555
|
+
unpauseAllBridges: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
2556
|
+
/**
|
2557
|
+
* See [`Pallet::unpause_bridge`].
|
2558
|
+
**/
|
2559
|
+
unpauseBridge: AugmentedSubmittable<(destDomainId: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8]>;
|
2560
|
+
/**
|
2561
|
+
* See [`Pallet::unregister_domain`].
|
2562
|
+
**/
|
2563
|
+
unregisterDomain: AugmentedSubmittable<(destDomainId: u8 | AnyNumber | Uint8Array, destChainId: U256 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8, U256]>;
|
2564
|
+
/**
|
2565
|
+
* Generic tx
|
2566
|
+
**/
|
2567
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
2568
|
+
};
|
2569
|
+
sygmaFeeHandlerRouter: {
|
2570
|
+
/**
|
2571
|
+
* See [`Pallet::set_fee_handler`].
|
2572
|
+
**/
|
2573
|
+
setFeeHandler: AugmentedSubmittable<(domain: u8 | AnyNumber | Uint8Array, asset: StagingXcmV4AssetAssetId | {
|
2574
|
+
parents?: any;
|
2575
|
+
interior?: any;
|
2576
|
+
} | string | Uint8Array, handlerType: SygmaFeeHandlerRouterFeeHandlerType | 'BasicFeeHandler' | 'PercentageFeeHandler' | 'DynamicFeeHandler' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8, StagingXcmV4AssetAssetId, SygmaFeeHandlerRouterFeeHandlerType]>;
|
2577
|
+
/**
|
2578
|
+
* Generic tx
|
2579
|
+
**/
|
2580
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
2581
|
+
};
|
2582
|
+
sygmaPercentageFeeHandler: {
|
2583
|
+
/**
|
2584
|
+
* See [`Pallet::set_fee_rate`].
|
2585
|
+
**/
|
2586
|
+
setFeeRate: AugmentedSubmittable<(domain: u8 | AnyNumber | Uint8Array, asset: StagingXcmV4AssetAssetId | {
|
2587
|
+
parents?: any;
|
2588
|
+
interior?: any;
|
2589
|
+
} | string | Uint8Array, feeRateBasisPoint: u32 | AnyNumber | Uint8Array, feeLowerBound: u128 | AnyNumber | Uint8Array, feeUpperBound: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8, StagingXcmV4AssetAssetId, u32, u128, u128]>;
|
2590
|
+
/**
|
2591
|
+
* Generic tx
|
2592
|
+
**/
|
2593
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
2594
|
+
};
|
1987
2595
|
system: {
|
1988
2596
|
/**
|
1989
2597
|
* See [`Pallet::apply_authorized_upgrade`].
|