@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
@@ -1,12 +1,200 @@
|
|
1
1
|
import '@polkadot/api-base/types/events';
|
2
2
|
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
3
|
-
import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
3
|
+
import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
5
5
|
import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
6
|
-
import { FrameSupportTokensMiscBalanceStatus, PalletAirdropClaimsUtilsMultiAddress, SpRuntimeDispatchError, PalletDemocracyMetadataOwner, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, EvmCoreErrorExitReason, EthereumLog, SpConsensusGrandpaAppPublic, PalletImOnlineSr25519AppSr25519Public, SpStakingExposure, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsJobInfo, TanglePrimitivesJobsJobSubmission, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, TangleTestnetRuntimeProxyType, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, FrameSupportDispatchDispatchInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
|
6
|
+
import { FrameSupportTokensMiscBalanceStatus, PalletAirdropClaimsUtilsMultiAddress, SpRuntimeDispatchError, PalletDemocracyMetadataOwner, PalletDemocracyVoteThreshold, PalletDemocracyVoteAccountVote, PalletDkgFeeInfo, PalletElectionProviderMultiPhaseElectionCompute, SpNposElectionsElectionScore, PalletElectionProviderMultiPhasePhase, EvmCoreErrorExitReason, EthereumLog, SpConsensusGrandpaAppPublic, PalletImOnlineSr25519AppSr25519Public, SpStakingExposure, TanglePrimitivesRolesRoleType, TanglePrimitivesJobsJobInfo, TanglePrimitivesJobsJobSubmission, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, TangleTestnetRuntimeProxyType, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, StagingXcmV4AssetAssetId, SygmaTraitsTransferType, SygmaFeeHandlerRouterFeeHandlerType, FrameSupportDispatchDispatchInfo, PalletZksaasFeeInfo } from '@polkadot/types/lookup';
|
7
7
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
10
|
+
assets: {
|
11
|
+
/**
|
12
|
+
* Accounts were destroyed for given asset.
|
13
|
+
**/
|
14
|
+
AccountsDestroyed: AugmentedEvent<ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], {
|
15
|
+
assetId: u128;
|
16
|
+
accountsDestroyed: u32;
|
17
|
+
accountsRemaining: u32;
|
18
|
+
}>;
|
19
|
+
/**
|
20
|
+
* An approval for account `delegate` was cancelled by `owner`.
|
21
|
+
**/
|
22
|
+
ApprovalCancelled: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, delegate: AccountId32], {
|
23
|
+
assetId: u128;
|
24
|
+
owner: AccountId32;
|
25
|
+
delegate: AccountId32;
|
26
|
+
}>;
|
27
|
+
/**
|
28
|
+
* Approvals were destroyed for given asset.
|
29
|
+
**/
|
30
|
+
ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], {
|
31
|
+
assetId: u128;
|
32
|
+
approvalsDestroyed: u32;
|
33
|
+
approvalsRemaining: u32;
|
34
|
+
}>;
|
35
|
+
/**
|
36
|
+
* (Additional) funds have been approved for transfer to a destination account.
|
37
|
+
**/
|
38
|
+
ApprovedTransfer: AugmentedEvent<ApiType, [assetId: u128, source: AccountId32, delegate: AccountId32, amount: u128], {
|
39
|
+
assetId: u128;
|
40
|
+
source: AccountId32;
|
41
|
+
delegate: AccountId32;
|
42
|
+
amount: u128;
|
43
|
+
}>;
|
44
|
+
/**
|
45
|
+
* Some asset `asset_id` was frozen.
|
46
|
+
**/
|
47
|
+
AssetFrozen: AugmentedEvent<ApiType, [assetId: u128], {
|
48
|
+
assetId: u128;
|
49
|
+
}>;
|
50
|
+
/**
|
51
|
+
* The min_balance of an asset has been updated by the asset owner.
|
52
|
+
**/
|
53
|
+
AssetMinBalanceChanged: AugmentedEvent<ApiType, [assetId: u128, newMinBalance: u128], {
|
54
|
+
assetId: u128;
|
55
|
+
newMinBalance: u128;
|
56
|
+
}>;
|
57
|
+
/**
|
58
|
+
* An asset has had its attributes changed by the `Force` origin.
|
59
|
+
**/
|
60
|
+
AssetStatusChanged: AugmentedEvent<ApiType, [assetId: u128], {
|
61
|
+
assetId: u128;
|
62
|
+
}>;
|
63
|
+
/**
|
64
|
+
* Some asset `asset_id` was thawed.
|
65
|
+
**/
|
66
|
+
AssetThawed: AugmentedEvent<ApiType, [assetId: u128], {
|
67
|
+
assetId: u128;
|
68
|
+
}>;
|
69
|
+
/**
|
70
|
+
* Some account `who` was blocked.
|
71
|
+
**/
|
72
|
+
Blocked: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], {
|
73
|
+
assetId: u128;
|
74
|
+
who: AccountId32;
|
75
|
+
}>;
|
76
|
+
/**
|
77
|
+
* Some assets were destroyed.
|
78
|
+
**/
|
79
|
+
Burned: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, balance: u128], {
|
80
|
+
assetId: u128;
|
81
|
+
owner: AccountId32;
|
82
|
+
balance: u128;
|
83
|
+
}>;
|
84
|
+
/**
|
85
|
+
* Some asset class was created.
|
86
|
+
**/
|
87
|
+
Created: AugmentedEvent<ApiType, [assetId: u128, creator: AccountId32, owner: AccountId32], {
|
88
|
+
assetId: u128;
|
89
|
+
creator: AccountId32;
|
90
|
+
owner: AccountId32;
|
91
|
+
}>;
|
92
|
+
/**
|
93
|
+
* An asset class was destroyed.
|
94
|
+
**/
|
95
|
+
Destroyed: AugmentedEvent<ApiType, [assetId: u128], {
|
96
|
+
assetId: u128;
|
97
|
+
}>;
|
98
|
+
/**
|
99
|
+
* An asset class is in the process of being destroyed.
|
100
|
+
**/
|
101
|
+
DestructionStarted: AugmentedEvent<ApiType, [assetId: u128], {
|
102
|
+
assetId: u128;
|
103
|
+
}>;
|
104
|
+
/**
|
105
|
+
* Some asset class was force-created.
|
106
|
+
**/
|
107
|
+
ForceCreated: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32], {
|
108
|
+
assetId: u128;
|
109
|
+
owner: AccountId32;
|
110
|
+
}>;
|
111
|
+
/**
|
112
|
+
* Some account `who` was frozen.
|
113
|
+
**/
|
114
|
+
Frozen: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], {
|
115
|
+
assetId: u128;
|
116
|
+
who: AccountId32;
|
117
|
+
}>;
|
118
|
+
/**
|
119
|
+
* Some assets were issued.
|
120
|
+
**/
|
121
|
+
Issued: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, amount: u128], {
|
122
|
+
assetId: u128;
|
123
|
+
owner: AccountId32;
|
124
|
+
amount: u128;
|
125
|
+
}>;
|
126
|
+
/**
|
127
|
+
* Metadata has been cleared for an asset.
|
128
|
+
**/
|
129
|
+
MetadataCleared: AugmentedEvent<ApiType, [assetId: u128], {
|
130
|
+
assetId: u128;
|
131
|
+
}>;
|
132
|
+
/**
|
133
|
+
* New metadata has been set for an asset.
|
134
|
+
**/
|
135
|
+
MetadataSet: AugmentedEvent<ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], {
|
136
|
+
assetId: u128;
|
137
|
+
name: Bytes;
|
138
|
+
symbol: Bytes;
|
139
|
+
decimals: u8;
|
140
|
+
isFrozen: bool;
|
141
|
+
}>;
|
142
|
+
/**
|
143
|
+
* The owner changed.
|
144
|
+
**/
|
145
|
+
OwnerChanged: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32], {
|
146
|
+
assetId: u128;
|
147
|
+
owner: AccountId32;
|
148
|
+
}>;
|
149
|
+
/**
|
150
|
+
* The management team changed.
|
151
|
+
**/
|
152
|
+
TeamChanged: AugmentedEvent<ApiType, [assetId: u128, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], {
|
153
|
+
assetId: u128;
|
154
|
+
issuer: AccountId32;
|
155
|
+
admin: AccountId32;
|
156
|
+
freezer: AccountId32;
|
157
|
+
}>;
|
158
|
+
/**
|
159
|
+
* Some account `who` was thawed.
|
160
|
+
**/
|
161
|
+
Thawed: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32], {
|
162
|
+
assetId: u128;
|
163
|
+
who: AccountId32;
|
164
|
+
}>;
|
165
|
+
/**
|
166
|
+
* Some account `who` was created with a deposit from `depositor`.
|
167
|
+
**/
|
168
|
+
Touched: AugmentedEvent<ApiType, [assetId: u128, who: AccountId32, depositor: AccountId32], {
|
169
|
+
assetId: u128;
|
170
|
+
who: AccountId32;
|
171
|
+
depositor: AccountId32;
|
172
|
+
}>;
|
173
|
+
/**
|
174
|
+
* Some assets were transferred.
|
175
|
+
**/
|
176
|
+
Transferred: AugmentedEvent<ApiType, [assetId: u128, from: AccountId32, to: AccountId32, amount: u128], {
|
177
|
+
assetId: u128;
|
178
|
+
from: AccountId32;
|
179
|
+
to: AccountId32;
|
180
|
+
amount: u128;
|
181
|
+
}>;
|
182
|
+
/**
|
183
|
+
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
184
|
+
* the approved `delegate`.
|
185
|
+
**/
|
186
|
+
TransferredApproved: AugmentedEvent<ApiType, [assetId: u128, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], {
|
187
|
+
assetId: u128;
|
188
|
+
owner: AccountId32;
|
189
|
+
delegate: AccountId32;
|
190
|
+
destination: AccountId32;
|
191
|
+
amount: u128;
|
192
|
+
}>;
|
193
|
+
/**
|
194
|
+
* Generic event
|
195
|
+
**/
|
196
|
+
[key: string]: AugmentedEvent<ApiType>;
|
197
|
+
};
|
10
198
|
bagsList: {
|
11
199
|
/**
|
12
200
|
* Moved an account from one bag to another.
|
@@ -946,6 +1134,152 @@ declare module '@polkadot/api-base/types/events' {
|
|
946
1134
|
**/
|
947
1135
|
[key: string]: AugmentedEvent<ApiType>;
|
948
1136
|
};
|
1137
|
+
multiAssetDelegation: {
|
1138
|
+
/**
|
1139
|
+
* Event emitted when a blueprint is whitelisted for rewards
|
1140
|
+
**/
|
1141
|
+
BlueprintWhitelisted: AugmentedEvent<ApiType, [blueprintId: u32], {
|
1142
|
+
blueprintId: u32;
|
1143
|
+
}>;
|
1144
|
+
/**
|
1145
|
+
* A delegator bond less request has been cancelled.
|
1146
|
+
**/
|
1147
|
+
CancelledDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32], {
|
1148
|
+
who: AccountId32;
|
1149
|
+
}>;
|
1150
|
+
/**
|
1151
|
+
* An unstake has been cancelled.
|
1152
|
+
**/
|
1153
|
+
CancelledUnstake: AugmentedEvent<ApiType, [who: AccountId32], {
|
1154
|
+
who: AccountId32;
|
1155
|
+
}>;
|
1156
|
+
/**
|
1157
|
+
* A delegation has been made.
|
1158
|
+
**/
|
1159
|
+
Delegated: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, amount: u128, assetId: u128], {
|
1160
|
+
who: AccountId32;
|
1161
|
+
operator: AccountId32;
|
1162
|
+
amount: u128;
|
1163
|
+
assetId: u128;
|
1164
|
+
}>;
|
1165
|
+
/**
|
1166
|
+
* A deposit has been made.
|
1167
|
+
**/
|
1168
|
+
Deposited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, assetId: Option<u128>], {
|
1169
|
+
who: AccountId32;
|
1170
|
+
amount: u128;
|
1171
|
+
assetId: Option<u128>;
|
1172
|
+
}>;
|
1173
|
+
/**
|
1174
|
+
* A delegator bond less request has been executed.
|
1175
|
+
**/
|
1176
|
+
ExecutedDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32], {
|
1177
|
+
who: AccountId32;
|
1178
|
+
}>;
|
1179
|
+
/**
|
1180
|
+
* An unstake has been executed.
|
1181
|
+
**/
|
1182
|
+
ExecutedUnstake: AugmentedEvent<ApiType, [who: AccountId32], {
|
1183
|
+
who: AccountId32;
|
1184
|
+
}>;
|
1185
|
+
/**
|
1186
|
+
* Event emitted when an incentive APY and cap are set for an asset
|
1187
|
+
**/
|
1188
|
+
IncentiveAPYAndCapSet: AugmentedEvent<ApiType, [assetId: u128, apy: u128, cap: u128], {
|
1189
|
+
assetId: u128;
|
1190
|
+
apy: u128;
|
1191
|
+
cap: u128;
|
1192
|
+
}>;
|
1193
|
+
/**
|
1194
|
+
* An operator has cancelled their bond decrease request.
|
1195
|
+
**/
|
1196
|
+
OperatorBondLessCancelled: AugmentedEvent<ApiType, [who: AccountId32], {
|
1197
|
+
who: AccountId32;
|
1198
|
+
}>;
|
1199
|
+
/**
|
1200
|
+
* An operator has executed their bond decrease.
|
1201
|
+
**/
|
1202
|
+
OperatorBondLessExecuted: AugmentedEvent<ApiType, [who: AccountId32], {
|
1203
|
+
who: AccountId32;
|
1204
|
+
}>;
|
1205
|
+
/**
|
1206
|
+
* An operator has scheduled to decrease their bond.
|
1207
|
+
**/
|
1208
|
+
OperatorBondLessScheduled: AugmentedEvent<ApiType, [who: AccountId32, bondLessAmount: u128], {
|
1209
|
+
who: AccountId32;
|
1210
|
+
bondLessAmount: u128;
|
1211
|
+
}>;
|
1212
|
+
/**
|
1213
|
+
* An operator has increased their bond.
|
1214
|
+
**/
|
1215
|
+
OperatorBondMore: AugmentedEvent<ApiType, [who: AccountId32, additionalBond: u128], {
|
1216
|
+
who: AccountId32;
|
1217
|
+
additionalBond: u128;
|
1218
|
+
}>;
|
1219
|
+
/**
|
1220
|
+
* An operator has joined.
|
1221
|
+
**/
|
1222
|
+
OperatorJoined: AugmentedEvent<ApiType, [who: AccountId32], {
|
1223
|
+
who: AccountId32;
|
1224
|
+
}>;
|
1225
|
+
/**
|
1226
|
+
* An operator has cancelled their leave request.
|
1227
|
+
**/
|
1228
|
+
OperatorLeaveCancelled: AugmentedEvent<ApiType, [who: AccountId32], {
|
1229
|
+
who: AccountId32;
|
1230
|
+
}>;
|
1231
|
+
/**
|
1232
|
+
* An operator has executed their leave request.
|
1233
|
+
**/
|
1234
|
+
OperatorLeaveExecuted: AugmentedEvent<ApiType, [who: AccountId32], {
|
1235
|
+
who: AccountId32;
|
1236
|
+
}>;
|
1237
|
+
/**
|
1238
|
+
* An operator has scheduled to leave.
|
1239
|
+
**/
|
1240
|
+
OperatorLeavingScheduled: AugmentedEvent<ApiType, [who: AccountId32], {
|
1241
|
+
who: AccountId32;
|
1242
|
+
}>;
|
1243
|
+
/**
|
1244
|
+
* An operator has gone offline.
|
1245
|
+
**/
|
1246
|
+
OperatorWentOffline: AugmentedEvent<ApiType, [who: AccountId32], {
|
1247
|
+
who: AccountId32;
|
1248
|
+
}>;
|
1249
|
+
/**
|
1250
|
+
* An operator has gone online.
|
1251
|
+
**/
|
1252
|
+
OperatorWentOnline: AugmentedEvent<ApiType, [who: AccountId32], {
|
1253
|
+
who: AccountId32;
|
1254
|
+
}>;
|
1255
|
+
/**
|
1256
|
+
* A delegator bond less request has been scheduled.
|
1257
|
+
**/
|
1258
|
+
ScheduledDelegatorBondLess: AugmentedEvent<ApiType, [who: AccountId32, operator: AccountId32, amount: u128, assetId: u128], {
|
1259
|
+
who: AccountId32;
|
1260
|
+
operator: AccountId32;
|
1261
|
+
amount: u128;
|
1262
|
+
assetId: u128;
|
1263
|
+
}>;
|
1264
|
+
/**
|
1265
|
+
* An unstake has been scheduled.
|
1266
|
+
**/
|
1267
|
+
ScheduledUnstake: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, assetId: Option<u128>], {
|
1268
|
+
who: AccountId32;
|
1269
|
+
amount: u128;
|
1270
|
+
assetId: Option<u128>;
|
1271
|
+
}>;
|
1272
|
+
/**
|
1273
|
+
* New whitelisted assets set
|
1274
|
+
**/
|
1275
|
+
WhitelistedAssetsSet: AugmentedEvent<ApiType, [assets: Vec<u128>], {
|
1276
|
+
assets: Vec<u128>;
|
1277
|
+
}>;
|
1278
|
+
/**
|
1279
|
+
* Generic event
|
1280
|
+
**/
|
1281
|
+
[key: string]: AugmentedEvent<ApiType>;
|
1282
|
+
};
|
949
1283
|
multisig: {
|
950
1284
|
/**
|
951
1285
|
* A multisig operation has been approved by someone.
|
@@ -1530,6 +1864,165 @@ declare module '@polkadot/api-base/types/events' {
|
|
1530
1864
|
**/
|
1531
1865
|
[key: string]: AugmentedEvent<ApiType>;
|
1532
1866
|
};
|
1867
|
+
sygmaAccessSegregator: {
|
1868
|
+
/**
|
1869
|
+
* Extrinsic access grant to someone
|
1870
|
+
* args: [pallet_index, extrinsic_name, who]
|
1871
|
+
**/
|
1872
|
+
AccessGranted: AugmentedEvent<ApiType, [palletIndex: u8, extrinsicName: Bytes, who: AccountId32], {
|
1873
|
+
palletIndex: u8;
|
1874
|
+
extrinsicName: Bytes;
|
1875
|
+
who: AccountId32;
|
1876
|
+
}>;
|
1877
|
+
/**
|
1878
|
+
* Generic event
|
1879
|
+
**/
|
1880
|
+
[key: string]: AugmentedEvent<ApiType>;
|
1881
|
+
};
|
1882
|
+
sygmaBasicFeeHandler: {
|
1883
|
+
/**
|
1884
|
+
* Fee set for a specific asset
|
1885
|
+
* args: [domain, asset, amount]
|
1886
|
+
**/
|
1887
|
+
FeeSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, amount: u128], {
|
1888
|
+
domain: u8;
|
1889
|
+
asset: StagingXcmV4AssetAssetId;
|
1890
|
+
amount: u128;
|
1891
|
+
}>;
|
1892
|
+
/**
|
1893
|
+
* Generic event
|
1894
|
+
**/
|
1895
|
+
[key: string]: AugmentedEvent<ApiType>;
|
1896
|
+
};
|
1897
|
+
sygmaBridge: {
|
1898
|
+
/**
|
1899
|
+
* When all bridges are paused
|
1900
|
+
**/
|
1901
|
+
AllBridgePaused: AugmentedEvent<ApiType, [sender: AccountId32], {
|
1902
|
+
sender: AccountId32;
|
1903
|
+
}>;
|
1904
|
+
/**
|
1905
|
+
* When all bridges are unpaused
|
1906
|
+
**/
|
1907
|
+
AllBridgeUnpaused: AugmentedEvent<ApiType, [sender: AccountId32], {
|
1908
|
+
sender: AccountId32;
|
1909
|
+
}>;
|
1910
|
+
/**
|
1911
|
+
* When bridge is paused
|
1912
|
+
* args: [dest_domain_id]
|
1913
|
+
**/
|
1914
|
+
BridgePaused: AugmentedEvent<ApiType, [destDomainId: u8], {
|
1915
|
+
destDomainId: u8;
|
1916
|
+
}>;
|
1917
|
+
/**
|
1918
|
+
* When bridge is unpaused
|
1919
|
+
* args: [dest_domain_id]
|
1920
|
+
**/
|
1921
|
+
BridgeUnpaused: AugmentedEvent<ApiType, [destDomainId: u8], {
|
1922
|
+
destDomainId: u8;
|
1923
|
+
}>;
|
1924
|
+
/**
|
1925
|
+
* When initial bridge transfer send to dest domain
|
1926
|
+
* args: [dest_domain_id, resource_id, deposit_nonce, sender, transfer_type,
|
1927
|
+
* deposit_data, handler_response, ]
|
1928
|
+
**/
|
1929
|
+
Deposit: AugmentedEvent<ApiType, [destDomainId: u8, resourceId: U8aFixed, depositNonce: u64, sender: AccountId32, transferType: SygmaTraitsTransferType, depositData: Bytes, handlerResponse: Bytes], {
|
1930
|
+
destDomainId: u8;
|
1931
|
+
resourceId: U8aFixed;
|
1932
|
+
depositNonce: u64;
|
1933
|
+
sender: AccountId32;
|
1934
|
+
transferType: SygmaTraitsTransferType;
|
1935
|
+
depositData: Bytes;
|
1936
|
+
handlerResponse: Bytes;
|
1937
|
+
}>;
|
1938
|
+
/**
|
1939
|
+
* When proposal was faild to execute
|
1940
|
+
**/
|
1941
|
+
FailedHandlerExecution: AugmentedEvent<ApiType, [error: Bytes, originDomainId: u8, depositNonce: u64], {
|
1942
|
+
error: Bytes;
|
1943
|
+
originDomainId: u8;
|
1944
|
+
depositNonce: u64;
|
1945
|
+
}>;
|
1946
|
+
/**
|
1947
|
+
* When bridge fee is collected
|
1948
|
+
**/
|
1949
|
+
FeeCollected: AugmentedEvent<ApiType, [feePayer: AccountId32, destDomainId: u8, resourceId: U8aFixed, feeAmount: u128, feeAssetId: StagingXcmV4AssetAssetId], {
|
1950
|
+
feePayer: AccountId32;
|
1951
|
+
destDomainId: u8;
|
1952
|
+
resourceId: U8aFixed;
|
1953
|
+
feeAmount: u128;
|
1954
|
+
feeAssetId: StagingXcmV4AssetAssetId;
|
1955
|
+
}>;
|
1956
|
+
/**
|
1957
|
+
* When proposal was executed successfully
|
1958
|
+
**/
|
1959
|
+
ProposalExecution: AugmentedEvent<ApiType, [originDomainId: u8, depositNonce: u64, dataHash: U8aFixed], {
|
1960
|
+
originDomainId: u8;
|
1961
|
+
depositNonce: u64;
|
1962
|
+
dataHash: U8aFixed;
|
1963
|
+
}>;
|
1964
|
+
/**
|
1965
|
+
* When registering a new dest domainID with its corresponding chainID
|
1966
|
+
**/
|
1967
|
+
RegisterDestDomain: AugmentedEvent<ApiType, [sender: AccountId32, domainId: u8, chainId: U256], {
|
1968
|
+
sender: AccountId32;
|
1969
|
+
domainId: u8;
|
1970
|
+
chainId: U256;
|
1971
|
+
}>;
|
1972
|
+
/**
|
1973
|
+
* When user is going to retry a bridge transfer
|
1974
|
+
* args: [deposit_on_block_height, dest_domain_id, sender]
|
1975
|
+
**/
|
1976
|
+
Retry: AugmentedEvent<ApiType, [depositOnBlockHeight: u128, destDomainId: u8, sender: AccountId32], {
|
1977
|
+
depositOnBlockHeight: u128;
|
1978
|
+
destDomainId: u8;
|
1979
|
+
sender: AccountId32;
|
1980
|
+
}>;
|
1981
|
+
/**
|
1982
|
+
* When unregistering a dest domainID with its corresponding chainID
|
1983
|
+
**/
|
1984
|
+
UnregisterDestDomain: AugmentedEvent<ApiType, [sender: AccountId32, domainId: u8, chainId: U256], {
|
1985
|
+
sender: AccountId32;
|
1986
|
+
domainId: u8;
|
1987
|
+
chainId: U256;
|
1988
|
+
}>;
|
1989
|
+
/**
|
1990
|
+
* Generic event
|
1991
|
+
**/
|
1992
|
+
[key: string]: AugmentedEvent<ApiType>;
|
1993
|
+
};
|
1994
|
+
sygmaFeeHandlerRouter: {
|
1995
|
+
/**
|
1996
|
+
* When fee handler was set for a specific (domain, asset) pair
|
1997
|
+
* args: [dest_domain_id, asset_id, handler_type]
|
1998
|
+
**/
|
1999
|
+
FeeHandlerSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, handlerType: SygmaFeeHandlerRouterFeeHandlerType], {
|
2000
|
+
domain: u8;
|
2001
|
+
asset: StagingXcmV4AssetAssetId;
|
2002
|
+
handlerType: SygmaFeeHandlerRouterFeeHandlerType;
|
2003
|
+
}>;
|
2004
|
+
/**
|
2005
|
+
* Generic event
|
2006
|
+
**/
|
2007
|
+
[key: string]: AugmentedEvent<ApiType>;
|
2008
|
+
};
|
2009
|
+
sygmaPercentageFeeHandler: {
|
2010
|
+
/**
|
2011
|
+
* Fee set rate for a specific asset and domain
|
2012
|
+
* args: [domain, asset, rate_basis_point, fee_lower_bound, fee_upper_bound]
|
2013
|
+
**/
|
2014
|
+
FeeRateSet: AugmentedEvent<ApiType, [domain: u8, asset: StagingXcmV4AssetAssetId, rateBasisPoint: u32, feeLowerBound: u128, feeUpperBound: u128], {
|
2015
|
+
domain: u8;
|
2016
|
+
asset: StagingXcmV4AssetAssetId;
|
2017
|
+
rateBasisPoint: u32;
|
2018
|
+
feeLowerBound: u128;
|
2019
|
+
feeUpperBound: u128;
|
2020
|
+
}>;
|
2021
|
+
/**
|
2022
|
+
* Generic event
|
2023
|
+
**/
|
2024
|
+
[key: string]: AugmentedEvent<ApiType>;
|
2025
|
+
};
|
1533
2026
|
system: {
|
1534
2027
|
/**
|
1535
2028
|
* `:code` was updated.
|