@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,3074 +3,3074 @@
3
3
  /* eslint-disable */
4
4
  /* @ts-nocheck */
5
5
  import { singleQuery, mutate } from '@dappql/async';
6
- import { encodeEventTopics, parseEventLogs, } from 'viem';
6
+ import { encodeEventTopics, parseEventLogs } from 'viem';
7
7
  export const abi = [
8
8
  {
9
- name: 'AvantisDeposit',
10
- inputs: [
9
+ "name": "AvantisDeposit",
10
+ "inputs": [
11
11
  {
12
- name: 'sender',
13
- type: 'address',
14
- indexed: true,
12
+ "name": "sender",
13
+ "type": "address",
14
+ "indexed": true
15
15
  },
16
16
  {
17
- name: 'asset',
18
- type: 'address',
19
- indexed: true,
17
+ "name": "asset",
18
+ "type": "address",
19
+ "indexed": true
20
20
  },
21
21
  {
22
- name: 'vaultToken',
23
- type: 'address',
24
- indexed: true,
22
+ "name": "vaultToken",
23
+ "type": "address",
24
+ "indexed": true
25
25
  },
26
26
  {
27
- name: 'assetAmountDeposited',
28
- type: 'uint256',
29
- indexed: false,
27
+ "name": "assetAmountDeposited",
28
+ "type": "uint256",
29
+ "indexed": false
30
30
  },
31
31
  {
32
- name: 'usdValue',
33
- type: 'uint256',
34
- indexed: false,
32
+ "name": "usdValue",
33
+ "type": "uint256",
34
+ "indexed": false
35
35
  },
36
36
  {
37
- name: 'vaultTokenAmountReceived',
38
- type: 'uint256',
39
- indexed: false,
37
+ "name": "vaultTokenAmountReceived",
38
+ "type": "uint256",
39
+ "indexed": false
40
40
  },
41
41
  {
42
- name: 'recipient',
43
- type: 'address',
44
- indexed: false,
45
- },
42
+ "name": "recipient",
43
+ "type": "address",
44
+ "indexed": false
45
+ }
46
46
  ],
47
- anonymous: false,
48
- type: 'event',
47
+ "anonymous": false,
48
+ "type": "event"
49
49
  },
50
50
  {
51
- name: 'AvantisWithdrawal',
52
- inputs: [
51
+ "name": "AvantisWithdrawal",
52
+ "inputs": [
53
53
  {
54
- name: 'sender',
55
- type: 'address',
56
- indexed: true,
54
+ "name": "sender",
55
+ "type": "address",
56
+ "indexed": true
57
57
  },
58
58
  {
59
- name: 'asset',
60
- type: 'address',
61
- indexed: true,
59
+ "name": "asset",
60
+ "type": "address",
61
+ "indexed": true
62
62
  },
63
63
  {
64
- name: 'vaultToken',
65
- type: 'address',
66
- indexed: true,
64
+ "name": "vaultToken",
65
+ "type": "address",
66
+ "indexed": true
67
67
  },
68
68
  {
69
- name: 'assetAmountReceived',
70
- type: 'uint256',
71
- indexed: false,
69
+ "name": "assetAmountReceived",
70
+ "type": "uint256",
71
+ "indexed": false
72
72
  },
73
73
  {
74
- name: 'usdValue',
75
- type: 'uint256',
76
- indexed: false,
74
+ "name": "usdValue",
75
+ "type": "uint256",
76
+ "indexed": false
77
77
  },
78
78
  {
79
- name: 'vaultTokenAmountBurned',
80
- type: 'uint256',
81
- indexed: false,
79
+ "name": "vaultTokenAmountBurned",
80
+ "type": "uint256",
81
+ "indexed": false
82
82
  },
83
83
  {
84
- name: 'recipient',
85
- type: 'address',
86
- indexed: false,
87
- },
84
+ "name": "recipient",
85
+ "type": "address",
86
+ "indexed": false
87
+ }
88
88
  ],
89
- anonymous: false,
90
- type: 'event',
89
+ "anonymous": false,
90
+ "type": "event"
91
91
  },
92
92
  {
93
- name: 'LegoPauseModified',
94
- inputs: [
93
+ "name": "LegoPauseModified",
94
+ "inputs": [
95
95
  {
96
- name: 'isPaused',
97
- type: 'bool',
98
- indexed: false,
99
- },
96
+ "name": "isPaused",
97
+ "type": "bool",
98
+ "indexed": false
99
+ }
100
100
  ],
101
- anonymous: false,
102
- type: 'event',
101
+ "anonymous": false,
102
+ "type": "event"
103
103
  },
104
104
  {
105
- name: 'LegoFundsRecovered',
106
- inputs: [
105
+ "name": "LegoFundsRecovered",
106
+ "inputs": [
107
107
  {
108
- name: 'asset',
109
- type: 'address',
110
- indexed: true,
108
+ "name": "asset",
109
+ "type": "address",
110
+ "indexed": true
111
111
  },
112
112
  {
113
- name: 'recipient',
114
- type: 'address',
115
- indexed: true,
113
+ "name": "recipient",
114
+ "type": "address",
115
+ "indexed": true
116
116
  },
117
117
  {
118
- name: 'balance',
119
- type: 'uint256',
120
- indexed: false,
121
- },
118
+ "name": "balance",
119
+ "type": "uint256",
120
+ "indexed": false
121
+ }
122
122
  ],
123
- anonymous: false,
124
- type: 'event',
123
+ "anonymous": false,
124
+ "type": "event"
125
125
  },
126
126
  {
127
- name: 'SnapShotPriceConfigSet',
128
- inputs: [
127
+ "name": "SnapShotPriceConfigSet",
128
+ "inputs": [
129
129
  {
130
- name: 'minSnapshotDelay',
131
- type: 'uint256',
132
- indexed: false,
130
+ "name": "minSnapshotDelay",
131
+ "type": "uint256",
132
+ "indexed": false
133
133
  },
134
134
  {
135
- name: 'maxNumSnapshots',
136
- type: 'uint256',
137
- indexed: false,
135
+ "name": "maxNumSnapshots",
136
+ "type": "uint256",
137
+ "indexed": false
138
138
  },
139
139
  {
140
- name: 'maxUpsideDeviation',
141
- type: 'uint256',
142
- indexed: false,
140
+ "name": "maxUpsideDeviation",
141
+ "type": "uint256",
142
+ "indexed": false
143
143
  },
144
144
  {
145
- name: 'staleTime',
146
- type: 'uint256',
147
- indexed: false,
148
- },
145
+ "name": "staleTime",
146
+ "type": "uint256",
147
+ "indexed": false
148
+ }
149
149
  ],
150
- anonymous: false,
151
- type: 'event',
150
+ "anonymous": false,
151
+ "type": "event"
152
152
  },
153
153
  {
154
- name: 'AssetOpportunityAdded',
155
- inputs: [
154
+ "name": "AssetOpportunityAdded",
155
+ "inputs": [
156
156
  {
157
- name: 'asset',
158
- type: 'address',
159
- indexed: true,
157
+ "name": "asset",
158
+ "type": "address",
159
+ "indexed": true
160
160
  },
161
161
  {
162
- name: 'vaultAddr',
163
- type: 'address',
164
- indexed: true,
165
- },
162
+ "name": "vaultAddr",
163
+ "type": "address",
164
+ "indexed": true
165
+ }
166
166
  ],
167
- anonymous: false,
168
- type: 'event',
167
+ "anonymous": false,
168
+ "type": "event"
169
169
  },
170
170
  {
171
- name: 'AssetOpportunityRemoved',
172
- inputs: [
171
+ "name": "AssetOpportunityRemoved",
172
+ "inputs": [
173
173
  {
174
- name: 'asset',
175
- type: 'address',
176
- indexed: true,
174
+ "name": "asset",
175
+ "type": "address",
176
+ "indexed": true
177
177
  },
178
178
  {
179
- name: 'vaultAddr',
180
- type: 'address',
181
- indexed: true,
182
- },
179
+ "name": "vaultAddr",
180
+ "type": "address",
181
+ "indexed": true
182
+ }
183
183
  ],
184
- anonymous: false,
185
- type: 'event',
184
+ "anonymous": false,
185
+ "type": "event"
186
186
  },
187
187
  {
188
- name: 'PricePerShareSnapShotAdded',
189
- inputs: [
188
+ "name": "PricePerShareSnapShotAdded",
189
+ "inputs": [
190
190
  {
191
- name: 'vaultToken',
192
- type: 'address',
193
- indexed: true,
191
+ "name": "vaultToken",
192
+ "type": "address",
193
+ "indexed": true
194
194
  },
195
195
  {
196
- name: 'totalSupply',
197
- type: 'uint256',
198
- indexed: false,
196
+ "name": "totalSupply",
197
+ "type": "uint256",
198
+ "indexed": false
199
199
  },
200
200
  {
201
- name: 'pricePerShare',
202
- type: 'uint256',
203
- indexed: false,
201
+ "name": "pricePerShare",
202
+ "type": "uint256",
203
+ "indexed": false
204
204
  },
205
205
  {
206
- name: 'lastAveragePricePerShare',
207
- type: 'uint256',
208
- indexed: false,
209
- },
206
+ "name": "lastAveragePricePerShare",
207
+ "type": "uint256",
208
+ "indexed": false
209
+ }
210
210
  ],
211
- anonymous: false,
212
- type: 'event',
211
+ "anonymous": false,
212
+ "type": "event"
213
213
  },
214
214
  {
215
- stateMutability: 'view',
216
- type: 'function',
217
- name: 'getAddys',
218
- inputs: [],
219
- outputs: [
215
+ "stateMutability": "view",
216
+ "type": "function",
217
+ "name": "getAddys",
218
+ "inputs": [],
219
+ "outputs": [
220
220
  {
221
- name: '',
222
- type: 'tuple',
223
- components: [
221
+ "name": "",
222
+ "type": "tuple",
223
+ "components": [
224
224
  {
225
- name: 'hq',
226
- type: 'address',
225
+ "name": "hq",
226
+ "type": "address"
227
227
  },
228
228
  {
229
- name: 'undyToken',
230
- type: 'address',
229
+ "name": "undyToken",
230
+ "type": "address"
231
231
  },
232
232
  {
233
- name: 'ledger',
234
- type: 'address',
233
+ "name": "ledger",
234
+ "type": "address"
235
235
  },
236
236
  {
237
- name: 'missionControl',
238
- type: 'address',
237
+ "name": "missionControl",
238
+ "type": "address"
239
239
  },
240
240
  {
241
- name: 'legoBook',
242
- type: 'address',
241
+ "name": "legoBook",
242
+ "type": "address"
243
243
  },
244
244
  {
245
- name: 'switchboard',
246
- type: 'address',
245
+ "name": "switchboard",
246
+ "type": "address"
247
247
  },
248
248
  {
249
- name: 'hatchery',
250
- type: 'address',
249
+ "name": "hatchery",
250
+ "type": "address"
251
251
  },
252
252
  {
253
- name: 'lootDistributor',
254
- type: 'address',
253
+ "name": "lootDistributor",
254
+ "type": "address"
255
255
  },
256
256
  {
257
- name: 'appraiser',
258
- type: 'address',
257
+ "name": "appraiser",
258
+ "type": "address"
259
259
  },
260
260
  {
261
- name: 'walletBackpack',
262
- type: 'address',
261
+ "name": "walletBackpack",
262
+ "type": "address"
263
263
  },
264
264
  {
265
- name: 'billing',
266
- type: 'address',
265
+ "name": "billing",
266
+ "type": "address"
267
267
  },
268
268
  {
269
- name: 'vaultRegistry',
270
- type: 'address',
271
- },
272
- ],
273
- },
274
- ],
269
+ "name": "vaultRegistry",
270
+ "type": "address"
271
+ }
272
+ ]
273
+ }
274
+ ]
275
275
  },
276
276
  {
277
- stateMutability: 'view',
278
- type: 'function',
279
- name: 'getUndyHq',
280
- inputs: [],
281
- outputs: [
277
+ "stateMutability": "view",
278
+ "type": "function",
279
+ "name": "getUndyHq",
280
+ "inputs": [],
281
+ "outputs": [
282
282
  {
283
- name: '',
284
- type: 'address',
285
- },
286
- ],
283
+ "name": "",
284
+ "type": "address"
285
+ }
286
+ ]
287
287
  },
288
288
  {
289
- stateMutability: 'view',
290
- type: 'function',
291
- name: 'isLegoAsset',
292
- inputs: [
289
+ "stateMutability": "view",
290
+ "type": "function",
291
+ "name": "isLegoAsset",
292
+ "inputs": [
293
293
  {
294
- name: '_asset',
295
- type: 'address',
296
- },
294
+ "name": "_asset",
295
+ "type": "address"
296
+ }
297
297
  ],
298
- outputs: [
298
+ "outputs": [
299
299
  {
300
- name: '',
301
- type: 'bool',
302
- },
303
- ],
300
+ "name": "",
301
+ "type": "bool"
302
+ }
303
+ ]
304
304
  },
305
305
  {
306
- stateMutability: 'view',
307
- type: 'function',
308
- name: 'getAssetOpportunities',
309
- inputs: [
306
+ "stateMutability": "view",
307
+ "type": "function",
308
+ "name": "getAssetOpportunities",
309
+ "inputs": [
310
310
  {
311
- name: '_asset',
312
- type: 'address',
313
- },
311
+ "name": "_asset",
312
+ "type": "address"
313
+ }
314
314
  ],
315
- outputs: [
315
+ "outputs": [
316
316
  {
317
- name: '',
318
- type: 'address[]',
319
- },
320
- ],
317
+ "name": "",
318
+ "type": "address[]"
319
+ }
320
+ ]
321
321
  },
322
322
  {
323
- stateMutability: 'view',
324
- type: 'function',
325
- name: 'getAssets',
326
- inputs: [],
327
- outputs: [
323
+ "stateMutability": "view",
324
+ "type": "function",
325
+ "name": "getAssets",
326
+ "inputs": [],
327
+ "outputs": [
328
328
  {
329
- name: '',
330
- type: 'address[]',
331
- },
332
- ],
329
+ "name": "",
330
+ "type": "address[]"
331
+ }
332
+ ]
333
333
  },
334
334
  {
335
- stateMutability: 'view',
336
- type: 'function',
337
- name: 'isAssetOpportunity',
338
- inputs: [
335
+ "stateMutability": "view",
336
+ "type": "function",
337
+ "name": "isAssetOpportunity",
338
+ "inputs": [
339
339
  {
340
- name: '_asset',
341
- type: 'address',
340
+ "name": "_asset",
341
+ "type": "address"
342
342
  },
343
343
  {
344
- name: '_vaultAddr',
345
- type: 'address',
346
- },
344
+ "name": "_vaultAddr",
345
+ "type": "address"
346
+ }
347
347
  ],
348
- outputs: [
348
+ "outputs": [
349
349
  {
350
- name: '',
351
- type: 'bool',
352
- },
353
- ],
350
+ "name": "",
351
+ "type": "bool"
352
+ }
353
+ ]
354
354
  },
355
355
  {
356
- stateMutability: 'view',
357
- type: 'function',
358
- name: 'getNumLegoAssets',
359
- inputs: [],
360
- outputs: [
356
+ "stateMutability": "view",
357
+ "type": "function",
358
+ "name": "getNumLegoAssets",
359
+ "inputs": [],
360
+ "outputs": [
361
361
  {
362
- name: '',
363
- type: 'uint256',
364
- },
365
- ],
362
+ "name": "",
363
+ "type": "uint256"
364
+ }
365
+ ]
366
366
  },
367
367
  {
368
- stateMutability: 'nonpayable',
369
- type: 'function',
370
- name: 'pause',
371
- inputs: [
368
+ "stateMutability": "nonpayable",
369
+ "type": "function",
370
+ "name": "pause",
371
+ "inputs": [
372
372
  {
373
- name: '_shouldPause',
374
- type: 'bool',
375
- },
373
+ "name": "_shouldPause",
374
+ "type": "bool"
375
+ }
376
376
  ],
377
- outputs: [],
377
+ "outputs": []
378
378
  },
379
379
  {
380
- stateMutability: 'nonpayable',
381
- type: 'function',
382
- name: 'recoverFunds',
383
- inputs: [
380
+ "stateMutability": "nonpayable",
381
+ "type": "function",
382
+ "name": "recoverFunds",
383
+ "inputs": [
384
384
  {
385
- name: '_recipient',
386
- type: 'address',
385
+ "name": "_recipient",
386
+ "type": "address"
387
387
  },
388
388
  {
389
- name: '_asset',
390
- type: 'address',
391
- },
389
+ "name": "_asset",
390
+ "type": "address"
391
+ }
392
392
  ],
393
- outputs: [],
393
+ "outputs": []
394
394
  },
395
395
  {
396
- stateMutability: 'nonpayable',
397
- type: 'function',
398
- name: 'recoverFundsMany',
399
- inputs: [
396
+ "stateMutability": "nonpayable",
397
+ "type": "function",
398
+ "name": "recoverFundsMany",
399
+ "inputs": [
400
400
  {
401
- name: '_recipient',
402
- type: 'address',
401
+ "name": "_recipient",
402
+ "type": "address"
403
403
  },
404
404
  {
405
- name: '_assets',
406
- type: 'address[]',
407
- },
405
+ "name": "_assets",
406
+ "type": "address[]"
407
+ }
408
408
  ],
409
- outputs: [],
409
+ "outputs": []
410
410
  },
