@gauntlet-xyz/sdk 1.0.6 → 2.0.0
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/dist/constants.d.ts +16 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +28 -0
- package/dist/constants.js.map +1 -0
- package/dist/errors.d.ts +18 -3
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +20 -2
- package/dist/errors.js.map +1 -1
- package/dist/evm/abis/priceAndFeeCalculatorV2.d.ts +233 -0
- package/dist/evm/abis/priceAndFeeCalculatorV2.d.ts.map +1 -0
- package/dist/evm/abis/priceAndFeeCalculatorV2.js +119 -0
- package/dist/evm/abis/priceAndFeeCalculatorV2.js.map +1 -0
- package/dist/evm/abis/provisionerV2.d.ts +460 -0
- package/dist/evm/abis/provisionerV2.d.ts.map +1 -0
- package/dist/evm/abis/provisionerV2.js +203 -0
- package/dist/evm/abis/provisionerV2.js.map +1 -0
- package/dist/evm/adapters/aera.d.ts +3 -3
- package/dist/evm/adapters/aera.d.ts.map +1 -1
- package/dist/evm/adapters/aera.js +179 -103
- package/dist/evm/adapters/aera.js.map +1 -1
- package/dist/evm/adapters/types.d.ts +12 -1
- package/dist/evm/adapters/types.d.ts.map +1 -1
- package/dist/evm/aeraContracts/priceAndFeeCalculator.d.ts +41 -0
- package/dist/evm/aeraContracts/priceAndFeeCalculator.d.ts.map +1 -0
- package/dist/evm/aeraContracts/priceAndFeeCalculator.js +140 -0
- package/dist/evm/aeraContracts/priceAndFeeCalculator.js.map +1 -0
- package/dist/evm/aeraContracts/v1.d.ts +2317 -0
- package/dist/evm/aeraContracts/v1.d.ts.map +1 -0
- package/dist/evm/aeraContracts/v1.js +59 -0
- package/dist/evm/aeraContracts/v1.js.map +1 -0
- package/dist/evm/aeraContracts/v2.d.ts +2802 -0
- package/dist/evm/aeraContracts/v2.d.ts.map +1 -0
- package/dist/evm/aeraContracts/v2.js +217 -0
- package/dist/evm/aeraContracts/v2.js.map +1 -0
- package/dist/evm/aeraContracts.d.ts +23 -2316
- package/dist/evm/aeraContracts.d.ts.map +1 -1
- package/dist/evm/aeraContracts.js +117 -24
- package/dist/evm/aeraContracts.js.map +1 -1
- package/dist/evm/deposit.d.ts +5 -1
- package/dist/evm/deposit.d.ts.map +1 -1
- package/dist/evm/deposit.js +28 -14
- package/dist/evm/deposit.js.map +1 -1
- package/dist/evm/depositReceiverApproval.d.ts +17 -0
- package/dist/evm/depositReceiverApproval.d.ts.map +1 -0
- package/dist/evm/depositReceiverApproval.js +32 -0
- package/dist/evm/depositReceiverApproval.js.map +1 -0
- package/dist/evm/index.d.ts +8 -1
- package/dist/evm/index.d.ts.map +1 -1
- package/dist/evm/index.js +4 -0
- package/dist/evm/index.js.map +1 -1
- package/dist/evm/operationMode.d.ts +9 -0
- package/dist/evm/operationMode.d.ts.map +1 -0
- package/dist/evm/operationMode.js +41 -0
- package/dist/evm/operationMode.js.map +1 -0
- package/dist/evm/types.d.ts +5 -3
- package/dist/evm/types.d.ts.map +1 -1
- package/dist/evm/types.js +4 -1
- package/dist/evm/types.js.map +1 -1
- package/dist/evm/userCurrentBalance.d.ts.map +1 -1
- package/dist/evm/userCurrentBalance.js +68 -58
- package/dist/evm/userCurrentBalance.js.map +1 -1
- package/dist/evm/withdraw.d.ts +5 -1
- package/dist/evm/withdraw.d.ts.map +1 -1
- package/dist/evm/withdraw.js +25 -13
- package/dist/evm/withdraw.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/manifest/vaults.json +29 -139
- package/package.json +1 -1
- package/src/constants.ts +32 -0
- package/src/errors.ts +44 -5
- package/src/evm/abis/priceAndFeeCalculatorV2.ts +118 -0
- package/src/evm/abis/provisionerV2.ts +202 -0
- package/src/evm/adapters/aera.ts +419 -137
- package/src/evm/adapters/types.ts +19 -1
- package/src/evm/aeraContracts/priceAndFeeCalculator.ts +223 -0
- package/src/evm/aeraContracts/v1.ts +157 -0
- package/src/evm/aeraContracts/v2.ts +466 -0
- package/src/evm/aeraContracts.ts +173 -52
- package/src/evm/deposit.ts +48 -16
- package/src/evm/depositReceiverApproval.ts +51 -0
- package/src/evm/index.ts +23 -1
- package/src/evm/operationMode.ts +60 -0
- package/src/evm/types.ts +7 -3
- package/src/evm/userCurrentBalance.ts +80 -55
- package/src/evm/withdraw.ts +42 -15
- package/src/index.ts +19 -0
|
@@ -1,2320 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
* CODE PULLED FROM AERA-V3-TS-SDK in gauntlet/apps/packages/aera-v3-ts-sdk
|
|
3
|
-
* pulled in here with the goal to have this SDK replace the previous
|
|
4
|
-
*/
|
|
5
|
-
import { type Address, type Client, type GetContractReturnType } from 'viem';
|
|
1
|
+
import { type Address, type Client, type GetContractReturnType, type PublicClient } from 'viem';
|
|
6
2
|
import { multiDepositorVaultAbi } from './abis/multiDepositorVault';
|
|
7
|
-
import {
|
|
3
|
+
import { ContractVersion, type EvmVaultDeployment } from './types';
|
|
4
|
+
export interface AeraRuntimeContracts {
|
|
5
|
+
provisioner: {
|
|
6
|
+
address: Address;
|
|
7
|
+
version: ContractVersion;
|
|
8
|
+
};
|
|
9
|
+
feeCalculator: {
|
|
10
|
+
address: Address;
|
|
11
|
+
version: ContractVersion;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface AeraTokenModeSupport {
|
|
15
|
+
asyncDeposit: boolean;
|
|
16
|
+
asyncRedeem: boolean;
|
|
17
|
+
syncDeposit: boolean;
|
|
18
|
+
syncRedeem: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare function applySlippageDown(amount: bigint, slippageBps: number): bigint;
|
|
21
|
+
export declare function applySlippageUp(amount: bigint, slippageBps: number): bigint;
|
|
8
22
|
export type MultiDepositorVaultContract<T extends Client> = GetContractReturnType<typeof multiDepositorVaultAbi, T, Address>;
|
|
9
23
|
export declare function getMultiDepositorVault<T extends Client>(client: T, vaultAddress: Address): MultiDepositorVaultContract<T>;
|
|
10
|
-
export
|
|
11
|
-
export declare function
|
|
12
|
-
export declare function
|
|
13
|
-
address: `0x${string}`;
|
|
14
|
-
abi: readonly [{
|
|
15
|
-
readonly type: "constructor";
|
|
16
|
-
readonly inputs: readonly [{
|
|
17
|
-
readonly name: "priceAndFeeCalculator";
|
|
18
|
-
readonly internalType: "contract IPriceAndFeeCalculator";
|
|
19
|
-
readonly type: "address";
|
|
20
|
-
}, {
|
|
21
|
-
readonly name: "multiDepositorVault";
|
|
22
|
-
readonly internalType: "address";
|
|
23
|
-
readonly type: "address";
|
|
24
|
-
}, {
|
|
25
|
-
readonly name: "owner_";
|
|
26
|
-
readonly internalType: "address";
|
|
27
|
-
readonly type: "address";
|
|
28
|
-
}, {
|
|
29
|
-
readonly name: "authority_";
|
|
30
|
-
readonly internalType: "contract Authority";
|
|
31
|
-
readonly type: "address";
|
|
32
|
-
}];
|
|
33
|
-
readonly stateMutability: "nonpayable";
|
|
34
|
-
}, {
|
|
35
|
-
readonly type: "function";
|
|
36
|
-
readonly inputs: readonly [];
|
|
37
|
-
readonly name: "MULTI_DEPOSITOR_VAULT";
|
|
38
|
-
readonly outputs: readonly [{
|
|
39
|
-
readonly name: "";
|
|
40
|
-
readonly internalType: "address";
|
|
41
|
-
readonly type: "address";
|
|
42
|
-
}];
|
|
43
|
-
readonly stateMutability: "view";
|
|
44
|
-
}, {
|
|
45
|
-
readonly type: "function";
|
|
46
|
-
readonly inputs: readonly [];
|
|
47
|
-
readonly name: "PRICE_FEE_CALCULATOR";
|
|
48
|
-
readonly outputs: readonly [{
|
|
49
|
-
readonly name: "";
|
|
50
|
-
readonly internalType: "contract IPriceAndFeeCalculator";
|
|
51
|
-
readonly type: "address";
|
|
52
|
-
}];
|
|
53
|
-
readonly stateMutability: "view";
|
|
54
|
-
}, {
|
|
55
|
-
readonly type: "function";
|
|
56
|
-
readonly inputs: readonly [];
|
|
57
|
-
readonly name: "acceptOwnership";
|
|
58
|
-
readonly outputs: readonly [];
|
|
59
|
-
readonly stateMutability: "nonpayable";
|
|
60
|
-
}, {
|
|
61
|
-
readonly type: "function";
|
|
62
|
-
readonly inputs: readonly [{
|
|
63
|
-
readonly name: "user";
|
|
64
|
-
readonly internalType: "address";
|
|
65
|
-
readonly type: "address";
|
|
66
|
-
}];
|
|
67
|
-
readonly name: "areUserUnitsLocked";
|
|
68
|
-
readonly outputs: readonly [{
|
|
69
|
-
readonly name: "";
|
|
70
|
-
readonly internalType: "bool";
|
|
71
|
-
readonly type: "bool";
|
|
72
|
-
}];
|
|
73
|
-
readonly stateMutability: "view";
|
|
74
|
-
}, {
|
|
75
|
-
readonly type: "function";
|
|
76
|
-
readonly inputs: readonly [{
|
|
77
|
-
readonly name: "asyncDepositHash";
|
|
78
|
-
readonly internalType: "bytes32";
|
|
79
|
-
readonly type: "bytes32";
|
|
80
|
-
}];
|
|
81
|
-
readonly name: "asyncDepositHashes";
|
|
82
|
-
readonly outputs: readonly [{
|
|
83
|
-
readonly name: "exists";
|
|
84
|
-
readonly internalType: "bool";
|
|
85
|
-
readonly type: "bool";
|
|
86
|
-
}];
|
|
87
|
-
readonly stateMutability: "view";
|
|
88
|
-
}, {
|
|
89
|
-
readonly type: "function";
|
|
90
|
-
readonly inputs: readonly [{
|
|
91
|
-
readonly name: "asyncRedeemHash";
|
|
92
|
-
readonly internalType: "bytes32";
|
|
93
|
-
readonly type: "bytes32";
|
|
94
|
-
}];
|
|
95
|
-
readonly name: "asyncRedeemHashes";
|
|
96
|
-
readonly outputs: readonly [{
|
|
97
|
-
readonly name: "exists";
|
|
98
|
-
readonly internalType: "bool";
|
|
99
|
-
readonly type: "bool";
|
|
100
|
-
}];
|
|
101
|
-
readonly stateMutability: "view";
|
|
102
|
-
}, {
|
|
103
|
-
readonly type: "function";
|
|
104
|
-
readonly inputs: readonly [];
|
|
105
|
-
readonly name: "authority";
|
|
106
|
-
readonly outputs: readonly [{
|
|
107
|
-
readonly name: "";
|
|
108
|
-
readonly internalType: "contract Authority";
|
|
109
|
-
readonly type: "address";
|
|
110
|
-
}];
|
|
111
|
-
readonly stateMutability: "view";
|
|
112
|
-
}, {
|
|
113
|
-
readonly type: "function";
|
|
114
|
-
readonly inputs: readonly [{
|
|
115
|
-
readonly name: "token";
|
|
116
|
-
readonly internalType: "contract IERC20";
|
|
117
|
-
readonly type: "address";
|
|
118
|
-
}, {
|
|
119
|
-
readonly name: "tokensIn";
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
readonly type: "uint256";
|
|
122
|
-
}, {
|
|
123
|
-
readonly name: "minUnitsOut";
|
|
124
|
-
readonly internalType: "uint256";
|
|
125
|
-
readonly type: "uint256";
|
|
126
|
-
}];
|
|
127
|
-
readonly name: "deposit";
|
|
128
|
-
readonly outputs: readonly [{
|
|
129
|
-
readonly name: "unitsOut";
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
|
-
readonly type: "uint256";
|
|
132
|
-
}];
|
|
133
|
-
readonly stateMutability: "nonpayable";
|
|
134
|
-
}, {
|
|
135
|
-
readonly type: "function";
|
|
136
|
-
readonly inputs: readonly [];
|
|
137
|
-
readonly name: "depositCap";
|
|
138
|
-
readonly outputs: readonly [{
|
|
139
|
-
readonly name: "";
|
|
140
|
-
readonly internalType: "uint256";
|
|
141
|
-
readonly type: "uint256";
|
|
142
|
-
}];
|
|
143
|
-
readonly stateMutability: "view";
|
|
144
|
-
}, {
|
|
145
|
-
readonly type: "function";
|
|
146
|
-
readonly inputs: readonly [];
|
|
147
|
-
readonly name: "depositRefundTimeout";
|
|
148
|
-
readonly outputs: readonly [{
|
|
149
|
-
readonly name: "";
|
|
150
|
-
readonly internalType: "uint256";
|
|
151
|
-
readonly type: "uint256";
|
|
152
|
-
}];
|
|
153
|
-
readonly stateMutability: "view";
|
|
154
|
-
}, {
|
|
155
|
-
readonly type: "function";
|
|
156
|
-
readonly inputs: readonly [{
|
|
157
|
-
readonly name: "user";
|
|
158
|
-
readonly internalType: "address";
|
|
159
|
-
readonly type: "address";
|
|
160
|
-
}, {
|
|
161
|
-
readonly name: "token";
|
|
162
|
-
readonly internalType: "contract IERC20";
|
|
163
|
-
readonly type: "address";
|
|
164
|
-
}, {
|
|
165
|
-
readonly name: "tokenAmount";
|
|
166
|
-
readonly internalType: "uint256";
|
|
167
|
-
readonly type: "uint256";
|
|
168
|
-
}, {
|
|
169
|
-
readonly name: "unitsAmount";
|
|
170
|
-
readonly internalType: "uint256";
|
|
171
|
-
readonly type: "uint256";
|
|
172
|
-
}, {
|
|
173
|
-
readonly name: "refundableUntil";
|
|
174
|
-
readonly internalType: "uint256";
|
|
175
|
-
readonly type: "uint256";
|
|
176
|
-
}];
|
|
177
|
-
readonly name: "getDepositHash";
|
|
178
|
-
readonly outputs: readonly [{
|
|
179
|
-
readonly name: "";
|
|
180
|
-
readonly internalType: "bytes32";
|
|
181
|
-
readonly type: "bytes32";
|
|
182
|
-
}];
|
|
183
|
-
readonly stateMutability: "pure";
|
|
184
|
-
}, {
|
|
185
|
-
readonly type: "function";
|
|
186
|
-
readonly inputs: readonly [{
|
|
187
|
-
readonly name: "token";
|
|
188
|
-
readonly internalType: "contract IERC20";
|
|
189
|
-
readonly type: "address";
|
|
190
|
-
}, {
|
|
191
|
-
readonly name: "request";
|
|
192
|
-
readonly internalType: "struct Request";
|
|
193
|
-
readonly type: "tuple";
|
|
194
|
-
readonly components: readonly [{
|
|
195
|
-
readonly name: "requestType";
|
|
196
|
-
readonly internalType: "enum RequestType";
|
|
197
|
-
readonly type: "uint8";
|
|
198
|
-
}, {
|
|
199
|
-
readonly name: "user";
|
|
200
|
-
readonly internalType: "address";
|
|
201
|
-
readonly type: "address";
|
|
202
|
-
}, {
|
|
203
|
-
readonly name: "units";
|
|
204
|
-
readonly internalType: "uint256";
|
|
205
|
-
readonly type: "uint256";
|
|
206
|
-
}, {
|
|
207
|
-
readonly name: "tokens";
|
|
208
|
-
readonly internalType: "uint256";
|
|
209
|
-
readonly type: "uint256";
|
|
210
|
-
}, {
|
|
211
|
-
readonly name: "solverTip";
|
|
212
|
-
readonly internalType: "uint256";
|
|
213
|
-
readonly type: "uint256";
|
|
214
|
-
}, {
|
|
215
|
-
readonly name: "deadline";
|
|
216
|
-
readonly internalType: "uint256";
|
|
217
|
-
readonly type: "uint256";
|
|
218
|
-
}, {
|
|
219
|
-
readonly name: "maxPriceAge";
|
|
220
|
-
readonly internalType: "uint256";
|
|
221
|
-
readonly type: "uint256";
|
|
222
|
-
}];
|
|
223
|
-
}];
|
|
224
|
-
readonly name: "getRequestHash";
|
|
225
|
-
readonly outputs: readonly [{
|
|
226
|
-
readonly name: "";
|
|
227
|
-
readonly internalType: "bytes32";
|
|
228
|
-
readonly type: "bytes32";
|
|
229
|
-
}];
|
|
230
|
-
readonly stateMutability: "pure";
|
|
231
|
-
}, {
|
|
232
|
-
readonly type: "function";
|
|
233
|
-
readonly inputs: readonly [];
|
|
234
|
-
readonly name: "maxDeposit";
|
|
235
|
-
readonly outputs: readonly [{
|
|
236
|
-
readonly name: "";
|
|
237
|
-
readonly internalType: "uint256";
|
|
238
|
-
readonly type: "uint256";
|
|
239
|
-
}];
|
|
240
|
-
readonly stateMutability: "view";
|
|
241
|
-
}, {
|
|
242
|
-
readonly type: "function";
|
|
243
|
-
readonly inputs: readonly [{
|
|
244
|
-
readonly name: "token";
|
|
245
|
-
readonly internalType: "contract IERC20";
|
|
246
|
-
readonly type: "address";
|
|
247
|
-
}, {
|
|
248
|
-
readonly name: "unitsOut";
|
|
249
|
-
readonly internalType: "uint256";
|
|
250
|
-
readonly type: "uint256";
|
|
251
|
-
}, {
|
|
252
|
-
readonly name: "maxTokensIn";
|
|
253
|
-
readonly internalType: "uint256";
|
|
254
|
-
readonly type: "uint256";
|
|
255
|
-
}];
|
|
256
|
-
readonly name: "mint";
|
|
257
|
-
readonly outputs: readonly [{
|
|
258
|
-
readonly name: "tokensIn";
|
|
259
|
-
readonly internalType: "uint256";
|
|
260
|
-
readonly type: "uint256";
|
|
261
|
-
}];
|
|
262
|
-
readonly stateMutability: "nonpayable";
|
|
263
|
-
}, {
|
|
264
|
-
readonly type: "function";
|
|
265
|
-
readonly inputs: readonly [];
|
|
266
|
-
readonly name: "owner";
|
|
267
|
-
readonly outputs: readonly [{
|
|
268
|
-
readonly name: "";
|
|
269
|
-
readonly internalType: "address";
|
|
270
|
-
readonly type: "address";
|
|
271
|
-
}];
|
|
272
|
-
readonly stateMutability: "view";
|
|
273
|
-
}, {
|
|
274
|
-
readonly type: "function";
|
|
275
|
-
readonly inputs: readonly [];
|
|
276
|
-
readonly name: "pendingOwner";
|
|
277
|
-
readonly outputs: readonly [{
|
|
278
|
-
readonly name: "";
|
|
279
|
-
readonly internalType: "address";
|
|
280
|
-
readonly type: "address";
|
|
281
|
-
}];
|
|
282
|
-
readonly stateMutability: "view";
|
|
283
|
-
}, {
|
|
284
|
-
readonly type: "function";
|
|
285
|
-
readonly inputs: readonly [{
|
|
286
|
-
readonly name: "sender";
|
|
287
|
-
readonly internalType: "address";
|
|
288
|
-
readonly type: "address";
|
|
289
|
-
}, {
|
|
290
|
-
readonly name: "token";
|
|
291
|
-
readonly internalType: "contract IERC20";
|
|
292
|
-
readonly type: "address";
|
|
293
|
-
}, {
|
|
294
|
-
readonly name: "tokenAmount";
|
|
295
|
-
readonly internalType: "uint256";
|
|
296
|
-
readonly type: "uint256";
|
|
297
|
-
}, {
|
|
298
|
-
readonly name: "unitsAmount";
|
|
299
|
-
readonly internalType: "uint256";
|
|
300
|
-
readonly type: "uint256";
|
|
301
|
-
}, {
|
|
302
|
-
readonly name: "refundableUntil";
|
|
303
|
-
readonly internalType: "uint256";
|
|
304
|
-
readonly type: "uint256";
|
|
305
|
-
}];
|
|
306
|
-
readonly name: "refundDeposit";
|
|
307
|
-
readonly outputs: readonly [];
|
|
308
|
-
readonly stateMutability: "nonpayable";
|
|
309
|
-
}, {
|
|
310
|
-
readonly type: "function";
|
|
311
|
-
readonly inputs: readonly [{
|
|
312
|
-
readonly name: "token";
|
|
313
|
-
readonly internalType: "contract IERC20";
|
|
314
|
-
readonly type: "address";
|
|
315
|
-
}, {
|
|
316
|
-
readonly name: "request";
|
|
317
|
-
readonly internalType: "struct Request";
|
|
318
|
-
readonly type: "tuple";
|
|
319
|
-
readonly components: readonly [{
|
|
320
|
-
readonly name: "requestType";
|
|
321
|
-
readonly internalType: "enum RequestType";
|
|
322
|
-
readonly type: "uint8";
|
|
323
|
-
}, {
|
|
324
|
-
readonly name: "user";
|
|
325
|
-
readonly internalType: "address";
|
|
326
|
-
readonly type: "address";
|
|
327
|
-
}, {
|
|
328
|
-
readonly name: "units";
|
|
329
|
-
readonly internalType: "uint256";
|
|
330
|
-
readonly type: "uint256";
|
|
331
|
-
}, {
|
|
332
|
-
readonly name: "tokens";
|
|
333
|
-
readonly internalType: "uint256";
|
|
334
|
-
readonly type: "uint256";
|
|
335
|
-
}, {
|
|
336
|
-
readonly name: "solverTip";
|
|
337
|
-
readonly internalType: "uint256";
|
|
338
|
-
readonly type: "uint256";
|
|
339
|
-
}, {
|
|
340
|
-
readonly name: "deadline";
|
|
341
|
-
readonly internalType: "uint256";
|
|
342
|
-
readonly type: "uint256";
|
|
343
|
-
}, {
|
|
344
|
-
readonly name: "maxPriceAge";
|
|
345
|
-
readonly internalType: "uint256";
|
|
346
|
-
readonly type: "uint256";
|
|
347
|
-
}];
|
|
348
|
-
}];
|
|
349
|
-
readonly name: "refundRequest";
|
|
350
|
-
readonly outputs: readonly [];
|
|
351
|
-
readonly stateMutability: "nonpayable";
|
|
352
|
-
}, {
|
|
353
|
-
readonly type: "function";
|
|
354
|
-
readonly inputs: readonly [{
|
|
355
|
-
readonly name: "token";
|
|
356
|
-
readonly internalType: "contract IERC20";
|
|
357
|
-
readonly type: "address";
|
|
358
|
-
}];
|
|
359
|
-
readonly name: "removeToken";
|
|
360
|
-
readonly outputs: readonly [];
|
|
361
|
-
readonly stateMutability: "nonpayable";
|
|
362
|
-
}, {
|
|
363
|
-
readonly type: "function";
|
|
364
|
-
readonly inputs: readonly [{
|
|
365
|
-
readonly name: "token";
|
|
366
|
-
readonly internalType: "contract IERC20";
|
|
367
|
-
readonly type: "address";
|
|
368
|
-
}, {
|
|
369
|
-
readonly name: "tokensIn";
|
|
370
|
-
readonly internalType: "uint256";
|
|
371
|
-
readonly type: "uint256";
|
|
372
|
-
}, {
|
|
373
|
-
readonly name: "minUnitsOut";
|
|
374
|
-
readonly internalType: "uint256";
|
|
375
|
-
readonly type: "uint256";
|
|
376
|
-
}, {
|
|
377
|
-
readonly name: "solverTip";
|
|
378
|
-
readonly internalType: "uint256";
|
|
379
|
-
readonly type: "uint256";
|
|
380
|
-
}, {
|
|
381
|
-
readonly name: "deadline";
|
|
382
|
-
readonly internalType: "uint256";
|
|
383
|
-
readonly type: "uint256";
|
|
384
|
-
}, {
|
|
385
|
-
readonly name: "maxPriceAge";
|
|
386
|
-
readonly internalType: "uint256";
|
|
387
|
-
readonly type: "uint256";
|
|
388
|
-
}, {
|
|
389
|
-
readonly name: "isFixedPrice";
|
|
390
|
-
readonly internalType: "bool";
|
|
391
|
-
readonly type: "bool";
|
|
392
|
-
}];
|
|
393
|
-
readonly name: "requestDeposit";
|
|
394
|
-
readonly outputs: readonly [];
|
|
395
|
-
readonly stateMutability: "nonpayable";
|
|
396
|
-
}, {
|
|
397
|
-
readonly type: "function";
|
|
398
|
-
readonly inputs: readonly [{
|
|
399
|
-
readonly name: "token";
|
|
400
|
-
readonly internalType: "contract IERC20";
|
|
401
|
-
readonly type: "address";
|
|
402
|
-
}, {
|
|
403
|
-
readonly name: "unitsIn";
|
|
404
|
-
readonly internalType: "uint256";
|
|
405
|
-
readonly type: "uint256";
|
|
406
|
-
}, {
|
|
407
|
-
readonly name: "minTokensOut";
|
|
408
|
-
readonly internalType: "uint256";
|
|
409
|
-
readonly type: "uint256";
|
|
410
|
-
}, {
|
|
411
|
-
readonly name: "solverTip";
|
|
412
|
-
readonly internalType: "uint256";
|
|
413
|
-
readonly type: "uint256";
|
|
414
|
-
}, {
|
|
415
|
-
readonly name: "deadline";
|
|
416
|
-
readonly internalType: "uint256";
|
|
417
|
-
readonly type: "uint256";
|
|
418
|
-
}, {
|
|
419
|
-
readonly name: "maxPriceAge";
|
|
420
|
-
readonly internalType: "uint256";
|
|
421
|
-
readonly type: "uint256";
|
|
422
|
-
}, {
|
|
423
|
-
readonly name: "isFixedPrice";
|
|
424
|
-
readonly internalType: "bool";
|
|
425
|
-
readonly type: "bool";
|
|
426
|
-
}];
|
|
427
|
-
readonly name: "requestRedeem";
|
|
428
|
-
readonly outputs: readonly [];
|
|
429
|
-
readonly stateMutability: "nonpayable";
|
|
430
|
-
}, {
|
|
431
|
-
readonly type: "function";
|
|
432
|
-
readonly inputs: readonly [{
|
|
433
|
-
readonly name: "newAuthority";
|
|
434
|
-
readonly internalType: "contract Authority";
|
|
435
|
-
readonly type: "address";
|
|
436
|
-
}];
|
|
437
|
-
readonly name: "setAuthority";
|
|
438
|
-
readonly outputs: readonly [];
|
|
439
|
-
readonly stateMutability: "nonpayable";
|
|
440
|
-
}, {
|
|
441
|
-
readonly type: "function";
|
|
442
|
-
readonly inputs: readonly [{
|
|
443
|
-
readonly name: "depositCap_";
|
|
444
|
-
readonly internalType: "uint256";
|
|
445
|
-
readonly type: "uint256";
|
|
446
|
-
}, {
|
|
447
|
-
readonly name: "depositRefundTimeout_";
|
|
448
|
-
readonly internalType: "uint256";
|
|
449
|
-
readonly type: "uint256";
|
|
450
|
-
}];
|
|
451
|
-
readonly name: "setDepositDetails";
|
|
452
|
-
readonly outputs: readonly [];
|
|
453
|
-
readonly stateMutability: "nonpayable";
|
|
454
|
-
}, {
|
|
455
|
-
readonly type: "function";
|
|
456
|
-
readonly inputs: readonly [{
|
|
457
|
-
readonly name: "token";
|
|
458
|
-
readonly internalType: "contract IERC20";
|
|
459
|
-
readonly type: "address";
|
|
460
|
-
}, {
|
|
461
|
-
readonly name: "details";
|
|
462
|
-
readonly internalType: "struct TokenDetails";
|
|
463
|
-
readonly type: "tuple";
|
|
464
|
-
readonly components: readonly [{
|
|
465
|
-
readonly name: "asyncDepositEnabled";
|
|
466
|
-
readonly internalType: "bool";
|
|
467
|
-
readonly type: "bool";
|
|
468
|
-
}, {
|
|
469
|
-
readonly name: "asyncRedeemEnabled";
|
|
470
|
-
readonly internalType: "bool";
|
|
471
|
-
readonly type: "bool";
|
|
472
|
-
}, {
|
|
473
|
-
readonly name: "syncDepositEnabled";
|
|
474
|
-
readonly internalType: "bool";
|
|
475
|
-
readonly type: "bool";
|
|
476
|
-
}, {
|
|
477
|
-
readonly name: "depositMultiplier";
|
|
478
|
-
readonly internalType: "uint16";
|
|
479
|
-
readonly type: "uint16";
|
|
480
|
-
}, {
|
|
481
|
-
readonly name: "redeemMultiplier";
|
|
482
|
-
readonly internalType: "uint16";
|
|
483
|
-
readonly type: "uint16";
|
|
484
|
-
}];
|
|
485
|
-
}];
|
|
486
|
-
readonly name: "setTokenDetails";
|
|
487
|
-
readonly outputs: readonly [];
|
|
488
|
-
readonly stateMutability: "nonpayable";
|
|
489
|
-
}, {
|
|
490
|
-
readonly type: "function";
|
|
491
|
-
readonly inputs: readonly [{
|
|
492
|
-
readonly name: "token";
|
|
493
|
-
readonly internalType: "contract IERC20";
|
|
494
|
-
readonly type: "address";
|
|
495
|
-
}, {
|
|
496
|
-
readonly name: "requests";
|
|
497
|
-
readonly internalType: "struct Request[]";
|
|
498
|
-
readonly type: "tuple[]";
|
|
499
|
-
readonly components: readonly [{
|
|
500
|
-
readonly name: "requestType";
|
|
501
|
-
readonly internalType: "enum RequestType";
|
|
502
|
-
readonly type: "uint8";
|
|
503
|
-
}, {
|
|
504
|
-
readonly name: "user";
|
|
505
|
-
readonly internalType: "address";
|
|
506
|
-
readonly type: "address";
|
|
507
|
-
}, {
|
|
508
|
-
readonly name: "units";
|
|
509
|
-
readonly internalType: "uint256";
|
|
510
|
-
readonly type: "uint256";
|
|
511
|
-
}, {
|
|
512
|
-
readonly name: "tokens";
|
|
513
|
-
readonly internalType: "uint256";
|
|
514
|
-
readonly type: "uint256";
|
|
515
|
-
}, {
|
|
516
|
-
readonly name: "solverTip";
|
|
517
|
-
readonly internalType: "uint256";
|
|
518
|
-
readonly type: "uint256";
|
|
519
|
-
}, {
|
|
520
|
-
readonly name: "deadline";
|
|
521
|
-
readonly internalType: "uint256";
|
|
522
|
-
readonly type: "uint256";
|
|
523
|
-
}, {
|
|
524
|
-
readonly name: "maxPriceAge";
|
|
525
|
-
readonly internalType: "uint256";
|
|
526
|
-
readonly type: "uint256";
|
|
527
|
-
}];
|
|
528
|
-
}];
|
|
529
|
-
readonly name: "solveRequestsDirect";
|
|
530
|
-
readonly outputs: readonly [];
|
|
531
|
-
readonly stateMutability: "nonpayable";
|
|
532
|
-
}, {
|
|
533
|
-
readonly type: "function";
|
|
534
|
-
readonly inputs: readonly [{
|
|
535
|
-
readonly name: "token";
|
|
536
|
-
readonly internalType: "contract IERC20";
|
|
537
|
-
readonly type: "address";
|
|
538
|
-
}, {
|
|
539
|
-
readonly name: "requests";
|
|
540
|
-
readonly internalType: "struct Request[]";
|
|
541
|
-
readonly type: "tuple[]";
|
|
542
|
-
readonly components: readonly [{
|
|
543
|
-
readonly name: "requestType";
|
|
544
|
-
readonly internalType: "enum RequestType";
|
|
545
|
-
readonly type: "uint8";
|
|
546
|
-
}, {
|
|
547
|
-
readonly name: "user";
|
|
548
|
-
readonly internalType: "address";
|
|
549
|
-
readonly type: "address";
|
|
550
|
-
}, {
|
|
551
|
-
readonly name: "units";
|
|
552
|
-
readonly internalType: "uint256";
|
|
553
|
-
readonly type: "uint256";
|
|
554
|
-
}, {
|
|
555
|
-
readonly name: "tokens";
|
|
556
|
-
readonly internalType: "uint256";
|
|
557
|
-
readonly type: "uint256";
|
|
558
|
-
}, {
|
|
559
|
-
readonly name: "solverTip";
|
|
560
|
-
readonly internalType: "uint256";
|
|
561
|
-
readonly type: "uint256";
|
|
562
|
-
}, {
|
|
563
|
-
readonly name: "deadline";
|
|
564
|
-
readonly internalType: "uint256";
|
|
565
|
-
readonly type: "uint256";
|
|
566
|
-
}, {
|
|
567
|
-
readonly name: "maxPriceAge";
|
|
568
|
-
readonly internalType: "uint256";
|
|
569
|
-
readonly type: "uint256";
|
|
570
|
-
}];
|
|
571
|
-
}];
|
|
572
|
-
readonly name: "solveRequestsVault";
|
|
573
|
-
readonly outputs: readonly [];
|
|
574
|
-
readonly stateMutability: "nonpayable";
|
|
575
|
-
}, {
|
|
576
|
-
readonly type: "function";
|
|
577
|
-
readonly inputs: readonly [{
|
|
578
|
-
readonly name: "syncDepositHash";
|
|
579
|
-
readonly internalType: "bytes32";
|
|
580
|
-
readonly type: "bytes32";
|
|
581
|
-
}];
|
|
582
|
-
readonly name: "syncDepositHashes";
|
|
583
|
-
readonly outputs: readonly [{
|
|
584
|
-
readonly name: "exists";
|
|
585
|
-
readonly internalType: "bool";
|
|
586
|
-
readonly type: "bool";
|
|
587
|
-
}];
|
|
588
|
-
readonly stateMutability: "view";
|
|
589
|
-
}, {
|
|
590
|
-
readonly type: "function";
|
|
591
|
-
readonly inputs: readonly [{
|
|
592
|
-
readonly name: "token";
|
|
593
|
-
readonly internalType: "contract IERC20";
|
|
594
|
-
readonly type: "address";
|
|
595
|
-
}];
|
|
596
|
-
readonly name: "tokensDetails";
|
|
597
|
-
readonly outputs: readonly [{
|
|
598
|
-
readonly name: "asyncDepositEnabled";
|
|
599
|
-
readonly internalType: "bool";
|
|
600
|
-
readonly type: "bool";
|
|
601
|
-
}, {
|
|
602
|
-
readonly name: "asyncRedeemEnabled";
|
|
603
|
-
readonly internalType: "bool";
|
|
604
|
-
readonly type: "bool";
|
|
605
|
-
}, {
|
|
606
|
-
readonly name: "syncDepositEnabled";
|
|
607
|
-
readonly internalType: "bool";
|
|
608
|
-
readonly type: "bool";
|
|
609
|
-
}, {
|
|
610
|
-
readonly name: "depositMultiplier";
|
|
611
|
-
readonly internalType: "uint16";
|
|
612
|
-
readonly type: "uint16";
|
|
613
|
-
}, {
|
|
614
|
-
readonly name: "redeemMultiplier";
|
|
615
|
-
readonly internalType: "uint16";
|
|
616
|
-
readonly type: "uint16";
|
|
617
|
-
}];
|
|
618
|
-
readonly stateMutability: "view";
|
|
619
|
-
}, {
|
|
620
|
-
readonly type: "function";
|
|
621
|
-
readonly inputs: readonly [{
|
|
622
|
-
readonly name: "newOwner";
|
|
623
|
-
readonly internalType: "address";
|
|
624
|
-
readonly type: "address";
|
|
625
|
-
}];
|
|
626
|
-
readonly name: "transferOwnership";
|
|
627
|
-
readonly outputs: readonly [];
|
|
628
|
-
readonly stateMutability: "nonpayable";
|
|
629
|
-
}, {
|
|
630
|
-
readonly type: "function";
|
|
631
|
-
readonly inputs: readonly [{
|
|
632
|
-
readonly name: "user";
|
|
633
|
-
readonly internalType: "address";
|
|
634
|
-
readonly type: "address";
|
|
635
|
-
}];
|
|
636
|
-
readonly name: "userUnitsRefundableUntil";
|
|
637
|
-
readonly outputs: readonly [{
|
|
638
|
-
readonly name: "unitsLockedUntil";
|
|
639
|
-
readonly internalType: "uint256";
|
|
640
|
-
readonly type: "uint256";
|
|
641
|
-
}];
|
|
642
|
-
readonly stateMutability: "view";
|
|
643
|
-
}, {
|
|
644
|
-
readonly type: "event";
|
|
645
|
-
readonly anonymous: false;
|
|
646
|
-
readonly inputs: readonly [{
|
|
647
|
-
readonly name: "index";
|
|
648
|
-
readonly internalType: "uint256";
|
|
649
|
-
readonly type: "uint256";
|
|
650
|
-
readonly indexed: true;
|
|
651
|
-
}, {
|
|
652
|
-
readonly name: "amount";
|
|
653
|
-
readonly internalType: "uint256";
|
|
654
|
-
readonly type: "uint256";
|
|
655
|
-
readonly indexed: false;
|
|
656
|
-
}, {
|
|
657
|
-
readonly name: "bound";
|
|
658
|
-
readonly internalType: "uint256";
|
|
659
|
-
readonly type: "uint256";
|
|
660
|
-
readonly indexed: false;
|
|
661
|
-
}];
|
|
662
|
-
readonly name: "AmountBoundExceeded";
|
|
663
|
-
}, {
|
|
664
|
-
readonly type: "event";
|
|
665
|
-
readonly anonymous: false;
|
|
666
|
-
readonly inputs: readonly [{
|
|
667
|
-
readonly name: "index";
|
|
668
|
-
readonly internalType: "uint256";
|
|
669
|
-
readonly type: "uint256";
|
|
670
|
-
readonly indexed: true;
|
|
671
|
-
}];
|
|
672
|
-
readonly name: "AsyncDepositDisabled";
|
|
673
|
-
}, {
|
|
674
|
-
readonly type: "event";
|
|
675
|
-
readonly anonymous: false;
|
|
676
|
-
readonly inputs: readonly [{
|
|
677
|
-
readonly name: "index";
|
|
678
|
-
readonly internalType: "uint256";
|
|
679
|
-
readonly type: "uint256";
|
|
680
|
-
readonly indexed: true;
|
|
681
|
-
}];
|
|
682
|
-
readonly name: "AsyncRedeemDisabled";
|
|
683
|
-
}, {
|
|
684
|
-
readonly type: "event";
|
|
685
|
-
readonly anonymous: false;
|
|
686
|
-
readonly inputs: readonly [{
|
|
687
|
-
readonly name: "user";
|
|
688
|
-
readonly internalType: "address";
|
|
689
|
-
readonly type: "address";
|
|
690
|
-
readonly indexed: true;
|
|
691
|
-
}, {
|
|
692
|
-
readonly name: "newAuthority";
|
|
693
|
-
readonly internalType: "contract Authority";
|
|
694
|
-
readonly type: "address";
|
|
695
|
-
readonly indexed: true;
|
|
696
|
-
}];
|
|
697
|
-
readonly name: "AuthorityUpdated";
|
|
698
|
-
}, {
|
|
699
|
-
readonly type: "event";
|
|
700
|
-
readonly anonymous: false;
|
|
701
|
-
readonly inputs: readonly [{
|
|
702
|
-
readonly name: "index";
|
|
703
|
-
readonly internalType: "uint256";
|
|
704
|
-
readonly type: "uint256";
|
|
705
|
-
readonly indexed: true;
|
|
706
|
-
}];
|
|
707
|
-
readonly name: "DepositCapExceeded";
|
|
708
|
-
}, {
|
|
709
|
-
readonly type: "event";
|
|
710
|
-
readonly anonymous: false;
|
|
711
|
-
readonly inputs: readonly [{
|
|
712
|
-
readonly name: "depositCap";
|
|
713
|
-
readonly internalType: "uint256";
|
|
714
|
-
readonly type: "uint256";
|
|
715
|
-
readonly indexed: false;
|
|
716
|
-
}, {
|
|
717
|
-
readonly name: "depositRefundTimeout";
|
|
718
|
-
readonly internalType: "uint256";
|
|
719
|
-
readonly type: "uint256";
|
|
720
|
-
readonly indexed: false;
|
|
721
|
-
}];
|
|
722
|
-
readonly name: "DepositDetailsUpdated";
|
|
723
|
-
}, {
|
|
724
|
-
readonly type: "event";
|
|
725
|
-
readonly anonymous: false;
|
|
726
|
-
readonly inputs: readonly [{
|
|
727
|
-
readonly name: "depositHash";
|
|
728
|
-
readonly internalType: "bytes32";
|
|
729
|
-
readonly type: "bytes32";
|
|
730
|
-
readonly indexed: true;
|
|
731
|
-
}];
|
|
732
|
-
readonly name: "DepositRefunded";
|
|
733
|
-
}, {
|
|
734
|
-
readonly type: "event";
|
|
735
|
-
readonly anonymous: false;
|
|
736
|
-
readonly inputs: readonly [{
|
|
737
|
-
readonly name: "user";
|
|
738
|
-
readonly internalType: "address";
|
|
739
|
-
readonly type: "address";
|
|
740
|
-
readonly indexed: true;
|
|
741
|
-
}, {
|
|
742
|
-
readonly name: "token";
|
|
743
|
-
readonly internalType: "contract IERC20";
|
|
744
|
-
readonly type: "address";
|
|
745
|
-
readonly indexed: true;
|
|
746
|
-
}, {
|
|
747
|
-
readonly name: "tokensIn";
|
|
748
|
-
readonly internalType: "uint256";
|
|
749
|
-
readonly type: "uint256";
|
|
750
|
-
readonly indexed: false;
|
|
751
|
-
}, {
|
|
752
|
-
readonly name: "minUnitsOut";
|
|
753
|
-
readonly internalType: "uint256";
|
|
754
|
-
readonly type: "uint256";
|
|
755
|
-
readonly indexed: false;
|
|
756
|
-
}, {
|
|
757
|
-
readonly name: "solverTip";
|
|
758
|
-
readonly internalType: "uint256";
|
|
759
|
-
readonly type: "uint256";
|
|
760
|
-
readonly indexed: false;
|
|
761
|
-
}, {
|
|
762
|
-
readonly name: "deadline";
|
|
763
|
-
readonly internalType: "uint256";
|
|
764
|
-
readonly type: "uint256";
|
|
765
|
-
readonly indexed: false;
|
|
766
|
-
}, {
|
|
767
|
-
readonly name: "maxPriceAge";
|
|
768
|
-
readonly internalType: "uint256";
|
|
769
|
-
readonly type: "uint256";
|
|
770
|
-
readonly indexed: false;
|
|
771
|
-
}, {
|
|
772
|
-
readonly name: "isFixedPrice";
|
|
773
|
-
readonly internalType: "bool";
|
|
774
|
-
readonly type: "bool";
|
|
775
|
-
readonly indexed: false;
|
|
776
|
-
}, {
|
|
777
|
-
readonly name: "depositRequestHash";
|
|
778
|
-
readonly internalType: "bytes32";
|
|
779
|
-
readonly type: "bytes32";
|
|
780
|
-
readonly indexed: false;
|
|
781
|
-
}];
|
|
782
|
-
readonly name: "DepositRequested";
|
|
783
|
-
}, {
|
|
784
|
-
readonly type: "event";
|
|
785
|
-
readonly anonymous: false;
|
|
786
|
-
readonly inputs: readonly [{
|
|
787
|
-
readonly name: "depositHash";
|
|
788
|
-
readonly internalType: "bytes32";
|
|
789
|
-
readonly type: "bytes32";
|
|
790
|
-
readonly indexed: true;
|
|
791
|
-
}];
|
|
792
|
-
readonly name: "DepositSolved";
|
|
793
|
-
}, {
|
|
794
|
-
readonly type: "event";
|
|
795
|
-
readonly anonymous: false;
|
|
796
|
-
readonly inputs: readonly [{
|
|
797
|
-
readonly name: "user";
|
|
798
|
-
readonly internalType: "address";
|
|
799
|
-
readonly type: "address";
|
|
800
|
-
readonly indexed: true;
|
|
801
|
-
}, {
|
|
802
|
-
readonly name: "token";
|
|
803
|
-
readonly internalType: "contract IERC20";
|
|
804
|
-
readonly type: "address";
|
|
805
|
-
readonly indexed: true;
|
|
806
|
-
}, {
|
|
807
|
-
readonly name: "tokensIn";
|
|
808
|
-
readonly internalType: "uint256";
|
|
809
|
-
readonly type: "uint256";
|
|
810
|
-
readonly indexed: false;
|
|
811
|
-
}, {
|
|
812
|
-
readonly name: "unitsOut";
|
|
813
|
-
readonly internalType: "uint256";
|
|
814
|
-
readonly type: "uint256";
|
|
815
|
-
readonly indexed: false;
|
|
816
|
-
}, {
|
|
817
|
-
readonly name: "depositHash";
|
|
818
|
-
readonly internalType: "bytes32";
|
|
819
|
-
readonly type: "bytes32";
|
|
820
|
-
readonly indexed: false;
|
|
821
|
-
}];
|
|
822
|
-
readonly name: "Deposited";
|
|
823
|
-
}, {
|
|
824
|
-
readonly type: "event";
|
|
825
|
-
readonly anonymous: false;
|
|
826
|
-
readonly inputs: readonly [{
|
|
827
|
-
readonly name: "depositHash";
|
|
828
|
-
readonly internalType: "bytes32";
|
|
829
|
-
readonly type: "bytes32";
|
|
830
|
-
readonly indexed: true;
|
|
831
|
-
}];
|
|
832
|
-
readonly name: "DirectDepositRefunded";
|
|
833
|
-
}, {
|
|
834
|
-
readonly type: "event";
|
|
835
|
-
readonly anonymous: false;
|
|
836
|
-
readonly inputs: readonly [{
|
|
837
|
-
readonly name: "index";
|
|
838
|
-
readonly internalType: "uint256";
|
|
839
|
-
readonly type: "uint256";
|
|
840
|
-
readonly indexed: true;
|
|
841
|
-
}];
|
|
842
|
-
readonly name: "InsufficientTokensForTip";
|
|
843
|
-
}, {
|
|
844
|
-
readonly type: "event";
|
|
845
|
-
readonly anonymous: false;
|
|
846
|
-
readonly inputs: readonly [{
|
|
847
|
-
readonly name: "depositHash";
|
|
848
|
-
readonly internalType: "bytes32";
|
|
849
|
-
readonly type: "bytes32";
|
|
850
|
-
readonly indexed: true;
|
|
851
|
-
}];
|
|
852
|
-
readonly name: "InvalidRequestHash";
|
|
853
|
-
}, {
|
|
854
|
-
readonly type: "event";
|
|
855
|
-
readonly anonymous: false;
|
|
856
|
-
readonly inputs: readonly [{
|
|
857
|
-
readonly name: "previousOwner";
|
|
858
|
-
readonly internalType: "address";
|
|
859
|
-
readonly type: "address";
|
|
860
|
-
readonly indexed: true;
|
|
861
|
-
}, {
|
|
862
|
-
readonly name: "newOwner";
|
|
863
|
-
readonly internalType: "address";
|
|
864
|
-
readonly type: "address";
|
|
865
|
-
readonly indexed: true;
|
|
866
|
-
}];
|
|
867
|
-
readonly name: "OwnershipTransferStarted";
|
|
868
|
-
}, {
|
|
869
|
-
readonly type: "event";
|
|
870
|
-
readonly anonymous: false;
|
|
871
|
-
readonly inputs: readonly [{
|
|
872
|
-
readonly name: "user";
|
|
873
|
-
readonly internalType: "address";
|
|
874
|
-
readonly type: "address";
|
|
875
|
-
readonly indexed: true;
|
|
876
|
-
}, {
|
|
877
|
-
readonly name: "newOwner";
|
|
878
|
-
readonly internalType: "address";
|
|
879
|
-
readonly type: "address";
|
|
880
|
-
readonly indexed: true;
|
|
881
|
-
}];
|
|
882
|
-
readonly name: "OwnershipTransferred";
|
|
883
|
-
}, {
|
|
884
|
-
readonly type: "event";
|
|
885
|
-
readonly anonymous: false;
|
|
886
|
-
readonly inputs: readonly [{
|
|
887
|
-
readonly name: "index";
|
|
888
|
-
readonly internalType: "uint256";
|
|
889
|
-
readonly type: "uint256";
|
|
890
|
-
readonly indexed: true;
|
|
891
|
-
}];
|
|
892
|
-
readonly name: "PriceAgeExceeded";
|
|
893
|
-
}, {
|
|
894
|
-
readonly type: "event";
|
|
895
|
-
readonly anonymous: false;
|
|
896
|
-
readonly inputs: readonly [{
|
|
897
|
-
readonly name: "redeemHash";
|
|
898
|
-
readonly internalType: "bytes32";
|
|
899
|
-
readonly type: "bytes32";
|
|
900
|
-
readonly indexed: true;
|
|
901
|
-
}];
|
|
902
|
-
readonly name: "RedeemRefunded";
|
|
903
|
-
}, {
|
|
904
|
-
readonly type: "event";
|
|
905
|
-
readonly anonymous: false;
|
|
906
|
-
readonly inputs: readonly [{
|
|
907
|
-
readonly name: "user";
|
|
908
|
-
readonly internalType: "address";
|
|
909
|
-
readonly type: "address";
|
|
910
|
-
readonly indexed: true;
|
|
911
|
-
}, {
|
|
912
|
-
readonly name: "token";
|
|
913
|
-
readonly internalType: "contract IERC20";
|
|
914
|
-
readonly type: "address";
|
|
915
|
-
readonly indexed: true;
|
|
916
|
-
}, {
|
|
917
|
-
readonly name: "minTokensOut";
|
|
918
|
-
readonly internalType: "uint256";
|
|
919
|
-
readonly type: "uint256";
|
|
920
|
-
readonly indexed: false;
|
|
921
|
-
}, {
|
|
922
|
-
readonly name: "unitsIn";
|
|
923
|
-
readonly internalType: "uint256";
|
|
924
|
-
readonly type: "uint256";
|
|
925
|
-
readonly indexed: false;
|
|
926
|
-
}, {
|
|
927
|
-
readonly name: "solverTip";
|
|
928
|
-
readonly internalType: "uint256";
|
|
929
|
-
readonly type: "uint256";
|
|
930
|
-
readonly indexed: false;
|
|
931
|
-
}, {
|
|
932
|
-
readonly name: "deadline";
|
|
933
|
-
readonly internalType: "uint256";
|
|
934
|
-
readonly type: "uint256";
|
|
935
|
-
readonly indexed: false;
|
|
936
|
-
}, {
|
|
937
|
-
readonly name: "maxPriceAge";
|
|
938
|
-
readonly internalType: "uint256";
|
|
939
|
-
readonly type: "uint256";
|
|
940
|
-
readonly indexed: false;
|
|
941
|
-
}, {
|
|
942
|
-
readonly name: "isFixedPrice";
|
|
943
|
-
readonly internalType: "bool";
|
|
944
|
-
readonly type: "bool";
|
|
945
|
-
readonly indexed: false;
|
|
946
|
-
}, {
|
|
947
|
-
readonly name: "redeemRequestHash";
|
|
948
|
-
readonly internalType: "bytes32";
|
|
949
|
-
readonly type: "bytes32";
|
|
950
|
-
readonly indexed: false;
|
|
951
|
-
}];
|
|
952
|
-
readonly name: "RedeemRequested";
|
|
953
|
-
}, {
|
|
954
|
-
readonly type: "event";
|
|
955
|
-
readonly anonymous: false;
|
|
956
|
-
readonly inputs: readonly [{
|
|
957
|
-
readonly name: "redeemHash";
|
|
958
|
-
readonly internalType: "bytes32";
|
|
959
|
-
readonly type: "bytes32";
|
|
960
|
-
readonly indexed: true;
|
|
961
|
-
}];
|
|
962
|
-
readonly name: "RedeemSolved";
|
|
963
|
-
}, {
|
|
964
|
-
readonly type: "event";
|
|
965
|
-
readonly anonymous: false;
|
|
966
|
-
readonly inputs: readonly [{
|
|
967
|
-
readonly name: "token";
|
|
968
|
-
readonly internalType: "contract IERC20";
|
|
969
|
-
readonly type: "address";
|
|
970
|
-
readonly indexed: true;
|
|
971
|
-
}, {
|
|
972
|
-
readonly name: "tokensDetails";
|
|
973
|
-
readonly internalType: "struct TokenDetails";
|
|
974
|
-
readonly type: "tuple";
|
|
975
|
-
readonly components: readonly [{
|
|
976
|
-
readonly name: "asyncDepositEnabled";
|
|
977
|
-
readonly internalType: "bool";
|
|
978
|
-
readonly type: "bool";
|
|
979
|
-
}, {
|
|
980
|
-
readonly name: "asyncRedeemEnabled";
|
|
981
|
-
readonly internalType: "bool";
|
|
982
|
-
readonly type: "bool";
|
|
983
|
-
}, {
|
|
984
|
-
readonly name: "syncDepositEnabled";
|
|
985
|
-
readonly internalType: "bool";
|
|
986
|
-
readonly type: "bool";
|
|
987
|
-
}, {
|
|
988
|
-
readonly name: "depositMultiplier";
|
|
989
|
-
readonly internalType: "uint16";
|
|
990
|
-
readonly type: "uint16";
|
|
991
|
-
}, {
|
|
992
|
-
readonly name: "redeemMultiplier";
|
|
993
|
-
readonly internalType: "uint16";
|
|
994
|
-
readonly type: "uint16";
|
|
995
|
-
}];
|
|
996
|
-
readonly indexed: false;
|
|
997
|
-
}];
|
|
998
|
-
readonly name: "TokenDetailsSet";
|
|
999
|
-
}, {
|
|
1000
|
-
readonly type: "event";
|
|
1001
|
-
readonly anonymous: false;
|
|
1002
|
-
readonly inputs: readonly [{
|
|
1003
|
-
readonly name: "token";
|
|
1004
|
-
readonly internalType: "contract IERC20";
|
|
1005
|
-
readonly type: "address";
|
|
1006
|
-
readonly indexed: true;
|
|
1007
|
-
}];
|
|
1008
|
-
readonly name: "TokenRemoved";
|
|
1009
|
-
}, {
|
|
1010
|
-
readonly type: "error";
|
|
1011
|
-
readonly inputs: readonly [];
|
|
1012
|
-
readonly name: "Aera__AsyncDepositDisabled";
|
|
1013
|
-
}, {
|
|
1014
|
-
readonly type: "error";
|
|
1015
|
-
readonly inputs: readonly [];
|
|
1016
|
-
readonly name: "Aera__AsyncRedeemDisabled";
|
|
1017
|
-
}, {
|
|
1018
|
-
readonly type: "error";
|
|
1019
|
-
readonly inputs: readonly [];
|
|
1020
|
-
readonly name: "Aera__AutoPriceSolveNotAllowed";
|
|
1021
|
-
}, {
|
|
1022
|
-
readonly type: "error";
|
|
1023
|
-
readonly inputs: readonly [];
|
|
1024
|
-
readonly name: "Aera__CallerIsVault";
|
|
1025
|
-
}, {
|
|
1026
|
-
readonly type: "error";
|
|
1027
|
-
readonly inputs: readonly [];
|
|
1028
|
-
readonly name: "Aera__DeadlineInFutureAndUnauthorized";
|
|
1029
|
-
}, {
|
|
1030
|
-
readonly type: "error";
|
|
1031
|
-
readonly inputs: readonly [];
|
|
1032
|
-
readonly name: "Aera__DeadlineInPast";
|
|
1033
|
-
}, {
|
|
1034
|
-
readonly type: "error";
|
|
1035
|
-
readonly inputs: readonly [];
|
|
1036
|
-
readonly name: "Aera__DeadlineTooFarInFuture";
|
|
1037
|
-
}, {
|
|
1038
|
-
readonly type: "error";
|
|
1039
|
-
readonly inputs: readonly [];
|
|
1040
|
-
readonly name: "Aera__DepositCapExceeded";
|
|
1041
|
-
}, {
|
|
1042
|
-
readonly type: "error";
|
|
1043
|
-
readonly inputs: readonly [];
|
|
1044
|
-
readonly name: "Aera__DepositCapZero";
|
|
1045
|
-
}, {
|
|
1046
|
-
readonly type: "error";
|
|
1047
|
-
readonly inputs: readonly [];
|
|
1048
|
-
readonly name: "Aera__DepositHashNotFound";
|
|
1049
|
-
}, {
|
|
1050
|
-
readonly type: "error";
|
|
1051
|
-
readonly inputs: readonly [];
|
|
1052
|
-
readonly name: "Aera__DepositMultiplierTooHigh";
|
|
1053
|
-
}, {
|
|
1054
|
-
readonly type: "error";
|
|
1055
|
-
readonly inputs: readonly [];
|
|
1056
|
-
readonly name: "Aera__DepositMultiplierTooLow";
|
|
1057
|
-
}, {
|
|
1058
|
-
readonly type: "error";
|
|
1059
|
-
readonly inputs: readonly [];
|
|
1060
|
-
readonly name: "Aera__FixedPriceSolverTipNotAllowed";
|
|
1061
|
-
}, {
|
|
1062
|
-
readonly type: "error";
|
|
1063
|
-
readonly inputs: readonly [];
|
|
1064
|
-
readonly name: "Aera__HashCollision";
|
|
1065
|
-
}, {
|
|
1066
|
-
readonly type: "error";
|
|
1067
|
-
readonly inputs: readonly [];
|
|
1068
|
-
readonly name: "Aera__HashNotFound";
|
|
1069
|
-
}, {
|
|
1070
|
-
readonly type: "error";
|
|
1071
|
-
readonly inputs: readonly [];
|
|
1072
|
-
readonly name: "Aera__InvalidToken";
|
|
1073
|
-
}, {
|
|
1074
|
-
readonly type: "error";
|
|
1075
|
-
readonly inputs: readonly [];
|
|
1076
|
-
readonly name: "Aera__MaxDepositRefundTimeoutExceeded";
|
|
1077
|
-
}, {
|
|
1078
|
-
readonly type: "error";
|
|
1079
|
-
readonly inputs: readonly [];
|
|
1080
|
-
readonly name: "Aera__MaxTokensInExceeded";
|
|
1081
|
-
}, {
|
|
1082
|
-
readonly type: "error";
|
|
1083
|
-
readonly inputs: readonly [];
|
|
1084
|
-
readonly name: "Aera__MaxTokensInZero";
|
|
1085
|
-
}, {
|
|
1086
|
-
readonly type: "error";
|
|
1087
|
-
readonly inputs: readonly [];
|
|
1088
|
-
readonly name: "Aera__MinTokenOutZero";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly type: "error";
|
|
1091
|
-
readonly inputs: readonly [];
|
|
1092
|
-
readonly name: "Aera__MinUnitsOutNotMet";
|
|
1093
|
-
}, {
|
|
1094
|
-
readonly type: "error";
|
|
1095
|
-
readonly inputs: readonly [];
|
|
1096
|
-
readonly name: "Aera__MinUnitsOutZero";
|
|
1097
|
-
}, {
|
|
1098
|
-
readonly type: "error";
|
|
1099
|
-
readonly inputs: readonly [];
|
|
1100
|
-
readonly name: "Aera__PriceAndFeeCalculatorVaultPaused";
|
|
1101
|
-
}, {
|
|
1102
|
-
readonly type: "error";
|
|
1103
|
-
readonly inputs: readonly [];
|
|
1104
|
-
readonly name: "Aera__RedeemMultiplierTooHigh";
|
|
1105
|
-
}, {
|
|
1106
|
-
readonly type: "error";
|
|
1107
|
-
readonly inputs: readonly [];
|
|
1108
|
-
readonly name: "Aera__RedeemMultiplierTooLow";
|
|
1109
|
-
}, {
|
|
1110
|
-
readonly type: "error";
|
|
1111
|
-
readonly inputs: readonly [];
|
|
1112
|
-
readonly name: "Aera__RefundPeriodExpired";
|
|
1113
|
-
}, {
|
|
1114
|
-
readonly type: "error";
|
|
1115
|
-
readonly inputs: readonly [];
|
|
1116
|
-
readonly name: "Aera__SyncDepositDisabled";
|
|
1117
|
-
}, {
|
|
1118
|
-
readonly type: "error";
|
|
1119
|
-
readonly inputs: readonly [];
|
|
1120
|
-
readonly name: "Aera__TokenCantBePriced";
|
|
1121
|
-
}, {
|
|
1122
|
-
readonly type: "error";
|
|
1123
|
-
readonly inputs: readonly [];
|
|
1124
|
-
readonly name: "Aera__TokensInZero";
|
|
1125
|
-
}, {
|
|
1126
|
-
readonly type: "error";
|
|
1127
|
-
readonly inputs: readonly [];
|
|
1128
|
-
readonly name: "Aera__Unauthorized";
|
|
1129
|
-
}, {
|
|
1130
|
-
readonly type: "error";
|
|
1131
|
-
readonly inputs: readonly [];
|
|
1132
|
-
readonly name: "Aera__UnitsInZero";
|
|
1133
|
-
}, {
|
|
1134
|
-
readonly type: "error";
|
|
1135
|
-
readonly inputs: readonly [];
|
|
1136
|
-
readonly name: "Aera__UnitsOutZero";
|
|
1137
|
-
}, {
|
|
1138
|
-
readonly type: "error";
|
|
1139
|
-
readonly inputs: readonly [];
|
|
1140
|
-
readonly name: "Aera__ZeroAddressAuthority";
|
|
1141
|
-
}, {
|
|
1142
|
-
readonly type: "error";
|
|
1143
|
-
readonly inputs: readonly [];
|
|
1144
|
-
readonly name: "Aera__ZeroAddressMultiDepositorVault";
|
|
1145
|
-
}, {
|
|
1146
|
-
readonly type: "error";
|
|
1147
|
-
readonly inputs: readonly [];
|
|
1148
|
-
readonly name: "Aera__ZeroAddressPriceAndFeeCalculator";
|
|
1149
|
-
}, {
|
|
1150
|
-
readonly type: "error";
|
|
1151
|
-
readonly inputs: readonly [];
|
|
1152
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
1153
|
-
}, {
|
|
1154
|
-
readonly type: "error";
|
|
1155
|
-
readonly inputs: readonly [{
|
|
1156
|
-
readonly name: "token";
|
|
1157
|
-
readonly internalType: "address";
|
|
1158
|
-
readonly type: "address";
|
|
1159
|
-
}];
|
|
1160
|
-
readonly name: "SafeERC20FailedOperation";
|
|
1161
|
-
}];
|
|
1162
|
-
functionName: "requestDeposit";
|
|
1163
|
-
args: readonly [`0x${string}`, bigint, bigint, bigint, bigint, bigint, boolean];
|
|
1164
|
-
account: `0x${string}`;
|
|
1165
|
-
};
|
|
1166
|
-
export declare function requestRedeemTxRequest(provisioner: Address, token: Address, unitsIn: bigint, minTokenOut: bigint, solverTip: bigint, deadline: bigint, maxPriceAge: bigint, isFixedPrice: boolean, account: Address): {
|
|
1167
|
-
address: `0x${string}`;
|
|
1168
|
-
abi: readonly [{
|
|
1169
|
-
readonly type: "constructor";
|
|
1170
|
-
readonly inputs: readonly [{
|
|
1171
|
-
readonly name: "priceAndFeeCalculator";
|
|
1172
|
-
readonly internalType: "contract IPriceAndFeeCalculator";
|
|
1173
|
-
readonly type: "address";
|
|
1174
|
-
}, {
|
|
1175
|
-
readonly name: "multiDepositorVault";
|
|
1176
|
-
readonly internalType: "address";
|
|
1177
|
-
readonly type: "address";
|
|
1178
|
-
}, {
|
|
1179
|
-
readonly name: "owner_";
|
|
1180
|
-
readonly internalType: "address";
|
|
1181
|
-
readonly type: "address";
|
|
1182
|
-
}, {
|
|
1183
|
-
readonly name: "authority_";
|
|
1184
|
-
readonly internalType: "contract Authority";
|
|
1185
|
-
readonly type: "address";
|
|
1186
|
-
}];
|
|
1187
|
-
readonly stateMutability: "nonpayable";
|
|
1188
|
-
}, {
|
|
1189
|
-
readonly type: "function";
|
|
1190
|
-
readonly inputs: readonly [];
|
|
1191
|
-
readonly name: "MULTI_DEPOSITOR_VAULT";
|
|
1192
|
-
readonly outputs: readonly [{
|
|
1193
|
-
readonly name: "";
|
|
1194
|
-
readonly internalType: "address";
|
|
1195
|
-
readonly type: "address";
|
|
1196
|
-
}];
|
|
1197
|
-
readonly stateMutability: "view";
|
|
1198
|
-
}, {
|
|
1199
|
-
readonly type: "function";
|
|
1200
|
-
readonly inputs: readonly [];
|
|
1201
|
-
readonly name: "PRICE_FEE_CALCULATOR";
|
|
1202
|
-
readonly outputs: readonly [{
|
|
1203
|
-
readonly name: "";
|
|
1204
|
-
readonly internalType: "contract IPriceAndFeeCalculator";
|
|
1205
|
-
readonly type: "address";
|
|
1206
|
-
}];
|
|
1207
|
-
readonly stateMutability: "view";
|
|
1208
|
-
}, {
|
|
1209
|
-
readonly type: "function";
|
|
1210
|
-
readonly inputs: readonly [];
|
|
1211
|
-
readonly name: "acceptOwnership";
|
|
1212
|
-
readonly outputs: readonly [];
|
|
1213
|
-
readonly stateMutability: "nonpayable";
|
|
1214
|
-
}, {
|
|
1215
|
-
readonly type: "function";
|
|
1216
|
-
readonly inputs: readonly [{
|
|
1217
|
-
readonly name: "user";
|
|
1218
|
-
readonly internalType: "address";
|
|
1219
|
-
readonly type: "address";
|
|
1220
|
-
}];
|
|
1221
|
-
readonly name: "areUserUnitsLocked";
|
|
1222
|
-
readonly outputs: readonly [{
|
|
1223
|
-
readonly name: "";
|
|
1224
|
-
readonly internalType: "bool";
|
|
1225
|
-
readonly type: "bool";
|
|
1226
|
-
}];
|
|
1227
|
-
readonly stateMutability: "view";
|
|
1228
|
-
}, {
|
|
1229
|
-
readonly type: "function";
|
|
1230
|
-
readonly inputs: readonly [{
|
|
1231
|
-
readonly name: "asyncDepositHash";
|
|
1232
|
-
readonly internalType: "bytes32";
|
|
1233
|
-
readonly type: "bytes32";
|
|
1234
|
-
}];
|
|
1235
|
-
readonly name: "asyncDepositHashes";
|
|
1236
|
-
readonly outputs: readonly [{
|
|
1237
|
-
readonly name: "exists";
|
|
1238
|
-
readonly internalType: "bool";
|
|
1239
|
-
readonly type: "bool";
|
|
1240
|
-
}];
|
|
1241
|
-
readonly stateMutability: "view";
|
|
1242
|
-
}, {
|
|
1243
|
-
readonly type: "function";
|
|
1244
|
-
readonly inputs: readonly [{
|
|
1245
|
-
readonly name: "asyncRedeemHash";
|
|
1246
|
-
readonly internalType: "bytes32";
|
|
1247
|
-
readonly type: "bytes32";
|
|
1248
|
-
}];
|
|
1249
|
-
readonly name: "asyncRedeemHashes";
|
|
1250
|
-
readonly outputs: readonly [{
|
|
1251
|
-
readonly name: "exists";
|
|
1252
|
-
readonly internalType: "bool";
|
|
1253
|
-
readonly type: "bool";
|
|
1254
|
-
}];
|
|
1255
|
-
readonly stateMutability: "view";
|
|
1256
|
-
}, {
|
|
1257
|
-
readonly type: "function";
|
|
1258
|
-
readonly inputs: readonly [];
|
|
1259
|
-
readonly name: "authority";
|
|
1260
|
-
readonly outputs: readonly [{
|
|
1261
|
-
readonly name: "";
|
|
1262
|
-
readonly internalType: "contract Authority";
|
|
1263
|
-
readonly type: "address";
|
|
1264
|
-
}];
|
|
1265
|
-
readonly stateMutability: "view";
|
|
1266
|
-
}, {
|
|
1267
|
-
readonly type: "function";
|
|
1268
|
-
readonly inputs: readonly [{
|
|
1269
|
-
readonly name: "token";
|
|
1270
|
-
readonly internalType: "contract IERC20";
|
|
1271
|
-
readonly type: "address";
|
|
1272
|
-
}, {
|
|
1273
|
-
readonly name: "tokensIn";
|
|
1274
|
-
readonly internalType: "uint256";
|
|
1275
|
-
readonly type: "uint256";
|
|
1276
|
-
}, {
|
|
1277
|
-
readonly name: "minUnitsOut";
|
|
1278
|
-
readonly internalType: "uint256";
|
|
1279
|
-
readonly type: "uint256";
|
|
1280
|
-
}];
|
|
1281
|
-
readonly name: "deposit";
|
|
1282
|
-
readonly outputs: readonly [{
|
|
1283
|
-
readonly name: "unitsOut";
|
|
1284
|
-
readonly internalType: "uint256";
|
|
1285
|
-
readonly type: "uint256";
|
|
1286
|
-
}];
|
|
1287
|
-
readonly stateMutability: "nonpayable";
|
|
1288
|
-
}, {
|
|
1289
|
-
readonly type: "function";
|
|
1290
|
-
readonly inputs: readonly [];
|
|
1291
|
-
readonly name: "depositCap";
|
|
1292
|
-
readonly outputs: readonly [{
|
|
1293
|
-
readonly name: "";
|
|
1294
|
-
readonly internalType: "uint256";
|
|
1295
|
-
readonly type: "uint256";
|
|
1296
|
-
}];
|
|
1297
|
-
readonly stateMutability: "view";
|
|
1298
|
-
}, {
|
|
1299
|
-
readonly type: "function";
|
|
1300
|
-
readonly inputs: readonly [];
|
|
1301
|
-
readonly name: "depositRefundTimeout";
|
|
1302
|
-
readonly outputs: readonly [{
|
|
1303
|
-
readonly name: "";
|
|
1304
|
-
readonly internalType: "uint256";
|
|
1305
|
-
readonly type: "uint256";
|
|
1306
|
-
}];
|
|
1307
|
-
readonly stateMutability: "view";
|
|
1308
|
-
}, {
|
|
1309
|
-
readonly type: "function";
|
|
1310
|
-
readonly inputs: readonly [{
|
|
1311
|
-
readonly name: "user";
|
|
1312
|
-
readonly internalType: "address";
|
|
1313
|
-
readonly type: "address";
|
|
1314
|
-
}, {
|
|
1315
|
-
readonly name: "token";
|
|
1316
|
-
readonly internalType: "contract IERC20";
|
|
1317
|
-
readonly type: "address";
|
|
1318
|
-
}, {
|
|
1319
|
-
readonly name: "tokenAmount";
|
|
1320
|
-
readonly internalType: "uint256";
|
|
1321
|
-
readonly type: "uint256";
|
|
1322
|
-
}, {
|
|
1323
|
-
readonly name: "unitsAmount";
|
|
1324
|
-
readonly internalType: "uint256";
|
|
1325
|
-
readonly type: "uint256";
|
|
1326
|
-
}, {
|
|
1327
|
-
readonly name: "refundableUntil";
|
|
1328
|
-
readonly internalType: "uint256";
|
|
1329
|
-
readonly type: "uint256";
|
|
1330
|
-
}];
|
|
1331
|
-
readonly name: "getDepositHash";
|
|
1332
|
-
readonly outputs: readonly [{
|
|
1333
|
-
readonly name: "";
|
|
1334
|
-
readonly internalType: "bytes32";
|
|
1335
|
-
readonly type: "bytes32";
|
|
1336
|
-
}];
|
|
1337
|
-
readonly stateMutability: "pure";
|
|
1338
|
-
}, {
|
|
1339
|
-
readonly type: "function";
|
|
1340
|
-
readonly inputs: readonly [{
|
|
1341
|
-
readonly name: "token";
|
|
1342
|
-
readonly internalType: "contract IERC20";
|
|
1343
|
-
readonly type: "address";
|
|
1344
|
-
}, {
|
|
1345
|
-
readonly name: "request";
|
|
1346
|
-
readonly internalType: "struct Request";
|
|
1347
|
-
readonly type: "tuple";
|
|
1348
|
-
readonly components: readonly [{
|
|
1349
|
-
readonly name: "requestType";
|
|
1350
|
-
readonly internalType: "enum RequestType";
|
|
1351
|
-
readonly type: "uint8";
|
|
1352
|
-
}, {
|
|
1353
|
-
readonly name: "user";
|
|
1354
|
-
readonly internalType: "address";
|
|
1355
|
-
readonly type: "address";
|
|
1356
|
-
}, {
|
|
1357
|
-
readonly name: "units";
|
|
1358
|
-
readonly internalType: "uint256";
|
|
1359
|
-
readonly type: "uint256";
|
|
1360
|
-
}, {
|
|
1361
|
-
readonly name: "tokens";
|
|
1362
|
-
readonly internalType: "uint256";
|
|
1363
|
-
readonly type: "uint256";
|
|
1364
|
-
}, {
|
|
1365
|
-
readonly name: "solverTip";
|
|
1366
|
-
readonly internalType: "uint256";
|
|
1367
|
-
readonly type: "uint256";
|
|
1368
|
-
}, {
|
|
1369
|
-
readonly name: "deadline";
|
|
1370
|
-
readonly internalType: "uint256";
|
|
1371
|
-
readonly type: "uint256";
|
|
1372
|
-
}, {
|
|
1373
|
-
readonly name: "maxPriceAge";
|
|
1374
|
-
readonly internalType: "uint256";
|
|
1375
|
-
readonly type: "uint256";
|
|
1376
|
-
}];
|
|
1377
|
-
}];
|
|
1378
|
-
readonly name: "getRequestHash";
|
|
1379
|
-
readonly outputs: readonly [{
|
|
1380
|
-
readonly name: "";
|
|
1381
|
-
readonly internalType: "bytes32";
|
|
1382
|
-
readonly type: "bytes32";
|
|
1383
|
-
}];
|
|
1384
|
-
readonly stateMutability: "pure";
|
|
1385
|
-
}, {
|
|
1386
|
-
readonly type: "function";
|
|
1387
|
-
readonly inputs: readonly [];
|
|
1388
|
-
readonly name: "maxDeposit";
|
|
1389
|
-
readonly outputs: readonly [{
|
|
1390
|
-
readonly name: "";
|
|
1391
|
-
readonly internalType: "uint256";
|
|
1392
|
-
readonly type: "uint256";
|
|
1393
|
-
}];
|
|
1394
|
-
readonly stateMutability: "view";
|
|
1395
|
-
}, {
|
|
1396
|
-
readonly type: "function";
|
|
1397
|
-
readonly inputs: readonly [{
|
|
1398
|
-
readonly name: "token";
|
|
1399
|
-
readonly internalType: "contract IERC20";
|
|
1400
|
-
readonly type: "address";
|
|
1401
|
-
}, {
|
|
1402
|
-
readonly name: "unitsOut";
|
|
1403
|
-
readonly internalType: "uint256";
|
|
1404
|
-
readonly type: "uint256";
|
|
1405
|
-
}, {
|
|
1406
|
-
readonly name: "maxTokensIn";
|
|
1407
|
-
readonly internalType: "uint256";
|
|
1408
|
-
readonly type: "uint256";
|
|
1409
|
-
}];
|
|
1410
|
-
readonly name: "mint";
|
|
1411
|
-
readonly outputs: readonly [{
|
|
1412
|
-
readonly name: "tokensIn";
|
|
1413
|
-
readonly internalType: "uint256";
|
|
1414
|
-
readonly type: "uint256";
|
|
1415
|
-
}];
|
|
1416
|
-
readonly stateMutability: "nonpayable";
|
|
1417
|
-
}, {
|
|
1418
|
-
readonly type: "function";
|
|
1419
|
-
readonly inputs: readonly [];
|
|
1420
|
-
readonly name: "owner";
|
|
1421
|
-
readonly outputs: readonly [{
|
|
1422
|
-
readonly name: "";
|
|
1423
|
-
readonly internalType: "address";
|
|
1424
|
-
readonly type: "address";
|
|
1425
|
-
}];
|
|
1426
|
-
readonly stateMutability: "view";
|
|
1427
|
-
}, {
|
|
1428
|
-
readonly type: "function";
|
|
1429
|
-
readonly inputs: readonly [];
|
|
1430
|
-
readonly name: "pendingOwner";
|
|
1431
|
-
readonly outputs: readonly [{
|
|
1432
|
-
readonly name: "";
|
|
1433
|
-
readonly internalType: "address";
|
|
1434
|
-
readonly type: "address";
|
|
1435
|
-
}];
|
|
1436
|
-
readonly stateMutability: "view";
|
|
1437
|
-
}, {
|
|
1438
|
-
readonly type: "function";
|
|
1439
|
-
readonly inputs: readonly [{
|
|
1440
|
-
readonly name: "sender";
|
|
1441
|
-
readonly internalType: "address";
|
|
1442
|
-
readonly type: "address";
|
|
1443
|
-
}, {
|
|
1444
|
-
readonly name: "token";
|
|
1445
|
-
readonly internalType: "contract IERC20";
|
|
1446
|
-
readonly type: "address";
|
|
1447
|
-
}, {
|
|
1448
|
-
readonly name: "tokenAmount";
|
|
1449
|
-
readonly internalType: "uint256";
|
|
1450
|
-
readonly type: "uint256";
|
|
1451
|
-
}, {
|
|
1452
|
-
readonly name: "unitsAmount";
|
|
1453
|
-
readonly internalType: "uint256";
|
|
1454
|
-
readonly type: "uint256";
|
|
1455
|
-
}, {
|
|
1456
|
-
readonly name: "refundableUntil";
|
|
1457
|
-
readonly internalType: "uint256";
|
|
1458
|
-
readonly type: "uint256";
|
|
1459
|
-
}];
|
|
1460
|
-
readonly name: "refundDeposit";
|
|
1461
|
-
readonly outputs: readonly [];
|
|
1462
|
-
readonly stateMutability: "nonpayable";
|
|
1463
|
-
}, {
|
|
1464
|
-
readonly type: "function";
|
|
1465
|
-
readonly inputs: readonly [{
|
|
1466
|
-
readonly name: "token";
|
|
1467
|
-
readonly internalType: "contract IERC20";
|
|
1468
|
-
readonly type: "address";
|
|
1469
|
-
}, {
|
|
1470
|
-
readonly name: "request";
|
|
1471
|
-
readonly internalType: "struct Request";
|
|
1472
|
-
readonly type: "tuple";
|
|
1473
|
-
readonly components: readonly [{
|
|
1474
|
-
readonly name: "requestType";
|
|
1475
|
-
readonly internalType: "enum RequestType";
|
|
1476
|
-
readonly type: "uint8";
|
|
1477
|
-
}, {
|
|
1478
|
-
readonly name: "user";
|
|
1479
|
-
readonly internalType: "address";
|
|
1480
|
-
readonly type: "address";
|
|
1481
|
-
}, {
|
|
1482
|
-
readonly name: "units";
|
|
1483
|
-
readonly internalType: "uint256";
|
|
1484
|
-
readonly type: "uint256";
|
|
1485
|
-
}, {
|
|
1486
|
-
readonly name: "tokens";
|
|
1487
|
-
readonly internalType: "uint256";
|
|
1488
|
-
readonly type: "uint256";
|
|
1489
|
-
}, {
|
|
1490
|
-
readonly name: "solverTip";
|
|
1491
|
-
readonly internalType: "uint256";
|
|
1492
|
-
readonly type: "uint256";
|
|
1493
|
-
}, {
|
|
1494
|
-
readonly name: "deadline";
|
|
1495
|
-
readonly internalType: "uint256";
|
|
1496
|
-
readonly type: "uint256";
|
|
1497
|
-
}, {
|
|
1498
|
-
readonly name: "maxPriceAge";
|
|
1499
|
-
readonly internalType: "uint256";
|
|
1500
|
-
readonly type: "uint256";
|
|
1501
|
-
}];
|
|
1502
|
-
}];
|
|
1503
|
-
readonly name: "refundRequest";
|
|
1504
|
-
readonly outputs: readonly [];
|
|
1505
|
-
readonly stateMutability: "nonpayable";
|
|
1506
|
-
}, {
|
|
1507
|
-
readonly type: "function";
|
|
1508
|
-
readonly inputs: readonly [{
|
|
1509
|
-
readonly name: "token";
|
|
1510
|
-
readonly internalType: "contract IERC20";
|
|
1511
|
-
readonly type: "address";
|
|
1512
|
-
}];
|
|
1513
|
-
readonly name: "removeToken";
|
|
1514
|
-
readonly outputs: readonly [];
|
|
1515
|
-
readonly stateMutability: "nonpayable";
|
|
1516
|
-
}, {
|
|
1517
|
-
readonly type: "function";
|
|
1518
|
-
readonly inputs: readonly [{
|
|
1519
|
-
readonly name: "token";
|
|
1520
|
-
readonly internalType: "contract IERC20";
|
|
1521
|
-
readonly type: "address";
|
|
1522
|
-
}, {
|
|
1523
|
-
readonly name: "tokensIn";
|
|
1524
|
-
readonly internalType: "uint256";
|
|
1525
|
-
readonly type: "uint256";
|
|
1526
|
-
}, {
|
|
1527
|
-
readonly name: "minUnitsOut";
|
|
1528
|
-
readonly internalType: "uint256";
|
|
1529
|
-
readonly type: "uint256";
|
|
1530
|
-
}, {
|
|
1531
|
-
readonly name: "solverTip";
|
|
1532
|
-
readonly internalType: "uint256";
|
|
1533
|
-
readonly type: "uint256";
|
|
1534
|
-
}, {
|
|
1535
|
-
readonly name: "deadline";
|
|
1536
|
-
readonly internalType: "uint256";
|
|
1537
|
-
readonly type: "uint256";
|
|
1538
|
-
}, {
|
|
1539
|
-
readonly name: "maxPriceAge";
|
|
1540
|
-
readonly internalType: "uint256";
|
|
1541
|
-
readonly type: "uint256";
|
|
1542
|
-
}, {
|
|
1543
|
-
readonly name: "isFixedPrice";
|
|
1544
|
-
readonly internalType: "bool";
|
|
1545
|
-
readonly type: "bool";
|
|
1546
|
-
}];
|
|
1547
|
-
readonly name: "requestDeposit";
|
|
1548
|
-
readonly outputs: readonly [];
|
|
1549
|
-
readonly stateMutability: "nonpayable";
|
|
1550
|
-
}, {
|
|
1551
|
-
readonly type: "function";
|
|
1552
|
-
readonly inputs: readonly [{
|
|
1553
|
-
readonly name: "token";
|
|
1554
|
-
readonly internalType: "contract IERC20";
|
|
1555
|
-
readonly type: "address";
|
|
1556
|
-
}, {
|
|
1557
|
-
readonly name: "unitsIn";
|
|
1558
|
-
readonly internalType: "uint256";
|
|
1559
|
-
readonly type: "uint256";
|
|
1560
|
-
}, {
|
|
1561
|
-
readonly name: "minTokensOut";
|
|
1562
|
-
readonly internalType: "uint256";
|
|
1563
|
-
readonly type: "uint256";
|
|
1564
|
-
}, {
|
|
1565
|
-
readonly name: "solverTip";
|
|
1566
|
-
readonly internalType: "uint256";
|
|
1567
|
-
readonly type: "uint256";
|
|
1568
|
-
}, {
|
|
1569
|
-
readonly name: "deadline";
|
|
1570
|
-
readonly internalType: "uint256";
|
|
1571
|
-
readonly type: "uint256";
|
|
1572
|
-
}, {
|
|
1573
|
-
readonly name: "maxPriceAge";
|
|
1574
|
-
readonly internalType: "uint256";
|
|
1575
|
-
readonly type: "uint256";
|
|
1576
|
-
}, {
|
|
1577
|
-
readonly name: "isFixedPrice";
|
|
1578
|
-
readonly internalType: "bool";
|
|
1579
|
-
readonly type: "bool";
|
|
1580
|
-
}];
|
|
1581
|
-
readonly name: "requestRedeem";
|
|
1582
|
-
readonly outputs: readonly [];
|
|
1583
|
-
readonly stateMutability: "nonpayable";
|
|
1584
|
-
}, {
|
|
1585
|
-
readonly type: "function";
|
|
1586
|
-
readonly inputs: readonly [{
|
|
1587
|
-
readonly name: "newAuthority";
|
|
1588
|
-
readonly internalType: "contract Authority";
|
|
1589
|
-
readonly type: "address";
|
|
1590
|
-
}];
|
|
1591
|
-
readonly name: "setAuthority";
|
|
1592
|
-
readonly outputs: readonly [];
|
|
1593
|
-
readonly stateMutability: "nonpayable";
|
|
1594
|
-
}, {
|
|
1595
|
-
readonly type: "function";
|
|
1596
|
-
readonly inputs: readonly [{
|
|
1597
|
-
readonly name: "depositCap_";
|
|
1598
|
-
readonly internalType: "uint256";
|
|
1599
|
-
readonly type: "uint256";
|
|
1600
|
-
}, {
|
|
1601
|
-
readonly name: "depositRefundTimeout_";
|
|
1602
|
-
readonly internalType: "uint256";
|
|
1603
|
-
readonly type: "uint256";
|
|
1604
|
-
}];
|
|
1605
|
-
readonly name: "setDepositDetails";
|
|
1606
|
-
readonly outputs: readonly [];
|
|
1607
|
-
readonly stateMutability: "nonpayable";
|
|
1608
|
-
}, {
|
|
1609
|
-
readonly type: "function";
|
|
1610
|
-
readonly inputs: readonly [{
|
|
1611
|
-
readonly name: "token";
|
|
1612
|
-
readonly internalType: "contract IERC20";
|
|
1613
|
-
readonly type: "address";
|
|
1614
|
-
}, {
|
|
1615
|
-
readonly name: "details";
|
|
1616
|
-
readonly internalType: "struct TokenDetails";
|
|
1617
|
-
readonly type: "tuple";
|
|
1618
|
-
readonly components: readonly [{
|
|
1619
|
-
readonly name: "asyncDepositEnabled";
|
|
1620
|
-
readonly internalType: "bool";
|
|
1621
|
-
readonly type: "bool";
|
|
1622
|
-
}, {
|
|
1623
|
-
readonly name: "asyncRedeemEnabled";
|
|
1624
|
-
readonly internalType: "bool";
|
|
1625
|
-
readonly type: "bool";
|
|
1626
|
-
}, {
|
|
1627
|
-
readonly name: "syncDepositEnabled";
|
|
1628
|
-
readonly internalType: "bool";
|
|
1629
|
-
readonly type: "bool";
|
|
1630
|
-
}, {
|
|
1631
|
-
readonly name: "depositMultiplier";
|
|
1632
|
-
readonly internalType: "uint16";
|
|
1633
|
-
readonly type: "uint16";
|
|
1634
|
-
}, {
|
|
1635
|
-
readonly name: "redeemMultiplier";
|
|
1636
|
-
readonly internalType: "uint16";
|
|
1637
|
-
readonly type: "uint16";
|
|
1638
|
-
}];
|
|
1639
|
-
}];
|
|
1640
|
-
readonly name: "setTokenDetails";
|
|
1641
|
-
readonly outputs: readonly [];
|
|
1642
|
-
readonly stateMutability: "nonpayable";
|
|
1643
|
-
}, {
|
|
1644
|
-
readonly type: "function";
|
|
1645
|
-
readonly inputs: readonly [{
|
|
1646
|
-
readonly name: "token";
|
|
1647
|
-
readonly internalType: "contract IERC20";
|
|
1648
|
-
readonly type: "address";
|
|
1649
|
-
}, {
|
|
1650
|
-
readonly name: "requests";
|
|
1651
|
-
readonly internalType: "struct Request[]";
|
|
1652
|
-
readonly type: "tuple[]";
|
|
1653
|
-
readonly components: readonly [{
|
|
1654
|
-
readonly name: "requestType";
|
|
1655
|
-
readonly internalType: "enum RequestType";
|
|
1656
|
-
readonly type: "uint8";
|
|
1657
|
-
}, {
|
|
1658
|
-
readonly name: "user";
|
|
1659
|
-
readonly internalType: "address";
|
|
1660
|
-
readonly type: "address";
|
|
1661
|
-
}, {
|
|
1662
|
-
readonly name: "units";
|
|
1663
|
-
readonly internalType: "uint256";
|
|
1664
|
-
readonly type: "uint256";
|
|
1665
|
-
}, {
|
|
1666
|
-
readonly name: "tokens";
|
|
1667
|
-
readonly internalType: "uint256";
|
|
1668
|
-
readonly type: "uint256";
|
|
1669
|
-
}, {
|
|
1670
|
-
readonly name: "solverTip";
|
|
1671
|
-
readonly internalType: "uint256";
|
|
1672
|
-
readonly type: "uint256";
|
|
1673
|
-
}, {
|
|
1674
|
-
readonly name: "deadline";
|
|
1675
|
-
readonly internalType: "uint256";
|
|
1676
|
-
readonly type: "uint256";
|
|
1677
|
-
}, {
|
|
1678
|
-
readonly name: "maxPriceAge";
|
|
1679
|
-
readonly internalType: "uint256";
|
|
1680
|
-
readonly type: "uint256";
|
|
1681
|
-
}];
|
|
1682
|
-
}];
|
|
1683
|
-
readonly name: "solveRequestsDirect";
|
|
1684
|
-
readonly outputs: readonly [];
|
|
1685
|
-
readonly stateMutability: "nonpayable";
|
|
1686
|
-
}, {
|
|
1687
|
-
readonly type: "function";
|
|
1688
|
-
readonly inputs: readonly [{
|
|
1689
|
-
readonly name: "token";
|
|
1690
|
-
readonly internalType: "contract IERC20";
|
|
1691
|
-
readonly type: "address";
|
|
1692
|
-
}, {
|
|
1693
|
-
readonly name: "requests";
|
|
1694
|
-
readonly internalType: "struct Request[]";
|
|
1695
|
-
readonly type: "tuple[]";
|
|
1696
|
-
readonly components: readonly [{
|
|
1697
|
-
readonly name: "requestType";
|
|
1698
|
-
readonly internalType: "enum RequestType";
|
|
1699
|
-
readonly type: "uint8";
|
|
1700
|
-
}, {
|
|
1701
|
-
readonly name: "user";
|
|
1702
|
-
readonly internalType: "address";
|
|
1703
|
-
readonly type: "address";
|
|
1704
|
-
}, {
|
|
1705
|
-
readonly name: "units";
|
|
1706
|
-
readonly internalType: "uint256";
|
|
1707
|
-
readonly type: "uint256";
|
|
1708
|
-
}, {
|
|
1709
|
-
readonly name: "tokens";
|
|
1710
|
-
readonly internalType: "uint256";
|
|
1711
|
-
readonly type: "uint256";
|
|
1712
|
-
}, {
|
|
1713
|
-
readonly name: "solverTip";
|
|
1714
|
-
readonly internalType: "uint256";
|
|
1715
|
-
readonly type: "uint256";
|
|
1716
|
-
}, {
|
|
1717
|
-
readonly name: "deadline";
|
|
1718
|
-
readonly internalType: "uint256";
|
|
1719
|
-
readonly type: "uint256";
|
|
1720
|
-
}, {
|
|
1721
|
-
readonly name: "maxPriceAge";
|
|
1722
|
-
readonly internalType: "uint256";
|
|
1723
|
-
readonly type: "uint256";
|
|
1724
|
-
}];
|
|
1725
|
-
}];
|
|
1726
|
-
readonly name: "solveRequestsVault";
|
|
1727
|
-
readonly outputs: readonly [];
|
|
1728
|
-
readonly stateMutability: "nonpayable";
|
|
1729
|
-
}, {
|
|
1730
|
-
readonly type: "function";
|
|
1731
|
-
readonly inputs: readonly [{
|
|
1732
|
-
readonly name: "syncDepositHash";
|
|
1733
|
-
readonly internalType: "bytes32";
|
|
1734
|
-
readonly type: "bytes32";
|
|
1735
|
-
}];
|
|
1736
|
-
readonly name: "syncDepositHashes";
|
|
1737
|
-
readonly outputs: readonly [{
|
|
1738
|
-
readonly name: "exists";
|
|
1739
|
-
readonly internalType: "bool";
|
|
1740
|
-
readonly type: "bool";
|
|
1741
|
-
}];
|
|
1742
|
-
readonly stateMutability: "view";
|
|
1743
|
-
}, {
|
|
1744
|
-
readonly type: "function";
|
|
1745
|
-
readonly inputs: readonly [{
|
|
1746
|
-
readonly name: "token";
|
|
1747
|
-
readonly internalType: "contract IERC20";
|
|
1748
|
-
readonly type: "address";
|
|
1749
|
-
}];
|
|
1750
|
-
readonly name: "tokensDetails";
|
|
1751
|
-
readonly outputs: readonly [{
|
|
1752
|
-
readonly name: "asyncDepositEnabled";
|
|
1753
|
-
readonly internalType: "bool";
|
|
1754
|
-
readonly type: "bool";
|
|
1755
|
-
}, {
|
|
1756
|
-
readonly name: "asyncRedeemEnabled";
|
|
1757
|
-
readonly internalType: "bool";
|
|
1758
|
-
readonly type: "bool";
|
|
1759
|
-
}, {
|
|
1760
|
-
readonly name: "syncDepositEnabled";
|
|
1761
|
-
readonly internalType: "bool";
|
|
1762
|
-
readonly type: "bool";
|
|
1763
|
-
}, {
|
|
1764
|
-
readonly name: "depositMultiplier";
|
|
1765
|
-
readonly internalType: "uint16";
|
|
1766
|
-
readonly type: "uint16";
|
|
1767
|
-
}, {
|
|
1768
|
-
readonly name: "redeemMultiplier";
|
|
1769
|
-
readonly internalType: "uint16";
|
|
1770
|
-
readonly type: "uint16";
|
|
1771
|
-
}];
|
|
1772
|
-
readonly stateMutability: "view";
|
|
1773
|
-
}, {
|
|
1774
|
-
readonly type: "function";
|
|
1775
|
-
readonly inputs: readonly [{
|
|
1776
|
-
readonly name: "newOwner";
|
|
1777
|
-
readonly internalType: "address";
|
|
1778
|
-
readonly type: "address";
|
|
1779
|
-
}];
|
|
1780
|
-
readonly name: "transferOwnership";
|
|
1781
|
-
readonly outputs: readonly [];
|
|
1782
|
-
readonly stateMutability: "nonpayable";
|
|
1783
|
-
}, {
|
|
1784
|
-
readonly type: "function";
|
|
1785
|
-
readonly inputs: readonly [{
|
|
1786
|
-
readonly name: "user";
|
|
1787
|
-
readonly internalType: "address";
|
|
1788
|
-
readonly type: "address";
|
|
1789
|
-
}];
|
|
1790
|
-
readonly name: "userUnitsRefundableUntil";
|
|
1791
|
-
readonly outputs: readonly [{
|
|
1792
|
-
readonly name: "unitsLockedUntil";
|
|
1793
|
-
readonly internalType: "uint256";
|
|
1794
|
-
readonly type: "uint256";
|
|
1795
|
-
}];
|
|
1796
|
-
readonly stateMutability: "view";
|
|
1797
|
-
}, {
|
|
1798
|
-
readonly type: "event";
|
|
1799
|
-
readonly anonymous: false;
|
|
1800
|
-
readonly inputs: readonly [{
|
|
1801
|
-
readonly name: "index";
|
|
1802
|
-
readonly internalType: "uint256";
|
|
1803
|
-
readonly type: "uint256";
|
|
1804
|
-
readonly indexed: true;
|
|
1805
|
-
}, {
|
|
1806
|
-
readonly name: "amount";
|
|
1807
|
-
readonly internalType: "uint256";
|
|
1808
|
-
readonly type: "uint256";
|
|
1809
|
-
readonly indexed: false;
|
|
1810
|
-
}, {
|
|
1811
|
-
readonly name: "bound";
|
|
1812
|
-
readonly internalType: "uint256";
|
|
1813
|
-
readonly type: "uint256";
|
|
1814
|
-
readonly indexed: false;
|
|
1815
|
-
}];
|
|
1816
|
-
readonly name: "AmountBoundExceeded";
|
|
1817
|
-
}, {
|
|
1818
|
-
readonly type: "event";
|
|
1819
|
-
readonly anonymous: false;
|
|
1820
|
-
readonly inputs: readonly [{
|
|
1821
|
-
readonly name: "index";
|
|
1822
|
-
readonly internalType: "uint256";
|
|
1823
|
-
readonly type: "uint256";
|
|
1824
|
-
readonly indexed: true;
|
|
1825
|
-
}];
|
|
1826
|
-
readonly name: "AsyncDepositDisabled";
|
|
1827
|
-
}, {
|
|
1828
|
-
readonly type: "event";
|
|
1829
|
-
readonly anonymous: false;
|
|
1830
|
-
readonly inputs: readonly [{
|
|
1831
|
-
readonly name: "index";
|
|
1832
|
-
readonly internalType: "uint256";
|
|
1833
|
-
readonly type: "uint256";
|
|
1834
|
-
readonly indexed: true;
|
|
1835
|
-
}];
|
|
1836
|
-
readonly name: "AsyncRedeemDisabled";
|
|
1837
|
-
}, {
|
|
1838
|
-
readonly type: "event";
|
|
1839
|
-
readonly anonymous: false;
|
|
1840
|
-
readonly inputs: readonly [{
|
|
1841
|
-
readonly name: "user";
|
|
1842
|
-
readonly internalType: "address";
|
|
1843
|
-
readonly type: "address";
|
|
1844
|
-
readonly indexed: true;
|
|
1845
|
-
}, {
|
|
1846
|
-
readonly name: "newAuthority";
|
|
1847
|
-
readonly internalType: "contract Authority";
|
|
1848
|
-
readonly type: "address";
|
|
1849
|
-
readonly indexed: true;
|
|
1850
|
-
}];
|
|
1851
|
-
readonly name: "AuthorityUpdated";
|
|
1852
|
-
}, {
|
|
1853
|
-
readonly type: "event";
|
|
1854
|
-
readonly anonymous: false;
|
|
1855
|
-
readonly inputs: readonly [{
|
|
1856
|
-
readonly name: "index";
|
|
1857
|
-
readonly internalType: "uint256";
|
|
1858
|
-
readonly type: "uint256";
|
|
1859
|
-
readonly indexed: true;
|
|
1860
|
-
}];
|
|
1861
|
-
readonly name: "DepositCapExceeded";
|
|
1862
|
-
}, {
|
|
1863
|
-
readonly type: "event";
|
|
1864
|
-
readonly anonymous: false;
|
|
1865
|
-
readonly inputs: readonly [{
|
|
1866
|
-
readonly name: "depositCap";
|
|
1867
|
-
readonly internalType: "uint256";
|
|
1868
|
-
readonly type: "uint256";
|
|
1869
|
-
readonly indexed: false;
|
|
1870
|
-
}, {
|
|
1871
|
-
readonly name: "depositRefundTimeout";
|
|
1872
|
-
readonly internalType: "uint256";
|
|
1873
|
-
readonly type: "uint256";
|
|
1874
|
-
readonly indexed: false;
|
|
1875
|
-
}];
|
|
1876
|
-
readonly name: "DepositDetailsUpdated";
|
|
1877
|
-
}, {
|
|
1878
|
-
readonly type: "event";
|
|
1879
|
-
readonly anonymous: false;
|
|
1880
|
-
readonly inputs: readonly [{
|
|
1881
|
-
readonly name: "depositHash";
|
|
1882
|
-
readonly internalType: "bytes32";
|
|
1883
|
-
readonly type: "bytes32";
|
|
1884
|
-
readonly indexed: true;
|
|
1885
|
-
}];
|
|
1886
|
-
readonly name: "DepositRefunded";
|
|
1887
|
-
}, {
|
|
1888
|
-
readonly type: "event";
|
|
1889
|
-
readonly anonymous: false;
|
|
1890
|
-
readonly inputs: readonly [{
|
|
1891
|
-
readonly name: "user";
|
|
1892
|
-
readonly internalType: "address";
|
|
1893
|
-
readonly type: "address";
|
|
1894
|
-
readonly indexed: true;
|
|
1895
|
-
}, {
|
|
1896
|
-
readonly name: "token";
|
|
1897
|
-
readonly internalType: "contract IERC20";
|
|
1898
|
-
readonly type: "address";
|
|
1899
|
-
readonly indexed: true;
|
|
1900
|
-
}, {
|
|
1901
|
-
readonly name: "tokensIn";
|
|
1902
|
-
readonly internalType: "uint256";
|
|
1903
|
-
readonly type: "uint256";
|
|
1904
|
-
readonly indexed: false;
|
|
1905
|
-
}, {
|
|
1906
|
-
readonly name: "minUnitsOut";
|
|
1907
|
-
readonly internalType: "uint256";
|
|
1908
|
-
readonly type: "uint256";
|
|
1909
|
-
readonly indexed: false;
|
|
1910
|
-
}, {
|
|
1911
|
-
readonly name: "solverTip";
|
|
1912
|
-
readonly internalType: "uint256";
|
|
1913
|
-
readonly type: "uint256";
|
|
1914
|
-
readonly indexed: false;
|
|
1915
|
-
}, {
|
|
1916
|
-
readonly name: "deadline";
|
|
1917
|
-
readonly internalType: "uint256";
|
|
1918
|
-
readonly type: "uint256";
|
|
1919
|
-
readonly indexed: false;
|
|
1920
|
-
}, {
|
|
1921
|
-
readonly name: "maxPriceAge";
|
|
1922
|
-
readonly internalType: "uint256";
|
|
1923
|
-
readonly type: "uint256";
|
|
1924
|
-
readonly indexed: false;
|
|
1925
|
-
}, {
|
|
1926
|
-
readonly name: "isFixedPrice";
|
|
1927
|
-
readonly internalType: "bool";
|
|
1928
|
-
readonly type: "bool";
|
|
1929
|
-
readonly indexed: false;
|
|
1930
|
-
}, {
|
|
1931
|
-
readonly name: "depositRequestHash";
|
|
1932
|
-
readonly internalType: "bytes32";
|
|
1933
|
-
readonly type: "bytes32";
|
|
1934
|
-
readonly indexed: false;
|
|
1935
|
-
}];
|
|
1936
|
-
readonly name: "DepositRequested";
|
|
1937
|
-
}, {
|
|
1938
|
-
readonly type: "event";
|
|
1939
|
-
readonly anonymous: false;
|
|
1940
|
-
readonly inputs: readonly [{
|
|
1941
|
-
readonly name: "depositHash";
|
|
1942
|
-
readonly internalType: "bytes32";
|
|
1943
|
-
readonly type: "bytes32";
|
|
1944
|
-
readonly indexed: true;
|
|
1945
|
-
}];
|
|
1946
|
-
readonly name: "DepositSolved";
|
|
1947
|
-
}, {
|
|
1948
|
-
readonly type: "event";
|
|
1949
|
-
readonly anonymous: false;
|
|
1950
|
-
readonly inputs: readonly [{
|
|
1951
|
-
readonly name: "user";
|
|
1952
|
-
readonly internalType: "address";
|
|
1953
|
-
readonly type: "address";
|
|
1954
|
-
readonly indexed: true;
|
|
1955
|
-
}, {
|
|
1956
|
-
readonly name: "token";
|
|
1957
|
-
readonly internalType: "contract IERC20";
|
|
1958
|
-
readonly type: "address";
|
|
1959
|
-
readonly indexed: true;
|
|
1960
|
-
}, {
|
|
1961
|
-
readonly name: "tokensIn";
|
|
1962
|
-
readonly internalType: "uint256";
|
|
1963
|
-
readonly type: "uint256";
|
|
1964
|
-
readonly indexed: false;
|
|
1965
|
-
}, {
|
|
1966
|
-
readonly name: "unitsOut";
|
|
1967
|
-
readonly internalType: "uint256";
|
|
1968
|
-
readonly type: "uint256";
|
|
1969
|
-
readonly indexed: false;
|
|
1970
|
-
}, {
|
|
1971
|
-
readonly name: "depositHash";
|
|
1972
|
-
readonly internalType: "bytes32";
|
|
1973
|
-
readonly type: "bytes32";
|
|
1974
|
-
readonly indexed: false;
|
|
1975
|
-
}];
|
|
1976
|
-
readonly name: "Deposited";
|
|
1977
|
-
}, {
|
|
1978
|
-
readonly type: "event";
|
|
1979
|
-
readonly anonymous: false;
|
|
1980
|
-
readonly inputs: readonly [{
|
|
1981
|
-
readonly name: "depositHash";
|
|
1982
|
-
readonly internalType: "bytes32";
|
|
1983
|
-
readonly type: "bytes32";
|
|
1984
|
-
readonly indexed: true;
|
|
1985
|
-
}];
|
|
1986
|
-
readonly name: "DirectDepositRefunded";
|
|
1987
|
-
}, {
|
|
1988
|
-
readonly type: "event";
|
|
1989
|
-
readonly anonymous: false;
|
|
1990
|
-
readonly inputs: readonly [{
|
|
1991
|
-
readonly name: "index";
|
|
1992
|
-
readonly internalType: "uint256";
|
|
1993
|
-
readonly type: "uint256";
|
|
1994
|
-
readonly indexed: true;
|
|
1995
|
-
}];
|
|
1996
|
-
readonly name: "InsufficientTokensForTip";
|
|
1997
|
-
}, {
|
|
1998
|
-
readonly type: "event";
|
|
1999
|
-
readonly anonymous: false;
|
|
2000
|
-
readonly inputs: readonly [{
|
|
2001
|
-
readonly name: "depositHash";
|
|
2002
|
-
readonly internalType: "bytes32";
|
|
2003
|
-
readonly type: "bytes32";
|
|
2004
|
-
readonly indexed: true;
|
|
2005
|
-
}];
|
|
2006
|
-
readonly name: "InvalidRequestHash";
|
|
2007
|
-
}, {
|
|
2008
|
-
readonly type: "event";
|
|
2009
|
-
readonly anonymous: false;
|
|
2010
|
-
readonly inputs: readonly [{
|
|
2011
|
-
readonly name: "previousOwner";
|
|
2012
|
-
readonly internalType: "address";
|
|
2013
|
-
readonly type: "address";
|
|
2014
|
-
readonly indexed: true;
|
|
2015
|
-
}, {
|
|
2016
|
-
readonly name: "newOwner";
|
|
2017
|
-
readonly internalType: "address";
|
|
2018
|
-
readonly type: "address";
|
|
2019
|
-
readonly indexed: true;
|
|
2020
|
-
}];
|
|
2021
|
-
readonly name: "OwnershipTransferStarted";
|
|
2022
|
-
}, {
|
|
2023
|
-
readonly type: "event";
|
|
2024
|
-
readonly anonymous: false;
|
|
2025
|
-
readonly inputs: readonly [{
|
|
2026
|
-
readonly name: "user";
|
|
2027
|
-
readonly internalType: "address";
|
|
2028
|
-
readonly type: "address";
|
|
2029
|
-
readonly indexed: true;
|
|
2030
|
-
}, {
|
|
2031
|
-
readonly name: "newOwner";
|
|
2032
|
-
readonly internalType: "address";
|
|
2033
|
-
readonly type: "address";
|
|
2034
|
-
readonly indexed: true;
|
|
2035
|
-
}];
|
|
2036
|
-
readonly name: "OwnershipTransferred";
|
|
2037
|
-
}, {
|
|
2038
|
-
readonly type: "event";
|
|
2039
|
-
readonly anonymous: false;
|
|
2040
|
-
readonly inputs: readonly [{
|
|
2041
|
-
readonly name: "index";
|
|
2042
|
-
readonly internalType: "uint256";
|
|
2043
|
-
readonly type: "uint256";
|
|
2044
|
-
readonly indexed: true;
|
|
2045
|
-
}];
|
|
2046
|
-
readonly name: "PriceAgeExceeded";
|
|
2047
|
-
}, {
|
|
2048
|
-
readonly type: "event";
|
|
2049
|
-
readonly anonymous: false;
|
|
2050
|
-
readonly inputs: readonly [{
|
|
2051
|
-
readonly name: "redeemHash";
|
|
2052
|
-
readonly internalType: "bytes32";
|
|
2053
|
-
readonly type: "bytes32";
|
|
2054
|
-
readonly indexed: true;
|
|
2055
|
-
}];
|
|
2056
|
-
readonly name: "RedeemRefunded";
|
|
2057
|
-
}, {
|
|
2058
|
-
readonly type: "event";
|
|
2059
|
-
readonly anonymous: false;
|
|
2060
|
-
readonly inputs: readonly [{
|
|
2061
|
-
readonly name: "user";
|
|
2062
|
-
readonly internalType: "address";
|
|
2063
|
-
readonly type: "address";
|
|
2064
|
-
readonly indexed: true;
|
|
2065
|
-
}, {
|
|
2066
|
-
readonly name: "token";
|
|
2067
|
-
readonly internalType: "contract IERC20";
|
|
2068
|
-
readonly type: "address";
|
|
2069
|
-
readonly indexed: true;
|
|
2070
|
-
}, {
|
|
2071
|
-
readonly name: "minTokensOut";
|
|
2072
|
-
readonly internalType: "uint256";
|
|
2073
|
-
readonly type: "uint256";
|
|
2074
|
-
readonly indexed: false;
|
|
2075
|
-
}, {
|
|
2076
|
-
readonly name: "unitsIn";
|
|
2077
|
-
readonly internalType: "uint256";
|
|
2078
|
-
readonly type: "uint256";
|
|
2079
|
-
readonly indexed: false;
|
|
2080
|
-
}, {
|
|
2081
|
-
readonly name: "solverTip";
|
|
2082
|
-
readonly internalType: "uint256";
|
|
2083
|
-
readonly type: "uint256";
|
|
2084
|
-
readonly indexed: false;
|
|
2085
|
-
}, {
|
|
2086
|
-
readonly name: "deadline";
|
|
2087
|
-
readonly internalType: "uint256";
|
|
2088
|
-
readonly type: "uint256";
|
|
2089
|
-
readonly indexed: false;
|
|
2090
|
-
}, {
|
|
2091
|
-
readonly name: "maxPriceAge";
|
|
2092
|
-
readonly internalType: "uint256";
|
|
2093
|
-
readonly type: "uint256";
|
|
2094
|
-
readonly indexed: false;
|
|
2095
|
-
}, {
|
|
2096
|
-
readonly name: "isFixedPrice";
|
|
2097
|
-
readonly internalType: "bool";
|
|
2098
|
-
readonly type: "bool";
|
|
2099
|
-
readonly indexed: false;
|
|
2100
|
-
}, {
|
|
2101
|
-
readonly name: "redeemRequestHash";
|
|
2102
|
-
readonly internalType: "bytes32";
|
|
2103
|
-
readonly type: "bytes32";
|
|
2104
|
-
readonly indexed: false;
|
|
2105
|
-
}];
|
|
2106
|
-
readonly name: "RedeemRequested";
|
|
2107
|
-
}, {
|
|
2108
|
-
readonly type: "event";
|
|
2109
|
-
readonly anonymous: false;
|
|
2110
|
-
readonly inputs: readonly [{
|
|
2111
|
-
readonly name: "redeemHash";
|
|
2112
|
-
readonly internalType: "bytes32";
|
|
2113
|
-
readonly type: "bytes32";
|
|
2114
|
-
readonly indexed: true;
|
|
2115
|
-
}];
|
|
2116
|
-
readonly name: "RedeemSolved";
|
|
2117
|
-
}, {
|
|
2118
|
-
readonly type: "event";
|
|
2119
|
-
readonly anonymous: false;
|
|
2120
|
-
readonly inputs: readonly [{
|
|
2121
|
-
readonly name: "token";
|
|
2122
|
-
readonly internalType: "contract IERC20";
|
|
2123
|
-
readonly type: "address";
|
|
2124
|
-
readonly indexed: true;
|
|
2125
|
-
}, {
|
|
2126
|
-
readonly name: "tokensDetails";
|
|
2127
|
-
readonly internalType: "struct TokenDetails";
|
|
2128
|
-
readonly type: "tuple";
|
|
2129
|
-
readonly components: readonly [{
|
|
2130
|
-
readonly name: "asyncDepositEnabled";
|
|
2131
|
-
readonly internalType: "bool";
|
|
2132
|
-
readonly type: "bool";
|
|
2133
|
-
}, {
|
|
2134
|
-
readonly name: "asyncRedeemEnabled";
|
|
2135
|
-
readonly internalType: "bool";
|
|
2136
|
-
readonly type: "bool";
|
|
2137
|
-
}, {
|
|
2138
|
-
readonly name: "syncDepositEnabled";
|
|
2139
|
-
readonly internalType: "bool";
|
|
2140
|
-
readonly type: "bool";
|
|
2141
|
-
}, {
|
|
2142
|
-
readonly name: "depositMultiplier";
|
|
2143
|
-
readonly internalType: "uint16";
|
|
2144
|
-
readonly type: "uint16";
|
|
2145
|
-
}, {
|
|
2146
|
-
readonly name: "redeemMultiplier";
|
|
2147
|
-
readonly internalType: "uint16";
|
|
2148
|
-
readonly type: "uint16";
|
|
2149
|
-
}];
|
|
2150
|
-
readonly indexed: false;
|
|
2151
|
-
}];
|
|
2152
|
-
readonly name: "TokenDetailsSet";
|
|
2153
|
-
}, {
|
|
2154
|
-
readonly type: "event";
|
|
2155
|
-
readonly anonymous: false;
|
|
2156
|
-
readonly inputs: readonly [{
|
|
2157
|
-
readonly name: "token";
|
|
2158
|
-
readonly internalType: "contract IERC20";
|
|
2159
|
-
readonly type: "address";
|
|
2160
|
-
readonly indexed: true;
|
|
2161
|
-
}];
|
|
2162
|
-
readonly name: "TokenRemoved";
|
|
2163
|
-
}, {
|
|
2164
|
-
readonly type: "error";
|
|
2165
|
-
readonly inputs: readonly [];
|
|
2166
|
-
readonly name: "Aera__AsyncDepositDisabled";
|
|
2167
|
-
}, {
|
|
2168
|
-
readonly type: "error";
|
|
2169
|
-
readonly inputs: readonly [];
|
|
2170
|
-
readonly name: "Aera__AsyncRedeemDisabled";
|
|
2171
|
-
}, {
|
|
2172
|
-
readonly type: "error";
|
|
2173
|
-
readonly inputs: readonly [];
|
|
2174
|
-
readonly name: "Aera__AutoPriceSolveNotAllowed";
|
|
2175
|
-
}, {
|
|
2176
|
-
readonly type: "error";
|
|
2177
|
-
readonly inputs: readonly [];
|
|
2178
|
-
readonly name: "Aera__CallerIsVault";
|
|
2179
|
-
}, {
|
|
2180
|
-
readonly type: "error";
|
|
2181
|
-
readonly inputs: readonly [];
|
|
2182
|
-
readonly name: "Aera__DeadlineInFutureAndUnauthorized";
|
|
2183
|
-
}, {
|
|
2184
|
-
readonly type: "error";
|
|
2185
|
-
readonly inputs: readonly [];
|
|
2186
|
-
readonly name: "Aera__DeadlineInPast";
|
|
2187
|
-
}, {
|
|
2188
|
-
readonly type: "error";
|
|
2189
|
-
readonly inputs: readonly [];
|
|
2190
|
-
readonly name: "Aera__DeadlineTooFarInFuture";
|
|
2191
|
-
}, {
|
|
2192
|
-
readonly type: "error";
|
|
2193
|
-
readonly inputs: readonly [];
|
|
2194
|
-
readonly name: "Aera__DepositCapExceeded";
|
|
2195
|
-
}, {
|
|
2196
|
-
readonly type: "error";
|
|
2197
|
-
readonly inputs: readonly [];
|
|
2198
|
-
readonly name: "Aera__DepositCapZero";
|
|
2199
|
-
}, {
|
|
2200
|
-
readonly type: "error";
|
|
2201
|
-
readonly inputs: readonly [];
|
|
2202
|
-
readonly name: "Aera__DepositHashNotFound";
|
|
2203
|
-
}, {
|
|
2204
|
-
readonly type: "error";
|
|
2205
|
-
readonly inputs: readonly [];
|
|
2206
|
-
readonly name: "Aera__DepositMultiplierTooHigh";
|
|
2207
|
-
}, {
|
|
2208
|
-
readonly type: "error";
|
|
2209
|
-
readonly inputs: readonly [];
|
|
2210
|
-
readonly name: "Aera__DepositMultiplierTooLow";
|
|
2211
|
-
}, {
|
|
2212
|
-
readonly type: "error";
|
|
2213
|
-
readonly inputs: readonly [];
|
|
2214
|
-
readonly name: "Aera__FixedPriceSolverTipNotAllowed";
|
|
2215
|
-
}, {
|
|
2216
|
-
readonly type: "error";
|
|
2217
|
-
readonly inputs: readonly [];
|
|
2218
|
-
readonly name: "Aera__HashCollision";
|
|
2219
|
-
}, {
|
|
2220
|
-
readonly type: "error";
|
|
2221
|
-
readonly inputs: readonly [];
|
|
2222
|
-
readonly name: "Aera__HashNotFound";
|
|
2223
|
-
}, {
|
|
2224
|
-
readonly type: "error";
|
|
2225
|
-
readonly inputs: readonly [];
|
|
2226
|
-
readonly name: "Aera__InvalidToken";
|
|
2227
|
-
}, {
|
|
2228
|
-
readonly type: "error";
|
|
2229
|
-
readonly inputs: readonly [];
|
|
2230
|
-
readonly name: "Aera__MaxDepositRefundTimeoutExceeded";
|
|
2231
|
-
}, {
|
|
2232
|
-
readonly type: "error";
|
|
2233
|
-
readonly inputs: readonly [];
|
|
2234
|
-
readonly name: "Aera__MaxTokensInExceeded";
|
|
2235
|
-
}, {
|
|
2236
|
-
readonly type: "error";
|
|
2237
|
-
readonly inputs: readonly [];
|
|
2238
|
-
readonly name: "Aera__MaxTokensInZero";
|
|
2239
|
-
}, {
|
|
2240
|
-
readonly type: "error";
|
|
2241
|
-
readonly inputs: readonly [];
|
|
2242
|
-
readonly name: "Aera__MinTokenOutZero";
|
|
2243
|
-
}, {
|
|
2244
|
-
readonly type: "error";
|
|
2245
|
-
readonly inputs: readonly [];
|
|
2246
|
-
readonly name: "Aera__MinUnitsOutNotMet";
|
|
2247
|
-
}, {
|
|
2248
|
-
readonly type: "error";
|
|
2249
|
-
readonly inputs: readonly [];
|
|
2250
|
-
readonly name: "Aera__MinUnitsOutZero";
|
|
2251
|
-
}, {
|
|
2252
|
-
readonly type: "error";
|
|
2253
|
-
readonly inputs: readonly [];
|
|
2254
|
-
readonly name: "Aera__PriceAndFeeCalculatorVaultPaused";
|
|
2255
|
-
}, {
|
|
2256
|
-
readonly type: "error";
|
|
2257
|
-
readonly inputs: readonly [];
|
|
2258
|
-
readonly name: "Aera__RedeemMultiplierTooHigh";
|
|
2259
|
-
}, {
|
|
2260
|
-
readonly type: "error";
|
|
2261
|
-
readonly inputs: readonly [];
|
|
2262
|
-
readonly name: "Aera__RedeemMultiplierTooLow";
|
|
2263
|
-
}, {
|
|
2264
|
-
readonly type: "error";
|
|
2265
|
-
readonly inputs: readonly [];
|
|
2266
|
-
readonly name: "Aera__RefundPeriodExpired";
|
|
2267
|
-
}, {
|
|
2268
|
-
readonly type: "error";
|
|
2269
|
-
readonly inputs: readonly [];
|
|
2270
|
-
readonly name: "Aera__SyncDepositDisabled";
|
|
2271
|
-
}, {
|
|
2272
|
-
readonly type: "error";
|
|
2273
|
-
readonly inputs: readonly [];
|
|
2274
|
-
readonly name: "Aera__TokenCantBePriced";
|
|
2275
|
-
}, {
|
|
2276
|
-
readonly type: "error";
|
|
2277
|
-
readonly inputs: readonly [];
|
|
2278
|
-
readonly name: "Aera__TokensInZero";
|
|
2279
|
-
}, {
|
|
2280
|
-
readonly type: "error";
|
|
2281
|
-
readonly inputs: readonly [];
|
|
2282
|
-
readonly name: "Aera__Unauthorized";
|
|
2283
|
-
}, {
|
|
2284
|
-
readonly type: "error";
|
|
2285
|
-
readonly inputs: readonly [];
|
|
2286
|
-
readonly name: "Aera__UnitsInZero";
|
|
2287
|
-
}, {
|
|
2288
|
-
readonly type: "error";
|
|
2289
|
-
readonly inputs: readonly [];
|
|
2290
|
-
readonly name: "Aera__UnitsOutZero";
|
|
2291
|
-
}, {
|
|
2292
|
-
readonly type: "error";
|
|
2293
|
-
readonly inputs: readonly [];
|
|
2294
|
-
readonly name: "Aera__ZeroAddressAuthority";
|
|
2295
|
-
}, {
|
|
2296
|
-
readonly type: "error";
|
|
2297
|
-
readonly inputs: readonly [];
|
|
2298
|
-
readonly name: "Aera__ZeroAddressMultiDepositorVault";
|
|
2299
|
-
}, {
|
|
2300
|
-
readonly type: "error";
|
|
2301
|
-
readonly inputs: readonly [];
|
|
2302
|
-
readonly name: "Aera__ZeroAddressPriceAndFeeCalculator";
|
|
2303
|
-
}, {
|
|
2304
|
-
readonly type: "error";
|
|
2305
|
-
readonly inputs: readonly [];
|
|
2306
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
2307
|
-
}, {
|
|
2308
|
-
readonly type: "error";
|
|
2309
|
-
readonly inputs: readonly [{
|
|
2310
|
-
readonly name: "token";
|
|
2311
|
-
readonly internalType: "address";
|
|
2312
|
-
readonly type: "address";
|
|
2313
|
-
}];
|
|
2314
|
-
readonly name: "SafeERC20FailedOperation";
|
|
2315
|
-
}];
|
|
2316
|
-
functionName: "requestRedeem";
|
|
2317
|
-
args: readonly [`0x${string}`, bigint, bigint, bigint, bigint, bigint, boolean];
|
|
2318
|
-
account: `0x${string}`;
|
|
2319
|
-
};
|
|
24
|
+
export declare function resolveContractVersion(client: PublicClient, address: Address): Promise<ContractVersion>;
|
|
25
|
+
export declare function resolveAeraRuntimeContracts(client: PublicClient, vault: EvmVaultDeployment): Promise<AeraRuntimeContracts>;
|
|
26
|
+
export declare function resolveAeraTokenModeSupport(client: PublicClient, runtime: AeraRuntimeContracts, token: Address): Promise<AeraTokenModeSupport>;
|
|
2320
27
|
//# sourceMappingURL=aeraContracts.d.ts.map
|