@underscore-finance/sdk 1.2.18 → 1.2.19

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