411
411
  {
412
- stateMutability: 'view',
413
- type: 'function',
414
- name: 'getWeightedPricePerShare',
415
- inputs: [
412
+ "stateMutability": "view",
413
+ "type": "function",
414
+ "name": "getWeightedPricePerShare",
415
+ "inputs": [
416
416
  {
417
- name: '_vaultToken',
418
- type: 'address',
419
- },
417
+ "name": "_vaultToken",
418
+ "type": "address"
419
+ }
420
420
  ],
421
- outputs: [
421
+ "outputs": [
422
422
  {
423
- name: '',
424
- type: 'uint256',
425
- },
426
- ],
423
+ "name": "",
424
+ "type": "uint256"
425
+ }
426
+ ]
427
427
  },
428
428
  {
429
- stateMutability: 'view',
430
- type: 'function',
431
- name: 'getLatestSnapshot',
432
- inputs: [
429
+ "stateMutability": "view",
430
+ "type": "function",
431
+ "name": "getLatestSnapshot",
432
+ "inputs": [
433
433
  {
434
- name: '_vaultToken',
435
- type: 'address',
434
+ "name": "_vaultToken",
435
+ "type": "address"
436
436
  },
437
437
  {
438
- name: '_pricePerShare',
439
- type: 'uint256',
440
- },
438
+ "name": "_pricePerShare",
439
+ "type": "uint256"
440
+ }
441
441
  ],
442
- outputs: [
442
+ "outputs": [
443
443
  {
444
- name: '',
445
- type: 'tuple',
446
- components: [
444
+ "name": "",
445
+ "type": "tuple",
446
+ "components": [
447
447
  {
448
- name: 'totalSupply',
449
- type: 'uint256',
448
+ "name": "totalSupply",
449
+ "type": "uint256"
450
450
  },
451
451
  {
452
- name: 'pricePerShare',
453
- type: 'uint256',
452
+ "name": "pricePerShare",
453
+ "type": "uint256"
454
454
  },
455
455
  {
456
- name: 'lastUpdate',
457
- type: 'uint256',
458
- },
459
- ],
460
- },
461
- ],
456
+ "name": "lastUpdate",
457
+ "type": "uint256"
458
+ }
459
+ ]
460
+ }
461
+ ]
462
462
  },
463
463
  {
464
- stateMutability: 'nonpayable',
465
- type: 'function',
466
- name: 'setSnapShotPriceConfig',
467
- inputs: [
464
+ "stateMutability": "nonpayable",
465
+ "type": "function",
466
+ "name": "setSnapShotPriceConfig",
467
+ "inputs": [
468
468
  {
469
- name: '_config',
470
- type: 'tuple',
471
- components: [
469
+ "name": "_config",
470
+ "type": "tuple",
471
+ "components": [
472
472
  {
473
- name: 'minSnapshotDelay',
474
- type: 'uint256',
473
+ "name": "minSnapshotDelay",
474
+ "type": "uint256"
475
475
  },
476
476
  {
477
- name: 'maxNumSnapshots',
478
- type: 'uint256',
477
+ "name": "maxNumSnapshots",
478
+ "type": "uint256"
479
479
  },
480
480
  {
481
- name: 'maxUpsideDeviation',
482
- type: 'uint256',
481
+ "name": "maxUpsideDeviation",
482
+ "type": "uint256"
483
483
  },
484
484
  {
485
- name: 'staleTime',
486
- type: 'uint256',
487
- },
488
- ],
489
- },
485
+ "name": "staleTime",
486
+ "type": "uint256"
487
+ }
488
+ ]
489
+ }
490
490
  ],
491
- outputs: [],
491
+ "outputs": []
492
492
  },
493
493
  {
494
- stateMutability: 'view',
495
- type: 'function',
496
- name: 'isValidPriceConfig',
497
- inputs: [
494
+ "stateMutability": "view",
495
+ "type": "function",
496
+ "name": "isValidPriceConfig",
497
+ "inputs": [
498
498
  {
499
- name: '_config',
500
- type: 'tuple',
501
- components: [
499
+ "name": "_config",
500
+ "type": "tuple",
501
+ "components": [
502
502
  {
503
- name: 'minSnapshotDelay',
504
- type: 'uint256',
503
+ "name": "minSnapshotDelay",
504
+ "type": "uint256"
505
505
  },
506
506
  {
507
- name: 'maxNumSnapshots',
508
- type: 'uint256',
507
+ "name": "maxNumSnapshots",
508
+ "type": "uint256"
509
509
  },
510
510
  {
511
- name: 'maxUpsideDeviation',
512
- type: 'uint256',
511
+ "name": "maxUpsideDeviation",
512
+ "type": "uint256"
513
513
  },
514
514
  {
515
- name: 'staleTime',
516
- type: 'uint256',
517
- },
518
- ],
519
- },
515
+ "name": "staleTime",
516
+ "type": "uint256"
517
+ }
518
+ ]
519
+ }
520
520
  ],
521
- outputs: [
521
+ "outputs": [
522
522
  {
523
- name: '',
524
- type: 'bool',
525
- },
526
- ],
523
+ "name": "",
524
+ "type": "bool"
525
+ }
526
+ ]
527
527
  },
528
528
  {
529
- stateMutability: 'view',
530
- type: 'function',
531
- name: 'vaultToAsset',
532
- inputs: [
529
+ "stateMutability": "view",
530
+ "type": "function",
531
+ "name": "vaultToAsset",
532
+ "inputs": [
533
533
  {
534
- name: 'arg0',
535
- type: 'address',
536
- },
534
+ "name": "arg0",
535
+ "type": "address"
536
+ }
537
537
  ],
538
- outputs: [
538
+ "outputs": [
539
539
  {
540
- name: '',
541
- type: 'tuple',
542
- components: [
540
+ "name": "",
541
+ "type": "tuple",
542
+ "components": [
543
543
  {
544
- name: 'underlyingAsset',
545
- type: 'address',
544
+ "name": "underlyingAsset",
545
+ "type": "address"
546
546
  },
547
547
  {
548
- name: 'decimals',
549
- type: 'uint256',
548
+ "name": "decimals",
549
+ "type": "uint256"
550
550
  },
551
551
  {
552
- name: 'lastAveragePricePerShare',
553
- type: 'uint256',
554
- },
555
- ],
556
- },
557
- ],
552
+ "name": "lastAveragePricePerShare",
553
+ "type": "uint256"
554
+ }
555
+ ]
556
+ }
557
+ ]
558
558
  },
559
559
  {
560
- stateMutability: 'view',
561
- type: 'function',
562
- name: 'assetOpportunities',
563
- inputs: [
560
+ "stateMutability": "view",
561
+ "type": "function",
562
+ "name": "assetOpportunities",
563
+ "inputs": [
564
564
  {
565
- name: 'arg0',
566
- type: 'address',
565
+ "name": "arg0",
566
+ "type": "address"
567
567
  },
568
568
  {
569
- name: 'arg1',
570
- type: 'uint256',
571
- },
569
+ "name": "arg1",
570
+ "type": "uint256"
571
+ }
572
572
  ],
573
- outputs: [
573
+ "outputs": [
574
574
  {
575
- name: '',
576
- type: 'address',
577
- },
578
- ],
575
+ "name": "",
576
+ "type": "address"
577
+ }
578
+ ]
579
579
  },
580
580
  {
581
- stateMutability: 'view',
582
- type: 'function',
583
- name: 'indexOfAssetOpportunity',
584
- inputs: [
581
+ "stateMutability": "view",
582
+ "type": "function",
583
+ "name": "indexOfAssetOpportunity",
584
+ "inputs": [
585
585
  {
586
- name: 'arg0',
587
- type: 'address',
586
+ "name": "arg0",
587
+ "type": "address"
588
588
  },
589
589
  {
590
- name: 'arg1',
591
- type: 'address',
592
- },
590
+ "name": "arg1",
591
+ "type": "address"
592
+ }
593
593
  ],
594
- outputs: [
594
+ "outputs": [
595
595
  {
596
- name: '',
597
- type: 'uint256',
598
- },
599
- ],
596
+ "name": "",
597
+ "type": "uint256"
598
+ }
599
+ ]
600
600
  },
601
601
  {
602
- stateMutability: 'view',
603
- type: 'function',
604
- name: 'numAssetOpportunities',
605
- inputs: [
602
+ "stateMutability": "view",
603
+ "type": "function",
604
+ "name": "numAssetOpportunities",
605
+ "inputs": [
606
606
  {
607
- name: 'arg0',
608
- type: 'address',
609
- },
607
+ "name": "arg0",
608
+ "type": "address"
609
+ }
610
610
  ],
611
- outputs: [
611
+ "outputs": [
612
612
  {
613
- name: '',
614
- type: 'uint256',
615
- },
616
- ],
613
+ "name": "",
614
+ "type": "uint256"
615
+ }
616
+ ]
617
617
  },
618
618
  {
619
- stateMutability: 'view',
620
- type: 'function',
621
- name: 'assets',
622
- inputs: [
619
+ "stateMutability": "view",
620
+ "type": "function",
621
+ "name": "assets",
622
+ "inputs": [
623
623
  {
624
- name: 'arg0',
625
- type: 'uint256',
626
- },
624
+ "name": "arg0",
625
+ "type": "uint256"
626
+ }
627
627
  ],
628
- outputs: [
628
+ "outputs": [
629
629
  {
630
- name: '',
631
- type: 'address',
632
- },
633
- ],
630
+ "name": "",
631
+ "type": "address"
632
+ }
633
+ ]
634
634
  },
635
635
  {
636
- stateMutability: 'view',
637
- type: 'function',
638
- name: 'indexOfAsset',
639
- inputs: [
636
+ "stateMutability": "view",
637
+ "type": "function",
638
+ "name": "indexOfAsset",
639
+ "inputs": [
640
640
  {
641
- name: 'arg0',
642
- type: 'address',
643
- },
641
+ "name": "arg0",
642
+ "type": "address"
643
+ }
644
644
  ],
645
- outputs: [
645
+ "outputs": [
646
646
  {
647
- name: '',
648
- type: 'uint256',
649
- },
650
- ],
647
+ "name": "",
648
+ "type": "uint256"
649
+ }
650
+ ]
651
651
  },
652
652
  {
653
- stateMutability: 'view',
654
- type: 'function',
655
- name: 'numAssets',
656
- inputs: [],
657
- outputs: [
653
+ "stateMutability": "view",
654
+ "type": "function",
655
+ "name": "numAssets",
656
+ "inputs": [],
657
+ "outputs": [
658
658
  {
659
- name: '',
660
- type: 'uint256',
661
- },
662
- ],
659
+ "name": "",
660
+ "type": "uint256"
661
+ }
662
+ ]
663
663
  },
664
664
  {
665
- stateMutability: 'view',
666
- type: 'function',
667
- name: 'snapShotData',
668
- inputs: [
665
+ "stateMutability": "view",
666
+ "type": "function",
667
+ "name": "snapShotData",
668
+ "inputs": [
669
669
  {
670
- name: 'arg0',
671
- type: 'address',
672
- },
670
+ "name": "arg0",
671
+ "type": "address"
672
+ }
673
673
  ],
674
- outputs: [
674
+ "outputs": [
675
675
  {
676
- name: '',
677
- type: 'tuple',
678
- components: [
676
+ "name": "",
677
+ "type": "tuple",
678
+ "components": [
679
679
  {
680
- name: 'lastSnapShot',
681
- type: 'tuple',
682
- components: [
680
+ "name": "lastSnapShot",
681
+ "type": "tuple",
682
+ "components": [
683
683
  {
684
- name: 'totalSupply',
685
- type: 'uint256',
684
+ "name": "totalSupply",
685
+ "type": "uint256"
686
686
  },
687
687
  {
688
- name: 'pricePerShare',
689
- type: 'uint256',
688
+ "name": "pricePerShare",
689
+ "type": "uint256"
690
690
  },
691
691
  {
692
- name: 'lastUpdate',
693
- type: 'uint256',
694
- },
695
- ],
692
+ "name": "lastUpdate",
693
+ "type": "uint256"
694
+ }
695
+ ]
696
696
  },
697
697
  {
698
- name: 'nextIndex',
699
- type: 'uint256',
700
- },
701
- ],
702
- },
703
- ],
698
+ "name": "nextIndex",
699
+ "type": "uint256"
700
+ }
701
+ ]
702
+ }
703
+ ]
704
704
  },
705
705
  {
706
- stateMutability: 'view',
707
- type: 'function',
708
- name: 'snapShots',
709
- inputs: [
706
+ "stateMutability": "view",
707
+ "type": "function",
708
+ "name": "snapShots",
709
+ "inputs": [
710
710
  {
711
- name: 'arg0',
712
- type: 'address',
711
+ "name": "arg0",
712
+ "type": "address"
713
713
  },
714
714
  {
715
- name: 'arg1',
716
- type: 'uint256',
717
- },
715
+ "name": "arg1",
716
+ "type": "uint256"
717
+ }
718
718
  ],
719
- outputs: [
719
+ "outputs": [
720
720
  {
721
- name: '',
722
- type: 'tuple',
723
- components: [
721
+ "name": "",
722
+ "type": "tuple",
723
+ "components": [
724
724
  {
725
- name: 'totalSupply',
726
- type: 'uint256',
725
+ "name": "totalSupply",
726
+ "type": "uint256"
727
727
  },
728
728
  {
729
- name: 'pricePerShare',
730
- type: 'uint256',
729
+ "name": "pricePerShare",
730
+ "type": "uint256"
731
731
  },
732
732
  {
733
- name: 'lastUpdate',
734
- type: 'uint256',
735
- },
736
- ],
737
- },
738
- ],
733
+ "name": "lastUpdate",
734
+ "type": "uint256"
735
+ }
736
+ ]
737
+ }
738
+ ]
739
739
  },
740
740
  {
741
- stateMutability: 'view',
742
- type: 'function',
743
- name: 'snapShotPriceConfig',
744
- inputs: [],
745
- outputs: [
741
+ "stateMutability": "view",
742
+ "type": "function",
743
+ "name": "snapShotPriceConfig",
744
+ "inputs": [],
745
+ "outputs": [
746
746
  {
747
- name: '',
748
- type: 'tuple',
749
- components: [
747
+ "name": "",
748
+ "type": "tuple",
749
+ "components": [
750
750
  {
751
- name: 'minSnapshotDelay',
752
- type: 'uint256',
751
+ "name": "minSnapshotDelay",
752
+ "type": "uint256"
753
753
  },
754
754
  {
755
- name: 'maxNumSnapshots',
756
- type: 'uint256',
755
+ "name": "maxNumSnapshots",
756
+ "type": "uint256"
757
757
  },
758
758
  {
759
- name: 'maxUpsideDeviation',
760
- type: 'uint256',
759
+ "name": "maxUpsideDeviation",
760
+ "type": "uint256"
761
761
  },
762
762
  {
763
- name: 'staleTime',
764
- type: 'uint256',
765
- },
766
- ],
767
- },
768
- ],
763
+ "name": "staleTime",
764
+ "type": "uint256"
765
+ }
766
+ ]
767
+ }
768
+ ]
769
769
  },
770
770
  {
771
- stateMutability: 'view',
772
- type: 'function',
773
- name: 'isPaused',
774
- inputs: [],
775
- outputs: [
771
+ "stateMutability": "view",
772
+ "type": "function",
773
+ "name": "isPaused",
774
+ "inputs": [],
775
+ "outputs": [
776
776
  {
777
- name: '',
778
- type: 'bool',
779
- },
780
- ],
777
+ "name": "",
778
+ "type": "bool"
779
+ }
780
+ ]
781
781
  },
782
782
  {
783
- stateMutability: 'view',
784
- type: 'function',
785
- name: 'hasCapability',
786
- inputs: [
783
+ "stateMutability": "view",
784
+ "type": "function",
785
+ "name": "hasCapability",
786
+ "inputs": [
787
787
  {
788
- name: '_action',
789
- type: 'uint256',
790
- },
788
+ "name": "_action",
789
+ "type": "uint256"
790
+ }
791
791
  ],
792
- outputs: [
792
+ "outputs": [
793
793
  {
794
- name: '',
795
- type: 'bool',
796
- },
797
- ],
794
+ "name": "",
795
+ "type": "bool"
796
+ }
797
+ ]
798
798
  },
799
799
  {
800
- stateMutability: 'view',
801
- type: 'function',
802
- name: 'getRegistries',
803
- inputs: [],
804
- outputs: [
800
+ "stateMutability": "view",
801
+ "type": "function",
802
+ "name": "getRegistries",
803
+ "inputs": [],
804
+ "outputs": [
805
805
  {
806
- name: '',
807
- type: 'address[]',
808
- },
809
- ],
806
+ "name": "",
807
+ "type": "address[]"
808
+ }
809
+ ]
810
810
  },
811
811
  {
812
- stateMutability: 'view',
813
- type: 'function',
814
- name: 'isYieldLego',
815
- inputs: [],
816
- outputs: [
812
+ "stateMutability": "view",
813
+ "type": "function",
814
+ "name": "isYieldLego",
815
+ "inputs": [],
816
+ "outputs": [
817
817
  {
818
- name: '',
819
- type: 'bool',
820
- },
821
- ],
818
+ "name": "",
819
+ "type": "bool"
820
+ }
821
+ ]
822
822
  },
