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