@underscore-finance/sdk 1.2.18 → 1.2.19

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