823
823
  {
824
- stateMutability: 'view',
825
- type: 'function',
826
- name: 'isDexLego',
827
- inputs: [],
828
- outputs: [
824
+ "stateMutability": "view",
825
+ "type": "function",
826
+ "name": "isDexLego",
827
+ "inputs": [],
828
+ "outputs": [
829
829
  {
830
- name: '',
831
- type: 'bool',
832
- },
833
- ],
830
+ "name": "",
831
+ "type": "bool"
832
+ }
833
+ ]
834
834
  },
835
835
  {
836
- stateMutability: 'view',
837
- type: 'function',
838
- name: 'getUnderlyingAsset',
839
- inputs: [
836
+ "stateMutability": "view",
837
+ "type": "function",
838
+ "name": "getUnderlyingAsset",
839
+ "inputs": [
840
840
  {
841
- name: '_vaultToken',
842
- type: 'address',
843
- },
841
+ "name": "_vaultToken",
842
+ "type": "address"
843
+ }
844
844
  ],
845
- outputs: [
845
+ "outputs": [
846
846
  {
847
- name: '',
848
- type: 'address',
849
- },
850
- ],
847
+ "name": "",
848
+ "type": "address"
849
+ }
850
+ ]
851
851
  },
852
852
  {
853
- stateMutability: 'view',
854
- type: 'function',
855
- name: 'getUnderlyingBalances',
856
- inputs: [
853
+ "stateMutability": "view",
854
+ "type": "function",
855
+ "name": "getUnderlyingBalances",
856
+ "inputs": [
857
857
  {
858
- name: '_vaultToken',
859
- type: 'address',
858
+ "name": "_vaultToken",
859
+ "type": "address"
860
860
  },
861
861
  {
862
- name: '_vaultTokenBalance',
863
- type: 'uint256',
864
- },
862
+ "name": "_vaultTokenBalance",
863
+ "type": "uint256"
864
+ }
865
865
  ],
866
- outputs: [
866
+ "outputs": [
867
867
  {
868
- name: '',
869
- type: 'uint256',
868
+ "name": "",
869
+ "type": "uint256"
870
870
  },
871
871
  {
872
- name: '',
873
- type: 'uint256',
874
- },
875
- ],
872
+ "name": "",
873
+ "type": "uint256"
874
+ }
875
+ ]
876
876
  },
877
877
  {
878
- stateMutability: 'view',
879
- type: 'function',
880
- name: 'getUnderlyingAmount',
881
- inputs: [
878
+ "stateMutability": "view",
879
+ "type": "function",
880
+ "name": "getUnderlyingAmount",
881
+ "inputs": [
882
882
  {
883
- name: '_vaultToken',
884
- type: 'address',
883
+ "name": "_vaultToken",
884
+ "type": "address"
885
885
  },
886
886
  {
887
- name: '_vaultTokenAmount',
888
- type: 'uint256',
889
- },
887
+ "name": "_vaultTokenAmount",
888
+ "type": "uint256"
889
+ }
890
890
  ],
891
- outputs: [
891
+ "outputs": [
892
892
  {
893
- name: '',
894
- type: 'uint256',
895
- },
896
- ],
893
+ "name": "",
894
+ "type": "uint256"
895
+ }
896
+ ]
897
897
  },
898
898
  {
899
- stateMutability: 'view',
900
- type: 'function',
901
- name: 'getUnderlyingAmountSafe',
902
- inputs: [
899
+ "stateMutability": "view",
900
+ "type": "function",
901
+ "name": "getUnderlyingAmountSafe",
902
+ "inputs": [
903
903
  {
904
- name: '_vaultToken',
905
- type: 'address',
904
+ "name": "_vaultToken",
905
+ "type": "address"
906
906
  },
907
907
  {
908
- name: '_vaultTokenBalance',
909
- type: 'uint256',
910
- },
908
+ "name": "_vaultTokenBalance",
909
+ "type": "uint256"
910
+ }
911
911
  ],
912
- outputs: [
912
+ "outputs": [
913
913
  {
914
- name: '',
915
- type: 'uint256',
916
- },
917
- ],
914
+ "name": "",
915
+ "type": "uint256"
916
+ }
917
+ ]
918
918
  },
919
919
  {
920
- stateMutability: 'view',
921
- type: 'function',
922
- name: 'getUnderlyingData',
923
- inputs: [
920
+ "stateMutability": "view",
921
+ "type": "function",
922
+ "name": "getUnderlyingData",
923
+ "inputs": [
924
924
  {
925
- name: '_vaultToken',
926
- type: 'address',
925
+ "name": "_vaultToken",
926
+ "type": "address"
927
927
  },
928
928
  {
929
- name: '_vaultTokenAmount',
930
- type: 'uint256',
931
- },
929
+ "name": "_vaultTokenAmount",
930
+ "type": "uint256"
931
+ }
932
932
  ],
933
- outputs: [
933
+ "outputs": [
934
934
  {
935
- name: '',
936
- type: 'address',
935
+ "name": "",
936
+ "type": "address"
937
937
  },
938
938
  {
939
- name: '',
940
- type: 'uint256',
939
+ "name": "",
940
+ "type": "uint256"
941
941
  },
942
942
  {
943
- name: '',
944
- type: 'uint256',
945
- },
946
- ],
943
+ "name": "",
944
+ "type": "uint256"
945
+ }
946
+ ]
947
947
  },
948
948
  {
949
- stateMutability: 'view',
950
- type: 'function',
951
- name: 'getUnderlyingData',
952
- inputs: [
949
+ "stateMutability": "view",
950
+ "type": "function",
951
+ "name": "getUnderlyingData",
952
+ "inputs": [
953
953
  {
954
- name: '_vaultToken',
955
- type: 'address',
954
+ "name": "_vaultToken",
955
+ "type": "address"
956
956
  },
957
957
  {
958
- name: '_vaultTokenAmount',
959
- type: 'uint256',
958
+ "name": "_vaultTokenAmount",
959
+ "type": "uint256"
960
960
  },
961
961
  {
962
- name: '_appraiser',
963
- type: 'address',
964
- },
962
+ "name": "_appraiser",
963
+ "type": "address"
964
+ }
965
965
  ],
966
- outputs: [
966
+ "outputs": [
967
967
  {
968
- name: '',
969
- type: 'address',
968
+ "name": "",
969
+ "type": "address"
970
970
  },
971
971
  {
972
- name: '',
973
- type: 'uint256',
972
+ "name": "",
973
+ "type": "uint256"
974
974
  },
975
975
  {
976
- name: '',
977
- type: 'uint256',
978
- },
979
- ],
976
+ "name": "",
977
+ "type": "uint256"
978
+ }
979
+ ]
980
980
  },
981
981
  {
982
- stateMutability: 'view',
983
- type: 'function',
984
- name: 'getUsdValueOfVaultToken',
985
- inputs: [
982
+ "stateMutability": "view",
983
+ "type": "function",
984
+ "name": "getUsdValueOfVaultToken",
985
+ "inputs": [
986
986
  {
987
- name: '_vaultToken',
988
- type: 'address',
987
+ "name": "_vaultToken",
988
+ "type": "address"
989
989
  },
990
990
  {
991
- name: '_vaultTokenAmount',
992
- type: 'uint256',
993
- },
991
+ "name": "_vaultTokenAmount",
992
+ "type": "uint256"
993
+ }
994
994
  ],
995
- outputs: [
995
+ "outputs": [
996
996
  {
997
- name: '',
998
- type: 'uint256',
999
- },
1000
- ],
997
+ "name": "",
998
+ "type": "uint256"
999
+ }
1000
+ ]
1001
1001
  },
1002
1002
  {
1003
- stateMutability: 'view',
1004
- type: 'function',
1005
- name: 'getUsdValueOfVaultToken',
1006
- inputs: [
1003
+ "stateMutability": "view",
1004
+ "type": "function",
1005
+ "name": "getUsdValueOfVaultToken",
1006
+ "inputs": [
1007
1007
  {
1008
- name: '_vaultToken',
1009
- type: 'address',
1008
+ "name": "_vaultToken",
1009
+ "type": "address"
1010
1010
  },
1011
1011
  {
1012
- name: '_vaultTokenAmount',
1013
- type: 'uint256',
1012
+ "name": "_vaultTokenAmount",
1013
+ "type": "uint256"
1014
1014
  },
1015
1015
  {
1016
- name: '_appraiser',
1017
- type: 'address',
1018
- },
1016
+ "name": "_appraiser",
1017
+ "type": "address"
1018
+ }
1019
1019
  ],
1020
- outputs: [
1020
+ "outputs": [
1021
1021
  {
1022
- name: '',
1023
- type: 'uint256',
1024
- },
1025
- ],
1022
+ "name": "",
1023
+ "type": "uint256"
1024
+ }
1025
+ ]
1026
1026
  },
1027
1027
  {
1028
- stateMutability: 'view',
1029
- type: 'function',
1030
- name: 'isRebasing',
1031
- inputs: [],
1032
- outputs: [
1028
+ "stateMutability": "view",
1029
+ "type": "function",
1030
+ "name": "isRebasing",
1031
+ "inputs": [],
1032
+ "outputs": [
1033
1033
  {
1034
- name: '',
1035
- type: 'bool',
1036
- },
1037
- ],
1034
+ "name": "",
1035
+ "type": "bool"
1036
+ }
1037
+ ]
1038
1038
  },
1039
1039
  {
1040
- stateMutability: 'view',
1041
- type: 'function',
1042
- name: 'getPricePerShare',
1043
- inputs: [
1040
+ "stateMutability": "view",
1041
+ "type": "function",
1042
+ "name": "getPricePerShare",
1043
+ "inputs": [
1044
1044
  {
1045
- name: '_vaultToken',
1046
- type: 'address',
1047
- },
1045
+ "name": "_vaultToken",
1046
+ "type": "address"
1047
+ }
1048
1048
  ],
1049
- outputs: [
1049
+ "outputs": [
1050
1050
  {
1051
- name: '',
1052
- type: 'uint256',
1053
- },
1054
- ],
1051
+ "name": "",
1052
+ "type": "uint256"
1053
+ }
1054
+ ]
1055
1055
  },
1056
1056
  {
1057
- stateMutability: 'view',
1058
- type: 'function',
1059
- name: 'getPricePerShare',
1060
- inputs: [
1057
+ "stateMutability": "view",
1058
+ "type": "function",
1059
+ "name": "getPricePerShare",
1060
+ "inputs": [
1061
1061
  {
1062
- name: '_vaultToken',
1063
- type: 'address',
1062
+ "name": "_vaultToken",
1063
+ "type": "address"
1064
1064
  },
1065
1065
  {
1066
- name: '_decimals',
1067
- type: 'uint256',
1068
- },
1066
+ "name": "_decimals",
1067
+ "type": "uint256"
1068
+ }
1069
1069
  ],
1070
- outputs: [
1070
+ "outputs": [
1071
1071
  {
1072
- name: '',
1073
- type: 'uint256',
1074
- },
1075
- ],
1072
+ "name": "",
1073
+ "type": "uint256"
1074
+ }
1075
+ ]
1076
1076
  },
1077
1077
  {
1078
- stateMutability: 'view',
1079
- type: 'function',
1080
- name: 'getVaultTokenAmount',
1081
- inputs: [
1078
+ "stateMutability": "view",
1079
+ "type": "function",
1080
+ "name": "getVaultTokenAmount",
1081
+ "inputs": [
1082
1082
  {
1083
- name: '_asset',
1084
- type: 'address',
1083
+ "name": "_asset",
1084
+ "type": "address"
1085
1085
  },
1086
1086
  {
1087
- name: '_assetAmount',
1088
- type: 'uint256',
1087
+ "name": "_assetAmount",
1088
+ "type": "uint256"
1089
1089
  },
1090
1090
  {
1091
- name: '_vaultToken',
1092
- type: 'address',
1093
- },
1091
+ "name": "_vaultToken",
1092
+ "type": "address"
1093
+ }
1094
1094
  ],
1095
- outputs: [
1095
+ "outputs": [
1096
1096
  {
1097
- name: '',
1098
- type: 'uint256',
1099
- },
1100
- ],
1097
+ "name": "",
1098
+ "type": "uint256"
1099
+ }
1100
+ ]
1101
1101
  },
1102
1102
  {
1103
- stateMutability: 'view',
1104
- type: 'function',
1105
- name: 'totalAssets',
1106
- inputs: [
1103
+ "stateMutability": "view",
1104
+ "type": "function",
1105
+ "name": "totalAssets",
1106
+ "inputs": [
1107
1107
  {
1108
- name: '_vaultToken',
1109
- type: 'address',
1110
- },
1108
+ "name": "_vaultToken",
1109
+ "type": "address"
1110
+ }
1111
1111
  ],
1112
- outputs: [
1112
+ "outputs": [
1113
1113
  {
1114
- name: '',
1115
- type: 'uint256',
1116
- },
1117
- ],
1114
+ "name": "",
1115
+ "type": "uint256"
1116
+ }
1117
+ ]
1118
1118
  },
1119
1119
  {
1120
- stateMutability: 'view',
1121
- type: 'function',
1122
- name: 'totalBorrows',
1123
- inputs: [
1120
+ "stateMutability": "view",
1121
+ "type": "function",
1122
+ "name": "totalBorrows",
1123
+ "inputs": [
1124
1124
  {
1125
- name: '_vaultToken',
1126
- type: 'address',
1127
- },
1125
+ "name": "_vaultToken",
1126
+ "type": "address"
1127
+ }
1128
1128
  ],
1129
- outputs: [
1129
+ "outputs": [
1130
1130
  {
1131
- name: '',
1132
- type: 'uint256',
1133
- },
1134
- ],
1131
+ "name": "",
1132
+ "type": "uint256"
1133
+ }
1134
+ ]
1135
1135
  },
1136
1136
  {
1137
- stateMutability: 'view',
1138
- type: 'function',
1139
- name: 'getAvailLiquidity',
1140
- inputs: [
1137
+ "stateMutability": "view",
1138
+ "type": "function",
1139
+ "name": "getAvailLiquidity",
1140
+ "inputs": [
1141
1141
  {
1142
- name: '_vaultToken',
1143
- type: 'address',
1144
- },
1142
+ "name": "_vaultToken",
1143
+ "type": "address"
1144
+ }
1145
1145
  ],
1146
- outputs: [
1146
+ "outputs": [
1147
1147
  {
1148
- name: '',
1149
- type: 'uint256',
1150
- },
1151
- ],
1148
+ "name": "",
1149
+ "type": "uint256"
1150
+ }
1151
+ ]
1152
1152
  },
1153
1153
  {
1154
- stateMutability: 'view',
1155
- type: 'function',
1156
- name: 'getUtilizationRatio',
1157
- inputs: [
1154
+ "stateMutability": "view",
1155
+ "type": "function",
1156
+ "name": "getUtilizationRatio",
1157
+ "inputs": [
1158
1158
  {
1159
- name: '_vaultToken',
1160
- type: 'address',
1161
- },
1159
+ "name": "_vaultToken",
1160
+ "type": "address"
1161
+ }
1162
1162
  ],
1163
- outputs: [
1163
+ "outputs": [
1164
1164
  {
1165
- name: '',
1166
- type: 'uint256',
1167
- },
1168
- ],
1165
+ "name": "",
1166
+ "type": "uint256"
1167
+ }
1168
+ ]
1169
1169
  },
1170
1170
  {
1171
- stateMutability: 'view',
1172
- type: 'function',
1173
- name: 'isEligibleForYieldBonus',
1174
- inputs: [
1171
+ "stateMutability": "view",
1172
+ "type": "function",
1173
+ "name": "isEligibleForYieldBonus",
1174
+ "inputs": [
1175
1175
  {
1176
- name: '_asset',
1177
- type: 'address',
1178
- },
1176
+ "name": "_asset",
1177
+ "type": "address"
1178
+ }
1179
1179
  ],
1180
- outputs: [
1180
+ "outputs": [
1181
1181
  {
1182
- name: '',
1183
- type: 'bool',
1184
- },
1185
- ],
1182
+ "name": "",
1183
+ "type": "bool"
1184
+ }
1185
+ ]
1186
1186
  },
1187
1187
  {
1188
- stateMutability: 'view',
1189
- type: 'function',
1190
- name: 'getWithdrawalFees',
1191
- inputs: [
1188
+ "stateMutability": "view",
1189
+ "type": "function",
1190
+ "name": "getWithdrawalFees",
1191
+ "inputs": [
1192
1192
  {
1193
- name: '_vaultToken',
1194
- type: 'address',
1193
+ "name": "_vaultToken",
1194
+ "type": "address"
1195
1195
  },
1196
1196
  {
1197
- name: '_vaultTokenAmount',
1198
- type: 'uint256',
1199
- },
1197
+ "name": "_vaultTokenAmount",
1198
+ "type": "uint256"
1199
+ }
1200
1200
  ],
1201
- outputs: [
1201
+ "outputs": [
1202
1202
  {
1203
- name: '',
1204
- type: 'uint256',
1205
- },
1206
- ],
1203
+ "name": "",
1204
+ "type": "uint256"
1205
+ }
1206
+ ]
1207
1207
  },
