@underscore-finance/sdk 1.2.20-next.0 → 1.2.20-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +28 -18
- package/abis.json +23476 -12295
- package/dist/contracts/Addys.d.ts +124 -0
- package/dist/contracts/Addys.d.ts.map +1 -0
- package/dist/contracts/Addys.js +134 -0
- package/dist/contracts/AgentSenderGeneric.d.ts +795 -153
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
- package/dist/contracts/AgentSenderGeneric.js +892 -97
- package/dist/contracts/AgentSenderSpecial.d.ts +127 -0
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecial.js +139 -0
- package/dist/contracts/AgentSenderSpecialAdmin.d.ts +984 -0
- package/dist/contracts/AgentSenderSpecialAdmin.d.ts.map +1 -0
- package/dist/contracts/AgentSenderSpecialAdmin.js +1185 -0
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +1010 -75
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.js +1240 -0
- package/dist/contracts/AgentWrapper.d.ts +164 -6
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +219 -6
- package/dist/contracts/ChequeBook.d.ts +360 -204
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +507 -298
- package/dist/contracts/DefaultsLocal.d.ts +320 -0
- package/dist/contracts/DefaultsLocal.d.ts.map +1 -0
- package/dist/contracts/DefaultsLocal.js +350 -0
- package/dist/contracts/ERC20.d.ts +552 -27
- package/dist/contracts/ERC20.d.ts.map +1 -1
- package/dist/contracts/ERC20.js +713 -66
- package/dist/contracts/EarnVault.d.ts +284 -255
- package/dist/contracts/EarnVault.d.ts.map +1 -1
- package/dist/contracts/EarnVault.js +488 -456
- package/dist/contracts/EarnVaultAgent.d.ts +127 -0
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgent.js +139 -0
- package/dist/contracts/EarnVaultWallet.d.ts +777 -0
- package/dist/contracts/EarnVaultWallet.d.ts.map +1 -0
- package/dist/contracts/EarnVaultWallet.js +987 -0
- package/dist/contracts/Erc20Token.d.ts +813 -0
- package/dist/contracts/Erc20Token.d.ts.map +1 -0
- package/dist/contracts/Erc20Token.js +1006 -0
- package/dist/contracts/HighCommand.d.ts +40 -0
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +45 -0
- package/dist/contracts/Kernel.d.ts +4 -0
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +4 -0
- package/dist/contracts/Ledger.d.ts +4 -75
- package/dist/contracts/Ledger.d.ts.map +1 -1
- package/dist/contracts/Ledger.js +4 -99
- package/dist/contracts/LevgVault.d.ts +299 -299
- package/dist/contracts/LevgVault.d.ts.map +1 -1
- package/dist/contracts/LevgVault.js +530 -530
- package/dist/contracts/LevgVaultAgent.d.ts +127 -69
- package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
- package/dist/contracts/LevgVaultAgent.js +134 -79
- package/dist/contracts/LevgVaultWallet.d.ts +1119 -0
- package/dist/contracts/LevgVaultWallet.d.ts.map +1 -0
- package/dist/contracts/LevgVaultWallet.js +1439 -0
- package/dist/contracts/LocalGov.d.ts +427 -0
- package/dist/contracts/LocalGov.d.ts.map +1 -0
- package/dist/contracts/LocalGov.js +507 -0
- package/dist/contracts/Migrator.d.ts +160 -0
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +187 -0
- package/dist/contracts/Ownership.d.ts +414 -0
- package/dist/contracts/Ownership.d.ts.map +1 -0
- package/dist/contracts/Ownership.js +472 -0
- package/dist/contracts/Paymaster.d.ts +119 -322
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +118 -404
- package/dist/contracts/Sentinel.d.ts +9 -6
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +8 -4
- package/dist/contracts/UndyToken.d.ts +821 -0
- package/dist/contracts/UndyToken.d.ts.map +1 -0
- package/dist/contracts/UndyToken.js +1017 -0
- package/dist/contracts/UserWalletConfig.d.ts +334 -317
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +391 -371
- package/dist/contracts/UserWalletSignatureHelper.d.ts +1520 -514
- package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
- package/dist/contracts/UserWalletSignatureHelper.js +1906 -549
- package/dist/contracts/VaultErc20Token.d.ts +522 -0
- package/dist/contracts/VaultErc20Token.d.ts.map +1 -0
- package/dist/contracts/VaultErc20Token.js +658 -0
- package/dist/contracts/index.d.ts +10 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +10 -0
- package/dist/contracts/sdk.d.ts +20 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +20 -0
- package/package.json +1 -1
|
@@ -6,359 +6,379 @@ import { singleQuery, mutate } from '@dappql/async';
|
|
|
6
6
|
import { encodeEventTopics, parseEventLogs } from 'viem';
|
|
7
7
|
export const abi = [
|
|
8
8
|
{
|
|
9
|
-
"
|
|
9
|
+
"name": "Deposit",
|
|
10
10
|
"inputs": [
|
|
11
11
|
{
|
|
12
|
-
"indexed": true,
|
|
13
12
|
"name": "sender",
|
|
14
|
-
"type": "address"
|
|
13
|
+
"type": "address",
|
|
14
|
+
"indexed": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
"indexed": true,
|
|
18
17
|
"name": "owner",
|
|
19
|
-
"type": "address"
|
|
18
|
+
"type": "address",
|
|
19
|
+
"indexed": true
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"indexed": false,
|
|
23
22
|
"name": "assets",
|
|
24
|
-
"type": "uint256"
|
|
23
|
+
"type": "uint256",
|
|
24
|
+
"indexed": false
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
"indexed": false,
|
|
28
27
|
"name": "shares",
|
|
29
|
-
"type": "uint256"
|
|
28
|
+
"type": "uint256",
|
|
29
|
+
"indexed": false
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
|
-
"
|
|
32
|
+
"anonymous": false,
|
|
33
33
|
"type": "event"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
"
|
|
36
|
+
"name": "Withdraw",
|
|
37
37
|
"inputs": [
|
|
38
38
|
{
|
|
39
|
-
"indexed": true,
|
|
40
39
|
"name": "sender",
|
|
41
|
-
"type": "address"
|
|
40
|
+
"type": "address",
|
|
41
|
+
"indexed": true
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
"indexed": true,
|
|
45
44
|
"name": "receiver",
|
|
46
|
-
"type": "address"
|
|
45
|
+
"type": "address",
|
|
46
|
+
"indexed": true
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
"indexed": true,
|
|
50
49
|
"name": "owner",
|
|
51
|
-
"type": "address"
|
|
50
|
+
"type": "address",
|
|
51
|
+
"indexed": true
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
"indexed": false,
|
|
55
54
|
"name": "assets",
|
|
56
|
-
"type": "uint256"
|
|
55
|
+
"type": "uint256",
|
|
56
|
+
"indexed": false
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
"indexed": false,
|
|
60
59
|
"name": "shares",
|
|
61
|
-
"type": "uint256"
|
|
60
|
+
"type": "uint256",
|
|
61
|
+
"indexed": false
|
|
62
62
|
}
|
|
63
63
|
],
|
|
64
|
-
"
|
|
64
|
+
"anonymous": false,
|
|
65
65
|
"type": "event"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
+
"name": "LeftoversSwept",
|
|
69
|
+
"inputs": [
|
|
70
|
+
{
|
|
71
|
+
"name": "amount",
|
|
72
|
+
"type": "uint256",
|
|
73
|
+
"indexed": false
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "recipient",
|
|
77
|
+
"type": "address",
|
|
78
|
+
"indexed": true
|
|
79
|
+
}
|
|
80
|
+
],
|
|
68
81
|
"anonymous": false,
|
|
82
|
+
"type": "event"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "Transfer",
|
|
69
86
|
"inputs": [
|
|
70
87
|
{
|
|
71
|
-
"indexed": true,
|
|
72
88
|
"name": "sender",
|
|
73
|
-
"type": "address"
|
|
89
|
+
"type": "address",
|
|
90
|
+
"indexed": true
|
|
74
91
|
},
|
|
75
92
|
{
|
|
76
|
-
"indexed": true,
|
|
77
93
|
"name": "recipient",
|
|
78
|
-
"type": "address"
|
|
94
|
+
"type": "address",
|
|
95
|
+
"indexed": true
|
|
79
96
|
},
|
|
80
97
|
{
|
|
81
|
-
"indexed": false,
|
|
82
98
|
"name": "amount",
|
|
83
|
-
"type": "uint256"
|
|
99
|
+
"type": "uint256",
|
|
100
|
+
"indexed": false
|
|
84
101
|
}
|
|
85
102
|
],
|
|
86
|
-
"
|
|
103
|
+
"anonymous": false,
|
|
87
104
|
"type": "event"
|
|
88
105
|
},
|
|
89
106
|
{
|
|
90
|
-
"
|
|
107
|
+
"name": "Approval",
|
|
91
108
|
"inputs": [
|
|
92
109
|
{
|
|
93
|
-
"indexed": true,
|
|
94
110
|
"name": "owner",
|
|
95
|
-
"type": "address"
|
|
111
|
+
"type": "address",
|
|
112
|
+
"indexed": true
|
|
96
113
|
},
|
|
97
114
|
{
|
|
98
|
-
"indexed": true,
|
|
99
115
|
"name": "spender",
|
|
100
|
-
"type": "address"
|
|
116
|
+
"type": "address",
|
|
117
|
+
"indexed": true
|
|
101
118
|
},
|
|
102
119
|
{
|
|
103
|
-
"indexed": false,
|
|
104
120
|
"name": "amount",
|
|
105
|
-
"type": "uint256"
|
|
121
|
+
"type": "uint256",
|
|
122
|
+
"indexed": false
|
|
106
123
|
}
|
|
107
124
|
],
|
|
108
|
-
"
|
|
125
|
+
"anonymous": false,
|
|
109
126
|
"type": "event"
|
|
110
127
|
},
|
|
111
128
|
{
|
|
112
|
-
"
|
|
129
|
+
"name": "BlacklistModified",
|
|
113
130
|
"inputs": [
|
|
114
131
|
{
|
|
115
|
-
"indexed": true,
|
|
116
132
|
"name": "addr",
|
|
117
|
-
"type": "address"
|
|
133
|
+
"type": "address",
|
|
134
|
+
"indexed": true
|
|
118
135
|
},
|
|
119
136
|
{
|
|
120
|
-
"indexed": false,
|
|
121
137
|
"name": "isBlacklisted",
|
|
122
|
-
"type": "bool"
|
|
138
|
+
"type": "bool",
|
|
139
|
+
"indexed": false
|
|
123
140
|
}
|
|
124
141
|
],
|
|
125
|
-
"
|
|
142
|
+
"anonymous": false,
|
|
126
143
|
"type": "event"
|
|
127
144
|
},
|
|
128
145
|
{
|
|
129
|
-
"
|
|
146
|
+
"name": "TokenPauseModified",
|
|
130
147
|
"inputs": [
|
|
131
148
|
{
|
|
132
|
-
"indexed": false,
|
|
133
149
|
"name": "isPaused",
|
|
134
|
-
"type": "bool"
|
|
150
|
+
"type": "bool",
|
|
151
|
+
"indexed": false
|
|
135
152
|
}
|
|
136
153
|
],
|
|
137
|
-
"
|
|
154
|
+
"anonymous": false,
|
|
138
155
|
"type": "event"
|
|
139
156
|
},
|
|
140
157
|
{
|
|
141
|
-
"
|
|
158
|
+
"name": "EarnVaultDeposit",
|
|
142
159
|
"inputs": [
|
|
143
160
|
{
|
|
144
|
-
"indexed": true,
|
|
145
161
|
"name": "asset",
|
|
146
|
-
"type": "address"
|
|
162
|
+
"type": "address",
|
|
163
|
+
"indexed": true
|
|
147
164
|
},
|
|
148
165
|
{
|
|
149
|
-
"indexed": false,
|
|
150
166
|
"name": "assetAmountDeposited",
|
|
151
|
-
"type": "uint256"
|
|
167
|
+
"type": "uint256",
|
|
168
|
+
"indexed": false
|
|
152
169
|
},
|
|
153
170
|
{
|
|
154
|
-
"indexed": false,
|
|
155
171
|
"name": "assetAmountAdjusted",
|
|
156
|
-
"type": "uint256"
|
|
172
|
+
"type": "uint256",
|
|
173
|
+
"indexed": false
|
|
157
174
|
},
|
|
158
175
|
{
|
|
159
|
-
"indexed": true,
|
|
160
176
|
"name": "vaultToken",
|
|
161
|
-
"type": "address"
|
|
177
|
+
"type": "address",
|
|
178
|
+
"indexed": true
|
|
162
179
|
},
|
|
163
180
|
{
|
|
164
|
-
"indexed": false,
|
|
165
181
|
"name": "vaultTokenReceived",
|
|
166
|
-
"type": "uint256"
|
|
182
|
+
"type": "uint256",
|
|
183
|
+
"indexed": false
|
|
167
184
|
},
|
|
168
185
|
{
|
|
169
|
-
"indexed": false,
|
|
170
186
|
"name": "vaultTokenExpected",
|
|
171
|
-
"type": "uint256"
|
|
187
|
+
"type": "uint256",
|
|
188
|
+
"indexed": false
|
|
172
189
|
},
|
|
173
190
|
{
|
|
174
|
-
"indexed": false,
|
|
175
191
|
"name": "usdValue",
|
|
176
|
-
"type": "uint256"
|
|
192
|
+
"type": "uint256",
|
|
193
|
+
"indexed": false
|
|
177
194
|
},
|
|
178
195
|
{
|
|
179
|
-
"indexed": false,
|
|
180
196
|
"name": "legoId",
|
|
181
|
-
"type": "uint256"
|
|
197
|
+
"type": "uint256",
|
|
198
|
+
"indexed": false
|
|
182
199
|
},
|
|
183
200
|
{
|
|
184
|
-
"indexed": true,
|
|
185
201
|
"name": "signer",
|
|
186
|
-
"type": "address"
|
|
202
|
+
"type": "address",
|
|
203
|
+
"indexed": true
|
|
187
204
|
}
|
|
188
205
|
],
|
|
189
|
-
"
|
|
206
|
+
"anonymous": false,
|
|
190
207
|
"type": "event"
|
|
191
208
|
},
|
|
192
209
|
{
|
|
193
|
-
"
|
|
210
|
+
"name": "EarnVaultWithdrawal",
|
|
194
211
|
"inputs": [
|
|
195
212
|
{
|
|
196
|
-
"indexed": true,
|
|
197
213
|
"name": "vaultToken",
|
|
198
|
-
"type": "address"
|
|
214
|
+
"type": "address",
|
|
215
|
+
"indexed": true
|
|
199
216
|
},
|
|
200
217
|
{
|
|
201
|
-
"indexed": false,
|
|
202
218
|
"name": "vaultTokenBurned",
|
|
203
|
-
"type": "uint256"
|
|
219
|
+
"type": "uint256",
|
|
220
|
+
"indexed": false
|
|
204
221
|
},
|
|
205
222
|
{
|
|
206
|
-
"indexed": true,
|
|
207
223
|
"name": "underlyingAsset",
|
|
208
|
-
"type": "address"
|
|
224
|
+
"type": "address",
|
|
225
|
+
"indexed": true
|
|
209
226
|
},
|
|
210
227
|
{
|
|
211
|
-
"indexed": false,
|
|
212
228
|
"name": "underlyingAmountReceived",
|
|
213
|
-
"type": "uint256"
|
|
229
|
+
"type": "uint256",
|
|
230
|
+
"indexed": false
|
|
214
231
|
},
|
|
215
232
|
{
|
|
216
|
-
"indexed": false,
|
|
217
233
|
"name": "usdValue",
|
|
218
|
-
"type": "uint256"
|
|
234
|
+
"type": "uint256",
|
|
235
|
+
"indexed": false
|
|
219
236
|
},
|
|
220
237
|
{
|
|
221
|
-
"indexed": false,
|
|
222
238
|
"name": "legoId",
|
|
223
|
-
"type": "uint256"
|
|
239
|
+
"type": "uint256",
|
|
240
|
+
"indexed": false
|
|
224
241
|
},
|
|
225
242
|
{
|
|
226
|
-
"indexed": true,
|
|
227
243
|
"name": "signer",
|
|
228
|
-
"type": "address"
|
|
244
|
+
"type": "address",
|
|
245
|
+
"indexed": true
|
|
229
246
|
}
|
|
230
247
|
],
|
|
231
|
-
"
|
|
248
|
+
"anonymous": false,
|
|
232
249
|
"type": "event"
|
|
233
250
|
},
|
|
234
251
|
{
|
|
235
|
-
"
|
|
252
|
+
"name": "EarnVaultSwap",
|
|
236
253
|
"inputs": [
|
|
237
254
|
{
|
|
238
|
-
"indexed": true,
|
|
239
255
|
"name": "tokenIn",
|
|
240
|
-
"type": "address"
|
|
256
|
+
"type": "address",
|
|
257
|
+
"indexed": true
|
|
241
258
|
},
|
|
242
259
|
{
|
|
243
|
-
"indexed": false,
|
|
244
260
|
"name": "tokenInAmount",
|
|
245
|
-
"type": "uint256"
|
|
261
|
+
"type": "uint256",
|
|
262
|
+
"indexed": false
|
|
246
263
|
},
|
|
247
264
|
{
|
|
248
|
-
"indexed": true,
|
|
249
265
|
"name": "tokenOut",
|
|
250
|
-
"type": "address"
|
|
266
|
+
"type": "address",
|
|
267
|
+
"indexed": true
|
|
251
268
|
},
|
|
252
269
|
{
|
|
253
|
-
"indexed": false,
|
|
254
270
|
"name": "tokenOutAmount",
|
|
255
|
-
"type": "uint256"
|
|
271
|
+
"type": "uint256",
|
|
272
|
+
"indexed": false
|
|
256
273
|
},
|
|
257
274
|
{
|
|
258
|
-
"indexed": false,
|
|
259
275
|
"name": "usdValue",
|
|
260
|
-
"type": "uint256"
|
|
276
|
+
"type": "uint256",
|
|
277
|
+
"indexed": false
|
|
261
278
|
},
|
|
262
279
|
{
|
|
263
|
-
"indexed": false,
|
|
264
280
|
"name": "swapFee",
|
|
265
|
-
"type": "uint256"
|
|
281
|
+
"type": "uint256",
|
|
282
|
+
"indexed": false
|
|
266
283
|
},
|
|
267
284
|
{
|
|
268
|
-
"indexed": false,
|
|
269
285
|
"name": "legoId",
|
|
270
|
-
"type": "uint256"
|
|
286
|
+
"type": "uint256",
|
|
287
|
+
"indexed": false
|
|
271
288
|
},
|
|
272
289
|
{
|
|
273
|
-
"indexed": true,
|
|
274
290
|
"name": "signer",
|
|
275
|
-
"type": "address"
|
|
291
|
+
"type": "address",
|
|
292
|
+
"indexed": true
|
|
276
293
|
}
|
|
277
294
|
],
|
|
278
|
-
"
|
|
295
|
+
"anonymous": false,
|
|
279
296
|
"type": "event"
|
|
280
297
|
},
|
|
281
298
|
{
|
|
282
|
-
"
|
|
299
|
+
"name": "EarnVaultRewardsClaim",
|
|
283
300
|
"inputs": [
|
|
284
301
|
{
|
|
285
|
-
"indexed": true,
|
|
286
302
|
"name": "rewardToken",
|
|
287
|
-
"type": "address"
|
|
303
|
+
"type": "address",
|
|
304
|
+
"indexed": true
|
|
288
305
|
},
|
|
289
306
|
{
|
|
290
|
-
"indexed": false,
|
|
291
307
|
"name": "rewardAmount",
|
|
292
|
-
"type": "uint256"
|
|
308
|
+
"type": "uint256",
|
|
309
|
+
"indexed": false
|
|
293
310
|
},
|
|
294
311
|
{
|
|
295
|
-
"indexed": false,
|
|
296
312
|
"name": "usdValue",
|
|
297
|
-
"type": "uint256"
|
|
313
|
+
"type": "uint256",
|
|
314
|
+
"indexed": false
|
|
298
315
|
},
|
|
299
316
|
{
|
|
300
|
-
"indexed": false,
|
|
301
317
|
"name": "legoId",
|
|
302
|
-
"type": "uint256"
|
|
318
|
+
"type": "uint256",
|
|
319
|
+
"indexed": false
|
|
303
320
|
},
|
|
304
321
|
{
|
|
305
|
-
"indexed": true,
|
|
306
322
|
"name": "signer",
|
|
307
|
-
"type": "address"
|
|
323
|
+
"type": "address",
|
|
324
|
+
"indexed": true
|
|
308
325
|
}
|
|
309
326
|
],
|
|
310
|
-
"
|
|
327
|
+
"anonymous": false,
|
|
311
328
|
"type": "event"
|
|
312
329
|
},
|
|
313
330
|
{
|
|
314
|
-
"
|
|
331
|
+
"name": "PerformanceFeesClaimed",
|
|
315
332
|
"inputs": [
|
|
316
333
|
{
|
|
317
|
-
"indexed": false,
|
|
318
334
|
"name": "pendingFees",
|
|
319
|
-
"type": "uint256"
|
|
335
|
+
"type": "uint256",
|
|
336
|
+
"indexed": false
|
|
320
337
|
}
|
|
321
338
|
],
|
|
322
|
-
"
|
|
339
|
+
"anonymous": false,
|
|
323
340
|
"type": "event"
|
|
324
341
|
},
|
|
325
342
|
{
|
|
326
|
-
"
|
|
343
|
+
"stateMutability": "view",
|
|
344
|
+
"type": "function",
|
|
327
345
|
"name": "name",
|
|
346
|
+
"inputs": [],
|
|
328
347
|
"outputs": [
|
|
329
348
|
{
|
|
330
349
|
"name": "",
|
|
331
350
|
"type": "string"
|
|
332
351
|
}
|
|
333
|
-
]
|
|
334
|
-
"stateMutability": "view",
|
|
335
|
-
"type": "function"
|
|
352
|
+
]
|
|
336
353
|
},
|
|
337
354
|
{
|
|
338
|
-
"
|
|
355
|
+
"stateMutability": "view",
|
|
356
|
+
"type": "function",
|
|
339
357
|
"name": "symbol",
|
|
358
|
+
"inputs": [],
|
|
340
359
|
"outputs": [
|
|
341
360
|
{
|
|
342
361
|
"name": "",
|
|
343
362
|
"type": "string"
|
|
344
363
|
}
|
|
345
|
-
]
|
|
346
|
-
"stateMutability": "view",
|
|
347
|
-
"type": "function"
|
|
364
|
+
]
|
|
348
365
|
},
|
|
349
366
|
{
|
|
350
|
-
"
|
|
367
|
+
"stateMutability": "view",
|
|
368
|
+
"type": "function",
|
|
351
369
|
"name": "decimals",
|
|
370
|
+
"inputs": [],
|
|
352
371
|
"outputs": [
|
|
353
372
|
{
|
|
354
373
|
"name": "",
|
|
355
374
|
"type": "uint8"
|
|
356
375
|
}
|
|
357
|
-
]
|
|
358
|
-
"stateMutability": "view",
|
|
359
|
-
"type": "function"
|
|
376
|
+
]
|
|
360
377
|
},
|
|
361
378
|
{
|
|
379
|
+
"stateMutability": "nonpayable",
|
|
380
|
+
"type": "function",
|
|
381
|
+
"name": "transfer",
|
|
362
382
|
"inputs": [
|
|
363
383
|
{
|
|
364
384
|
"name": "_recipient",
|
|
@@ -369,17 +389,17 @@ export const abi = [
|
|
|
369
389
|
"type": "uint256"
|
|
370
390
|
}
|
|
371
391
|
],
|
|
372
|
-
"name": "transfer",
|
|
373
392
|
"outputs": [
|
|
374
393
|
{
|
|
375
394
|
"name": "",
|
|
376
395
|
"type": "bool"
|
|
377
396
|
}
|
|
378
|
-
]
|
|
379
|
-
"stateMutability": "nonpayable",
|
|
380
|
-
"type": "function"
|
|
397
|
+
]
|
|
381
398
|
},
|
|
382
399
|
{
|
|
400
|
+
"stateMutability": "nonpayable",
|
|
401
|
+
"type": "function",
|
|
402
|
+
"name": "transferFrom",
|
|
383
403
|
"inputs": [
|
|
384
404
|
{
|
|
385
405
|
"name": "_sender",
|
|
@@ -394,17 +414,17 @@ export const abi = [
|
|
|
394
414
|
"type": "uint256"
|
|
395
415
|
}
|
|
396
416
|
],
|
|
397
|
-
"name": "transferFrom",
|
|
398
417
|
"outputs": [
|
|
399
418
|
{
|
|
400
419
|
"name": "",
|
|
401
420
|
"type": "bool"
|
|
402
421
|
}
|
|
403
|
-
]
|
|
404
|
-
"stateMutability": "nonpayable",
|
|
405
|
-
"type": "function"
|
|
422
|
+
]
|
|
406
423
|
},
|
|
407
424
|
{
|
|
425
|
+
"stateMutability": "nonpayable",
|
|
426
|
+
"type": "function",
|
|
427
|
+
"name": "approve",
|
|
408
428
|
"inputs": [
|
|
409
429
|
{
|
|
410
430
|
"name": "_spender",
|
|
@@ -415,17 +435,17 @@ export const abi = [
|
|
|
415
435
|
"type": "uint256"
|
|
416
436
|
}
|
|
417
437
|
],
|
|
418
|
-
"name": "approve",
|
|
419
438
|
"outputs": [
|
|
420
439
|
{
|
|
421
440
|
"name": "",
|
|
422
441
|
"type": "bool"
|
|
423
442
|
}
|
|
424
|
-
]
|
|
425
|
-
"stateMutability": "nonpayable",
|
|
426
|
-
"type": "function"
|
|
443
|
+
]
|
|
427
444
|
},
|
|
428
445
|
{
|
|
446
|
+
"stateMutability": "nonpayable",
|
|
447
|
+
"type": "function",
|
|
448
|
+
"name": "increaseAllowance",
|
|
429
449
|
"inputs": [
|
|
430
450
|
{
|
|
431
451
|
"name": "_spender",
|
|
@@ -436,17 +456,17 @@ export const abi = [
|
|
|
436
456
|
"type": "uint256"
|
|
437
457
|
}
|
|
438
458
|
],
|
|
439
|
-
"name": "increaseAllowance",
|
|
440
459
|
"outputs": [
|
|
441
460
|
{
|
|
442
461
|
"name": "",
|
|
443
462
|
"type": "bool"
|
|
444
463
|
}
|
|
445
|
-
]
|
|
446
|
-
"stateMutability": "nonpayable",
|
|
447
|
-
"type": "function"
|
|
464
|
+
]
|
|
448
465
|
},
|
|
449
466
|
{
|
|
467
|
+
"stateMutability": "nonpayable",
|
|
468
|
+
"type": "function",
|
|
469
|
+
"name": "decreaseAllowance",
|
|
450
470
|
"inputs": [
|
|
451
471
|
{
|
|
452
472
|
"name": "_spender",
|
|
@@ -457,46 +477,46 @@ export const abi = [
|
|
|
457
477
|
"type": "uint256"
|
|
458
478
|
}
|
|
459
479
|
],
|
|
460
|
-
"name": "decreaseAllowance",
|
|
461
480
|
"outputs": [
|
|
462
481
|
{
|
|
463
482
|
"name": "",
|
|
464
483
|
"type": "bool"
|
|
465
484
|
}
|
|
466
|
-
]
|
|
467
|
-
"stateMutability": "nonpayable",
|
|
468
|
-
"type": "function"
|
|
485
|
+
]
|
|
469
486
|
},
|
|
470
487
|
{
|
|
488
|
+
"stateMutability": "nonpayable",
|
|
489
|
+
"type": "function",
|
|
490
|
+
"name": "burn",
|
|
471
491
|
"inputs": [
|
|
472
492
|
{
|
|
473
493
|
"name": "_amount",
|
|
474
494
|
"type": "uint256"
|
|
475
495
|
}
|
|
476
496
|
],
|
|
477
|
-
"name": "burn",
|
|
478
497
|
"outputs": [
|
|
479
498
|
{
|
|
480
499
|
"name": "",
|
|
481
500
|
"type": "bool"
|
|
482
501
|
}
|
|
483
|
-
]
|
|
484
|
-
"stateMutability": "nonpayable",
|
|
485
|
-
"type": "function"
|
|
502
|
+
]
|
|
486
503
|
},
|
|
487
504
|
{
|
|
488
|
-
"
|
|
505
|
+
"stateMutability": "view",
|
|
506
|
+
"type": "function",
|
|
489
507
|
"name": "DOMAIN_SEPARATOR",
|
|
508
|
+
"inputs": [],
|
|
490
509
|
"outputs": [
|
|
491
510
|
{
|
|
492
511
|
"name": "",
|
|
493
512
|
"type": "bytes32"
|
|
494
513
|
}
|
|
495
|
-
]
|
|
496
|
-
"stateMutability": "view",
|
|
497
|
-
"type": "function"
|
|
514
|
+
]
|
|
498
515
|
},
|
|
499
516
|
{
|
|
517
|
+
"stateMutability": "nonpayable",
|
|
518
|
+
"type": "function",
|
|
519
|
+
"name": "permit",
|
|
500
520
|
"inputs": [
|
|
501
521
|
{
|
|
502
522
|
"name": "_owner",
|
|
@@ -519,17 +539,17 @@ export const abi = [
|
|
|
519
539
|
"type": "bytes"
|
|
520
540
|
}
|
|
521
541
|
],
|
|
522
|
-
"name": "permit",
|
|
523
542
|
"outputs": [
|
|
524
543
|
{
|
|
525
544
|
"name": "",
|
|
526
545
|
"type": "bool"
|
|
527
546
|
}
|
|
528
|
-
]
|
|
529
|
-
"stateMutability": "nonpayable",
|
|
530
|
-
"type": "function"
|
|
547
|
+
]
|
|
531
548
|
},
|
|
532
549
|
{
|
|
550
|
+
"stateMutability": "nonpayable",
|
|
551
|
+
"type": "function",
|
|
552
|
+
"name": "setBlacklist",
|
|
533
553
|
"inputs": [
|
|
534
554
|
{
|
|
535
555
|
"name": "_addr",
|
|
@@ -540,34 +560,34 @@ export const abi = [
|
|
|
540
560
|
"type": "bool"
|
|
541
561
|
}
|
|
542
562
|
],
|
|
543
|
-
"name": "setBlacklist",
|
|
544
563
|
"outputs": [
|
|
545
564
|
{
|
|
546
565
|
"name": "",
|
|
547
566
|
"type": "bool"
|
|
548
567
|
}
|
|
549
|
-
]
|
|
550
|
-
"stateMutability": "nonpayable",
|
|
551
|
-
"type": "function"
|
|
568
|
+
]
|
|
552
569
|
},
|
|
553
570
|
{
|
|
571
|
+
"stateMutability": "nonpayable",
|
|
572
|
+
"type": "function",
|
|
573
|
+
"name": "burnBlacklistTokens",
|
|
554
574
|
"inputs": [
|
|
555
575
|
{
|
|
556
576
|
"name": "_addr",
|
|
557
577
|
"type": "address"
|
|
558
578
|
}
|
|
559
579
|
],
|
|
560
|
-
"name": "burnBlacklistTokens",
|
|
561
580
|
"outputs": [
|
|
562
581
|
{
|
|
563
582
|
"name": "",
|
|
564
583
|
"type": "bool"
|
|
565
584
|
}
|
|
566
|
-
]
|
|
567
|
-
"stateMutability": "nonpayable",
|
|
568
|
-
"type": "function"
|
|
585
|
+
]
|
|
569
586
|
},
|
|
570
587
|
{
|
|
588
|
+
"stateMutability": "nonpayable",
|
|
589
|
+
"type": "function",
|
|
590
|
+
"name": "burnBlacklistTokens",
|
|
571
591
|
"inputs": [
|
|
572
592
|
{
|
|
573
593
|
"name": "_addr",
|
|
@@ -578,87 +598,87 @@ export const abi = [
|
|
|
578
598
|
"type": "uint256"
|
|
579
599
|
}
|
|
580
600
|
],
|
|
581
|
-
"name": "burnBlacklistTokens",
|
|
582
601
|
"outputs": [
|
|
583
602
|
{
|
|
584
603
|
"name": "",
|
|
585
604
|
"type": "bool"
|
|
586
605
|
}
|
|
587
|
-
]
|
|
588
|
-
"stateMutability": "nonpayable",
|
|
589
|
-
"type": "function"
|
|
606
|
+
]
|
|
590
607
|
},
|
|
591
608
|
{
|
|
609
|
+
"stateMutability": "nonpayable",
|
|
610
|
+
"type": "function",
|
|
611
|
+
"name": "pause",
|
|
592
612
|
"inputs": [
|
|
593
613
|
{
|
|
594
614
|
"name": "_shouldPause",
|
|
595
615
|
"type": "bool"
|
|
596
616
|
}
|
|
597
617
|
],
|
|
598
|
-
"
|
|
599
|
-
"outputs": [],
|
|
600
|
-
"stateMutability": "nonpayable",
|
|
601
|
-
"type": "function"
|
|
618
|
+
"outputs": []
|
|
602
619
|
},
|
|
603
620
|
{
|
|
604
|
-
"
|
|
621
|
+
"stateMutability": "view",
|
|
622
|
+
"type": "function",
|
|
605
623
|
"name": "undyHq",
|
|
624
|
+
"inputs": [],
|
|
606
625
|
"outputs": [
|
|
607
626
|
{
|
|
608
627
|
"name": "",
|
|
609
628
|
"type": "address"
|
|
610
629
|
}
|
|
611
|
-
]
|
|
612
|
-
"stateMutability": "view",
|
|
613
|
-
"type": "function"
|
|
630
|
+
]
|
|
614
631
|
},
|
|
615
632
|
{
|
|
633
|
+
"stateMutability": "view",
|
|
634
|
+
"type": "function",
|
|
635
|
+
"name": "blacklisted",
|
|
616
636
|
"inputs": [
|
|
617
637
|
{
|
|
618
638
|
"name": "arg0",
|
|
619
639
|
"type": "address"
|
|
620
640
|
}
|
|
621
641
|
],
|
|
622
|
-
"name": "blacklisted",
|
|
623
642
|
"outputs": [
|
|
624
643
|
{
|
|
625
644
|
"name": "",
|
|
626
645
|
"type": "bool"
|
|
627
646
|
}
|
|
628
|
-
]
|
|
629
|
-
"stateMutability": "view",
|
|
630
|
-
"type": "function"
|
|
647
|
+
]
|
|
631
648
|
},
|
|
632
649
|
{
|
|
633
|
-
"
|
|
650
|
+
"stateMutability": "view",
|
|
651
|
+
"type": "function",
|
|
634
652
|
"name": "isPaused",
|
|
653
|
+
"inputs": [],
|
|
635
654
|
"outputs": [
|
|
636
655
|
{
|
|
637
656
|
"name": "",
|
|
638
657
|
"type": "bool"
|
|
639
658
|
}
|
|
640
|
-
]
|
|
641
|
-
"stateMutability": "view",
|
|
642
|
-
"type": "function"
|
|
659
|
+
]
|
|
643
660
|
},
|
|
644
661
|
{
|
|
662
|
+
"stateMutability": "view",
|
|
663
|
+
"type": "function",
|
|
664
|
+
"name": "balanceOf",
|
|
645
665
|
"inputs": [
|
|
646
666
|
{
|
|
647
667
|
"name": "arg0",
|
|
648
668
|
"type": "address"
|
|
649
669
|
}
|
|
650
670
|
],
|
|
651
|
-
"name": "balanceOf",
|
|
652
671
|
"outputs": [
|
|
653
672
|
{
|
|
654
673
|
"name": "",
|
|
655
674
|
"type": "uint256"
|
|
656
675
|
}
|
|
657
|
-
]
|
|
658
|
-
"stateMutability": "view",
|
|
659
|
-
"type": "function"
|
|
676
|
+
]
|
|
660
677
|
},
|
|
661
678
|
{
|
|
679
|
+
"stateMutability": "view",
|
|
680
|
+
"type": "function",
|
|
681
|
+
"name": "allowance",
|
|
662
682
|
"inputs": [
|
|
663
683
|
{
|
|
664
684
|
"name": "arg0",
|
|
@@ -669,94 +689,94 @@ export const abi = [
|
|
|
669
689
|
"type": "address"
|
|
670
690
|
}
|
|
671
691
|
],
|
|
672
|
-
"name": "allowance",
|
|
673
692
|
"outputs": [
|
|
674
693
|
{
|
|
675
694
|
"name": "",
|
|
676
695
|
"type": "uint256"
|
|
677
696
|
}
|
|
678
|
-
]
|
|
679
|
-
"stateMutability": "view",
|
|
680
|
-
"type": "function"
|
|
697
|
+
]
|
|
681
698
|
},
|
|
682
699
|
{
|
|
683
|
-
"
|
|
700
|
+
"stateMutability": "view",
|
|
701
|
+
"type": "function",
|
|
684
702
|
"name": "totalSupply",
|
|
703
|
+
"inputs": [],
|
|
685
704
|
"outputs": [
|
|
686
705
|
{
|
|
687
706
|
"name": "",
|
|
688
707
|
"type": "uint256"
|
|
689
708
|
}
|
|
690
|
-
]
|
|
691
|
-
"stateMutability": "view",
|
|
692
|
-
"type": "function"
|
|
709
|
+
]
|
|
693
710
|
},
|
|
694
711
|
{
|
|
695
|
-
"
|
|
712
|
+
"stateMutability": "view",
|
|
713
|
+
"type": "function",
|
|
696
714
|
"name": "TOKEN_NAME",
|
|
715
|
+
"inputs": [],
|
|
697
716
|
"outputs": [
|
|
698
717
|
{
|
|
699
718
|
"name": "",
|
|
700
719
|
"type": "string"
|
|
701
720
|
}
|
|
702
|
-
]
|
|
703
|
-
"stateMutability": "view",
|
|
704
|
-
"type": "function"
|
|
721
|
+
]
|
|
705
722
|
},
|
|
706
723
|
{
|
|
707
|
-
"
|
|
724
|
+
"stateMutability": "view",
|
|
725
|
+
"type": "function",
|
|
708
726
|
"name": "TOKEN_SYMBOL",
|
|
727
|
+
"inputs": [],
|
|
709
728
|
"outputs": [
|
|
710
729
|
{
|
|
711
730
|
"name": "",
|
|
712
731
|
"type": "string"
|
|
713
732
|
}
|
|
714
|
-
]
|
|
715
|
-
"stateMutability": "view",
|
|
716
|
-
"type": "function"
|
|
733
|
+
]
|
|
717
734
|
},
|
|
718
735
|
{
|
|
719
|
-
"
|
|
736
|
+
"stateMutability": "view",
|
|
737
|
+
"type": "function",
|
|
720
738
|
"name": "TOKEN_DECIMALS",
|
|
739
|
+
"inputs": [],
|
|
721
740
|
"outputs": [
|
|
722
741
|
{
|
|
723
742
|
"name": "",
|
|
724
743
|
"type": "uint8"
|
|
725
744
|
}
|
|
726
|
-
]
|
|
727
|
-
"stateMutability": "view",
|
|
728
|
-
"type": "function"
|
|
745
|
+
]
|
|
729
746
|
},
|
|
730
747
|
{
|
|
731
|
-
"
|
|
748
|
+
"stateMutability": "view",
|
|
749
|
+
"type": "function",
|
|
732
750
|
"name": "VERSION",
|
|
751
|
+
"inputs": [],
|
|
733
752
|
"outputs": [
|
|
734
753
|
{
|
|
735
754
|
"name": "",
|
|
736
755
|
"type": "string"
|
|
737
756
|
}
|
|
738
|
-
]
|
|
739
|
-
"stateMutability": "view",
|
|
740
|
-
"type": "function"
|
|
757
|
+
]
|
|
741
758
|
},
|
|
742
759
|
{
|
|
760
|
+
"stateMutability": "view",
|
|
761
|
+
"type": "function",
|
|
762
|
+
"name": "nonces",
|
|
743
763
|
"inputs": [
|
|
744
764
|
{
|
|
745
765
|
"name": "arg0",
|
|
746
766
|
"type": "address"
|
|
747
767
|
}
|
|
748
768
|
],
|
|
749
|
-
"name": "nonces",
|
|
750
769
|
"outputs": [
|
|
751
770
|
{
|
|
752
771
|
"name": "",
|
|
753
772
|
"type": "uint256"
|
|
754
773
|
}
|
|
755
|
-
]
|
|
756
|
-
"stateMutability": "view",
|
|
757
|
-
"type": "function"
|
|
774
|
+
]
|
|
758
775
|
},
|
|
759
776
|
{
|
|
777
|
+
"stateMutability": "nonpayable",
|
|
778
|
+
"type": "function",
|
|
779
|
+
"name": "depositForYield",
|
|
760
780
|
"inputs": [
|
|
761
781
|
{
|
|
762
782
|
"name": "_legoId",
|
|
@@ -767,7 +787,6 @@ export const abi = [
|
|
|
767
787
|
"type": "address"
|
|
768
788
|
}
|
|
769
789
|
],
|
|
770
|
-
"name": "depositForYield",
|
|
771
790
|
"outputs": [
|
|
772
791
|
{
|
|
773
792
|
"name": "",
|
|
@@ -785,11 +804,12 @@ export const abi = [
|
|
|
785
804
|
"name": "",
|
|
786
805
|
"type": "uint256"
|
|
787
806
|
}
|
|
788
|
-
]
|
|
789
|
-
"stateMutability": "nonpayable",
|
|
790
|
-
"type": "function"
|
|
807
|
+
]
|
|
791
808
|
},
|
|
792
809
|
{
|
|
810
|
+
"stateMutability": "nonpayable",
|
|
811
|
+
"type": "function",
|
|
812
|
+
"name": "depositForYield",
|
|
793
813
|
"inputs": [
|
|
794
814
|
{
|
|
795
815
|
"name": "_legoId",
|
|
@@ -804,7 +824,6 @@ export const abi = [
|
|
|
804
824
|
"type": "address"
|
|
805
825
|
}
|
|
806
826
|
],
|
|
807
|
-
"name": "depositForYield",
|
|
808
827
|
"outputs": [
|
|
809
828
|
{
|
|
810
829
|
"name": "",
|
|
@@ -822,11 +841,12 @@ export const abi = [
|
|
|
822
841
|
"name": "",
|
|
823
842
|
"type": "uint256"
|
|
824
843
|
}
|
|
825
|
-
]
|
|
826
|
-
"stateMutability": "nonpayable",
|
|
827
|
-
"type": "function"
|
|
844
|
+
]
|
|
828
845
|
},
|
|
829
846
|
{
|
|
847
|
+
"stateMutability": "nonpayable",
|
|
848
|
+
"type": "function",
|
|
849
|
+
"name": "depositForYield",
|
|
830
850
|
"inputs": [
|
|
831
851
|
{
|
|
832
852
|
"name": "_legoId",
|
|
@@ -845,7 +865,6 @@ export const abi = [
|
|
|
845
865
|
"type": "uint256"
|
|
846
866
|
}
|
|
847
867
|
],
|
|
848
|
-
"name": "depositForYield",
|
|
849
868
|
"outputs": [
|
|
850
869
|
{
|
|
851
870
|
"name": "",
|
|
@@ -863,11 +882,12 @@ export const abi = [
|
|
|
863
882
|
"name": "",
|
|
864
883
|
"type": "uint256"
|
|
865
884
|
}
|
|
866
|
-
]
|
|
867
|
-
"stateMutability": "nonpayable",
|
|
868
|
-
"type": "function"
|
|
885
|
+
]
|
|
869
886
|
},
|
|
870
887
|
{
|
|
888
|
+
"stateMutability": "nonpayable",
|
|
889
|
+
"type": "function",
|
|
890
|
+
"name": "depositForYield",
|
|
871
891
|
"inputs": [
|
|
872
892
|
{
|
|
873
893
|
"name": "_legoId",
|
|
@@ -890,7 +910,6 @@ export const abi = [
|
|
|
890
910
|
"type": "bytes32"
|
|
891
911
|
}
|
|
892
912
|
],
|
|
893
|
-
"name": "depositForYield",
|
|
894
913
|
"outputs": [
|
|
895
914
|
{
|
|
896
915
|
"name": "",
|
|
@@ -908,11 +927,12 @@ export const abi = [
|
|
|
908
927
|
"name": "",
|
|
909
928
|
"type": "uint256"
|
|
910
929
|
}
|
|
911
|
-
]
|
|
912
|
-
"stateMutability": "nonpayable",
|
|
913
|
-
"type": "function"
|
|
930
|
+
]
|
|
914
931
|
},
|
|
915
932
|
{
|
|
933
|
+
"stateMutability": "nonpayable",
|
|
934
|
+
"type": "function",
|
|
935
|
+
"name": "withdrawFromYield",
|
|
916
936
|
"inputs": [
|
|
917
937
|
{
|
|
918
938
|
"name": "_legoId",
|
|
@@ -923,7 +943,6 @@ export const abi = [
|
|
|
923
943
|
"type": "address"
|
|
924
944
|
}
|
|
925
945
|
],
|
|
926
|
-
"name": "withdrawFromYield",
|
|
927
946
|
"outputs": [
|
|
928
947
|
{
|
|
929
948
|
"name": "",
|
|
@@ -941,11 +960,12 @@ export const abi = [
|
|
|
941
960
|
"name": "",
|
|
942
961
|
"type": "uint256"
|
|
943
962
|
}
|
|
944
|
-
]
|
|
945
|
-
"stateMutability": "nonpayable",
|
|
946
|
-
"type": "function"
|
|
963
|
+
]
|
|
947
964
|
},
|
|
948
965
|
{
|
|
966
|
+
"stateMutability": "nonpayable",
|
|
967
|
+
"type": "function",
|
|
968
|
+
"name": "withdrawFromYield",
|
|
949
969
|
"inputs": [
|
|
950
970
|
{
|
|
951
971
|
"name": "_legoId",
|
|
@@ -960,7 +980,6 @@ export const abi = [
|
|
|
960
980
|
"type": "uint256"
|
|
961
981
|
}
|
|
962
982
|
],
|
|
963
|
-
"name": "withdrawFromYield",
|
|
964
983
|
"outputs": [
|
|
965
984
|
{
|
|
966
985
|
"name": "",
|
|
@@ -978,11 +997,12 @@ export const abi = [
|
|
|
978
997
|
"name": "",
|
|
979
998
|
"type": "uint256"
|
|
980
999
|
}
|
|
981
|
-
]
|
|
982
|
-
"stateMutability": "nonpayable",
|
|
983
|
-
"type": "function"
|
|
1000
|
+
]
|
|
984
1001
|
},
|
|
985
1002
|
{
|
|
1003
|
+
"stateMutability": "nonpayable",
|
|
1004
|
+
"type": "function",
|
|
1005
|
+
"name": "withdrawFromYield",
|
|
986
1006
|
"inputs": [
|
|
987
1007
|
{
|
|
988
1008
|
"name": "_legoId",
|
|
@@ -1001,7 +1021,6 @@ export const abi = [
|
|
|
1001
1021
|
"type": "bytes32"
|
|
1002
1022
|
}
|
|
1003
1023
|
],
|
|
1004
|
-
"name": "withdrawFromYield",
|
|
1005
1024
|
"outputs": [
|
|
1006
1025
|
{
|
|
1007
1026
|
"name": "",
|
|
@@ -1019,11 +1038,12 @@ export const abi = [
|
|
|
1019
1038
|
"name": "",
|
|
1020
1039
|
"type": "uint256"
|
|
1021
1040
|
}
|
|
1022
|
-
]
|
|
1023
|
-
"stateMutability": "nonpayable",
|
|
1024
|
-
"type": "function"
|
|
1041
|
+
]
|
|
1025
1042
|
},
|
|
1026
1043
|
{
|
|
1044
|
+
"stateMutability": "nonpayable",
|
|
1045
|
+
"type": "function",
|
|
1046
|
+
"name": "withdrawFromYield",
|
|
1027
1047
|
"inputs": [
|
|
1028
1048
|
{
|
|
1029
1049
|
"name": "_legoId",
|
|
@@ -1046,7 +1066,6 @@ export const abi = [
|
|
|
1046
1066
|
"type": "bool"
|
|
1047
1067
|
}
|
|
1048
1068
|
],
|
|
1049
|
-
"name": "withdrawFromYield",
|
|
1050
1069
|
"outputs": [
|
|
1051
1070
|
{
|
|
1052
1071
|
"name": "",
|
|
@@ -1063,14 +1082,17 @@ export const abi = [
|
|
|
1063
1082
|
{
|
|
1064
1083
|
"name": "",
|
|
1065
1084
|
"type": "uint256"
|
|
1066
|
-
}
|
|
1067
|
-
]
|
|
1068
|
-
"stateMutability": "nonpayable",
|
|
1069
|
-
"type": "function"
|
|
1085
|
+
}
|
|
1086
|
+
]
|
|
1070
1087
|
},
|
|
1071
1088
|
{
|
|
1089
|
+
"stateMutability": "nonpayable",
|
|
1090
|
+
"type": "function",
|
|
1091
|
+
"name": "swapTokens",
|
|
1072
1092
|
"inputs": [
|
|
1073
1093
|
{
|
|
1094
|
+
"name": "_instructions",
|
|
1095
|
+
"type": "tuple[]",
|
|
1074
1096
|
"components": [
|
|
1075
1097
|
{
|
|
1076
1098
|
"name": "legoId",
|
|
@@ -1092,12 +1114,9 @@ export const abi = [
|
|
|
1092
1114
|
"name": "poolPath",
|
|
1093
1115
|
"type": "address[]"
|
|
1094
1116
|
}
|
|
1095
|
-
]
|
|
1096
|
-
"name": "_instructions",
|
|
1097
|
-
"type": "tuple[]"
|
|
1117
|
+
]
|
|
1098
1118
|
}
|
|
1099
1119
|
],
|
|
1100
|
-
"name": "swapTokens",
|
|
1101
1120
|
"outputs": [
|
|
1102
1121
|
{
|
|
1103
1122
|
"name": "",
|
|
@@ -1119,18 +1138,18 @@ export const abi = [
|
|
|
1119
1138
|
"name": "",
|
|
1120
1139
|
"type": "uint256"
|
|
1121
1140
|
}
|
|
1122
|
-
]
|
|
1123
|
-
"stateMutability": "nonpayable",
|
|
1124
|
-
"type": "function"
|
|
1141
|
+
]
|
|
1125
1142
|
},
|
|
1126
1143
|
{
|
|
1144
|
+
"stateMutability": "nonpayable",
|
|
1145
|
+
"type": "function",
|
|
1146
|
+
"name": "claimIncentives",
|
|
1127
1147
|
"inputs": [
|
|
1128
1148
|
{
|
|
1129
1149
|
"name": "_legoId",
|
|
1130
1150
|
"type": "uint256"
|
|
1131
1151
|
}
|
|
1132
1152
|
],
|
|
1133
|
-
"name": "claimIncentives",
|
|
1134
1153
|
"outputs": [
|
|
1135
1154
|
{
|
|
1136
1155
|
"name": "",
|
|
@@ -1140,11 +1159,12 @@ export const abi = [
|
|
|
1140
1159
|
"name": "",
|
|
1141
1160
|
"type": "uint256"
|
|
1142
1161
|
}
|
|
1143
|
-
]
|
|
1144
|
-
"stateMutability": "nonpayable",
|
|
1145
|
-
"type": "function"
|
|
1162
|
+
]
|
|
1146
1163
|
},
|
|
1147
1164
|
{
|
|
1165
|
+
"stateMutability": "nonpayable",
|
|
1166
|
+
"type": "function",
|
|
1167
|
+
"name": "claimIncentives",
|
|
1148
1168
|
"inputs": [
|
|
1149
1169
|
{
|
|
1150
1170
|
"name": "_legoId",
|
|
@@ -1155,7 +1175,6 @@ export const abi = [
|
|
|
1155
1175
|
"type": "address"
|
|
1156
1176
|
}
|
|
1157
1177
|
],
|
|
1158
|
-
"name": "claimIncentives",
|
|
1159
1178
|
"outputs": [
|
|
1160
1179
|
{
|
|
1161
1180
|
"name": "",
|
|
@@ -1165,11 +1184,12 @@ export const abi = [
|
|
|
1165
1184
|
"name": "",
|
|
1166
1185
|
"type": "uint256"
|
|
1167
1186
|
}
|
|
1168
|
-
]
|
|
1169
|
-
"stateMutability": "nonpayable",
|
|
1170
|
-
"type": "function"
|
|
1187
|
+
]
|
|
1171
1188
|
},
|
|
1172
1189
|
{
|
|
1190
|
+
"stateMutability": "nonpayable",
|
|
1191
|
+
"type": "function",
|
|
1192
|
+
"name": "claimIncentives",
|
|
1173
1193
|
"inputs": [
|
|
1174
1194
|
{
|
|
1175
1195
|
"name": "_legoId",
|
|
@@ -1184,7 +1204,6 @@ export const abi = [
|
|
|
1184
1204
|
"type": "uint256"
|
|
1185
1205
|
}
|
|
1186
1206
|
],
|
|
1187
|
-
"name": "claimIncentives",
|
|
1188
1207
|
"outputs": [
|
|
1189
1208
|
{
|
|
1190
1209
|
"name": "",
|
|
@@ -1194,11 +1213,12 @@ export const abi = [
|
|
|
1194
1213
|
"name": "",
|
|
1195
1214
|
"type": "uint256"
|
|
1196
1215
|
}
|
|
1197
|
-
]
|
|
1198
|
-
"stateMutability": "nonpayable",
|
|
1199
|
-
"type": "function"
|
|
1216
|
+
]
|
|
1200
1217
|
},
|
|
1201
1218
|
{
|
|
1219
|
+
"stateMutability": "nonpayable",
|
|
1220
|
+
"type": "function",
|
|
1221
|
+
"name": "claimIncentives",
|
|
1202
1222
|
"inputs": [
|
|
1203
1223
|
{
|
|
1204
1224
|
"name": "_legoId",
|
|
@@ -1217,7 +1237,6 @@ export const abi = [
|
|
|
1217
1237
|
"type": "bytes32[]"
|
|
1218
1238
|
}
|
|
1219
1239
|
],
|
|
1220
|
-
"name": "claimIncentives",
|
|
1221
1240
|
"outputs": [
|
|
1222
1241
|
{
|
|
1223
1242
|
"name": "",
|
|
@@ -1227,296 +1246,297 @@ export const abi = [
|
|
|
1227
1246
|
"name": "",
|
|
1228
1247
|
"type": "uint256"
|
|
1229
1248
|
}
|
|
1230
|
-
]
|
|
1231
|
-
"stateMutability": "nonpayable",
|
|
1232
|
-
"type": "function"
|
|
1249
|
+
]
|
|
1233
1250
|
},
|
|
1234
1251
|
{
|
|
1235
|
-
"
|
|
1252
|
+
"stateMutability": "nonpayable",
|
|
1253
|
+
"type": "function",
|
|
1236
1254
|
"name": "claimPerformanceFees",
|
|
1255
|
+
"inputs": [],
|
|
1237
1256
|
"outputs": [
|
|
1238
1257
|
{
|
|
1239
1258
|
"name": "",
|
|
1240
1259
|
"type": "uint256"
|
|
1241
1260
|
}
|
|
1242
|
-
]
|
|
1243
|
-
"stateMutability": "nonpayable",
|
|
1244
|
-
"type": "function"
|
|
1261
|
+
]
|
|
1245
1262
|
},
|
|
1246
1263
|
{
|
|
1247
|
-
"
|
|
1264
|
+
"stateMutability": "view",
|
|
1265
|
+
"type": "function",
|
|
1248
1266
|
"name": "getClaimablePerformanceFees",
|
|
1267
|
+
"inputs": [],
|
|
1249
1268
|
"outputs": [
|
|
1250
1269
|
{
|
|
1251
1270
|
"name": "",
|
|
1252
1271
|
"type": "uint256"
|
|
1253
1272
|
}
|
|
1254
|
-
]
|
|
1255
|
-
"stateMutability": "view",
|
|
1256
|
-
"type": "function"
|
|
1273
|
+
]
|
|
1257
1274
|
},
|
|
1258
1275
|
{
|
|
1276
|
+
"stateMutability": "nonpayable",
|
|
1277
|
+
"type": "function",
|
|
1278
|
+
"name": "updateYieldPosition",
|
|
1259
1279
|
"inputs": [
|
|
1260
1280
|
{
|
|
1261
1281
|
"name": "_vaultToken",
|
|
1262
1282
|
"type": "address"
|
|
1263
1283
|
}
|
|
1264
1284
|
],
|
|
1265
|
-
"
|
|
1266
|
-
"outputs": [],
|
|
1267
|
-
"stateMutability": "nonpayable",
|
|
1268
|
-
"type": "function"
|
|
1285
|
+
"outputs": []
|
|
1269
1286
|
},
|
|
1270
1287
|
{
|
|
1288
|
+
"stateMutability": "nonpayable",
|
|
1289
|
+
"type": "function",
|
|
1290
|
+
"name": "addManager",
|
|
1271
1291
|
"inputs": [
|
|
1272
1292
|
{
|
|
1273
1293
|
"name": "_manager",
|
|
1274
1294
|
"type": "address"
|
|
1275
1295
|
}
|
|
1276
1296
|
],
|
|
1277
|
-
"
|
|
1278
|
-
"outputs": [],
|
|
1279
|
-
"stateMutability": "nonpayable",
|
|
1280
|
-
"type": "function"
|
|
1297
|
+
"outputs": []
|
|
1281
1298
|
},
|
|
1282
1299
|
{
|
|
1300
|
+
"stateMutability": "nonpayable",
|
|
1301
|
+
"type": "function",
|
|
1302
|
+
"name": "removeManager",
|
|
1283
1303
|
"inputs": [
|
|
1284
1304
|
{
|
|
1285
1305
|
"name": "_manager",
|
|
1286
1306
|
"type": "address"
|
|
1287
1307
|
}
|
|
1288
1308
|
],
|
|
1289
|
-
"
|
|
1290
|
-
"outputs": [],
|
|
1291
|
-
"stateMutability": "nonpayable",
|
|
1292
|
-
"type": "function"
|
|
1309
|
+
"outputs": []
|
|
1293
1310
|
},
|
|
1294
1311
|
{
|
|
1295
|
-
"
|
|
1312
|
+
"stateMutability": "view",
|
|
1313
|
+
"type": "function",
|
|
1296
1314
|
"name": "lastUnderlyingBal",
|
|
1315
|
+
"inputs": [],
|
|
1297
1316
|
"outputs": [
|
|
1298
1317
|
{
|
|
1299
1318
|
"name": "",
|
|
1300
1319
|
"type": "uint256"
|
|
1301
1320
|
}
|
|
1302
|
-
]
|
|
1303
|
-
"stateMutability": "view",
|
|
1304
|
-
"type": "function"
|
|
1321
|
+
]
|
|
1305
1322
|
},
|
|
1306
1323
|
{
|
|
1307
|
-
"
|
|
1324
|
+
"stateMutability": "view",
|
|
1325
|
+
"type": "function",
|
|
1308
1326
|
"name": "pendingYieldRealized",
|
|
1327
|
+
"inputs": [],
|
|
1309
1328
|
"outputs": [
|
|
1310
1329
|
{
|
|
1311
1330
|
"name": "",
|
|
1312
1331
|
"type": "uint256"
|
|
1313
1332
|
}
|
|
1314
|
-
]
|
|
1315
|
-
"stateMutability": "view",
|
|
1316
|
-
"type": "function"
|
|
1333
|
+
]
|
|
1317
1334
|
},
|
|
1318
1335
|
{
|
|
1336
|
+
"stateMutability": "view",
|
|
1337
|
+
"type": "function",
|
|
1338
|
+
"name": "vaultToLegoId",
|
|
1319
1339
|
"inputs": [
|
|
1320
1340
|
{
|
|
1321
1341
|
"name": "arg0",
|
|
1322
1342
|
"type": "address"
|
|
1323
1343
|
}
|
|
1324
1344
|
],
|
|
1325
|
-
"name": "vaultToLegoId",
|
|
1326
1345
|
"outputs": [
|
|
1327
1346
|
{
|
|
1328
1347
|
"name": "",
|
|
1329
1348
|
"type": "uint256"
|
|
1330
1349
|
}
|
|
1331
|
-
]
|
|
1332
|
-
"stateMutability": "view",
|
|
1333
|
-
"type": "function"
|
|
1350
|
+
]
|
|
1334
1351
|
},
|
|
1335
1352
|
{
|
|
1353
|
+
"stateMutability": "view",
|
|
1354
|
+
"type": "function",
|
|
1355
|
+
"name": "assets",
|
|
1336
1356
|
"inputs": [
|
|
1337
1357
|
{
|
|
1338
1358
|
"name": "arg0",
|
|
1339
1359
|
"type": "uint256"
|
|
1340
1360
|
}
|
|
1341
1361
|
],
|
|
1342
|
-
"name": "assets",
|
|
1343
1362
|
"outputs": [
|
|
1344
1363
|
{
|
|
1345
1364
|
"name": "",
|
|
1346
1365
|
"type": "address"
|
|
1347
1366
|
}
|
|
1348
|
-
]
|
|
1349
|
-
"stateMutability": "view",
|
|
1350
|
-
"type": "function"
|
|
1367
|
+
]
|
|
1351
1368
|
},
|
|
1352
1369
|
{
|
|
1370
|
+
"stateMutability": "view",
|
|
1371
|
+
"type": "function",
|
|
1372
|
+
"name": "indexOfAsset",
|
|
1353
1373
|
"inputs": [
|
|
1354
1374
|
{
|
|
1355
1375
|
"name": "arg0",
|
|
1356
1376
|
"type": "address"
|
|
1357
1377
|
}
|
|
1358
1378
|
],
|
|
1359
|
-
"name": "indexOfAsset",
|
|
1360
1379
|
"outputs": [
|
|
1361
1380
|
{
|
|
1362
1381
|
"name": "",
|
|
1363
1382
|
"type": "uint256"
|
|
1364
1383
|
}
|
|
1365
|
-
]
|
|
1366
|
-
"stateMutability": "view",
|
|
1367
|
-
"type": "function"
|
|
1384
|
+
]
|
|
1368
1385
|
},
|
|
1369
1386
|
{
|
|
1370
|
-
"
|
|
1387
|
+
"stateMutability": "view",
|
|
1388
|
+
"type": "function",
|
|
1371
1389
|
"name": "numAssets",
|
|
1390
|
+
"inputs": [],
|
|
1372
1391
|
"outputs": [
|
|
1373
1392
|
{
|
|
1374
1393
|
"name": "",
|
|
1375
1394
|
"type": "uint256"
|
|
1376
1395
|
}
|
|
1377
|
-
]
|
|
1378
|
-
"stateMutability": "view",
|
|
1379
|
-
"type": "function"
|
|
1396
|
+
]
|
|
1380
1397
|
},
|
|
1381
1398
|
{
|
|
1399
|
+
"stateMutability": "view",
|
|
1400
|
+
"type": "function",
|
|
1401
|
+
"name": "managers",
|
|
1382
1402
|
"inputs": [
|
|
1383
1403
|
{
|
|
1384
1404
|
"name": "arg0",
|
|
1385
1405
|
"type": "uint256"
|
|
1386
1406
|
}
|
|
1387
1407
|
],
|
|
1388
|
-
"name": "managers",
|
|
1389
1408
|
"outputs": [
|
|
1390
1409
|
{
|
|
1391
1410
|
"name": "",
|
|
1392
1411
|
"type": "address"
|
|
1393
1412
|
}
|
|
1394
|
-
]
|
|
1395
|
-
"stateMutability": "view",
|
|
1396
|
-
"type": "function"
|
|
1413
|
+
]
|
|
1397
1414
|
},
|
|
1398
1415
|
{
|
|
1416
|
+
"stateMutability": "view",
|
|
1417
|
+
"type": "function",
|
|
1418
|
+
"name": "indexOfManager",
|
|
1399
1419
|
"inputs": [
|
|
1400
1420
|
{
|
|
1401
1421
|
"name": "arg0",
|
|
1402
1422
|
"type": "address"
|
|
1403
1423
|
}
|
|
1404
1424
|
],
|
|
1405
|
-
"name": "indexOfManager",
|
|
1406
1425
|
"outputs": [
|
|
1407
1426
|
{
|
|
1408
1427
|
"name": "",
|
|
1409
1428
|
"type": "uint256"
|
|
1410
1429
|
}
|
|
1411
|
-
]
|
|
1412
|
-
"stateMutability": "view",
|
|
1413
|
-
"type": "function"
|
|
1430
|
+
]
|
|
1414
1431
|
},
|
|
1415
1432
|
{
|
|
1416
|
-
"
|
|
1433
|
+
"stateMutability": "view",
|
|
1434
|
+
"type": "function",
|
|
1417
1435
|
"name": "numManagers",
|
|
1436
|
+
"inputs": [],
|
|
1418
1437
|
"outputs": [
|
|
1419
1438
|
{
|
|
1420
1439
|
"name": "",
|
|
1421
1440
|
"type": "uint256"
|
|
1422
1441
|
}
|
|
1423
|
-
]
|
|
1424
|
-
"stateMutability": "view",
|
|
1425
|
-
"type": "function"
|
|
1442
|
+
]
|
|
1426
1443
|
},
|
|
1427
1444
|
{
|
|
1428
|
-
"
|
|
1445
|
+
"stateMutability": "view",
|
|
1446
|
+
"type": "function",
|
|
1429
1447
|
"name": "asset",
|
|
1448
|
+
"inputs": [],
|
|
1430
1449
|
"outputs": [
|
|
1431
1450
|
{
|
|
1432
1451
|
"name": "",
|
|
1433
1452
|
"type": "address"
|
|
1434
1453
|
}
|
|
1435
|
-
]
|
|
1436
|
-
"stateMutability": "view",
|
|
1437
|
-
"type": "function"
|
|
1454
|
+
]
|
|
1438
1455
|
},
|
|
1439
1456
|
{
|
|
1440
|
-
"
|
|
1457
|
+
"stateMutability": "view",
|
|
1458
|
+
"type": "function",
|
|
1441
1459
|
"name": "totalAssets",
|
|
1460
|
+
"inputs": [],
|
|
1442
1461
|
"outputs": [
|
|
1443
1462
|
{
|
|
1444
1463
|
"name": "",
|
|
1445
1464
|
"type": "uint256"
|
|
1446
1465
|
}
|
|
1447
|
-
]
|
|
1448
|
-
"stateMutability": "view",
|
|
1449
|
-
"type": "function"
|
|
1466
|
+
]
|
|
1450
1467
|
},
|
|
1451
1468
|
{
|
|
1469
|
+
"stateMutability": "view",
|
|
1470
|
+
"type": "function",
|
|
1471
|
+
"name": "getTotalAssets",
|
|
1452
1472
|
"inputs": [
|
|
1453
1473
|
{
|
|
1454
1474
|
"name": "_shouldGetMax",
|
|
1455
1475
|
"type": "bool"
|
|
1456
1476
|
}
|
|
1457
1477
|
],
|
|
1458
|
-
"name": "getTotalAssets",
|
|
1459
1478
|
"outputs": [
|
|
1460
1479
|
{
|
|
1461
1480
|
"name": "",
|
|
1462
1481
|
"type": "uint256"
|
|
1463
1482
|
}
|
|
1464
|
-
]
|
|
1465
|
-
"stateMutability": "view",
|
|
1466
|
-
"type": "function"
|
|
1483
|
+
]
|
|
1467
1484
|
},
|
|
1468
1485
|
{
|
|
1486
|
+
"stateMutability": "view",
|
|
1487
|
+
"type": "function",
|
|
1488
|
+
"name": "maxDeposit",
|
|
1469
1489
|
"inputs": [
|
|
1470
1490
|
{
|
|
1471
1491
|
"name": "_receiver",
|
|
1472
1492
|
"type": "address"
|
|
1473
1493
|
}
|
|
1474
1494
|
],
|
|
1475
|
-
"name": "maxDeposit",
|
|
1476
1495
|
"outputs": [
|
|
1477
1496
|
{
|
|
1478
1497
|
"name": "",
|
|
1479
1498
|
"type": "uint256"
|
|
1480
1499
|
}
|
|
1481
|
-
]
|
|
1482
|
-
"stateMutability": "view",
|
|
1483
|
-
"type": "function"
|
|
1500
|
+
]
|
|
1484
1501
|
},
|
|
1485
1502
|
{
|
|
1503
|
+
"stateMutability": "view",
|
|
1504
|
+
"type": "function",
|
|
1505
|
+
"name": "previewDeposit",
|
|
1486
1506
|
"inputs": [
|
|
1487
1507
|
{
|
|
1488
1508
|
"name": "_assets",
|
|
1489
1509
|
"type": "uint256"
|
|
1490
1510
|
}
|
|
1491
1511
|
],
|
|
1492
|
-
"name": "previewDeposit",
|
|
1493
1512
|
"outputs": [
|
|
1494
1513
|
{
|
|
1495
1514
|
"name": "",
|
|
1496
1515
|
"type": "uint256"
|
|
1497
1516
|
}
|
|
1498
|
-
]
|
|
1499
|
-
"stateMutability": "view",
|
|
1500
|
-
"type": "function"
|
|
1517
|
+
]
|
|
1501
1518
|
},
|
|
1502
1519
|
{
|
|
1520
|
+
"stateMutability": "nonpayable",
|
|
1521
|
+
"type": "function",
|
|
1522
|
+
"name": "deposit",
|
|
1503
1523
|
"inputs": [
|
|
1504
1524
|
{
|
|
1505
1525
|
"name": "_assets",
|
|
1506
1526
|
"type": "uint256"
|
|
1507
1527
|
}
|
|
1508
1528
|
],
|
|
1509
|
-
"name": "deposit",
|
|
1510
1529
|
"outputs": [
|
|
1511
1530
|
{
|
|
1512
1531
|
"name": "",
|
|
1513
1532
|
"type": "uint256"
|
|
1514
1533
|
}
|
|
1515
|
-
]
|
|
1516
|
-
"stateMutability": "nonpayable",
|
|
1517
|
-
"type": "function"
|
|
1534
|
+
]
|
|
1518
1535
|
},
|
|
1519
1536
|
{
|
|
1537
|
+
"stateMutability": "nonpayable",
|
|
1538
|
+
"type": "function",
|
|
1539
|
+
"name": "deposit",
|
|
1520
1540
|
"inputs": [
|
|
1521
1541
|
{
|
|
1522
1542
|
"name": "_assets",
|
|
@@ -1527,17 +1547,17 @@ export const abi = [
|
|
|
1527
1547
|
"type": "address"
|
|
1528
1548
|
}
|
|
1529
1549
|
],
|
|
1530
|
-
"name": "deposit",
|
|
1531
1550
|
"outputs": [
|
|
1532
1551
|
{
|
|
1533
1552
|
"name": "",
|
|
1534
1553
|
"type": "uint256"
|
|
1535
1554
|
}
|
|
1536
|
-
]
|
|
1537
|
-
"stateMutability": "nonpayable",
|
|
1538
|
-
"type": "function"
|
|
1555
|
+
]
|
|
1539
1556
|
},
|
|
1540
1557
|
{
|
|
1558
|
+
"stateMutability": "nonpayable",
|
|
1559
|
+
"type": "function",
|
|
1560
|
+
"name": "depositWithMinAmountOut",
|
|
1541
1561
|
"inputs": [
|
|
1542
1562
|
{
|
|
1543
1563
|
"name": "_assets",
|
|
@@ -1548,17 +1568,17 @@ export const abi = [
|
|
|
1548
1568
|
"type": "uint256"
|
|
1549
1569
|
}
|
|
1550
1570
|
],
|
|
1551
|
-
"name": "depositWithMinAmountOut",
|
|
1552
1571
|
"outputs": [
|
|
1553
1572
|
{
|
|
1554
1573
|
"name": "",
|
|
1555
1574
|
"type": "uint256"
|
|
1556
1575
|
}
|
|
1557
|
-
]
|
|
1558
|
-
"stateMutability": "nonpayable",
|
|
1559
|
-
"type": "function"
|
|
1576
|
+
]
|
|
1560
1577
|
},
|
|
1561
1578
|
{
|
|
1579
|
+
"stateMutability": "nonpayable",
|
|
1580
|
+
"type": "function",
|
|
1581
|
+
"name": "depositWithMinAmountOut",
|
|
1562
1582
|
"inputs": [
|
|
1563
1583
|
{
|
|
1564
1584
|
"name": "_assets",
|
|
@@ -1573,68 +1593,68 @@ export const abi = [
|
|
|
1573
1593
|
"type": "address"
|
|
1574
1594
|
}
|
|
1575
1595
|
],
|
|
1576
|
-
"name": "depositWithMinAmountOut",
|
|
1577
1596
|
"outputs": [
|
|
1578
1597
|
{
|
|
1579
1598
|
"name": "",
|
|
1580
1599
|
"type": "uint256"
|
|
1581
1600
|
}
|
|
1582
|
-
]
|
|
1583
|
-
"stateMutability": "nonpayable",
|
|
1584
|
-
"type": "function"
|
|
1601
|
+
]
|
|
1585
1602
|
},
|
|
1586
1603
|
{
|
|
1604
|
+
"stateMutability": "view",
|
|
1605
|
+
"type": "function",
|
|
1606
|
+
"name": "maxMint",
|
|
1587
1607
|
"inputs": [
|
|
1588
1608
|
{
|
|
1589
1609
|
"name": "_receiver",
|
|
1590
1610
|
"type": "address"
|
|
1591
1611
|
}
|
|
1592
1612
|
],
|
|
1593
|
-
"name": "maxMint",
|
|
1594
1613
|
"outputs": [
|
|
1595
1614
|
{
|
|
1596
1615
|
"name": "",
|
|
1597
1616
|
"type": "uint256"
|
|
1598
1617
|
}
|
|
1599
|
-
]
|
|
1600
|
-
"stateMutability": "view",
|
|
1601
|
-
"type": "function"
|
|
1618
|
+
]
|
|
1602
1619
|
},
|
|
1603
1620
|
{
|
|
1621
|
+
"stateMutability": "view",
|
|
1622
|
+
"type": "function",
|
|
1623
|
+
"name": "previewMint",
|
|
1604
1624
|
"inputs": [
|
|
1605
1625
|
{
|
|
1606
1626
|
"name": "_shares",
|
|
1607
1627
|
"type": "uint256"
|
|
1608
1628
|
}
|
|
1609
1629
|
],
|
|
1610
|
-
"name": "previewMint",
|
|
1611
1630
|
"outputs": [
|
|
1612
1631
|
{
|
|
1613
1632
|
"name": "",
|
|
1614
1633
|
"type": "uint256"
|
|
1615
1634
|
}
|
|
1616
|
-
]
|
|
1617
|
-
"stateMutability": "view",
|
|
1618
|
-
"type": "function"
|
|
1635
|
+
]
|
|
1619
1636
|
},
|
|
1620
1637
|
{
|
|
1638
|
+
"stateMutability": "nonpayable",
|
|
1639
|
+
"type": "function",
|
|
1640
|
+
"name": "mint",
|
|
1621
1641
|
"inputs": [
|
|
1622
1642
|
{
|
|
1623
1643
|
"name": "_shares",
|
|
1624
1644
|
"type": "uint256"
|
|
1625
1645
|
}
|
|
1626
1646
|
],
|
|
1627
|
-
"name": "mint",
|
|
1628
1647
|
"outputs": [
|
|
1629
1648
|
{
|
|
1630
1649
|
"name": "",
|
|
1631
1650
|
"type": "uint256"
|
|
1632
1651
|
}
|
|
1633
|
-
]
|
|
1634
|
-
"stateMutability": "nonpayable",
|
|
1635
|
-
"type": "function"
|
|
1652
|
+
]
|
|
1636
1653
|
},
|
|
1637
1654
|
{
|
|
1655
|
+
"stateMutability": "nonpayable",
|
|
1656
|
+
"type": "function",
|
|
1657
|
+
"name": "mint",
|
|
1638
1658
|
"inputs": [
|
|
1639
1659
|
{
|
|
1640
1660
|
"name": "_shares",
|
|
@@ -1645,68 +1665,68 @@ export const abi = [
|
|
|
1645
1665
|
"type": "address"
|
|
1646
1666
|
}
|
|
1647
1667
|
],
|
|
1648
|
-
"name": "mint",
|
|
1649
1668
|
"outputs": [
|
|
1650
1669
|
{
|
|
1651
1670
|
"name": "",
|
|
1652
1671
|
"type": "uint256"
|
|
1653
1672
|
}
|
|
1654
|
-
]
|
|
1655
|
-
"stateMutability": "nonpayable",
|
|
1656
|
-
"type": "function"
|
|
1673
|
+
]
|
|
1657
1674
|
},
|
|
1658
1675
|
{
|
|
1676
|
+
"stateMutability": "view",
|
|
1677
|
+
"type": "function",
|
|
1678
|
+
"name": "maxWithdraw",
|
|
1659
1679
|
"inputs": [
|
|
1660
1680
|
{
|
|
1661
1681
|
"name": "_owner",
|
|
1662
1682
|
"type": "address"
|
|
1663
1683
|
}
|
|
1664
1684
|
],
|
|
1665
|
-
"name": "maxWithdraw",
|
|
1666
1685
|
"outputs": [
|
|
1667
1686
|
{
|
|
1668
1687
|
"name": "",
|
|
1669
1688
|
"type": "uint256"
|
|
1670
1689
|
}
|
|
1671
|
-
]
|
|
1672
|
-
"stateMutability": "view",
|
|
1673
|
-
"type": "function"
|
|
1690
|
+
]
|
|
1674
1691
|
},
|
|
1675
1692
|
{
|
|
1693
|
+
"stateMutability": "view",
|
|
1694
|
+
"type": "function",
|
|
1695
|
+
"name": "previewWithdraw",
|
|
1676
1696
|
"inputs": [
|
|
1677
1697
|
{
|
|
1678
1698
|
"name": "_assets",
|
|
1679
1699
|
"type": "uint256"
|
|
1680
1700
|
}
|
|
1681
1701
|
],
|
|
1682
|
-
"name": "previewWithdraw",
|
|
1683
1702
|
"outputs": [
|
|
1684
1703
|
{
|
|
1685
1704
|
"name": "",
|
|
1686
1705
|
"type": "uint256"
|
|
1687
1706
|
}
|
|
1688
|
-
]
|
|
1689
|
-
"stateMutability": "view",
|
|
1690
|
-
"type": "function"
|
|
1707
|
+
]
|
|
1691
1708
|
},
|
|
1692
1709
|
{
|
|
1710
|
+
"stateMutability": "nonpayable",
|
|
1711
|
+
"type": "function",
|
|
1712
|
+
"name": "withdraw",
|
|
1693
1713
|
"inputs": [
|
|
1694
1714
|
{
|
|
1695
1715
|
"name": "_assets",
|
|
1696
1716
|
"type": "uint256"
|
|
1697
1717
|
}
|
|
1698
1718
|
],
|
|
1699
|
-
"name": "withdraw",
|
|
1700
1719
|
"outputs": [
|
|
1701
1720
|
{
|
|
1702
1721
|
"name": "",
|
|
1703
1722
|
"type": "uint256"
|
|
1704
1723
|
}
|
|
1705
|
-
]
|
|
1706
|
-
"stateMutability": "nonpayable",
|
|
1707
|
-
"type": "function"
|
|
1724
|
+
]
|
|
1708
1725
|
},
|
|
1709
1726
|
{
|
|
1727
|
+
"stateMutability": "nonpayable",
|
|
1728
|
+
"type": "function",
|
|
1729
|
+
"name": "withdraw",
|
|
1710
1730
|
"inputs": [
|
|
1711
1731
|
{
|
|
1712
1732
|
"name": "_assets",
|
|
@@ -1717,17 +1737,17 @@ export const abi = [
|
|
|
1717
1737
|
"type": "address"
|
|
1718
1738
|
}
|
|
1719
1739
|
],
|
|
1720
|
-
"name": "withdraw",
|
|
1721
1740
|
"outputs": [
|
|
1722
1741
|
{
|
|
1723
1742
|
"name": "",
|
|
1724
1743
|
"type": "uint256"
|
|
1725
1744
|
}
|
|
1726
|
-
]
|
|
1727
|
-
"stateMutability": "nonpayable",
|
|
1728
|
-
"type": "function"
|
|
1745
|
+
]
|
|
1729
1746
|
},
|
|
1730
1747
|
{
|
|
1748
|
+
"stateMutability": "nonpayable",
|
|
1749
|
+
"type": "function",
|
|
1750
|
+
"name": "withdraw",
|
|
1731
1751
|
"inputs": [
|
|
1732
1752
|
{
|
|
1733
1753
|
"name": "_assets",
|
|
@@ -1742,68 +1762,68 @@ export const abi = [
|
|
|
1742
1762
|
"type": "address"
|
|
1743
1763
|
}
|
|
1744
1764
|
],
|
|
1745
|
-
"name": "withdraw",
|
|
1746
1765
|
"outputs": [
|
|
1747
1766
|
{
|
|
1748
1767
|
"name": "",
|
|
1749
1768
|
"type": "uint256"
|
|
1750
1769
|
}
|
|
1751
|
-
]
|
|
1752
|
-
"stateMutability": "nonpayable",
|
|
1753
|
-
"type": "function"
|
|
1770
|
+
]
|
|
1754
1771
|
},
|
|
1755
1772
|
{
|
|
1773
|
+
"stateMutability": "view",
|
|
1774
|
+
"type": "function",
|
|
1775
|
+
"name": "maxRedeem",
|
|
1756
1776
|
"inputs": [
|
|
1757
1777
|
{
|
|
1758
1778
|
"name": "_owner",
|
|
1759
1779
|
"type": "address"
|
|
1760
1780
|
}
|
|
1761
1781
|
],
|
|
1762
|
-
"name": "maxRedeem",
|
|
1763
1782
|
"outputs": [
|
|
1764
1783
|
{
|
|
1765
1784
|
"name": "",
|
|
1766
1785
|
"type": "uint256"
|
|
1767
1786
|
}
|
|
1768
|
-
]
|
|
1769
|
-
"stateMutability": "view",
|
|
1770
|
-
"type": "function"
|
|
1787
|
+
]
|
|
1771
1788
|
},
|
|
1772
1789
|
{
|
|
1790
|
+
"stateMutability": "view",
|
|
1791
|
+
"type": "function",
|
|
1792
|
+
"name": "previewRedeem",
|
|
1773
1793
|
"inputs": [
|
|
1774
1794
|
{
|
|
1775
1795
|
"name": "_shares",
|
|
1776
1796
|
"type": "uint256"
|
|
1777
1797
|
}
|
|
1778
1798
|
],
|
|
1779
|
-
"name": "previewRedeem",
|
|
1780
1799
|
"outputs": [
|
|
1781
1800
|
{
|
|
1782
1801
|
"name": "",
|
|
1783
1802
|
"type": "uint256"
|
|
1784
1803
|
}
|
|
1785
|
-
]
|
|
1786
|
-
"stateMutability": "view",
|
|
1787
|
-
"type": "function"
|
|
1804
|
+
]
|
|
1788
1805
|
},
|
|
1789
1806
|
{
|
|
1807
|
+
"stateMutability": "nonpayable",
|
|
1808
|
+
"type": "function",
|
|
1809
|
+
"name": "redeem",
|
|
1790
1810
|
"inputs": [
|
|
1791
1811
|
{
|
|
1792
1812
|
"name": "_shares",
|
|
1793
1813
|
"type": "uint256"
|
|
1794
1814
|
}
|
|
1795
1815
|
],
|
|
1796
|
-
"name": "redeem",
|
|
1797
1816
|
"outputs": [
|
|
1798
1817
|
{
|
|
1799
1818
|
"name": "",
|
|
1800
1819
|
"type": "uint256"
|
|
1801
1820
|
}
|
|
1802
|
-
]
|
|
1803
|
-
"stateMutability": "nonpayable",
|
|
1804
|
-
"type": "function"
|
|
1821
|
+
]
|
|
1805
1822
|
},
|
|
1806
1823
|
{
|
|
1824
|
+
"stateMutability": "nonpayable",
|
|
1825
|
+
"type": "function",
|
|
1826
|
+
"name": "redeem",
|
|
1807
1827
|
"inputs": [
|
|
1808
1828
|
{
|
|
1809
1829
|
"name": "_shares",
|
|
@@ -1814,17 +1834,17 @@ export const abi = [
|
|
|
1814
1834
|
"type": "address"
|
|
1815
1835
|
}
|
|
1816
1836
|
],
|
|
1817
|
-
"name": "redeem",
|
|
1818
1837
|
"outputs": [
|
|
1819
1838
|
{
|
|
1820
1839
|
"name": "",
|
|
1821
1840
|
"type": "uint256"
|
|
1822
1841
|
}
|
|
1823
|
-
]
|
|
1824
|
-
"stateMutability": "nonpayable",
|
|
1825
|
-
"type": "function"
|
|
1842
|
+
]
|
|
1826
1843
|
},
|
|
1827
1844
|
{
|
|
1845
|
+
"stateMutability": "nonpayable",
|
|
1846
|
+
"type": "function",
|
|
1847
|
+
"name": "redeem",
|
|
1828
1848
|
"inputs": [
|
|
1829
1849
|
{
|
|
1830
1850
|
"name": "_shares",
|
|
@@ -1839,17 +1859,17 @@ export const abi = [
|
|
|
1839
1859
|
"type": "address"
|
|
1840
1860
|
}
|
|
1841
1861
|
],
|
|
1842
|
-
"name": "redeem",
|
|
1843
1862
|
"outputs": [
|
|
1844
1863
|
{
|
|
1845
1864
|
"name": "",
|
|
1846
1865
|
"type": "uint256"
|
|
1847
1866
|
}
|
|
1848
|
-
]
|
|
1849
|
-
"stateMutability": "nonpayable",
|
|
1850
|
-
"type": "function"
|
|
1867
|
+
]
|
|
1851
1868
|
},
|
|
1852
1869
|
{
|
|
1870
|
+
"stateMutability": "nonpayable",
|
|
1871
|
+
"type": "function",
|
|
1872
|
+
"name": "redeemWithMinAmountOut",
|
|
1853
1873
|
"inputs": [
|
|
1854
1874
|
{
|
|
1855
1875
|
"name": "_shares",
|
|
@@ -1860,17 +1880,17 @@ export const abi = [
|
|
|
1860
1880
|
"type": "uint256"
|
|
1861
1881
|
}
|
|
1862
1882
|
],
|
|
1863
|
-
"name": "redeemWithMinAmountOut",
|
|
1864
1883
|
"outputs": [
|
|
1865
1884
|
{
|
|
1866
1885
|
"name": "",
|
|
1867
1886
|
"type": "uint256"
|
|
1868
1887
|
}
|
|
1869
|
-
]
|
|
1870
|
-
"stateMutability": "nonpayable",
|
|
1871
|
-
"type": "function"
|
|
1888
|
+
]
|
|
1872
1889
|
},
|
|
1873
1890
|
{
|
|
1891
|
+
"stateMutability": "nonpayable",
|
|
1892
|
+
"type": "function",
|
|
1893
|
+
"name": "redeemWithMinAmountOut",
|
|
1874
1894
|
"inputs": [
|
|
1875
1895
|
{
|
|
1876
1896
|
"name": "_shares",
|
|
@@ -1885,17 +1905,17 @@ export const abi = [
|
|
|
1885
1905
|
"type": "address"
|
|
1886
1906
|
}
|
|
1887
1907
|
],
|
|
1888
|
-
"name": "redeemWithMinAmountOut",
|
|
1889
1908
|
"outputs": [
|
|
1890
1909
|
{
|
|
1891
1910
|
"name": "",
|
|
1892
1911
|
"type": "uint256"
|
|
1893
1912
|
}
|
|
1894
|
-
]
|
|
1895
|
-
"stateMutability": "nonpayable",
|
|
1896
|
-
"type": "function"
|
|
1913
|
+
]
|
|
1897
1914
|
},
|
|
1898
1915
|
{
|
|
1916
|
+
"stateMutability": "nonpayable",
|
|
1917
|
+
"type": "function",
|
|
1918
|
+
"name": "redeemWithMinAmountOut",
|
|
1899
1919
|
"inputs": [
|
|
1900
1920
|
{
|
|
1901
1921
|
"name": "_shares",
|
|
@@ -1914,85 +1934,96 @@ export const abi = [
|
|
|
1914
1934
|
"type": "address"
|
|
1915
1935
|
}
|
|
1916
1936
|
],
|
|
1917
|
-
"name": "redeemWithMinAmountOut",
|
|
1918
1937
|
"outputs": [
|
|
1919
1938
|
{
|
|
1920
1939
|
"name": "",
|
|
1921
1940
|
"type": "uint256"
|
|
1922
1941
|
}
|
|
1923
|
-
]
|
|
1924
|
-
"stateMutability": "nonpayable",
|
|
1925
|
-
"type": "function"
|
|
1942
|
+
]
|
|
1926
1943
|
},
|
|
1927
1944
|
{
|
|
1945
|
+
"stateMutability": "view",
|
|
1946
|
+
"type": "function",
|
|
1947
|
+
"name": "convertToShares",
|
|
1928
1948
|
"inputs": [
|
|
1929
1949
|
{
|
|
1930
1950
|
"name": "_assets",
|
|
1931
1951
|
"type": "uint256"
|
|
1932
1952
|
}
|
|
1933
1953
|
],
|
|
1934
|
-
"name": "convertToShares",
|
|
1935
1954
|
"outputs": [
|
|
1936
1955
|
{
|
|
1937
1956
|
"name": "",
|
|
1938
1957
|
"type": "uint256"
|
|
1939
1958
|
}
|
|
1940
|
-
]
|
|
1941
|
-
"stateMutability": "view",
|
|
1942
|
-
"type": "function"
|
|
1959
|
+
]
|
|
1943
1960
|
},
|
|
1944
1961
|
{
|
|
1962
|
+
"stateMutability": "view",
|
|
1963
|
+
"type": "function",
|
|
1964
|
+
"name": "convertToSharesSafe",
|
|
1945
1965
|
"inputs": [
|
|
1946
1966
|
{
|
|
1947
1967
|
"name": "_assets",
|
|
1948
1968
|
"type": "uint256"
|
|
1949
1969
|
}
|
|
1950
1970
|
],
|
|
1951
|
-
"name": "convertToSharesSafe",
|
|
1952
1971
|
"outputs": [
|
|
1953
1972
|
{
|
|
1954
1973
|
"name": "",
|
|
1955
1974
|
"type": "uint256"
|
|
1956
1975
|
}
|
|
1957
|
-
]
|
|
1958
|
-
"stateMutability": "view",
|
|
1959
|
-
"type": "function"
|
|
1976
|
+
]
|
|
1960
1977
|
},
|
|
1961
1978
|
{
|
|
1979
|
+
"stateMutability": "view",
|
|
1980
|
+
"type": "function",
|
|
1981
|
+
"name": "convertToAssets",
|
|
1962
1982
|
"inputs": [
|
|
1963
1983
|
{
|
|
1964
1984
|
"name": "_shares",
|
|
1965
1985
|
"type": "uint256"
|
|
1966
1986
|
}
|
|
1967
1987
|
],
|
|
1968
|
-
"name": "convertToAssets",
|
|
1969
1988
|
"outputs": [
|
|
1970
1989
|
{
|
|
1971
1990
|
"name": "",
|
|
1972
1991
|
"type": "uint256"
|
|
1973
1992
|
}
|
|
1974
|
-
]
|
|
1975
|
-
"stateMutability": "view",
|
|
1976
|
-
"type": "function"
|
|
1993
|
+
]
|
|
1977
1994
|
},
|
|
1978
1995
|
{
|
|
1996
|
+
"stateMutability": "view",
|
|
1997
|
+
"type": "function",
|
|
1998
|
+
"name": "convertToAssetsSafe",
|
|
1979
1999
|
"inputs": [
|
|
1980
2000
|
{
|
|
1981
2001
|
"name": "_shares",
|
|
1982
2002
|
"type": "uint256"
|
|
1983
2003
|
}
|
|
1984
2004
|
],
|
|
1985
|
-
"name": "convertToAssetsSafe",
|
|
1986
2005
|
"outputs": [
|
|
1987
2006
|
{
|
|
1988
2007
|
"name": "",
|
|
1989
2008
|
"type": "uint256"
|
|
1990
2009
|
}
|
|
1991
|
-
]
|
|
1992
|
-
|
|
1993
|
-
|
|
2010
|
+
]
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"stateMutability": "nonpayable",
|
|
2014
|
+
"type": "function",
|
|
2015
|
+
"name": "sweepLeftovers",
|
|
2016
|
+
"inputs": [],
|
|
2017
|
+
"outputs": [
|
|
2018
|
+
{
|
|
2019
|
+
"name": "",
|
|
2020
|
+
"type": "uint256"
|
|
2021
|
+
}
|
|
2022
|
+
]
|
|
1994
2023
|
},
|
|
1995
2024
|
{
|
|
2025
|
+
"stateMutability": "nonpayable",
|
|
2026
|
+
"type": "constructor",
|
|
1996
2027
|
"inputs": [
|
|
1997
2028
|
{
|
|
1998
2029
|
"name": "_asset",
|
|
@@ -2023,9 +2054,7 @@ export const abi = [
|
|
|
2023
2054
|
"type": "address"
|
|
2024
2055
|
}
|
|
2025
2056
|
],
|
|
2026
|
-
"outputs": []
|
|
2027
|
-
"stateMutability": "nonpayable",
|
|
2028
|
-
"type": "constructor"
|
|
2057
|
+
"outputs": []
|
|
2029
2058
|
}
|
|
2030
2059
|
];
|
|
2031
2060
|
export const deployAddress = '0xb33852cfd0c22647AAC501a6Af59Bc4210a686Bf';
|
|
@@ -2132,6 +2161,7 @@ export const mutation = {
|
|
|
2132
2161
|
withdraw: getMutation('withdraw'),
|
|
2133
2162
|
redeem: getMutation('redeem'),
|
|
2134
2163
|
redeemWithMinAmountOut: getMutation('redeemWithMinAmountOut'),
|
|
2164
|
+
sweepLeftovers: getMutation('sweepLeftovers'),
|
|
2135
2165
|
};
|
|
2136
2166
|
export function parseEvents(eventName, events) {
|
|
2137
2167
|
return events.map((event) => {
|
|
@@ -2155,6 +2185,7 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
2155
2185
|
events: {
|
|
2156
2186
|
Deposit: { topic: getEventTopic('Deposit'), parse: (events) => parseEvents('Deposit', events) },
|
|
2157
2187
|
Withdraw: { topic: getEventTopic('Withdraw'), parse: (events) => parseEvents('Withdraw', events) },
|
|
2188
|
+
LeftoversSwept: { topic: getEventTopic('LeftoversSwept'), parse: (events) => parseEvents('LeftoversSwept', events) },
|
|
2158
2189
|
Transfer: { topic: getEventTopic('Transfer'), parse: (events) => parseEvents('Transfer', events) },
|
|
2159
2190
|
Approval: { topic: getEventTopic('Approval'), parse: (events) => parseEvents('Approval', events) },
|
|
2160
2191
|
BlacklistModified: { topic: getEventTopic('BlacklistModified'), parse: (events) => parseEvents('BlacklistModified', events) },
|
|
@@ -2231,5 +2262,6 @@ export function toSdk(deployAddress, publicClient, walletClient, addressResolver
|
|
|
2231
2262
|
withdraw: (...args) => mutate(walletClient, mutation.withdraw, { address: deployAddress, addressResolver })(...args),
|
|
2232
2263
|
redeem: (...args) => mutate(walletClient, mutation.redeem, { address: deployAddress, addressResolver })(...args),
|
|
2233
2264
|
redeemWithMinAmountOut: (...args) => mutate(walletClient, mutation.redeemWithMinAmountOut, { address: deployAddress, addressResolver })(...args),
|
|
2265
|
+
sweepLeftovers: (...args) => mutate(walletClient, mutation.sweepLeftovers, { address: deployAddress, addressResolver })(...args),
|
|
2234
2266
|
};
|
|
2235
2267
|
}
|