@gitmyabi/vault 1.0.2 → 1.0.3
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 +5 -5
- package/contracts/MigratableEntityProxy_json.d.ts +233 -0
- package/contracts/MigratableEntityProxy_json.js +277 -0
- package/contracts/MigratableEntityProxy_json.ts +329 -0
- package/contracts/Vault_json.d.ts +1514 -1086
- package/contracts/Vault_json.js +1866 -1142
- package/contracts/Vault_json.ts +1974 -1300
- package/contracts/index.d.ts +2 -0
- package/contracts/index.js +4 -1
- package/contracts/index.ts +2 -0
- package/package.json +3 -3
|
@@ -1,44 +1,4 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
-
/**
|
|
3
|
-
* IShared.SigData struct type
|
|
4
|
-
*/
|
|
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}`;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* IShared.FetchParams struct type
|
|
19
|
-
*/
|
|
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
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* IMulticall.Call struct type
|
|
34
|
-
*/
|
|
35
|
-
export type IMulticall_Call = {
|
|
36
|
-
callType: bigint;
|
|
37
|
-
target: `0x${string}`;
|
|
38
|
-
value: bigint;
|
|
39
|
-
callData: `0x${string}`;
|
|
40
|
-
payload: `0x${string}`;
|
|
41
|
-
};
|
|
42
2
|
/**
|
|
43
3
|
* Vault_json ABI
|
|
44
4
|
*
|
|
@@ -46,731 +6,1216 @@ export type IMulticall_Call = {
|
|
|
46
6
|
*/
|
|
47
7
|
export declare const Vault_jsonAbi: readonly [{
|
|
48
8
|
readonly inputs: readonly [{
|
|
49
|
-
readonly internalType: "
|
|
50
|
-
readonly name: "
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "delegatorFactory";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}, {
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly name: "slasherFactory";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
}, {
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
readonly name: "vaultFactory";
|
|
51
19
|
readonly type: "address";
|
|
52
20
|
}];
|
|
53
21
|
readonly stateMutability: "nonpayable";
|
|
54
22
|
readonly type: "constructor";
|
|
55
23
|
}, {
|
|
56
|
-
readonly
|
|
24
|
+
readonly inputs: readonly [];
|
|
25
|
+
readonly name: "AccessControlBadConfirmation";
|
|
26
|
+
readonly type: "error";
|
|
27
|
+
}, {
|
|
57
28
|
readonly inputs: readonly [{
|
|
58
|
-
readonly
|
|
29
|
+
readonly internalType: "address";
|
|
30
|
+
readonly name: "account";
|
|
31
|
+
readonly type: "address";
|
|
32
|
+
}, {
|
|
59
33
|
readonly internalType: "bytes32";
|
|
60
|
-
readonly name: "
|
|
34
|
+
readonly name: "neededRole";
|
|
61
35
|
readonly type: "bytes32";
|
|
62
|
-
}, {
|
|
63
|
-
readonly indexed: false;
|
|
64
|
-
readonly internalType: "uint256";
|
|
65
|
-
readonly name: "amount";
|
|
66
|
-
readonly type: "uint256";
|
|
67
36
|
}];
|
|
68
|
-
readonly name: "
|
|
69
|
-
readonly type: "
|
|
37
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
38
|
+
readonly type: "error";
|
|
70
39
|
}, {
|
|
71
|
-
readonly anonymous: false;
|
|
72
40
|
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;
|
|
84
41
|
readonly internalType: "address";
|
|
85
|
-
readonly name: "
|
|
42
|
+
readonly name: "target";
|
|
86
43
|
readonly type: "address";
|
|
87
44
|
}];
|
|
88
|
-
readonly name: "
|
|
89
|
-
readonly type: "
|
|
45
|
+
readonly name: "AddressEmptyCode";
|
|
46
|
+
readonly type: "error";
|
|
90
47
|
}, {
|
|
91
|
-
readonly anonymous: false;
|
|
92
48
|
readonly inputs: readonly [{
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly type: "bool";
|
|
49
|
+
readonly internalType: "address";
|
|
50
|
+
readonly name: "account";
|
|
51
|
+
readonly type: "address";
|
|
97
52
|
}];
|
|
98
|
-
readonly name: "
|
|
99
|
-
readonly type: "
|
|
53
|
+
readonly name: "AddressInsufficientBalance";
|
|
54
|
+
readonly type: "error";
|
|
55
|
+
}, {
|
|
56
|
+
readonly inputs: readonly [];
|
|
57
|
+
readonly name: "AlreadyClaimed";
|
|
58
|
+
readonly type: "error";
|
|
59
|
+
}, {
|
|
60
|
+
readonly inputs: readonly [];
|
|
61
|
+
readonly name: "AlreadyInitialized";
|
|
62
|
+
readonly type: "error";
|
|
63
|
+
}, {
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
readonly name: "AlreadySet";
|
|
66
|
+
readonly type: "error";
|
|
67
|
+
}, {
|
|
68
|
+
readonly inputs: readonly [];
|
|
69
|
+
readonly name: "CheckpointUnorderedInsertion";
|
|
70
|
+
readonly type: "error";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly name: "DelegatorAlreadyInitialized";
|
|
74
|
+
readonly type: "error";
|
|
75
|
+
}, {
|
|
76
|
+
readonly inputs: readonly [];
|
|
77
|
+
readonly name: "DepositLimitReached";
|
|
78
|
+
readonly type: "error";
|
|
79
|
+
}, {
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly name: "FailedInnerCall";
|
|
82
|
+
readonly type: "error";
|
|
83
|
+
}, {
|
|
84
|
+
readonly inputs: readonly [];
|
|
85
|
+
readonly name: "InsufficientClaim";
|
|
86
|
+
readonly type: "error";
|
|
87
|
+
}, {
|
|
88
|
+
readonly inputs: readonly [];
|
|
89
|
+
readonly name: "InsufficientDeposit";
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [];
|
|
93
|
+
readonly name: "InsufficientRedemption";
|
|
94
|
+
readonly type: "error";
|
|
95
|
+
}, {
|
|
96
|
+
readonly inputs: readonly [];
|
|
97
|
+
readonly name: "InsufficientWithdrawal";
|
|
98
|
+
readonly type: "error";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [];
|
|
101
|
+
readonly name: "InvalidAccount";
|
|
102
|
+
readonly type: "error";
|
|
103
|
+
}, {
|
|
104
|
+
readonly inputs: readonly [];
|
|
105
|
+
readonly name: "InvalidCaptureEpoch";
|
|
106
|
+
readonly type: "error";
|
|
107
|
+
}, {
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly name: "InvalidClaimer";
|
|
110
|
+
readonly type: "error";
|
|
111
|
+
}, {
|
|
112
|
+
readonly inputs: readonly [];
|
|
113
|
+
readonly name: "InvalidCollateral";
|
|
114
|
+
readonly type: "error";
|
|
115
|
+
}, {
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly name: "InvalidDelegator";
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "InvalidEpoch";
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly name: "InvalidEpochDuration";
|
|
126
|
+
readonly type: "error";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [];
|
|
129
|
+
readonly name: "InvalidInitialization";
|
|
130
|
+
readonly type: "error";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [];
|
|
133
|
+
readonly name: "InvalidLengthEpochs";
|
|
134
|
+
readonly type: "error";
|
|
135
|
+
}, {
|
|
136
|
+
readonly inputs: readonly [];
|
|
137
|
+
readonly name: "InvalidOnBehalfOf";
|
|
138
|
+
readonly type: "error";
|
|
139
|
+
}, {
|
|
140
|
+
readonly inputs: readonly [];
|
|
141
|
+
readonly name: "InvalidRecipient";
|
|
142
|
+
readonly type: "error";
|
|
143
|
+
}, {
|
|
144
|
+
readonly inputs: readonly [];
|
|
145
|
+
readonly name: "InvalidSlasher";
|
|
146
|
+
readonly type: "error";
|
|
147
|
+
}, {
|
|
148
|
+
readonly inputs: readonly [];
|
|
149
|
+
readonly name: "InvalidTimestamp";
|
|
150
|
+
readonly type: "error";
|
|
151
|
+
}, {
|
|
152
|
+
readonly inputs: readonly [];
|
|
153
|
+
readonly name: "MathOverflowedMulDiv";
|
|
154
|
+
readonly type: "error";
|
|
155
|
+
}, {
|
|
156
|
+
readonly inputs: readonly [];
|
|
157
|
+
readonly name: "MissingRoles";
|
|
158
|
+
readonly type: "error";
|
|
159
|
+
}, {
|
|
160
|
+
readonly inputs: readonly [];
|
|
161
|
+
readonly name: "NoPreviousEpoch";
|
|
162
|
+
readonly type: "error";
|
|
163
|
+
}, {
|
|
164
|
+
readonly inputs: readonly [];
|
|
165
|
+
readonly name: "NotDelegator";
|
|
166
|
+
readonly type: "error";
|
|
167
|
+
}, {
|
|
168
|
+
readonly inputs: readonly [];
|
|
169
|
+
readonly name: "NotFactory";
|
|
170
|
+
readonly type: "error";
|
|
171
|
+
}, {
|
|
172
|
+
readonly inputs: readonly [];
|
|
173
|
+
readonly name: "NotInitialized";
|
|
174
|
+
readonly type: "error";
|
|
175
|
+
}, {
|
|
176
|
+
readonly inputs: readonly [];
|
|
177
|
+
readonly name: "NotInitializing";
|
|
178
|
+
readonly type: "error";
|
|
179
|
+
}, {
|
|
180
|
+
readonly inputs: readonly [];
|
|
181
|
+
readonly name: "NotSlasher";
|
|
182
|
+
readonly type: "error";
|
|
183
|
+
}, {
|
|
184
|
+
readonly inputs: readonly [];
|
|
185
|
+
readonly name: "NotWhitelistedDepositor";
|
|
186
|
+
readonly type: "error";
|
|
100
187
|
}, {
|
|
101
|
-
readonly anonymous: false;
|
|
102
188
|
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;
|
|
114
189
|
readonly internalType: "address";
|
|
115
|
-
readonly name: "
|
|
190
|
+
readonly name: "owner";
|
|
116
191
|
readonly type: "address";
|
|
117
|
-
}, {
|
|
118
|
-
readonly indexed: false;
|
|
119
|
-
readonly internalType: "bytes";
|
|
120
|
-
readonly name: "reason";
|
|
121
|
-
readonly type: "bytes";
|
|
122
192
|
}];
|
|
123
|
-
readonly name: "
|
|
124
|
-
readonly type: "
|
|
193
|
+
readonly name: "OwnableInvalidOwner";
|
|
194
|
+
readonly type: "error";
|
|
125
195
|
}, {
|
|
126
|
-
readonly anonymous: false;
|
|
127
196
|
readonly inputs: readonly [{
|
|
128
|
-
readonly indexed: true;
|
|
129
197
|
readonly internalType: "address";
|
|
130
|
-
readonly name: "
|
|
198
|
+
readonly name: "account";
|
|
131
199
|
readonly type: "address";
|
|
200
|
+
}];
|
|
201
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
202
|
+
readonly type: "error";
|
|
203
|
+
}, {
|
|
204
|
+
readonly inputs: readonly [];
|
|
205
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
206
|
+
readonly type: "error";
|
|
207
|
+
}, {
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly internalType: "uint8";
|
|
210
|
+
readonly name: "bits";
|
|
211
|
+
readonly type: "uint8";
|
|
132
212
|
}, {
|
|
133
|
-
readonly indexed: false;
|
|
134
213
|
readonly internalType: "uint256";
|
|
135
|
-
readonly name: "
|
|
214
|
+
readonly name: "value";
|
|
136
215
|
readonly type: "uint256";
|
|
137
216
|
}];
|
|
138
|
-
readonly name: "
|
|
139
|
-
readonly type: "
|
|
217
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
218
|
+
readonly type: "error";
|
|
140
219
|
}, {
|
|
141
|
-
readonly anonymous: false;
|
|
142
220
|
readonly inputs: readonly [{
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly type: "bool";
|
|
221
|
+
readonly internalType: "address";
|
|
222
|
+
readonly name: "token";
|
|
223
|
+
readonly type: "address";
|
|
147
224
|
}];
|
|
148
|
-
readonly name: "
|
|
149
|
-
readonly type: "
|
|
225
|
+
readonly name: "SafeERC20FailedOperation";
|
|
226
|
+
readonly type: "error";
|
|
227
|
+
}, {
|
|
228
|
+
readonly inputs: readonly [];
|
|
229
|
+
readonly name: "SlasherAlreadyInitialized";
|
|
230
|
+
readonly type: "error";
|
|
231
|
+
}, {
|
|
232
|
+
readonly inputs: readonly [];
|
|
233
|
+
readonly name: "TooMuchRedeem";
|
|
234
|
+
readonly type: "error";
|
|
235
|
+
}, {
|
|
236
|
+
readonly inputs: readonly [];
|
|
237
|
+
readonly name: "TooMuchWithdraw";
|
|
238
|
+
readonly type: "error";
|
|
150
239
|
}, {
|
|
151
240
|
readonly anonymous: false;
|
|
152
241
|
readonly inputs: readonly [{
|
|
153
|
-
readonly indexed:
|
|
154
|
-
readonly internalType: "
|
|
155
|
-
readonly name: "
|
|
156
|
-
readonly type: "
|
|
242
|
+
readonly indexed: true;
|
|
243
|
+
readonly internalType: "address";
|
|
244
|
+
readonly name: "claimer";
|
|
245
|
+
readonly type: "address";
|
|
157
246
|
}, {
|
|
158
|
-
readonly indexed:
|
|
159
|
-
readonly internalType: "
|
|
160
|
-
readonly name: "
|
|
161
|
-
readonly type: "
|
|
247
|
+
readonly indexed: true;
|
|
248
|
+
readonly internalType: "address";
|
|
249
|
+
readonly name: "recipient";
|
|
250
|
+
readonly type: "address";
|
|
162
251
|
}, {
|
|
163
252
|
readonly indexed: false;
|
|
164
|
-
readonly internalType: "
|
|
165
|
-
readonly name: "
|
|
166
|
-
readonly type: "
|
|
253
|
+
readonly internalType: "uint256";
|
|
254
|
+
readonly name: "epoch";
|
|
255
|
+
readonly type: "uint256";
|
|
167
256
|
}, {
|
|
168
257
|
readonly indexed: false;
|
|
169
258
|
readonly internalType: "uint256";
|
|
170
259
|
readonly name: "amount";
|
|
171
260
|
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";
|
|
182
261
|
}];
|
|
183
|
-
readonly name: "
|
|
262
|
+
readonly name: "Claim";
|
|
184
263
|
readonly type: "event";
|
|
185
264
|
}, {
|
|
186
265
|
readonly anonymous: false;
|
|
187
266
|
readonly inputs: readonly [{
|
|
188
|
-
readonly indexed:
|
|
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;
|
|
267
|
+
readonly indexed: true;
|
|
204
268
|
readonly internalType: "address";
|
|
205
|
-
readonly name: "
|
|
269
|
+
readonly name: "claimer";
|
|
206
270
|
readonly type: "address";
|
|
207
|
-
}, {
|
|
208
|
-
readonly indexed: false;
|
|
209
|
-
readonly internalType: "uint256";
|
|
210
|
-
readonly name: "amount";
|
|
211
|
-
readonly type: "uint256";
|
|
212
271
|
}, {
|
|
213
272
|
readonly indexed: true;
|
|
214
273
|
readonly internalType: "address";
|
|
215
|
-
readonly name: "
|
|
274
|
+
readonly name: "recipient";
|
|
216
275
|
readonly type: "address";
|
|
217
276
|
}, {
|
|
218
277
|
readonly indexed: false;
|
|
219
|
-
readonly internalType: "
|
|
220
|
-
readonly name: "
|
|
221
|
-
readonly type: "
|
|
222
|
-
}];
|
|
223
|
-
readonly name: "SwapToken";
|
|
224
|
-
readonly type: "event";
|
|
225
|
-
}, {
|
|
226
|
-
readonly anonymous: false;
|
|
227
|
-
readonly inputs: readonly [{
|
|
228
|
-
readonly indexed: true;
|
|
229
|
-
readonly internalType: "address payable";
|
|
230
|
-
readonly name: "recipient";
|
|
231
|
-
readonly type: "address";
|
|
278
|
+
readonly internalType: "uint256[]";
|
|
279
|
+
readonly name: "epochs";
|
|
280
|
+
readonly type: "uint256[]";
|
|
232
281
|
}, {
|
|
233
282
|
readonly indexed: false;
|
|
234
283
|
readonly internalType: "uint256";
|
|
235
284
|
readonly name: "amount";
|
|
236
285
|
readonly type: "uint256";
|
|
237
286
|
}];
|
|
238
|
-
readonly name: "
|
|
287
|
+
readonly name: "ClaimBatch";
|
|
239
288
|
readonly type: "event";
|
|
240
289
|
}, {
|
|
241
290
|
readonly anonymous: false;
|
|
242
291
|
readonly inputs: readonly [{
|
|
243
292
|
readonly indexed: true;
|
|
244
|
-
readonly internalType: "address
|
|
245
|
-
readonly name: "
|
|
293
|
+
readonly internalType: "address";
|
|
294
|
+
readonly name: "depositor";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
}, {
|
|
297
|
+
readonly indexed: true;
|
|
298
|
+
readonly internalType: "address";
|
|
299
|
+
readonly name: "onBehalfOf";
|
|
246
300
|
readonly type: "address";
|
|
247
301
|
}, {
|
|
248
302
|
readonly indexed: false;
|
|
249
303
|
readonly internalType: "uint256";
|
|
250
304
|
readonly name: "amount";
|
|
251
305
|
readonly type: "uint256";
|
|
252
|
-
}, {
|
|
253
|
-
readonly indexed: true;
|
|
254
|
-
readonly internalType: "address";
|
|
255
|
-
readonly name: "token";
|
|
256
|
-
readonly type: "address";
|
|
257
306
|
}, {
|
|
258
307
|
readonly indexed: false;
|
|
259
|
-
readonly internalType: "
|
|
260
|
-
readonly name: "
|
|
261
|
-
readonly type: "
|
|
308
|
+
readonly internalType: "uint256";
|
|
309
|
+
readonly name: "shares";
|
|
310
|
+
readonly type: "uint256";
|
|
262
311
|
}];
|
|
263
|
-
readonly name: "
|
|
312
|
+
readonly name: "Deposit";
|
|
264
313
|
readonly type: "event";
|
|
265
314
|
}, {
|
|
266
315
|
readonly anonymous: false;
|
|
267
316
|
readonly inputs: readonly [{
|
|
268
317
|
readonly indexed: false;
|
|
269
|
-
readonly internalType: "
|
|
270
|
-
readonly name: "
|
|
271
|
-
readonly type: "
|
|
318
|
+
readonly internalType: "uint64";
|
|
319
|
+
readonly name: "version";
|
|
320
|
+
readonly type: "uint64";
|
|
272
321
|
}];
|
|
273
|
-
readonly name: "
|
|
322
|
+
readonly name: "Initialized";
|
|
274
323
|
readonly type: "event";
|
|
275
324
|
}, {
|
|
276
325
|
readonly anonymous: false;
|
|
277
326
|
readonly inputs: readonly [{
|
|
278
|
-
readonly indexed: false;
|
|
279
|
-
readonly internalType: "uint32";
|
|
280
|
-
readonly name: "dstChain";
|
|
281
|
-
readonly type: "uint32";
|
|
282
|
-
}, {
|
|
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";
|
|
292
|
-
}, {
|
|
293
327
|
readonly indexed: false;
|
|
294
328
|
readonly internalType: "uint256";
|
|
295
329
|
readonly name: "amount";
|
|
296
330
|
readonly type: "uint256";
|
|
297
|
-
}, {
|
|
298
|
-
readonly indexed: true;
|
|
299
|
-
readonly internalType: "address";
|
|
300
|
-
readonly name: "sender";
|
|
301
|
-
readonly type: "address";
|
|
302
331
|
}, {
|
|
303
332
|
readonly indexed: false;
|
|
304
|
-
readonly internalType: "
|
|
305
|
-
readonly name: "
|
|
306
|
-
readonly type: "
|
|
333
|
+
readonly internalType: "uint48";
|
|
334
|
+
readonly name: "captureTimestamp";
|
|
335
|
+
readonly type: "uint48";
|
|
307
336
|
}, {
|
|
308
337
|
readonly indexed: false;
|
|
309
338
|
readonly internalType: "uint256";
|
|
310
|
-
readonly name: "
|
|
339
|
+
readonly name: "slashedAmount";
|
|
311
340
|
readonly type: "uint256";
|
|
312
|
-
}, {
|
|
313
|
-
readonly indexed: false;
|
|
314
|
-
readonly internalType: "bytes";
|
|
315
|
-
readonly name: "cfParameters";
|
|
316
|
-
readonly type: "bytes";
|
|
317
341
|
}];
|
|
318
|
-
readonly name: "
|
|
342
|
+
readonly name: "OnSlash";
|
|
319
343
|
readonly type: "event";
|
|
320
344
|
}, {
|
|
321
345
|
readonly anonymous: false;
|
|
322
346
|
readonly inputs: readonly [{
|
|
323
|
-
readonly indexed:
|
|
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;
|
|
347
|
+
readonly indexed: true;
|
|
339
348
|
readonly internalType: "address";
|
|
340
|
-
readonly name: "
|
|
349
|
+
readonly name: "previousOwner";
|
|
341
350
|
readonly type: "address";
|
|
342
351
|
}, {
|
|
343
|
-
readonly indexed:
|
|
352
|
+
readonly indexed: true;
|
|
353
|
+
readonly internalType: "address";
|
|
354
|
+
readonly name: "newOwner";
|
|
355
|
+
readonly type: "address";
|
|
356
|
+
}];
|
|
357
|
+
readonly name: "OwnershipTransferred";
|
|
358
|
+
readonly type: "event";
|
|
359
|
+
}, {
|
|
360
|
+
readonly anonymous: false;
|
|
361
|
+
readonly inputs: readonly [{
|
|
362
|
+
readonly indexed: true;
|
|
363
|
+
readonly internalType: "bytes32";
|
|
364
|
+
readonly name: "role";
|
|
365
|
+
readonly type: "bytes32";
|
|
366
|
+
}, {
|
|
367
|
+
readonly indexed: true;
|
|
368
|
+
readonly internalType: "bytes32";
|
|
369
|
+
readonly name: "previousAdminRole";
|
|
370
|
+
readonly type: "bytes32";
|
|
371
|
+
}, {
|
|
372
|
+
readonly indexed: true;
|
|
373
|
+
readonly internalType: "bytes32";
|
|
374
|
+
readonly name: "newAdminRole";
|
|
375
|
+
readonly type: "bytes32";
|
|
376
|
+
}];
|
|
377
|
+
readonly name: "RoleAdminChanged";
|
|
378
|
+
readonly type: "event";
|
|
379
|
+
}, {
|
|
380
|
+
readonly anonymous: false;
|
|
381
|
+
readonly inputs: readonly [{
|
|
382
|
+
readonly indexed: true;
|
|
383
|
+
readonly internalType: "bytes32";
|
|
384
|
+
readonly name: "role";
|
|
385
|
+
readonly type: "bytes32";
|
|
386
|
+
}, {
|
|
387
|
+
readonly indexed: true;
|
|
388
|
+
readonly internalType: "address";
|
|
389
|
+
readonly name: "account";
|
|
390
|
+
readonly type: "address";
|
|
391
|
+
}, {
|
|
392
|
+
readonly indexed: true;
|
|
393
|
+
readonly internalType: "address";
|
|
394
|
+
readonly name: "sender";
|
|
395
|
+
readonly type: "address";
|
|
396
|
+
}];
|
|
397
|
+
readonly name: "RoleGranted";
|
|
398
|
+
readonly type: "event";
|
|
399
|
+
}, {
|
|
400
|
+
readonly anonymous: false;
|
|
401
|
+
readonly inputs: readonly [{
|
|
402
|
+
readonly indexed: true;
|
|
403
|
+
readonly internalType: "bytes32";
|
|
404
|
+
readonly name: "role";
|
|
405
|
+
readonly type: "bytes32";
|
|
406
|
+
}, {
|
|
407
|
+
readonly indexed: true;
|
|
408
|
+
readonly internalType: "address";
|
|
409
|
+
readonly name: "account";
|
|
410
|
+
readonly type: "address";
|
|
411
|
+
}, {
|
|
412
|
+
readonly indexed: true;
|
|
413
|
+
readonly internalType: "address";
|
|
414
|
+
readonly name: "sender";
|
|
415
|
+
readonly type: "address";
|
|
416
|
+
}];
|
|
417
|
+
readonly name: "RoleRevoked";
|
|
418
|
+
readonly type: "event";
|
|
419
|
+
}, {
|
|
420
|
+
readonly anonymous: false;
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly indexed: true;
|
|
423
|
+
readonly internalType: "address";
|
|
424
|
+
readonly name: "delegator";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}];
|
|
427
|
+
readonly name: "SetDelegator";
|
|
428
|
+
readonly type: "event";
|
|
429
|
+
}, {
|
|
430
|
+
readonly anonymous: false;
|
|
431
|
+
readonly inputs: readonly [{
|
|
432
|
+
readonly indexed: false;
|
|
433
|
+
readonly internalType: "uint256";
|
|
434
|
+
readonly name: "limit";
|
|
435
|
+
readonly type: "uint256";
|
|
436
|
+
}];
|
|
437
|
+
readonly name: "SetDepositLimit";
|
|
438
|
+
readonly type: "event";
|
|
439
|
+
}, {
|
|
440
|
+
readonly anonymous: false;
|
|
441
|
+
readonly inputs: readonly [{
|
|
442
|
+
readonly indexed: false;
|
|
443
|
+
readonly internalType: "bool";
|
|
444
|
+
readonly name: "status";
|
|
445
|
+
readonly type: "bool";
|
|
446
|
+
}];
|
|
447
|
+
readonly name: "SetDepositWhitelist";
|
|
448
|
+
readonly type: "event";
|
|
449
|
+
}, {
|
|
450
|
+
readonly anonymous: false;
|
|
451
|
+
readonly inputs: readonly [{
|
|
452
|
+
readonly indexed: true;
|
|
453
|
+
readonly internalType: "address";
|
|
454
|
+
readonly name: "account";
|
|
455
|
+
readonly type: "address";
|
|
456
|
+
}, {
|
|
457
|
+
readonly indexed: false;
|
|
458
|
+
readonly internalType: "bool";
|
|
459
|
+
readonly name: "status";
|
|
460
|
+
readonly type: "bool";
|
|
461
|
+
}];
|
|
462
|
+
readonly name: "SetDepositorWhitelistStatus";
|
|
463
|
+
readonly type: "event";
|
|
464
|
+
}, {
|
|
465
|
+
readonly anonymous: false;
|
|
466
|
+
readonly inputs: readonly [{
|
|
467
|
+
readonly indexed: false;
|
|
468
|
+
readonly internalType: "bool";
|
|
469
|
+
readonly name: "status";
|
|
470
|
+
readonly type: "bool";
|
|
471
|
+
}];
|
|
472
|
+
readonly name: "SetIsDepositLimit";
|
|
473
|
+
readonly type: "event";
|
|
474
|
+
}, {
|
|
475
|
+
readonly anonymous: false;
|
|
476
|
+
readonly inputs: readonly [{
|
|
477
|
+
readonly indexed: true;
|
|
478
|
+
readonly internalType: "address";
|
|
479
|
+
readonly name: "slasher";
|
|
480
|
+
readonly type: "address";
|
|
481
|
+
}];
|
|
482
|
+
readonly name: "SetSlasher";
|
|
483
|
+
readonly type: "event";
|
|
484
|
+
}, {
|
|
485
|
+
readonly anonymous: false;
|
|
486
|
+
readonly inputs: readonly [{
|
|
487
|
+
readonly indexed: true;
|
|
488
|
+
readonly internalType: "address";
|
|
489
|
+
readonly name: "withdrawer";
|
|
490
|
+
readonly type: "address";
|
|
491
|
+
}, {
|
|
492
|
+
readonly indexed: true;
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
readonly name: "claimer";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}, {
|
|
497
|
+
readonly indexed: false;
|
|
498
|
+
readonly internalType: "uint256";
|
|
499
|
+
readonly name: "amount";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
}, {
|
|
502
|
+
readonly indexed: false;
|
|
503
|
+
readonly internalType: "uint256";
|
|
504
|
+
readonly name: "burnedShares";
|
|
505
|
+
readonly type: "uint256";
|
|
506
|
+
}, {
|
|
507
|
+
readonly indexed: false;
|
|
508
|
+
readonly internalType: "uint256";
|
|
509
|
+
readonly name: "mintedShares";
|
|
510
|
+
readonly type: "uint256";
|
|
511
|
+
}];
|
|
512
|
+
readonly name: "Withdraw";
|
|
513
|
+
readonly type: "event";
|
|
514
|
+
}, {
|
|
515
|
+
readonly inputs: readonly [];
|
|
516
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
517
|
+
readonly outputs: readonly [{
|
|
518
|
+
readonly internalType: "bytes32";
|
|
519
|
+
readonly name: "";
|
|
520
|
+
readonly type: "bytes32";
|
|
521
|
+
}];
|
|
522
|
+
readonly stateMutability: "view";
|
|
523
|
+
readonly type: "function";
|
|
524
|
+
}, {
|
|
525
|
+
readonly inputs: readonly [];
|
|
526
|
+
readonly name: "DELEGATOR_FACTORY";
|
|
527
|
+
readonly outputs: readonly [{
|
|
528
|
+
readonly internalType: "address";
|
|
529
|
+
readonly name: "";
|
|
530
|
+
readonly type: "address";
|
|
531
|
+
}];
|
|
532
|
+
readonly stateMutability: "view";
|
|
533
|
+
readonly type: "function";
|
|
534
|
+
}, {
|
|
535
|
+
readonly inputs: readonly [];
|
|
536
|
+
readonly name: "DEPOSITOR_WHITELIST_ROLE";
|
|
537
|
+
readonly outputs: readonly [{
|
|
538
|
+
readonly internalType: "bytes32";
|
|
539
|
+
readonly name: "";
|
|
540
|
+
readonly type: "bytes32";
|
|
541
|
+
}];
|
|
542
|
+
readonly stateMutability: "view";
|
|
543
|
+
readonly type: "function";
|
|
544
|
+
}, {
|
|
545
|
+
readonly inputs: readonly [];
|
|
546
|
+
readonly name: "DEPOSIT_LIMIT_SET_ROLE";
|
|
547
|
+
readonly outputs: readonly [{
|
|
548
|
+
readonly internalType: "bytes32";
|
|
549
|
+
readonly name: "";
|
|
550
|
+
readonly type: "bytes32";
|
|
551
|
+
}];
|
|
552
|
+
readonly stateMutability: "view";
|
|
553
|
+
readonly type: "function";
|
|
554
|
+
}, {
|
|
555
|
+
readonly inputs: readonly [];
|
|
556
|
+
readonly name: "DEPOSIT_WHITELIST_SET_ROLE";
|
|
557
|
+
readonly outputs: readonly [{
|
|
558
|
+
readonly internalType: "bytes32";
|
|
559
|
+
readonly name: "";
|
|
560
|
+
readonly type: "bytes32";
|
|
561
|
+
}];
|
|
562
|
+
readonly stateMutability: "view";
|
|
563
|
+
readonly type: "function";
|
|
564
|
+
}, {
|
|
565
|
+
readonly inputs: readonly [];
|
|
566
|
+
readonly name: "FACTORY";
|
|
567
|
+
readonly outputs: readonly [{
|
|
568
|
+
readonly internalType: "address";
|
|
569
|
+
readonly name: "";
|
|
570
|
+
readonly type: "address";
|
|
571
|
+
}];
|
|
572
|
+
readonly stateMutability: "view";
|
|
573
|
+
readonly type: "function";
|
|
574
|
+
}, {
|
|
575
|
+
readonly inputs: readonly [];
|
|
576
|
+
readonly name: "IS_DEPOSIT_LIMIT_SET_ROLE";
|
|
577
|
+
readonly outputs: readonly [{
|
|
578
|
+
readonly internalType: "bytes32";
|
|
579
|
+
readonly name: "";
|
|
580
|
+
readonly type: "bytes32";
|
|
581
|
+
}];
|
|
582
|
+
readonly stateMutability: "view";
|
|
583
|
+
readonly type: "function";
|
|
584
|
+
}, {
|
|
585
|
+
readonly inputs: readonly [];
|
|
586
|
+
readonly name: "SLASHER_FACTORY";
|
|
587
|
+
readonly outputs: readonly [{
|
|
588
|
+
readonly internalType: "address";
|
|
589
|
+
readonly name: "";
|
|
590
|
+
readonly type: "address";
|
|
591
|
+
}];
|
|
592
|
+
readonly stateMutability: "view";
|
|
593
|
+
readonly type: "function";
|
|
594
|
+
}, {
|
|
595
|
+
readonly inputs: readonly [{
|
|
596
|
+
readonly internalType: "address";
|
|
597
|
+
readonly name: "account";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
}];
|
|
600
|
+
readonly name: "activeBalanceOf";
|
|
601
|
+
readonly outputs: readonly [{
|
|
602
|
+
readonly internalType: "uint256";
|
|
603
|
+
readonly name: "";
|
|
604
|
+
readonly type: "uint256";
|
|
605
|
+
}];
|
|
606
|
+
readonly stateMutability: "view";
|
|
607
|
+
readonly type: "function";
|
|
608
|
+
}, {
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly internalType: "address";
|
|
611
|
+
readonly name: "account";
|
|
612
|
+
readonly type: "address";
|
|
613
|
+
}, {
|
|
614
|
+
readonly internalType: "uint48";
|
|
615
|
+
readonly name: "timestamp";
|
|
616
|
+
readonly type: "uint48";
|
|
617
|
+
}, {
|
|
618
|
+
readonly internalType: "bytes";
|
|
619
|
+
readonly name: "hints";
|
|
620
|
+
readonly type: "bytes";
|
|
621
|
+
}];
|
|
622
|
+
readonly name: "activeBalanceOfAt";
|
|
623
|
+
readonly outputs: readonly [{
|
|
624
|
+
readonly internalType: "uint256";
|
|
625
|
+
readonly name: "";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
}];
|
|
628
|
+
readonly stateMutability: "view";
|
|
629
|
+
readonly type: "function";
|
|
630
|
+
}, {
|
|
631
|
+
readonly inputs: readonly [];
|
|
632
|
+
readonly name: "activeShares";
|
|
633
|
+
readonly outputs: readonly [{
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
readonly name: "";
|
|
636
|
+
readonly type: "uint256";
|
|
637
|
+
}];
|
|
638
|
+
readonly stateMutability: "view";
|
|
639
|
+
readonly type: "function";
|
|
640
|
+
}, {
|
|
641
|
+
readonly inputs: readonly [{
|
|
642
|
+
readonly internalType: "uint48";
|
|
643
|
+
readonly name: "timestamp";
|
|
644
|
+
readonly type: "uint48";
|
|
645
|
+
}, {
|
|
646
|
+
readonly internalType: "bytes";
|
|
647
|
+
readonly name: "hint";
|
|
648
|
+
readonly type: "bytes";
|
|
649
|
+
}];
|
|
650
|
+
readonly name: "activeSharesAt";
|
|
651
|
+
readonly outputs: readonly [{
|
|
652
|
+
readonly internalType: "uint256";
|
|
653
|
+
readonly name: "";
|
|
654
|
+
readonly type: "uint256";
|
|
655
|
+
}];
|
|
656
|
+
readonly stateMutability: "view";
|
|
657
|
+
readonly type: "function";
|
|
658
|
+
}, {
|
|
659
|
+
readonly inputs: readonly [{
|
|
660
|
+
readonly internalType: "address";
|
|
661
|
+
readonly name: "account";
|
|
662
|
+
readonly type: "address";
|
|
663
|
+
}];
|
|
664
|
+
readonly name: "activeSharesOf";
|
|
665
|
+
readonly outputs: readonly [{
|
|
666
|
+
readonly internalType: "uint256";
|
|
667
|
+
readonly name: "";
|
|
668
|
+
readonly type: "uint256";
|
|
669
|
+
}];
|
|
670
|
+
readonly stateMutability: "view";
|
|
671
|
+
readonly type: "function";
|
|
672
|
+
}, {
|
|
673
|
+
readonly inputs: readonly [{
|
|
674
|
+
readonly internalType: "address";
|
|
675
|
+
readonly name: "account";
|
|
676
|
+
readonly type: "address";
|
|
677
|
+
}, {
|
|
678
|
+
readonly internalType: "uint48";
|
|
679
|
+
readonly name: "timestamp";
|
|
680
|
+
readonly type: "uint48";
|
|
681
|
+
}, {
|
|
682
|
+
readonly internalType: "bytes";
|
|
683
|
+
readonly name: "hint";
|
|
684
|
+
readonly type: "bytes";
|
|
685
|
+
}];
|
|
686
|
+
readonly name: "activeSharesOfAt";
|
|
687
|
+
readonly outputs: readonly [{
|
|
688
|
+
readonly internalType: "uint256";
|
|
689
|
+
readonly name: "";
|
|
690
|
+
readonly type: "uint256";
|
|
691
|
+
}];
|
|
692
|
+
readonly stateMutability: "view";
|
|
693
|
+
readonly type: "function";
|
|
694
|
+
}, {
|
|
695
|
+
readonly inputs: readonly [];
|
|
696
|
+
readonly name: "activeStake";
|
|
697
|
+
readonly outputs: readonly [{
|
|
698
|
+
readonly internalType: "uint256";
|
|
699
|
+
readonly name: "";
|
|
700
|
+
readonly type: "uint256";
|
|
701
|
+
}];
|
|
702
|
+
readonly stateMutability: "view";
|
|
703
|
+
readonly type: "function";
|
|
704
|
+
}, {
|
|
705
|
+
readonly inputs: readonly [{
|
|
706
|
+
readonly internalType: "uint48";
|
|
707
|
+
readonly name: "timestamp";
|
|
708
|
+
readonly type: "uint48";
|
|
709
|
+
}, {
|
|
710
|
+
readonly internalType: "bytes";
|
|
711
|
+
readonly name: "hint";
|
|
712
|
+
readonly type: "bytes";
|
|
713
|
+
}];
|
|
714
|
+
readonly name: "activeStakeAt";
|
|
715
|
+
readonly outputs: readonly [{
|
|
716
|
+
readonly internalType: "uint256";
|
|
717
|
+
readonly name: "";
|
|
718
|
+
readonly type: "uint256";
|
|
719
|
+
}];
|
|
720
|
+
readonly stateMutability: "view";
|
|
721
|
+
readonly type: "function";
|
|
722
|
+
}, {
|
|
723
|
+
readonly inputs: readonly [];
|
|
724
|
+
readonly name: "burner";
|
|
725
|
+
readonly outputs: readonly [{
|
|
726
|
+
readonly internalType: "address";
|
|
727
|
+
readonly name: "";
|
|
728
|
+
readonly type: "address";
|
|
729
|
+
}];
|
|
730
|
+
readonly stateMutability: "view";
|
|
731
|
+
readonly type: "function";
|
|
732
|
+
}, {
|
|
733
|
+
readonly inputs: readonly [{
|
|
734
|
+
readonly internalType: "address";
|
|
735
|
+
readonly name: "recipient";
|
|
736
|
+
readonly type: "address";
|
|
737
|
+
}, {
|
|
738
|
+
readonly internalType: "uint256";
|
|
739
|
+
readonly name: "epoch";
|
|
740
|
+
readonly type: "uint256";
|
|
741
|
+
}];
|
|
742
|
+
readonly name: "claim";
|
|
743
|
+
readonly outputs: readonly [{
|
|
744
|
+
readonly internalType: "uint256";
|
|
745
|
+
readonly name: "amount";
|
|
746
|
+
readonly type: "uint256";
|
|
747
|
+
}];
|
|
748
|
+
readonly stateMutability: "nonpayable";
|
|
749
|
+
readonly type: "function";
|
|
750
|
+
}, {
|
|
751
|
+
readonly inputs: readonly [{
|
|
752
|
+
readonly internalType: "address";
|
|
753
|
+
readonly name: "recipient";
|
|
754
|
+
readonly type: "address";
|
|
755
|
+
}, {
|
|
756
|
+
readonly internalType: "uint256[]";
|
|
757
|
+
readonly name: "epochs";
|
|
758
|
+
readonly type: "uint256[]";
|
|
759
|
+
}];
|
|
760
|
+
readonly name: "claimBatch";
|
|
761
|
+
readonly outputs: readonly [{
|
|
762
|
+
readonly internalType: "uint256";
|
|
763
|
+
readonly name: "amount";
|
|
764
|
+
readonly type: "uint256";
|
|
765
|
+
}];
|
|
766
|
+
readonly stateMutability: "nonpayable";
|
|
767
|
+
readonly type: "function";
|
|
768
|
+
}, {
|
|
769
|
+
readonly inputs: readonly [];
|
|
770
|
+
readonly name: "collateral";
|
|
771
|
+
readonly outputs: readonly [{
|
|
772
|
+
readonly internalType: "address";
|
|
773
|
+
readonly name: "";
|
|
774
|
+
readonly type: "address";
|
|
775
|
+
}];
|
|
776
|
+
readonly stateMutability: "view";
|
|
777
|
+
readonly type: "function";
|
|
778
|
+
}, {
|
|
779
|
+
readonly inputs: readonly [];
|
|
780
|
+
readonly name: "currentEpoch";
|
|
781
|
+
readonly outputs: readonly [{
|
|
782
|
+
readonly internalType: "uint256";
|
|
783
|
+
readonly name: "";
|
|
784
|
+
readonly type: "uint256";
|
|
785
|
+
}];
|
|
786
|
+
readonly stateMutability: "view";
|
|
787
|
+
readonly type: "function";
|
|
788
|
+
}, {
|
|
789
|
+
readonly inputs: readonly [];
|
|
790
|
+
readonly name: "currentEpochStart";
|
|
791
|
+
readonly outputs: readonly [{
|
|
792
|
+
readonly internalType: "uint48";
|
|
793
|
+
readonly name: "";
|
|
794
|
+
readonly type: "uint48";
|
|
795
|
+
}];
|
|
796
|
+
readonly stateMutability: "view";
|
|
797
|
+
readonly type: "function";
|
|
798
|
+
}, {
|
|
799
|
+
readonly inputs: readonly [];
|
|
800
|
+
readonly name: "delegator";
|
|
801
|
+
readonly outputs: readonly [{
|
|
802
|
+
readonly internalType: "address";
|
|
803
|
+
readonly name: "";
|
|
804
|
+
readonly type: "address";
|
|
805
|
+
}];
|
|
806
|
+
readonly stateMutability: "view";
|
|
807
|
+
readonly type: "function";
|
|
808
|
+
}, {
|
|
809
|
+
readonly inputs: readonly [{
|
|
810
|
+
readonly internalType: "address";
|
|
811
|
+
readonly name: "onBehalfOf";
|
|
812
|
+
readonly type: "address";
|
|
813
|
+
}, {
|
|
814
|
+
readonly internalType: "uint256";
|
|
815
|
+
readonly name: "amount";
|
|
816
|
+
readonly type: "uint256";
|
|
817
|
+
}];
|
|
818
|
+
readonly name: "deposit";
|
|
819
|
+
readonly outputs: readonly [{
|
|
820
|
+
readonly internalType: "uint256";
|
|
821
|
+
readonly name: "depositedAmount";
|
|
822
|
+
readonly type: "uint256";
|
|
823
|
+
}, {
|
|
824
|
+
readonly internalType: "uint256";
|
|
825
|
+
readonly name: "mintedShares";
|
|
826
|
+
readonly type: "uint256";
|
|
827
|
+
}];
|
|
828
|
+
readonly stateMutability: "nonpayable";
|
|
829
|
+
readonly type: "function";
|
|
830
|
+
}, {
|
|
831
|
+
readonly inputs: readonly [];
|
|
832
|
+
readonly name: "depositLimit";
|
|
833
|
+
readonly outputs: readonly [{
|
|
834
|
+
readonly internalType: "uint256";
|
|
835
|
+
readonly name: "";
|
|
836
|
+
readonly type: "uint256";
|
|
837
|
+
}];
|
|
838
|
+
readonly stateMutability: "view";
|
|
839
|
+
readonly type: "function";
|
|
840
|
+
}, {
|
|
841
|
+
readonly inputs: readonly [];
|
|
842
|
+
readonly name: "depositWhitelist";
|
|
843
|
+
readonly outputs: readonly [{
|
|
844
|
+
readonly internalType: "bool";
|
|
845
|
+
readonly name: "";
|
|
846
|
+
readonly type: "bool";
|
|
847
|
+
}];
|
|
848
|
+
readonly stateMutability: "view";
|
|
849
|
+
readonly type: "function";
|
|
850
|
+
}, {
|
|
851
|
+
readonly inputs: readonly [{
|
|
852
|
+
readonly internalType: "uint48";
|
|
853
|
+
readonly name: "timestamp";
|
|
854
|
+
readonly type: "uint48";
|
|
855
|
+
}];
|
|
856
|
+
readonly name: "epochAt";
|
|
857
|
+
readonly outputs: readonly [{
|
|
858
|
+
readonly internalType: "uint256";
|
|
859
|
+
readonly name: "";
|
|
860
|
+
readonly type: "uint256";
|
|
861
|
+
}];
|
|
862
|
+
readonly stateMutability: "view";
|
|
863
|
+
readonly type: "function";
|
|
864
|
+
}, {
|
|
865
|
+
readonly inputs: readonly [];
|
|
866
|
+
readonly name: "epochDuration";
|
|
867
|
+
readonly outputs: readonly [{
|
|
868
|
+
readonly internalType: "uint48";
|
|
869
|
+
readonly name: "";
|
|
870
|
+
readonly type: "uint48";
|
|
871
|
+
}];
|
|
872
|
+
readonly stateMutability: "view";
|
|
873
|
+
readonly type: "function";
|
|
874
|
+
}, {
|
|
875
|
+
readonly inputs: readonly [];
|
|
876
|
+
readonly name: "epochDurationInit";
|
|
877
|
+
readonly outputs: readonly [{
|
|
878
|
+
readonly internalType: "uint48";
|
|
879
|
+
readonly name: "";
|
|
880
|
+
readonly type: "uint48";
|
|
881
|
+
}];
|
|
882
|
+
readonly stateMutability: "view";
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
}, {
|
|
885
|
+
readonly inputs: readonly [{
|
|
886
|
+
readonly internalType: "bytes32";
|
|
887
|
+
readonly name: "role";
|
|
888
|
+
readonly type: "bytes32";
|
|
889
|
+
}];
|
|
890
|
+
readonly name: "getRoleAdmin";
|
|
891
|
+
readonly outputs: readonly [{
|
|
892
|
+
readonly internalType: "bytes32";
|
|
893
|
+
readonly name: "";
|
|
894
|
+
readonly type: "bytes32";
|
|
895
|
+
}];
|
|
896
|
+
readonly stateMutability: "view";
|
|
897
|
+
readonly type: "function";
|
|
898
|
+
}, {
|
|
899
|
+
readonly inputs: readonly [{
|
|
900
|
+
readonly internalType: "bytes32";
|
|
901
|
+
readonly name: "role";
|
|
902
|
+
readonly type: "bytes32";
|
|
903
|
+
}, {
|
|
904
|
+
readonly internalType: "address";
|
|
905
|
+
readonly name: "account";
|
|
906
|
+
readonly type: "address";
|
|
907
|
+
}];
|
|
908
|
+
readonly name: "grantRole";
|
|
909
|
+
readonly outputs: readonly [];
|
|
910
|
+
readonly stateMutability: "nonpayable";
|
|
911
|
+
readonly type: "function";
|
|
912
|
+
}, {
|
|
913
|
+
readonly inputs: readonly [{
|
|
914
|
+
readonly internalType: "bytes32";
|
|
915
|
+
readonly name: "role";
|
|
916
|
+
readonly type: "bytes32";
|
|
917
|
+
}, {
|
|
918
|
+
readonly internalType: "address";
|
|
919
|
+
readonly name: "account";
|
|
920
|
+
readonly type: "address";
|
|
921
|
+
}];
|
|
922
|
+
readonly name: "hasRole";
|
|
923
|
+
readonly outputs: readonly [{
|
|
924
|
+
readonly internalType: "bool";
|
|
925
|
+
readonly name: "";
|
|
926
|
+
readonly type: "bool";
|
|
927
|
+
}];
|
|
928
|
+
readonly stateMutability: "view";
|
|
929
|
+
readonly type: "function";
|
|
930
|
+
}, {
|
|
931
|
+
readonly inputs: readonly [{
|
|
932
|
+
readonly internalType: "uint64";
|
|
933
|
+
readonly name: "initialVersion";
|
|
934
|
+
readonly type: "uint64";
|
|
935
|
+
}, {
|
|
936
|
+
readonly internalType: "address";
|
|
937
|
+
readonly name: "owner_";
|
|
938
|
+
readonly type: "address";
|
|
939
|
+
}, {
|
|
940
|
+
readonly internalType: "bytes";
|
|
941
|
+
readonly name: "data";
|
|
942
|
+
readonly type: "bytes";
|
|
943
|
+
}];
|
|
944
|
+
readonly name: "initialize";
|
|
945
|
+
readonly outputs: readonly [];
|
|
946
|
+
readonly stateMutability: "nonpayable";
|
|
947
|
+
readonly type: "function";
|
|
948
|
+
}, {
|
|
949
|
+
readonly inputs: readonly [];
|
|
950
|
+
readonly name: "isDelegatorInitialized";
|
|
951
|
+
readonly outputs: readonly [{
|
|
952
|
+
readonly internalType: "bool";
|
|
953
|
+
readonly name: "";
|
|
954
|
+
readonly type: "bool";
|
|
955
|
+
}];
|
|
956
|
+
readonly stateMutability: "view";
|
|
957
|
+
readonly type: "function";
|
|
958
|
+
}, {
|
|
959
|
+
readonly inputs: readonly [];
|
|
960
|
+
readonly name: "isDepositLimit";
|
|
961
|
+
readonly outputs: readonly [{
|
|
962
|
+
readonly internalType: "bool";
|
|
963
|
+
readonly name: "";
|
|
964
|
+
readonly type: "bool";
|
|
965
|
+
}];
|
|
966
|
+
readonly stateMutability: "view";
|
|
967
|
+
readonly type: "function";
|
|
968
|
+
}, {
|
|
969
|
+
readonly inputs: readonly [{
|
|
970
|
+
readonly internalType: "address";
|
|
971
|
+
readonly name: "account";
|
|
972
|
+
readonly type: "address";
|
|
973
|
+
}];
|
|
974
|
+
readonly name: "isDepositorWhitelisted";
|
|
975
|
+
readonly outputs: readonly [{
|
|
976
|
+
readonly internalType: "bool";
|
|
977
|
+
readonly name: "value";
|
|
978
|
+
readonly type: "bool";
|
|
979
|
+
}];
|
|
980
|
+
readonly stateMutability: "view";
|
|
981
|
+
readonly type: "function";
|
|
982
|
+
}, {
|
|
983
|
+
readonly inputs: readonly [];
|
|
984
|
+
readonly name: "isInitialized";
|
|
985
|
+
readonly outputs: readonly [{
|
|
986
|
+
readonly internalType: "bool";
|
|
987
|
+
readonly name: "";
|
|
988
|
+
readonly type: "bool";
|
|
989
|
+
}];
|
|
990
|
+
readonly stateMutability: "view";
|
|
991
|
+
readonly type: "function";
|
|
992
|
+
}, {
|
|
993
|
+
readonly inputs: readonly [];
|
|
994
|
+
readonly name: "isSlasherInitialized";
|
|
995
|
+
readonly outputs: readonly [{
|
|
996
|
+
readonly internalType: "bool";
|
|
997
|
+
readonly name: "";
|
|
998
|
+
readonly type: "bool";
|
|
999
|
+
}];
|
|
1000
|
+
readonly stateMutability: "view";
|
|
1001
|
+
readonly type: "function";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly inputs: readonly [{
|
|
344
1004
|
readonly internalType: "uint256";
|
|
345
|
-
readonly name: "
|
|
1005
|
+
readonly name: "epoch";
|
|
346
1006
|
readonly type: "uint256";
|
|
347
1007
|
}, {
|
|
348
|
-
readonly indexed: true;
|
|
349
1008
|
readonly internalType: "address";
|
|
350
|
-
readonly name: "
|
|
1009
|
+
readonly name: "account";
|
|
351
1010
|
readonly type: "address";
|
|
1011
|
+
}];
|
|
1012
|
+
readonly name: "isWithdrawalsClaimed";
|
|
1013
|
+
readonly outputs: readonly [{
|
|
1014
|
+
readonly internalType: "bool";
|
|
1015
|
+
readonly name: "value";
|
|
1016
|
+
readonly type: "bool";
|
|
1017
|
+
}];
|
|
1018
|
+
readonly stateMutability: "view";
|
|
1019
|
+
readonly type: "function";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly inputs: readonly [{
|
|
1022
|
+
readonly internalType: "uint64";
|
|
1023
|
+
readonly name: "newVersion";
|
|
1024
|
+
readonly type: "uint64";
|
|
352
1025
|
}, {
|
|
353
|
-
readonly indexed: false;
|
|
354
|
-
readonly internalType: "bytes";
|
|
355
|
-
readonly name: "message";
|
|
356
|
-
readonly type: "bytes";
|
|
357
|
-
}, {
|
|
358
|
-
readonly indexed: false;
|
|
359
|
-
readonly internalType: "uint256";
|
|
360
|
-
readonly name: "gasAmount";
|
|
361
|
-
readonly type: "uint256";
|
|
362
|
-
}, {
|
|
363
|
-
readonly indexed: false;
|
|
364
1026
|
readonly internalType: "bytes";
|
|
365
|
-
readonly name: "
|
|
1027
|
+
readonly name: "data";
|
|
366
1028
|
readonly type: "bytes";
|
|
367
1029
|
}];
|
|
368
|
-
readonly name: "
|
|
369
|
-
readonly
|
|
1030
|
+
readonly name: "migrate";
|
|
1031
|
+
readonly outputs: readonly [];
|
|
1032
|
+
readonly stateMutability: "nonpayable";
|
|
1033
|
+
readonly type: "function";
|
|
370
1034
|
}, {
|
|
371
|
-
readonly inputs: readonly [
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
readonly
|
|
1035
|
+
readonly inputs: readonly [];
|
|
1036
|
+
readonly name: "nextEpochStart";
|
|
1037
|
+
readonly outputs: readonly [{
|
|
1038
|
+
readonly internalType: "uint48";
|
|
1039
|
+
readonly name: "";
|
|
1040
|
+
readonly type: "uint48";
|
|
375
1041
|
}];
|
|
376
|
-
readonly
|
|
377
|
-
readonly outputs: readonly [];
|
|
378
|
-
readonly stateMutability: "payable";
|
|
1042
|
+
readonly stateMutability: "view";
|
|
379
1043
|
readonly type: "function";
|
|
380
1044
|
}, {
|
|
381
1045
|
readonly inputs: readonly [{
|
|
382
|
-
readonly internalType: "bytes32";
|
|
383
|
-
readonly name: "swapID";
|
|
384
|
-
readonly type: "bytes32";
|
|
385
|
-
}, {
|
|
386
1046
|
readonly internalType: "uint256";
|
|
387
1047
|
readonly name: "amount";
|
|
388
1048
|
readonly type: "uint256";
|
|
389
1049
|
}, {
|
|
390
|
-
readonly internalType: "
|
|
391
|
-
readonly name: "
|
|
392
|
-
readonly type: "
|
|
1050
|
+
readonly internalType: "uint48";
|
|
1051
|
+
readonly name: "captureTimestamp";
|
|
1052
|
+
readonly type: "uint48";
|
|
1053
|
+
}];
|
|
1054
|
+
readonly name: "onSlash";
|
|
1055
|
+
readonly outputs: readonly [{
|
|
1056
|
+
readonly internalType: "uint256";
|
|
1057
|
+
readonly name: "slashedAmount";
|
|
1058
|
+
readonly type: "uint256";
|
|
393
1059
|
}];
|
|
394
|
-
readonly name: "addGasToken";
|
|
395
|
-
readonly outputs: readonly [];
|
|
396
1060
|
readonly stateMutability: "nonpayable";
|
|
397
1061
|
readonly type: "function";
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly inputs: readonly [];
|
|
1064
|
+
readonly name: "owner";
|
|
1065
|
+
readonly outputs: readonly [{
|
|
1066
|
+
readonly internalType: "address";
|
|
1067
|
+
readonly name: "";
|
|
1068
|
+
readonly type: "address";
|
|
1069
|
+
}];
|
|
1070
|
+
readonly stateMutability: "view";
|
|
1071
|
+
readonly type: "function";
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly inputs: readonly [];
|
|
1074
|
+
readonly name: "previousEpochStart";
|
|
1075
|
+
readonly outputs: readonly [{
|
|
1076
|
+
readonly internalType: "uint48";
|
|
1077
|
+
readonly name: "";
|
|
1078
|
+
readonly type: "uint48";
|
|
1079
|
+
}];
|
|
1080
|
+
readonly stateMutability: "view";
|
|
1081
|
+
readonly type: "function";
|
|
398
1082
|
}, {
|
|
399
1083
|
readonly inputs: readonly [{
|
|
400
|
-
readonly
|
|
401
|
-
|
|
402
|
-
|
|
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[]";
|
|
1084
|
+
readonly internalType: "address";
|
|
1085
|
+
readonly name: "claimer";
|
|
1086
|
+
readonly type: "address";
|
|
429
1087
|
}, {
|
|
430
|
-
readonly
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
readonly internalType: "struct IShared.FetchParams[]";
|
|
440
|
-
readonly name: "fetchParamsArray";
|
|
441
|
-
readonly type: "tuple[]";
|
|
1088
|
+
readonly internalType: "uint256";
|
|
1089
|
+
readonly name: "shares";
|
|
1090
|
+
readonly type: "uint256";
|
|
1091
|
+
}];
|
|
1092
|
+
readonly name: "redeem";
|
|
1093
|
+
readonly outputs: readonly [{
|
|
1094
|
+
readonly internalType: "uint256";
|
|
1095
|
+
readonly name: "withdrawnAssets";
|
|
1096
|
+
readonly type: "uint256";
|
|
442
1097
|
}, {
|
|
443
|
-
readonly
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
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[]";
|
|
459
|
-
}];
|
|
460
|
-
readonly name: "allBatch";
|
|
1098
|
+
readonly internalType: "uint256";
|
|
1099
|
+
readonly name: "mintedShares";
|
|
1100
|
+
readonly type: "uint256";
|
|
1101
|
+
}];
|
|
1102
|
+
readonly stateMutability: "nonpayable";
|
|
1103
|
+
readonly type: "function";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly inputs: readonly [];
|
|
1106
|
+
readonly name: "renounceOwnership";
|
|
461
1107
|
readonly outputs: readonly [];
|
|
462
1108
|
readonly stateMutability: "nonpayable";
|
|
463
1109
|
readonly type: "function";
|
|
464
1110
|
}, {
|
|
465
1111
|
readonly inputs: readonly [{
|
|
466
|
-
readonly
|
|
467
|
-
|
|
468
|
-
|
|
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[]";
|
|
1112
|
+
readonly internalType: "bytes32";
|
|
1113
|
+
readonly name: "role";
|
|
1114
|
+
readonly type: "bytes32";
|
|
495
1115
|
}, {
|
|
496
|
-
readonly
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
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[]";
|
|
512
|
-
}];
|
|
513
|
-
readonly name: "allBatchV2";
|
|
1116
|
+
readonly internalType: "address";
|
|
1117
|
+
readonly name: "callerConfirmation";
|
|
1118
|
+
readonly type: "address";
|
|
1119
|
+
}];
|
|
1120
|
+
readonly name: "renounceRole";
|
|
514
1121
|
readonly outputs: readonly [];
|
|
515
1122
|
readonly stateMutability: "nonpayable";
|
|
516
1123
|
readonly type: "function";
|
|
517
1124
|
}, {
|
|
518
1125
|
readonly inputs: readonly [{
|
|
519
|
-
readonly
|
|
520
|
-
|
|
521
|
-
|
|
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";
|
|
1126
|
+
readonly internalType: "bytes32";
|
|
1127
|
+
readonly name: "role";
|
|
1128
|
+
readonly type: "bytes32";
|
|
535
1129
|
}, {
|
|
536
|
-
readonly
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
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[]";
|
|
548
|
-
}];
|
|
549
|
-
readonly name: "deployAndFetchBatch";
|
|
1130
|
+
readonly internalType: "address";
|
|
1131
|
+
readonly name: "account";
|
|
1132
|
+
readonly type: "address";
|
|
1133
|
+
}];
|
|
1134
|
+
readonly name: "revokeRole";
|
|
550
1135
|
readonly outputs: readonly [];
|
|
551
1136
|
readonly stateMutability: "nonpayable";
|
|
552
1137
|
readonly type: "function";
|
|
553
1138
|
}, {
|
|
554
|
-
readonly inputs: readonly [
|
|
555
|
-
|
|
1139
|
+
readonly inputs: readonly [{
|
|
1140
|
+
readonly internalType: "address";
|
|
1141
|
+
readonly name: "delegator_";
|
|
1142
|
+
readonly type: "address";
|
|
1143
|
+
}];
|
|
1144
|
+
readonly name: "setDelegator";
|
|
556
1145
|
readonly outputs: readonly [];
|
|
557
1146
|
readonly stateMutability: "nonpayable";
|
|
558
1147
|
readonly type: "function";
|
|
559
1148
|
}, {
|
|
560
|
-
readonly inputs: readonly [
|
|
561
|
-
|
|
1149
|
+
readonly inputs: readonly [{
|
|
1150
|
+
readonly internalType: "uint256";
|
|
1151
|
+
readonly name: "limit";
|
|
1152
|
+
readonly type: "uint256";
|
|
1153
|
+
}];
|
|
1154
|
+
readonly name: "setDepositLimit";
|
|
562
1155
|
readonly outputs: readonly [];
|
|
563
1156
|
readonly stateMutability: "nonpayable";
|
|
564
1157
|
readonly type: "function";
|
|
565
1158
|
}, {
|
|
566
1159
|
readonly inputs: readonly [{
|
|
567
|
-
readonly
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
readonly type: "uint256";
|
|
571
|
-
}, {
|
|
572
|
-
readonly internalType: "uint256";
|
|
573
|
-
readonly name: "nonce";
|
|
574
|
-
readonly type: "uint256";
|
|
575
|
-
}, {
|
|
576
|
-
readonly internalType: "address";
|
|
577
|
-
readonly name: "kTimesGAddress";
|
|
578
|
-
readonly type: "address";
|
|
579
|
-
}];
|
|
580
|
-
readonly internalType: "struct IShared.SigData";
|
|
581
|
-
readonly name: "sigData";
|
|
582
|
-
readonly type: "tuple";
|
|
583
|
-
}, {
|
|
584
|
-
readonly components: readonly [{
|
|
585
|
-
readonly internalType: "address";
|
|
586
|
-
readonly name: "token";
|
|
587
|
-
readonly type: "address";
|
|
588
|
-
}, {
|
|
589
|
-
readonly internalType: "address payable";
|
|
590
|
-
readonly name: "recipient";
|
|
591
|
-
readonly type: "address";
|
|
592
|
-
}, {
|
|
593
|
-
readonly internalType: "uint256";
|
|
594
|
-
readonly name: "amount";
|
|
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";
|
|
609
|
-
}, {
|
|
610
|
-
readonly internalType: "uint256";
|
|
611
|
-
readonly name: "value";
|
|
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";
|
|
621
|
-
}];
|
|
622
|
-
readonly internalType: "struct IMulticall.Call[]";
|
|
623
|
-
readonly name: "calls";
|
|
624
|
-
readonly type: "tuple[]";
|
|
625
|
-
}, {
|
|
626
|
-
readonly internalType: "uint256";
|
|
627
|
-
readonly name: "gasMulticall";
|
|
628
|
-
readonly type: "uint256";
|
|
1160
|
+
readonly internalType: "bool";
|
|
1161
|
+
readonly name: "status";
|
|
1162
|
+
readonly type: "bool";
|
|
629
1163
|
}];
|
|
630
|
-
readonly name: "
|
|
1164
|
+
readonly name: "setDepositWhitelist";
|
|
631
1165
|
readonly outputs: readonly [];
|
|
632
1166
|
readonly stateMutability: "nonpayable";
|
|
633
1167
|
readonly type: "function";
|
|
634
1168
|
}, {
|
|
635
1169
|
readonly inputs: readonly [{
|
|
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";
|
|
652
|
-
}, {
|
|
653
1170
|
readonly internalType: "address";
|
|
654
|
-
readonly name: "
|
|
1171
|
+
readonly name: "account";
|
|
655
1172
|
readonly type: "address";
|
|
656
1173
|
}, {
|
|
657
|
-
readonly internalType: "
|
|
658
|
-
readonly name: "
|
|
659
|
-
readonly type: "
|
|
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";
|
|
1174
|
+
readonly internalType: "bool";
|
|
1175
|
+
readonly name: "status";
|
|
1176
|
+
readonly type: "bool";
|
|
668
1177
|
}];
|
|
669
|
-
readonly name: "
|
|
1178
|
+
readonly name: "setDepositorWhitelistStatus";
|
|
670
1179
|
readonly outputs: readonly [];
|
|
671
1180
|
readonly stateMutability: "nonpayable";
|
|
672
1181
|
readonly type: "function";
|
|
673
1182
|
}, {
|
|
674
1183
|
readonly inputs: readonly [{
|
|
675
|
-
readonly
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
readonly type: "uint256";
|
|
679
|
-
}, {
|
|
680
|
-
readonly internalType: "uint256";
|
|
681
|
-
readonly name: "nonce";
|
|
682
|
-
readonly type: "uint256";
|
|
683
|
-
}, {
|
|
684
|
-
readonly internalType: "address";
|
|
685
|
-
readonly name: "kTimesGAddress";
|
|
686
|
-
readonly type: "address";
|
|
687
|
-
}];
|
|
688
|
-
readonly internalType: "struct IShared.SigData";
|
|
689
|
-
readonly name: "sigData";
|
|
690
|
-
readonly type: "tuple";
|
|
691
|
-
}, {
|
|
692
|
-
readonly components: readonly [{
|
|
693
|
-
readonly internalType: "address";
|
|
694
|
-
readonly name: "token";
|
|
695
|
-
readonly type: "address";
|
|
696
|
-
}, {
|
|
697
|
-
readonly internalType: "address payable";
|
|
698
|
-
readonly name: "recipient";
|
|
699
|
-
readonly type: "address";
|
|
700
|
-
}, {
|
|
701
|
-
readonly internalType: "uint256";
|
|
702
|
-
readonly name: "amount";
|
|
703
|
-
readonly type: "uint256";
|
|
704
|
-
}];
|
|
705
|
-
readonly internalType: "struct IShared.TransferParams";
|
|
706
|
-
readonly name: "transferParams";
|
|
707
|
-
readonly type: "tuple";
|
|
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";
|
|
1184
|
+
readonly internalType: "bool";
|
|
1185
|
+
readonly name: "status";
|
|
1186
|
+
readonly type: "bool";
|
|
720
1187
|
}];
|
|
721
|
-
readonly name: "
|
|
1188
|
+
readonly name: "setIsDepositLimit";
|
|
722
1189
|
readonly outputs: readonly [];
|
|
723
1190
|
readonly stateMutability: "nonpayable";
|
|
724
1191
|
readonly type: "function";
|
|
725
1192
|
}, {
|
|
726
1193
|
readonly inputs: readonly [{
|
|
727
|
-
readonly
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
readonly internalType: "uint256";
|
|
733
|
-
readonly name: "nonce";
|
|
734
|
-
readonly type: "uint256";
|
|
735
|
-
}, {
|
|
736
|
-
readonly internalType: "address";
|
|
737
|
-
readonly name: "kTimesGAddress";
|
|
738
|
-
readonly type: "address";
|
|
739
|
-
}];
|
|
740
|
-
readonly internalType: "struct IShared.SigData";
|
|
741
|
-
readonly name: "sigData";
|
|
742
|
-
readonly type: "tuple";
|
|
743
|
-
}, {
|
|
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[]";
|
|
756
|
-
}];
|
|
757
|
-
readonly name: "fetchBatch";
|
|
1194
|
+
readonly internalType: "address";
|
|
1195
|
+
readonly name: "slasher_";
|
|
1196
|
+
readonly type: "address";
|
|
1197
|
+
}];
|
|
1198
|
+
readonly name: "setSlasher";
|
|
758
1199
|
readonly outputs: readonly [];
|
|
759
1200
|
readonly stateMutability: "nonpayable";
|
|
760
1201
|
readonly type: "function";
|
|
761
1202
|
}, {
|
|
762
|
-
readonly inputs: readonly [
|
|
763
|
-
|
|
1203
|
+
readonly inputs: readonly [{
|
|
1204
|
+
readonly internalType: "address";
|
|
1205
|
+
readonly name: "account";
|
|
1206
|
+
readonly type: "address";
|
|
1207
|
+
}];
|
|
1208
|
+
readonly name: "slashableBalanceOf";
|
|
764
1209
|
readonly outputs: readonly [{
|
|
765
|
-
readonly internalType: "
|
|
1210
|
+
readonly internalType: "uint256";
|
|
766
1211
|
readonly name: "";
|
|
767
|
-
readonly type: "
|
|
1212
|
+
readonly type: "uint256";
|
|
768
1213
|
}];
|
|
769
1214
|
readonly stateMutability: "view";
|
|
770
1215
|
readonly type: "function";
|
|
771
1216
|
}, {
|
|
772
1217
|
readonly inputs: readonly [];
|
|
773
|
-
readonly name: "
|
|
1218
|
+
readonly name: "slasher";
|
|
774
1219
|
readonly outputs: readonly [{
|
|
775
1220
|
readonly internalType: "address";
|
|
776
1221
|
readonly name: "";
|
|
@@ -779,331 +1224,149 @@ export declare const Vault_jsonAbi: readonly [{
|
|
|
779
1224
|
readonly stateMutability: "view";
|
|
780
1225
|
readonly type: "function";
|
|
781
1226
|
}, {
|
|
782
|
-
readonly inputs: readonly [
|
|
783
|
-
readonly name: "getGovernor";
|
|
784
|
-
readonly outputs: readonly [{
|
|
1227
|
+
readonly inputs: readonly [{
|
|
785
1228
|
readonly internalType: "address";
|
|
786
|
-
readonly name: "";
|
|
1229
|
+
readonly name: "target";
|
|
787
1230
|
readonly type: "address";
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly internalType: "bytes";
|
|
1233
|
+
readonly name: "data";
|
|
1234
|
+
readonly type: "bytes";
|
|
788
1235
|
}];
|
|
789
|
-
readonly
|
|
1236
|
+
readonly name: "staticDelegateCall";
|
|
1237
|
+
readonly outputs: readonly [];
|
|
1238
|
+
readonly stateMutability: "nonpayable";
|
|
790
1239
|
readonly type: "function";
|
|
791
1240
|
}, {
|
|
792
|
-
readonly inputs: readonly [
|
|
793
|
-
|
|
1241
|
+
readonly inputs: readonly [{
|
|
1242
|
+
readonly internalType: "bytes4";
|
|
1243
|
+
readonly name: "interfaceId";
|
|
1244
|
+
readonly type: "bytes4";
|
|
1245
|
+
}];
|
|
1246
|
+
readonly name: "supportsInterface";
|
|
794
1247
|
readonly outputs: readonly [{
|
|
795
|
-
readonly internalType: "
|
|
1248
|
+
readonly internalType: "bool";
|
|
796
1249
|
readonly name: "";
|
|
797
|
-
readonly type: "
|
|
1250
|
+
readonly type: "bool";
|
|
798
1251
|
}];
|
|
799
1252
|
readonly stateMutability: "view";
|
|
800
1253
|
readonly type: "function";
|
|
801
1254
|
}, {
|
|
802
1255
|
readonly inputs: readonly [];
|
|
803
|
-
readonly name: "
|
|
1256
|
+
readonly name: "totalStake";
|
|
804
1257
|
readonly outputs: readonly [{
|
|
805
|
-
readonly internalType: "
|
|
1258
|
+
readonly internalType: "uint256";
|
|
806
1259
|
readonly name: "";
|
|
807
|
-
readonly type: "
|
|
1260
|
+
readonly type: "uint256";
|
|
808
1261
|
}];
|
|
809
1262
|
readonly stateMutability: "view";
|
|
810
1263
|
readonly type: "function";
|
|
811
1264
|
}, {
|
|
812
1265
|
readonly inputs: readonly [{
|
|
813
|
-
readonly internalType: "address
|
|
814
|
-
readonly name: "
|
|
815
|
-
readonly type: "address
|
|
1266
|
+
readonly internalType: "address";
|
|
1267
|
+
readonly name: "newOwner";
|
|
1268
|
+
readonly type: "address";
|
|
816
1269
|
}];
|
|
817
|
-
readonly name: "
|
|
818
|
-
readonly outputs: readonly [];
|
|
819
|
-
readonly stateMutability: "nonpayable";
|
|
820
|
-
readonly type: "function";
|
|
821
|
-
}, {
|
|
822
|
-
readonly inputs: readonly [];
|
|
823
|
-
readonly name: "resume";
|
|
1270
|
+
readonly name: "transferOwnership";
|
|
824
1271
|
readonly outputs: readonly [];
|
|
825
1272
|
readonly stateMutability: "nonpayable";
|
|
826
1273
|
readonly type: "function";
|
|
827
1274
|
}, {
|
|
828
1275
|
readonly inputs: readonly [];
|
|
829
|
-
readonly name: "
|
|
830
|
-
readonly outputs: readonly [
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
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";
|
|
868
|
-
}];
|
|
869
|
-
readonly name: "transfer";
|
|
870
|
-
readonly outputs: readonly [];
|
|
871
|
-
readonly stateMutability: "nonpayable";
|
|
872
|
-
readonly type: "function";
|
|
873
|
-
}, {
|
|
874
|
-
readonly inputs: readonly [{
|
|
875
|
-
readonly components: readonly [{
|
|
876
|
-
readonly internalType: "uint256";
|
|
877
|
-
readonly name: "sig";
|
|
878
|
-
readonly type: "uint256";
|
|
879
|
-
}, {
|
|
880
|
-
readonly internalType: "uint256";
|
|
881
|
-
readonly name: "nonce";
|
|
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";
|
|
900
|
-
}, {
|
|
901
|
-
readonly internalType: "uint256";
|
|
902
|
-
readonly name: "amount";
|
|
903
|
-
readonly type: "uint256";
|
|
904
|
-
}];
|
|
905
|
-
readonly internalType: "struct IShared.TransferParams[]";
|
|
906
|
-
readonly name: "transferParamsArray";
|
|
907
|
-
readonly type: "tuple[]";
|
|
908
|
-
}];
|
|
909
|
-
readonly name: "transferBatch";
|
|
910
|
-
readonly outputs: readonly [];
|
|
911
|
-
readonly stateMutability: "nonpayable";
|
|
912
|
-
readonly type: "function";
|
|
913
|
-
}, {
|
|
914
|
-
readonly inputs: readonly [{
|
|
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";
|
|
948
|
-
}];
|
|
949
|
-
readonly name: "transferFallback";
|
|
950
|
-
readonly outputs: readonly [];
|
|
951
|
-
readonly stateMutability: "nonpayable";
|
|
1276
|
+
readonly name: "version";
|
|
1277
|
+
readonly outputs: readonly [{
|
|
1278
|
+
readonly internalType: "uint64";
|
|
1279
|
+
readonly name: "";
|
|
1280
|
+
readonly type: "uint64";
|
|
1281
|
+
}];
|
|
1282
|
+
readonly stateMutability: "view";
|
|
952
1283
|
readonly type: "function";
|
|
953
1284
|
}, {
|
|
954
1285
|
readonly inputs: readonly [{
|
|
955
|
-
readonly
|
|
956
|
-
|
|
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";
|
|
1286
|
+
readonly internalType: "address";
|
|
1287
|
+
readonly name: "claimer";
|
|
974
1288
|
readonly type: "address";
|
|
975
1289
|
}, {
|
|
976
|
-
readonly internalType: "
|
|
977
|
-
readonly name: "
|
|
978
|
-
readonly type: "
|
|
1290
|
+
readonly internalType: "uint256";
|
|
1291
|
+
readonly name: "amount";
|
|
1292
|
+
readonly type: "uint256";
|
|
1293
|
+
}];
|
|
1294
|
+
readonly name: "withdraw";
|
|
1295
|
+
readonly outputs: readonly [{
|
|
1296
|
+
readonly internalType: "uint256";
|
|
1297
|
+
readonly name: "burnedShares";
|
|
1298
|
+
readonly type: "uint256";
|
|
1299
|
+
}, {
|
|
1300
|
+
readonly internalType: "uint256";
|
|
1301
|
+
readonly name: "mintedShares";
|
|
1302
|
+
readonly type: "uint256";
|
|
979
1303
|
}];
|
|
980
|
-
readonly name: "updateKeyManager";
|
|
981
|
-
readonly outputs: readonly [];
|
|
982
1304
|
readonly stateMutability: "nonpayable";
|
|
983
1305
|
readonly type: "function";
|
|
984
1306
|
}, {
|
|
985
1307
|
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
|
-
}, {
|
|
1002
1308
|
readonly internalType: "uint256";
|
|
1003
|
-
readonly name: "
|
|
1309
|
+
readonly name: "epoch";
|
|
1004
1310
|
readonly type: "uint256";
|
|
1005
|
-
}, {
|
|
1006
|
-
readonly internalType: "bytes";
|
|
1007
|
-
readonly name: "cfParameters";
|
|
1008
|
-
readonly type: "bytes";
|
|
1009
1311
|
}];
|
|
1010
|
-
readonly name: "
|
|
1011
|
-
readonly outputs: readonly [
|
|
1012
|
-
|
|
1312
|
+
readonly name: "withdrawalShares";
|
|
1313
|
+
readonly outputs: readonly [{
|
|
1314
|
+
readonly internalType: "uint256";
|
|
1315
|
+
readonly name: "amount";
|
|
1316
|
+
readonly type: "uint256";
|
|
1317
|
+
}];
|
|
1318
|
+
readonly stateMutability: "view";
|
|
1013
1319
|
readonly type: "function";
|
|
1014
1320
|
}, {
|
|
1015
1321
|
readonly inputs: readonly [{
|
|
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";
|
|
1031
|
-
}, {
|
|
1032
1322
|
readonly internalType: "uint256";
|
|
1033
|
-
readonly name: "
|
|
1323
|
+
readonly name: "epoch";
|
|
1034
1324
|
readonly type: "uint256";
|
|
1035
1325
|
}, {
|
|
1036
|
-
readonly internalType: "
|
|
1037
|
-
readonly name: "
|
|
1326
|
+
readonly internalType: "address";
|
|
1327
|
+
readonly name: "account";
|
|
1038
1328
|
readonly type: "address";
|
|
1039
|
-
}
|
|
1329
|
+
}];
|
|
1330
|
+
readonly name: "withdrawalSharesOf";
|
|
1331
|
+
readonly outputs: readonly [{
|
|
1040
1332
|
readonly internalType: "uint256";
|
|
1041
1333
|
readonly name: "amount";
|
|
1042
1334
|
readonly type: "uint256";
|
|
1043
|
-
}, {
|
|
1044
|
-
readonly internalType: "bytes";
|
|
1045
|
-
readonly name: "cfParameters";
|
|
1046
|
-
readonly type: "bytes";
|
|
1047
1335
|
}];
|
|
1048
|
-
readonly
|
|
1049
|
-
readonly outputs: readonly [];
|
|
1050
|
-
readonly stateMutability: "nonpayable";
|
|
1336
|
+
readonly stateMutability: "view";
|
|
1051
1337
|
readonly type: "function";
|
|
1052
1338
|
}, {
|
|
1053
1339
|
readonly inputs: readonly [{
|
|
1054
|
-
readonly internalType: "
|
|
1055
|
-
readonly name: "
|
|
1056
|
-
readonly type: "
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
readonly
|
|
1061
|
-
|
|
1062
|
-
readonly
|
|
1063
|
-
readonly name: "dstToken";
|
|
1064
|
-
readonly type: "uint32";
|
|
1065
|
-
}, {
|
|
1066
|
-
readonly internalType: "bytes";
|
|
1067
|
-
readonly name: "cfParameters";
|
|
1068
|
-
readonly type: "bytes";
|
|
1340
|
+
readonly internalType: "uint256";
|
|
1341
|
+
readonly name: "epoch";
|
|
1342
|
+
readonly type: "uint256";
|
|
1343
|
+
}];
|
|
1344
|
+
readonly name: "withdrawals";
|
|
1345
|
+
readonly outputs: readonly [{
|
|
1346
|
+
readonly internalType: "uint256";
|
|
1347
|
+
readonly name: "amount";
|
|
1348
|
+
readonly type: "uint256";
|
|
1069
1349
|
}];
|
|
1070
|
-
readonly
|
|
1071
|
-
readonly outputs: readonly [];
|
|
1072
|
-
readonly stateMutability: "payable";
|
|
1350
|
+
readonly stateMutability: "view";
|
|
1073
1351
|
readonly type: "function";
|
|
1074
1352
|
}, {
|
|
1075
1353
|
readonly inputs: readonly [{
|
|
1076
|
-
readonly internalType: "
|
|
1077
|
-
readonly name: "
|
|
1078
|
-
readonly type: "
|
|
1079
|
-
}, {
|
|
1080
|
-
readonly internalType: "bytes";
|
|
1081
|
-
readonly name: "dstAddress";
|
|
1082
|
-
readonly type: "bytes";
|
|
1083
|
-
}, {
|
|
1084
|
-
readonly internalType: "uint32";
|
|
1085
|
-
readonly name: "dstToken";
|
|
1086
|
-
readonly type: "uint32";
|
|
1354
|
+
readonly internalType: "uint256";
|
|
1355
|
+
readonly name: "epoch";
|
|
1356
|
+
readonly type: "uint256";
|
|
1087
1357
|
}, {
|
|
1088
|
-
readonly internalType: "
|
|
1089
|
-
readonly name: "
|
|
1358
|
+
readonly internalType: "address";
|
|
1359
|
+
readonly name: "account";
|
|
1090
1360
|
readonly type: "address";
|
|
1091
|
-
}
|
|
1361
|
+
}];
|
|
1362
|
+
readonly name: "withdrawalsOf";
|
|
1363
|
+
readonly outputs: readonly [{
|
|
1092
1364
|
readonly internalType: "uint256";
|
|
1093
|
-
readonly name: "
|
|
1365
|
+
readonly name: "";
|
|
1094
1366
|
readonly type: "uint256";
|
|
1095
|
-
}, {
|
|
1096
|
-
readonly internalType: "bytes";
|
|
1097
|
-
readonly name: "cfParameters";
|
|
1098
|
-
readonly type: "bytes";
|
|
1099
1367
|
}];
|
|
1100
|
-
readonly
|
|
1101
|
-
readonly outputs: readonly [];
|
|
1102
|
-
readonly stateMutability: "nonpayable";
|
|
1368
|
+
readonly stateMutability: "view";
|
|
1103
1369
|
readonly type: "function";
|
|
1104
|
-
}, {
|
|
1105
|
-
readonly stateMutability: "payable";
|
|
1106
|
-
readonly type: "receive";
|
|
1107
1370
|
}];
|
|
1108
1371
|
/**
|
|
1109
1372
|
* Type-safe ABI for Vault_json
|
|
@@ -1162,70 +1425,241 @@ export declare class Vault_json {
|
|
|
1162
1425
|
*/
|
|
1163
1426
|
getContract(): Vault_jsonContract;
|
|
1164
1427
|
/**
|
|
1165
|
-
*
|
|
1428
|
+
* DEFAULT_ADMIN_ROLE
|
|
1166
1429
|
* view
|
|
1167
1430
|
*/
|
|
1168
|
-
|
|
1431
|
+
DEFAULT_ADMIN_ROLE(): Promise<`0x${string}`>;
|
|
1169
1432
|
/**
|
|
1170
|
-
*
|
|
1433
|
+
* DELEGATOR_FACTORY
|
|
1171
1434
|
* view
|
|
1172
1435
|
*/
|
|
1173
|
-
|
|
1436
|
+
DELEGATOR_FACTORY(): Promise<`0x${string}`>;
|
|
1174
1437
|
/**
|
|
1175
|
-
*
|
|
1438
|
+
* DEPOSITOR_WHITELIST_ROLE
|
|
1176
1439
|
* view
|
|
1177
1440
|
*/
|
|
1178
|
-
|
|
1441
|
+
DEPOSITOR_WHITELIST_ROLE(): Promise<`0x${string}`>;
|
|
1179
1442
|
/**
|
|
1180
|
-
*
|
|
1443
|
+
* DEPOSIT_LIMIT_SET_ROLE
|
|
1181
1444
|
* view
|
|
1182
1445
|
*/
|
|
1183
|
-
|
|
1446
|
+
DEPOSIT_LIMIT_SET_ROLE(): Promise<`0x${string}`>;
|
|
1184
1447
|
/**
|
|
1185
|
-
*
|
|
1448
|
+
* DEPOSIT_WHITELIST_SET_ROLE
|
|
1186
1449
|
* view
|
|
1187
1450
|
*/
|
|
1188
|
-
|
|
1451
|
+
DEPOSIT_WHITELIST_SET_ROLE(): Promise<`0x${string}`>;
|
|
1189
1452
|
/**
|
|
1190
|
-
*
|
|
1191
|
-
*
|
|
1192
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1453
|
+
* FACTORY
|
|
1454
|
+
* view
|
|
1193
1455
|
*/
|
|
1194
|
-
|
|
1195
|
-
accessList?: import('viem').AccessList;
|
|
1196
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
1197
|
-
chain?: import('viem').Chain | null;
|
|
1198
|
-
dataSuffix?: `0x${string}`;
|
|
1199
|
-
gas?: bigint;
|
|
1200
|
-
gasPrice?: bigint;
|
|
1201
|
-
maxFeePerGas?: bigint;
|
|
1202
|
-
maxPriorityFeePerGas?: bigint;
|
|
1203
|
-
nonce?: number;
|
|
1204
|
-
value?: bigint;
|
|
1205
|
-
}): Promise<`0x${string}`>;
|
|
1456
|
+
FACTORY(): Promise<`0x${string}`>;
|
|
1206
1457
|
/**
|
|
1207
|
-
*
|
|
1208
|
-
*
|
|
1209
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1458
|
+
* IS_DEPOSIT_LIMIT_SET_ROLE
|
|
1459
|
+
* view
|
|
1210
1460
|
*/
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1461
|
+
IS_DEPOSIT_LIMIT_SET_ROLE(): Promise<`0x${string}`>;
|
|
1462
|
+
/**
|
|
1463
|
+
* SLASHER_FACTORY
|
|
1464
|
+
* view
|
|
1465
|
+
*/
|
|
1466
|
+
SLASHER_FACTORY(): Promise<`0x${string}`>;
|
|
1467
|
+
/**
|
|
1468
|
+
* activeBalanceOf
|
|
1469
|
+
* view
|
|
1470
|
+
*/
|
|
1471
|
+
activeBalanceOf(account: `0x${string}`): Promise<bigint>;
|
|
1472
|
+
/**
|
|
1473
|
+
* activeBalanceOfAt
|
|
1474
|
+
* view
|
|
1475
|
+
*/
|
|
1476
|
+
activeBalanceOfAt(account: `0x${string}`, timestamp: bigint, hints: `0x${string}`): Promise<bigint>;
|
|
1477
|
+
/**
|
|
1478
|
+
* activeShares
|
|
1479
|
+
* view
|
|
1480
|
+
*/
|
|
1481
|
+
activeShares(): Promise<bigint>;
|
|
1482
|
+
/**
|
|
1483
|
+
* activeSharesAt
|
|
1484
|
+
* view
|
|
1485
|
+
*/
|
|
1486
|
+
activeSharesAt(timestamp: bigint, hint: `0x${string}`): Promise<bigint>;
|
|
1487
|
+
/**
|
|
1488
|
+
* activeSharesOf
|
|
1489
|
+
* view
|
|
1490
|
+
*/
|
|
1491
|
+
activeSharesOf(account: `0x${string}`): Promise<bigint>;
|
|
1492
|
+
/**
|
|
1493
|
+
* activeSharesOfAt
|
|
1494
|
+
* view
|
|
1495
|
+
*/
|
|
1496
|
+
activeSharesOfAt(account: `0x${string}`, timestamp: bigint, hint: `0x${string}`): Promise<bigint>;
|
|
1497
|
+
/**
|
|
1498
|
+
* activeStake
|
|
1499
|
+
* view
|
|
1500
|
+
*/
|
|
1501
|
+
activeStake(): Promise<bigint>;
|
|
1502
|
+
/**
|
|
1503
|
+
* activeStakeAt
|
|
1504
|
+
* view
|
|
1505
|
+
*/
|
|
1506
|
+
activeStakeAt(timestamp: bigint, hint: `0x${string}`): Promise<bigint>;
|
|
1507
|
+
/**
|
|
1508
|
+
* burner
|
|
1509
|
+
* view
|
|
1510
|
+
*/
|
|
1511
|
+
burner(): Promise<`0x${string}`>;
|
|
1512
|
+
/**
|
|
1513
|
+
* collateral
|
|
1514
|
+
* view
|
|
1515
|
+
*/
|
|
1516
|
+
collateral(): Promise<`0x${string}`>;
|
|
1517
|
+
/**
|
|
1518
|
+
* currentEpoch
|
|
1519
|
+
* view
|
|
1520
|
+
*/
|
|
1521
|
+
currentEpoch(): Promise<bigint>;
|
|
1522
|
+
/**
|
|
1523
|
+
* currentEpochStart
|
|
1524
|
+
* view
|
|
1525
|
+
*/
|
|
1526
|
+
currentEpochStart(): Promise<bigint>;
|
|
1527
|
+
/**
|
|
1528
|
+
* delegator
|
|
1529
|
+
* view
|
|
1530
|
+
*/
|
|
1531
|
+
delegator(): Promise<`0x${string}`>;
|
|
1532
|
+
/**
|
|
1533
|
+
* depositLimit
|
|
1534
|
+
* view
|
|
1535
|
+
*/
|
|
1536
|
+
depositLimit(): Promise<bigint>;
|
|
1537
|
+
/**
|
|
1538
|
+
* depositWhitelist
|
|
1539
|
+
* view
|
|
1540
|
+
*/
|
|
1541
|
+
depositWhitelist(): Promise<boolean>;
|
|
1542
|
+
/**
|
|
1543
|
+
* epochAt
|
|
1544
|
+
* view
|
|
1545
|
+
*/
|
|
1546
|
+
epochAt(timestamp: bigint): Promise<bigint>;
|
|
1547
|
+
/**
|
|
1548
|
+
* epochDuration
|
|
1549
|
+
* view
|
|
1550
|
+
*/
|
|
1551
|
+
epochDuration(): Promise<bigint>;
|
|
1552
|
+
/**
|
|
1553
|
+
* epochDurationInit
|
|
1554
|
+
* view
|
|
1555
|
+
*/
|
|
1556
|
+
epochDurationInit(): Promise<bigint>;
|
|
1557
|
+
/**
|
|
1558
|
+
* getRoleAdmin
|
|
1559
|
+
* view
|
|
1560
|
+
*/
|
|
1561
|
+
getRoleAdmin(role: `0x${string}`): Promise<`0x${string}`>;
|
|
1562
|
+
/**
|
|
1563
|
+
* hasRole
|
|
1564
|
+
* view
|
|
1565
|
+
*/
|
|
1566
|
+
hasRole(role: `0x${string}`, account: `0x${string}`): Promise<boolean>;
|
|
1567
|
+
/**
|
|
1568
|
+
* isDelegatorInitialized
|
|
1569
|
+
* view
|
|
1570
|
+
*/
|
|
1571
|
+
isDelegatorInitialized(): Promise<boolean>;
|
|
1572
|
+
/**
|
|
1573
|
+
* isDepositLimit
|
|
1574
|
+
* view
|
|
1575
|
+
*/
|
|
1576
|
+
isDepositLimit(): Promise<boolean>;
|
|
1577
|
+
/**
|
|
1578
|
+
* isDepositorWhitelisted
|
|
1579
|
+
* view
|
|
1580
|
+
*/
|
|
1581
|
+
isDepositorWhitelisted(account: `0x${string}`): Promise<boolean>;
|
|
1582
|
+
/**
|
|
1583
|
+
* isInitialized
|
|
1584
|
+
* view
|
|
1585
|
+
*/
|
|
1586
|
+
isInitialized(): Promise<boolean>;
|
|
1587
|
+
/**
|
|
1588
|
+
* isSlasherInitialized
|
|
1589
|
+
* view
|
|
1590
|
+
*/
|
|
1591
|
+
isSlasherInitialized(): Promise<boolean>;
|
|
1592
|
+
/**
|
|
1593
|
+
* isWithdrawalsClaimed
|
|
1594
|
+
* view
|
|
1595
|
+
*/
|
|
1596
|
+
isWithdrawalsClaimed(epoch: bigint, account: `0x${string}`): Promise<boolean>;
|
|
1597
|
+
/**
|
|
1598
|
+
* nextEpochStart
|
|
1599
|
+
* view
|
|
1600
|
+
*/
|
|
1601
|
+
nextEpochStart(): Promise<bigint>;
|
|
1602
|
+
/**
|
|
1603
|
+
* owner
|
|
1604
|
+
* view
|
|
1605
|
+
*/
|
|
1606
|
+
owner(): Promise<`0x${string}`>;
|
|
1607
|
+
/**
|
|
1608
|
+
* previousEpochStart
|
|
1609
|
+
* view
|
|
1610
|
+
*/
|
|
1611
|
+
previousEpochStart(): Promise<bigint>;
|
|
1612
|
+
/**
|
|
1613
|
+
* slashableBalanceOf
|
|
1614
|
+
* view
|
|
1615
|
+
*/
|
|
1616
|
+
slashableBalanceOf(account: `0x${string}`): Promise<bigint>;
|
|
1617
|
+
/**
|
|
1618
|
+
* slasher
|
|
1619
|
+
* view
|
|
1620
|
+
*/
|
|
1621
|
+
slasher(): Promise<`0x${string}`>;
|
|
1622
|
+
/**
|
|
1623
|
+
* supportsInterface
|
|
1624
|
+
* view
|
|
1625
|
+
*/
|
|
1626
|
+
supportsInterface(interfaceId: `0x${string}`): Promise<boolean>;
|
|
1627
|
+
/**
|
|
1628
|
+
* totalStake
|
|
1629
|
+
* view
|
|
1630
|
+
*/
|
|
1631
|
+
totalStake(): Promise<bigint>;
|
|
1632
|
+
/**
|
|
1633
|
+
* version
|
|
1634
|
+
* view
|
|
1635
|
+
*/
|
|
1636
|
+
version(): Promise<bigint>;
|
|
1637
|
+
/**
|
|
1638
|
+
* withdrawalShares
|
|
1639
|
+
* view
|
|
1640
|
+
*/
|
|
1641
|
+
withdrawalShares(epoch: bigint): Promise<bigint>;
|
|
1642
|
+
/**
|
|
1643
|
+
* withdrawalSharesOf
|
|
1644
|
+
* view
|
|
1645
|
+
*/
|
|
1646
|
+
withdrawalSharesOf(epoch: bigint, account: `0x${string}`): Promise<bigint>;
|
|
1223
1647
|
/**
|
|
1224
|
-
*
|
|
1648
|
+
* withdrawals
|
|
1649
|
+
* view
|
|
1650
|
+
*/
|
|
1651
|
+
withdrawals(epoch: bigint): Promise<bigint>;
|
|
1652
|
+
/**
|
|
1653
|
+
* withdrawalsOf
|
|
1654
|
+
* view
|
|
1655
|
+
*/
|
|
1656
|
+
withdrawalsOf(epoch: bigint, account: `0x${string}`): Promise<bigint>;
|
|
1657
|
+
/**
|
|
1658
|
+
* claim
|
|
1225
1659
|
* nonpayable
|
|
1226
1660
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1227
1661
|
*/
|
|
1228
|
-
|
|
1662
|
+
claim(recipient: `0x${string}`, epoch: bigint, options?: {
|
|
1229
1663
|
accessList?: import('viem').AccessList;
|
|
1230
1664
|
authorizationList?: import('viem').AuthorizationList;
|
|
1231
1665
|
chain?: import('viem').Chain | null;
|
|
@@ -1238,11 +1672,11 @@ export declare class Vault_json {
|
|
|
1238
1672
|
value?: bigint;
|
|
1239
1673
|
}): Promise<`0x${string}`>;
|
|
1240
1674
|
/**
|
|
1241
|
-
*
|
|
1675
|
+
* claimBatch
|
|
1242
1676
|
* nonpayable
|
|
1243
1677
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1244
1678
|
*/
|
|
1245
|
-
|
|
1679
|
+
claimBatch(recipient: `0x${string}`, epochs: bigint[], options?: {
|
|
1246
1680
|
accessList?: import('viem').AccessList;
|
|
1247
1681
|
authorizationList?: import('viem').AuthorizationList;
|
|
1248
1682
|
chain?: import('viem').Chain | null;
|
|
@@ -1255,11 +1689,11 @@ export declare class Vault_json {
|
|
|
1255
1689
|
value?: bigint;
|
|
1256
1690
|
}): Promise<`0x${string}`>;
|
|
1257
1691
|
/**
|
|
1258
|
-
*
|
|
1692
|
+
* deposit
|
|
1259
1693
|
* nonpayable
|
|
1260
1694
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1261
1695
|
*/
|
|
1262
|
-
|
|
1696
|
+
deposit(onBehalfOf: `0x${string}`, amount: bigint, options?: {
|
|
1263
1697
|
accessList?: import('viem').AccessList;
|
|
1264
1698
|
authorizationList?: import('viem').AuthorizationList;
|
|
1265
1699
|
chain?: import('viem').Chain | null;
|
|
@@ -1272,11 +1706,11 @@ export declare class Vault_json {
|
|
|
1272
1706
|
value?: bigint;
|
|
1273
1707
|
}): Promise<`0x${string}`>;
|
|
1274
1708
|
/**
|
|
1275
|
-
*
|
|
1709
|
+
* grantRole
|
|
1276
1710
|
* nonpayable
|
|
1277
1711
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1278
1712
|
*/
|
|
1279
|
-
|
|
1713
|
+
grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
1280
1714
|
accessList?: import('viem').AccessList;
|
|
1281
1715
|
authorizationList?: import('viem').AuthorizationList;
|
|
1282
1716
|
chain?: import('viem').Chain | null;
|
|
@@ -1289,11 +1723,11 @@ export declare class Vault_json {
|
|
|
1289
1723
|
value?: bigint;
|
|
1290
1724
|
}): Promise<`0x${string}`>;
|
|
1291
1725
|
/**
|
|
1292
|
-
*
|
|
1726
|
+
* initialize
|
|
1293
1727
|
* nonpayable
|
|
1294
1728
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1295
1729
|
*/
|
|
1296
|
-
|
|
1730
|
+
initialize(initialVersion: bigint, owner_: `0x${string}`, data: `0x${string}`, options?: {
|
|
1297
1731
|
accessList?: import('viem').AccessList;
|
|
1298
1732
|
authorizationList?: import('viem').AuthorizationList;
|
|
1299
1733
|
chain?: import('viem').Chain | null;
|
|
@@ -1306,11 +1740,11 @@ export declare class Vault_json {
|
|
|
1306
1740
|
value?: bigint;
|
|
1307
1741
|
}): Promise<`0x${string}`>;
|
|
1308
1742
|
/**
|
|
1309
|
-
*
|
|
1743
|
+
* migrate
|
|
1310
1744
|
* nonpayable
|
|
1311
1745
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1312
1746
|
*/
|
|
1313
|
-
|
|
1747
|
+
migrate(newVersion: bigint, data: `0x${string}`, options?: {
|
|
1314
1748
|
accessList?: import('viem').AccessList;
|
|
1315
1749
|
authorizationList?: import('viem').AuthorizationList;
|
|
1316
1750
|
chain?: import('viem').Chain | null;
|
|
@@ -1323,11 +1757,11 @@ export declare class Vault_json {
|
|
|
1323
1757
|
value?: bigint;
|
|
1324
1758
|
}): Promise<`0x${string}`>;
|
|
1325
1759
|
/**
|
|
1326
|
-
*
|
|
1760
|
+
* onSlash
|
|
1327
1761
|
* nonpayable
|
|
1328
1762
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1329
1763
|
*/
|
|
1330
|
-
|
|
1764
|
+
onSlash(amount: bigint, captureTimestamp: bigint, options?: {
|
|
1331
1765
|
accessList?: import('viem').AccessList;
|
|
1332
1766
|
authorizationList?: import('viem').AuthorizationList;
|
|
1333
1767
|
chain?: import('viem').Chain | null;
|
|
@@ -1340,11 +1774,11 @@ export declare class Vault_json {
|
|
|
1340
1774
|
value?: bigint;
|
|
1341
1775
|
}): Promise<`0x${string}`>;
|
|
1342
1776
|
/**
|
|
1343
|
-
*
|
|
1777
|
+
* redeem
|
|
1344
1778
|
* nonpayable
|
|
1345
1779
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1346
1780
|
*/
|
|
1347
|
-
|
|
1781
|
+
redeem(claimer: `0x${string}`, shares: bigint, options?: {
|
|
1348
1782
|
accessList?: import('viem').AccessList;
|
|
1349
1783
|
authorizationList?: import('viem').AuthorizationList;
|
|
1350
1784
|
chain?: import('viem').Chain | null;
|
|
@@ -1357,11 +1791,11 @@ export declare class Vault_json {
|
|
|
1357
1791
|
value?: bigint;
|
|
1358
1792
|
}): Promise<`0x${string}`>;
|
|
1359
1793
|
/**
|
|
1360
|
-
*
|
|
1794
|
+
* renounceOwnership
|
|
1361
1795
|
* nonpayable
|
|
1362
1796
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1363
1797
|
*/
|
|
1364
|
-
|
|
1798
|
+
renounceOwnership(options?: {
|
|
1365
1799
|
accessList?: import('viem').AccessList;
|
|
1366
1800
|
authorizationList?: import('viem').AuthorizationList;
|
|
1367
1801
|
chain?: import('viem').Chain | null;
|
|
@@ -1374,11 +1808,11 @@ export declare class Vault_json {
|
|
|
1374
1808
|
value?: bigint;
|
|
1375
1809
|
}): Promise<`0x${string}`>;
|
|
1376
1810
|
/**
|
|
1377
|
-
*
|
|
1811
|
+
* renounceRole
|
|
1378
1812
|
* nonpayable
|
|
1379
1813
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1380
1814
|
*/
|
|
1381
|
-
|
|
1815
|
+
renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
|
|
1382
1816
|
accessList?: import('viem').AccessList;
|
|
1383
1817
|
authorizationList?: import('viem').AuthorizationList;
|
|
1384
1818
|
chain?: import('viem').Chain | null;
|
|
@@ -1391,11 +1825,11 @@ export declare class Vault_json {
|
|
|
1391
1825
|
value?: bigint;
|
|
1392
1826
|
}): Promise<`0x${string}`>;
|
|
1393
1827
|
/**
|
|
1394
|
-
*
|
|
1828
|
+
* revokeRole
|
|
1395
1829
|
* nonpayable
|
|
1396
1830
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1397
1831
|
*/
|
|
1398
|
-
|
|
1832
|
+
revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
1399
1833
|
accessList?: import('viem').AccessList;
|
|
1400
1834
|
authorizationList?: import('viem').AuthorizationList;
|
|
1401
1835
|
chain?: import('viem').Chain | null;
|
|
@@ -1408,11 +1842,11 @@ export declare class Vault_json {
|
|
|
1408
1842
|
value?: bigint;
|
|
1409
1843
|
}): Promise<`0x${string}`>;
|
|
1410
1844
|
/**
|
|
1411
|
-
*
|
|
1845
|
+
* setDelegator
|
|
1412
1846
|
* nonpayable
|
|
1413
1847
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1414
1848
|
*/
|
|
1415
|
-
|
|
1849
|
+
setDelegator(delegator_: `0x${string}`, options?: {
|
|
1416
1850
|
accessList?: import('viem').AccessList;
|
|
1417
1851
|
authorizationList?: import('viem').AuthorizationList;
|
|
1418
1852
|
chain?: import('viem').Chain | null;
|
|
@@ -1425,11 +1859,11 @@ export declare class Vault_json {
|
|
|
1425
1859
|
value?: bigint;
|
|
1426
1860
|
}): Promise<`0x${string}`>;
|
|
1427
1861
|
/**
|
|
1428
|
-
*
|
|
1862
|
+
* setDepositLimit
|
|
1429
1863
|
* nonpayable
|
|
1430
1864
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1431
1865
|
*/
|
|
1432
|
-
|
|
1866
|
+
setDepositLimit(limit: bigint, options?: {
|
|
1433
1867
|
accessList?: import('viem').AccessList;
|
|
1434
1868
|
authorizationList?: import('viem').AuthorizationList;
|
|
1435
1869
|
chain?: import('viem').Chain | null;
|
|
@@ -1442,11 +1876,11 @@ export declare class Vault_json {
|
|
|
1442
1876
|
value?: bigint;
|
|
1443
1877
|
}): Promise<`0x${string}`>;
|
|
1444
1878
|
/**
|
|
1445
|
-
*
|
|
1879
|
+
* setDepositWhitelist
|
|
1446
1880
|
* nonpayable
|
|
1447
1881
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1448
1882
|
*/
|
|
1449
|
-
|
|
1883
|
+
setDepositWhitelist(status: boolean, options?: {
|
|
1450
1884
|
accessList?: import('viem').AccessList;
|
|
1451
1885
|
authorizationList?: import('viem').AuthorizationList;
|
|
1452
1886
|
chain?: import('viem').Chain | null;
|
|
@@ -1459,11 +1893,11 @@ export declare class Vault_json {
|
|
|
1459
1893
|
value?: bigint;
|
|
1460
1894
|
}): Promise<`0x${string}`>;
|
|
1461
1895
|
/**
|
|
1462
|
-
*
|
|
1896
|
+
* setDepositorWhitelistStatus
|
|
1463
1897
|
* nonpayable
|
|
1464
1898
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1465
1899
|
*/
|
|
1466
|
-
|
|
1900
|
+
setDepositorWhitelistStatus(account: `0x${string}`, status: boolean, options?: {
|
|
1467
1901
|
accessList?: import('viem').AccessList;
|
|
1468
1902
|
authorizationList?: import('viem').AuthorizationList;
|
|
1469
1903
|
chain?: import('viem').Chain | null;
|
|
@@ -1476,11 +1910,11 @@ export declare class Vault_json {
|
|
|
1476
1910
|
value?: bigint;
|
|
1477
1911
|
}): Promise<`0x${string}`>;
|
|
1478
1912
|
/**
|
|
1479
|
-
*
|
|
1913
|
+
* setIsDepositLimit
|
|
1480
1914
|
* nonpayable
|
|
1481
1915
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1482
1916
|
*/
|
|
1483
|
-
|
|
1917
|
+
setIsDepositLimit(status: boolean, options?: {
|
|
1484
1918
|
accessList?: import('viem').AccessList;
|
|
1485
1919
|
authorizationList?: import('viem').AuthorizationList;
|
|
1486
1920
|
chain?: import('viem').Chain | null;
|
|
@@ -1493,11 +1927,11 @@ export declare class Vault_json {
|
|
|
1493
1927
|
value?: bigint;
|
|
1494
1928
|
}): Promise<`0x${string}`>;
|
|
1495
1929
|
/**
|
|
1496
|
-
*
|
|
1497
|
-
*
|
|
1930
|
+
* setSlasher
|
|
1931
|
+
* nonpayable
|
|
1498
1932
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1499
1933
|
*/
|
|
1500
|
-
|
|
1934
|
+
setSlasher(slasher_: `0x${string}`, options?: {
|
|
1501
1935
|
accessList?: import('viem').AccessList;
|
|
1502
1936
|
authorizationList?: import('viem').AuthorizationList;
|
|
1503
1937
|
chain?: import('viem').Chain | null;
|
|
@@ -1510,11 +1944,11 @@ export declare class Vault_json {
|
|
|
1510
1944
|
value?: bigint;
|
|
1511
1945
|
}): Promise<`0x${string}`>;
|
|
1512
1946
|
/**
|
|
1513
|
-
*
|
|
1947
|
+
* staticDelegateCall
|
|
1514
1948
|
* nonpayable
|
|
1515
1949
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1516
1950
|
*/
|
|
1517
|
-
|
|
1951
|
+
staticDelegateCall(target: `0x${string}`, data: `0x${string}`, options?: {
|
|
1518
1952
|
accessList?: import('viem').AccessList;
|
|
1519
1953
|
authorizationList?: import('viem').AuthorizationList;
|
|
1520
1954
|
chain?: import('viem').Chain | null;
|
|
@@ -1527,11 +1961,11 @@ export declare class Vault_json {
|
|
|
1527
1961
|
value?: bigint;
|
|
1528
1962
|
}): Promise<`0x${string}`>;
|
|
1529
1963
|
/**
|
|
1530
|
-
*
|
|
1531
|
-
*
|
|
1964
|
+
* transferOwnership
|
|
1965
|
+
* nonpayable
|
|
1532
1966
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1533
1967
|
*/
|
|
1534
|
-
|
|
1968
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1535
1969
|
accessList?: import('viem').AccessList;
|
|
1536
1970
|
authorizationList?: import('viem').AuthorizationList;
|
|
1537
1971
|
chain?: import('viem').Chain | null;
|
|
@@ -1544,11 +1978,11 @@ export declare class Vault_json {
|
|
|
1544
1978
|
value?: bigint;
|
|
1545
1979
|
}): Promise<`0x${string}`>;
|
|
1546
1980
|
/**
|
|
1547
|
-
*
|
|
1981
|
+
* withdraw
|
|
1548
1982
|
* nonpayable
|
|
1549
1983
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1550
1984
|
*/
|
|
1551
|
-
|
|
1985
|
+
withdraw(claimer: `0x${string}`, amount: bigint, options?: {
|
|
1552
1986
|
accessList?: import('viem').AccessList;
|
|
1553
1987
|
authorizationList?: import('viem').AuthorizationList;
|
|
1554
1988
|
chain?: import('viem').Chain | null;
|
|
@@ -1570,45 +2004,11 @@ export declare class Vault_json {
|
|
|
1570
2004
|
*/
|
|
1571
2005
|
get simulate(): {
|
|
1572
2006
|
/**
|
|
1573
|
-
* Simulate
|
|
1574
|
-
* Returns gas estimate and result without sending transaction
|
|
1575
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1576
|
-
*/
|
|
1577
|
-
addGasNative(swapID: `0x${string}`, options?: {
|
|
1578
|
-
accessList?: import("viem").AccessList;
|
|
1579
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1580
|
-
chain?: import("viem").Chain | null;
|
|
1581
|
-
dataSuffix?: `0x${string}`;
|
|
1582
|
-
gas?: bigint;
|
|
1583
|
-
gasPrice?: bigint;
|
|
1584
|
-
maxFeePerGas?: bigint;
|
|
1585
|
-
maxPriorityFeePerGas?: bigint;
|
|
1586
|
-
nonce?: number;
|
|
1587
|
-
value?: bigint;
|
|
1588
|
-
}): Promise<void>;
|
|
1589
|
-
/**
|
|
1590
|
-
* Simulate addGasToken
|
|
1591
|
-
* Returns gas estimate and result without sending transaction
|
|
1592
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1593
|
-
*/
|
|
1594
|
-
addGasToken(swapID: `0x${string}`, amount: bigint, token: `0x${string}`, options?: {
|
|
1595
|
-
accessList?: import("viem").AccessList;
|
|
1596
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1597
|
-
chain?: import("viem").Chain | null;
|
|
1598
|
-
dataSuffix?: `0x${string}`;
|
|
1599
|
-
gas?: bigint;
|
|
1600
|
-
gasPrice?: bigint;
|
|
1601
|
-
maxFeePerGas?: bigint;
|
|
1602
|
-
maxPriorityFeePerGas?: bigint;
|
|
1603
|
-
nonce?: number;
|
|
1604
|
-
value?: bigint;
|
|
1605
|
-
}): Promise<void>;
|
|
1606
|
-
/**
|
|
1607
|
-
* Simulate allBatch
|
|
2007
|
+
* Simulate claim
|
|
1608
2008
|
* Returns gas estimate and result without sending transaction
|
|
1609
2009
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1610
2010
|
*/
|
|
1611
|
-
|
|
2011
|
+
claim(recipient: `0x${string}`, epoch: bigint, options?: {
|
|
1612
2012
|
accessList?: import("viem").AccessList;
|
|
1613
2013
|
authorizationList?: import("viem").AuthorizationList;
|
|
1614
2014
|
chain?: import("viem").Chain | null;
|
|
@@ -1619,13 +2019,13 @@ export declare class Vault_json {
|
|
|
1619
2019
|
maxPriorityFeePerGas?: bigint;
|
|
1620
2020
|
nonce?: number;
|
|
1621
2021
|
value?: bigint;
|
|
1622
|
-
}): Promise<
|
|
2022
|
+
}): Promise<bigint>;
|
|
1623
2023
|
/**
|
|
1624
|
-
* Simulate
|
|
2024
|
+
* Simulate claimBatch
|
|
1625
2025
|
* Returns gas estimate and result without sending transaction
|
|
1626
2026
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1627
2027
|
*/
|
|
1628
|
-
|
|
2028
|
+
claimBatch(recipient: `0x${string}`, epochs: bigint[], options?: {
|
|
1629
2029
|
accessList?: import("viem").AccessList;
|
|
1630
2030
|
authorizationList?: import("viem").AuthorizationList;
|
|
1631
2031
|
chain?: import("viem").Chain | null;
|
|
@@ -1636,13 +2036,13 @@ export declare class Vault_json {
|
|
|
1636
2036
|
maxPriorityFeePerGas?: bigint;
|
|
1637
2037
|
nonce?: number;
|
|
1638
2038
|
value?: bigint;
|
|
1639
|
-
}): Promise<
|
|
2039
|
+
}): Promise<bigint>;
|
|
1640
2040
|
/**
|
|
1641
|
-
* Simulate
|
|
2041
|
+
* Simulate deposit
|
|
1642
2042
|
* Returns gas estimate and result without sending transaction
|
|
1643
2043
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1644
2044
|
*/
|
|
1645
|
-
|
|
2045
|
+
deposit(onBehalfOf: `0x${string}`, amount: bigint, options?: {
|
|
1646
2046
|
accessList?: import("viem").AccessList;
|
|
1647
2047
|
authorizationList?: import("viem").AuthorizationList;
|
|
1648
2048
|
chain?: import("viem").Chain | null;
|
|
@@ -1653,13 +2053,13 @@ export declare class Vault_json {
|
|
|
1653
2053
|
maxPriorityFeePerGas?: bigint;
|
|
1654
2054
|
nonce?: number;
|
|
1655
2055
|
value?: bigint;
|
|
1656
|
-
}): Promise<
|
|
2056
|
+
}): Promise<[bigint, bigint]>;
|
|
1657
2057
|
/**
|
|
1658
|
-
* Simulate
|
|
2058
|
+
* Simulate grantRole
|
|
1659
2059
|
* Returns gas estimate and result without sending transaction
|
|
1660
2060
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1661
2061
|
*/
|
|
1662
|
-
|
|
2062
|
+
grantRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
1663
2063
|
accessList?: import("viem").AccessList;
|
|
1664
2064
|
authorizationList?: import("viem").AuthorizationList;
|
|
1665
2065
|
chain?: import("viem").Chain | null;
|
|
@@ -1672,11 +2072,11 @@ export declare class Vault_json {
|
|
|
1672
2072
|
value?: bigint;
|
|
1673
2073
|
}): Promise<void>;
|
|
1674
2074
|
/**
|
|
1675
|
-
* Simulate
|
|
2075
|
+
* Simulate initialize
|
|
1676
2076
|
* Returns gas estimate and result without sending transaction
|
|
1677
2077
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1678
2078
|
*/
|
|
1679
|
-
|
|
2079
|
+
initialize(initialVersion: bigint, owner_: `0x${string}`, data: `0x${string}`, options?: {
|
|
1680
2080
|
accessList?: import("viem").AccessList;
|
|
1681
2081
|
authorizationList?: import("viem").AuthorizationList;
|
|
1682
2082
|
chain?: import("viem").Chain | null;
|
|
@@ -1689,11 +2089,11 @@ export declare class Vault_json {
|
|
|
1689
2089
|
value?: bigint;
|
|
1690
2090
|
}): Promise<void>;
|
|
1691
2091
|
/**
|
|
1692
|
-
* Simulate
|
|
2092
|
+
* Simulate migrate
|
|
1693
2093
|
* Returns gas estimate and result without sending transaction
|
|
1694
2094
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1695
2095
|
*/
|
|
1696
|
-
|
|
2096
|
+
migrate(newVersion: bigint, data: `0x${string}`, options?: {
|
|
1697
2097
|
accessList?: import("viem").AccessList;
|
|
1698
2098
|
authorizationList?: import("viem").AuthorizationList;
|
|
1699
2099
|
chain?: import("viem").Chain | null;
|
|
@@ -1706,11 +2106,11 @@ export declare class Vault_json {
|
|
|
1706
2106
|
value?: bigint;
|
|
1707
2107
|
}): Promise<void>;
|
|
1708
2108
|
/**
|
|
1709
|
-
* Simulate
|
|
2109
|
+
* Simulate onSlash
|
|
1710
2110
|
* Returns gas estimate and result without sending transaction
|
|
1711
2111
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1712
2112
|
*/
|
|
1713
|
-
|
|
2113
|
+
onSlash(amount: bigint, captureTimestamp: bigint, options?: {
|
|
1714
2114
|
accessList?: import("viem").AccessList;
|
|
1715
2115
|
authorizationList?: import("viem").AuthorizationList;
|
|
1716
2116
|
chain?: import("viem").Chain | null;
|
|
@@ -1721,13 +2121,13 @@ export declare class Vault_json {
|
|
|
1721
2121
|
maxPriorityFeePerGas?: bigint;
|
|
1722
2122
|
nonce?: number;
|
|
1723
2123
|
value?: bigint;
|
|
1724
|
-
}): Promise<
|
|
2124
|
+
}): Promise<bigint>;
|
|
1725
2125
|
/**
|
|
1726
|
-
* Simulate
|
|
2126
|
+
* Simulate redeem
|
|
1727
2127
|
* Returns gas estimate and result without sending transaction
|
|
1728
2128
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1729
2129
|
*/
|
|
1730
|
-
|
|
2130
|
+
redeem(claimer: `0x${string}`, shares: bigint, options?: {
|
|
1731
2131
|
accessList?: import("viem").AccessList;
|
|
1732
2132
|
authorizationList?: import("viem").AuthorizationList;
|
|
1733
2133
|
chain?: import("viem").Chain | null;
|
|
@@ -1738,13 +2138,13 @@ export declare class Vault_json {
|
|
|
1738
2138
|
maxPriorityFeePerGas?: bigint;
|
|
1739
2139
|
nonce?: number;
|
|
1740
2140
|
value?: bigint;
|
|
1741
|
-
}): Promise<
|
|
2141
|
+
}): Promise<[bigint, bigint]>;
|
|
1742
2142
|
/**
|
|
1743
|
-
* Simulate
|
|
2143
|
+
* Simulate renounceOwnership
|
|
1744
2144
|
* Returns gas estimate and result without sending transaction
|
|
1745
2145
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1746
2146
|
*/
|
|
1747
|
-
|
|
2147
|
+
renounceOwnership(options?: {
|
|
1748
2148
|
accessList?: import("viem").AccessList;
|
|
1749
2149
|
authorizationList?: import("viem").AuthorizationList;
|
|
1750
2150
|
chain?: import("viem").Chain | null;
|
|
@@ -1757,11 +2157,11 @@ export declare class Vault_json {
|
|
|
1757
2157
|
value?: bigint;
|
|
1758
2158
|
}): Promise<void>;
|
|
1759
2159
|
/**
|
|
1760
|
-
* Simulate
|
|
2160
|
+
* Simulate renounceRole
|
|
1761
2161
|
* Returns gas estimate and result without sending transaction
|
|
1762
2162
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1763
2163
|
*/
|
|
1764
|
-
|
|
2164
|
+
renounceRole(role: `0x${string}`, callerConfirmation: `0x${string}`, options?: {
|
|
1765
2165
|
accessList?: import("viem").AccessList;
|
|
1766
2166
|
authorizationList?: import("viem").AuthorizationList;
|
|
1767
2167
|
chain?: import("viem").Chain | null;
|
|
@@ -1774,11 +2174,11 @@ export declare class Vault_json {
|
|
|
1774
2174
|
value?: bigint;
|
|
1775
2175
|
}): Promise<void>;
|
|
1776
2176
|
/**
|
|
1777
|
-
* Simulate
|
|
2177
|
+
* Simulate revokeRole
|
|
1778
2178
|
* Returns gas estimate and result without sending transaction
|
|
1779
2179
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1780
2180
|
*/
|
|
1781
|
-
|
|
2181
|
+
revokeRole(role: `0x${string}`, account: `0x${string}`, options?: {
|
|
1782
2182
|
accessList?: import("viem").AccessList;
|
|
1783
2183
|
authorizationList?: import("viem").AuthorizationList;
|
|
1784
2184
|
chain?: import("viem").Chain | null;
|
|
@@ -1791,11 +2191,11 @@ export declare class Vault_json {
|
|
|
1791
2191
|
value?: bigint;
|
|
1792
2192
|
}): Promise<void>;
|
|
1793
2193
|
/**
|
|
1794
|
-
* Simulate
|
|
2194
|
+
* Simulate setDelegator
|
|
1795
2195
|
* Returns gas estimate and result without sending transaction
|
|
1796
2196
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1797
2197
|
*/
|
|
1798
|
-
|
|
2198
|
+
setDelegator(delegator_: `0x${string}`, options?: {
|
|
1799
2199
|
accessList?: import("viem").AccessList;
|
|
1800
2200
|
authorizationList?: import("viem").AuthorizationList;
|
|
1801
2201
|
chain?: import("viem").Chain | null;
|
|
@@ -1808,11 +2208,11 @@ export declare class Vault_json {
|
|
|
1808
2208
|
value?: bigint;
|
|
1809
2209
|
}): Promise<void>;
|
|
1810
2210
|
/**
|
|
1811
|
-
* Simulate
|
|
2211
|
+
* Simulate setDepositLimit
|
|
1812
2212
|
* Returns gas estimate and result without sending transaction
|
|
1813
2213
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1814
2214
|
*/
|
|
1815
|
-
|
|
2215
|
+
setDepositLimit(limit: bigint, options?: {
|
|
1816
2216
|
accessList?: import("viem").AccessList;
|
|
1817
2217
|
authorizationList?: import("viem").AuthorizationList;
|
|
1818
2218
|
chain?: import("viem").Chain | null;
|
|
@@ -1825,11 +2225,11 @@ export declare class Vault_json {
|
|
|
1825
2225
|
value?: bigint;
|
|
1826
2226
|
}): Promise<void>;
|
|
1827
2227
|
/**
|
|
1828
|
-
* Simulate
|
|
2228
|
+
* Simulate setDepositWhitelist
|
|
1829
2229
|
* Returns gas estimate and result without sending transaction
|
|
1830
2230
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1831
2231
|
*/
|
|
1832
|
-
|
|
2232
|
+
setDepositWhitelist(status: boolean, options?: {
|
|
1833
2233
|
accessList?: import("viem").AccessList;
|
|
1834
2234
|
authorizationList?: import("viem").AuthorizationList;
|
|
1835
2235
|
chain?: import("viem").Chain | null;
|
|
@@ -1842,11 +2242,11 @@ export declare class Vault_json {
|
|
|
1842
2242
|
value?: bigint;
|
|
1843
2243
|
}): Promise<void>;
|
|
1844
2244
|
/**
|
|
1845
|
-
* Simulate
|
|
2245
|
+
* Simulate setDepositorWhitelistStatus
|
|
1846
2246
|
* Returns gas estimate and result without sending transaction
|
|
1847
2247
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1848
2248
|
*/
|
|
1849
|
-
|
|
2249
|
+
setDepositorWhitelistStatus(account: `0x${string}`, status: boolean, options?: {
|
|
1850
2250
|
accessList?: import("viem").AccessList;
|
|
1851
2251
|
authorizationList?: import("viem").AuthorizationList;
|
|
1852
2252
|
chain?: import("viem").Chain | null;
|
|
@@ -1859,11 +2259,11 @@ export declare class Vault_json {
|
|
|
1859
2259
|
value?: bigint;
|
|
1860
2260
|
}): Promise<void>;
|
|
1861
2261
|
/**
|
|
1862
|
-
* Simulate
|
|
2262
|
+
* Simulate setIsDepositLimit
|
|
1863
2263
|
* Returns gas estimate and result without sending transaction
|
|
1864
2264
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1865
2265
|
*/
|
|
1866
|
-
|
|
2266
|
+
setIsDepositLimit(status: boolean, options?: {
|
|
1867
2267
|
accessList?: import("viem").AccessList;
|
|
1868
2268
|
authorizationList?: import("viem").AuthorizationList;
|
|
1869
2269
|
chain?: import("viem").Chain | null;
|
|
@@ -1876,11 +2276,11 @@ export declare class Vault_json {
|
|
|
1876
2276
|
value?: bigint;
|
|
1877
2277
|
}): Promise<void>;
|
|
1878
2278
|
/**
|
|
1879
|
-
* Simulate
|
|
2279
|
+
* Simulate setSlasher
|
|
1880
2280
|
* Returns gas estimate and result without sending transaction
|
|
1881
2281
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1882
2282
|
*/
|
|
1883
|
-
|
|
2283
|
+
setSlasher(slasher_: `0x${string}`, options?: {
|
|
1884
2284
|
accessList?: import("viem").AccessList;
|
|
1885
2285
|
authorizationList?: import("viem").AuthorizationList;
|
|
1886
2286
|
chain?: import("viem").Chain | null;
|
|
@@ -1893,11 +2293,11 @@ export declare class Vault_json {
|
|
|
1893
2293
|
value?: bigint;
|
|
1894
2294
|
}): Promise<void>;
|
|
1895
2295
|
/**
|
|
1896
|
-
* Simulate
|
|
2296
|
+
* Simulate staticDelegateCall
|
|
1897
2297
|
* Returns gas estimate and result without sending transaction
|
|
1898
2298
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1899
2299
|
*/
|
|
1900
|
-
|
|
2300
|
+
staticDelegateCall(target: `0x${string}`, data: `0x${string}`, options?: {
|
|
1901
2301
|
accessList?: import("viem").AccessList;
|
|
1902
2302
|
authorizationList?: import("viem").AuthorizationList;
|
|
1903
2303
|
chain?: import("viem").Chain | null;
|
|
@@ -1910,11 +2310,11 @@ export declare class Vault_json {
|
|
|
1910
2310
|
value?: bigint;
|
|
1911
2311
|
}): Promise<void>;
|
|
1912
2312
|
/**
|
|
1913
|
-
* Simulate
|
|
2313
|
+
* Simulate transferOwnership
|
|
1914
2314
|
* Returns gas estimate and result without sending transaction
|
|
1915
2315
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1916
2316
|
*/
|
|
1917
|
-
|
|
2317
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1918
2318
|
accessList?: import("viem").AccessList;
|
|
1919
2319
|
authorizationList?: import("viem").AuthorizationList;
|
|
1920
2320
|
chain?: import("viem").Chain | null;
|
|
@@ -1927,11 +2327,11 @@ export declare class Vault_json {
|
|
|
1927
2327
|
value?: bigint;
|
|
1928
2328
|
}): Promise<void>;
|
|
1929
2329
|
/**
|
|
1930
|
-
* Simulate
|
|
2330
|
+
* Simulate withdraw
|
|
1931
2331
|
* Returns gas estimate and result without sending transaction
|
|
1932
2332
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1933
2333
|
*/
|
|
1934
|
-
|
|
2334
|
+
withdraw(claimer: `0x${string}`, amount: bigint, options?: {
|
|
1935
2335
|
accessList?: import("viem").AccessList;
|
|
1936
2336
|
authorizationList?: import("viem").AuthorizationList;
|
|
1937
2337
|
chain?: import("viem").Chain | null;
|
|
@@ -1942,7 +2342,7 @@ export declare class Vault_json {
|
|
|
1942
2342
|
maxPriorityFeePerGas?: bigint;
|
|
1943
2343
|
nonce?: number;
|
|
1944
2344
|
value?: bigint;
|
|
1945
|
-
}): Promise<
|
|
2345
|
+
}): Promise<[bigint, bigint]>;
|
|
1946
2346
|
};
|
|
1947
2347
|
/**
|
|
1948
2348
|
* Watch contract events
|
|
@@ -1958,176 +2358,204 @@ export declare class Vault_json {
|
|
|
1958
2358
|
*/
|
|
1959
2359
|
get watch(): {
|
|
1960
2360
|
/**
|
|
1961
|
-
* Watch
|
|
2361
|
+
* Watch Claim events
|
|
1962
2362
|
* @param callback Function to call when event is emitted
|
|
1963
2363
|
* @param filter Optional filter for indexed parameters
|
|
1964
2364
|
* @returns Unwatch function to stop listening
|
|
1965
2365
|
*/
|
|
1966
|
-
|
|
1967
|
-
|
|
2366
|
+
Claim: (callback: (event: {
|
|
2367
|
+
claimer: `0x${string}`;
|
|
2368
|
+
recipient: `0x${string}`;
|
|
2369
|
+
epoch: bigint;
|
|
1968
2370
|
amount: bigint;
|
|
1969
|
-
}) => void
|
|
2371
|
+
}) => void, filter?: {
|
|
2372
|
+
claimer: `0x${string}`;
|
|
2373
|
+
recipient: `0x${string}`;
|
|
2374
|
+
}) => () => void;
|
|
1970
2375
|
/**
|
|
1971
|
-
* Watch
|
|
2376
|
+
* Watch ClaimBatch events
|
|
1972
2377
|
* @param callback Function to call when event is emitted
|
|
1973
2378
|
* @param filter Optional filter for indexed parameters
|
|
1974
2379
|
* @returns Unwatch function to stop listening
|
|
1975
2380
|
*/
|
|
1976
|
-
|
|
1977
|
-
|
|
2381
|
+
ClaimBatch: (callback: (event: {
|
|
2382
|
+
claimer: `0x${string}`;
|
|
2383
|
+
recipient: `0x${string}`;
|
|
2384
|
+
epochs: bigint[];
|
|
1978
2385
|
amount: bigint;
|
|
1979
|
-
|
|
1980
|
-
|
|
2386
|
+
}) => void, filter?: {
|
|
2387
|
+
claimer: `0x${string}`;
|
|
2388
|
+
recipient: `0x${string}`;
|
|
2389
|
+
}) => () => void;
|
|
2390
|
+
/**
|
|
2391
|
+
* Watch Deposit events
|
|
2392
|
+
* @param callback Function to call when event is emitted
|
|
2393
|
+
* @param filter Optional filter for indexed parameters
|
|
2394
|
+
* @returns Unwatch function to stop listening
|
|
2395
|
+
*/
|
|
2396
|
+
Deposit: (callback: (event: {
|
|
2397
|
+
depositor: `0x${string}`;
|
|
2398
|
+
onBehalfOf: `0x${string}`;
|
|
2399
|
+
amount: bigint;
|
|
2400
|
+
shares: bigint;
|
|
2401
|
+
}) => void, filter?: {
|
|
2402
|
+
depositor: `0x${string}`;
|
|
2403
|
+
onBehalfOf: `0x${string}`;
|
|
2404
|
+
}) => () => void;
|
|
1981
2405
|
/**
|
|
1982
|
-
* Watch
|
|
2406
|
+
* Watch Initialized events
|
|
1983
2407
|
* @param callback Function to call when event is emitted
|
|
1984
2408
|
* @param filter Optional filter for indexed parameters
|
|
1985
2409
|
* @returns Unwatch function to stop listening
|
|
1986
2410
|
*/
|
|
1987
|
-
|
|
1988
|
-
|
|
2411
|
+
Initialized: (callback: (event: {
|
|
2412
|
+
version: bigint;
|
|
1989
2413
|
}) => void) => () => void;
|
|
1990
2414
|
/**
|
|
1991
|
-
* Watch
|
|
2415
|
+
* Watch OnSlash events
|
|
1992
2416
|
* @param callback Function to call when event is emitted
|
|
1993
2417
|
* @param filter Optional filter for indexed parameters
|
|
1994
2418
|
* @returns Unwatch function to stop listening
|
|
1995
2419
|
*/
|
|
1996
|
-
|
|
1997
|
-
multicallAddress: `0x${string}`;
|
|
1998
|
-
token: `0x${string}`;
|
|
2420
|
+
OnSlash: (callback: (event: {
|
|
1999
2421
|
amount: bigint;
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
token: `0x${string}`;
|
|
2004
|
-
}) => () => void;
|
|
2422
|
+
captureTimestamp: bigint;
|
|
2423
|
+
slashedAmount: bigint;
|
|
2424
|
+
}) => void) => () => void;
|
|
2005
2425
|
/**
|
|
2006
|
-
* Watch
|
|
2426
|
+
* Watch OwnershipTransferred events
|
|
2007
2427
|
* @param callback Function to call when event is emitted
|
|
2008
2428
|
* @param filter Optional filter for indexed parameters
|
|
2009
2429
|
* @returns Unwatch function to stop listening
|
|
2010
2430
|
*/
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2431
|
+
OwnershipTransferred: (callback: (event: {
|
|
2432
|
+
previousOwner: `0x${string}`;
|
|
2433
|
+
newOwner: `0x${string}`;
|
|
2014
2434
|
}) => void, filter?: {
|
|
2015
|
-
|
|
2435
|
+
previousOwner: `0x${string}`;
|
|
2436
|
+
newOwner: `0x${string}`;
|
|
2016
2437
|
}) => () => void;
|
|
2017
2438
|
/**
|
|
2018
|
-
* Watch
|
|
2439
|
+
* Watch RoleAdminChanged events
|
|
2019
2440
|
* @param callback Function to call when event is emitted
|
|
2020
2441
|
* @param filter Optional filter for indexed parameters
|
|
2021
2442
|
* @returns Unwatch function to stop listening
|
|
2022
2443
|
*/
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2444
|
+
RoleAdminChanged: (callback: (event: {
|
|
2445
|
+
role: `0x${string}`;
|
|
2446
|
+
previousAdminRole: `0x${string}`;
|
|
2447
|
+
newAdminRole: `0x${string}`;
|
|
2448
|
+
}) => void, filter?: {
|
|
2449
|
+
role: `0x${string}`;
|
|
2450
|
+
previousAdminRole: `0x${string}`;
|
|
2451
|
+
newAdminRole: `0x${string}`;
|
|
2452
|
+
}) => () => void;
|
|
2026
2453
|
/**
|
|
2027
|
-
* Watch
|
|
2454
|
+
* Watch RoleGranted events
|
|
2028
2455
|
* @param callback Function to call when event is emitted
|
|
2029
2456
|
* @param filter Optional filter for indexed parameters
|
|
2030
2457
|
* @returns Unwatch function to stop listening
|
|
2031
2458
|
*/
|
|
2032
|
-
|
|
2459
|
+
RoleGranted: (callback: (event: {
|
|
2460
|
+
role: `0x${string}`;
|
|
2461
|
+
account: `0x${string}`;
|
|
2033
2462
|
sender: `0x${string}`;
|
|
2034
|
-
dstChain: bigint;
|
|
2035
|
-
dstAddress: `0x${string}`;
|
|
2036
|
-
dstToken: bigint;
|
|
2037
|
-
amount: bigint;
|
|
2038
|
-
cfParameters: `0x${string}`;
|
|
2039
2463
|
}) => void, filter?: {
|
|
2464
|
+
role: `0x${string}`;
|
|
2465
|
+
account: `0x${string}`;
|
|
2040
2466
|
sender: `0x${string}`;
|
|
2041
2467
|
}) => () => void;
|
|
2042
2468
|
/**
|
|
2043
|
-
* Watch
|
|
2469
|
+
* Watch RoleRevoked events
|
|
2044
2470
|
* @param callback Function to call when event is emitted
|
|
2045
2471
|
* @param filter Optional filter for indexed parameters
|
|
2046
2472
|
* @returns Unwatch function to stop listening
|
|
2047
2473
|
*/
|
|
2048
|
-
|
|
2474
|
+
RoleRevoked: (callback: (event: {
|
|
2475
|
+
role: `0x${string}`;
|
|
2476
|
+
account: `0x${string}`;
|
|
2049
2477
|
sender: `0x${string}`;
|
|
2050
|
-
dstChain: bigint;
|
|
2051
|
-
dstAddress: `0x${string}`;
|
|
2052
|
-
dstToken: bigint;
|
|
2053
|
-
srcToken: `0x${string}`;
|
|
2054
|
-
amount: bigint;
|
|
2055
|
-
cfParameters: `0x${string}`;
|
|
2056
2478
|
}) => void, filter?: {
|
|
2479
|
+
role: `0x${string}`;
|
|
2480
|
+
account: `0x${string}`;
|
|
2057
2481
|
sender: `0x${string}`;
|
|
2058
2482
|
}) => () => void;
|
|
2059
2483
|
/**
|
|
2060
|
-
* Watch
|
|
2484
|
+
* Watch SetDelegator events
|
|
2061
2485
|
* @param callback Function to call when event is emitted
|
|
2062
2486
|
* @param filter Optional filter for indexed parameters
|
|
2063
2487
|
* @returns Unwatch function to stop listening
|
|
2064
2488
|
*/
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
amount: bigint;
|
|
2489
|
+
SetDelegator: (callback: (event: {
|
|
2490
|
+
delegator: `0x${string}`;
|
|
2068
2491
|
}) => void, filter?: {
|
|
2069
|
-
|
|
2492
|
+
delegator: `0x${string}`;
|
|
2070
2493
|
}) => () => void;
|
|
2071
2494
|
/**
|
|
2072
|
-
* Watch
|
|
2495
|
+
* Watch SetDepositLimit events
|
|
2073
2496
|
* @param callback Function to call when event is emitted
|
|
2074
2497
|
* @param filter Optional filter for indexed parameters
|
|
2075
2498
|
* @returns Unwatch function to stop listening
|
|
2076
2499
|
*/
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2500
|
+
SetDepositLimit: (callback: (event: {
|
|
2501
|
+
limit: bigint;
|
|
2502
|
+
}) => void) => () => void;
|
|
2503
|
+
/**
|
|
2504
|
+
* Watch SetDepositWhitelist events
|
|
2505
|
+
* @param callback Function to call when event is emitted
|
|
2506
|
+
* @param filter Optional filter for indexed parameters
|
|
2507
|
+
* @returns Unwatch function to stop listening
|
|
2508
|
+
*/
|
|
2509
|
+
SetDepositWhitelist: (callback: (event: {
|
|
2510
|
+
status: boolean;
|
|
2511
|
+
}) => void) => () => void;
|
|
2512
|
+
/**
|
|
2513
|
+
* Watch SetDepositorWhitelistStatus events
|
|
2514
|
+
* @param callback Function to call when event is emitted
|
|
2515
|
+
* @param filter Optional filter for indexed parameters
|
|
2516
|
+
* @returns Unwatch function to stop listening
|
|
2517
|
+
*/
|
|
2518
|
+
SetDepositorWhitelistStatus: (callback: (event: {
|
|
2519
|
+
account: `0x${string}`;
|
|
2520
|
+
status: boolean;
|
|
2082
2521
|
}) => void, filter?: {
|
|
2083
|
-
|
|
2084
|
-
token: `0x${string}`;
|
|
2522
|
+
account: `0x${string}`;
|
|
2085
2523
|
}) => () => void;
|
|
2086
2524
|
/**
|
|
2087
|
-
* Watch
|
|
2525
|
+
* Watch SetIsDepositLimit events
|
|
2088
2526
|
* @param callback Function to call when event is emitted
|
|
2089
2527
|
* @param filter Optional filter for indexed parameters
|
|
2090
2528
|
* @returns Unwatch function to stop listening
|
|
2091
2529
|
*/
|
|
2092
|
-
|
|
2093
|
-
|
|
2530
|
+
SetIsDepositLimit: (callback: (event: {
|
|
2531
|
+
status: boolean;
|
|
2094
2532
|
}) => void) => () => void;
|
|
2095
2533
|
/**
|
|
2096
|
-
* Watch
|
|
2534
|
+
* Watch SetSlasher events
|
|
2097
2535
|
* @param callback Function to call when event is emitted
|
|
2098
2536
|
* @param filter Optional filter for indexed parameters
|
|
2099
2537
|
* @returns Unwatch function to stop listening
|
|
2100
2538
|
*/
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
dstChain: bigint;
|
|
2104
|
-
dstAddress: `0x${string}`;
|
|
2105
|
-
dstToken: bigint;
|
|
2106
|
-
amount: bigint;
|
|
2107
|
-
message: `0x${string}`;
|
|
2108
|
-
gasAmount: bigint;
|
|
2109
|
-
cfParameters: `0x${string}`;
|
|
2539
|
+
SetSlasher: (callback: (event: {
|
|
2540
|
+
slasher: `0x${string}`;
|
|
2110
2541
|
}) => void, filter?: {
|
|
2111
|
-
|
|
2542
|
+
slasher: `0x${string}`;
|
|
2112
2543
|
}) => () => void;
|
|
2113
2544
|
/**
|
|
2114
|
-
* Watch
|
|
2545
|
+
* Watch Withdraw events
|
|
2115
2546
|
* @param callback Function to call when event is emitted
|
|
2116
2547
|
* @param filter Optional filter for indexed parameters
|
|
2117
2548
|
* @returns Unwatch function to stop listening
|
|
2118
2549
|
*/
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
dstAddress: `0x${string}`;
|
|
2123
|
-
dstToken: bigint;
|
|
2124
|
-
srcToken: `0x${string}`;
|
|
2550
|
+
Withdraw: (callback: (event: {
|
|
2551
|
+
withdrawer: `0x${string}`;
|
|
2552
|
+
claimer: `0x${string}`;
|
|
2125
2553
|
amount: bigint;
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
cfParameters: `0x${string}`;
|
|
2554
|
+
burnedShares: bigint;
|
|
2555
|
+
mintedShares: bigint;
|
|
2129
2556
|
}) => void, filter?: {
|
|
2130
|
-
|
|
2557
|
+
withdrawer: `0x${string}`;
|
|
2558
|
+
claimer: `0x${string}`;
|
|
2131
2559
|
}) => () => void;
|
|
2132
2560
|
};
|
|
2133
2561
|
}
|