1208
1208
  {
1209
- stateMutability: 'view',
1210
- type: 'function',
1211
- name: 'canRegisterVaultToken',
1212
- inputs: [
1209
+ "stateMutability": "view",
1210
+ "type": "function",
1211
+ "name": "canRegisterVaultToken",
1212
+ "inputs": [
1213
1213
  {
1214
- name: '_asset',
1215
- type: 'address',
1214
+ "name": "_asset",
1215
+ "type": "address"
1216
1216
  },
1217
1217
  {
1218
- name: '_vaultToken',
1219
- type: 'address',
1220
- },
1218
+ "name": "_vaultToken",
1219
+ "type": "address"
1220
+ }
1221
1221
  ],
1222
- outputs: [
1222
+ "outputs": [
1223
1223
  {
1224
- name: '',
1225
- type: 'bool',
1226
- },
1227
- ],
1224
+ "name": "",
1225
+ "type": "bool"
1226
+ }
1227
+ ]
1228
1228
  },
1229
1229
  {
1230
- stateMutability: 'nonpayable',
1231
- type: 'function',
1232
- name: 'registerVaultTokenLocally',
1233
- inputs: [
1230
+ "stateMutability": "nonpayable",
1231
+ "type": "function",
1232
+ "name": "registerVaultTokenLocally",
1233
+ "inputs": [
1234
1234
  {
1235
- name: '_asset',
1236
- type: 'address',
1235
+ "name": "_asset",
1236
+ "type": "address"
1237
1237
  },
1238
1238
  {
1239
- name: '_vaultAddr',
1240
- type: 'address',
1241
- },
1239
+ "name": "_vaultAddr",
1240
+ "type": "address"
1241
+ }
1242
1242
  ],
1243
- outputs: [
1243
+ "outputs": [
1244
1244
  {
1245
- name: '',
1246
- type: 'tuple',
1247
- components: [
1245
+ "name": "",
1246
+ "type": "tuple",
1247
+ "components": [
1248
1248
  {
1249
- name: 'underlyingAsset',
1250
- type: 'address',
1249
+ "name": "underlyingAsset",
1250
+ "type": "address"
1251
1251
  },
1252
1252
  {
1253
- name: 'decimals',
1254
- type: 'uint256',
1253
+ "name": "decimals",
1254
+ "type": "uint256"
1255
1255
  },
1256
1256
  {
1257
- name: 'lastAveragePricePerShare',
1258
- type: 'uint256',
1259
- },
1260
- ],
1261
- },
1262
- ],
1257
+ "name": "lastAveragePricePerShare",
1258
+ "type": "uint256"
1259
+ }
1260
+ ]
1261
+ }
1262
+ ]
1263
1263
  },
1264
1264
  {
1265
- stateMutability: 'nonpayable',
1266
- type: 'function',
1267
- name: 'deregisterVaultTokenLocally',
1268
- inputs: [
1265
+ "stateMutability": "nonpayable",
1266
+ "type": "function",
1267
+ "name": "deregisterVaultTokenLocally",
1268
+ "inputs": [
1269
1269
  {
1270
- name: '_asset',
1271
- type: 'address',
1270
+ "name": "_asset",
1271
+ "type": "address"
1272
1272
  },
1273
1273
  {
1274
- name: '_vaultAddr',
1275
- type: 'address',
1276
- },
1274
+ "name": "_vaultAddr",
1275
+ "type": "address"
1276
+ }
1277
1277
  ],
1278
- outputs: [],
1278
+ "outputs": []
1279
1279
  },
1280
1280
  {
1281
- stateMutability: 'nonpayable',
1282
- type: 'function',
1283
- name: 'addPriceSnapshot',
1284
- inputs: [
1281
+ "stateMutability": "nonpayable",
1282
+ "type": "function",
1283
+ "name": "addPriceSnapshot",
1284
+ "inputs": [
1285
1285
  {
1286
- name: '_vaultToken',
1287
- type: 'address',
1288
- },
1286
+ "name": "_vaultToken",
1287
+ "type": "address"
1288
+ }
1289
1289
  ],
1290
- outputs: [
1290
+ "outputs": [
1291
1291
  {
1292
- name: '',
1293
- type: 'bool',
1294
- },
1295
- ],
1292
+ "name": "",
1293
+ "type": "bool"
1294
+ }
1295
+ ]
1296
1296
  },
1297
1297
  {
1298
- stateMutability: 'nonpayable',
1299
- type: 'function',
1300
- name: 'depositForYield',
1301
- inputs: [
1298
+ "stateMutability": "nonpayable",
1299
+ "type": "function",
1300
+ "name": "depositForYield",
1301
+ "inputs": [
1302
1302
  {
1303
- name: '_asset',
1304
- type: 'address',
1303
+ "name": "_asset",
1304
+ "type": "address"
1305
1305
  },
1306
1306
  {
1307
- name: '_amount',
1308
- type: 'uint256',
1307
+ "name": "_amount",
1308
+ "type": "uint256"
1309
1309
  },
1310
1310
  {
1311
- name: '_vaultAddr',
1312
- type: 'address',
1311
+ "name": "_vaultAddr",
1312
+ "type": "address"
1313
1313
  },
1314
1314
  {
1315
- name: '_extraData',
1316
- type: 'bytes32',
1315
+ "name": "_extraData",
1316
+ "type": "bytes32"
1317
1317
  },
1318
1318
  {
1319
- name: '_recipient',
1320
- type: 'address',
1321
- },
1319
+ "name": "_recipient",
1320
+ "type": "address"
1321
+ }
1322
1322
  ],
1323
- outputs: [
1323
+ "outputs": [
1324
1324
  {
1325
- name: '',
1326
- type: 'uint256',
1325
+ "name": "",
1326
+ "type": "uint256"
1327
1327
  },
1328
1328
  {
1329
- name: '',
1330
- type: 'address',
1329
+ "name": "",
1330
+ "type": "address"
1331
1331
  },
1332
1332
  {
1333
- name: '',
1334
- type: 'uint256',
1333
+ "name": "",
1334
+ "type": "uint256"
1335
1335
  },
1336
1336
  {
1337
- name: '',
1338
- type: 'uint256',
1339
- },
1340
- ],
1337
+ "name": "",
1338
+ "type": "uint256"
1339
+ }
1340
+ ]
1341
1341
  },
1342
1342
  {
1343
- stateMutability: 'nonpayable',
1344
- type: 'function',
1345
- name: 'depositForYield',
1346
- inputs: [
1343
+ "stateMutability": "nonpayable",
1344
+ "type": "function",
1345
+ "name": "depositForYield",
1346
+ "inputs": [
1347
1347
  {
1348
- name: '_asset',
1349
- type: 'address',
1348
+ "name": "_asset",
1349
+ "type": "address"
1350
1350
  },
1351
1351
  {
1352
- name: '_amount',
1353
- type: 'uint256',
1352
+ "name": "_amount",
1353
+ "type": "uint256"
1354
1354
  },
1355
1355
  {
1356
- name: '_vaultAddr',
1357
- type: 'address',
1356
+ "name": "_vaultAddr",
1357
+ "type": "address"
1358
1358
  },
1359
1359
  {
1360
- name: '_extraData',
1361
- type: 'bytes32',
1360
+ "name": "_extraData",
1361
+ "type": "bytes32"
1362
1362
  },
1363
1363
  {
1364
- name: '_recipient',
1365
- type: 'address',
1364
+ "name": "_recipient",
1365
+ "type": "address"
1366
1366
  },
1367
1367
  {
1368
- name: '_miniAddys',
1369
- type: 'tuple',
1370
- components: [
1368
+ "name": "_miniAddys",
1369
+ "type": "tuple",
1370
+ "components": [
1371
1371
  {
1372
- name: 'ledger',
1373
- type: 'address',
1372
+ "name": "ledger",
1373
+ "type": "address"
1374
1374
  },
1375
1375
  {
1376
- name: 'missionControl',
1377
- type: 'address',
1376
+ "name": "missionControl",
1377
+ "type": "address"
1378
1378
  },
1379
1379
  {
1380
- name: 'legoBook',
1381
- type: 'address',
1380
+ "name": "legoBook",
1381
+ "type": "address"
1382
1382
  },
1383
1383
  {
1384
- name: 'appraiser',
1385
- type: 'address',
1386
- },
1387
- ],
1388
- },
1384
+ "name": "appraiser",
1385
+ "type": "address"
1386
+ }
1387
+ ]
1388
+ }
1389
1389
  ],
1390
- outputs: [
1390
+ "outputs": [
1391
1391
  {
1392
- name: '',
1393
- type: 'uint256',
1392
+ "name": "",
1393
+ "type": "uint256"
1394
1394
  },
1395
1395
  {
1396
- name: '',
1397
- type: 'address',
1396
+ "name": "",
1397
+ "type": "address"
1398
1398
  },
1399
1399
  {
1400
- name: '',
1401
- type: 'uint256',
1400
+ "name": "",
1401
+ "type": "uint256"
1402
1402
  },
1403
1403
  {
1404
- name: '',
1405
- type: 'uint256',
1406
- },
1407
- ],
1404
+ "name": "",
1405
+ "type": "uint256"
1406
+ }
1407
+ ]
1408
1408
  },
1409
1409
  {
1410
- stateMutability: 'nonpayable',
1411
- type: 'function',
1412
- name: 'withdrawFromYield',
1413
- inputs: [
1410
+ "stateMutability": "nonpayable",
1411
+ "type": "function",
1412
+ "name": "withdrawFromYield",
1413
+ "inputs": [
1414
1414
  {
1415
- name: '_vaultToken',
1416
- type: 'address',
1415
+ "name": "_vaultToken",
1416
+ "type": "address"
1417
1417
  },
1418
1418
  {
1419
- name: '_amount',
1420
- type: 'uint256',
1419
+ "name": "_amount",
1420
+ "type": "uint256"
1421
1421
  },
1422
1422
  {
1423
- name: '_extraData',
1424
- type: 'bytes32',
1423
+ "name": "_extraData",
1424
+ "type": "bytes32"
1425
1425
  },
1426
1426
  {
1427
- name: '_recipient',
1428
- type: 'address',
1429
- },
1427
+ "name": "_recipient",
1428
+ "type": "address"
1429
+ }
1430
1430
  ],
1431
- outputs: [
1431
+ "outputs": [
1432
1432
  {
1433
- name: '',
1434
- type: 'uint256',
1433
+ "name": "",
1434
+ "type": "uint256"
1435
1435
  },
1436
1436
  {
1437
- name: '',
1438
- type: 'address',
1437
+ "name": "",
1438
+ "type": "address"
1439
1439
  },
1440
1440
  {
1441
- name: '',
1442
- type: 'uint256',
1441
+ "name": "",
1442
+ "type": "uint256"
1443
1443
  },
1444
1444
  {
1445
- name: '',
1446
- type: 'uint256',
1447
- },
1448
- ],
1445
+ "name": "",
1446
+ "type": "uint256"
1447
+ }
1448
+ ]
1449
1449
  },
1450
1450
  {
1451
- stateMutability: 'nonpayable',
1452
- type: 'function',
1453
- name: 'withdrawFromYield',
1454
- inputs: [
1451
+ "stateMutability": "nonpayable",
1452
+ "type": "function",
1453
+ "name": "withdrawFromYield",
1454
+ "inputs": [
1455
1455
  {
1456
- name: '_vaultToken',
1457
- type: 'address',
1456
+ "name": "_vaultToken",
1457
+ "type": "address"
1458
1458
  },
1459
1459
  {
1460
- name: '_amount',
1461
- type: 'uint256',
1460
+ "name": "_amount",
1461
+ "type": "uint256"
1462
1462
  },
1463
1463
  {
1464
- name: '_extraData',
1465
- type: 'bytes32',
1464
+ "name": "_extraData",
1465
+ "type": "bytes32"
1466
1466
  },
1467
1467
  {
1468
- name: '_recipient',
1469
- type: 'address',
1468
+ "name": "_recipient",
1469
+ "type": "address"
1470
1470
  },
1471
1471
  {
1472
- name: '_miniAddys',
1473
- type: 'tuple',
1474
- components: [
1472
+ "name": "_miniAddys",
1473
+ "type": "tuple",
1474
+ "components": [
1475
1475
  {
1476
- name: 'ledger',
1477
- type: 'address',
1476
+ "name": "ledger",
1477
+ "type": "address"
1478
1478
  },
1479
1479
  {
1480
- name: 'missionControl',
1481
- type: 'address',
1480
+ "name": "missionControl",
1481
+ "type": "address"
1482
1482
  },
1483
1483
  {
1484
- name: 'legoBook',
1485
- type: 'address',
1484
+ "name": "legoBook",
1485
+ "type": "address"
1486
1486
  },
1487
1487
  {
1488
- name: 'appraiser',
1489
- type: 'address',
1490
- },
1491
- ],
1492
- },
1488
+ "name": "appraiser",
1489
+ "type": "address"
1490
+ }
1491
+ ]
1492
+ }
1493
1493
  ],
1494
- outputs: [
1494
+ "outputs": [
1495
1495
  {
1496
- name: '',
1497
- type: 'uint256',
1496
+ "name": "",
1497
+ "type": "uint256"
1498
1498
  },
1499
1499
  {
1500
- name: '',
1501
- type: 'address',
1500
+ "name": "",
1501
+ "type": "address"
1502
1502
  },
1503
1503
  {
1504
- name: '',
1505
- type: 'uint256',
1504
+ "name": "",
1505
+ "type": "uint256"
1506
1506
  },
1507
1507
  {
1508
- name: '',
1509
- type: 'uint256',
1510
- },
1511
- ],
1508
+ "name": "",
1509
+ "type": "uint256"
1510
+ }
1511
+ ]
1512
1512
  },
1513
1513
  {
1514
- stateMutability: 'view',
1515
- type: 'function',
1516
- name: 'getAccessForLego',
1517
- inputs: [
1514
+ "stateMutability": "view",
1515
+ "type": "function",
1516
+ "name": "getAccessForLego",
1517
+ "inputs": [
1518
1518
  {
1519
- name: '_user',
1520
- type: 'address',
1519
+ "name": "_user",
1520
+ "type": "address"
1521
1521
  },
1522
1522
  {
1523
- name: '_action',
1524
- type: 'uint256',
1525
- },
1523
+ "name": "_action",
1524
+ "type": "uint256"
1525
+ }
1526
1526
  ],
1527
- outputs: [
1527
+ "outputs": [
1528
1528
  {
1529
- name: '',
1530
- type: 'address',
1529
+ "name": "",
1530
+ "type": "address"
1531
1531
  },
1532
1532
  {
1533
- name: '',
1534
- type: 'string',
1533
+ "name": "",
1534
+ "type": "string"
1535
1535
  },
1536
1536
  {
1537
- name: '',
1538
- type: 'uint256',
1539
- },
1540
- ],
1537
+ "name": "",
1538
+ "type": "uint256"
1539
+ }
1540
+ ]
1541
1541
  },
1542
1542
  {
1543
- stateMutability: 'nonpayable',
1544
- type: 'function',
1545
- name: 'claimRewards',
1546
- inputs: [
1543
+ "stateMutability": "nonpayable",
1544
+ "type": "function",
1545
+ "name": "claimRewards",
1546
+ "inputs": [
1547
1547
  {
1548
- name: '_user',
1549
- type: 'address',
1548
+ "name": "_user",
1549
+ "type": "address"
1550
1550
  },
1551
1551
  {
1552
- name: '_rewardToken',
1553
- type: 'address',
1552
+ "name": "_rewardToken",
1553
+ "type": "address"
1554
1554
  },
1555
1555
  {
1556
- name: '_rewardAmount',
1557
- type: 'uint256',
1556
+ "name": "_rewardAmount",
1557
+ "type": "uint256"
1558
1558
  },
1559
1559
  {
1560
- name: '_extraData',
1561
- type: 'bytes32',
1562
- },
1560
+ "name": "_extraData",
1561
+ "type": "bytes32"
1562
+ }
1563
1563
  ],
1564
- outputs: [
1564
+ "outputs": [
1565
1565
  {
1566
- name: '',
1567
- type: 'uint256',
1566
+ "name": "",
1567
+ "type": "uint256"
1568
1568
  },
1569
1569
  {
1570
- name: '',
1571
- type: 'uint256',
1572
- },
1573
- ],
1570
+ "name": "",
1571
+ "type": "uint256"
1572
+ }
1573
+ ]
1574
1574
  },
1575
1575
  {
1576
- stateMutability: 'nonpayable',
1577
- type: 'function',
1578
- name: 'claimRewards',
1579
- inputs: [
1576
+ "stateMutability": "nonpayable",
1577
+ "type": "function",
1578
+ "name": "claimRewards",
1579
+ "inputs": [
1580
1580
  {
1581
- name: '_user',
1582
- type: 'address',
1581
+ "name": "_user",
1582
+ "type": "address"
1583
1583
  },
1584
1584
  {
1585
- name: '_rewardToken',
1586
- type: 'address',
1585
+ "name": "_rewardToken",
1586
+ "type": "address"
1587
1587
  },
1588
1588
  {
1589
- name: '_rewardAmount',
1590
- type: 'uint256',
1589
+ "name": "_rewardAmount",
1590
+ "type": "uint256"
1591
1591
  },
1592
1592
  {
1593
- name: '_extraData',
1594
- type: 'bytes32',
1593
+ "name": "_extraData",
1594
+ "type": "bytes32"
1595
1595
  },
1596
1596
  {
1597
- name: '_miniAddys',
1598
- type: 'tuple',
1599
- components: [
1597
+ "name": "_miniAddys",
1598
+ "type": "tuple",
1599
+ "components": [
1600
1600
  {
1601
- name: 'ledger',
1602
- type: 'address',
1601
+ "name": "ledger",
1602
+ "type": "address"
1603
1603
  },
1604
1604
  {
1605
- name: 'missionControl',
1606
- type: 'address',
1605
+ "name": "missionControl",
1606
+ "type": "address"
1607
1607
  },
1608
1608
  {
1609
- name: 'legoBook',
1610
- type: 'address',
1609
+ "name": "legoBook",
1610
+ "type": "address"
1611
1611
  },
1612
1612
  {
1613
- name: 'appraiser',
1614
- type: 'address',
1615
- },
1616
- ],
1617
- },
1613
+ "name": "appraiser",
1614
+ "type": "address"
1615
+ }
1616
+ ]
1617
+ }
1618
1618
  ],
