@gitmyabi/vault 1.0.0 → 1.0.2
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/README.md +3 -3
- package/contracts/Vault_json.d.ts +963 -2318
- package/contracts/Vault_json.js +1149 -2882
- package/contracts/Vault_json.ts +1206 -3157
- package/package.json +3 -3
|
@@ -1,46 +1,43 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* IShared.SigData struct type
|
|
4
4
|
*/
|
|
5
|
-
export type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
export type IShared_SigData = {
|
|
6
|
+
sig: bigint;
|
|
7
|
+
nonce: bigint;
|
|
8
|
+
kTimesGAddress: `0x${string}`;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* IShared.DeployFetchParams struct type
|
|
12
|
+
*/
|
|
13
|
+
export type IShared_DeployFetchParams = {
|
|
14
|
+
swapID: `0x${string}`;
|
|
15
|
+
token: `0x${string}`;
|
|
9
16
|
};
|
|
10
17
|
/**
|
|
11
|
-
*
|
|
18
|
+
* IShared.FetchParams struct type
|
|
12
19
|
*/
|
|
13
|
-
export type
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
initialSanctionsManager_: `0x${string}`;
|
|
25
|
-
initialClaimManager_: `0x${string}`;
|
|
26
|
-
initialPauser_: `0x${string}`;
|
|
27
|
-
initialUnpauser_: `0x${string}`;
|
|
28
|
-
initialDelay_: bigint;
|
|
29
|
-
offset_: bigint;
|
|
30
|
-
minTotalSupply_: bigint;
|
|
20
|
+
export type IShared_FetchParams = {
|
|
21
|
+
fetchContract: `0x${string}`;
|
|
22
|
+
token: `0x${string}`;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* IShared.TransferParams struct type
|
|
26
|
+
*/
|
|
27
|
+
export type IShared_TransferParams = {
|
|
28
|
+
token: `0x${string}`;
|
|
29
|
+
recipient: `0x${string}`;
|
|
30
|
+
amount: bigint;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* IMulticall.Call struct type
|
|
34
34
|
*/
|
|
35
|
-
export type
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
pendingRewardFee_: bigint;
|
|
42
|
-
connectorRegistry_: `0x${string}`;
|
|
43
|
-
initialFeeCollector_: `0x${string}`;
|
|
35
|
+
export type IMulticall_Call = {
|
|
36
|
+
callType: bigint;
|
|
37
|
+
target: `0x${string}`;
|
|
38
|
+
value: bigint;
|
|
39
|
+
callData: `0x${string}`;
|
|
40
|
+
payload: `0x${string}`;
|
|
44
41
|
};
|
|
45
42
|
/**
|
|
46
43
|
* Vault_json ABI
|
|
@@ -49,1851 +46,1064 @@ export type Vault_UpgradeParams = {
|
|
|
49
46
|
*/
|
|
50
47
|
export declare const Vault_jsonAbi: readonly [{
|
|
51
48
|
readonly inputs: readonly [{
|
|
52
|
-
readonly internalType: "
|
|
53
|
-
readonly name: "
|
|
54
|
-
readonly type: "address";
|
|
55
|
-
}, {
|
|
56
|
-
readonly internalType: "address";
|
|
57
|
-
readonly name: "vaultFactory_";
|
|
49
|
+
readonly internalType: "contract IKeyManager";
|
|
50
|
+
readonly name: "keyManager";
|
|
58
51
|
readonly type: "address";
|
|
59
52
|
}];
|
|
60
53
|
readonly stateMutability: "nonpayable";
|
|
61
54
|
readonly type: "constructor";
|
|
62
55
|
}, {
|
|
63
|
-
readonly
|
|
64
|
-
readonly name: "AccessControlBadConfirmation";
|
|
65
|
-
readonly type: "error";
|
|
66
|
-
}, {
|
|
67
|
-
readonly inputs: readonly [{
|
|
68
|
-
readonly internalType: "uint48";
|
|
69
|
-
readonly name: "schedule";
|
|
70
|
-
readonly type: "uint48";
|
|
71
|
-
}];
|
|
72
|
-
readonly name: "AccessControlEnforcedDefaultAdminDelay";
|
|
73
|
-
readonly type: "error";
|
|
74
|
-
}, {
|
|
75
|
-
readonly inputs: readonly [];
|
|
76
|
-
readonly name: "AccessControlEnforcedDefaultAdminRules";
|
|
77
|
-
readonly type: "error";
|
|
78
|
-
}, {
|
|
79
|
-
readonly inputs: readonly [{
|
|
80
|
-
readonly internalType: "address";
|
|
81
|
-
readonly name: "defaultAdmin";
|
|
82
|
-
readonly type: "address";
|
|
83
|
-
}];
|
|
84
|
-
readonly name: "AccessControlInvalidDefaultAdmin";
|
|
85
|
-
readonly type: "error";
|
|
86
|
-
}, {
|
|
56
|
+
readonly anonymous: false;
|
|
87
57
|
readonly inputs: readonly [{
|
|
88
|
-
readonly
|
|
89
|
-
readonly name: "account";
|
|
90
|
-
readonly type: "address";
|
|
91
|
-
}, {
|
|
58
|
+
readonly indexed: false;
|
|
92
59
|
readonly internalType: "bytes32";
|
|
93
|
-
readonly name: "
|
|
60
|
+
readonly name: "swapID";
|
|
94
61
|
readonly type: "bytes32";
|
|
62
|
+
}, {
|
|
63
|
+
readonly indexed: false;
|
|
64
|
+
readonly internalType: "uint256";
|
|
65
|
+
readonly name: "amount";
|
|
66
|
+
readonly type: "uint256";
|
|
95
67
|
}];
|
|
96
|
-
readonly name: "
|
|
97
|
-
readonly type: "
|
|
68
|
+
readonly name: "AddGasNative";
|
|
69
|
+
readonly type: "event";
|
|
98
70
|
}, {
|
|
71
|
+
readonly anonymous: false;
|
|
99
72
|
readonly inputs: readonly [{
|
|
73
|
+
readonly indexed: false;
|
|
74
|
+
readonly internalType: "bytes32";
|
|
75
|
+
readonly name: "swapID";
|
|
76
|
+
readonly type: "bytes32";
|
|
77
|
+
}, {
|
|
78
|
+
readonly indexed: false;
|
|
79
|
+
readonly internalType: "uint256";
|
|
80
|
+
readonly name: "amount";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
}, {
|
|
83
|
+
readonly indexed: false;
|
|
100
84
|
readonly internalType: "address";
|
|
101
|
-
readonly name: "
|
|
85
|
+
readonly name: "token";
|
|
102
86
|
readonly type: "address";
|
|
103
87
|
}];
|
|
104
|
-
readonly name: "
|
|
105
|
-
readonly type: "
|
|
88
|
+
readonly name: "AddGasToken";
|
|
89
|
+
readonly type: "event";
|
|
106
90
|
}, {
|
|
91
|
+
readonly anonymous: false;
|
|
107
92
|
readonly inputs: readonly [{
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
93
|
+
readonly indexed: false;
|
|
94
|
+
readonly internalType: "bool";
|
|
95
|
+
readonly name: "communityGuardDisabled";
|
|
96
|
+
readonly type: "bool";
|
|
111
97
|
}];
|
|
112
|
-
readonly name: "
|
|
113
|
-
readonly type: "
|
|
98
|
+
readonly name: "CommunityGuardDisabled";
|
|
99
|
+
readonly type: "event";
|
|
114
100
|
}, {
|
|
101
|
+
readonly anonymous: false;
|
|
115
102
|
readonly inputs: readonly [{
|
|
103
|
+
readonly indexed: true;
|
|
104
|
+
readonly internalType: "address payable";
|
|
105
|
+
readonly name: "multicallAddress";
|
|
106
|
+
readonly type: "address";
|
|
107
|
+
}, {
|
|
108
|
+
readonly indexed: false;
|
|
109
|
+
readonly internalType: "uint256";
|
|
110
|
+
readonly name: "amount";
|
|
111
|
+
readonly type: "uint256";
|
|
112
|
+
}, {
|
|
113
|
+
readonly indexed: true;
|
|
116
114
|
readonly internalType: "address";
|
|
117
|
-
readonly name: "
|
|
115
|
+
readonly name: "token";
|
|
118
116
|
readonly type: "address";
|
|
117
|
+
}, {
|
|
118
|
+
readonly indexed: false;
|
|
119
|
+
readonly internalType: "bytes";
|
|
120
|
+
readonly name: "reason";
|
|
121
|
+
readonly type: "bytes";
|
|
119
122
|
}];
|
|
120
|
-
readonly name: "
|
|
121
|
-
readonly type: "
|
|
123
|
+
readonly name: "ExecuteActionsFailed";
|
|
124
|
+
readonly type: "event";
|
|
122
125
|
}, {
|
|
126
|
+
readonly anonymous: false;
|
|
123
127
|
readonly inputs: readonly [{
|
|
128
|
+
readonly indexed: true;
|
|
124
129
|
readonly internalType: "address";
|
|
125
|
-
readonly name: "
|
|
130
|
+
readonly name: "sender";
|
|
126
131
|
readonly type: "address";
|
|
132
|
+
}, {
|
|
133
|
+
readonly indexed: false;
|
|
134
|
+
readonly internalType: "uint256";
|
|
135
|
+
readonly name: "amount";
|
|
136
|
+
readonly type: "uint256";
|
|
127
137
|
}];
|
|
128
|
-
readonly name: "
|
|
129
|
-
readonly type: "
|
|
138
|
+
readonly name: "FetchedNative";
|
|
139
|
+
readonly type: "event";
|
|
130
140
|
}, {
|
|
141
|
+
readonly anonymous: false;
|
|
131
142
|
readonly inputs: readonly [{
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
143
|
+
readonly indexed: false;
|
|
144
|
+
readonly internalType: "bool";
|
|
145
|
+
readonly name: "suspended";
|
|
146
|
+
readonly type: "bool";
|
|
135
147
|
}];
|
|
136
|
-
readonly name: "
|
|
137
|
-
readonly type: "
|
|
138
|
-
}, {
|
|
139
|
-
readonly inputs: readonly [];
|
|
140
|
-
readonly name: "AmountZero";
|
|
141
|
-
readonly type: "error";
|
|
142
|
-
}, {
|
|
143
|
-
readonly inputs: readonly [];
|
|
144
|
-
readonly name: "DepositPaused";
|
|
145
|
-
readonly type: "error";
|
|
148
|
+
readonly name: "Suspended";
|
|
149
|
+
readonly type: "event";
|
|
146
150
|
}, {
|
|
151
|
+
readonly anonymous: false;
|
|
147
152
|
readonly inputs: readonly [{
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
153
|
+
readonly indexed: false;
|
|
154
|
+
readonly internalType: "uint32";
|
|
155
|
+
readonly name: "dstChain";
|
|
156
|
+
readonly type: "uint32";
|
|
151
157
|
}, {
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
158
|
+
readonly indexed: false;
|
|
159
|
+
readonly internalType: "bytes";
|
|
160
|
+
readonly name: "dstAddress";
|
|
161
|
+
readonly type: "bytes";
|
|
155
162
|
}, {
|
|
163
|
+
readonly indexed: false;
|
|
164
|
+
readonly internalType: "uint32";
|
|
165
|
+
readonly name: "dstToken";
|
|
166
|
+
readonly type: "uint32";
|
|
167
|
+
}, {
|
|
168
|
+
readonly indexed: false;
|
|
156
169
|
readonly internalType: "uint256";
|
|
157
|
-
readonly name: "
|
|
170
|
+
readonly name: "amount";
|
|
158
171
|
readonly type: "uint256";
|
|
172
|
+
}, {
|
|
173
|
+
readonly indexed: true;
|
|
174
|
+
readonly internalType: "address";
|
|
175
|
+
readonly name: "sender";
|
|
176
|
+
readonly type: "address";
|
|
177
|
+
}, {
|
|
178
|
+
readonly indexed: false;
|
|
179
|
+
readonly internalType: "bytes";
|
|
180
|
+
readonly name: "cfParameters";
|
|
181
|
+
readonly type: "bytes";
|
|
159
182
|
}];
|
|
160
|
-
readonly name: "
|
|
161
|
-
readonly type: "
|
|
183
|
+
readonly name: "SwapNative";
|
|
184
|
+
readonly type: "event";
|
|
162
185
|
}, {
|
|
186
|
+
readonly anonymous: false;
|
|
163
187
|
readonly inputs: readonly [{
|
|
188
|
+
readonly indexed: false;
|
|
189
|
+
readonly internalType: "uint32";
|
|
190
|
+
readonly name: "dstChain";
|
|
191
|
+
readonly type: "uint32";
|
|
192
|
+
}, {
|
|
193
|
+
readonly indexed: false;
|
|
194
|
+
readonly internalType: "bytes";
|
|
195
|
+
readonly name: "dstAddress";
|
|
196
|
+
readonly type: "bytes";
|
|
197
|
+
}, {
|
|
198
|
+
readonly indexed: false;
|
|
199
|
+
readonly internalType: "uint32";
|
|
200
|
+
readonly name: "dstToken";
|
|
201
|
+
readonly type: "uint32";
|
|
202
|
+
}, {
|
|
203
|
+
readonly indexed: false;
|
|
164
204
|
readonly internalType: "address";
|
|
165
|
-
readonly name: "
|
|
205
|
+
readonly name: "srcToken";
|
|
166
206
|
readonly type: "address";
|
|
167
207
|
}, {
|
|
208
|
+
readonly indexed: false;
|
|
168
209
|
readonly internalType: "uint256";
|
|
169
|
-
readonly name: "
|
|
210
|
+
readonly name: "amount";
|
|
170
211
|
readonly type: "uint256";
|
|
171
212
|
}, {
|
|
172
|
-
readonly
|
|
173
|
-
readonly name: "needed";
|
|
174
|
-
readonly type: "uint256";
|
|
175
|
-
}];
|
|
176
|
-
readonly name: "ERC20InsufficientBalance";
|
|
177
|
-
readonly type: "error";
|
|
178
|
-
}, {
|
|
179
|
-
readonly inputs: readonly [{
|
|
213
|
+
readonly indexed: true;
|
|
180
214
|
readonly internalType: "address";
|
|
181
|
-
readonly name: "
|
|
215
|
+
readonly name: "sender";
|
|
182
216
|
readonly type: "address";
|
|
217
|
+
}, {
|
|
218
|
+
readonly indexed: false;
|
|
219
|
+
readonly internalType: "bytes";
|
|
220
|
+
readonly name: "cfParameters";
|
|
221
|
+
readonly type: "bytes";
|
|
183
222
|
}];
|
|
184
|
-
readonly name: "
|
|
185
|
-
readonly type: "
|
|
223
|
+
readonly name: "SwapToken";
|
|
224
|
+
readonly type: "event";
|
|
186
225
|
}, {
|
|
226
|
+
readonly anonymous: false;
|
|
187
227
|
readonly inputs: readonly [{
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
228
|
+
readonly indexed: true;
|
|
229
|
+
readonly internalType: "address payable";
|
|
230
|
+
readonly name: "recipient";
|
|
190
231
|
readonly type: "address";
|
|
232
|
+
}, {
|
|
233
|
+
readonly indexed: false;
|
|
234
|
+
readonly internalType: "uint256";
|
|
235
|
+
readonly name: "amount";
|
|
236
|
+
readonly type: "uint256";
|
|
191
237
|
}];
|
|
192
|
-
readonly name: "
|
|
193
|
-
readonly type: "
|
|
238
|
+
readonly name: "TransferNativeFailed";
|
|
239
|
+
readonly type: "event";
|
|
194
240
|
}, {
|
|
241
|
+
readonly anonymous: false;
|
|
195
242
|
readonly inputs: readonly [{
|
|
243
|
+
readonly indexed: true;
|
|
244
|
+
readonly internalType: "address payable";
|
|
245
|
+
readonly name: "recipient";
|
|
246
|
+
readonly type: "address";
|
|
247
|
+
}, {
|
|
248
|
+
readonly indexed: false;
|
|
249
|
+
readonly internalType: "uint256";
|
|
250
|
+
readonly name: "amount";
|
|
251
|
+
readonly type: "uint256";
|
|
252
|
+
}, {
|
|
253
|
+
readonly indexed: true;
|
|
196
254
|
readonly internalType: "address";
|
|
197
|
-
readonly name: "
|
|
255
|
+
readonly name: "token";
|
|
198
256
|
readonly type: "address";
|
|
257
|
+
}, {
|
|
258
|
+
readonly indexed: false;
|
|
259
|
+
readonly internalType: "bytes";
|
|
260
|
+
readonly name: "reason";
|
|
261
|
+
readonly type: "bytes";
|
|
199
262
|
}];
|
|
200
|
-
readonly name: "
|
|
201
|
-
readonly type: "
|
|
263
|
+
readonly name: "TransferTokenFailed";
|
|
264
|
+
readonly type: "event";
|
|
202
265
|
}, {
|
|
266
|
+
readonly anonymous: false;
|
|
203
267
|
readonly inputs: readonly [{
|
|
268
|
+
readonly indexed: false;
|
|
204
269
|
readonly internalType: "address";
|
|
205
|
-
readonly name: "
|
|
270
|
+
readonly name: "keyManager";
|
|
206
271
|
readonly type: "address";
|
|
207
272
|
}];
|
|
208
|
-
readonly name: "
|
|
209
|
-
readonly type: "
|
|
273
|
+
readonly name: "UpdatedKeyManager";
|
|
274
|
+
readonly type: "event";
|
|
210
275
|
}, {
|
|
276
|
+
readonly anonymous: false;
|
|
211
277
|
readonly inputs: readonly [{
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly
|
|
278
|
+
readonly indexed: false;
|
|
279
|
+
readonly internalType: "uint32";
|
|
280
|
+
readonly name: "dstChain";
|
|
281
|
+
readonly type: "uint32";
|
|
215
282
|
}, {
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
283
|
+
readonly indexed: false;
|
|
284
|
+
readonly internalType: "bytes";
|
|
285
|
+
readonly name: "dstAddress";
|
|
286
|
+
readonly type: "bytes";
|
|
287
|
+
}, {
|
|
288
|
+
readonly indexed: false;
|
|
289
|
+
readonly internalType: "uint32";
|
|
290
|
+
readonly name: "dstToken";
|
|
291
|
+
readonly type: "uint32";
|
|
219
292
|
}, {
|
|
293
|
+
readonly indexed: false;
|
|
220
294
|
readonly internalType: "uint256";
|
|
221
|
-
readonly name: "
|
|
295
|
+
readonly name: "amount";
|
|
222
296
|
readonly type: "uint256";
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
readonly type: "error";
|
|
226
|
-
}, {
|
|
227
|
-
readonly inputs: readonly [{
|
|
297
|
+
}, {
|
|
298
|
+
readonly indexed: true;
|
|
228
299
|
readonly internalType: "address";
|
|
229
|
-
readonly name: "
|
|
300
|
+
readonly name: "sender";
|
|
230
301
|
readonly type: "address";
|
|
231
302
|
}, {
|
|
232
|
-
readonly
|
|
233
|
-
readonly
|
|
234
|
-
readonly
|
|
303
|
+
readonly indexed: false;
|
|
304
|
+
readonly internalType: "bytes";
|
|
305
|
+
readonly name: "message";
|
|
306
|
+
readonly type: "bytes";
|
|
235
307
|
}, {
|
|
308
|
+
readonly indexed: false;
|
|
236
309
|
readonly internalType: "uint256";
|
|
237
|
-
readonly name: "
|
|
310
|
+
readonly name: "gasAmount";
|
|
238
311
|
readonly type: "uint256";
|
|
312
|
+
}, {
|
|
313
|
+
readonly indexed: false;
|
|
314
|
+
readonly internalType: "bytes";
|
|
315
|
+
readonly name: "cfParameters";
|
|
316
|
+
readonly type: "bytes";
|
|
239
317
|
}];
|
|
240
|
-
readonly name: "
|
|
241
|
-
readonly type: "
|
|
318
|
+
readonly name: "XCallNative";
|
|
319
|
+
readonly type: "event";
|
|
242
320
|
}, {
|
|
321
|
+
readonly anonymous: false;
|
|
243
322
|
readonly inputs: readonly [{
|
|
323
|
+
readonly indexed: false;
|
|
324
|
+
readonly internalType: "uint32";
|
|
325
|
+
readonly name: "dstChain";
|
|
326
|
+
readonly type: "uint32";
|
|
327
|
+
}, {
|
|
328
|
+
readonly indexed: false;
|
|
329
|
+
readonly internalType: "bytes";
|
|
330
|
+
readonly name: "dstAddress";
|
|
331
|
+
readonly type: "bytes";
|
|
332
|
+
}, {
|
|
333
|
+
readonly indexed: false;
|
|
334
|
+
readonly internalType: "uint32";
|
|
335
|
+
readonly name: "dstToken";
|
|
336
|
+
readonly type: "uint32";
|
|
337
|
+
}, {
|
|
338
|
+
readonly indexed: false;
|
|
244
339
|
readonly internalType: "address";
|
|
245
|
-
readonly name: "
|
|
340
|
+
readonly name: "srcToken";
|
|
246
341
|
readonly type: "address";
|
|
247
342
|
}, {
|
|
343
|
+
readonly indexed: false;
|
|
248
344
|
readonly internalType: "uint256";
|
|
249
|
-
readonly name: "
|
|
345
|
+
readonly name: "amount";
|
|
250
346
|
readonly type: "uint256";
|
|
251
347
|
}, {
|
|
252
|
-
readonly
|
|
253
|
-
readonly name: "max";
|
|
254
|
-
readonly type: "uint256";
|
|
255
|
-
}];
|
|
256
|
-
readonly name: "ERC4626ExceededMaxRedeem";
|
|
257
|
-
readonly type: "error";
|
|
258
|
-
}, {
|
|
259
|
-
readonly inputs: readonly [{
|
|
348
|
+
readonly indexed: true;
|
|
260
349
|
readonly internalType: "address";
|
|
261
|
-
readonly name: "
|
|
350
|
+
readonly name: "sender";
|
|
262
351
|
readonly type: "address";
|
|
263
352
|
}, {
|
|
264
|
-
readonly
|
|
265
|
-
readonly
|
|
266
|
-
readonly
|
|
353
|
+
readonly indexed: false;
|
|
354
|
+
readonly internalType: "bytes";
|
|
355
|
+
readonly name: "message";
|
|
356
|
+
readonly type: "bytes";
|
|
267
357
|
}, {
|
|
358
|
+
readonly indexed: false;
|
|
268
359
|
readonly internalType: "uint256";
|
|
269
|
-
readonly name: "
|
|
360
|
+
readonly name: "gasAmount";
|
|
270
361
|
readonly type: "uint256";
|
|
362
|
+
}, {
|
|
363
|
+
readonly indexed: false;
|
|
364
|
+
readonly internalType: "bytes";
|
|
365
|
+
readonly name: "cfParameters";
|
|
366
|
+
readonly type: "bytes";
|
|
271
367
|
}];
|
|
272
|
-
readonly name: "
|
|
273
|
-
readonly type: "
|
|
274
|
-
}, {
|
|
275
|
-
readonly inputs: readonly [];
|
|
276
|
-
readonly name: "FailedInnerCall";
|
|
277
|
-
readonly type: "error";
|
|
278
|
-
}, {
|
|
279
|
-
readonly inputs: readonly [];
|
|
280
|
-
readonly name: "InsufficientLiquidity";
|
|
281
|
-
readonly type: "error";
|
|
368
|
+
readonly name: "XCallToken";
|
|
369
|
+
readonly type: "event";
|
|
282
370
|
}, {
|
|
283
371
|
readonly inputs: readonly [{
|
|
284
372
|
readonly internalType: "bytes32";
|
|
285
|
-
readonly name: "
|
|
373
|
+
readonly name: "swapID";
|
|
286
374
|
readonly type: "bytes32";
|
|
287
375
|
}];
|
|
288
|
-
readonly name: "
|
|
289
|
-
readonly
|
|
290
|
-
|
|
291
|
-
readonly
|
|
292
|
-
readonly name: "InvalidInitialization";
|
|
293
|
-
readonly type: "error";
|
|
294
|
-
}, {
|
|
295
|
-
readonly inputs: readonly [];
|
|
296
|
-
readonly name: "MathOverflowedMulDiv";
|
|
297
|
-
readonly type: "error";
|
|
298
|
-
}, {
|
|
299
|
-
readonly inputs: readonly [];
|
|
300
|
-
readonly name: "MinimumTotalSupplyNotReached";
|
|
301
|
-
readonly type: "error";
|
|
302
|
-
}, {
|
|
303
|
-
readonly inputs: readonly [];
|
|
304
|
-
readonly name: "NoAdditionalRewardsClaimed";
|
|
305
|
-
readonly type: "error";
|
|
306
|
-
}, {
|
|
307
|
-
readonly inputs: readonly [];
|
|
308
|
-
readonly name: "NoAdditionalRewardsStrategy";
|
|
309
|
-
readonly type: "error";
|
|
376
|
+
readonly name: "addGasNative";
|
|
377
|
+
readonly outputs: readonly [];
|
|
378
|
+
readonly stateMutability: "payable";
|
|
379
|
+
readonly type: "function";
|
|
310
380
|
}, {
|
|
311
381
|
readonly inputs: readonly [{
|
|
312
|
-
readonly internalType: "
|
|
313
|
-
readonly name: "
|
|
382
|
+
readonly internalType: "bytes32";
|
|
383
|
+
readonly name: "swapID";
|
|
384
|
+
readonly type: "bytes32";
|
|
385
|
+
}, {
|
|
386
|
+
readonly internalType: "uint256";
|
|
387
|
+
readonly name: "amount";
|
|
388
|
+
readonly type: "uint256";
|
|
389
|
+
}, {
|
|
390
|
+
readonly internalType: "contract IERC20";
|
|
391
|
+
readonly name: "token";
|
|
314
392
|
readonly type: "address";
|
|
315
393
|
}];
|
|
316
|
-
readonly name: "
|
|
317
|
-
readonly type: "error";
|
|
318
|
-
}, {
|
|
319
|
-
readonly inputs: readonly [];
|
|
320
|
-
readonly name: "NotInitializing";
|
|
321
|
-
readonly type: "error";
|
|
322
|
-
}, {
|
|
323
|
-
readonly inputs: readonly [];
|
|
324
|
-
readonly name: "NotTransferable";
|
|
325
|
-
readonly type: "error";
|
|
326
|
-
}, {
|
|
327
|
-
readonly inputs: readonly [];
|
|
328
|
-
readonly name: "NothingToCollect";
|
|
329
|
-
readonly type: "error";
|
|
330
|
-
}, {
|
|
331
|
-
readonly inputs: readonly [{
|
|
332
|
-
readonly internalType: "uint8";
|
|
333
|
-
readonly name: "offset";
|
|
334
|
-
readonly type: "uint8";
|
|
335
|
-
}];
|
|
336
|
-
readonly name: "OffsetTooHigh";
|
|
337
|
-
readonly type: "error";
|
|
338
|
-
}, {
|
|
339
|
-
readonly inputs: readonly [];
|
|
340
|
-
readonly name: "PreviewZero";
|
|
341
|
-
readonly type: "error";
|
|
342
|
-
}, {
|
|
343
|
-
readonly inputs: readonly [];
|
|
344
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
345
|
-
readonly type: "error";
|
|
346
|
-
}, {
|
|
347
|
-
readonly inputs: readonly [{
|
|
348
|
-
readonly internalType: "uint256";
|
|
349
|
-
readonly name: "shares";
|
|
350
|
-
readonly type: "uint256";
|
|
351
|
-
}];
|
|
352
|
-
readonly name: "RemainderNotZero";
|
|
353
|
-
readonly type: "error";
|
|
354
|
-
}, {
|
|
355
|
-
readonly inputs: readonly [{
|
|
356
|
-
readonly internalType: "uint8";
|
|
357
|
-
readonly name: "bits";
|
|
358
|
-
readonly type: "uint8";
|
|
359
|
-
}, {
|
|
360
|
-
readonly internalType: "uint256";
|
|
361
|
-
readonly name: "value";
|
|
362
|
-
readonly type: "uint256";
|
|
363
|
-
}];
|
|
364
|
-
readonly name: "SafeCastOverflowedUintDowncast";
|
|
365
|
-
readonly type: "error";
|
|
366
|
-
}, {
|
|
367
|
-
readonly inputs: readonly [{
|
|
368
|
-
readonly internalType: "address";
|
|
369
|
-
readonly name: "token";
|
|
370
|
-
readonly type: "address";
|
|
371
|
-
}];
|
|
372
|
-
readonly name: "SafeERC20FailedOperation";
|
|
373
|
-
readonly type: "error";
|
|
374
|
-
}, {
|
|
375
|
-
readonly inputs: readonly [{
|
|
376
|
-
readonly internalType: "uint256";
|
|
377
|
-
readonly name: "totalAssets";
|
|
378
|
-
readonly type: "uint256";
|
|
379
|
-
}, {
|
|
380
|
-
readonly internalType: "uint256";
|
|
381
|
-
readonly name: "newTotalAssets";
|
|
382
|
-
readonly type: "uint256";
|
|
383
|
-
}];
|
|
384
|
-
readonly name: "TotalAssetsDecreased";
|
|
385
|
-
readonly type: "error";
|
|
386
|
-
}, {
|
|
387
|
-
readonly inputs: readonly [{
|
|
388
|
-
readonly internalType: "uint256";
|
|
389
|
-
readonly name: "depositFee";
|
|
390
|
-
readonly type: "uint256";
|
|
391
|
-
}];
|
|
392
|
-
readonly name: "WrongDepositFee";
|
|
393
|
-
readonly type: "error";
|
|
394
|
-
}, {
|
|
395
|
-
readonly inputs: readonly [{
|
|
396
|
-
readonly internalType: "uint256";
|
|
397
|
-
readonly name: "rewardFee";
|
|
398
|
-
readonly type: "uint256";
|
|
399
|
-
}];
|
|
400
|
-
readonly name: "WrongRewardFee";
|
|
401
|
-
readonly type: "error";
|
|
402
|
-
}, {
|
|
403
|
-
readonly anonymous: false;
|
|
404
|
-
readonly inputs: readonly [{
|
|
405
|
-
readonly indexed: false;
|
|
406
|
-
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
407
|
-
readonly name: "newAdditionalRewardsStrategy";
|
|
408
|
-
readonly type: "uint8";
|
|
409
|
-
}];
|
|
410
|
-
readonly name: "AdditionalRewardsStrategyUpdated";
|
|
411
|
-
readonly type: "event";
|
|
412
|
-
}, {
|
|
413
|
-
readonly anonymous: false;
|
|
414
|
-
readonly inputs: readonly [{
|
|
415
|
-
readonly indexed: true;
|
|
416
|
-
readonly internalType: "address";
|
|
417
|
-
readonly name: "owner";
|
|
418
|
-
readonly type: "address";
|
|
419
|
-
}, {
|
|
420
|
-
readonly indexed: true;
|
|
421
|
-
readonly internalType: "address";
|
|
422
|
-
readonly name: "spender";
|
|
423
|
-
readonly type: "address";
|
|
424
|
-
}, {
|
|
425
|
-
readonly indexed: false;
|
|
426
|
-
readonly internalType: "uint256";
|
|
427
|
-
readonly name: "value";
|
|
428
|
-
readonly type: "uint256";
|
|
429
|
-
}];
|
|
430
|
-
readonly name: "Approval";
|
|
431
|
-
readonly type: "event";
|
|
432
|
-
}, {
|
|
433
|
-
readonly anonymous: false;
|
|
434
|
-
readonly inputs: readonly [{
|
|
435
|
-
readonly indexed: false;
|
|
436
|
-
readonly internalType: "contract IERC20";
|
|
437
|
-
readonly name: "asset";
|
|
438
|
-
readonly type: "address";
|
|
439
|
-
}];
|
|
440
|
-
readonly name: "AssetInitialized";
|
|
441
|
-
readonly type: "event";
|
|
442
|
-
}, {
|
|
443
|
-
readonly anonymous: false;
|
|
444
|
-
readonly inputs: readonly [{
|
|
445
|
-
readonly indexed: false;
|
|
446
|
-
readonly internalType: "contract BlockList";
|
|
447
|
-
readonly name: "newBlockList";
|
|
448
|
-
readonly type: "address";
|
|
449
|
-
}];
|
|
450
|
-
readonly name: "BlockListUpdated";
|
|
451
|
-
readonly type: "event";
|
|
452
|
-
}, {
|
|
453
|
-
readonly anonymous: false;
|
|
454
|
-
readonly inputs: readonly [{
|
|
455
|
-
readonly indexed: false;
|
|
456
|
-
readonly internalType: "bytes32";
|
|
457
|
-
readonly name: "newConnectorName";
|
|
458
|
-
readonly type: "bytes32";
|
|
459
|
-
}];
|
|
460
|
-
readonly name: "ConnectorNameUpdated";
|
|
461
|
-
readonly type: "event";
|
|
462
|
-
}, {
|
|
463
|
-
readonly anonymous: false;
|
|
464
|
-
readonly inputs: readonly [{
|
|
465
|
-
readonly indexed: false;
|
|
466
|
-
readonly internalType: "contract IConnectorRegistry";
|
|
467
|
-
readonly name: "newConnectorRegistry";
|
|
468
|
-
readonly type: "address";
|
|
469
|
-
}];
|
|
470
|
-
readonly name: "ConnectorRegistryUpdated";
|
|
471
|
-
readonly type: "event";
|
|
472
|
-
}, {
|
|
473
|
-
readonly anonymous: false;
|
|
474
|
-
readonly inputs: readonly [];
|
|
475
|
-
readonly name: "DefaultAdminDelayChangeCanceled";
|
|
476
|
-
readonly type: "event";
|
|
477
|
-
}, {
|
|
478
|
-
readonly anonymous: false;
|
|
479
|
-
readonly inputs: readonly [{
|
|
480
|
-
readonly indexed: false;
|
|
481
|
-
readonly internalType: "uint48";
|
|
482
|
-
readonly name: "newDelay";
|
|
483
|
-
readonly type: "uint48";
|
|
484
|
-
}, {
|
|
485
|
-
readonly indexed: false;
|
|
486
|
-
readonly internalType: "uint48";
|
|
487
|
-
readonly name: "effectSchedule";
|
|
488
|
-
readonly type: "uint48";
|
|
489
|
-
}];
|
|
490
|
-
readonly name: "DefaultAdminDelayChangeScheduled";
|
|
491
|
-
readonly type: "event";
|
|
492
|
-
}, {
|
|
493
|
-
readonly anonymous: false;
|
|
494
|
-
readonly inputs: readonly [];
|
|
495
|
-
readonly name: "DefaultAdminTransferCanceled";
|
|
496
|
-
readonly type: "event";
|
|
497
|
-
}, {
|
|
498
|
-
readonly anonymous: false;
|
|
499
|
-
readonly inputs: readonly [{
|
|
500
|
-
readonly indexed: true;
|
|
501
|
-
readonly internalType: "address";
|
|
502
|
-
readonly name: "newAdmin";
|
|
503
|
-
readonly type: "address";
|
|
504
|
-
}, {
|
|
505
|
-
readonly indexed: false;
|
|
506
|
-
readonly internalType: "uint48";
|
|
507
|
-
readonly name: "acceptSchedule";
|
|
508
|
-
readonly type: "uint48";
|
|
509
|
-
}];
|
|
510
|
-
readonly name: "DefaultAdminTransferScheduled";
|
|
511
|
-
readonly type: "event";
|
|
512
|
-
}, {
|
|
513
|
-
readonly anonymous: false;
|
|
514
|
-
readonly inputs: readonly [{
|
|
515
|
-
readonly indexed: true;
|
|
516
|
-
readonly internalType: "address";
|
|
517
|
-
readonly name: "sender";
|
|
518
|
-
readonly type: "address";
|
|
519
|
-
}, {
|
|
520
|
-
readonly indexed: true;
|
|
521
|
-
readonly internalType: "address";
|
|
522
|
-
readonly name: "owner";
|
|
523
|
-
readonly type: "address";
|
|
524
|
-
}, {
|
|
525
|
-
readonly indexed: false;
|
|
526
|
-
readonly internalType: "uint256";
|
|
527
|
-
readonly name: "assets";
|
|
528
|
-
readonly type: "uint256";
|
|
529
|
-
}, {
|
|
530
|
-
readonly indexed: false;
|
|
531
|
-
readonly internalType: "uint256";
|
|
532
|
-
readonly name: "shares";
|
|
533
|
-
readonly type: "uint256";
|
|
534
|
-
}];
|
|
535
|
-
readonly name: "Deposit";
|
|
536
|
-
readonly type: "event";
|
|
537
|
-
}, {
|
|
538
|
-
readonly anonymous: false;
|
|
539
|
-
readonly inputs: readonly [{
|
|
540
|
-
readonly indexed: false;
|
|
541
|
-
readonly internalType: "uint256";
|
|
542
|
-
readonly name: "newDepositFee";
|
|
543
|
-
readonly type: "uint256";
|
|
544
|
-
}];
|
|
545
|
-
readonly name: "DepositFeeUpdated";
|
|
546
|
-
readonly type: "event";
|
|
547
|
-
}, {
|
|
548
|
-
readonly anonymous: false;
|
|
549
|
-
readonly inputs: readonly [{
|
|
550
|
-
readonly indexed: false;
|
|
551
|
-
readonly internalType: "address";
|
|
552
|
-
readonly name: "feeDispatcher";
|
|
553
|
-
readonly type: "address";
|
|
554
|
-
}];
|
|
555
|
-
readonly name: "FeeDispatcherInitialized";
|
|
556
|
-
readonly type: "event";
|
|
557
|
-
}, {
|
|
558
|
-
readonly anonymous: false;
|
|
559
|
-
readonly inputs: readonly [{
|
|
560
|
-
readonly indexed: false;
|
|
561
|
-
readonly internalType: "uint64";
|
|
562
|
-
readonly name: "version";
|
|
563
|
-
readonly type: "uint64";
|
|
564
|
-
}];
|
|
565
|
-
readonly name: "Initialized";
|
|
566
|
-
readonly type: "event";
|
|
567
|
-
}, {
|
|
568
|
-
readonly anonymous: false;
|
|
569
|
-
readonly inputs: readonly [{
|
|
570
|
-
readonly indexed: false;
|
|
571
|
-
readonly internalType: "uint256";
|
|
572
|
-
readonly name: "newMinTotalSupply";
|
|
573
|
-
readonly type: "uint256";
|
|
574
|
-
}];
|
|
575
|
-
readonly name: "MinTotalSupplyInitialized";
|
|
576
|
-
readonly type: "event";
|
|
577
|
-
}, {
|
|
578
|
-
readonly anonymous: false;
|
|
579
|
-
readonly inputs: readonly [{
|
|
580
|
-
readonly indexed: false;
|
|
581
|
-
readonly internalType: "string";
|
|
582
|
-
readonly name: "name";
|
|
583
|
-
readonly type: "string";
|
|
584
|
-
}];
|
|
585
|
-
readonly name: "NameInitialized";
|
|
586
|
-
readonly type: "event";
|
|
587
|
-
}, {
|
|
588
|
-
readonly anonymous: false;
|
|
589
|
-
readonly inputs: readonly [{
|
|
590
|
-
readonly indexed: false;
|
|
591
|
-
readonly internalType: "uint8";
|
|
592
|
-
readonly name: "offset";
|
|
593
|
-
readonly type: "uint8";
|
|
594
|
-
}];
|
|
595
|
-
readonly name: "OffsetInitialized";
|
|
596
|
-
readonly type: "event";
|
|
597
|
-
}, {
|
|
598
|
-
readonly anonymous: false;
|
|
599
|
-
readonly inputs: readonly [{
|
|
600
|
-
readonly indexed: false;
|
|
601
|
-
readonly internalType: "uint256";
|
|
602
|
-
readonly name: "newRewardFee";
|
|
603
|
-
readonly type: "uint256";
|
|
604
|
-
}];
|
|
605
|
-
readonly name: "RewardFeeUpdated";
|
|
606
|
-
readonly type: "event";
|
|
607
|
-
}, {
|
|
608
|
-
readonly anonymous: false;
|
|
609
|
-
readonly inputs: readonly [{
|
|
610
|
-
readonly indexed: true;
|
|
611
|
-
readonly internalType: "address";
|
|
612
|
-
readonly name: "rewardsAsset";
|
|
613
|
-
readonly type: "address";
|
|
614
|
-
}, {
|
|
615
|
-
readonly indexed: false;
|
|
616
|
-
readonly internalType: "uint256";
|
|
617
|
-
readonly name: "amount";
|
|
618
|
-
readonly type: "uint256";
|
|
619
|
-
}];
|
|
620
|
-
readonly name: "RewardsClaimed";
|
|
621
|
-
readonly type: "event";
|
|
622
|
-
}, {
|
|
623
|
-
readonly anonymous: false;
|
|
624
|
-
readonly inputs: readonly [{
|
|
625
|
-
readonly indexed: true;
|
|
626
|
-
readonly internalType: "bytes32";
|
|
627
|
-
readonly name: "role";
|
|
628
|
-
readonly type: "bytes32";
|
|
629
|
-
}, {
|
|
630
|
-
readonly indexed: true;
|
|
631
|
-
readonly internalType: "bytes32";
|
|
632
|
-
readonly name: "previousAdminRole";
|
|
633
|
-
readonly type: "bytes32";
|
|
634
|
-
}, {
|
|
635
|
-
readonly indexed: true;
|
|
636
|
-
readonly internalType: "bytes32";
|
|
637
|
-
readonly name: "newAdminRole";
|
|
638
|
-
readonly type: "bytes32";
|
|
639
|
-
}];
|
|
640
|
-
readonly name: "RoleAdminChanged";
|
|
641
|
-
readonly type: "event";
|
|
642
|
-
}, {
|
|
643
|
-
readonly anonymous: false;
|
|
644
|
-
readonly inputs: readonly [{
|
|
645
|
-
readonly indexed: true;
|
|
646
|
-
readonly internalType: "bytes32";
|
|
647
|
-
readonly name: "role";
|
|
648
|
-
readonly type: "bytes32";
|
|
649
|
-
}, {
|
|
650
|
-
readonly indexed: true;
|
|
651
|
-
readonly internalType: "address";
|
|
652
|
-
readonly name: "account";
|
|
653
|
-
readonly type: "address";
|
|
654
|
-
}, {
|
|
655
|
-
readonly indexed: true;
|
|
656
|
-
readonly internalType: "address";
|
|
657
|
-
readonly name: "sender";
|
|
658
|
-
readonly type: "address";
|
|
659
|
-
}];
|
|
660
|
-
readonly name: "RoleGranted";
|
|
661
|
-
readonly type: "event";
|
|
662
|
-
}, {
|
|
663
|
-
readonly anonymous: false;
|
|
664
|
-
readonly inputs: readonly [{
|
|
665
|
-
readonly indexed: true;
|
|
666
|
-
readonly internalType: "bytes32";
|
|
667
|
-
readonly name: "role";
|
|
668
|
-
readonly type: "bytes32";
|
|
669
|
-
}, {
|
|
670
|
-
readonly indexed: true;
|
|
671
|
-
readonly internalType: "address";
|
|
672
|
-
readonly name: "account";
|
|
673
|
-
readonly type: "address";
|
|
674
|
-
}, {
|
|
675
|
-
readonly indexed: true;
|
|
676
|
-
readonly internalType: "address";
|
|
677
|
-
readonly name: "sender";
|
|
678
|
-
readonly type: "address";
|
|
679
|
-
}];
|
|
680
|
-
readonly name: "RoleRevoked";
|
|
681
|
-
readonly type: "event";
|
|
682
|
-
}, {
|
|
683
|
-
readonly anonymous: false;
|
|
684
|
-
readonly inputs: readonly [{
|
|
685
|
-
readonly indexed: false;
|
|
686
|
-
readonly internalType: "string";
|
|
687
|
-
readonly name: "symbol";
|
|
688
|
-
readonly type: "string";
|
|
689
|
-
}];
|
|
690
|
-
readonly name: "SymbolInitialized";
|
|
691
|
-
readonly type: "event";
|
|
692
|
-
}, {
|
|
693
|
-
readonly anonymous: false;
|
|
694
|
-
readonly inputs: readonly [{
|
|
695
|
-
readonly indexed: true;
|
|
696
|
-
readonly internalType: "address";
|
|
697
|
-
readonly name: "from";
|
|
698
|
-
readonly type: "address";
|
|
699
|
-
}, {
|
|
700
|
-
readonly indexed: true;
|
|
701
|
-
readonly internalType: "address";
|
|
702
|
-
readonly name: "to";
|
|
703
|
-
readonly type: "address";
|
|
704
|
-
}, {
|
|
705
|
-
readonly indexed: false;
|
|
706
|
-
readonly internalType: "uint256";
|
|
707
|
-
readonly name: "value";
|
|
708
|
-
readonly type: "uint256";
|
|
709
|
-
}];
|
|
710
|
-
readonly name: "Transfer";
|
|
711
|
-
readonly type: "event";
|
|
712
|
-
}, {
|
|
713
|
-
readonly anonymous: false;
|
|
714
|
-
readonly inputs: readonly [{
|
|
715
|
-
readonly indexed: false;
|
|
716
|
-
readonly internalType: "bool";
|
|
717
|
-
readonly name: "newTransferableFlag";
|
|
718
|
-
readonly type: "bool";
|
|
719
|
-
}];
|
|
720
|
-
readonly name: "TransferableUpdated";
|
|
721
|
-
readonly type: "event";
|
|
722
|
-
}, {
|
|
723
|
-
readonly anonymous: false;
|
|
724
|
-
readonly inputs: readonly [{
|
|
725
|
-
readonly indexed: true;
|
|
726
|
-
readonly internalType: "address";
|
|
727
|
-
readonly name: "sender";
|
|
728
|
-
readonly type: "address";
|
|
729
|
-
}, {
|
|
730
|
-
readonly indexed: true;
|
|
731
|
-
readonly internalType: "address";
|
|
732
|
-
readonly name: "receiver";
|
|
733
|
-
readonly type: "address";
|
|
734
|
-
}, {
|
|
735
|
-
readonly indexed: true;
|
|
736
|
-
readonly internalType: "address";
|
|
737
|
-
readonly name: "owner";
|
|
738
|
-
readonly type: "address";
|
|
739
|
-
}, {
|
|
740
|
-
readonly indexed: false;
|
|
741
|
-
readonly internalType: "uint256";
|
|
742
|
-
readonly name: "assets";
|
|
743
|
-
readonly type: "uint256";
|
|
744
|
-
}, {
|
|
745
|
-
readonly indexed: false;
|
|
746
|
-
readonly internalType: "uint256";
|
|
747
|
-
readonly name: "shares";
|
|
748
|
-
readonly type: "uint256";
|
|
749
|
-
}];
|
|
750
|
-
readonly name: "Withdraw";
|
|
751
|
-
readonly type: "event";
|
|
752
|
-
}, {
|
|
753
|
-
readonly inputs: readonly [];
|
|
754
|
-
readonly name: "CLAIM_MANAGER_ROLE";
|
|
755
|
-
readonly outputs: readonly [{
|
|
756
|
-
readonly internalType: "bytes32";
|
|
757
|
-
readonly name: "";
|
|
758
|
-
readonly type: "bytes32";
|
|
759
|
-
}];
|
|
760
|
-
readonly stateMutability: "view";
|
|
761
|
-
readonly type: "function";
|
|
762
|
-
}, {
|
|
763
|
-
readonly inputs: readonly [];
|
|
764
|
-
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
765
|
-
readonly outputs: readonly [{
|
|
766
|
-
readonly internalType: "bytes32";
|
|
767
|
-
readonly name: "";
|
|
768
|
-
readonly type: "bytes32";
|
|
769
|
-
}];
|
|
770
|
-
readonly stateMutability: "view";
|
|
771
|
-
readonly type: "function";
|
|
772
|
-
}, {
|
|
773
|
-
readonly inputs: readonly [];
|
|
774
|
-
readonly name: "FEE_COLLECTOR_ROLE";
|
|
775
|
-
readonly outputs: readonly [{
|
|
776
|
-
readonly internalType: "bytes32";
|
|
777
|
-
readonly name: "";
|
|
778
|
-
readonly type: "bytes32";
|
|
779
|
-
}];
|
|
780
|
-
readonly stateMutability: "view";
|
|
781
|
-
readonly type: "function";
|
|
782
|
-
}, {
|
|
783
|
-
readonly inputs: readonly [];
|
|
784
|
-
readonly name: "FEE_MANAGER_ROLE";
|
|
785
|
-
readonly outputs: readonly [{
|
|
786
|
-
readonly internalType: "bytes32";
|
|
787
|
-
readonly name: "";
|
|
788
|
-
readonly type: "bytes32";
|
|
789
|
-
}];
|
|
790
|
-
readonly stateMutability: "view";
|
|
791
|
-
readonly type: "function";
|
|
792
|
-
}, {
|
|
793
|
-
readonly inputs: readonly [];
|
|
794
|
-
readonly name: "PAUSER_ROLE";
|
|
795
|
-
readonly outputs: readonly [{
|
|
796
|
-
readonly internalType: "bytes32";
|
|
797
|
-
readonly name: "";
|
|
798
|
-
readonly type: "bytes32";
|
|
799
|
-
}];
|
|
800
|
-
readonly stateMutability: "view";
|
|
801
|
-
readonly type: "function";
|
|
802
|
-
}, {
|
|
803
|
-
readonly inputs: readonly [];
|
|
804
|
-
readonly name: "SANCTIONS_MANAGER_ROLE";
|
|
805
|
-
readonly outputs: readonly [{
|
|
806
|
-
readonly internalType: "bytes32";
|
|
807
|
-
readonly name: "";
|
|
808
|
-
readonly type: "bytes32";
|
|
809
|
-
}];
|
|
810
|
-
readonly stateMutability: "view";
|
|
811
|
-
readonly type: "function";
|
|
812
|
-
}, {
|
|
813
|
-
readonly inputs: readonly [];
|
|
814
|
-
readonly name: "SPENDER_ROLE";
|
|
815
|
-
readonly outputs: readonly [{
|
|
816
|
-
readonly internalType: "bytes32";
|
|
817
|
-
readonly name: "";
|
|
818
|
-
readonly type: "bytes32";
|
|
819
|
-
}];
|
|
820
|
-
readonly stateMutability: "view";
|
|
821
|
-
readonly type: "function";
|
|
822
|
-
}, {
|
|
823
|
-
readonly inputs: readonly [];
|
|
824
|
-
readonly name: "UNPAUSER_ROLE";
|
|
825
|
-
readonly outputs: readonly [{
|
|
826
|
-
readonly internalType: "bytes32";
|
|
827
|
-
readonly name: "";
|
|
828
|
-
readonly type: "bytes32";
|
|
829
|
-
}];
|
|
830
|
-
readonly stateMutability: "view";
|
|
831
|
-
readonly type: "function";
|
|
832
|
-
}, {
|
|
833
|
-
readonly inputs: readonly [];
|
|
834
|
-
readonly name: "acceptDefaultAdminTransfer";
|
|
835
|
-
readonly outputs: readonly [];
|
|
836
|
-
readonly stateMutability: "nonpayable";
|
|
837
|
-
readonly type: "function";
|
|
838
|
-
}, {
|
|
839
|
-
readonly inputs: readonly [];
|
|
840
|
-
readonly name: "additionalRewardsStrategy";
|
|
841
|
-
readonly outputs: readonly [{
|
|
842
|
-
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
843
|
-
readonly name: "";
|
|
844
|
-
readonly type: "uint8";
|
|
845
|
-
}];
|
|
846
|
-
readonly stateMutability: "view";
|
|
847
|
-
readonly type: "function";
|
|
848
|
-
}, {
|
|
849
|
-
readonly inputs: readonly [{
|
|
850
|
-
readonly internalType: "address";
|
|
851
|
-
readonly name: "owner";
|
|
852
|
-
readonly type: "address";
|
|
853
|
-
}, {
|
|
854
|
-
readonly internalType: "address";
|
|
855
|
-
readonly name: "spender";
|
|
856
|
-
readonly type: "address";
|
|
857
|
-
}];
|
|
858
|
-
readonly name: "allowance";
|
|
859
|
-
readonly outputs: readonly [{
|
|
860
|
-
readonly internalType: "uint256";
|
|
861
|
-
readonly name: "";
|
|
862
|
-
readonly type: "uint256";
|
|
863
|
-
}];
|
|
864
|
-
readonly stateMutability: "view";
|
|
865
|
-
readonly type: "function";
|
|
866
|
-
}, {
|
|
867
|
-
readonly inputs: readonly [{
|
|
868
|
-
readonly internalType: "address";
|
|
869
|
-
readonly name: "spender";
|
|
870
|
-
readonly type: "address";
|
|
871
|
-
}, {
|
|
872
|
-
readonly internalType: "uint256";
|
|
873
|
-
readonly name: "value";
|
|
874
|
-
readonly type: "uint256";
|
|
875
|
-
}];
|
|
876
|
-
readonly name: "approve";
|
|
877
|
-
readonly outputs: readonly [{
|
|
878
|
-
readonly internalType: "bool";
|
|
879
|
-
readonly name: "";
|
|
880
|
-
readonly type: "bool";
|
|
881
|
-
}];
|
|
882
|
-
readonly stateMutability: "nonpayable";
|
|
883
|
-
readonly type: "function";
|
|
884
|
-
}, {
|
|
885
|
-
readonly inputs: readonly [];
|
|
886
|
-
readonly name: "asset";
|
|
887
|
-
readonly outputs: readonly [{
|
|
888
|
-
readonly internalType: "address";
|
|
889
|
-
readonly name: "";
|
|
890
|
-
readonly type: "address";
|
|
891
|
-
}];
|
|
892
|
-
readonly stateMutability: "view";
|
|
893
|
-
readonly type: "function";
|
|
894
|
-
}, {
|
|
895
|
-
readonly inputs: readonly [{
|
|
896
|
-
readonly internalType: "address";
|
|
897
|
-
readonly name: "account";
|
|
898
|
-
readonly type: "address";
|
|
899
|
-
}];
|
|
900
|
-
readonly name: "balanceOf";
|
|
901
|
-
readonly outputs: readonly [{
|
|
902
|
-
readonly internalType: "uint256";
|
|
903
|
-
readonly name: "";
|
|
904
|
-
readonly type: "uint256";
|
|
905
|
-
}];
|
|
906
|
-
readonly stateMutability: "view";
|
|
907
|
-
readonly type: "function";
|
|
908
|
-
}, {
|
|
909
|
-
readonly inputs: readonly [{
|
|
910
|
-
readonly internalType: "address";
|
|
911
|
-
readonly name: "newAdmin";
|
|
912
|
-
readonly type: "address";
|
|
913
|
-
}];
|
|
914
|
-
readonly name: "beginDefaultAdminTransfer";
|
|
394
|
+
readonly name: "addGasToken";
|
|
915
395
|
readonly outputs: readonly [];
|
|
916
396
|
readonly stateMutability: "nonpayable";
|
|
917
397
|
readonly type: "function";
|
|
918
398
|
}, {
|
|
919
|
-
readonly inputs: readonly [
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
399
|
+
readonly inputs: readonly [{
|
|
400
|
+
readonly components: readonly [{
|
|
401
|
+
readonly internalType: "uint256";
|
|
402
|
+
readonly name: "sig";
|
|
403
|
+
readonly type: "uint256";
|
|
404
|
+
}, {
|
|
405
|
+
readonly internalType: "uint256";
|
|
406
|
+
readonly name: "nonce";
|
|
407
|
+
readonly type: "uint256";
|
|
408
|
+
}, {
|
|
409
|
+
readonly internalType: "address";
|
|
410
|
+
readonly name: "kTimesGAddress";
|
|
411
|
+
readonly type: "address";
|
|
412
|
+
}];
|
|
413
|
+
readonly internalType: "struct IShared.SigData";
|
|
414
|
+
readonly name: "sigData";
|
|
415
|
+
readonly type: "tuple";
|
|
416
|
+
}, {
|
|
417
|
+
readonly components: readonly [{
|
|
418
|
+
readonly internalType: "bytes32";
|
|
419
|
+
readonly name: "swapID";
|
|
420
|
+
readonly type: "bytes32";
|
|
421
|
+
}, {
|
|
422
|
+
readonly internalType: "address";
|
|
423
|
+
readonly name: "token";
|
|
424
|
+
readonly type: "address";
|
|
425
|
+
}];
|
|
426
|
+
readonly internalType: "struct IShared.DeployFetchParams[]";
|
|
427
|
+
readonly name: "deployFetchParamsArray";
|
|
428
|
+
readonly type: "tuple[]";
|
|
429
|
+
}, {
|
|
430
|
+
readonly components: readonly [{
|
|
431
|
+
readonly internalType: "address payable";
|
|
432
|
+
readonly name: "fetchContract";
|
|
433
|
+
readonly type: "address";
|
|
434
|
+
}, {
|
|
435
|
+
readonly internalType: "address";
|
|
436
|
+
readonly name: "token";
|
|
437
|
+
readonly type: "address";
|
|
438
|
+
}];
|
|
439
|
+
readonly internalType: "struct IShared.FetchParams[]";
|
|
440
|
+
readonly name: "fetchParamsArray";
|
|
441
|
+
readonly type: "tuple[]";
|
|
442
|
+
}, {
|
|
443
|
+
readonly components: readonly [{
|
|
444
|
+
readonly internalType: "address";
|
|
445
|
+
readonly name: "token";
|
|
446
|
+
readonly type: "address";
|
|
447
|
+
}, {
|
|
448
|
+
readonly internalType: "address payable";
|
|
449
|
+
readonly name: "recipient";
|
|
450
|
+
readonly type: "address";
|
|
451
|
+
}, {
|
|
452
|
+
readonly internalType: "uint256";
|
|
453
|
+
readonly name: "amount";
|
|
454
|
+
readonly type: "uint256";
|
|
455
|
+
}];
|
|
456
|
+
readonly internalType: "struct IShared.TransferParams[]";
|
|
457
|
+
readonly name: "transferParamsArray";
|
|
458
|
+
readonly type: "tuple[]";
|
|
925
459
|
}];
|
|
926
|
-
readonly
|
|
927
|
-
readonly type: "function";
|
|
928
|
-
}, {
|
|
929
|
-
readonly inputs: readonly [];
|
|
930
|
-
readonly name: "cancelDefaultAdminTransfer";
|
|
460
|
+
readonly name: "allBatch";
|
|
931
461
|
readonly outputs: readonly [];
|
|
932
462
|
readonly stateMutability: "nonpayable";
|
|
933
463
|
readonly type: "function";
|
|
934
464
|
}, {
|
|
935
465
|
readonly inputs: readonly [{
|
|
936
|
-
readonly
|
|
937
|
-
|
|
938
|
-
|
|
466
|
+
readonly components: readonly [{
|
|
467
|
+
readonly internalType: "uint256";
|
|
468
|
+
readonly name: "sig";
|
|
469
|
+
readonly type: "uint256";
|
|
470
|
+
}, {
|
|
471
|
+
readonly internalType: "uint256";
|
|
472
|
+
readonly name: "nonce";
|
|
473
|
+
readonly type: "uint256";
|
|
474
|
+
}, {
|
|
475
|
+
readonly internalType: "address";
|
|
476
|
+
readonly name: "kTimesGAddress";
|
|
477
|
+
readonly type: "address";
|
|
478
|
+
}];
|
|
479
|
+
readonly internalType: "struct IShared.SigData";
|
|
480
|
+
readonly name: "sigData";
|
|
481
|
+
readonly type: "tuple";
|
|
482
|
+
}, {
|
|
483
|
+
readonly components: readonly [{
|
|
484
|
+
readonly internalType: "address payable";
|
|
485
|
+
readonly name: "fetchContract";
|
|
486
|
+
readonly type: "address";
|
|
487
|
+
}, {
|
|
488
|
+
readonly internalType: "address";
|
|
489
|
+
readonly name: "token";
|
|
490
|
+
readonly type: "address";
|
|
491
|
+
}];
|
|
492
|
+
readonly internalType: "struct IShared.FetchParams[]";
|
|
493
|
+
readonly name: "fetchParamsArray";
|
|
494
|
+
readonly type: "tuple[]";
|
|
495
|
+
}, {
|
|
496
|
+
readonly components: readonly [{
|
|
497
|
+
readonly internalType: "address";
|
|
498
|
+
readonly name: "token";
|
|
499
|
+
readonly type: "address";
|
|
500
|
+
}, {
|
|
501
|
+
readonly internalType: "address payable";
|
|
502
|
+
readonly name: "recipient";
|
|
503
|
+
readonly type: "address";
|
|
504
|
+
}, {
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
readonly name: "amount";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
}];
|
|
509
|
+
readonly internalType: "struct IShared.TransferParams[]";
|
|
510
|
+
readonly name: "transferParamsArray";
|
|
511
|
+
readonly type: "tuple[]";
|
|
939
512
|
}];
|
|
940
|
-
readonly name: "
|
|
513
|
+
readonly name: "allBatchV2";
|
|
941
514
|
readonly outputs: readonly [];
|
|
942
515
|
readonly stateMutability: "nonpayable";
|
|
943
516
|
readonly type: "function";
|
|
944
517
|
}, {
|
|
945
518
|
readonly inputs: readonly [{
|
|
946
|
-
readonly
|
|
947
|
-
|
|
948
|
-
|
|
519
|
+
readonly components: readonly [{
|
|
520
|
+
readonly internalType: "uint256";
|
|
521
|
+
readonly name: "sig";
|
|
522
|
+
readonly type: "uint256";
|
|
523
|
+
}, {
|
|
524
|
+
readonly internalType: "uint256";
|
|
525
|
+
readonly name: "nonce";
|
|
526
|
+
readonly type: "uint256";
|
|
527
|
+
}, {
|
|
528
|
+
readonly internalType: "address";
|
|
529
|
+
readonly name: "kTimesGAddress";
|
|
530
|
+
readonly type: "address";
|
|
531
|
+
}];
|
|
532
|
+
readonly internalType: "struct IShared.SigData";
|
|
533
|
+
readonly name: "sigData";
|
|
534
|
+
readonly type: "tuple";
|
|
949
535
|
}, {
|
|
950
|
-
readonly
|
|
951
|
-
|
|
952
|
-
|
|
536
|
+
readonly components: readonly [{
|
|
537
|
+
readonly internalType: "bytes32";
|
|
538
|
+
readonly name: "swapID";
|
|
539
|
+
readonly type: "bytes32";
|
|
540
|
+
}, {
|
|
541
|
+
readonly internalType: "address";
|
|
542
|
+
readonly name: "token";
|
|
543
|
+
readonly type: "address";
|
|
544
|
+
}];
|
|
545
|
+
readonly internalType: "struct IShared.DeployFetchParams[]";
|
|
546
|
+
readonly name: "deployFetchParamsArray";
|
|
547
|
+
readonly type: "tuple[]";
|
|
953
548
|
}];
|
|
954
|
-
readonly name: "
|
|
549
|
+
readonly name: "deployAndFetchBatch";
|
|
955
550
|
readonly outputs: readonly [];
|
|
956
551
|
readonly stateMutability: "nonpayable";
|
|
957
552
|
readonly type: "function";
|
|
958
553
|
}, {
|
|
959
554
|
readonly inputs: readonly [];
|
|
960
|
-
readonly name: "
|
|
555
|
+
readonly name: "disableCommunityGuard";
|
|
961
556
|
readonly outputs: readonly [];
|
|
962
557
|
readonly stateMutability: "nonpayable";
|
|
963
558
|
readonly type: "function";
|
|
964
559
|
}, {
|
|
965
560
|
readonly inputs: readonly [];
|
|
966
|
-
readonly name: "
|
|
967
|
-
readonly outputs: readonly [{
|
|
968
|
-
readonly internalType: "uint256";
|
|
969
|
-
readonly name: "";
|
|
970
|
-
readonly type: "uint256";
|
|
971
|
-
}];
|
|
972
|
-
readonly stateMutability: "view";
|
|
973
|
-
readonly type: "function";
|
|
974
|
-
}, {
|
|
975
|
-
readonly inputs: readonly [];
|
|
976
|
-
readonly name: "connectorName";
|
|
977
|
-
readonly outputs: readonly [{
|
|
978
|
-
readonly internalType: "bytes32";
|
|
979
|
-
readonly name: "";
|
|
980
|
-
readonly type: "bytes32";
|
|
981
|
-
}];
|
|
982
|
-
readonly stateMutability: "view";
|
|
983
|
-
readonly type: "function";
|
|
984
|
-
}, {
|
|
985
|
-
readonly inputs: readonly [];
|
|
986
|
-
readonly name: "connectorRegistry";
|
|
987
|
-
readonly outputs: readonly [{
|
|
988
|
-
readonly internalType: "contract IConnectorRegistry";
|
|
989
|
-
readonly name: "";
|
|
990
|
-
readonly type: "address";
|
|
991
|
-
}];
|
|
992
|
-
readonly stateMutability: "view";
|
|
993
|
-
readonly type: "function";
|
|
994
|
-
}, {
|
|
995
|
-
readonly inputs: readonly [{
|
|
996
|
-
readonly internalType: "uint256";
|
|
997
|
-
readonly name: "shares";
|
|
998
|
-
readonly type: "uint256";
|
|
999
|
-
}];
|
|
1000
|
-
readonly name: "convertToAssets";
|
|
1001
|
-
readonly outputs: readonly [{
|
|
1002
|
-
readonly internalType: "uint256";
|
|
1003
|
-
readonly name: "";
|
|
1004
|
-
readonly type: "uint256";
|
|
1005
|
-
}];
|
|
1006
|
-
readonly stateMutability: "view";
|
|
1007
|
-
readonly type: "function";
|
|
1008
|
-
}, {
|
|
1009
|
-
readonly inputs: readonly [{
|
|
1010
|
-
readonly internalType: "uint256";
|
|
1011
|
-
readonly name: "assets";
|
|
1012
|
-
readonly type: "uint256";
|
|
1013
|
-
}];
|
|
1014
|
-
readonly name: "convertToShares";
|
|
1015
|
-
readonly outputs: readonly [{
|
|
1016
|
-
readonly internalType: "uint256";
|
|
1017
|
-
readonly name: "";
|
|
1018
|
-
readonly type: "uint256";
|
|
1019
|
-
}];
|
|
1020
|
-
readonly stateMutability: "view";
|
|
1021
|
-
readonly type: "function";
|
|
1022
|
-
}, {
|
|
1023
|
-
readonly inputs: readonly [];
|
|
1024
|
-
readonly name: "decimals";
|
|
1025
|
-
readonly outputs: readonly [{
|
|
1026
|
-
readonly internalType: "uint8";
|
|
1027
|
-
readonly name: "";
|
|
1028
|
-
readonly type: "uint8";
|
|
1029
|
-
}];
|
|
1030
|
-
readonly stateMutability: "view";
|
|
1031
|
-
readonly type: "function";
|
|
1032
|
-
}, {
|
|
1033
|
-
readonly inputs: readonly [];
|
|
1034
|
-
readonly name: "defaultAdmin";
|
|
1035
|
-
readonly outputs: readonly [{
|
|
1036
|
-
readonly internalType: "address";
|
|
1037
|
-
readonly name: "";
|
|
1038
|
-
readonly type: "address";
|
|
1039
|
-
}];
|
|
1040
|
-
readonly stateMutability: "view";
|
|
1041
|
-
readonly type: "function";
|
|
1042
|
-
}, {
|
|
1043
|
-
readonly inputs: readonly [];
|
|
1044
|
-
readonly name: "defaultAdminDelay";
|
|
1045
|
-
readonly outputs: readonly [{
|
|
1046
|
-
readonly internalType: "uint48";
|
|
1047
|
-
readonly name: "";
|
|
1048
|
-
readonly type: "uint48";
|
|
1049
|
-
}];
|
|
1050
|
-
readonly stateMutability: "view";
|
|
1051
|
-
readonly type: "function";
|
|
1052
|
-
}, {
|
|
1053
|
-
readonly inputs: readonly [];
|
|
1054
|
-
readonly name: "defaultAdminDelayIncreaseWait";
|
|
1055
|
-
readonly outputs: readonly [{
|
|
1056
|
-
readonly internalType: "uint48";
|
|
1057
|
-
readonly name: "";
|
|
1058
|
-
readonly type: "uint48";
|
|
1059
|
-
}];
|
|
1060
|
-
readonly stateMutability: "view";
|
|
1061
|
-
readonly type: "function";
|
|
1062
|
-
}, {
|
|
1063
|
-
readonly inputs: readonly [{
|
|
1064
|
-
readonly internalType: "bytes";
|
|
1065
|
-
readonly name: "data";
|
|
1066
|
-
readonly type: "bytes";
|
|
1067
|
-
}];
|
|
1068
|
-
readonly name: "delegateToFactory";
|
|
1069
|
-
readonly outputs: readonly [{
|
|
1070
|
-
readonly internalType: "bytes";
|
|
1071
|
-
readonly name: "";
|
|
1072
|
-
readonly type: "bytes";
|
|
1073
|
-
}];
|
|
1074
|
-
readonly stateMutability: "nonpayable";
|
|
1075
|
-
readonly type: "function";
|
|
1076
|
-
}, {
|
|
1077
|
-
readonly inputs: readonly [{
|
|
1078
|
-
readonly internalType: "uint256";
|
|
1079
|
-
readonly name: "assets";
|
|
1080
|
-
readonly type: "uint256";
|
|
1081
|
-
}, {
|
|
1082
|
-
readonly internalType: "address";
|
|
1083
|
-
readonly name: "receiver";
|
|
1084
|
-
readonly type: "address";
|
|
1085
|
-
}];
|
|
1086
|
-
readonly name: "deposit";
|
|
1087
|
-
readonly outputs: readonly [{
|
|
1088
|
-
readonly internalType: "uint256";
|
|
1089
|
-
readonly name: "";
|
|
1090
|
-
readonly type: "uint256";
|
|
1091
|
-
}];
|
|
1092
|
-
readonly stateMutability: "nonpayable";
|
|
1093
|
-
readonly type: "function";
|
|
1094
|
-
}, {
|
|
1095
|
-
readonly inputs: readonly [];
|
|
1096
|
-
readonly name: "depositFee";
|
|
1097
|
-
readonly outputs: readonly [{
|
|
1098
|
-
readonly internalType: "uint256";
|
|
1099
|
-
readonly name: "";
|
|
1100
|
-
readonly type: "uint256";
|
|
1101
|
-
}];
|
|
1102
|
-
readonly stateMutability: "view";
|
|
1103
|
-
readonly type: "function";
|
|
1104
|
-
}, {
|
|
1105
|
-
readonly inputs: readonly [];
|
|
1106
|
-
readonly name: "dispatchFees";
|
|
561
|
+
readonly name: "enableCommunityGuard";
|
|
1107
562
|
readonly outputs: readonly [];
|
|
1108
563
|
readonly stateMutability: "nonpayable";
|
|
1109
564
|
readonly type: "function";
|
|
1110
565
|
}, {
|
|
1111
566
|
readonly inputs: readonly [{
|
|
1112
|
-
readonly internalType: "address";
|
|
1113
|
-
readonly name: "recipient";
|
|
1114
|
-
readonly type: "address";
|
|
1115
|
-
}];
|
|
1116
|
-
readonly name: "feeRecipient";
|
|
1117
|
-
readonly outputs: readonly [{
|
|
1118
|
-
readonly components: readonly [{
|
|
1119
|
-
readonly internalType: "address";
|
|
1120
|
-
readonly name: "recipient";
|
|
1121
|
-
readonly type: "address";
|
|
1122
|
-
}, {
|
|
1123
|
-
readonly internalType: "uint256";
|
|
1124
|
-
readonly name: "depositFeeSplit";
|
|
1125
|
-
readonly type: "uint256";
|
|
1126
|
-
}, {
|
|
1127
|
-
readonly internalType: "uint256";
|
|
1128
|
-
readonly name: "rewardFeeSplit";
|
|
1129
|
-
readonly type: "uint256";
|
|
1130
|
-
}];
|
|
1131
|
-
readonly internalType: "struct IFeeDispatcher.FeeRecipient";
|
|
1132
|
-
readonly name: "";
|
|
1133
|
-
readonly type: "tuple";
|
|
1134
|
-
}];
|
|
1135
|
-
readonly stateMutability: "view";
|
|
1136
|
-
readonly type: "function";
|
|
1137
|
-
}, {
|
|
1138
|
-
readonly inputs: readonly [{
|
|
1139
|
-
readonly internalType: "uint256";
|
|
1140
|
-
readonly name: "index";
|
|
1141
|
-
readonly type: "uint256";
|
|
1142
|
-
}];
|
|
1143
|
-
readonly name: "feeRecipientAt";
|
|
1144
|
-
readonly outputs: readonly [{
|
|
1145
567
|
readonly components: readonly [{
|
|
1146
|
-
readonly internalType: "address";
|
|
1147
|
-
readonly name: "recipient";
|
|
1148
|
-
readonly type: "address";
|
|
1149
|
-
}, {
|
|
1150
568
|
readonly internalType: "uint256";
|
|
1151
|
-
readonly name: "
|
|
569
|
+
readonly name: "sig";
|
|
1152
570
|
readonly type: "uint256";
|
|
1153
571
|
}, {
|
|
1154
572
|
readonly internalType: "uint256";
|
|
1155
|
-
readonly name: "
|
|
573
|
+
readonly name: "nonce";
|
|
1156
574
|
readonly type: "uint256";
|
|
575
|
+
}, {
|
|
576
|
+
readonly internalType: "address";
|
|
577
|
+
readonly name: "kTimesGAddress";
|
|
578
|
+
readonly type: "address";
|
|
1157
579
|
}];
|
|
1158
|
-
readonly internalType: "struct
|
|
1159
|
-
readonly name: "";
|
|
580
|
+
readonly internalType: "struct IShared.SigData";
|
|
581
|
+
readonly name: "sigData";
|
|
1160
582
|
readonly type: "tuple";
|
|
1161
|
-
}
|
|
1162
|
-
readonly stateMutability: "view";
|
|
1163
|
-
readonly type: "function";
|
|
1164
|
-
}, {
|
|
1165
|
-
readonly inputs: readonly [];
|
|
1166
|
-
readonly name: "feeRecipients";
|
|
1167
|
-
readonly outputs: readonly [{
|
|
583
|
+
}, {
|
|
1168
584
|
readonly components: readonly [{
|
|
1169
585
|
readonly internalType: "address";
|
|
586
|
+
readonly name: "token";
|
|
587
|
+
readonly type: "address";
|
|
588
|
+
}, {
|
|
589
|
+
readonly internalType: "address payable";
|
|
1170
590
|
readonly name: "recipient";
|
|
1171
591
|
readonly type: "address";
|
|
1172
592
|
}, {
|
|
1173
593
|
readonly internalType: "uint256";
|
|
1174
|
-
readonly name: "
|
|
594
|
+
readonly name: "amount";
|
|
1175
595
|
readonly type: "uint256";
|
|
596
|
+
}];
|
|
597
|
+
readonly internalType: "struct IShared.TransferParams";
|
|
598
|
+
readonly name: "transferParams";
|
|
599
|
+
readonly type: "tuple";
|
|
600
|
+
}, {
|
|
601
|
+
readonly components: readonly [{
|
|
602
|
+
readonly internalType: "enum IMulticall.CallType";
|
|
603
|
+
readonly name: "callType";
|
|
604
|
+
readonly type: "uint8";
|
|
605
|
+
}, {
|
|
606
|
+
readonly internalType: "address";
|
|
607
|
+
readonly name: "target";
|
|
608
|
+
readonly type: "address";
|
|
1176
609
|
}, {
|
|
1177
610
|
readonly internalType: "uint256";
|
|
1178
|
-
readonly name: "
|
|
611
|
+
readonly name: "value";
|
|
1179
612
|
readonly type: "uint256";
|
|
613
|
+
}, {
|
|
614
|
+
readonly internalType: "bytes";
|
|
615
|
+
readonly name: "callData";
|
|
616
|
+
readonly type: "bytes";
|
|
617
|
+
}, {
|
|
618
|
+
readonly internalType: "bytes";
|
|
619
|
+
readonly name: "payload";
|
|
620
|
+
readonly type: "bytes";
|
|
1180
621
|
}];
|
|
1181
|
-
readonly internalType: "struct
|
|
1182
|
-
readonly name: "";
|
|
622
|
+
readonly internalType: "struct IMulticall.Call[]";
|
|
623
|
+
readonly name: "calls";
|
|
1183
624
|
readonly type: "tuple[]";
|
|
1184
|
-
}
|
|
1185
|
-
readonly stateMutability: "view";
|
|
1186
|
-
readonly type: "function";
|
|
1187
|
-
}, {
|
|
1188
|
-
readonly inputs: readonly [{
|
|
1189
|
-
readonly internalType: "address";
|
|
1190
|
-
readonly name: "blockedUser";
|
|
1191
|
-
readonly type: "address";
|
|
1192
|
-
}];
|
|
1193
|
-
readonly name: "forceWithdraw";
|
|
1194
|
-
readonly outputs: readonly [{
|
|
625
|
+
}, {
|
|
1195
626
|
readonly internalType: "uint256";
|
|
1196
|
-
readonly name: "";
|
|
627
|
+
readonly name: "gasMulticall";
|
|
1197
628
|
readonly type: "uint256";
|
|
1198
629
|
}];
|
|
630
|
+
readonly name: "executeActions";
|
|
631
|
+
readonly outputs: readonly [];
|
|
1199
632
|
readonly stateMutability: "nonpayable";
|
|
1200
633
|
readonly type: "function";
|
|
1201
634
|
}, {
|
|
1202
635
|
readonly inputs: readonly [{
|
|
1203
|
-
readonly
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
readonly
|
|
1218
|
-
readonly
|
|
1219
|
-
readonly type: "bytes32";
|
|
636
|
+
readonly components: readonly [{
|
|
637
|
+
readonly internalType: "uint256";
|
|
638
|
+
readonly name: "sig";
|
|
639
|
+
readonly type: "uint256";
|
|
640
|
+
}, {
|
|
641
|
+
readonly internalType: "uint256";
|
|
642
|
+
readonly name: "nonce";
|
|
643
|
+
readonly type: "uint256";
|
|
644
|
+
}, {
|
|
645
|
+
readonly internalType: "address";
|
|
646
|
+
readonly name: "kTimesGAddress";
|
|
647
|
+
readonly type: "address";
|
|
648
|
+
}];
|
|
649
|
+
readonly internalType: "struct IShared.SigData";
|
|
650
|
+
readonly name: "sigData";
|
|
651
|
+
readonly type: "tuple";
|
|
1220
652
|
}, {
|
|
1221
653
|
readonly internalType: "address";
|
|
1222
|
-
readonly name: "
|
|
654
|
+
readonly name: "recipient";
|
|
1223
655
|
readonly type: "address";
|
|
656
|
+
}, {
|
|
657
|
+
readonly internalType: "uint32";
|
|
658
|
+
readonly name: "srcChain";
|
|
659
|
+
readonly type: "uint32";
|
|
660
|
+
}, {
|
|
661
|
+
readonly internalType: "bytes";
|
|
662
|
+
readonly name: "srcAddress";
|
|
663
|
+
readonly type: "bytes";
|
|
664
|
+
}, {
|
|
665
|
+
readonly internalType: "bytes";
|
|
666
|
+
readonly name: "message";
|
|
667
|
+
readonly type: "bytes";
|
|
1224
668
|
}];
|
|
1225
|
-
readonly name: "
|
|
669
|
+
readonly name: "executexCall";
|
|
1226
670
|
readonly outputs: readonly [];
|
|
1227
671
|
readonly stateMutability: "nonpayable";
|
|
1228
672
|
readonly type: "function";
|
|
1229
|
-
}, {
|
|
1230
|
-
readonly inputs: readonly [{
|
|
1231
|
-
readonly internalType: "bytes32";
|
|
1232
|
-
readonly name: "role";
|
|
1233
|
-
readonly type: "bytes32";
|
|
1234
|
-
}, {
|
|
1235
|
-
readonly internalType: "address";
|
|
1236
|
-
readonly name: "account";
|
|
1237
|
-
readonly type: "address";
|
|
1238
|
-
}];
|
|
1239
|
-
readonly name: "hasRole";
|
|
1240
|
-
readonly outputs: readonly [{
|
|
1241
|
-
readonly internalType: "bool";
|
|
1242
|
-
readonly name: "";
|
|
1243
|
-
readonly type: "bool";
|
|
1244
|
-
}];
|
|
1245
|
-
readonly stateMutability: "view";
|
|
1246
|
-
readonly type: "function";
|
|
1247
673
|
}, {
|
|
1248
674
|
readonly inputs: readonly [{
|
|
1249
675
|
readonly components: readonly [{
|
|
1250
|
-
readonly internalType: "contract IERC20";
|
|
1251
|
-
readonly name: "asset_";
|
|
1252
|
-
readonly type: "address";
|
|
1253
|
-
}, {
|
|
1254
|
-
readonly internalType: "string";
|
|
1255
|
-
readonly name: "name_";
|
|
1256
|
-
readonly type: "string";
|
|
1257
|
-
}, {
|
|
1258
|
-
readonly internalType: "string";
|
|
1259
|
-
readonly name: "symbol_";
|
|
1260
|
-
readonly type: "string";
|
|
1261
|
-
}, {
|
|
1262
|
-
readonly internalType: "bool";
|
|
1263
|
-
readonly name: "transferable_";
|
|
1264
|
-
readonly type: "bool";
|
|
1265
|
-
}, {
|
|
1266
|
-
readonly internalType: "contract IConnectorRegistry";
|
|
1267
|
-
readonly name: "connectorRegistry_";
|
|
1268
|
-
readonly type: "address";
|
|
1269
|
-
}, {
|
|
1270
|
-
readonly internalType: "bytes32";
|
|
1271
|
-
readonly name: "connectorName_";
|
|
1272
|
-
readonly type: "bytes32";
|
|
1273
|
-
}, {
|
|
1274
676
|
readonly internalType: "uint256";
|
|
1275
|
-
readonly name: "
|
|
677
|
+
readonly name: "sig";
|
|
1276
678
|
readonly type: "uint256";
|
|
1277
679
|
}, {
|
|
1278
680
|
readonly internalType: "uint256";
|
|
1279
|
-
readonly name: "
|
|
681
|
+
readonly name: "nonce";
|
|
1280
682
|
readonly type: "uint256";
|
|
1281
683
|
}, {
|
|
1282
684
|
readonly internalType: "address";
|
|
1283
|
-
readonly name: "
|
|
1284
|
-
readonly type: "address";
|
|
1285
|
-
}, {
|
|
1286
|
-
readonly internalType: "address";
|
|
1287
|
-
readonly name: "initialFeeManager_";
|
|
1288
|
-
readonly type: "address";
|
|
1289
|
-
}, {
|
|
1290
|
-
readonly internalType: "address";
|
|
1291
|
-
readonly name: "initialSanctionsManager_";
|
|
685
|
+
readonly name: "kTimesGAddress";
|
|
1292
686
|
readonly type: "address";
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
687
|
+
}];
|
|
688
|
+
readonly internalType: "struct IShared.SigData";
|
|
689
|
+
readonly name: "sigData";
|
|
690
|
+
readonly type: "tuple";
|
|
691
|
+
}, {
|
|
692
|
+
readonly components: readonly [{
|
|
1298
693
|
readonly internalType: "address";
|
|
1299
|
-
readonly name: "
|
|
694
|
+
readonly name: "token";
|
|
1300
695
|
readonly type: "address";
|
|
1301
696
|
}, {
|
|
1302
|
-
readonly internalType: "address";
|
|
1303
|
-
readonly name: "
|
|
697
|
+
readonly internalType: "address payable";
|
|
698
|
+
readonly name: "recipient";
|
|
1304
699
|
readonly type: "address";
|
|
1305
|
-
}, {
|
|
1306
|
-
readonly internalType: "uint48";
|
|
1307
|
-
readonly name: "initialDelay_";
|
|
1308
|
-
readonly type: "uint48";
|
|
1309
|
-
}, {
|
|
1310
|
-
readonly internalType: "uint8";
|
|
1311
|
-
readonly name: "offset_";
|
|
1312
|
-
readonly type: "uint8";
|
|
1313
700
|
}, {
|
|
1314
701
|
readonly internalType: "uint256";
|
|
1315
|
-
readonly name: "
|
|
702
|
+
readonly name: "amount";
|
|
1316
703
|
readonly type: "uint256";
|
|
1317
704
|
}];
|
|
1318
|
-
readonly internalType: "struct
|
|
1319
|
-
readonly name: "
|
|
705
|
+
readonly internalType: "struct IShared.TransferParams";
|
|
706
|
+
readonly name: "transferParams";
|
|
1320
707
|
readonly type: "tuple";
|
|
1321
708
|
}, {
|
|
709
|
+
readonly internalType: "uint32";
|
|
710
|
+
readonly name: "srcChain";
|
|
711
|
+
readonly type: "uint32";
|
|
712
|
+
}, {
|
|
713
|
+
readonly internalType: "bytes";
|
|
714
|
+
readonly name: "srcAddress";
|
|
715
|
+
readonly type: "bytes";
|
|
716
|
+
}, {
|
|
717
|
+
readonly internalType: "bytes";
|
|
718
|
+
readonly name: "message";
|
|
719
|
+
readonly type: "bytes";
|
|
720
|
+
}];
|
|
721
|
+
readonly name: "executexSwapAndCall";
|
|
722
|
+
readonly outputs: readonly [];
|
|
723
|
+
readonly stateMutability: "nonpayable";
|
|
724
|
+
readonly type: "function";
|
|
725
|
+
}, {
|
|
726
|
+
readonly inputs: readonly [{
|
|
1322
727
|
readonly components: readonly [{
|
|
1323
|
-
readonly components: readonly [{
|
|
1324
|
-
readonly internalType: "address";
|
|
1325
|
-
readonly name: "recipient";
|
|
1326
|
-
readonly type: "address";
|
|
1327
|
-
}, {
|
|
1328
|
-
readonly internalType: "uint256";
|
|
1329
|
-
readonly name: "depositFeeSplit";
|
|
1330
|
-
readonly type: "uint256";
|
|
1331
|
-
}, {
|
|
1332
|
-
readonly internalType: "uint256";
|
|
1333
|
-
readonly name: "rewardFeeSplit";
|
|
1334
|
-
readonly type: "uint256";
|
|
1335
|
-
}];
|
|
1336
|
-
readonly internalType: "struct IFeeDispatcher.FeeRecipient[]";
|
|
1337
|
-
readonly name: "recipients_";
|
|
1338
|
-
readonly type: "tuple[]";
|
|
1339
|
-
}, {
|
|
1340
|
-
readonly internalType: "address";
|
|
1341
|
-
readonly name: "feeDispatcher_";
|
|
1342
|
-
readonly type: "address";
|
|
1343
|
-
}, {
|
|
1344
|
-
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
1345
|
-
readonly name: "additionalRewardsStrategy_";
|
|
1346
|
-
readonly type: "uint8";
|
|
1347
|
-
}, {
|
|
1348
|
-
readonly internalType: "contract BlockList";
|
|
1349
|
-
readonly name: "blockList_";
|
|
1350
|
-
readonly type: "address";
|
|
1351
|
-
}, {
|
|
1352
728
|
readonly internalType: "uint256";
|
|
1353
|
-
readonly name: "
|
|
729
|
+
readonly name: "sig";
|
|
1354
730
|
readonly type: "uint256";
|
|
1355
731
|
}, {
|
|
1356
732
|
readonly internalType: "uint256";
|
|
1357
|
-
readonly name: "
|
|
733
|
+
readonly name: "nonce";
|
|
1358
734
|
readonly type: "uint256";
|
|
1359
|
-
}, {
|
|
1360
|
-
readonly internalType: "contract IConnectorRegistry";
|
|
1361
|
-
readonly name: "connectorRegistry_";
|
|
1362
|
-
readonly type: "address";
|
|
1363
735
|
}, {
|
|
1364
736
|
readonly internalType: "address";
|
|
1365
|
-
readonly name: "
|
|
737
|
+
readonly name: "kTimesGAddress";
|
|
1366
738
|
readonly type: "address";
|
|
1367
739
|
}];
|
|
1368
|
-
readonly internalType: "struct
|
|
1369
|
-
readonly name: "
|
|
740
|
+
readonly internalType: "struct IShared.SigData";
|
|
741
|
+
readonly name: "sigData";
|
|
1370
742
|
readonly type: "tuple";
|
|
1371
|
-
}];
|
|
1372
|
-
readonly name: "initialize";
|
|
1373
|
-
readonly outputs: readonly [];
|
|
1374
|
-
readonly stateMutability: "nonpayable";
|
|
1375
|
-
readonly type: "function";
|
|
1376
|
-
}, {
|
|
1377
|
-
readonly inputs: readonly [{
|
|
1378
|
-
readonly internalType: "address";
|
|
1379
|
-
readonly name: "";
|
|
1380
|
-
readonly type: "address";
|
|
1381
|
-
}];
|
|
1382
|
-
readonly name: "maxDeposit";
|
|
1383
|
-
readonly outputs: readonly [{
|
|
1384
|
-
readonly internalType: "uint256";
|
|
1385
|
-
readonly name: "";
|
|
1386
|
-
readonly type: "uint256";
|
|
1387
|
-
}];
|
|
1388
|
-
readonly stateMutability: "view";
|
|
1389
|
-
readonly type: "function";
|
|
1390
|
-
}, {
|
|
1391
|
-
readonly inputs: readonly [{
|
|
1392
|
-
readonly internalType: "address";
|
|
1393
|
-
readonly name: "";
|
|
1394
|
-
readonly type: "address";
|
|
1395
|
-
}];
|
|
1396
|
-
readonly name: "maxMint";
|
|
1397
|
-
readonly outputs: readonly [{
|
|
1398
|
-
readonly internalType: "uint256";
|
|
1399
|
-
readonly name: "";
|
|
1400
|
-
readonly type: "uint256";
|
|
1401
|
-
}];
|
|
1402
|
-
readonly stateMutability: "view";
|
|
1403
|
-
readonly type: "function";
|
|
1404
|
-
}, {
|
|
1405
|
-
readonly inputs: readonly [{
|
|
1406
|
-
readonly internalType: "address";
|
|
1407
|
-
readonly name: "owner";
|
|
1408
|
-
readonly type: "address";
|
|
1409
|
-
}];
|
|
1410
|
-
readonly name: "maxRedeem";
|
|
1411
|
-
readonly outputs: readonly [{
|
|
1412
|
-
readonly internalType: "uint256";
|
|
1413
|
-
readonly name: "";
|
|
1414
|
-
readonly type: "uint256";
|
|
1415
|
-
}];
|
|
1416
|
-
readonly stateMutability: "view";
|
|
1417
|
-
readonly type: "function";
|
|
1418
|
-
}, {
|
|
1419
|
-
readonly inputs: readonly [{
|
|
1420
|
-
readonly internalType: "address";
|
|
1421
|
-
readonly name: "owner";
|
|
1422
|
-
readonly type: "address";
|
|
1423
|
-
}];
|
|
1424
|
-
readonly name: "maxWithdraw";
|
|
1425
|
-
readonly outputs: readonly [{
|
|
1426
|
-
readonly internalType: "uint256";
|
|
1427
|
-
readonly name: "";
|
|
1428
|
-
readonly type: "uint256";
|
|
1429
|
-
}];
|
|
1430
|
-
readonly stateMutability: "view";
|
|
1431
|
-
readonly type: "function";
|
|
1432
|
-
}, {
|
|
1433
|
-
readonly inputs: readonly [{
|
|
1434
|
-
readonly internalType: "uint256";
|
|
1435
|
-
readonly name: "shares";
|
|
1436
|
-
readonly type: "uint256";
|
|
1437
|
-
}, {
|
|
1438
|
-
readonly internalType: "address";
|
|
1439
|
-
readonly name: "receiver";
|
|
1440
|
-
readonly type: "address";
|
|
1441
|
-
}];
|
|
1442
|
-
readonly name: "mint";
|
|
1443
|
-
readonly outputs: readonly [{
|
|
1444
|
-
readonly internalType: "uint256";
|
|
1445
|
-
readonly name: "";
|
|
1446
|
-
readonly type: "uint256";
|
|
1447
|
-
}];
|
|
1448
|
-
readonly stateMutability: "nonpayable";
|
|
1449
|
-
readonly type: "function";
|
|
1450
|
-
}, {
|
|
1451
|
-
readonly inputs: readonly [];
|
|
1452
|
-
readonly name: "name";
|
|
1453
|
-
readonly outputs: readonly [{
|
|
1454
|
-
readonly internalType: "string";
|
|
1455
|
-
readonly name: "";
|
|
1456
|
-
readonly type: "string";
|
|
1457
|
-
}];
|
|
1458
|
-
readonly stateMutability: "view";
|
|
1459
|
-
readonly type: "function";
|
|
1460
|
-
}, {
|
|
1461
|
-
readonly inputs: readonly [];
|
|
1462
|
-
readonly name: "owner";
|
|
1463
|
-
readonly outputs: readonly [{
|
|
1464
|
-
readonly internalType: "address";
|
|
1465
|
-
readonly name: "";
|
|
1466
|
-
readonly type: "address";
|
|
1467
|
-
}];
|
|
1468
|
-
readonly stateMutability: "view";
|
|
1469
|
-
readonly type: "function";
|
|
1470
|
-
}, {
|
|
1471
|
-
readonly inputs: readonly [];
|
|
1472
|
-
readonly name: "pauseDeposit";
|
|
1473
|
-
readonly outputs: readonly [];
|
|
1474
|
-
readonly stateMutability: "nonpayable";
|
|
1475
|
-
readonly type: "function";
|
|
1476
|
-
}, {
|
|
1477
|
-
readonly inputs: readonly [];
|
|
1478
|
-
readonly name: "pendingDefaultAdmin";
|
|
1479
|
-
readonly outputs: readonly [{
|
|
1480
|
-
readonly internalType: "address";
|
|
1481
|
-
readonly name: "newAdmin";
|
|
1482
|
-
readonly type: "address";
|
|
1483
|
-
}, {
|
|
1484
|
-
readonly internalType: "uint48";
|
|
1485
|
-
readonly name: "schedule";
|
|
1486
|
-
readonly type: "uint48";
|
|
1487
|
-
}];
|
|
1488
|
-
readonly stateMutability: "view";
|
|
1489
|
-
readonly type: "function";
|
|
1490
|
-
}, {
|
|
1491
|
-
readonly inputs: readonly [];
|
|
1492
|
-
readonly name: "pendingDefaultAdminDelay";
|
|
1493
|
-
readonly outputs: readonly [{
|
|
1494
|
-
readonly internalType: "uint48";
|
|
1495
|
-
readonly name: "newDelay";
|
|
1496
|
-
readonly type: "uint48";
|
|
1497
743
|
}, {
|
|
1498
|
-
readonly
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
readonly
|
|
1509
|
-
readonly
|
|
1510
|
-
readonly type: "uint256";
|
|
744
|
+
readonly components: readonly [{
|
|
745
|
+
readonly internalType: "address payable";
|
|
746
|
+
readonly name: "fetchContract";
|
|
747
|
+
readonly type: "address";
|
|
748
|
+
}, {
|
|
749
|
+
readonly internalType: "address";
|
|
750
|
+
readonly name: "token";
|
|
751
|
+
readonly type: "address";
|
|
752
|
+
}];
|
|
753
|
+
readonly internalType: "struct IShared.FetchParams[]";
|
|
754
|
+
readonly name: "fetchParamsArray";
|
|
755
|
+
readonly type: "tuple[]";
|
|
1511
756
|
}];
|
|
1512
|
-
readonly
|
|
757
|
+
readonly name: "fetchBatch";
|
|
758
|
+
readonly outputs: readonly [];
|
|
759
|
+
readonly stateMutability: "nonpayable";
|
|
1513
760
|
readonly type: "function";
|
|
1514
761
|
}, {
|
|
1515
762
|
readonly inputs: readonly [];
|
|
1516
|
-
readonly name: "
|
|
763
|
+
readonly name: "getCommunityGuardDisabled";
|
|
1517
764
|
readonly outputs: readonly [{
|
|
1518
|
-
readonly internalType: "
|
|
765
|
+
readonly internalType: "bool";
|
|
1519
766
|
readonly name: "";
|
|
1520
|
-
readonly type: "
|
|
767
|
+
readonly type: "bool";
|
|
1521
768
|
}];
|
|
1522
769
|
readonly stateMutability: "view";
|
|
1523
770
|
readonly type: "function";
|
|
1524
771
|
}, {
|
|
1525
|
-
readonly inputs: readonly [
|
|
1526
|
-
|
|
1527
|
-
readonly name: "assets";
|
|
1528
|
-
readonly type: "uint256";
|
|
1529
|
-
}];
|
|
1530
|
-
readonly name: "previewDeposit";
|
|
772
|
+
readonly inputs: readonly [];
|
|
773
|
+
readonly name: "getCommunityKey";
|
|
1531
774
|
readonly outputs: readonly [{
|
|
1532
|
-
readonly internalType: "
|
|
775
|
+
readonly internalType: "address";
|
|
1533
776
|
readonly name: "";
|
|
1534
|
-
readonly type: "
|
|
777
|
+
readonly type: "address";
|
|
1535
778
|
}];
|
|
1536
779
|
readonly stateMutability: "view";
|
|
1537
780
|
readonly type: "function";
|
|
1538
781
|
}, {
|
|
1539
|
-
readonly inputs: readonly [
|
|
1540
|
-
|
|
1541
|
-
readonly name: "shares";
|
|
1542
|
-
readonly type: "uint256";
|
|
1543
|
-
}];
|
|
1544
|
-
readonly name: "previewMint";
|
|
782
|
+
readonly inputs: readonly [];
|
|
783
|
+
readonly name: "getGovernor";
|
|
1545
784
|
readonly outputs: readonly [{
|
|
1546
|
-
readonly internalType: "
|
|
785
|
+
readonly internalType: "address";
|
|
1547
786
|
readonly name: "";
|
|
1548
|
-
readonly type: "
|
|
787
|
+
readonly type: "address";
|
|
1549
788
|
}];
|
|
1550
789
|
readonly stateMutability: "view";
|
|
1551
790
|
readonly type: "function";
|
|
1552
791
|
}, {
|
|
1553
|
-
readonly inputs: readonly [
|
|
1554
|
-
|
|
1555
|
-
readonly name: "shares";
|
|
1556
|
-
readonly type: "uint256";
|
|
1557
|
-
}];
|
|
1558
|
-
readonly name: "previewRedeem";
|
|
792
|
+
readonly inputs: readonly [];
|
|
793
|
+
readonly name: "getKeyManager";
|
|
1559
794
|
readonly outputs: readonly [{
|
|
1560
|
-
readonly internalType: "
|
|
795
|
+
readonly internalType: "contract IKeyManager";
|
|
1561
796
|
readonly name: "";
|
|
1562
|
-
readonly type: "
|
|
797
|
+
readonly type: "address";
|
|
1563
798
|
}];
|
|
1564
799
|
readonly stateMutability: "view";
|
|
1565
800
|
readonly type: "function";
|
|
1566
801
|
}, {
|
|
1567
|
-
readonly inputs: readonly [
|
|
1568
|
-
|
|
1569
|
-
readonly name: "assets";
|
|
1570
|
-
readonly type: "uint256";
|
|
1571
|
-
}];
|
|
1572
|
-
readonly name: "previewWithdraw";
|
|
802
|
+
readonly inputs: readonly [];
|
|
803
|
+
readonly name: "getSuspendedState";
|
|
1573
804
|
readonly outputs: readonly [{
|
|
1574
|
-
readonly internalType: "
|
|
805
|
+
readonly internalType: "bool";
|
|
1575
806
|
readonly name: "";
|
|
1576
|
-
readonly type: "
|
|
807
|
+
readonly type: "bool";
|
|
1577
808
|
}];
|
|
1578
809
|
readonly stateMutability: "view";
|
|
1579
810
|
readonly type: "function";
|
|
1580
811
|
}, {
|
|
1581
812
|
readonly inputs: readonly [{
|
|
1582
|
-
readonly internalType: "
|
|
1583
|
-
readonly name: "
|
|
1584
|
-
readonly type: "
|
|
1585
|
-
}, {
|
|
1586
|
-
readonly internalType: "address";
|
|
1587
|
-
readonly name: "receiver";
|
|
1588
|
-
readonly type: "address";
|
|
1589
|
-
}, {
|
|
1590
|
-
readonly internalType: "address";
|
|
1591
|
-
readonly name: "owner";
|
|
1592
|
-
readonly type: "address";
|
|
1593
|
-
}];
|
|
1594
|
-
readonly name: "redeem";
|
|
1595
|
-
readonly outputs: readonly [{
|
|
1596
|
-
readonly internalType: "uint256";
|
|
1597
|
-
readonly name: "";
|
|
1598
|
-
readonly type: "uint256";
|
|
1599
|
-
}];
|
|
1600
|
-
readonly stateMutability: "nonpayable";
|
|
1601
|
-
readonly type: "function";
|
|
1602
|
-
}, {
|
|
1603
|
-
readonly inputs: readonly [{
|
|
1604
|
-
readonly internalType: "bytes32";
|
|
1605
|
-
readonly name: "role";
|
|
1606
|
-
readonly type: "bytes32";
|
|
1607
|
-
}, {
|
|
1608
|
-
readonly internalType: "address";
|
|
1609
|
-
readonly name: "account";
|
|
1610
|
-
readonly type: "address";
|
|
1611
|
-
}];
|
|
1612
|
-
readonly name: "renounceRole";
|
|
1613
|
-
readonly outputs: readonly [];
|
|
1614
|
-
readonly stateMutability: "nonpayable";
|
|
1615
|
-
readonly type: "function";
|
|
1616
|
-
}, {
|
|
1617
|
-
readonly inputs: readonly [{
|
|
1618
|
-
readonly internalType: "bytes32";
|
|
1619
|
-
readonly name: "role";
|
|
1620
|
-
readonly type: "bytes32";
|
|
1621
|
-
}, {
|
|
1622
|
-
readonly internalType: "address";
|
|
1623
|
-
readonly name: "account";
|
|
1624
|
-
readonly type: "address";
|
|
813
|
+
readonly internalType: "address[]";
|
|
814
|
+
readonly name: "tokens";
|
|
815
|
+
readonly type: "address[]";
|
|
1625
816
|
}];
|
|
1626
|
-
readonly name: "
|
|
817
|
+
readonly name: "govWithdraw";
|
|
1627
818
|
readonly outputs: readonly [];
|
|
1628
819
|
readonly stateMutability: "nonpayable";
|
|
1629
820
|
readonly type: "function";
|
|
1630
821
|
}, {
|
|
1631
822
|
readonly inputs: readonly [];
|
|
1632
|
-
readonly name: "
|
|
1633
|
-
readonly outputs: readonly [{
|
|
1634
|
-
readonly internalType: "uint256";
|
|
1635
|
-
readonly name: "";
|
|
1636
|
-
readonly type: "uint256";
|
|
1637
|
-
}];
|
|
1638
|
-
readonly stateMutability: "view";
|
|
1639
|
-
readonly type: "function";
|
|
1640
|
-
}, {
|
|
1641
|
-
readonly inputs: readonly [];
|
|
1642
|
-
readonly name: "rollbackDefaultAdminDelay";
|
|
1643
|
-
readonly outputs: readonly [];
|
|
1644
|
-
readonly stateMutability: "nonpayable";
|
|
1645
|
-
readonly type: "function";
|
|
1646
|
-
}, {
|
|
1647
|
-
readonly inputs: readonly [{
|
|
1648
|
-
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
1649
|
-
readonly name: "strategy";
|
|
1650
|
-
readonly type: "uint8";
|
|
1651
|
-
}];
|
|
1652
|
-
readonly name: "setAdditionalRewardsStrategy";
|
|
823
|
+
readonly name: "resume";
|
|
1653
824
|
readonly outputs: readonly [];
|
|
1654
825
|
readonly stateMutability: "nonpayable";
|
|
1655
826
|
readonly type: "function";
|
|
1656
827
|
}, {
|
|
1657
|
-
readonly inputs: readonly [
|
|
1658
|
-
|
|
1659
|
-
readonly name: "newBlockList";
|
|
1660
|
-
readonly type: "address";
|
|
1661
|
-
}];
|
|
1662
|
-
readonly name: "setBlockList";
|
|
828
|
+
readonly inputs: readonly [];
|
|
829
|
+
readonly name: "suspend";
|
|
1663
830
|
readonly outputs: readonly [];
|
|
1664
831
|
readonly stateMutability: "nonpayable";
|
|
1665
832
|
readonly type: "function";
|
|
1666
833
|
}, {
|
|
1667
834
|
readonly inputs: readonly [{
|
|
1668
|
-
readonly
|
|
1669
|
-
|
|
1670
|
-
|
|
835
|
+
readonly components: readonly [{
|
|
836
|
+
readonly internalType: "uint256";
|
|
837
|
+
readonly name: "sig";
|
|
838
|
+
readonly type: "uint256";
|
|
839
|
+
}, {
|
|
840
|
+
readonly internalType: "uint256";
|
|
841
|
+
readonly name: "nonce";
|
|
842
|
+
readonly type: "uint256";
|
|
843
|
+
}, {
|
|
844
|
+
readonly internalType: "address";
|
|
845
|
+
readonly name: "kTimesGAddress";
|
|
846
|
+
readonly type: "address";
|
|
847
|
+
}];
|
|
848
|
+
readonly internalType: "struct IShared.SigData";
|
|
849
|
+
readonly name: "sigData";
|
|
850
|
+
readonly type: "tuple";
|
|
851
|
+
}, {
|
|
852
|
+
readonly components: readonly [{
|
|
853
|
+
readonly internalType: "address";
|
|
854
|
+
readonly name: "token";
|
|
855
|
+
readonly type: "address";
|
|
856
|
+
}, {
|
|
857
|
+
readonly internalType: "address payable";
|
|
858
|
+
readonly name: "recipient";
|
|
859
|
+
readonly type: "address";
|
|
860
|
+
}, {
|
|
861
|
+
readonly internalType: "uint256";
|
|
862
|
+
readonly name: "amount";
|
|
863
|
+
readonly type: "uint256";
|
|
864
|
+
}];
|
|
865
|
+
readonly internalType: "struct IShared.TransferParams";
|
|
866
|
+
readonly name: "transferParams";
|
|
867
|
+
readonly type: "tuple";
|
|
1671
868
|
}];
|
|
1672
|
-
readonly name: "
|
|
869
|
+
readonly name: "transfer";
|
|
1673
870
|
readonly outputs: readonly [];
|
|
1674
871
|
readonly stateMutability: "nonpayable";
|
|
1675
872
|
readonly type: "function";
|
|
1676
873
|
}, {
|
|
1677
874
|
readonly inputs: readonly [{
|
|
1678
875
|
readonly components: readonly [{
|
|
1679
|
-
readonly internalType: "
|
|
1680
|
-
readonly name: "
|
|
1681
|
-
readonly type: "
|
|
876
|
+
readonly internalType: "uint256";
|
|
877
|
+
readonly name: "sig";
|
|
878
|
+
readonly type: "uint256";
|
|
1682
879
|
}, {
|
|
1683
880
|
readonly internalType: "uint256";
|
|
1684
|
-
readonly name: "
|
|
881
|
+
readonly name: "nonce";
|
|
1685
882
|
readonly type: "uint256";
|
|
883
|
+
}, {
|
|
884
|
+
readonly internalType: "address";
|
|
885
|
+
readonly name: "kTimesGAddress";
|
|
886
|
+
readonly type: "address";
|
|
887
|
+
}];
|
|
888
|
+
readonly internalType: "struct IShared.SigData";
|
|
889
|
+
readonly name: "sigData";
|
|
890
|
+
readonly type: "tuple";
|
|
891
|
+
}, {
|
|
892
|
+
readonly components: readonly [{
|
|
893
|
+
readonly internalType: "address";
|
|
894
|
+
readonly name: "token";
|
|
895
|
+
readonly type: "address";
|
|
896
|
+
}, {
|
|
897
|
+
readonly internalType: "address payable";
|
|
898
|
+
readonly name: "recipient";
|
|
899
|
+
readonly type: "address";
|
|
1686
900
|
}, {
|
|
1687
901
|
readonly internalType: "uint256";
|
|
1688
|
-
readonly name: "
|
|
902
|
+
readonly name: "amount";
|
|
1689
903
|
readonly type: "uint256";
|
|
1690
904
|
}];
|
|
1691
|
-
readonly internalType: "struct
|
|
1692
|
-
readonly name: "
|
|
905
|
+
readonly internalType: "struct IShared.TransferParams[]";
|
|
906
|
+
readonly name: "transferParamsArray";
|
|
1693
907
|
readonly type: "tuple[]";
|
|
1694
908
|
}];
|
|
1695
|
-
readonly name: "
|
|
909
|
+
readonly name: "transferBatch";
|
|
1696
910
|
readonly outputs: readonly [];
|
|
1697
911
|
readonly stateMutability: "nonpayable";
|
|
1698
912
|
readonly type: "function";
|
|
1699
913
|
}, {
|
|
1700
914
|
readonly inputs: readonly [{
|
|
1701
|
-
readonly
|
|
1702
|
-
|
|
1703
|
-
|
|
915
|
+
readonly components: readonly [{
|
|
916
|
+
readonly internalType: "uint256";
|
|
917
|
+
readonly name: "sig";
|
|
918
|
+
readonly type: "uint256";
|
|
919
|
+
}, {
|
|
920
|
+
readonly internalType: "uint256";
|
|
921
|
+
readonly name: "nonce";
|
|
922
|
+
readonly type: "uint256";
|
|
923
|
+
}, {
|
|
924
|
+
readonly internalType: "address";
|
|
925
|
+
readonly name: "kTimesGAddress";
|
|
926
|
+
readonly type: "address";
|
|
927
|
+
}];
|
|
928
|
+
readonly internalType: "struct IShared.SigData";
|
|
929
|
+
readonly name: "sigData";
|
|
930
|
+
readonly type: "tuple";
|
|
931
|
+
}, {
|
|
932
|
+
readonly components: readonly [{
|
|
933
|
+
readonly internalType: "address";
|
|
934
|
+
readonly name: "token";
|
|
935
|
+
readonly type: "address";
|
|
936
|
+
}, {
|
|
937
|
+
readonly internalType: "address payable";
|
|
938
|
+
readonly name: "recipient";
|
|
939
|
+
readonly type: "address";
|
|
940
|
+
}, {
|
|
941
|
+
readonly internalType: "uint256";
|
|
942
|
+
readonly name: "amount";
|
|
943
|
+
readonly type: "uint256";
|
|
944
|
+
}];
|
|
945
|
+
readonly internalType: "struct IShared.TransferParams";
|
|
946
|
+
readonly name: "transferParams";
|
|
947
|
+
readonly type: "tuple";
|
|
1704
948
|
}];
|
|
1705
|
-
readonly name: "
|
|
949
|
+
readonly name: "transferFallback";
|
|
1706
950
|
readonly outputs: readonly [];
|
|
1707
951
|
readonly stateMutability: "nonpayable";
|
|
1708
952
|
readonly type: "function";
|
|
1709
953
|
}, {
|
|
1710
954
|
readonly inputs: readonly [{
|
|
1711
|
-
readonly
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
955
|
+
readonly components: readonly [{
|
|
956
|
+
readonly internalType: "uint256";
|
|
957
|
+
readonly name: "sig";
|
|
958
|
+
readonly type: "uint256";
|
|
959
|
+
}, {
|
|
960
|
+
readonly internalType: "uint256";
|
|
961
|
+
readonly name: "nonce";
|
|
962
|
+
readonly type: "uint256";
|
|
963
|
+
}, {
|
|
964
|
+
readonly internalType: "address";
|
|
965
|
+
readonly name: "kTimesGAddress";
|
|
966
|
+
readonly type: "address";
|
|
967
|
+
}];
|
|
968
|
+
readonly internalType: "struct IShared.SigData";
|
|
969
|
+
readonly name: "sigData";
|
|
970
|
+
readonly type: "tuple";
|
|
971
|
+
}, {
|
|
972
|
+
readonly internalType: "contract IKeyManager";
|
|
973
|
+
readonly name: "keyManager";
|
|
974
|
+
readonly type: "address";
|
|
975
|
+
}, {
|
|
1717
976
|
readonly internalType: "bool";
|
|
1718
|
-
readonly name: "";
|
|
977
|
+
readonly name: "omitChecks";
|
|
1719
978
|
readonly type: "bool";
|
|
1720
979
|
}];
|
|
1721
|
-
readonly
|
|
1722
|
-
readonly
|
|
1723
|
-
|
|
1724
|
-
readonly inputs: readonly [];
|
|
1725
|
-
readonly name: "symbol";
|
|
1726
|
-
readonly outputs: readonly [{
|
|
1727
|
-
readonly internalType: "string";
|
|
1728
|
-
readonly name: "";
|
|
1729
|
-
readonly type: "string";
|
|
1730
|
-
}];
|
|
1731
|
-
readonly stateMutability: "view";
|
|
1732
|
-
readonly type: "function";
|
|
1733
|
-
}, {
|
|
1734
|
-
readonly inputs: readonly [];
|
|
1735
|
-
readonly name: "totalAssets";
|
|
1736
|
-
readonly outputs: readonly [{
|
|
1737
|
-
readonly internalType: "uint256";
|
|
1738
|
-
readonly name: "";
|
|
1739
|
-
readonly type: "uint256";
|
|
1740
|
-
}];
|
|
1741
|
-
readonly stateMutability: "view";
|
|
980
|
+
readonly name: "updateKeyManager";
|
|
981
|
+
readonly outputs: readonly [];
|
|
982
|
+
readonly stateMutability: "nonpayable";
|
|
1742
983
|
readonly type: "function";
|
|
1743
984
|
}, {
|
|
1744
|
-
readonly inputs: readonly [
|
|
1745
|
-
|
|
1746
|
-
|
|
985
|
+
readonly inputs: readonly [{
|
|
986
|
+
readonly internalType: "uint32";
|
|
987
|
+
readonly name: "dstChain";
|
|
988
|
+
readonly type: "uint32";
|
|
989
|
+
}, {
|
|
990
|
+
readonly internalType: "bytes";
|
|
991
|
+
readonly name: "dstAddress";
|
|
992
|
+
readonly type: "bytes";
|
|
993
|
+
}, {
|
|
994
|
+
readonly internalType: "uint32";
|
|
995
|
+
readonly name: "dstToken";
|
|
996
|
+
readonly type: "uint32";
|
|
997
|
+
}, {
|
|
998
|
+
readonly internalType: "bytes";
|
|
999
|
+
readonly name: "message";
|
|
1000
|
+
readonly type: "bytes";
|
|
1001
|
+
}, {
|
|
1747
1002
|
readonly internalType: "uint256";
|
|
1748
|
-
readonly name: "";
|
|
1003
|
+
readonly name: "gasAmount";
|
|
1749
1004
|
readonly type: "uint256";
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly internalType: "bytes";
|
|
1007
|
+
readonly name: "cfParameters";
|
|
1008
|
+
readonly type: "bytes";
|
|
1750
1009
|
}];
|
|
1751
|
-
readonly
|
|
1010
|
+
readonly name: "xCallNative";
|
|
1011
|
+
readonly outputs: readonly [];
|
|
1012
|
+
readonly stateMutability: "payable";
|
|
1752
1013
|
readonly type: "function";
|
|
1753
1014
|
}, {
|
|
1754
1015
|
readonly inputs: readonly [{
|
|
1755
|
-
readonly internalType: "
|
|
1756
|
-
readonly name: "
|
|
1757
|
-
readonly type: "
|
|
1016
|
+
readonly internalType: "uint32";
|
|
1017
|
+
readonly name: "dstChain";
|
|
1018
|
+
readonly type: "uint32";
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly internalType: "bytes";
|
|
1021
|
+
readonly name: "dstAddress";
|
|
1022
|
+
readonly type: "bytes";
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly internalType: "uint32";
|
|
1025
|
+
readonly name: "dstToken";
|
|
1026
|
+
readonly type: "uint32";
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly internalType: "bytes";
|
|
1029
|
+
readonly name: "message";
|
|
1030
|
+
readonly type: "bytes";
|
|
1758
1031
|
}, {
|
|
1759
1032
|
readonly internalType: "uint256";
|
|
1760
|
-
readonly name: "
|
|
1033
|
+
readonly name: "gasAmount";
|
|
1761
1034
|
readonly type: "uint256";
|
|
1762
|
-
}];
|
|
1763
|
-
readonly name: "transfer";
|
|
1764
|
-
readonly outputs: readonly [{
|
|
1765
|
-
readonly internalType: "bool";
|
|
1766
|
-
readonly name: "";
|
|
1767
|
-
readonly type: "bool";
|
|
1768
|
-
}];
|
|
1769
|
-
readonly stateMutability: "nonpayable";
|
|
1770
|
-
readonly type: "function";
|
|
1771
|
-
}, {
|
|
1772
|
-
readonly inputs: readonly [{
|
|
1773
|
-
readonly internalType: "address";
|
|
1774
|
-
readonly name: "from";
|
|
1775
|
-
readonly type: "address";
|
|
1776
1035
|
}, {
|
|
1777
|
-
readonly internalType: "
|
|
1778
|
-
readonly name: "
|
|
1036
|
+
readonly internalType: "contract IERC20";
|
|
1037
|
+
readonly name: "srcToken";
|
|
1779
1038
|
readonly type: "address";
|
|
1780
1039
|
}, {
|
|
1781
1040
|
readonly internalType: "uint256";
|
|
1782
|
-
readonly name: "
|
|
1783
|
-
readonly type: "uint256";
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
readonly
|
|
1788
|
-
readonly name: "";
|
|
1789
|
-
readonly type: "bool";
|
|
1790
|
-
}];
|
|
1791
|
-
readonly stateMutability: "nonpayable";
|
|
1792
|
-
readonly type: "function";
|
|
1793
|
-
}, {
|
|
1794
|
-
readonly inputs: readonly [];
|
|
1795
|
-
readonly name: "transferable";
|
|
1796
|
-
readonly outputs: readonly [{
|
|
1797
|
-
readonly internalType: "bool";
|
|
1798
|
-
readonly name: "";
|
|
1799
|
-
readonly type: "bool";
|
|
1041
|
+
readonly name: "amount";
|
|
1042
|
+
readonly type: "uint256";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly internalType: "bytes";
|
|
1045
|
+
readonly name: "cfParameters";
|
|
1046
|
+
readonly type: "bytes";
|
|
1800
1047
|
}];
|
|
1801
|
-
readonly
|
|
1802
|
-
readonly type: "function";
|
|
1803
|
-
}, {
|
|
1804
|
-
readonly inputs: readonly [];
|
|
1805
|
-
readonly name: "unpauseDeposit";
|
|
1048
|
+
readonly name: "xCallToken";
|
|
1806
1049
|
readonly outputs: readonly [];
|
|
1807
1050
|
readonly stateMutability: "nonpayable";
|
|
1808
1051
|
readonly type: "function";
|
|
1809
1052
|
}, {
|
|
1810
1053
|
readonly inputs: readonly [{
|
|
1811
|
-
readonly
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
readonly name: "recipients_";
|
|
1827
|
-
readonly type: "tuple[]";
|
|
1828
|
-
}, {
|
|
1829
|
-
readonly internalType: "address";
|
|
1830
|
-
readonly name: "feeDispatcher_";
|
|
1831
|
-
readonly type: "address";
|
|
1832
|
-
}, {
|
|
1833
|
-
readonly internalType: "enum Vault.AdditionalRewardsStrategy";
|
|
1834
|
-
readonly name: "additionalRewardsStrategy_";
|
|
1835
|
-
readonly type: "uint8";
|
|
1836
|
-
}, {
|
|
1837
|
-
readonly internalType: "contract BlockList";
|
|
1838
|
-
readonly name: "blockList_";
|
|
1839
|
-
readonly type: "address";
|
|
1840
|
-
}, {
|
|
1841
|
-
readonly internalType: "uint256";
|
|
1842
|
-
readonly name: "pendingDepositFee_";
|
|
1843
|
-
readonly type: "uint256";
|
|
1844
|
-
}, {
|
|
1845
|
-
readonly internalType: "uint256";
|
|
1846
|
-
readonly name: "pendingRewardFee_";
|
|
1847
|
-
readonly type: "uint256";
|
|
1848
|
-
}, {
|
|
1849
|
-
readonly internalType: "contract IConnectorRegistry";
|
|
1850
|
-
readonly name: "connectorRegistry_";
|
|
1851
|
-
readonly type: "address";
|
|
1852
|
-
}, {
|
|
1853
|
-
readonly internalType: "address";
|
|
1854
|
-
readonly name: "initialFeeCollector_";
|
|
1855
|
-
readonly type: "address";
|
|
1856
|
-
}];
|
|
1857
|
-
readonly internalType: "struct Vault.UpgradeParams";
|
|
1858
|
-
readonly name: "upgradeParams";
|
|
1859
|
-
readonly type: "tuple";
|
|
1054
|
+
readonly internalType: "uint32";
|
|
1055
|
+
readonly name: "dstChain";
|
|
1056
|
+
readonly type: "uint32";
|
|
1057
|
+
}, {
|
|
1058
|
+
readonly internalType: "bytes";
|
|
1059
|
+
readonly name: "dstAddress";
|
|
1060
|
+
readonly type: "bytes";
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly internalType: "uint32";
|
|
1063
|
+
readonly name: "dstToken";
|
|
1064
|
+
readonly type: "uint32";
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly internalType: "bytes";
|
|
1067
|
+
readonly name: "cfParameters";
|
|
1068
|
+
readonly type: "bytes";
|
|
1860
1069
|
}];
|
|
1861
|
-
readonly name: "
|
|
1070
|
+
readonly name: "xSwapNative";
|
|
1862
1071
|
readonly outputs: readonly [];
|
|
1863
|
-
readonly stateMutability: "
|
|
1864
|
-
readonly type: "function";
|
|
1865
|
-
}, {
|
|
1866
|
-
readonly inputs: readonly [];
|
|
1867
|
-
readonly name: "vaultFactory";
|
|
1868
|
-
readonly outputs: readonly [{
|
|
1869
|
-
readonly internalType: "address";
|
|
1870
|
-
readonly name: "";
|
|
1871
|
-
readonly type: "address";
|
|
1872
|
-
}];
|
|
1873
|
-
readonly stateMutability: "view";
|
|
1072
|
+
readonly stateMutability: "payable";
|
|
1874
1073
|
readonly type: "function";
|
|
1875
1074
|
}, {
|
|
1876
1075
|
readonly inputs: readonly [{
|
|
1877
|
-
readonly internalType: "
|
|
1878
|
-
readonly name: "
|
|
1879
|
-
readonly type: "
|
|
1076
|
+
readonly internalType: "uint32";
|
|
1077
|
+
readonly name: "dstChain";
|
|
1078
|
+
readonly type: "uint32";
|
|
1880
1079
|
}, {
|
|
1881
|
-
readonly internalType: "
|
|
1882
|
-
readonly name: "
|
|
1883
|
-
readonly type: "
|
|
1080
|
+
readonly internalType: "bytes";
|
|
1081
|
+
readonly name: "dstAddress";
|
|
1082
|
+
readonly type: "bytes";
|
|
1884
1083
|
}, {
|
|
1885
|
-
readonly internalType: "
|
|
1886
|
-
readonly name: "
|
|
1084
|
+
readonly internalType: "uint32";
|
|
1085
|
+
readonly name: "dstToken";
|
|
1086
|
+
readonly type: "uint32";
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly internalType: "contract IERC20";
|
|
1089
|
+
readonly name: "srcToken";
|
|
1887
1090
|
readonly type: "address";
|
|
1888
|
-
}
|
|
1889
|
-
readonly name: "withdraw";
|
|
1890
|
-
readonly outputs: readonly [{
|
|
1091
|
+
}, {
|
|
1891
1092
|
readonly internalType: "uint256";
|
|
1892
|
-
readonly name: "";
|
|
1093
|
+
readonly name: "amount";
|
|
1893
1094
|
readonly type: "uint256";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly internalType: "bytes";
|
|
1097
|
+
readonly name: "cfParameters";
|
|
1098
|
+
readonly type: "bytes";
|
|
1894
1099
|
}];
|
|
1100
|
+
readonly name: "xSwapToken";
|
|
1101
|
+
readonly outputs: readonly [];
|
|
1895
1102
|
readonly stateMutability: "nonpayable";
|
|
1896
1103
|
readonly type: "function";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly stateMutability: "payable";
|
|
1106
|
+
readonly type: "receive";
|
|
1897
1107
|
}];
|
|
1898
1108
|
/**
|
|
1899
1109
|
* Type-safe ABI for Vault_json
|
|
@@ -1952,375 +1162,36 @@ export declare class Vault_json {
|
|
|
1952
1162
|
*/
|
|
1953
1163
|
getContract(): Vault_jsonContract;
|
|
1954
1164
|
/**
|
|
1955
|
-
*
|
|
1956
|
-
* view
|
|
1957
|
-
*/
|
|
1958
|
-
CLAIM_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
1959
|
-
/**
|
|
1960
|
-
* DEFAULT_ADMIN_ROLE
|
|
1961
|
-
* view
|
|
1962
|
-
*/
|
|
1963
|
-
DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
|
|
1964
|
-
/**
|
|
1965
|
-
* FEE_COLLECTOR_ROLE
|
|
1966
|
-
* view
|
|
1967
|
-
*/
|
|
1968
|
-
FEE_COLLECTOR_ROLE(): Promise<`0x${string}`>;
|
|
1969
|
-
/**
|
|
1970
|
-
* FEE_MANAGER_ROLE
|
|
1971
|
-
* view
|
|
1972
|
-
*/
|
|
1973
|
-
FEE_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
1974
|
-
/**
|
|
1975
|
-
* PAUSER_ROLE
|
|
1976
|
-
* view
|
|
1977
|
-
*/
|
|
1978
|
-
PAUSER_ROLE(): Promise<`0x${string}`>;
|
|
1979
|
-
/**
|
|
1980
|
-
* SANCTIONS_MANAGER_ROLE
|
|
1981
|
-
* view
|
|
1982
|
-
*/
|
|
1983
|
-
SANCTIONS_MANAGER_ROLE(): Promise<`0x${string}`>;
|
|
1984
|
-
/**
|
|
1985
|
-
* SPENDER_ROLE
|
|
1986
|
-
* view
|
|
1987
|
-
*/
|
|
1988
|
-
SPENDER_ROLE(): Promise<`0x${string}`>;
|
|
1989
|
-
/**
|
|
1990
|
-
* UNPAUSER_ROLE
|
|
1991
|
-
* view
|
|
1992
|
-
*/
|
|
1993
|
-
UNPAUSER_ROLE(): Promise<`0x${string}`>;
|
|
1994
|
-
/**
|
|
1995
|
-
* additionalRewardsStrategy
|
|
1996
|
-
* view
|
|
1997
|
-
*/
|
|
1998
|
-
additionalRewardsStrategy(): Promise<bigint>;
|
|
1999
|
-
/**
|
|
2000
|
-
* allowance
|
|
2001
|
-
* view
|
|
2002
|
-
*/
|
|
2003
|
-
allowance(owner: `0x${string}`, spender: `0x${string}`): Promise<bigint>;
|
|
2004
|
-
/**
|
|
2005
|
-
* asset
|
|
2006
|
-
* view
|
|
2007
|
-
*/
|
|
2008
|
-
asset(): Promise<`0x${string}`>;
|
|
2009
|
-
/**
|
|
2010
|
-
* balanceOf
|
|
2011
|
-
* view
|
|
2012
|
-
*/
|
|
2013
|
-
balanceOf(account: `0x${string}`): Promise<bigint>;
|
|
2014
|
-
/**
|
|
2015
|
-
* blockList
|
|
2016
|
-
* view
|
|
2017
|
-
*/
|
|
2018
|
-
blockList(): Promise<`0x${string}`>;
|
|
2019
|
-
/**
|
|
2020
|
-
* collectableRewardFees
|
|
2021
|
-
* view
|
|
2022
|
-
*/
|
|
2023
|
-
collectableRewardFees(): Promise<bigint>;
|
|
2024
|
-
/**
|
|
2025
|
-
* connectorName
|
|
2026
|
-
* view
|
|
2027
|
-
*/
|
|
2028
|
-
connectorName(): Promise<`0x${string}`>;
|
|
2029
|
-
/**
|
|
2030
|
-
* connectorRegistry
|
|
2031
|
-
* view
|
|
2032
|
-
*/
|
|
2033
|
-
connectorRegistry(): Promise<`0x${string}`>;
|
|
2034
|
-
/**
|
|
2035
|
-
* convertToAssets
|
|
2036
|
-
* view
|
|
2037
|
-
*/
|
|
2038
|
-
convertToAssets(shares: bigint): Promise<bigint>;
|
|
2039
|
-
/**
|
|
2040
|
-
* convertToShares
|
|
2041
|
-
* view
|
|
2042
|
-
*/
|
|
2043
|
-
convertToShares(assets: bigint): Promise<bigint>;
|
|
2044
|
-
/**
|
|
2045
|
-
* decimals
|
|
2046
|
-
* view
|
|
2047
|
-
*/
|
|
2048
|
-
decimals(): Promise<bigint>;
|
|
2049
|
-
/**
|
|
2050
|
-
* defaultAdmin
|
|
2051
|
-
* view
|
|
2052
|
-
*/
|
|
2053
|
-
defaultAdmin(): Promise<`0x${string}`>;
|
|
2054
|
-
/**
|
|
2055
|
-
* defaultAdminDelay
|
|
2056
|
-
* view
|
|
2057
|
-
*/
|
|
2058
|
-
defaultAdminDelay(): Promise<bigint>;
|
|
2059
|
-
/**
|
|
2060
|
-
* defaultAdminDelayIncreaseWait
|
|
2061
|
-
* view
|
|
2062
|
-
*/
|
|
2063
|
-
defaultAdminDelayIncreaseWait(): Promise<bigint>;
|
|
2064
|
-
/**
|
|
2065
|
-
* depositFee
|
|
2066
|
-
* view
|
|
2067
|
-
*/
|
|
2068
|
-
depositFee(): Promise<bigint>;
|
|
2069
|
-
/**
|
|
2070
|
-
* feeRecipient
|
|
2071
|
-
* view
|
|
2072
|
-
*/
|
|
2073
|
-
feeRecipient(recipient: `0x${string}`): Promise<IFeeDispatcher_FeeRecipient>;
|
|
2074
|
-
/**
|
|
2075
|
-
* feeRecipientAt
|
|
2076
|
-
* view
|
|
2077
|
-
*/
|
|
2078
|
-
feeRecipientAt(index: bigint): Promise<IFeeDispatcher_FeeRecipient>;
|
|
2079
|
-
/**
|
|
2080
|
-
* feeRecipients
|
|
2081
|
-
* view
|
|
2082
|
-
*/
|
|
2083
|
-
feeRecipients(): Promise<IFeeDispatcher_FeeRecipient[]>;
|
|
2084
|
-
/**
|
|
2085
|
-
* getRoleAdmin
|
|
2086
|
-
* view
|
|
2087
|
-
*/
|
|
2088
|
-
getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
|
|
2089
|
-
/**
|
|
2090
|
-
* hasRole
|
|
2091
|
-
* view
|
|
2092
|
-
*/
|
|
2093
|
-
hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
|
|
2094
|
-
/**
|
|
2095
|
-
* maxDeposit
|
|
2096
|
-
* view
|
|
2097
|
-
*/
|
|
2098
|
-
maxDeposit(arg0: `0x${string}`): Promise<bigint>;
|
|
2099
|
-
/**
|
|
2100
|
-
* maxMint
|
|
2101
|
-
* view
|
|
2102
|
-
*/
|
|
2103
|
-
maxMint(arg0: `0x${string}`): Promise<bigint>;
|
|
2104
|
-
/**
|
|
2105
|
-
* maxRedeem
|
|
2106
|
-
* view
|
|
2107
|
-
*/
|
|
2108
|
-
maxRedeem(owner: `0x${string}`): Promise<bigint>;
|
|
2109
|
-
/**
|
|
2110
|
-
* maxWithdraw
|
|
2111
|
-
* view
|
|
2112
|
-
*/
|
|
2113
|
-
maxWithdraw(owner: `0x${string}`): Promise<bigint>;
|
|
2114
|
-
/**
|
|
2115
|
-
* name
|
|
2116
|
-
* view
|
|
2117
|
-
*/
|
|
2118
|
-
name(): Promise<string>;
|
|
2119
|
-
/**
|
|
2120
|
-
* owner
|
|
2121
|
-
* view
|
|
2122
|
-
*/
|
|
2123
|
-
owner(): Promise<`0x${string}`>;
|
|
2124
|
-
/**
|
|
2125
|
-
* pendingDefaultAdmin
|
|
2126
|
-
* view
|
|
2127
|
-
*/
|
|
2128
|
-
pendingDefaultAdmin(): Promise<[`0x${string}`, bigint]>;
|
|
2129
|
-
/**
|
|
2130
|
-
* pendingDefaultAdminDelay
|
|
2131
|
-
* view
|
|
2132
|
-
*/
|
|
2133
|
-
pendingDefaultAdminDelay(): Promise<[bigint, bigint]>;
|
|
2134
|
-
/**
|
|
2135
|
-
* pendingDepositFee
|
|
2136
|
-
* view
|
|
2137
|
-
*/
|
|
2138
|
-
pendingDepositFee(): Promise<bigint>;
|
|
2139
|
-
/**
|
|
2140
|
-
* pendingRewardFee
|
|
2141
|
-
* view
|
|
2142
|
-
*/
|
|
2143
|
-
pendingRewardFee(): Promise<bigint>;
|
|
2144
|
-
/**
|
|
2145
|
-
* previewDeposit
|
|
2146
|
-
* view
|
|
2147
|
-
*/
|
|
2148
|
-
previewDeposit(assets: bigint): Promise<bigint>;
|
|
2149
|
-
/**
|
|
2150
|
-
* previewMint
|
|
2151
|
-
* view
|
|
2152
|
-
*/
|
|
2153
|
-
previewMint(shares: bigint): Promise<bigint>;
|
|
2154
|
-
/**
|
|
2155
|
-
* previewRedeem
|
|
2156
|
-
* view
|
|
2157
|
-
*/
|
|
2158
|
-
previewRedeem(shares: bigint): Promise<bigint>;
|
|
2159
|
-
/**
|
|
2160
|
-
* previewWithdraw
|
|
2161
|
-
* view
|
|
2162
|
-
*/
|
|
2163
|
-
previewWithdraw(assets: bigint): Promise<bigint>;
|
|
2164
|
-
/**
|
|
2165
|
-
* rewardFee
|
|
1165
|
+
* getCommunityGuardDisabled
|
|
2166
1166
|
* view
|
|
2167
1167
|
*/
|
|
2168
|
-
|
|
1168
|
+
getCommunityGuardDisabled(): Promise<boolean>;
|
|
2169
1169
|
/**
|
|
2170
|
-
*
|
|
1170
|
+
* getCommunityKey
|
|
2171
1171
|
* view
|
|
2172
1172
|
*/
|
|
2173
|
-
|
|
2174
|
-
/**
|
|
2175
|
-
* symbol
|
|
2176
|
-
* view
|
|
2177
|
-
*/
|
|
2178
|
-
symbol(): Promise<string>;
|
|
2179
|
-
/**
|
|
2180
|
-
* totalAssets
|
|
2181
|
-
* view
|
|
2182
|
-
*/
|
|
2183
|
-
totalAssets(): Promise<bigint>;
|
|
2184
|
-
/**
|
|
2185
|
-
* totalSupply
|
|
2186
|
-
* view
|
|
2187
|
-
*/
|
|
2188
|
-
totalSupply(): Promise<bigint>;
|
|
2189
|
-
/**
|
|
2190
|
-
* transferable
|
|
2191
|
-
* view
|
|
2192
|
-
*/
|
|
2193
|
-
transferable(): Promise<boolean>;
|
|
2194
|
-
/**
|
|
2195
|
-
* vaultFactory
|
|
2196
|
-
* view
|
|
2197
|
-
*/
|
|
2198
|
-
vaultFactory(): Promise<`0x${string}`>;
|
|
2199
|
-
/**
|
|
2200
|
-
* acceptDefaultAdminTransfer
|
|
2201
|
-
* nonpayable
|
|
2202
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2203
|
-
*/
|
|
2204
|
-
acceptDefaultAdminTransfer(options?: {
|
|
2205
|
-
accessList?: import('viem').AccessList;
|
|
2206
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
2207
|
-
chain?: import('viem').Chain | null;
|
|
2208
|
-
dataSuffix?: `0x${string}`;
|
|
2209
|
-
gas?: bigint;
|
|
2210
|
-
gasPrice?: bigint;
|
|
2211
|
-
maxFeePerGas?: bigint;
|
|
2212
|
-
maxPriorityFeePerGas?: bigint;
|
|
2213
|
-
nonce?: number;
|
|
2214
|
-
value?: bigint;
|
|
2215
|
-
}): Promise<`0x${string}`>;
|
|
2216
|
-
/**
|
|
2217
|
-
* approve
|
|
2218
|
-
* nonpayable
|
|
2219
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2220
|
-
*/
|
|
2221
|
-
approve(spender: `0x${string}`, value: bigint, options?: {
|
|
2222
|
-
accessList?: import('viem').AccessList;
|
|
2223
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
2224
|
-
chain?: import('viem').Chain | null;
|
|
2225
|
-
dataSuffix?: `0x${string}`;
|
|
2226
|
-
gas?: bigint;
|
|
2227
|
-
gasPrice?: bigint;
|
|
2228
|
-
maxFeePerGas?: bigint;
|
|
2229
|
-
maxPriorityFeePerGas?: bigint;
|
|
2230
|
-
nonce?: number;
|
|
2231
|
-
value?: bigint;
|
|
2232
|
-
}): Promise<`0x${string}`>;
|
|
2233
|
-
/**
|
|
2234
|
-
* beginDefaultAdminTransfer
|
|
2235
|
-
* nonpayable
|
|
2236
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2237
|
-
*/
|
|
2238
|
-
beginDefaultAdminTransfer(newAdmin: `0x${string}`, options?: {
|
|
2239
|
-
accessList?: import('viem').AccessList;
|
|
2240
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
2241
|
-
chain?: import('viem').Chain | null;
|
|
2242
|
-
dataSuffix?: `0x${string}`;
|
|
2243
|
-
gas?: bigint;
|
|
2244
|
-
gasPrice?: bigint;
|
|
2245
|
-
maxFeePerGas?: bigint;
|
|
2246
|
-
maxPriorityFeePerGas?: bigint;
|
|
2247
|
-
nonce?: number;
|
|
2248
|
-
value?: bigint;
|
|
2249
|
-
}): Promise<`0x${string}`>;
|
|
2250
|
-
/**
|
|
2251
|
-
* cancelDefaultAdminTransfer
|
|
2252
|
-
* nonpayable
|
|
2253
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2254
|
-
*/
|
|
2255
|
-
cancelDefaultAdminTransfer(options?: {
|
|
2256
|
-
accessList?: import('viem').AccessList;
|
|
2257
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
2258
|
-
chain?: import('viem').Chain | null;
|
|
2259
|
-
dataSuffix?: `0x${string}`;
|
|
2260
|
-
gas?: bigint;
|
|
2261
|
-
gasPrice?: bigint;
|
|
2262
|
-
maxFeePerGas?: bigint;
|
|
2263
|
-
maxPriorityFeePerGas?: bigint;
|
|
2264
|
-
nonce?: number;
|
|
2265
|
-
value?: bigint;
|
|
2266
|
-
}): Promise<`0x${string}`>;
|
|
1173
|
+
getCommunityKey(): Promise<`0x${string}`>;
|
|
2267
1174
|
/**
|
|
2268
|
-
*
|
|
2269
|
-
*
|
|
2270
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1175
|
+
* getGovernor
|
|
1176
|
+
* view
|
|
2271
1177
|
*/
|
|
2272
|
-
|
|
2273
|
-
accessList?: import('viem').AccessList;
|
|
2274
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
2275
|
-
chain?: import('viem').Chain | null;
|
|
2276
|
-
dataSuffix?: `0x${string}`;
|
|
2277
|
-
gas?: bigint;
|
|
2278
|
-
gasPrice?: bigint;
|
|
2279
|
-
maxFeePerGas?: bigint;
|
|
2280
|
-
maxPriorityFeePerGas?: bigint;
|
|
2281
|
-
nonce?: number;
|
|
2282
|
-
value?: bigint;
|
|
2283
|
-
}): Promise<`0x${string}`>;
|
|
1178
|
+
getGovernor(): Promise<`0x${string}`>;
|
|
2284
1179
|
/**
|
|
2285
|
-
*
|
|
2286
|
-
*
|
|
2287
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1180
|
+
* getKeyManager
|
|
1181
|
+
* view
|
|
2288
1182
|
*/
|
|
2289
|
-
|
|
2290
|
-
accessList?: import('viem').AccessList;
|
|
2291
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
2292
|
-
chain?: import('viem').Chain | null;
|
|
2293
|
-
dataSuffix?: `0x${string}`;
|
|
2294
|
-
gas?: bigint;
|
|
2295
|
-
gasPrice?: bigint;
|
|
2296
|
-
maxFeePerGas?: bigint;
|
|
2297
|
-
maxPriorityFeePerGas?: bigint;
|
|
2298
|
-
nonce?: number;
|
|
2299
|
-
value?: bigint;
|
|
2300
|
-
}): Promise<`0x${string}`>;
|
|
1183
|
+
getKeyManager(): Promise<`0x${string}`>;
|
|
2301
1184
|
/**
|
|
2302
|
-
*
|
|
2303
|
-
*
|
|
2304
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1185
|
+
* getSuspendedState
|
|
1186
|
+
* view
|
|
2305
1187
|
*/
|
|
2306
|
-
|
|
2307
|
-
accessList?: import('viem').AccessList;
|
|
2308
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
2309
|
-
chain?: import('viem').Chain | null;
|
|
2310
|
-
dataSuffix?: `0x${string}`;
|
|
2311
|
-
gas?: bigint;
|
|
2312
|
-
gasPrice?: bigint;
|
|
2313
|
-
maxFeePerGas?: bigint;
|
|
2314
|
-
maxPriorityFeePerGas?: bigint;
|
|
2315
|
-
nonce?: number;
|
|
2316
|
-
value?: bigint;
|
|
2317
|
-
}): Promise<`0x${string}`>;
|
|
1188
|
+
getSuspendedState(): Promise<boolean>;
|
|
2318
1189
|
/**
|
|
2319
|
-
*
|
|
2320
|
-
*
|
|
1190
|
+
* addGasNative
|
|
1191
|
+
* payable
|
|
2321
1192
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2322
1193
|
*/
|
|
2323
|
-
|
|
1194
|
+
addGasNative(swapID: `0x${string}`, options?: {
|
|
2324
1195
|
accessList?: import('viem').AccessList;
|
|
2325
1196
|
authorizationList?: import('viem').AuthorizationList;
|
|
2326
1197
|
chain?: import('viem').Chain | null;
|
|
@@ -2333,11 +1204,11 @@ export declare class Vault_json {
|
|
|
2333
1204
|
value?: bigint;
|
|
2334
1205
|
}): Promise<`0x${string}`>;
|
|
2335
1206
|
/**
|
|
2336
|
-
*
|
|
1207
|
+
* addGasToken
|
|
2337
1208
|
* nonpayable
|
|
2338
1209
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2339
1210
|
*/
|
|
2340
|
-
|
|
1211
|
+
addGasToken(swapID: `0x${string}`, amount: bigint, token: `0x${string}`, options?: {
|
|
2341
1212
|
accessList?: import('viem').AccessList;
|
|
2342
1213
|
authorizationList?: import('viem').AuthorizationList;
|
|
2343
1214
|
chain?: import('viem').Chain | null;
|
|
@@ -2350,11 +1221,11 @@ export declare class Vault_json {
|
|
|
2350
1221
|
value?: bigint;
|
|
2351
1222
|
}): Promise<`0x${string}`>;
|
|
2352
1223
|
/**
|
|
2353
|
-
*
|
|
1224
|
+
* allBatch
|
|
2354
1225
|
* nonpayable
|
|
2355
1226
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2356
1227
|
*/
|
|
2357
|
-
|
|
1228
|
+
allBatch(sigData: IShared_SigData, deployFetchParamsArray: IShared_DeployFetchParams[], fetchParamsArray: IShared_FetchParams[], transferParamsArray: IShared_TransferParams[], options?: {
|
|
2358
1229
|
accessList?: import('viem').AccessList;
|
|
2359
1230
|
authorizationList?: import('viem').AuthorizationList;
|
|
2360
1231
|
chain?: import('viem').Chain | null;
|
|
@@ -2367,11 +1238,11 @@ export declare class Vault_json {
|
|
|
2367
1238
|
value?: bigint;
|
|
2368
1239
|
}): Promise<`0x${string}`>;
|
|
2369
1240
|
/**
|
|
2370
|
-
*
|
|
1241
|
+
* allBatchV2
|
|
2371
1242
|
* nonpayable
|
|
2372
1243
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2373
1244
|
*/
|
|
2374
|
-
|
|
1245
|
+
allBatchV2(sigData: IShared_SigData, fetchParamsArray: IShared_FetchParams[], transferParamsArray: IShared_TransferParams[], options?: {
|
|
2375
1246
|
accessList?: import('viem').AccessList;
|
|
2376
1247
|
authorizationList?: import('viem').AuthorizationList;
|
|
2377
1248
|
chain?: import('viem').Chain | null;
|
|
@@ -2384,11 +1255,11 @@ export declare class Vault_json {
|
|
|
2384
1255
|
value?: bigint;
|
|
2385
1256
|
}): Promise<`0x${string}`>;
|
|
2386
1257
|
/**
|
|
2387
|
-
*
|
|
1258
|
+
* deployAndFetchBatch
|
|
2388
1259
|
* nonpayable
|
|
2389
1260
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2390
1261
|
*/
|
|
2391
|
-
|
|
1262
|
+
deployAndFetchBatch(sigData: IShared_SigData, deployFetchParamsArray: IShared_DeployFetchParams[], options?: {
|
|
2392
1263
|
accessList?: import('viem').AccessList;
|
|
2393
1264
|
authorizationList?: import('viem').AuthorizationList;
|
|
2394
1265
|
chain?: import('viem').Chain | null;
|
|
@@ -2401,11 +1272,11 @@ export declare class Vault_json {
|
|
|
2401
1272
|
value?: bigint;
|
|
2402
1273
|
}): Promise<`0x${string}`>;
|
|
2403
1274
|
/**
|
|
2404
|
-
*
|
|
1275
|
+
* disableCommunityGuard
|
|
2405
1276
|
* nonpayable
|
|
2406
1277
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2407
1278
|
*/
|
|
2408
|
-
|
|
1279
|
+
disableCommunityGuard(options?: {
|
|
2409
1280
|
accessList?: import('viem').AccessList;
|
|
2410
1281
|
authorizationList?: import('viem').AuthorizationList;
|
|
2411
1282
|
chain?: import('viem').Chain | null;
|
|
@@ -2418,11 +1289,11 @@ export declare class Vault_json {
|
|
|
2418
1289
|
value?: bigint;
|
|
2419
1290
|
}): Promise<`0x${string}`>;
|
|
2420
1291
|
/**
|
|
2421
|
-
*
|
|
1292
|
+
* enableCommunityGuard
|
|
2422
1293
|
* nonpayable
|
|
2423
1294
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2424
1295
|
*/
|
|
2425
|
-
|
|
1296
|
+
enableCommunityGuard(options?: {
|
|
2426
1297
|
accessList?: import('viem').AccessList;
|
|
2427
1298
|
authorizationList?: import('viem').AuthorizationList;
|
|
2428
1299
|
chain?: import('viem').Chain | null;
|
|
@@ -2435,11 +1306,11 @@ export declare class Vault_json {
|
|
|
2435
1306
|
value?: bigint;
|
|
2436
1307
|
}): Promise<`0x${string}`>;
|
|
2437
1308
|
/**
|
|
2438
|
-
*
|
|
1309
|
+
* executeActions
|
|
2439
1310
|
* nonpayable
|
|
2440
1311
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2441
1312
|
*/
|
|
2442
|
-
|
|
1313
|
+
executeActions(sigData: IShared_SigData, transferParams: IShared_TransferParams, calls: IMulticall_Call[], gasMulticall: bigint, options?: {
|
|
2443
1314
|
accessList?: import('viem').AccessList;
|
|
2444
1315
|
authorizationList?: import('viem').AuthorizationList;
|
|
2445
1316
|
chain?: import('viem').Chain | null;
|
|
@@ -2452,11 +1323,11 @@ export declare class Vault_json {
|
|
|
2452
1323
|
value?: bigint;
|
|
2453
1324
|
}): Promise<`0x${string}`>;
|
|
2454
1325
|
/**
|
|
2455
|
-
*
|
|
1326
|
+
* executexCall
|
|
2456
1327
|
* nonpayable
|
|
2457
1328
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2458
1329
|
*/
|
|
2459
|
-
|
|
1330
|
+
executexCall(sigData: IShared_SigData, recipient: `0x${string}`, srcChain: bigint, srcAddress: `0x${string}`, message: `0x${string}`, options?: {
|
|
2460
1331
|
accessList?: import('viem').AccessList;
|
|
2461
1332
|
authorizationList?: import('viem').AuthorizationList;
|
|
2462
1333
|
chain?: import('viem').Chain | null;
|
|
@@ -2469,11 +1340,11 @@ export declare class Vault_json {
|
|
|
2469
1340
|
value?: bigint;
|
|
2470
1341
|
}): Promise<`0x${string}`>;
|
|
2471
1342
|
/**
|
|
2472
|
-
*
|
|
1343
|
+
* executexSwapAndCall
|
|
2473
1344
|
* nonpayable
|
|
2474
1345
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2475
1346
|
*/
|
|
2476
|
-
|
|
1347
|
+
executexSwapAndCall(sigData: IShared_SigData, transferParams: IShared_TransferParams, srcChain: bigint, srcAddress: `0x${string}`, message: `0x${string}`, options?: {
|
|
2477
1348
|
accessList?: import('viem').AccessList;
|
|
2478
1349
|
authorizationList?: import('viem').AuthorizationList;
|
|
2479
1350
|
chain?: import('viem').Chain | null;
|
|
@@ -2486,11 +1357,11 @@ export declare class Vault_json {
|
|
|
2486
1357
|
value?: bigint;
|
|
2487
1358
|
}): Promise<`0x${string}`>;
|
|
2488
1359
|
/**
|
|
2489
|
-
*
|
|
1360
|
+
* fetchBatch
|
|
2490
1361
|
* nonpayable
|
|
2491
1362
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2492
1363
|
*/
|
|
2493
|
-
|
|
1364
|
+
fetchBatch(sigData: IShared_SigData, fetchParamsArray: IShared_FetchParams[], options?: {
|
|
2494
1365
|
accessList?: import('viem').AccessList;
|
|
2495
1366
|
authorizationList?: import('viem').AuthorizationList;
|
|
2496
1367
|
chain?: import('viem').Chain | null;
|
|
@@ -2503,11 +1374,11 @@ export declare class Vault_json {
|
|
|
2503
1374
|
value?: bigint;
|
|
2504
1375
|
}): Promise<`0x${string}`>;
|
|
2505
1376
|
/**
|
|
2506
|
-
*
|
|
1377
|
+
* govWithdraw
|
|
2507
1378
|
* nonpayable
|
|
2508
1379
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2509
1380
|
*/
|
|
2510
|
-
|
|
1381
|
+
govWithdraw(tokens: `0x${string}`[], options?: {
|
|
2511
1382
|
accessList?: import('viem').AccessList;
|
|
2512
1383
|
authorizationList?: import('viem').AuthorizationList;
|
|
2513
1384
|
chain?: import('viem').Chain | null;
|
|
@@ -2520,11 +1391,11 @@ export declare class Vault_json {
|
|
|
2520
1391
|
value?: bigint;
|
|
2521
1392
|
}): Promise<`0x${string}`>;
|
|
2522
1393
|
/**
|
|
2523
|
-
*
|
|
1394
|
+
* resume
|
|
2524
1395
|
* nonpayable
|
|
2525
1396
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2526
1397
|
*/
|
|
2527
|
-
|
|
1398
|
+
resume(options?: {
|
|
2528
1399
|
accessList?: import('viem').AccessList;
|
|
2529
1400
|
authorizationList?: import('viem').AuthorizationList;
|
|
2530
1401
|
chain?: import('viem').Chain | null;
|
|
@@ -2537,11 +1408,11 @@ export declare class Vault_json {
|
|
|
2537
1408
|
value?: bigint;
|
|
2538
1409
|
}): Promise<`0x${string}`>;
|
|
2539
1410
|
/**
|
|
2540
|
-
*
|
|
1411
|
+
* suspend
|
|
2541
1412
|
* nonpayable
|
|
2542
1413
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2543
1414
|
*/
|
|
2544
|
-
|
|
1415
|
+
suspend(options?: {
|
|
2545
1416
|
accessList?: import('viem').AccessList;
|
|
2546
1417
|
authorizationList?: import('viem').AuthorizationList;
|
|
2547
1418
|
chain?: import('viem').Chain | null;
|
|
@@ -2554,11 +1425,11 @@ export declare class Vault_json {
|
|
|
2554
1425
|
value?: bigint;
|
|
2555
1426
|
}): Promise<`0x${string}`>;
|
|
2556
1427
|
/**
|
|
2557
|
-
*
|
|
1428
|
+
* transfer
|
|
2558
1429
|
* nonpayable
|
|
2559
1430
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2560
1431
|
*/
|
|
2561
|
-
|
|
1432
|
+
transfer(sigData: IShared_SigData, transferParams: IShared_TransferParams, options?: {
|
|
2562
1433
|
accessList?: import('viem').AccessList;
|
|
2563
1434
|
authorizationList?: import('viem').AuthorizationList;
|
|
2564
1435
|
chain?: import('viem').Chain | null;
|
|
@@ -2571,11 +1442,11 @@ export declare class Vault_json {
|
|
|
2571
1442
|
value?: bigint;
|
|
2572
1443
|
}): Promise<`0x${string}`>;
|
|
2573
1444
|
/**
|
|
2574
|
-
*
|
|
1445
|
+
* transferBatch
|
|
2575
1446
|
* nonpayable
|
|
2576
1447
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2577
1448
|
*/
|
|
2578
|
-
|
|
1449
|
+
transferBatch(sigData: IShared_SigData, transferParamsArray: IShared_TransferParams[], options?: {
|
|
2579
1450
|
accessList?: import('viem').AccessList;
|
|
2580
1451
|
authorizationList?: import('viem').AuthorizationList;
|
|
2581
1452
|
chain?: import('viem').Chain | null;
|
|
@@ -2588,11 +1459,11 @@ export declare class Vault_json {
|
|
|
2588
1459
|
value?: bigint;
|
|
2589
1460
|
}): Promise<`0x${string}`>;
|
|
2590
1461
|
/**
|
|
2591
|
-
*
|
|
1462
|
+
* transferFallback
|
|
2592
1463
|
* nonpayable
|
|
2593
1464
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2594
1465
|
*/
|
|
2595
|
-
|
|
1466
|
+
transferFallback(sigData: IShared_SigData, transferParams: IShared_TransferParams, options?: {
|
|
2596
1467
|
accessList?: import('viem').AccessList;
|
|
2597
1468
|
authorizationList?: import('viem').AuthorizationList;
|
|
2598
1469
|
chain?: import('viem').Chain | null;
|
|
@@ -2605,11 +1476,11 @@ export declare class Vault_json {
|
|
|
2605
1476
|
value?: bigint;
|
|
2606
1477
|
}): Promise<`0x${string}`>;
|
|
2607
1478
|
/**
|
|
2608
|
-
*
|
|
1479
|
+
* updateKeyManager
|
|
2609
1480
|
* nonpayable
|
|
2610
1481
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2611
1482
|
*/
|
|
2612
|
-
|
|
1483
|
+
updateKeyManager(sigData: IShared_SigData, keyManager: `0x${string}`, omitChecks: boolean, options?: {
|
|
2613
1484
|
accessList?: import('viem').AccessList;
|
|
2614
1485
|
authorizationList?: import('viem').AuthorizationList;
|
|
2615
1486
|
chain?: import('viem').Chain | null;
|
|
@@ -2622,11 +1493,11 @@ export declare class Vault_json {
|
|
|
2622
1493
|
value?: bigint;
|
|
2623
1494
|
}): Promise<`0x${string}`>;
|
|
2624
1495
|
/**
|
|
2625
|
-
*
|
|
2626
|
-
*
|
|
1496
|
+
* xCallNative
|
|
1497
|
+
* payable
|
|
2627
1498
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2628
1499
|
*/
|
|
2629
|
-
|
|
1500
|
+
xCallNative(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, message: `0x${string}`, gasAmount: bigint, cfParameters: `0x${string}`, options?: {
|
|
2630
1501
|
accessList?: import('viem').AccessList;
|
|
2631
1502
|
authorizationList?: import('viem').AuthorizationList;
|
|
2632
1503
|
chain?: import('viem').Chain | null;
|
|
@@ -2639,11 +1510,11 @@ export declare class Vault_json {
|
|
|
2639
1510
|
value?: bigint;
|
|
2640
1511
|
}): Promise<`0x${string}`>;
|
|
2641
1512
|
/**
|
|
2642
|
-
*
|
|
1513
|
+
* xCallToken
|
|
2643
1514
|
* nonpayable
|
|
2644
1515
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2645
1516
|
*/
|
|
2646
|
-
|
|
1517
|
+
xCallToken(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, message: `0x${string}`, gasAmount: bigint, srcToken: `0x${string}`, amount: bigint, cfParameters: `0x${string}`, options?: {
|
|
2647
1518
|
accessList?: import('viem').AccessList;
|
|
2648
1519
|
authorizationList?: import('viem').AuthorizationList;
|
|
2649
1520
|
chain?: import('viem').Chain | null;
|
|
@@ -2656,11 +1527,11 @@ export declare class Vault_json {
|
|
|
2656
1527
|
value?: bigint;
|
|
2657
1528
|
}): Promise<`0x${string}`>;
|
|
2658
1529
|
/**
|
|
2659
|
-
*
|
|
2660
|
-
*
|
|
1530
|
+
* xSwapNative
|
|
1531
|
+
* payable
|
|
2661
1532
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2662
1533
|
*/
|
|
2663
|
-
|
|
1534
|
+
xSwapNative(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, cfParameters: `0x${string}`, options?: {
|
|
2664
1535
|
accessList?: import('viem').AccessList;
|
|
2665
1536
|
authorizationList?: import('viem').AuthorizationList;
|
|
2666
1537
|
chain?: import('viem').Chain | null;
|
|
@@ -2673,11 +1544,11 @@ export declare class Vault_json {
|
|
|
2673
1544
|
value?: bigint;
|
|
2674
1545
|
}): Promise<`0x${string}`>;
|
|
2675
1546
|
/**
|
|
2676
|
-
*
|
|
1547
|
+
* xSwapToken
|
|
2677
1548
|
* nonpayable
|
|
2678
1549
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2679
1550
|
*/
|
|
2680
|
-
|
|
1551
|
+
xSwapToken(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, srcToken: `0x${string}`, amount: bigint, cfParameters: `0x${string}`, options?: {
|
|
2681
1552
|
accessList?: import('viem').AccessList;
|
|
2682
1553
|
authorizationList?: import('viem').AuthorizationList;
|
|
2683
1554
|
chain?: import('viem').Chain | null;
|
|
@@ -2699,11 +1570,11 @@ export declare class Vault_json {
|
|
|
2699
1570
|
*/
|
|
2700
1571
|
get simulate(): {
|
|
2701
1572
|
/**
|
|
2702
|
-
* Simulate
|
|
1573
|
+
* Simulate addGasNative
|
|
2703
1574
|
* Returns gas estimate and result without sending transaction
|
|
2704
1575
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2705
1576
|
*/
|
|
2706
|
-
|
|
1577
|
+
addGasNative(swapID: `0x${string}`, options?: {
|
|
2707
1578
|
accessList?: import("viem").AccessList;
|
|
2708
1579
|
authorizationList?: import("viem").AuthorizationList;
|
|
2709
1580
|
chain?: import("viem").Chain | null;
|
|
@@ -2716,28 +1587,11 @@ export declare class Vault_json {
|
|
|
2716
1587
|
value?: bigint;
|
|
2717
1588
|
}): Promise<void>;
|
|
2718
1589
|
/**
|
|
2719
|
-
* Simulate
|
|
2720
|
-
* Returns gas estimate and result without sending transaction
|
|
2721
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2722
|
-
*/
|
|
2723
|
-
approve(spender: `0x${string}`, value: bigint, options?: {
|
|
2724
|
-
accessList?: import("viem").AccessList;
|
|
2725
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
2726
|
-
chain?: import("viem").Chain | null;
|
|
2727
|
-
dataSuffix?: `0x${string}`;
|
|
2728
|
-
gas?: bigint;
|
|
2729
|
-
gasPrice?: bigint;
|
|
2730
|
-
maxFeePerGas?: bigint;
|
|
2731
|
-
maxPriorityFeePerGas?: bigint;
|
|
2732
|
-
nonce?: number;
|
|
2733
|
-
value?: bigint;
|
|
2734
|
-
}): Promise<boolean>;
|
|
2735
|
-
/**
|
|
2736
|
-
* Simulate beginDefaultAdminTransfer
|
|
1590
|
+
* Simulate addGasToken
|
|
2737
1591
|
* Returns gas estimate and result without sending transaction
|
|
2738
1592
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2739
1593
|
*/
|
|
2740
|
-
|
|
1594
|
+
addGasToken(swapID: `0x${string}`, amount: bigint, token: `0x${string}`, options?: {
|
|
2741
1595
|
accessList?: import("viem").AccessList;
|
|
2742
1596
|
authorizationList?: import("viem").AuthorizationList;
|
|
2743
1597
|
chain?: import("viem").Chain | null;
|
|
@@ -2750,11 +1604,11 @@ export declare class Vault_json {
|
|
|
2750
1604
|
value?: bigint;
|
|
2751
1605
|
}): Promise<void>;
|
|
2752
1606
|
/**
|
|
2753
|
-
* Simulate
|
|
1607
|
+
* Simulate allBatch
|
|
2754
1608
|
* Returns gas estimate and result without sending transaction
|
|
2755
1609
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2756
1610
|
*/
|
|
2757
|
-
|
|
1611
|
+
allBatch(sigData: IShared_SigData, deployFetchParamsArray: IShared_DeployFetchParams[], fetchParamsArray: IShared_FetchParams[], transferParamsArray: IShared_TransferParams[], options?: {
|
|
2758
1612
|
accessList?: import("viem").AccessList;
|
|
2759
1613
|
authorizationList?: import("viem").AuthorizationList;
|
|
2760
1614
|
chain?: import("viem").Chain | null;
|
|
@@ -2767,11 +1621,11 @@ export declare class Vault_json {
|
|
|
2767
1621
|
value?: bigint;
|
|
2768
1622
|
}): Promise<void>;
|
|
2769
1623
|
/**
|
|
2770
|
-
* Simulate
|
|
1624
|
+
* Simulate allBatchV2
|
|
2771
1625
|
* Returns gas estimate and result without sending transaction
|
|
2772
1626
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2773
1627
|
*/
|
|
2774
|
-
|
|
1628
|
+
allBatchV2(sigData: IShared_SigData, fetchParamsArray: IShared_FetchParams[], transferParamsArray: IShared_TransferParams[], options?: {
|
|
2775
1629
|
accessList?: import("viem").AccessList;
|
|
2776
1630
|
authorizationList?: import("viem").AuthorizationList;
|
|
2777
1631
|
chain?: import("viem").Chain | null;
|
|
@@ -2784,11 +1638,11 @@ export declare class Vault_json {
|
|
|
2784
1638
|
value?: bigint;
|
|
2785
1639
|
}): Promise<void>;
|
|
2786
1640
|
/**
|
|
2787
|
-
* Simulate
|
|
1641
|
+
* Simulate deployAndFetchBatch
|
|
2788
1642
|
* Returns gas estimate and result without sending transaction
|
|
2789
1643
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2790
1644
|
*/
|
|
2791
|
-
|
|
1645
|
+
deployAndFetchBatch(sigData: IShared_SigData, deployFetchParamsArray: IShared_DeployFetchParams[], options?: {
|
|
2792
1646
|
accessList?: import("viem").AccessList;
|
|
2793
1647
|
authorizationList?: import("viem").AuthorizationList;
|
|
2794
1648
|
chain?: import("viem").Chain | null;
|
|
@@ -2801,11 +1655,11 @@ export declare class Vault_json {
|
|
|
2801
1655
|
value?: bigint;
|
|
2802
1656
|
}): Promise<void>;
|
|
2803
1657
|
/**
|
|
2804
|
-
* Simulate
|
|
1658
|
+
* Simulate disableCommunityGuard
|
|
2805
1659
|
* Returns gas estimate and result without sending transaction
|
|
2806
1660
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2807
1661
|
*/
|
|
2808
|
-
|
|
1662
|
+
disableCommunityGuard(options?: {
|
|
2809
1663
|
accessList?: import("viem").AccessList;
|
|
2810
1664
|
authorizationList?: import("viem").AuthorizationList;
|
|
2811
1665
|
chain?: import("viem").Chain | null;
|
|
@@ -2818,45 +1672,11 @@ export declare class Vault_json {
|
|
|
2818
1672
|
value?: bigint;
|
|
2819
1673
|
}): Promise<void>;
|
|
2820
1674
|
/**
|
|
2821
|
-
* Simulate
|
|
2822
|
-
* Returns gas estimate and result without sending transaction
|
|
2823
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2824
|
-
*/
|
|
2825
|
-
delegateToFactory(data: `0x${string}`, options?: {
|
|
2826
|
-
accessList?: import("viem").AccessList;
|
|
2827
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
2828
|
-
chain?: import("viem").Chain | null;
|
|
2829
|
-
dataSuffix?: `0x${string}`;
|
|
2830
|
-
gas?: bigint;
|
|
2831
|
-
gasPrice?: bigint;
|
|
2832
|
-
maxFeePerGas?: bigint;
|
|
2833
|
-
maxPriorityFeePerGas?: bigint;
|
|
2834
|
-
nonce?: number;
|
|
2835
|
-
value?: bigint;
|
|
2836
|
-
}): Promise<`0x${string}`>;
|
|
2837
|
-
/**
|
|
2838
|
-
* Simulate deposit
|
|
2839
|
-
* Returns gas estimate and result without sending transaction
|
|
2840
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2841
|
-
*/
|
|
2842
|
-
deposit(assets: bigint, receiver: `0x${string}`, options?: {
|
|
2843
|
-
accessList?: import("viem").AccessList;
|
|
2844
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
2845
|
-
chain?: import("viem").Chain | null;
|
|
2846
|
-
dataSuffix?: `0x${string}`;
|
|
2847
|
-
gas?: bigint;
|
|
2848
|
-
gasPrice?: bigint;
|
|
2849
|
-
maxFeePerGas?: bigint;
|
|
2850
|
-
maxPriorityFeePerGas?: bigint;
|
|
2851
|
-
nonce?: number;
|
|
2852
|
-
value?: bigint;
|
|
2853
|
-
}): Promise<bigint>;
|
|
2854
|
-
/**
|
|
2855
|
-
* Simulate dispatchFees
|
|
1675
|
+
* Simulate enableCommunityGuard
|
|
2856
1676
|
* Returns gas estimate and result without sending transaction
|
|
2857
1677
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2858
1678
|
*/
|
|
2859
|
-
|
|
1679
|
+
enableCommunityGuard(options?: {
|
|
2860
1680
|
accessList?: import("viem").AccessList;
|
|
2861
1681
|
authorizationList?: import("viem").AuthorizationList;
|
|
2862
1682
|
chain?: import("viem").Chain | null;
|
|
@@ -2869,28 +1689,11 @@ export declare class Vault_json {
|
|
|
2869
1689
|
value?: bigint;
|
|
2870
1690
|
}): Promise<void>;
|
|
2871
1691
|
/**
|
|
2872
|
-
* Simulate
|
|
2873
|
-
* Returns gas estimate and result without sending transaction
|
|
2874
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2875
|
-
*/
|
|
2876
|
-
forceWithdraw(blockedUser: `0x${string}`, options?: {
|
|
2877
|
-
accessList?: import("viem").AccessList;
|
|
2878
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
2879
|
-
chain?: import("viem").Chain | null;
|
|
2880
|
-
dataSuffix?: `0x${string}`;
|
|
2881
|
-
gas?: bigint;
|
|
2882
|
-
gasPrice?: bigint;
|
|
2883
|
-
maxFeePerGas?: bigint;
|
|
2884
|
-
maxPriorityFeePerGas?: bigint;
|
|
2885
|
-
nonce?: number;
|
|
2886
|
-
value?: bigint;
|
|
2887
|
-
}): Promise<bigint>;
|
|
2888
|
-
/**
|
|
2889
|
-
* Simulate grantRole
|
|
1692
|
+
* Simulate executeActions
|
|
2890
1693
|
* Returns gas estimate and result without sending transaction
|
|
2891
1694
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2892
1695
|
*/
|
|
2893
|
-
|
|
1696
|
+
executeActions(sigData: IShared_SigData, transferParams: IShared_TransferParams, calls: IMulticall_Call[], gasMulticall: bigint, options?: {
|
|
2894
1697
|
accessList?: import("viem").AccessList;
|
|
2895
1698
|
authorizationList?: import("viem").AuthorizationList;
|
|
2896
1699
|
chain?: import("viem").Chain | null;
|
|
@@ -2903,11 +1706,11 @@ export declare class Vault_json {
|
|
|
2903
1706
|
value?: bigint;
|
|
2904
1707
|
}): Promise<void>;
|
|
2905
1708
|
/**
|
|
2906
|
-
* Simulate
|
|
1709
|
+
* Simulate executexCall
|
|
2907
1710
|
* Returns gas estimate and result without sending transaction
|
|
2908
1711
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2909
1712
|
*/
|
|
2910
|
-
|
|
1713
|
+
executexCall(sigData: IShared_SigData, recipient: `0x${string}`, srcChain: bigint, srcAddress: `0x${string}`, message: `0x${string}`, options?: {
|
|
2911
1714
|
accessList?: import("viem").AccessList;
|
|
2912
1715
|
authorizationList?: import("viem").AuthorizationList;
|
|
2913
1716
|
chain?: import("viem").Chain | null;
|
|
@@ -2920,28 +1723,11 @@ export declare class Vault_json {
|
|
|
2920
1723
|
value?: bigint;
|
|
2921
1724
|
}): Promise<void>;
|
|
2922
1725
|
/**
|
|
2923
|
-
* Simulate
|
|
2924
|
-
* Returns gas estimate and result without sending transaction
|
|
2925
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2926
|
-
*/
|
|
2927
|
-
mint(shares: bigint, receiver: `0x${string}`, options?: {
|
|
2928
|
-
accessList?: import("viem").AccessList;
|
|
2929
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
2930
|
-
chain?: import("viem").Chain | null;
|
|
2931
|
-
dataSuffix?: `0x${string}`;
|
|
2932
|
-
gas?: bigint;
|
|
2933
|
-
gasPrice?: bigint;
|
|
2934
|
-
maxFeePerGas?: bigint;
|
|
2935
|
-
maxPriorityFeePerGas?: bigint;
|
|
2936
|
-
nonce?: number;
|
|
2937
|
-
value?: bigint;
|
|
2938
|
-
}): Promise<bigint>;
|
|
2939
|
-
/**
|
|
2940
|
-
* Simulate pauseDeposit
|
|
1726
|
+
* Simulate executexSwapAndCall
|
|
2941
1727
|
* Returns gas estimate and result without sending transaction
|
|
2942
1728
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2943
1729
|
*/
|
|
2944
|
-
|
|
1730
|
+
executexSwapAndCall(sigData: IShared_SigData, transferParams: IShared_TransferParams, srcChain: bigint, srcAddress: `0x${string}`, message: `0x${string}`, options?: {
|
|
2945
1731
|
accessList?: import("viem").AccessList;
|
|
2946
1732
|
authorizationList?: import("viem").AuthorizationList;
|
|
2947
1733
|
chain?: import("viem").Chain | null;
|
|
@@ -2954,28 +1740,11 @@ export declare class Vault_json {
|
|
|
2954
1740
|
value?: bigint;
|
|
2955
1741
|
}): Promise<void>;
|
|
2956
1742
|
/**
|
|
2957
|
-
* Simulate
|
|
1743
|
+
* Simulate fetchBatch
|
|
2958
1744
|
* Returns gas estimate and result without sending transaction
|
|
2959
1745
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2960
1746
|
*/
|
|
2961
|
-
|
|
2962
|
-
accessList?: import("viem").AccessList;
|
|
2963
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
2964
|
-
chain?: import("viem").Chain | null;
|
|
2965
|
-
dataSuffix?: `0x${string}`;
|
|
2966
|
-
gas?: bigint;
|
|
2967
|
-
gasPrice?: bigint;
|
|
2968
|
-
maxFeePerGas?: bigint;
|
|
2969
|
-
maxPriorityFeePerGas?: bigint;
|
|
2970
|
-
nonce?: number;
|
|
2971
|
-
value?: bigint;
|
|
2972
|
-
}): Promise<bigint>;
|
|
2973
|
-
/**
|
|
2974
|
-
* Simulate renounceRole
|
|
2975
|
-
* Returns gas estimate and result without sending transaction
|
|
2976
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2977
|
-
*/
|
|
2978
|
-
renounceRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
1747
|
+
fetchBatch(sigData: IShared_SigData, fetchParamsArray: IShared_FetchParams[], options?: {
|
|
2979
1748
|
accessList?: import("viem").AccessList;
|
|
2980
1749
|
authorizationList?: import("viem").AuthorizationList;
|
|
2981
1750
|
chain?: import("viem").Chain | null;
|
|
@@ -2988,11 +1757,11 @@ export declare class Vault_json {
|
|
|
2988
1757
|
value?: bigint;
|
|
2989
1758
|
}): Promise<void>;
|
|
2990
1759
|
/**
|
|
2991
|
-
* Simulate
|
|
1760
|
+
* Simulate govWithdraw
|
|
2992
1761
|
* Returns gas estimate and result without sending transaction
|
|
2993
1762
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2994
1763
|
*/
|
|
2995
|
-
|
|
1764
|
+
govWithdraw(tokens: `0x${string}`[], options?: {
|
|
2996
1765
|
accessList?: import("viem").AccessList;
|
|
2997
1766
|
authorizationList?: import("viem").AuthorizationList;
|
|
2998
1767
|
chain?: import("viem").Chain | null;
|
|
@@ -3005,11 +1774,11 @@ export declare class Vault_json {
|
|
|
3005
1774
|
value?: bigint;
|
|
3006
1775
|
}): Promise<void>;
|
|
3007
1776
|
/**
|
|
3008
|
-
* Simulate
|
|
1777
|
+
* Simulate resume
|
|
3009
1778
|
* Returns gas estimate and result without sending transaction
|
|
3010
1779
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3011
1780
|
*/
|
|
3012
|
-
|
|
1781
|
+
resume(options?: {
|
|
3013
1782
|
accessList?: import("viem").AccessList;
|
|
3014
1783
|
authorizationList?: import("viem").AuthorizationList;
|
|
3015
1784
|
chain?: import("viem").Chain | null;
|
|
@@ -3022,11 +1791,11 @@ export declare class Vault_json {
|
|
|
3022
1791
|
value?: bigint;
|
|
3023
1792
|
}): Promise<void>;
|
|
3024
1793
|
/**
|
|
3025
|
-
* Simulate
|
|
1794
|
+
* Simulate suspend
|
|
3026
1795
|
* Returns gas estimate and result without sending transaction
|
|
3027
1796
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3028
1797
|
*/
|
|
3029
|
-
|
|
1798
|
+
suspend(options?: {
|
|
3030
1799
|
accessList?: import("viem").AccessList;
|
|
3031
1800
|
authorizationList?: import("viem").AuthorizationList;
|
|
3032
1801
|
chain?: import("viem").Chain | null;
|
|
@@ -3039,11 +1808,11 @@ export declare class Vault_json {
|
|
|
3039
1808
|
value?: bigint;
|
|
3040
1809
|
}): Promise<void>;
|
|
3041
1810
|
/**
|
|
3042
|
-
* Simulate
|
|
1811
|
+
* Simulate transfer
|
|
3043
1812
|
* Returns gas estimate and result without sending transaction
|
|
3044
1813
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3045
1814
|
*/
|
|
3046
|
-
|
|
1815
|
+
transfer(sigData: IShared_SigData, transferParams: IShared_TransferParams, options?: {
|
|
3047
1816
|
accessList?: import("viem").AccessList;
|
|
3048
1817
|
authorizationList?: import("viem").AuthorizationList;
|
|
3049
1818
|
chain?: import("viem").Chain | null;
|
|
@@ -3056,11 +1825,11 @@ export declare class Vault_json {
|
|
|
3056
1825
|
value?: bigint;
|
|
3057
1826
|
}): Promise<void>;
|
|
3058
1827
|
/**
|
|
3059
|
-
* Simulate
|
|
1828
|
+
* Simulate transferBatch
|
|
3060
1829
|
* Returns gas estimate and result without sending transaction
|
|
3061
1830
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3062
1831
|
*/
|
|
3063
|
-
|
|
1832
|
+
transferBatch(sigData: IShared_SigData, transferParamsArray: IShared_TransferParams[], options?: {
|
|
3064
1833
|
accessList?: import("viem").AccessList;
|
|
3065
1834
|
authorizationList?: import("viem").AuthorizationList;
|
|
3066
1835
|
chain?: import("viem").Chain | null;
|
|
@@ -3073,11 +1842,11 @@ export declare class Vault_json {
|
|
|
3073
1842
|
value?: bigint;
|
|
3074
1843
|
}): Promise<void>;
|
|
3075
1844
|
/**
|
|
3076
|
-
* Simulate
|
|
1845
|
+
* Simulate transferFallback
|
|
3077
1846
|
* Returns gas estimate and result without sending transaction
|
|
3078
1847
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3079
1848
|
*/
|
|
3080
|
-
|
|
1849
|
+
transferFallback(sigData: IShared_SigData, transferParams: IShared_TransferParams, options?: {
|
|
3081
1850
|
accessList?: import("viem").AccessList;
|
|
3082
1851
|
authorizationList?: import("viem").AuthorizationList;
|
|
3083
1852
|
chain?: import("viem").Chain | null;
|
|
@@ -3090,11 +1859,11 @@ export declare class Vault_json {
|
|
|
3090
1859
|
value?: bigint;
|
|
3091
1860
|
}): Promise<void>;
|
|
3092
1861
|
/**
|
|
3093
|
-
* Simulate
|
|
1862
|
+
* Simulate updateKeyManager
|
|
3094
1863
|
* Returns gas estimate and result without sending transaction
|
|
3095
1864
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3096
1865
|
*/
|
|
3097
|
-
|
|
1866
|
+
updateKeyManager(sigData: IShared_SigData, keyManager: `0x${string}`, omitChecks: boolean, options?: {
|
|
3098
1867
|
accessList?: import("viem").AccessList;
|
|
3099
1868
|
authorizationList?: import("viem").AuthorizationList;
|
|
3100
1869
|
chain?: import("viem").Chain | null;
|
|
@@ -3107,28 +1876,11 @@ export declare class Vault_json {
|
|
|
3107
1876
|
value?: bigint;
|
|
3108
1877
|
}): Promise<void>;
|
|
3109
1878
|
/**
|
|
3110
|
-
* Simulate
|
|
3111
|
-
* Returns gas estimate and result without sending transaction
|
|
3112
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3113
|
-
*/
|
|
3114
|
-
transfer(to: `0x${string}`, value: bigint, options?: {
|
|
3115
|
-
accessList?: import("viem").AccessList;
|
|
3116
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
3117
|
-
chain?: import("viem").Chain | null;
|
|
3118
|
-
dataSuffix?: `0x${string}`;
|
|
3119
|
-
gas?: bigint;
|
|
3120
|
-
gasPrice?: bigint;
|
|
3121
|
-
maxFeePerGas?: bigint;
|
|
3122
|
-
maxPriorityFeePerGas?: bigint;
|
|
3123
|
-
nonce?: number;
|
|
3124
|
-
value?: bigint;
|
|
3125
|
-
}): Promise<boolean>;
|
|
3126
|
-
/**
|
|
3127
|
-
* Simulate transferFrom
|
|
1879
|
+
* Simulate xCallNative
|
|
3128
1880
|
* Returns gas estimate and result without sending transaction
|
|
3129
1881
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3130
1882
|
*/
|
|
3131
|
-
|
|
1883
|
+
xCallNative(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, message: `0x${string}`, gasAmount: bigint, cfParameters: `0x${string}`, options?: {
|
|
3132
1884
|
accessList?: import("viem").AccessList;
|
|
3133
1885
|
authorizationList?: import("viem").AuthorizationList;
|
|
3134
1886
|
chain?: import("viem").Chain | null;
|
|
@@ -3139,13 +1891,13 @@ export declare class Vault_json {
|
|
|
3139
1891
|
maxPriorityFeePerGas?: bigint;
|
|
3140
1892
|
nonce?: number;
|
|
3141
1893
|
value?: bigint;
|
|
3142
|
-
}): Promise<
|
|
1894
|
+
}): Promise<void>;
|
|
3143
1895
|
/**
|
|
3144
|
-
* Simulate
|
|
1896
|
+
* Simulate xCallToken
|
|
3145
1897
|
* Returns gas estimate and result without sending transaction
|
|
3146
1898
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3147
1899
|
*/
|
|
3148
|
-
|
|
1900
|
+
xCallToken(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, message: `0x${string}`, gasAmount: bigint, srcToken: `0x${string}`, amount: bigint, cfParameters: `0x${string}`, options?: {
|
|
3149
1901
|
accessList?: import("viem").AccessList;
|
|
3150
1902
|
authorizationList?: import("viem").AuthorizationList;
|
|
3151
1903
|
chain?: import("viem").Chain | null;
|
|
@@ -3158,11 +1910,11 @@ export declare class Vault_json {
|
|
|
3158
1910
|
value?: bigint;
|
|
3159
1911
|
}): Promise<void>;
|
|
3160
1912
|
/**
|
|
3161
|
-
* Simulate
|
|
1913
|
+
* Simulate xSwapNative
|
|
3162
1914
|
* Returns gas estimate and result without sending transaction
|
|
3163
1915
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3164
1916
|
*/
|
|
3165
|
-
|
|
1917
|
+
xSwapNative(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, cfParameters: `0x${string}`, options?: {
|
|
3166
1918
|
accessList?: import("viem").AccessList;
|
|
3167
1919
|
authorizationList?: import("viem").AuthorizationList;
|
|
3168
1920
|
chain?: import("viem").Chain | null;
|
|
@@ -3175,11 +1927,11 @@ export declare class Vault_json {
|
|
|
3175
1927
|
value?: bigint;
|
|
3176
1928
|
}): Promise<void>;
|
|
3177
1929
|
/**
|
|
3178
|
-
* Simulate
|
|
1930
|
+
* Simulate xSwapToken
|
|
3179
1931
|
* Returns gas estimate and result without sending transaction
|
|
3180
1932
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
3181
1933
|
*/
|
|
3182
|
-
|
|
1934
|
+
xSwapToken(dstChain: bigint, dstAddress: `0x${string}`, dstToken: bigint, srcToken: `0x${string}`, amount: bigint, cfParameters: `0x${string}`, options?: {
|
|
3183
1935
|
accessList?: import("viem").AccessList;
|
|
3184
1936
|
authorizationList?: import("viem").AuthorizationList;
|
|
3185
1937
|
chain?: import("viem").Chain | null;
|
|
@@ -3190,7 +1942,7 @@ export declare class Vault_json {
|
|
|
3190
1942
|
maxPriorityFeePerGas?: bigint;
|
|
3191
1943
|
nonce?: number;
|
|
3192
1944
|
value?: bigint;
|
|
3193
|
-
}): Promise<
|
|
1945
|
+
}): Promise<void>;
|
|
3194
1946
|
};
|
|
3195
1947
|
/**
|
|
3196
1948
|
* Watch contract events
|
|
@@ -3206,283 +1958,176 @@ export declare class Vault_json {
|
|
|
3206
1958
|
*/
|
|
3207
1959
|
get watch(): {
|
|
3208
1960
|
/**
|
|
3209
|
-
* Watch
|
|
1961
|
+
* Watch AddGasNative events
|
|
3210
1962
|
* @param callback Function to call when event is emitted
|
|
3211
1963
|
* @param filter Optional filter for indexed parameters
|
|
3212
1964
|
* @returns Unwatch function to stop listening
|
|
3213
1965
|
*/
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
/**
|
|
3218
|
-
* Watch Approval events
|
|
3219
|
-
* @param callback Function to call when event is emitted
|
|
3220
|
-
* @param filter Optional filter for indexed parameters
|
|
3221
|
-
* @returns Unwatch function to stop listening
|
|
3222
|
-
*/
|
|
3223
|
-
Approval: (callback: (event: {
|
|
3224
|
-
owner: `0x${string}`;
|
|
3225
|
-
spender: `0x${string}`;
|
|
3226
|
-
value: bigint;
|
|
3227
|
-
}) => void, filter?: {
|
|
3228
|
-
owner: `0x${string}`;
|
|
3229
|
-
spender: `0x${string}`;
|
|
3230
|
-
}) => () => void;
|
|
3231
|
-
/**
|
|
3232
|
-
* Watch AssetInitialized events
|
|
3233
|
-
* @param callback Function to call when event is emitted
|
|
3234
|
-
* @param filter Optional filter for indexed parameters
|
|
3235
|
-
* @returns Unwatch function to stop listening
|
|
3236
|
-
*/
|
|
3237
|
-
AssetInitialized: (callback: (event: {
|
|
3238
|
-
asset: `0x${string}`;
|
|
3239
|
-
}) => void) => () => void;
|
|
3240
|
-
/**
|
|
3241
|
-
* Watch BlockListUpdated events
|
|
3242
|
-
* @param callback Function to call when event is emitted
|
|
3243
|
-
* @param filter Optional filter for indexed parameters
|
|
3244
|
-
* @returns Unwatch function to stop listening
|
|
3245
|
-
*/
|
|
3246
|
-
BlockListUpdated: (callback: (event: {
|
|
3247
|
-
newBlockList: `0x${string}`;
|
|
3248
|
-
}) => void) => () => void;
|
|
3249
|
-
/**
|
|
3250
|
-
* Watch ConnectorNameUpdated events
|
|
3251
|
-
* @param callback Function to call when event is emitted
|
|
3252
|
-
* @param filter Optional filter for indexed parameters
|
|
3253
|
-
* @returns Unwatch function to stop listening
|
|
3254
|
-
*/
|
|
3255
|
-
ConnectorNameUpdated: (callback: (event: {
|
|
3256
|
-
newConnectorName: `0x${string}`;
|
|
1966
|
+
AddGasNative: (callback: (event: {
|
|
1967
|
+
swapID: `0x${string}`;
|
|
1968
|
+
amount: bigint;
|
|
3257
1969
|
}) => void) => () => void;
|
|
3258
1970
|
/**
|
|
3259
|
-
* Watch
|
|
1971
|
+
* Watch AddGasToken events
|
|
3260
1972
|
* @param callback Function to call when event is emitted
|
|
3261
1973
|
* @param filter Optional filter for indexed parameters
|
|
3262
1974
|
* @returns Unwatch function to stop listening
|
|
3263
1975
|
*/
|
|
3264
|
-
|
|
3265
|
-
|
|
1976
|
+
AddGasToken: (callback: (event: {
|
|
1977
|
+
swapID: `0x${string}`;
|
|
1978
|
+
amount: bigint;
|
|
1979
|
+
token: `0x${string}`;
|
|
3266
1980
|
}) => void) => () => void;
|
|
3267
1981
|
/**
|
|
3268
|
-
* Watch
|
|
3269
|
-
* @param callback Function to call when event is emitted
|
|
3270
|
-
* @param filter Optional filter for indexed parameters
|
|
3271
|
-
* @returns Unwatch function to stop listening
|
|
3272
|
-
*/
|
|
3273
|
-
DefaultAdminDelayChangeCanceled: (callback: (event: {}) => void) => () => void;
|
|
3274
|
-
/**
|
|
3275
|
-
* Watch DefaultAdminDelayChangeScheduled events
|
|
1982
|
+
* Watch CommunityGuardDisabled events
|
|
3276
1983
|
* @param callback Function to call when event is emitted
|
|
3277
1984
|
* @param filter Optional filter for indexed parameters
|
|
3278
1985
|
* @returns Unwatch function to stop listening
|
|
3279
1986
|
*/
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
effectSchedule: bigint;
|
|
1987
|
+
CommunityGuardDisabled: (callback: (event: {
|
|
1988
|
+
communityGuardDisabled: boolean;
|
|
3283
1989
|
}) => void) => () => void;
|
|
3284
1990
|
/**
|
|
3285
|
-
* Watch
|
|
1991
|
+
* Watch ExecuteActionsFailed events
|
|
3286
1992
|
* @param callback Function to call when event is emitted
|
|
3287
1993
|
* @param filter Optional filter for indexed parameters
|
|
3288
1994
|
* @returns Unwatch function to stop listening
|
|
3289
1995
|
*/
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
* @returns Unwatch function to stop listening
|
|
3296
|
-
*/
|
|
3297
|
-
DefaultAdminTransferScheduled: (callback: (event: {
|
|
3298
|
-
newAdmin: `0x${string}`;
|
|
3299
|
-
acceptSchedule: bigint;
|
|
1996
|
+
ExecuteActionsFailed: (callback: (event: {
|
|
1997
|
+
multicallAddress: `0x${string}`;
|
|
1998
|
+
token: `0x${string}`;
|
|
1999
|
+
amount: bigint;
|
|
2000
|
+
reason: `0x${string}`;
|
|
3300
2001
|
}) => void, filter?: {
|
|
3301
|
-
|
|
2002
|
+
multicallAddress: `0x${string}`;
|
|
2003
|
+
token: `0x${string}`;
|
|
3302
2004
|
}) => () => void;
|
|
3303
2005
|
/**
|
|
3304
|
-
* Watch
|
|
2006
|
+
* Watch FetchedNative events
|
|
3305
2007
|
* @param callback Function to call when event is emitted
|
|
3306
2008
|
* @param filter Optional filter for indexed parameters
|
|
3307
2009
|
* @returns Unwatch function to stop listening
|
|
3308
2010
|
*/
|
|
3309
|
-
|
|
2011
|
+
FetchedNative: (callback: (event: {
|
|
3310
2012
|
sender: `0x${string}`;
|
|
3311
|
-
|
|
3312
|
-
assets: bigint;
|
|
3313
|
-
shares: bigint;
|
|
2013
|
+
amount: bigint;
|
|
3314
2014
|
}) => void, filter?: {
|
|
3315
2015
|
sender: `0x${string}`;
|
|
3316
|
-
owner: `0x${string}`;
|
|
3317
2016
|
}) => () => void;
|
|
3318
2017
|
/**
|
|
3319
|
-
* Watch
|
|
3320
|
-
* @param callback Function to call when event is emitted
|
|
3321
|
-
* @param filter Optional filter for indexed parameters
|
|
3322
|
-
* @returns Unwatch function to stop listening
|
|
3323
|
-
*/
|
|
3324
|
-
DepositFeeUpdated: (callback: (event: {
|
|
3325
|
-
newDepositFee: bigint;
|
|
3326
|
-
}) => void) => () => void;
|
|
3327
|
-
/**
|
|
3328
|
-
* Watch FeeDispatcherInitialized events
|
|
3329
|
-
* @param callback Function to call when event is emitted
|
|
3330
|
-
* @param filter Optional filter for indexed parameters
|
|
3331
|
-
* @returns Unwatch function to stop listening
|
|
3332
|
-
*/
|
|
3333
|
-
FeeDispatcherInitialized: (callback: (event: {
|
|
3334
|
-
feeDispatcher: `0x${string}`;
|
|
3335
|
-
}) => void) => () => void;
|
|
3336
|
-
/**
|
|
3337
|
-
* Watch Initialized events
|
|
3338
|
-
* @param callback Function to call when event is emitted
|
|
3339
|
-
* @param filter Optional filter for indexed parameters
|
|
3340
|
-
* @returns Unwatch function to stop listening
|
|
3341
|
-
*/
|
|
3342
|
-
Initialized: (callback: (event: {
|
|
3343
|
-
version: bigint;
|
|
3344
|
-
}) => void) => () => void;
|
|
3345
|
-
/**
|
|
3346
|
-
* Watch MinTotalSupplyInitialized events
|
|
3347
|
-
* @param callback Function to call when event is emitted
|
|
3348
|
-
* @param filter Optional filter for indexed parameters
|
|
3349
|
-
* @returns Unwatch function to stop listening
|
|
3350
|
-
*/
|
|
3351
|
-
MinTotalSupplyInitialized: (callback: (event: {
|
|
3352
|
-
newMinTotalSupply: bigint;
|
|
3353
|
-
}) => void) => () => void;
|
|
3354
|
-
/**
|
|
3355
|
-
* Watch NameInitialized events
|
|
3356
|
-
* @param callback Function to call when event is emitted
|
|
3357
|
-
* @param filter Optional filter for indexed parameters
|
|
3358
|
-
* @returns Unwatch function to stop listening
|
|
3359
|
-
*/
|
|
3360
|
-
NameInitialized: (callback: (event: {
|
|
3361
|
-
name: string;
|
|
3362
|
-
}) => void) => () => void;
|
|
3363
|
-
/**
|
|
3364
|
-
* Watch OffsetInitialized events
|
|
3365
|
-
* @param callback Function to call when event is emitted
|
|
3366
|
-
* @param filter Optional filter for indexed parameters
|
|
3367
|
-
* @returns Unwatch function to stop listening
|
|
3368
|
-
*/
|
|
3369
|
-
OffsetInitialized: (callback: (event: {
|
|
3370
|
-
offset: bigint;
|
|
3371
|
-
}) => void) => () => void;
|
|
3372
|
-
/**
|
|
3373
|
-
* Watch RewardFeeUpdated events
|
|
2018
|
+
* Watch Suspended events
|
|
3374
2019
|
* @param callback Function to call when event is emitted
|
|
3375
2020
|
* @param filter Optional filter for indexed parameters
|
|
3376
2021
|
* @returns Unwatch function to stop listening
|
|
3377
2022
|
*/
|
|
3378
|
-
|
|
3379
|
-
|
|
2023
|
+
Suspended: (callback: (event: {
|
|
2024
|
+
suspended: boolean;
|
|
3380
2025
|
}) => void) => () => void;
|
|
3381
2026
|
/**
|
|
3382
|
-
* Watch
|
|
2027
|
+
* Watch SwapNative events
|
|
3383
2028
|
* @param callback Function to call when event is emitted
|
|
3384
2029
|
* @param filter Optional filter for indexed parameters
|
|
3385
2030
|
* @returns Unwatch function to stop listening
|
|
3386
2031
|
*/
|
|
3387
|
-
|
|
3388
|
-
|
|
2032
|
+
SwapNative: (callback: (event: {
|
|
2033
|
+
sender: `0x${string}`;
|
|
2034
|
+
dstChain: bigint;
|
|
2035
|
+
dstAddress: `0x${string}`;
|
|
2036
|
+
dstToken: bigint;
|
|
3389
2037
|
amount: bigint;
|
|
2038
|
+
cfParameters: `0x${string}`;
|
|
3390
2039
|
}) => void, filter?: {
|
|
3391
|
-
|
|
2040
|
+
sender: `0x${string}`;
|
|
3392
2041
|
}) => () => void;
|
|
3393
2042
|
/**
|
|
3394
|
-
* Watch
|
|
2043
|
+
* Watch SwapToken events
|
|
3395
2044
|
* @param callback Function to call when event is emitted
|
|
3396
2045
|
* @param filter Optional filter for indexed parameters
|
|
3397
2046
|
* @returns Unwatch function to stop listening
|
|
3398
2047
|
*/
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
2048
|
+
SwapToken: (callback: (event: {
|
|
2049
|
+
sender: `0x${string}`;
|
|
2050
|
+
dstChain: bigint;
|
|
2051
|
+
dstAddress: `0x${string}`;
|
|
2052
|
+
dstToken: bigint;
|
|
2053
|
+
srcToken: `0x${string}`;
|
|
2054
|
+
amount: bigint;
|
|
2055
|
+
cfParameters: `0x${string}`;
|
|
3403
2056
|
}) => void, filter?: {
|
|
3404
|
-
|
|
3405
|
-
previousAdminRole: `0x${string}`;
|
|
3406
|
-
newAdminRole: `0x${string}`;
|
|
2057
|
+
sender: `0x${string}`;
|
|
3407
2058
|
}) => () => void;
|
|
3408
2059
|
/**
|
|
3409
|
-
* Watch
|
|
2060
|
+
* Watch TransferNativeFailed events
|
|
3410
2061
|
* @param callback Function to call when event is emitted
|
|
3411
2062
|
* @param filter Optional filter for indexed parameters
|
|
3412
2063
|
* @returns Unwatch function to stop listening
|
|
3413
2064
|
*/
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
sender: `0x${string}`;
|
|
2065
|
+
TransferNativeFailed: (callback: (event: {
|
|
2066
|
+
recipient: `0x${string}`;
|
|
2067
|
+
amount: bigint;
|
|
3418
2068
|
}) => void, filter?: {
|
|
3419
|
-
|
|
3420
|
-
account: `0x${string}`;
|
|
3421
|
-
sender: `0x${string}`;
|
|
2069
|
+
recipient: `0x${string}`;
|
|
3422
2070
|
}) => () => void;
|
|
3423
2071
|
/**
|
|
3424
|
-
* Watch
|
|
2072
|
+
* Watch TransferTokenFailed events
|
|
3425
2073
|
* @param callback Function to call when event is emitted
|
|
3426
2074
|
* @param filter Optional filter for indexed parameters
|
|
3427
2075
|
* @returns Unwatch function to stop listening
|
|
3428
2076
|
*/
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
2077
|
+
TransferTokenFailed: (callback: (event: {
|
|
2078
|
+
recipient: `0x${string}`;
|
|
2079
|
+
token: `0x${string}`;
|
|
2080
|
+
amount: bigint;
|
|
2081
|
+
reason: `0x${string}`;
|
|
3433
2082
|
}) => void, filter?: {
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
sender: `0x${string}`;
|
|
2083
|
+
recipient: `0x${string}`;
|
|
2084
|
+
token: `0x${string}`;
|
|
3437
2085
|
}) => () => void;
|
|
3438
2086
|
/**
|
|
3439
|
-
* Watch
|
|
2087
|
+
* Watch UpdatedKeyManager events
|
|
3440
2088
|
* @param callback Function to call when event is emitted
|
|
3441
2089
|
* @param filter Optional filter for indexed parameters
|
|
3442
2090
|
* @returns Unwatch function to stop listening
|
|
3443
2091
|
*/
|
|
3444
|
-
|
|
3445
|
-
|
|
2092
|
+
UpdatedKeyManager: (callback: (event: {
|
|
2093
|
+
keyManager: `0x${string}`;
|
|
3446
2094
|
}) => void) => () => void;
|
|
3447
2095
|
/**
|
|
3448
|
-
* Watch
|
|
2096
|
+
* Watch XCallNative events
|
|
3449
2097
|
* @param callback Function to call when event is emitted
|
|
3450
2098
|
* @param filter Optional filter for indexed parameters
|
|
3451
2099
|
* @returns Unwatch function to stop listening
|
|
3452
2100
|
*/
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
2101
|
+
XCallNative: (callback: (event: {
|
|
2102
|
+
sender: `0x${string}`;
|
|
2103
|
+
dstChain: bigint;
|
|
2104
|
+
dstAddress: `0x${string}`;
|
|
2105
|
+
dstToken: bigint;
|
|
2106
|
+
amount: bigint;
|
|
2107
|
+
message: `0x${string}`;
|
|
2108
|
+
gasAmount: bigint;
|
|
2109
|
+
cfParameters: `0x${string}`;
|
|
3457
2110
|
}) => void, filter?: {
|
|
3458
|
-
|
|
3459
|
-
to: `0x${string}`;
|
|
2111
|
+
sender: `0x${string}`;
|
|
3460
2112
|
}) => () => void;
|
|
3461
2113
|
/**
|
|
3462
|
-
* Watch
|
|
3463
|
-
* @param callback Function to call when event is emitted
|
|
3464
|
-
* @param filter Optional filter for indexed parameters
|
|
3465
|
-
* @returns Unwatch function to stop listening
|
|
3466
|
-
*/
|
|
3467
|
-
TransferableUpdated: (callback: (event: {
|
|
3468
|
-
newTransferableFlag: boolean;
|
|
3469
|
-
}) => void) => () => void;
|
|
3470
|
-
/**
|
|
3471
|
-
* Watch Withdraw events
|
|
2114
|
+
* Watch XCallToken events
|
|
3472
2115
|
* @param callback Function to call when event is emitted
|
|
3473
2116
|
* @param filter Optional filter for indexed parameters
|
|
3474
2117
|
* @returns Unwatch function to stop listening
|
|
3475
2118
|
*/
|
|
3476
|
-
|
|
2119
|
+
XCallToken: (callback: (event: {
|
|
3477
2120
|
sender: `0x${string}`;
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
2121
|
+
dstChain: bigint;
|
|
2122
|
+
dstAddress: `0x${string}`;
|
|
2123
|
+
dstToken: bigint;
|
|
2124
|
+
srcToken: `0x${string}`;
|
|
2125
|
+
amount: bigint;
|
|
2126
|
+
message: `0x${string}`;
|
|
2127
|
+
gasAmount: bigint;
|
|
2128
|
+
cfParameters: `0x${string}`;
|
|
3482
2129
|
}) => void, filter?: {
|
|
3483
2130
|
sender: `0x${string}`;
|
|
3484
|
-
receiver: `0x${string}`;
|
|
3485
|
-
owner: `0x${string}`;
|
|
3486
2131
|
}) => () => void;
|
|
3487
2132
|
};
|
|
3488
2133
|
}
|