1619
- outputs: [
1619
+ "outputs": [
1620
1620
  {
1621
- name: '',
1622
- type: 'uint256',
1621
+ "name": "",
1622
+ "type": "uint256"
1623
1623
  },
1624
1624
  {
1625
- name: '',
1626
- type: 'uint256',
1627
- },
1628
- ],
1625
+ "name": "",
1626
+ "type": "uint256"
1627
+ }
1628
+ ]
1629
1629
  },
1630
1630
  {
1631
- stateMutability: 'nonpayable',
1632
- type: 'function',
1633
- name: 'claimIncentives',
1634
- inputs: [
1631
+ "stateMutability": "nonpayable",
1632
+ "type": "function",
1633
+ "name": "claimIncentives",
1634
+ "inputs": [
1635
1635
  {
1636
- name: '_user',
1637
- type: 'address',
1636
+ "name": "_user",
1637
+ "type": "address"
1638
1638
  },
1639
1639
  {
1640
- name: '_rewardToken',
1641
- type: 'address',
1640
+ "name": "_rewardToken",
1641
+ "type": "address"
1642
1642
  },
1643
1643
  {
1644
- name: '_rewardAmount',
1645
- type: 'uint256',
1644
+ "name": "_rewardAmount",
1645
+ "type": "uint256"
1646
1646
  },
1647
1647
  {
1648
- name: '_proofs',
1649
- type: 'bytes32[]',
1650
- },
1648
+ "name": "_proofs",
1649
+ "type": "bytes32[]"
1650
+ }
1651
1651
  ],
1652
- outputs: [
1652
+ "outputs": [
1653
1653
  {
1654
- name: '',
1655
- type: 'uint256',
1654
+ "name": "",
1655
+ "type": "uint256"
1656
1656
  },
1657
1657
  {
1658
- name: '',
1659
- type: 'uint256',
1660
- },
1661
- ],
1658
+ "name": "",
1659
+ "type": "uint256"
1660
+ }
1661
+ ]
1662
1662
  },
1663
1663
  {
1664
- stateMutability: 'nonpayable',
1665
- type: 'function',
1666
- name: 'claimIncentives',
1667
- inputs: [
1664
+ "stateMutability": "nonpayable",
1665
+ "type": "function",
1666
+ "name": "claimIncentives",
1667
+ "inputs": [
1668
1668
  {
1669
- name: '_user',
1670
- type: 'address',
1669
+ "name": "_user",
1670
+ "type": "address"
1671
1671
  },
1672
1672
  {
1673
- name: '_rewardToken',
1674
- type: 'address',
1673
+ "name": "_rewardToken",
1674
+ "type": "address"
1675
1675
  },
1676
1676
  {
1677
- name: '_rewardAmount',
1678
- type: 'uint256',
1677
+ "name": "_rewardAmount",
1678
+ "type": "uint256"
1679
1679
  },
1680
1680
  {
1681
- name: '_proofs',
1682
- type: 'bytes32[]',
1681
+ "name": "_proofs",
1682
+ "type": "bytes32[]"
1683
1683
  },
1684
1684
  {
1685
- name: '_miniAddys',
1686
- type: 'tuple',
1687
- components: [
1685
+ "name": "_miniAddys",
1686
+ "type": "tuple",
1687
+ "components": [
1688
1688
  {
1689
- name: 'ledger',
1690
- type: 'address',
1689
+ "name": "ledger",
1690
+ "type": "address"
1691
1691
  },
1692
1692
  {
1693
- name: 'missionControl',
1694
- type: 'address',
1693
+ "name": "missionControl",
1694
+ "type": "address"
1695
1695
  },
1696
1696
  {
1697
- name: 'legoBook',
1698
- type: 'address',
1697
+ "name": "legoBook",
1698
+ "type": "address"
1699
1699
  },
1700
1700
  {
1701
- name: 'appraiser',
1702
- type: 'address',
1703
- },
1704
- ],
1705
- },
1701
+ "name": "appraiser",
1702
+ "type": "address"
1703
+ }
1704
+ ]
1705
+ }
1706
1706
  ],
1707
- outputs: [
1707
+ "outputs": [
1708
1708
  {
1709
- name: '',
1710
- type: 'uint256',
1709
+ "name": "",
1710
+ "type": "uint256"
1711
1711
  },
1712
1712
  {
1713
- name: '',
1714
- type: 'uint256',
1715
- },
1716
- ],
1713
+ "name": "",
1714
+ "type": "uint256"
1715
+ }
1716
+ ]
1717
1717
  },
1718
1718
  {
1719
- stateMutability: 'view',
1720
- type: 'function',
1721
- name: 'hasClaimableRewards',
1722
- inputs: [
1719
+ "stateMutability": "view",
1720
+ "type": "function",
1721
+ "name": "hasClaimableRewards",
1722
+ "inputs": [
1723
1723
  {
1724
- name: '_user',
1725
- type: 'address',
1726
- },
1724
+ "name": "_user",
1725
+ "type": "address"
1726
+ }
1727
1727
  ],
1728
- outputs: [
1728
+ "outputs": [
1729
1729
  {
1730
- name: '',
1731
- type: 'bool',
1732
- },
1733
- ],
1730
+ "name": "",
1731
+ "type": "bool"
1732
+ }
1733
+ ]
1734
1734
  },
1735
1735
  {
1736
- stateMutability: 'nonpayable',
1737
- type: 'function',
1738
- name: 'swapTokens',
1739
- inputs: [
1736
+ "stateMutability": "nonpayable",
1737
+ "type": "function",
1738
+ "name": "swapTokens",
1739
+ "inputs": [
1740
1740
  {
1741
- name: '_amountIn',
1742
- type: 'uint256',
1741
+ "name": "_amountIn",
1742
+ "type": "uint256"
1743
1743
  },
1744
1744
  {
1745
- name: '_minAmountOut',
1746
- type: 'uint256',
1745
+ "name": "_minAmountOut",
1746
+ "type": "uint256"
1747
1747
  },
1748
1748
  {
1749
- name: '_tokenPath',
1750
- type: 'address[]',
1749
+ "name": "_tokenPath",
1750
+ "type": "address[]"
1751
1751
  },
1752
1752
  {
1753
- name: '_poolPath',
1754
- type: 'address[]',
1753
+ "name": "_poolPath",
1754
+ "type": "address[]"
1755
1755
  },
1756
1756
  {
1757
- name: '_recipient',
1758
- type: 'address',
1759
- },
1757
+ "name": "_recipient",
1758
+ "type": "address"
1759
+ }
1760
1760
  ],
1761
- outputs: [
1761
+ "outputs": [
1762
1762
  {
1763
- name: '',
1764
- type: 'uint256',
1763
+ "name": "",
1764
+ "type": "uint256"
1765
1765
  },
1766
1766
  {
1767
- name: '',
1768
- type: 'uint256',
1767
+ "name": "",
1768
+ "type": "uint256"
1769
1769
  },
1770
1770
  {
1771
- name: '',
1772
- type: 'uint256',
1773
- },
1774
- ],
1771
+ "name": "",
1772
+ "type": "uint256"
1773
+ }
1774
+ ]
1775
1775
  },
1776
1776
  {
1777
- stateMutability: 'nonpayable',
1778
- type: 'function',
1779
- name: 'swapTokens',
1780
- inputs: [
1777
+ "stateMutability": "nonpayable",
1778
+ "type": "function",
1779
+ "name": "swapTokens",
1780
+ "inputs": [
1781
1781
  {
1782
- name: '_amountIn',
1783
- type: 'uint256',
1782
+ "name": "_amountIn",
1783
+ "type": "uint256"
1784
1784
  },
1785
1785
  {
1786
- name: '_minAmountOut',
1787
- type: 'uint256',
1786
+ "name": "_minAmountOut",
1787
+ "type": "uint256"
1788
1788
  },
1789
1789
  {
1790
- name: '_tokenPath',
1791
- type: 'address[]',
1790
+ "name": "_tokenPath",
1791
+ "type": "address[]"
1792
1792
  },
1793
1793
  {
1794
- name: '_poolPath',
1795
- type: 'address[]',
1794
+ "name": "_poolPath",
1795
+ "type": "address[]"
1796
1796
  },
1797
1797
  {
1798
- name: '_recipient',
1799
- type: 'address',
1798
+ "name": "_recipient",
1799
+ "type": "address"
1800
1800
  },
1801
1801
  {
1802
- name: '_miniAddys',
1803
- type: 'tuple',
1804
- components: [
1802
+ "name": "_miniAddys",
1803
+ "type": "tuple",
1804
+ "components": [
1805
1805
  {
1806
- name: 'ledger',
1807
- type: 'address',
1806
+ "name": "ledger",
1807
+ "type": "address"
1808
1808
  },
1809
1809
  {
1810
- name: 'missionControl',
1811
- type: 'address',
1810
+ "name": "missionControl",
1811
+ "type": "address"
1812
1812
  },
1813
1813
  {
1814
- name: 'legoBook',
1815
- type: 'address',
1814
+ "name": "legoBook",
1815
+ "type": "address"
1816
1816
  },
1817
1817
  {
1818
- name: 'appraiser',
1819
- type: 'address',
1820
- },
1821
- ],
1822
- },
1818
+ "name": "appraiser",
1819
+ "type": "address"
1820
+ }
1821
+ ]
1822
+ }
1823
1823
  ],
1824
- outputs: [
1824
+ "outputs": [
1825
1825
  {
1826
- name: '',
1827
- type: 'uint256',
1826
+ "name": "",
1827
+ "type": "uint256"
1828
1828
  },
1829
1829
  {
1830
- name: '',
1831
- type: 'uint256',
1830
+ "name": "",
1831
+ "type": "uint256"
1832
1832
  },
1833
1833
  {
1834
- name: '',
1835
- type: 'uint256',
1836
- },
1837
- ],
1834
+ "name": "",
1835
+ "type": "uint256"
1836
+ }
1837
+ ]
1838
1838
  },
1839
1839
  {
1840
- stateMutability: 'nonpayable',
1841
- type: 'function',
1842
- name: 'mintOrRedeemAsset',
1843
- inputs: [
1840
+ "stateMutability": "nonpayable",
1841
+ "type": "function",
1842
+ "name": "mintOrRedeemAsset",
1843
+ "inputs": [
1844
1844
  {
1845
- name: '_tokenIn',
1846
- type: 'address',
1845
+ "name": "_tokenIn",
1846
+ "type": "address"
1847
1847
  },
1848
1848
  {
1849
- name: '_tokenOut',
1850
- type: 'address',
1849
+ "name": "_tokenOut",
1850
+ "type": "address"
1851
1851
  },
1852
1852
  {
1853
- name: '_tokenInAmount',
1854
- type: 'uint256',
1853
+ "name": "_tokenInAmount",
1854
+ "type": "uint256"
1855
1855
  },
1856
1856
  {
1857
- name: '_minAmountOut',
1858
- type: 'uint256',
1857
+ "name": "_minAmountOut",
1858
+ "type": "uint256"
1859
1859
  },
1860
1860
  {
1861
- name: '_extraData',
1862
- type: 'bytes32',
1861
+ "name": "_extraData",
1862
+ "type": "bytes32"
1863
1863
  },
1864
1864
  {
1865
- name: '_recipient',
1866
- type: 'address',
1867
- },
1865
+ "name": "_recipient",
1866
+ "type": "address"
1867
+ }
1868
1868
  ],
1869
- outputs: [
1869
+ "outputs": [
1870
1870
  {
1871
- name: '',
1872
- type: 'uint256',
1871
+ "name": "",
1872
+ "type": "uint256"
1873
1873
  },
1874
1874
  {
1875
- name: '',
1876
- type: 'uint256',
1875
+ "name": "",
1876
+ "type": "uint256"
1877
1877
  },
1878
1878
  {
1879
- name: '',
1880
- type: 'bool',
1879
+ "name": "",
1880
+ "type": "bool"
1881
1881
  },
1882
1882
  {
1883
- name: '',
1884
- type: 'uint256',
1885
- },
1886
- ],
1883
+ "name": "",
1884
+ "type": "uint256"
1885
+ }
1886
+ ]
1887
1887
  },
1888
1888
  {
1889
- stateMutability: 'nonpayable',
1890
- type: 'function',
1891
- name: 'mintOrRedeemAsset',
1892
- inputs: [
1889
+ "stateMutability": "nonpayable",
1890
+ "type": "function",
1891
+ "name": "mintOrRedeemAsset",
1892
+ "inputs": [
1893
1893
  {
1894
- name: '_tokenIn',
1895
- type: 'address',
1894
+ "name": "_tokenIn",
1895
+ "type": "address"
1896
1896
  },
1897
1897
  {
1898
- name: '_tokenOut',
1899
- type: 'address',
1898
+ "name": "_tokenOut",
1899
+ "type": "address"
1900
1900
  },
1901
1901
  {
1902
- name: '_tokenInAmount',
1903
- type: 'uint256',
1902
+ "name": "_tokenInAmount",
1903
+ "type": "uint256"
1904
1904
  },
1905
1905
  {
1906
- name: '_minAmountOut',
1907
- type: 'uint256',
1906
+ "name": "_minAmountOut",
1907
+ "type": "uint256"
1908
1908
  },
1909
1909
  {
1910
- name: '_extraData',
1911
- type: 'bytes32',
1910
+ "name": "_extraData",
1911
+ "type": "bytes32"
1912
1912
  },
1913
1913
  {
1914
- name: '_recipient',
1915
- type: 'address',
1914
+ "name": "_recipient",
1915
+ "type": "address"
1916
1916
  },
1917
1917
  {
1918
- name: '_miniAddys',
1919
- type: 'tuple',
1920
- components: [
1918
+ "name": "_miniAddys",
1919
+ "type": "tuple",
1920
+ "components": [
1921
1921
  {
1922
- name: 'ledger',
1923
- type: 'address',
1922
+ "name": "ledger",
1923
+ "type": "address"
1924
1924
  },
1925
1925
  {
1926
- name: 'missionControl',
1927
- type: 'address',
1926
+ "name": "missionControl",
1927
+ "type": "address"
1928
1928
  },
1929
1929
  {
1930
- name: 'legoBook',
1931
- type: 'address',
1930
+ "name": "legoBook",
1931
+ "type": "address"
1932
1932
  },
1933
1933
  {
1934
- name: 'appraiser',
1935
- type: 'address',
1936
- },
1937
- ],
1938
- },
1934
+ "name": "appraiser",
1935
+ "type": "address"
1936
+ }
1937
+ ]
1938
+ }
1939
1939
  ],
1940
- outputs: [
1940
+ "outputs": [
1941
1941
  {
1942
- name: '',
1943
- type: 'uint256',
1942
+ "name": "",
1943
+ "type": "uint256"
1944
1944
  },
1945
1945
  {
1946
- name: '',
1947
- type: 'uint256',
1946
+ "name": "",
1947
+ "type": "uint256"
1948
1948
  },
1949
1949
  {
1950
- name: '',
1951
- type: 'bool',
1950
+ "name": "",
1951
+ "type": "bool"
1952
1952
  },
1953
1953
  {
1954
- name: '',
1955
- type: 'uint256',
1956
- },
1957
- ],
1954
+ "name": "",
1955
+ "type": "uint256"
1956
+ }
1957
+ ]
1958
1958
  },
1959
1959
  {
1960
- stateMutability: 'nonpayable',
1961
- type: 'function',
1962
- name: 'confirmMintOrRedeemAsset',
1963
- inputs: [
1960
+ "stateMutability": "nonpayable",
1961
+ "type": "function",
1962
+ "name": "confirmMintOrRedeemAsset",
1963
+ "inputs": [
1964
1964
  {
1965
- name: '_tokenIn',
1966
- type: 'address',
1965
+ "name": "_tokenIn",
1966
+ "type": "address"
1967
1967
  },
1968
1968
  {
1969
- name: '_tokenOut',
1970
- type: 'address',
1969
+ "name": "_tokenOut",
1970
+ "type": "address"
1971
1971
  },
1972
1972
  {
1973
- name: '_extraData',
1974
- type: 'bytes32',
1973
+ "name": "_extraData",
1974
+ "type": "bytes32"
1975
1975
  },
1976
1976
  {
1977
- name: '_recipient',
1978
- type: 'address',
1979
- },
1977
+ "name": "_recipient",
1978
+ "type": "address"
1979
+ }
1980
1980
  ],
1981
- outputs: [
1981
+ "outputs": [
1982
1982
  {
1983
- name: '',
1984
- type: 'uint256',
1983
+ "name": "",
1984
+ "type": "uint256"
1985
1985
  },
1986
1986
  {
1987
- name: '',
1988
- type: 'uint256',
1989
- },
1990
- ],
1987
+ "name": "",
1988
+ "type": "uint256"
1989
+ }
1990
+ ]
1991
1991
  },
1992
1992
  {
1993
- stateMutability: 'nonpayable',
1994
- type: 'function',
1995
- name: 'confirmMintOrRedeemAsset',
1996
- inputs: [
1993
+ "stateMutability": "nonpayable",
1994
+ "type": "function",
1995
+ "name": "confirmMintOrRedeemAsset",
1996
+ "inputs": [
1997
1997
  {
1998
- name: '_tokenIn',
1999
- type: 'address',
1998
+ "name": "_tokenIn",
1999
+ "type": "address"
2000
2000
  },
2001
2001
  {
2002
- name: '_tokenOut',
2003
- type: 'address',
2002
+ "name": "_tokenOut",
2003
+ "type": "address"
2004
2004
  },
2005
2005
  {
2006
- name: '_extraData',
2007
- type: 'bytes32',
2006
+ "name": "_extraData",
2007
+ "type": "bytes32"
2008
2008
  },
2009
2009
  {
2010
- name: '_recipient',
2011
- type: 'address',
2010
+ "name": "_recipient",
2011
+ "type": "address"
2012
2012
  },
2013
2013
  {
2014
- name: '_miniAddys',
2015
- type: 'tuple',
2016
- components: [
2014
+ "name": "_miniAddys",
2015
+ "type": "tuple",
2016
+ "components": [
2017
2017
  {
2018
- name: 'ledger',
2019
- type: 'address',
2018
+ "name": "ledger",
2019
+ "type": "address"
2020
2020
  },
2021
2021
  {
2022
- name: 'missionControl',
2023
- type: 'address',
2022
+ "name": "missionControl",
2023
+ "type": "address"
2024
2024
  },
2025
2025
  {
2026
- name: 'legoBook',
2027
- type: 'address',
2026
+ "name": "legoBook",
2027
+ "type": "address"
2028
2028
  },
2029
2029
  {
2030
- name: 'appraiser',
2031
- type: 'address',
2032
- },
2033
- ],
2034
- },
2030
+ "name": "appraiser",
2031
+ "type": "address"
2032
+ }
2033
+ ]
2034
+ }
2035
2035
  ],
2036
- outputs: [
2036
+ "outputs": [
2037
2037
  {
2038
- name: '',
2039
- type: 'uint256',
2038
+ "name": "",
2039
+ "type": "uint256"
2040
2040
  },
2041
2041
  {
2042
- name: '',
2043
- type: 'uint256',
2044
- },
2045
- ],
2042
+ "name": "",
2043
+ "type": "uint256"
2044
+ }
2045
+ ]
2046
2046
  },
2047
2047
  {
2048
- stateMutability: 'nonpayable',
2049
- type: 'function',
2050
- name: 'addCollateral',
2051
- inputs: [
2048
+ "stateMutability": "nonpayable",
2049
+ "type": "function",
2050
+ "name": "addCollateral",
2051
+ "inputs": [
2052
2052
  {
2053
- name: '_asset',
2054
- type: 'address',
2053
+ "name": "_asset",
2054
+ "type": "address"
2055
2055
  },
2056
2056
  {
2057
- name: '_amount',
2058
- type: 'uint256',
2057
+ "name": "_amount",
2058
+ "type": "uint256"
2059
2059
  },
2060
2060
  {
2061
- name: '_extraData',
2062
- type: 'bytes32',
2061
+ "name": "_extraData",
2062
+ "type": "bytes32"
2063
2063
  },
2064
2064
  {
2065
- name: '_recipient',
2066
- type: 'address',
2067
- },
2065
+ "name": "_recipient",
2066
+ "type": "address"
2067
+ }
2068
2068
  ],
2069
- outputs: [
2069
+ "outputs": [
2070
2070
  {
2071
- name: '',
2072
- type: 'uint256',
2071
+ "name": "",
2072
+ "type": "uint256"
2073
2073
  },
2074
2074
  {
2075
- name: '',
2076
- type: 'uint256',
2077
- },
2078
- ],
2075
+ "name": "",
2076
+ "type": "uint256"
2077
+ }
2078
+ ]
2079
2079
  },
2080
2080
  {
2081
- stateMutability: 'nonpayable',
2082
- type: 'function',
2083
- name: 'addCollateral',
2084
- inputs: [
2081
+ "stateMutability": "nonpayable",
2082
+ "type": "function",
2083
+ "name": "addCollateral",
2084
+ "inputs": [
2085
2085
  {
2086
- name: '_asset',
2087
- type: 'address',
2086
+ "name": "_asset",
2087
+ "type": "address"
2088
2088
  },
2089
2089
  {
2090
- name: '_amount',
2091
- type: 'uint256',
2090
+ "name": "_amount",
2091
+ "type": "uint256"
2092
2092
  },
2093
2093
  {
2094
- name: '_extraData',
2095
- type: 'bytes32',
2094
+ "name": "_extraData",
2095
+ "type": "bytes32"
2096
2096
  },
2097
2097
  {
2098
- name: '_recipient',
2099
- type: 'address',
2098
+ "name": "_recipient",
2099
+ "type": "address"
2100
2100
  },
2101
2101
  {
2102
- name: '_miniAddys',
2103
- type: 'tuple',
2104
- components: [
2102
+ "name": "_miniAddys",
2103
+ "type": "tuple",
2104
+ "components": [
2105
2105
  {
2106
- name: 'ledger',
2107
- type: 'address',
2106
+ "name": "ledger",
2107
+ "type": "address"
2108
2108
  },
2109
2109
  {
2110
- name: 'missionControl',
2111
- type: 'address',
2110
+ "name": "missionControl",
2111
+ "type": "address"
2112
2112
  },
2113
2113
  {
2114
- name: 'legoBook',
2115
- type: 'address',
2114
+ "name": "legoBook",
2115
+ "type": "address"
2116
2116
  },
2117
2117
  {
2118
- name: 'appraiser',
2119
- type: 'address',
2120
- },
2121
- ],
2122
- },
2118
+ "name": "appraiser",
2119
+ "type": "address"
2120
+ }
2121
+ ]
2122
+ }
2123
2123
  ],
2124
- outputs: [
2124
+ "outputs": [
2125
2125
  {
2126
- name: '',
2127
- type: 'uint256',
2126
+ "name": "",
2127
+ "type": "uint256"
2128
2128
  },
2129
2129
  {
2130
- name: '',
2131
- type: 'uint256',
2132
- },
2133
- ],
2130
+ "name": "",
2131
+ "type": "uint256"
2132
+ }
2133
+ ]
2134
2134
  },
2135
2135
  {
2136
- stateMutability: 'nonpayable',
2137
- type: 'function',
2138
- name: 'removeCollateral',
2139
- inputs: [
2136
+ "stateMutability": "nonpayable",
2137
+ "type": "function",
2138
+ "name": "removeCollateral",
2139
+ "inputs": [
2140
2140
  {
2141
- name: '_asset',
2142
- type: 'address',
2141
+ "name": "_asset",
2142
+ "type": "address"
2143
2143
  },
2144
2144
  {
2145
- name: '_amount',
2146
- type: 'uint256',
2145
+ "name": "_amount",
2146
+ "type": "uint256"
2147
2147
  },
2148
2148
  {
2149
- name: '_extraData',
2150
- type: 'bytes32',
2149
+ "name": "_extraData",
2150
+ "type": "bytes32"
2151
2151
  },
2152
2152
  {
2153
- name: '_recipient',
2154
- type: 'address',
2155
- },
2153
+ "name": "_recipient",
2154
+ "type": "address"
2155
+ }
2156
2156
  ],
2157
- outputs: [
2157
+ "outputs": [
2158
2158
  {
2159
- name: '',
2160
- type: 'uint256',
2159
+ "name": "",
2160
+ "type": "uint256"
2161
2161
  },
2162
2162
  {
2163
- name: '',
2164
- type: 'uint256',
2165
- },
2166
- ],
2163
+ "name": "",
2164
+ "type": "uint256"
2165
+ }
2166
+ ]
2167
2167
  },
2168
2168
  {
2169
- stateMutability: 'nonpayable',
2170
- type: 'function',
2171
- name: 'removeCollateral',
2172
- inputs: [
2169
+ "stateMutability": "nonpayable",
2170
+ "type": "function",
2171
+ "name": "removeCollateral",
2172
+ "inputs": [
2173
2173
  {
2174
- name: '_asset',
2175
- type: 'address',
2174
+ "name": "_asset",
2175
+ "type": "address"
2176
2176
  },
2177
2177
  {
2178
- name: '_amount',
2179
- type: 'uint256',
2178
+ "name": "_amount",
2179
+ "type": "uint256"
2180
2180
  },
2181
2181
  {
2182
- name: '_extraData',
2183
- type: 'bytes32',
2182
+ "name": "_extraData",
2183
+ "type": "bytes32"
2184
2184
  },
2185
2185
  {
2186
- name: '_recipient',
2187
- type: 'address',
2186
+ "name": "_recipient",
2187
+ "type": "address"
2188
2188
  },
2189
2189
  {
2190
- name: '_miniAddys',
2191
- type: 'tuple',
2192
- components: [
2190
+ "name": "_miniAddys",
2191
+ "type": "tuple",
2192
+ "components": [
2193
2193
  {
2194
- name: 'ledger',
2195
- type: 'address',
2194
+ "name": "ledger",
2195
+ "type": "address"
2196
2196
  },
2197
2197
  {
2198
- name: 'missionControl',
2199
- type: 'address',
2198
+ "name": "missionControl",
2199
+ "type": "address"
2200
2200
  },
2201
2201
  {
2202
- name: 'legoBook',
2203
- type: 'address',
2202
+ "name": "legoBook",
2203
+ "type": "address"
2204
2204
  },
2205
2205
  {
2206
- name: 'appraiser',
2207
- type: 'address',
2208
- },
2209
- ],
2210
- },
2206
+ "name": "appraiser",
2207
+ "type": "address"
2208
+ }
2209
+ ]
2210
+ }
2211
2211
  ],
2212
- outputs: [
2212
+ "outputs": [
2213
2213
  {
2214
- name: '',
2215
- type: 'uint256',
2214
+ "name": "",
2215
+ "type": "uint256"
2216
2216
  },
2217
2217
  {
2218
- name: '',
2219
- type: 'uint256',
2220
- },
2221
- ],
2218
+ "name": "",
2219
+ "type": "uint256"
2220
+ }
2221
+ ]
2222
2222
  },
2223
2223
  {
2224
- stateMutability: 'nonpayable',
2225
- type: 'function',
2226
- name: 'borrow',
2227
- inputs: [
2224
+ "stateMutability": "nonpayable",
2225
+ "type": "function",
2226
+ "name": "borrow",
2227
+ "inputs": [
2228
2228
  {
2229
- name: '_borrowAsset',
2230
- type: 'address',
2229
+ "name": "_borrowAsset",
2230
+ "type": "address"
2231
2231
  },
2232
2232
  {
2233
- name: '_amount',
2234
- type: 'uint256',
2233
+ "name": "_amount",
2234
+ "type": "uint256"
2235
2235
  },
2236
2236
  {
2237
- name: '_extraData',
2238
- type: 'bytes32',
2237
+ "name": "_extraData",
2238
+ "type": "bytes32"
2239
2239
  },
2240
2240
  {
2241
- name: '_recipient',
2242
- type: 'address',
2243
- },
2241
+ "name": "_recipient",
2242
+ "type": "address"
2243
+ }
2244
2244
  ],
2245
- outputs: [
2245
+ "outputs": [
2246
2246
  {
2247
- name: '',
2248
- type: 'uint256',
2247
+ "name": "",
2248
+ "type": "uint256"
2249
2249
  },
2250
2250
  {
2251
- name: '',
2252
- type: 'uint256',
2253
- },
2254
- ],
2251
+ "name": "",
2252
+ "type": "uint256"
2253
+ }
2254
+ ]
2255
2255
  },
2256
2256
  {
2257
- stateMutability: 'nonpayable',
2258
- type: 'function',
2259
- name: 'borrow',
2260
- inputs: [
2257
+ "stateMutability": "nonpayable",
2258
+ "type": "function",
2259
+ "name": "borrow",
2260
+ "inputs": [
2261
2261
  {
2262
- name: '_borrowAsset',
2263
- type: 'address',
2262
+ "name": "_borrowAsset",
2263
+ "type": "address"
2264
2264
  },
2265
2265
  {
2266
- name: '_amount',
2267
- type: 'uint256',
2266
+ "name": "_amount",
2267
+ "type": "uint256"
2268
2268
  },
2269
2269
  {
2270
- name: '_extraData',
2271
- type: 'bytes32',
2270
+ "name": "_extraData",
2271
+ "type": "bytes32"
2272
2272
  },
2273
2273
  {
2274
- name: '_recipient',
2275
- type: 'address',
2274
+ "name": "_recipient",
2275
+ "type": "address"
2276
2276
  },
2277
2277
  {
2278
- name: '_miniAddys',
2279
- type: 'tuple',
2280
- components: [
2278
+ "name": "_miniAddys",
2279
+ "type": "tuple",
2280
+ "components": [
2281
2281
  {
2282
- name: 'ledger',
2283
- type: 'address',
2282
+ "name": "ledger",
2283
+ "type": "address"
2284
2284
  },
2285
2285
  {
2286
- name: 'missionControl',
2287
- type: 'address',
2286
+ "name": "missionControl",
2287
+ "type": "address"
2288
2288
  },
2289
2289
  {
2290
- name: 'legoBook',
2291
- type: 'address',
2290
+ "name": "legoBook",
2291
+ "type": "address"
2292
2292
  },
2293
2293
  {
2294
- name: 'appraiser',
2295
- type: 'address',
2296
- },
2297
- ],
2298
- },
2294
+ "name": "appraiser",
2295
+ "type": "address"
2296
+ }
2297
+ ]
2298
+ }
2299
2299
  ],
2300
- outputs: [
2300
+ "outputs": [
2301
2301
  {
2302
- name: '',
2303
- type: 'uint256',
2302
+ "name": "",
2303
+ "type": "uint256"
2304
2304
  },
2305
2305
  {
2306
- name: '',
2307
- type: 'uint256',
2308
- },
2309
- ],
2306
+ "name": "",
2307
+ "type": "uint256"
2308
+ }
2309
+ ]
2310
2310
  },
2311
2311
  {
2312
- stateMutability: 'nonpayable',
2313
- type: 'function',
2314
- name: 'repayDebt',
2315
- inputs: [
2312
+ "stateMutability": "nonpayable",
2313
+ "type": "function",
2314
+ "name": "repayDebt",
2315
+ "inputs": [
2316
2316
  {
2317
- name: '_paymentAsset',
2318
- type: 'address',
2317
+ "name": "_paymentAsset",
2318
+ "type": "address"
2319
2319
  },
2320
2320
  {
2321
- name: '_paymentAmount',
2322
- type: 'uint256',
2321
+ "name": "_paymentAmount",
2322
+ "type": "uint256"
2323
2323
  },
2324
2324
  {
2325
- name: '_extraData',
2326
- type: 'bytes32',
2325
+ "name": "_extraData",
2326
+ "type": "bytes32"
2327
2327
  },
2328
2328
  {
2329
- name: '_recipient',
2330
- type: 'address',
2331
- },
2329
+ "name": "_recipient",
2330
+ "type": "address"
2331
+ }
2332
2332
  ],
2333
- outputs: [
2333
+ "outputs": [
2334
2334
  {
2335
- name: '',
2336
- type: 'uint256',
2335
+ "name": "",
2336
+ "type": "uint256"
2337
2337
  },
2338
2338
  {
2339
- name: '',
2340
- type: 'uint256',
2341
- },
2342
- ],
2339
+ "name": "",
2340
+ "type": "uint256"
2341
+ }
2342
+ ]
2343
2343
  },
2344
2344
  {
2345
- stateMutability: 'nonpayable',
2346
- type: 'function',
2347
- name: 'repayDebt',
2348
- inputs: [
2345
+ "stateMutability": "nonpayable",
2346
+ "type": "function",
2347
+ "name": "repayDebt",
2348
+ "inputs": [
2349
2349
  {
2350
- name: '_paymentAsset',
2351
- type: 'address',
2350
+ "name": "_paymentAsset",
2351
+ "type": "address"
2352
2352
  },
2353
2353
  {
2354
- name: '_paymentAmount',
2355
- type: 'uint256',
2354
+ "name": "_paymentAmount",
2355
+ "type": "uint256"
2356
2356
  },
2357
2357
  {
2358
- name: '_extraData',
2359
- type: 'bytes32',
2358
+ "name": "_extraData",
2359
+ "type": "bytes32"
2360
2360
  },
2361
2361
  {
2362
- name: '_recipient',
2363
- type: 'address',
2362
+ "name": "_recipient",
2363
+ "type": "address"
2364
2364
  },
2365
2365
  {
2366
- name: '_miniAddys',
2367
- type: 'tuple',
2368
- components: [
2366
+ "name": "_miniAddys",
2367
+ "type": "tuple",
2368
+ "components": [
2369
2369
  {
2370
- name: 'ledger',
2371
- type: 'address',
2370
+ "name": "ledger",
2371
+ "type": "address"
2372
2372
  },
2373
2373
  {
2374
- name: 'missionControl',
2375
- type: 'address',
2374
+ "name": "missionControl",
2375
+ "type": "address"
2376
2376
  },
2377
2377
  {
2378
- name: 'legoBook',
2379
- type: 'address',
2378
+ "name": "legoBook",
2379
+ "type": "address"
2380
2380
  },
2381
2381
  {
2382
- name: 'appraiser',
2383
- type: 'address',
2384
- },
2385
- ],
2386
- },
2382
+ "name": "appraiser",
2383
+ "type": "address"
2384
+ }
2385
+ ]
2386
+ }
2387
2387
  ],
2388
- outputs: [
2388
+ "outputs": [
2389
2389
  {
2390
- name: '',
2391
- type: 'uint256',
2390
+ "name": "",
2391
+ "type": "uint256"
2392
2392
  },
2393
2393
  {
2394
- name: '',
2395
- type: 'uint256',
2396
- },
2397
- ],
2394
+ "name": "",
2395
+ "type": "uint256"
2396
+ }
2397
+ ]
2398
2398
  },
2399
2399
  {
2400
- stateMutability: 'nonpayable',
2401
- type: 'function',
2402
- name: 'addLiquidity',
2403
- inputs: [
2400
+ "stateMutability": "nonpayable",
2401
+ "type": "function",
2402
+ "name": "addLiquidity",
2403
+ "inputs": [
2404
2404
  {
2405
- name: '_pool',
2406
- type: 'address',
2405
+ "name": "_pool",
2406
+ "type": "address"
2407
2407
  },
2408
2408
  {
2409
- name: '_tokenA',
2410
- type: 'address',
2409
+ "name": "_tokenA",
2410
+ "type": "address"
2411
2411
  },
2412
2412
  {
2413
- name: '_tokenB',
2414
- type: 'address',
2413
+ "name": "_tokenB",
2414
+ "type": "address"
2415
2415
  },
2416
2416
  {
2417
- name: '_amountA',
2418
- type: 'uint256',
2417
+ "name": "_amountA",
2418
+ "type": "uint256"
2419
2419
  },
2420
2420
  {
2421
- name: '_amountB',
2422
- type: 'uint256',
2421
+ "name": "_amountB",
2422
+ "type": "uint256"
2423
2423
  },
2424
2424
  {
2425
- name: '_minAmountA',
2426
- type: 'uint256',
2425
+ "name": "_minAmountA",
2426
+ "type": "uint256"
2427
2427
  },
2428
2428
  {
2429
- name: '_minAmountB',
2430
- type: 'uint256',
2429
+ "name": "_minAmountB",
2430
+ "type": "uint256"
2431
2431
  },
2432
2432
  {
2433
- name: '_minLpAmount',
2434
- type: 'uint256',
2433
+ "name": "_minLpAmount",
2434
+ "type": "uint256"
2435
2435
  },
2436
2436
  {
2437
- name: '_extraData',
2438
- type: 'bytes32',
2437
+ "name": "_extraData",
2438
+ "type": "bytes32"
2439
2439
  },
2440
2440
  {
2441
- name: '_recipient',
2442
- type: 'address',
2443
- },
2441
+ "name": "_recipient",
2442
+ "type": "address"
2443
+ }
2444
2444
  ],
2445
- outputs: [
2445
+ "outputs": [
2446
2446
  {
2447
- name: '',
2448
- type: 'address',
2447
+ "name": "",
2448
+ "type": "address"
2449
2449
  },
2450
2450
  {
2451
- name: '',
2452
- type: 'uint256',
2451
+ "name": "",
2452
+ "type": "uint256"
2453
2453
  },
2454
2454
  {
2455
- name: '',
2456
- type: 'uint256',
2455
+ "name": "",
2456
+ "type": "uint256"
2457
2457
  },
2458
2458
  {
2459
- name: '',
2460
- type: 'uint256',
2459
+ "name": "",
2460
+ "type": "uint256"
2461
2461
  },
2462
2462
  {
2463
- name: '',
2464
- type: 'uint256',
2465
- },
2466
- ],
2463
+ "name": "",
2464
+ "type": "uint256"
2465
+ }
2466
+ ]
2467
2467
  },
2468
2468
  {
2469
- stateMutability: 'nonpayable',
2470
- type: 'function',
2471
- name: 'addLiquidity',
2472
- inputs: [
2469
+ "stateMutability": "nonpayable",
2470
+ "type": "function",
2471
+ "name": "addLiquidity",
2472
+ "inputs": [
2473
2473
  {
2474
- name: '_pool',
2475
- type: 'address',
2474
+ "name": "_pool",
2475
+ "type": "address"
2476
2476
  },
2477
2477
  {
2478
- name: '_tokenA',
2479
- type: 'address',
2478
+ "name": "_tokenA",
2479
+ "type": "address"
2480
2480
  },
2481
2481
  {
2482
- name: '_tokenB',
2483
- type: 'address',
2482
+ "name": "_tokenB",
2483
+ "type": "address"
2484
2484
  },
2485
2485
  {
2486
- name: '_amountA',
2487
- type: 'uint256',
2486
+ "name": "_amountA",
2487
+ "type": "uint256"
2488
2488
  },
2489
2489
  {
2490
- name: '_amountB',
2491
- type: 'uint256',
2490
+ "name": "_amountB",
2491
+ "type": "uint256"
2492
2492
  },
2493
2493
  {
2494
- name: '_minAmountA',
2495
- type: 'uint256',
2494
+ "name": "_minAmountA",
2495
+ "type": "uint256"
2496
2496
  },
2497
2497
  {
2498
- name: '_minAmountB',
2499
- type: 'uint256',
2498
+ "name": "_minAmountB",
2499
+ "type": "uint256"
2500
2500
  },
2501
2501
  {
2502
- name: '_minLpAmount',
2503
- type: 'uint256',
2502
+ "name": "_minLpAmount",
2503
+ "type": "uint256"
2504
2504
  },
2505
2505
  {
2506
- name: '_extraData',
2507
- type: 'bytes32',
2506
+ "name": "_extraData",
2507
+ "type": "bytes32"
2508
2508
  },
2509
2509
  {
2510
- name: '_recipient',
2511
- type: 'address',
2510
+ "name": "_recipient",
2511
+ "type": "address"
2512
2512
  },
2513
2513
  {
2514
- name: '_miniAddys',
2515
- type: 'tuple',
2516
- components: [
2514
+ "name": "_miniAddys",
2515
+ "type": "tuple",
2516
+ "components": [
2517
2517
  {
2518
- name: 'ledger',
2519
- type: 'address',
2518
+ "name": "ledger",
2519
+ "type": "address"
2520
2520
  },
2521
2521
  {
2522
- name: 'missionControl',
2523
- type: 'address',
2522
+ "name": "missionControl",
2523
+ "type": "address"
2524
2524
  },
2525
2525
  {
2526
- name: 'legoBook',
2527
- type: 'address',
2526
+ "name": "legoBook",
2527
+ "type": "address"
2528
2528
  },
2529
2529
  {
2530
- name: 'appraiser',
2531
- type: 'address',
2532
- },
2533
- ],
2534
- },
2530
+ "name": "appraiser",
2531
+ "type": "address"
2532
+ }
2533
+ ]
2534
+ }
2535
2535
  ],
2536
- outputs: [
2536
+ "outputs": [
2537
2537
  {
2538
- name: '',
2539
- type: 'address',
2538
+ "name": "",
2539
+ "type": "address"
2540
2540
  },
2541
2541
  {
2542
- name: '',
2543
- type: 'uint256',
2542
+ "name": "",
2543
+ "type": "uint256"
2544
2544
  },
2545
2545
  {
2546
- name: '',
2547
- type: 'uint256',
2546
+ "name": "",
2547
+ "type": "uint256"
2548
2548
  },
2549
2549
  {
2550
- name: '',
2551
- type: 'uint256',
2550
+ "name": "",
2551
+ "type": "uint256"
2552
2552
  },
2553
2553
  {
2554
- name: '',
2555
- type: 'uint256',
2556
- },
2557
- ],
2554
+ "name": "",
2555
+ "type": "uint256"
2556
+ }
2557
+ ]
2558
2558
  },
2559
2559
  {
2560
- stateMutability: 'nonpayable',
2561
- type: 'function',
2562
- name: 'removeLiquidity',
2563
- inputs: [
2560
+ "stateMutability": "nonpayable",
2561
+ "type": "function",
2562
+ "name": "removeLiquidity",
2563
+ "inputs": [
2564
2564
  {
2565
- name: '_pool',
2566
- type: 'address',
2565
+ "name": "_pool",
2566
+ "type": "address"
2567
2567
  },
2568
2568
  {
2569
- name: '_tokenA',
2570
- type: 'address',
2569
+ "name": "_tokenA",
2570
+ "type": "address"
2571
2571
  },
2572
2572
  {
2573
- name: '_tokenB',
2574
- type: 'address',
2573
+ "name": "_tokenB",
2574
+ "type": "address"
2575
2575
  },
2576
2576
  {
2577
- name: '_lpToken',
2578
- type: 'address',
2577
+ "name": "_lpToken",
2578
+ "type": "address"
2579
2579
  },
2580
2580
  {
2581
- name: '_lpAmount',
2582
- type: 'uint256',
2581
+ "name": "_lpAmount",
2582
+ "type": "uint256"
2583
2583
  },
2584
2584
  {
2585
- name: '_minAmountA',
2586
- type: 'uint256',
2585
+ "name": "_minAmountA",
2586
+ "type": "uint256"
2587
2587
  },
2588
2588
  {
2589
- name: '_minAmountB',
2590
- type: 'uint256',
2589
+ "name": "_minAmountB",
2590
+ "type": "uint256"
2591
2591
  },
2592
2592
  {
2593
- name: '_extraData',
2594
- type: 'bytes32',
2593
+ "name": "_extraData",
2594
+ "type": "bytes32"
2595
2595
  },
2596
2596
  {
2597
- name: '_recipient',
2598
- type: 'address',
2599
- },
2597
+ "name": "_recipient",
2598
+ "type": "address"
2599
+ }
2600
2600
  ],
2601
- outputs: [
2601
+ "outputs": [
2602
2602
  {
2603
- name: '',
2604
- type: 'uint256',
2603
+ "name": "",
2604
+ "type": "uint256"
2605
2605
  },
2606
2606
  {
2607
- name: '',
2608
- type: 'uint256',
2607
+ "name": "",
2608
+ "type": "uint256"
2609
2609
  },
2610
2610
  {
2611
- name: '',
2612
- type: 'uint256',
2611
+ "name": "",
2612
+ "type": "uint256"
2613
2613
  },
2614
2614
  {
2615
- name: '',
2616
- type: 'uint256',
2617
- },
2618
- ],
2615
+ "name": "",
2616
+ "type": "uint256"
2617
+ }
2618
+ ]
2619
2619
  },
2620
2620
  {
2621
- stateMutability: 'nonpayable',
2622
- type: 'function',
2623
- name: 'removeLiquidity',
2624
- inputs: [
2621
+ "stateMutability": "nonpayable",
2622
+ "type": "function",
2623
+ "name": "removeLiquidity",
2624
+ "inputs": [
2625
2625
  {
2626
- name: '_pool',
2627
- type: 'address',
2626
+ "name": "_pool",
2627
+ "type": "address"
2628
2628
  },
2629
2629
  {
2630
- name: '_tokenA',
2631
- type: 'address',
2630
+ "name": "_tokenA",
2631
+ "type": "address"
2632
2632
  },
2633
2633
  {
2634
- name: '_tokenB',
2635
- type: 'address',
2634
+ "name": "_tokenB",
2635
+ "type": "address"
2636
2636
  },
2637
2637
  {
2638
- name: '_lpToken',
2639
- type: 'address',
2638
+ "name": "_lpToken",
2639
+ "type": "address"
2640
2640
  },
2641
2641
  {
2642
- name: '_lpAmount',
2643
- type: 'uint256',
2642
+ "name": "_lpAmount",
2643
+ "type": "uint256"
2644
2644
  },
2645
2645
  {
2646
- name: '_minAmountA',
2647
- type: 'uint256',
2646
+ "name": "_minAmountA",
2647
+ "type": "uint256"
2648
2648
  },
2649
2649
  {
2650
- name: '_minAmountB',
2651
- type: 'uint256',
2650
+ "name": "_minAmountB",
2651
+ "type": "uint256"
2652
2652
  },
2653
2653
  {
2654
- name: '_extraData',
2655
- type: 'bytes32',
2654
+ "name": "_extraData",
2655
+ "type": "bytes32"
2656
2656
  },
2657
2657
  {
2658
- name: '_recipient',
2659
- type: 'address',
2658
+ "name": "_recipient",
2659
+ "type": "address"
2660
2660
  },
2661
2661
  {
2662
- name: '_miniAddys',
2663
- type: 'tuple',
2664
- components: [
2662
+ "name": "_miniAddys",
2663
+ "type": "tuple",
2664
+ "components": [
2665
2665
  {
2666
- name: 'ledger',
2667
- type: 'address',
2666
+ "name": "ledger",
2667
+ "type": "address"
2668
2668
  },
2669
2669
  {
2670
- name: 'missionControl',
2671
- type: 'address',
2670
+ "name": "missionControl",
2671
+ "type": "address"
2672
2672
  },
2673
2673
  {
2674
- name: 'legoBook',
2675
- type: 'address',
2674
+ "name": "legoBook",
2675
+ "type": "address"
2676
2676
  },
2677
2677
  {
2678
- name: 'appraiser',
2679
- type: 'address',
2680
- },
2681
- ],
2682
- },
2678
+ "name": "appraiser",
2679
+ "type": "address"
2680
+ }
2681
+ ]
2682
+ }
2683
2683
  ],
2684
- outputs: [
2684
+ "outputs": [
2685
2685
  {
2686
- name: '',
2687
- type: 'uint256',
2686
+ "name": "",
2687
+ "type": "uint256"
2688
2688
  },
2689
2689
  {
2690
- name: '',
2691
- type: 'uint256',
2690
+ "name": "",
2691
+ "type": "uint256"
2692
2692
  },
2693
2693
  {
2694
- name: '',
2695
- type: 'uint256',
2694
+ "name": "",
2695
+ "type": "uint256"
2696
2696
  },
2697
2697
  {
2698
- name: '',
2699
- type: 'uint256',
2700
- },
2701
- ],
2698
+ "name": "",
2699
+ "type": "uint256"
2700
+ }
2701
+ ]
2702
2702
  },
2703
2703
  {
2704
- stateMutability: 'nonpayable',
2705
- type: 'function',
2706
- name: 'addLiquidityConcentrated',
2707
- inputs: [
2704
+ "stateMutability": "nonpayable",
2705
+ "type": "function",
2706
+ "name": "addLiquidityConcentrated",
2707
+ "inputs": [
2708
2708
  {
2709
- name: '_nftTokenId',
2710
- type: 'uint256',
2709
+ "name": "_nftTokenId",
2710
+ "type": "uint256"
2711
2711
  },
2712
2712
  {
2713
- name: '_pool',
2714
- type: 'address',
2713
+ "name": "_pool",
2714
+ "type": "address"
2715
2715
  },
2716
2716
  {
2717
- name: '_tokenA',
2718
- type: 'address',
2717
+ "name": "_tokenA",
2718
+ "type": "address"
2719
2719
  },
2720
2720
  {
2721
- name: '_tokenB',
2722
- type: 'address',
2721
+ "name": "_tokenB",
2722
+ "type": "address"
2723
2723
  },
2724
2724
  {
2725
- name: '_tickLower',
2726
- type: 'int24',
2725
+ "name": "_tickLower",
2726
+ "type": "int24"
2727
2727
  },
2728
2728
  {
2729
- name: '_tickUpper',
2730
- type: 'int24',
2729
+ "name": "_tickUpper",
2730
+ "type": "int24"
2731
2731
  },
2732
2732
  {
2733
- name: '_amountA',
2734
- type: 'uint256',
2733
+ "name": "_amountA",
2734
+ "type": "uint256"
2735
2735
  },
2736
2736
  {
2737
- name: '_amountB',
2738
- type: 'uint256',
2737
+ "name": "_amountB",
2738
+ "type": "uint256"
2739
2739
  },
2740
2740
  {
2741
- name: '_minAmountA',
2742
- type: 'uint256',
2741
+ "name": "_minAmountA",
2742
+ "type": "uint256"
2743
2743
  },
2744
2744
  {
2745
- name: '_minAmountB',
2746
- type: 'uint256',
2745
+ "name": "_minAmountB",
2746
+ "type": "uint256"
2747
2747
  },
2748
2748
  {
2749
- name: '_extraData',
2750
- type: 'bytes32',
2749
+ "name": "_extraData",
2750
+ "type": "bytes32"
2751
2751
  },
2752
2752
  {
2753
- name: '_recipient',
2754
- type: 'address',
2755
- },
2753
+ "name": "_recipient",
2754
+ "type": "address"
2755
+ }
2756
2756
  ],
2757
- outputs: [
2757
+ "outputs": [
2758
2758
  {
2759
- name: '',
2760
- type: 'uint256',
2759
+ "name": "",
2760
+ "type": "uint256"
2761
2761
  },
2762
2762
  {
2763
- name: '',
2764
- type: 'uint256',
2763
+ "name": "",
2764
+ "type": "uint256"
2765
2765
  },
2766
2766
  {
2767
- name: '',
2768
- type: 'uint256',
2767
+ "name": "",
2768
+ "type": "uint256"
2769
2769
  },
2770
2770
  {
2771
- name: '',
2772
- type: 'uint256',
2771
+ "name": "",
2772
+ "type": "uint256"
2773
2773
  },
2774
2774
  {
2775
- name: '',
2776
- type: 'uint256',
2777
- },
2778
- ],
2775
+ "name": "",
2776
+ "type": "uint256"
2777
+ }
2778
+ ]
2779
2779
  },
2780
2780
  {
2781
- stateMutability: 'nonpayable',
2782
- type: 'function',
2783
- name: 'addLiquidityConcentrated',
2784
- inputs: [
2781
+ "stateMutability": "nonpayable",
2782
+ "type": "function",
2783
+ "name": "addLiquidityConcentrated",
2784
+ "inputs": [
2785
2785
  {
2786
- name: '_nftTokenId',
2787
- type: 'uint256',
2786
+ "name": "_nftTokenId",
2787
+ "type": "uint256"
2788
2788
  },
2789
2789
  {
2790
- name: '_pool',
2791
- type: 'address',
2790
+ "name": "_pool",
2791
+ "type": "address"
2792
2792
  },
2793
2793
  {
2794
- name: '_tokenA',
2795
- type: 'address',
2794
+ "name": "_tokenA",
2795
+ "type": "address"
2796
2796
  },
2797
2797
  {
2798
- name: '_tokenB',
2799
- type: 'address',
2798
+ "name": "_tokenB",
2799
+ "type": "address"
2800
2800
  },
2801
2801
  {
2802
- name: '_tickLower',
2803
- type: 'int24',
2802
+ "name": "_tickLower",
2803
+ "type": "int24"
2804
2804
  },
2805
2805
  {
2806
- name: '_tickUpper',
2807
- type: 'int24',
2806
+ "name": "_tickUpper",
2807
+ "type": "int24"
2808
2808
  },
2809
2809
  {
2810
- name: '_amountA',
2811
- type: 'uint256',
2810
+ "name": "_amountA",
2811
+ "type": "uint256"
2812
2812
  },
2813
2813
  {
2814
- name: '_amountB',
2815
- type: 'uint256',
2814
+ "name": "_amountB",
2815
+ "type": "uint256"
2816
2816
  },
2817
2817
  {
2818
- name: '_minAmountA',
2819
- type: 'uint256',
2818
+ "name": "_minAmountA",
2819
+ "type": "uint256"
2820
2820
  },
2821
2821
  {
2822
- name: '_minAmountB',
2823
- type: 'uint256',
2822
+ "name": "_minAmountB",
2823
+ "type": "uint256"
2824
2824
  },
2825
2825
  {
2826
- name: '_extraData',
2827
- type: 'bytes32',
2826
+ "name": "_extraData",
2827
+ "type": "bytes32"
2828
2828
  },
2829
2829
  {
2830
- name: '_recipient',
2831
- type: 'address',
2830
+ "name": "_recipient",
2831
+ "type": "address"
2832
2832
  },
2833
2833
  {
2834
- name: '_miniAddys',
2835
- type: 'tuple',
2836
- components: [
2834
+ "name": "_miniAddys",
2835
+ "type": "tuple",
2836
+ "components": [
2837
2837
  {
2838
- name: 'ledger',
2839
- type: 'address',
2838
+ "name": "ledger",
2839
+ "type": "address"
2840
2840
  },
2841
2841
  {
2842
- name: 'missionControl',
2843
- type: 'address',
2842
+ "name": "missionControl",
2843
+ "type": "address"
2844
2844
  },
2845
2845
  {
2846
- name: 'legoBook',
2847
- type: 'address',
2846
+ "name": "legoBook",
2847
+ "type": "address"
2848
2848
  },
2849
2849
  {
2850
- name: 'appraiser',
2851
- type: 'address',
2852
- },
2853
- ],
2854
- },
2850
+ "name": "appraiser",
2851
+ "type": "address"
2852
+ }
2853
+ ]
2854
+ }
2855
2855
  ],
2856
- outputs: [
2856
+ "outputs": [
2857
2857
  {
2858
- name: '',
2859
- type: 'uint256',
2858
+ "name": "",
2859
+ "type": "uint256"
2860
2860
  },
2861
2861
  {
2862
- name: '',
2863
- type: 'uint256',
2862
+ "name": "",
2863
+ "type": "uint256"
2864
2864
  },
2865
2865
  {
2866
- name: '',
2867
- type: 'uint256',
2866
+ "name": "",
2867
+ "type": "uint256"
2868
2868
  },
2869
2869
  {
2870
- name: '',
2871
- type: 'uint256',
2870
+ "name": "",
2871
+ "type": "uint256"
2872
2872
  },
2873
2873
  {
2874
- name: '',
2875
- type: 'uint256',
2876
- },
2877
- ],
2874
+ "name": "",
2875
+ "type": "uint256"
2876
+ }
2877
+ ]
2878
2878
  },
2879
2879
  {
2880
- stateMutability: 'nonpayable',
2881
- type: 'function',
2882
- name: 'removeLiquidityConcentrated',
2883
- inputs: [
2880
+ "stateMutability": "nonpayable",
2881
+ "type": "function",
2882
+ "name": "removeLiquidityConcentrated",
2883
+ "inputs": [
2884
2884
  {
2885
- name: '_nftTokenId',
2886
- type: 'uint256',
2885
+ "name": "_nftTokenId",
2886
+ "type": "uint256"
2887
2887
  },
2888
2888
  {
2889
- name: '_pool',
2890
- type: 'address',
2889
+ "name": "_pool",
2890
+ "type": "address"
2891
2891
  },
2892
2892
  {
2893
- name: '_tokenA',
2894
- type: 'address',
2893
+ "name": "_tokenA",
2894
+ "type": "address"
2895
2895
  },
2896
2896
  {
2897
- name: '_tokenB',
2898
- type: 'address',
2897
+ "name": "_tokenB",
2898
+ "type": "address"
2899
2899
  },
2900
2900
  {
2901
- name: '_liqToRemove',
2902
- type: 'uint256',
2901
+ "name": "_liqToRemove",
2902
+ "type": "uint256"
2903
2903
  },
2904
2904
  {
2905
- name: '_minAmountA',
2906
- type: 'uint256',
2905
+ "name": "_minAmountA",
2906
+ "type": "uint256"
2907
2907
  },
2908
2908
  {
2909
- name: '_minAmountB',
2910
- type: 'uint256',
2909
+ "name": "_minAmountB",
2910
+ "type": "uint256"
2911
2911
  },
2912
2912
  {
2913
- name: '_extraData',
2914
- type: 'bytes32',
2913
+ "name": "_extraData",
2914
+ "type": "bytes32"
2915
2915
  },
2916
2916
  {
2917
- name: '_recipient',
2918
- type: 'address',
2919
- },
2917
+ "name": "_recipient",
2918
+ "type": "address"
2919
+ }
2920
2920
  ],
2921
- outputs: [
2921
+ "outputs": [
2922
2922
  {
2923
- name: '',
2924
- type: 'uint256',
2923
+ "name": "",
2924
+ "type": "uint256"
2925
2925
  },
2926
2926
  {
2927
- name: '',
2928
- type: 'uint256',
2927
+ "name": "",
2928
+ "type": "uint256"
2929
2929
  },
2930
2930
  {
2931
- name: '',
2932
- type: 'uint256',
2931
+ "name": "",
2932
+ "type": "uint256"
2933
2933
  },
2934
2934
  {
2935
- name: '',
2936
- type: 'bool',
2935
+ "name": "",
2936
+ "type": "bool"
2937
2937
  },
2938
2938
  {
2939
- name: '',
2940
- type: 'uint256',
2941
- },
2942
- ],
2939
+ "name": "",
2940
+ "type": "uint256"
2941
+ }
2942
+ ]
2943
2943
  },
2944
2944
  {
2945
- stateMutability: 'nonpayable',
2946
- type: 'function',
2947
- name: 'removeLiquidityConcentrated',
2948
- inputs: [
2945
+ "stateMutability": "nonpayable",
2946
+ "type": "function",
2947
+ "name": "removeLiquidityConcentrated",
2948
+ "inputs": [
2949
2949
  {
2950
- name: '_nftTokenId',
2951
- type: 'uint256',
2950
+ "name": "_nftTokenId",
2951
+ "type": "uint256"
2952
2952
  },
2953
2953
  {
2954
- name: '_pool',
2955
- type: 'address',
2954
+ "name": "_pool",
2955
+ "type": "address"
2956
2956
  },
2957
2957
  {
2958
- name: '_tokenA',
2959
- type: 'address',
2958
+ "name": "_tokenA",
2959
+ "type": "address"
2960
2960
  },
2961
2961
  {
2962
- name: '_tokenB',
2963
- type: 'address',
2962
+ "name": "_tokenB",
2963
+ "type": "address"
2964
2964
  },
2965
2965
  {
2966
- name: '_liqToRemove',
2967
- type: 'uint256',
2966
+ "name": "_liqToRemove",
2967
+ "type": "uint256"
2968
2968
  },
2969
2969
  {
2970
- name: '_minAmountA',
2971
- type: 'uint256',
2970
+ "name": "_minAmountA",
2971
+ "type": "uint256"
2972
2972
  },
2973
2973
  {
2974
- name: '_minAmountB',
2975
- type: 'uint256',
2974
+ "name": "_minAmountB",
2975
+ "type": "uint256"
2976
2976
  },
2977
2977
  {
2978
- name: '_extraData',
2979
- type: 'bytes32',
2978
+ "name": "_extraData",
2979
+ "type": "bytes32"
2980
2980
  },
2981
2981
  {
2982
- name: '_recipient',
2983
- type: 'address',
2982
+ "name": "_recipient",
2983
+ "type": "address"
2984
2984
  },
2985
2985
  {
2986
- name: '_miniAddys',
2987
- type: 'tuple',
2988
- components: [
2986
+ "name": "_miniAddys",
2987
+ "type": "tuple",
2988
+ "components": [
2989
2989
  {
2990
- name: 'ledger',
2991
- type: 'address',
2990
+ "name": "ledger",
2991
+ "type": "address"
2992
2992
  },
2993
2993
  {
2994
- name: 'missionControl',
2995
- type: 'address',
2994
+ "name": "missionControl",
2995
+ "type": "address"
2996
2996
  },
2997
2997
  {
2998
- name: 'legoBook',
2999
- type: 'address',
2998
+ "name": "legoBook",
2999
+ "type": "address"
3000
3000
  },
3001
3001
  {
3002
- name: 'appraiser',
3003
- type: 'address',
3004
- },
3005
- ],
3006
- },
3002
+ "name": "appraiser",
3003
+ "type": "address"
3004
+ }
3005
+ ]
3006
+ }
3007
3007
  ],
3008
- outputs: [
3008
+ "outputs": [
3009
3009
  {
3010
- name: '',
3011
- type: 'uint256',
3010
+ "name": "",
3011
+ "type": "uint256"
3012
3012
  },
3013
3013
  {
3014
- name: '',
3015
- type: 'uint256',
3014
+ "name": "",
3015
+ "type": "uint256"
3016
3016
  },
3017
3017
  {
3018
- name: '',
3019
- type: 'uint256',
3018
+ "name": "",
3019
+ "type": "uint256"
3020
3020
  },
3021
3021
  {
3022
- name: '',
3023
- type: 'bool',
3022
+ "name": "",
3023
+ "type": "bool"
3024
3024
  },
3025
3025
  {
3026
- name: '',
3027
- type: 'uint256',
3028
- },
3029
- ],
3026
+ "name": "",
3027
+ "type": "uint256"
3028
+ }
3029
+ ]
3030
3030
  },
3031
3031
  {
3032
- stateMutability: 'view',
3033
- type: 'function',
3034
- name: 'AVANTIS_USDC_VAULT',
3035
- inputs: [],
3036
- outputs: [
3032
+ "stateMutability": "view",
3033
+ "type": "function",
3034
+ "name": "AVANTIS_USDC_VAULT",
3035
+ "inputs": [],
3036
+ "outputs": [
3037
3037
  {
3038
- name: '',
3039
- type: 'address',
3040
- },
3041
- ],
3038
+ "name": "",
3039
+ "type": "address"
3040
+ }
3041
+ ]
3042
3042
  },
3043
3043
  {
3044
- stateMutability: 'view',
3045
- type: 'function',
3046
- name: 'RIPE_REGISTRY',
3047
- inputs: [],
3048
- outputs: [
3044
+ "stateMutability": "view",
3045
+ "type": "function",
3046
+ "name": "RIPE_REGISTRY",
3047
+ "inputs": [],
3048
+ "outputs": [
3049
3049
  {
3050
- name: '',
3051
- type: 'address',
3052
- },
3053
- ],
3050
+ "name": "",
3051
+ "type": "address"
3052
+ }
3053
+ ]
3054
3054
  },
3055
3055
  {
3056
- stateMutability: 'nonpayable',
3057
- type: 'constructor',
3058
- inputs: [
3056
+ "stateMutability": "nonpayable",
3057
+ "type": "constructor",
3058
+ "inputs": [
3059
3059
  {
3060
- name: '_undyHq',
3061
- type: 'address',
3060
+ "name": "_undyHq",
3061
+ "type": "address"
3062
3062
  },
3063
3063
  {
3064
- name: '_avantisUsdcVault',
3065
- type: 'address',
3064
+ "name": "_avantisUsdcVault",
3065
+ "type": "address"
3066
3066
  },
3067
3067
  {
3068
- name: '_ripeRegistry',
3069
- type: 'address',
3070
- },
3068
+ "name": "_ripeRegistry",
3069
+ "type": "address"
3070
+ }
3071
3071
  ],
3072
- outputs: [],
3073
- },
3072
+ "outputs": []
3073
+ }
3074
3074
  ];
3075
3075
  export const deployAddress = '0xc88CD884bdFa8F2D93e32a13EE16543b8a2CF1f0';
3076
3076
  function getRequest(method, args, contractAddressOrOptions) {
@@ -3200,38 +3200,14 @@ export function toSdk(publicClient, walletClient, addressResolver) {
3200
3200
  deployAddress,
3201
3201
  abi,
3202
3202
  events: {
3203
- AvantisDeposit: {
3204
- topic: getEventTopic('AvantisDeposit'),
3205
- parse: (events) => parseEvents('AvantisDeposit', events),
3206
- },
3207
- AvantisWithdrawal: {
3208
- topic: getEventTopic('AvantisWithdrawal'),
3209
- parse: (events) => parseEvents('AvantisWithdrawal', events),
3210
- },
3211
- LegoPauseModified: {
3212
- topic: getEventTopic('LegoPauseModified'),
3213
- parse: (events) => parseEvents('LegoPauseModified', events),
3214
- },
3215
- LegoFundsRecovered: {
3216
- topic: getEventTopic('LegoFundsRecovered'),
3217
- parse: (events) => parseEvents('LegoFundsRecovered', events),
3218
- },
3219
- SnapShotPriceConfigSet: {
3220
- topic: getEventTopic('SnapShotPriceConfigSet'),
3221
- parse: (events) => parseEvents('SnapShotPriceConfigSet', events),
3222
- },
3223
- AssetOpportunityAdded: {
3224
- topic: getEventTopic('AssetOpportunityAdded'),
3225
- parse: (events) => parseEvents('AssetOpportunityAdded', events),
3226
- },
3227
- AssetOpportunityRemoved: {
3228
- topic: getEventTopic('AssetOpportunityRemoved'),
3229
- parse: (events) => parseEvents('AssetOpportunityRemoved', events),
3230
- },
3231
- PricePerShareSnapShotAdded: {
3232
- topic: getEventTopic('PricePerShareSnapShotAdded'),
3233
- parse: (events) => parseEvents('PricePerShareSnapShotAdded', events),
3234
- },
3203
+ AvantisDeposit: { topic: getEventTopic('AvantisDeposit'), parse: (events) => parseEvents('AvantisDeposit', events) },
3204
+ AvantisWithdrawal: { topic: getEventTopic('AvantisWithdrawal'), parse: (events) => parseEvents('AvantisWithdrawal', events) },
3205
+ LegoPauseModified: { topic: getEventTopic('LegoPauseModified'), parse: (events) => parseEvents('LegoPauseModified', events) },
3206
+ LegoFundsRecovered: { topic: getEventTopic('LegoFundsRecovered'), parse: (events) => parseEvents('LegoFundsRecovered', events) },
3207
+ SnapShotPriceConfigSet: { topic: getEventTopic('SnapShotPriceConfigSet'), parse: (events) => parseEvents('SnapShotPriceConfigSet', events) },
3208
+ AssetOpportunityAdded: { topic: getEventTopic('AssetOpportunityAdded'), parse: (events) => parseEvents('AssetOpportunityAdded', events) },
3209
+ AssetOpportunityRemoved: { topic: getEventTopic('AssetOpportunityRemoved'), parse: (events) => parseEvents('AssetOpportunityRemoved', events) },
3210
+ PricePerShareSnapShotAdded: { topic: getEventTopic('PricePerShareSnapShotAdded'), parse: (events) => parseEvents('PricePerShareSnapShotAdded', events) },
3235
3211
  },
3236
3212
  // Queries
3237
3213
  getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args), {}, addressResolver),