@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
@@ -5,1887 +5,1887 @@
5
5
  import { singleQuery, mutate } from '@dappql/async';
6
6
  export const abi = [
7
7
  {
8
- stateMutability: 'view',
9
- type: 'function',
10
- name: 'getAddys',
11
- inputs: [],
12
- outputs: [
13
- {
14
- name: '',
15
- type: 'tuple',
16
- components: [
17
- {
18
- name: 'hq',
19
- type: 'address',
20
- },
8
+ "stateMutability": "view",
9
+ "type": "function",
10
+ "name": "getAddys",
11
+ "inputs": [],
12
+ "outputs": [
13
+ {
14
+ "name": "",
15
+ "type": "tuple",
16
+ "components": [
21
17
  {
22
- name: 'undyToken',
23
- type: 'address',
18
+ "name": "hq",
19
+ "type": "address"
24
20
  },
25
21
  {
26
- name: 'ledger',
27
- type: 'address',
22
+ "name": "undyToken",
23
+ "type": "address"
28
24
  },
29
25
  {
30
- name: 'missionControl',
31
- type: 'address',
26
+ "name": "ledger",
27
+ "type": "address"
32
28
  },
33
29
  {
34
- name: 'legoBook',
35
- type: 'address',
30
+ "name": "missionControl",
31
+ "type": "address"
36
32
  },
37
33
  {
38
- name: 'switchboard',
39
- type: 'address',
34
+ "name": "legoBook",
35
+ "type": "address"
40
36
  },
41
37
  {
42
- name: 'hatchery',
43
- type: 'address',
38
+ "name": "switchboard",
39
+ "type": "address"
44
40
  },
45
41
  {
46
- name: 'lootDistributor',
47
- type: 'address',
42
+ "name": "hatchery",
43
+ "type": "address"
48
44
  },
49
45
  {
50
- name: 'appraiser',
51
- type: 'address',
46
+ "name": "lootDistributor",
47
+ "type": "address"
52
48
  },
53
49
  {
54
- name: 'walletBackpack',
55
- type: 'address',
50
+ "name": "appraiser",
51
+ "type": "address"
56
52
  },
57
53
  {
58
- name: 'billing',
59
- type: 'address',
54
+ "name": "walletBackpack",
55
+ "type": "address"
60
56
  },
61
- ],
62
- },
63
- ],
57
+ {
58
+ "name": "billing",
59
+ "type": "address"
60
+ }
61
+ ]
62
+ }
63
+ ]
64
64
  },
65
65
  {
66
- stateMutability: 'view',
67
- type: 'function',
68
- name: 'getUndyHq',
69
- inputs: [],
70
- outputs: [
71
- {
72
- name: '',
73
- type: 'address',
74
- },
75
- ],
66
+ "stateMutability": "view",
67
+ "type": "function",
68
+ "name": "getUndyHq",
69
+ "inputs": [],
70
+ "outputs": [
71
+ {
72
+ "name": "",
73
+ "type": "address"
74
+ }
75
+ ]
76
76
  },
77
77
  {
78
- stateMutability: 'nonpayable',
79
- type: 'function',
80
- name: 'claimRewards',
81
- inputs: [
78
+ "stateMutability": "nonpayable",
79
+ "type": "function",
80
+ "name": "claimRewards",
81
+ "inputs": [
82
82
  {
83
- name: '_user',
84
- type: 'address',
83
+ "name": "_user",
84
+ "type": "address"
85
85
  },
86
86
  {
87
- name: '_rewardToken',
88
- type: 'address',
87
+ "name": "_rewardToken",
88
+ "type": "address"
89
89
  },
90
90
  {
91
- name: '_rewardAmount',
92
- type: 'uint256',
91
+ "name": "_rewardAmount",
92
+ "type": "uint256"
93
93
  },
94
94
  {
95
- name: '_extraData',
96
- type: 'bytes32',
97
- },
95
+ "name": "_extraData",
96
+ "type": "bytes32"
97
+ }
98
98
  ],
99
- outputs: [
99
+ "outputs": [
100
100
  {
101
- name: '',
102
- type: 'uint256',
101
+ "name": "",
102
+ "type": "uint256"
103
103
  },
104
104
  {
105
- name: '',
106
- type: 'uint256',
107
- },
108
- ],
105
+ "name": "",
106
+ "type": "uint256"
107
+ }
108
+ ]
109
109
  },
110
110
  {
111
- stateMutability: 'nonpayable',
112
- type: 'function',
113
- name: 'claimRewards',
114
- inputs: [
111
+ "stateMutability": "nonpayable",
112
+ "type": "function",
113
+ "name": "claimRewards",
114
+ "inputs": [
115
115
  {
116
- name: '_user',
117
- type: 'address',
116
+ "name": "_user",
117
+ "type": "address"
118
118
  },
119
119
  {
120
- name: '_rewardToken',
121
- type: 'address',
120
+ "name": "_rewardToken",
121
+ "type": "address"
122
122
  },
123
123
  {
124
- name: '_rewardAmount',
125
- type: 'uint256',
124
+ "name": "_rewardAmount",
125
+ "type": "uint256"
126
126
  },
127
127
  {
128
- name: '_extraData',
129
- type: 'bytes32',
128
+ "name": "_extraData",
129
+ "type": "bytes32"
130
130
  },
131
131
  {
132
- name: '_miniAddys',
133
- type: 'tuple',
134
- components: [
132
+ "name": "_miniAddys",
133
+ "type": "tuple",
134
+ "components": [
135
135
  {
136
- name: 'ledger',
137
- type: 'address',
136
+ "name": "ledger",
137
+ "type": "address"
138
138
  },
139
139
  {
140
- name: 'missionControl',
141
- type: 'address',
140
+ "name": "missionControl",
141
+ "type": "address"
142
142
  },
143
143
  {
144
- name: 'legoBook',
145
- type: 'address',
144
+ "name": "legoBook",
145
+ "type": "address"
146
146
  },
147
147
  {
148
- name: 'appraiser',
149
- type: 'address',
150
- },
151
- ],
152
- },
148
+ "name": "appraiser",
149
+ "type": "address"
150
+ }
151
+ ]
152
+ }
153
153
  ],
154
- outputs: [
154
+ "outputs": [
155
155
  {
156
- name: '',
157
- type: 'uint256',
156
+ "name": "",
157
+ "type": "uint256"
158
158
  },
159
159
  {
160
- name: '',
161
- type: 'uint256',
162
- },
163
- ],
160
+ "name": "",
161
+ "type": "uint256"
162
+ }
163
+ ]
164
164
  },
165
165
  {
166
- stateMutability: 'view',
167
- type: 'function',
168
- name: 'hasClaimableRewards',
169
- inputs: [
166
+ "stateMutability": "view",
167
+ "type": "function",
168
+ "name": "hasClaimableRewards",
169
+ "inputs": [
170
170
  {
171
- name: '_user',
172
- type: 'address',
173
- },
171
+ "name": "_user",
172
+ "type": "address"
173
+ }
174
174
  ],
175
- outputs: [
175
+ "outputs": [
176
176
  {
177
- name: '',
178
- type: 'bool',
179
- },
180
- ],
177
+ "name": "",
178
+ "type": "bool"
179
+ }
180
+ ]
181
181
  },
182
182
  {
183
- stateMutability: 'view',
184
- type: 'function',
185
- name: 'hasCapability',
186
- inputs: [
183
+ "stateMutability": "view",
184
+ "type": "function",
185
+ "name": "hasCapability",
186
+ "inputs": [
187
187
  {
188
- name: '_action',
189
- type: 'uint256',
190
- },
188
+ "name": "_action",
189
+ "type": "uint256"
190
+ }
191
191
  ],
192
- outputs: [
192
+ "outputs": [
193
193
  {
194
- name: '',
195
- type: 'bool',
196
- },
197
- ],
194
+ "name": "",
195
+ "type": "bool"
196
+ }
197
+ ]
198
198
  },
199
199
  {
200
- stateMutability: 'view',
201
- type: 'function',
202
- name: 'getRegistries',
203
- inputs: [],
204
- outputs: [
205
- {
206
- name: '',
207
- type: 'address[]',
208
- },
209
- ],
200
+ "stateMutability": "view",
201
+ "type": "function",
202
+ "name": "getRegistries",
203
+ "inputs": [],
204
+ "outputs": [
205
+ {
206
+ "name": "",
207
+ "type": "address[]"
208
+ }
209
+ ]
210
210
  },
211
211
  {
212
- stateMutability: 'view',
213
- type: 'function',
214
- name: 'isDexLego',
215
- inputs: [],
216
- outputs: [
217
- {
218
- name: '',
219
- type: 'bool',
220
- },
221
- ],
212
+ "stateMutability": "view",
213
+ "type": "function",
214
+ "name": "isDexLego",
215
+ "inputs": [],
216
+ "outputs": [
217
+ {
218
+ "name": "",
219
+ "type": "bool"
220
+ }
221
+ ]
222
222
  },
223
223
  {
224
- stateMutability: 'view',
225
- type: 'function',
226
- name: 'isYieldLego',
227
- inputs: [],
228
- outputs: [
229
- {
230
- name: '',
231
- type: 'bool',
232
- },
233
- ],
224
+ "stateMutability": "view",
225
+ "type": "function",
226
+ "name": "isYieldLego",
227
+ "inputs": [],
228
+ "outputs": [
229
+ {
230
+ "name": "",
231
+ "type": "bool"
232
+ }
233
+ ]
234
234
  },
235
235
  {
236
- stateMutability: 'view',
237
- type: 'function',
238
- name: 'isPaused',
239
- inputs: [],
240
- outputs: [
241
- {
242
- name: '',
243
- type: 'bool',
244
- },
245
- ],
236
+ "stateMutability": "view",
237
+ "type": "function",
238
+ "name": "isPaused",
239
+ "inputs": [],
240
+ "outputs": [
241
+ {
242
+ "name": "",
243
+ "type": "bool"
244
+ }
245
+ ]
246
246
  },
247
247
  {
248
- stateMutability: 'view',
249
- type: 'function',
250
- name: 'getPricePerShare',
251
- inputs: [
248
+ "stateMutability": "view",
249
+ "type": "function",
250
+ "name": "getPricePerShare",
251
+ "inputs": [
252
252
  {
253
- name: '_asset',
254
- type: 'address',
253
+ "name": "_asset",
254
+ "type": "address"
255
255
  },
256
256
  {
257
- name: '_decimals',
258
- type: 'uint256',
259
- },
257
+ "name": "_decimals",
258
+ "type": "uint256"
259
+ }
260
260
  ],
261
- outputs: [
261
+ "outputs": [
262
262
  {
263
- name: '',
264
- type: 'uint256',
265
- },
266
- ],
263
+ "name": "",
264
+ "type": "uint256"
265
+ }
266
+ ]
267
267
  },
268
268
  {
269
- stateMutability: 'view',
270
- type: 'function',
271
- name: 'getPrice',
272
- inputs: [
269
+ "stateMutability": "view",
270
+ "type": "function",
271
+ "name": "getPrice",
272
+ "inputs": [
273
273
  {
274
- name: '_asset',
275
- type: 'address',
274
+ "name": "_asset",
275
+ "type": "address"
276
276
  },
277
277
  {
278
- name: '_decimals',
279
- type: 'uint256',
280
- },
278
+ "name": "_decimals",
279
+ "type": "uint256"
280
+ }
281
281
  ],
282
- outputs: [
282
+ "outputs": [
283
283
  {
284
- name: '',
285
- type: 'uint256',
286
- },
287
- ],
284
+ "name": "",
285
+ "type": "uint256"
286
+ }
287
+ ]
288
288
  },
289
289
  {
290
- stateMutability: 'view',
291
- type: 'function',
292
- name: 'getAccessForLego',
293
- inputs: [
290
+ "stateMutability": "view",
291
+ "type": "function",
292
+ "name": "getAccessForLego",
293
+ "inputs": [
294
294
  {
295
- name: '_user',
296
- type: 'address',
295
+ "name": "_user",
296
+ "type": "address"
297
297
  },
298
298
  {
299
- name: '_action',
300
- type: 'uint256',
301
- },
299
+ "name": "_action",
300
+ "type": "uint256"
301
+ }
302
302
  ],
303
- outputs: [
303
+ "outputs": [
304
304
  {
305
- name: '',
306
- type: 'address',
305
+ "name": "",
306
+ "type": "address"
307
307
  },
308
308
  {
309
- name: '',
310
- type: 'string',
309
+ "name": "",
310
+ "type": "string"
311
311
  },
312
312
  {
313
- name: '',
314
- type: 'uint256',
315
- },
316
- ],
313
+ "name": "",
314
+ "type": "uint256"
315
+ }
316
+ ]
317
317
  },
318
318
  {
319
- stateMutability: 'nonpayable',
320
- type: 'function',
321
- name: 'pause',
322
- inputs: [
319
+ "stateMutability": "nonpayable",
320
+ "type": "function",
321
+ "name": "pause",
322
+ "inputs": [
323
323
  {
324
- name: '_shouldPause',
325
- type: 'bool',
326
- },
324
+ "name": "_shouldPause",
325
+ "type": "bool"
326
+ }
327
327
  ],
328
- outputs: [],
328
+ "outputs": []
329
329
  },
330
330
  {
331
- stateMutability: 'nonpayable',
332
- type: 'function',
333
- name: 'recoverFunds',
334
- inputs: [
331
+ "stateMutability": "nonpayable",
332
+ "type": "function",
333
+ "name": "recoverFunds",
334
+ "inputs": [
335
335
  {
336
- name: '_recipient',
337
- type: 'address',
336
+ "name": "_recipient",
337
+ "type": "address"
338
338
  },
339
339
  {
340
- name: '_asset',
341
- type: 'address',
342
- },
340
+ "name": "_asset",
341
+ "type": "address"
342
+ }
343
343
  ],
344
- outputs: [],
344
+ "outputs": []
345
345
  },
346
346
  {
347
- stateMutability: 'nonpayable',
348
- type: 'function',
349
- name: 'recoverFundsMany',
350
- inputs: [
347
+ "stateMutability": "nonpayable",
348
+ "type": "function",
349
+ "name": "recoverFundsMany",
350
+ "inputs": [
351
351
  {
352
- name: '_recipient',
353
- type: 'address',
352
+ "name": "_recipient",
353
+ "type": "address"
354
354
  },
355
355
  {
356
- name: '_assets',
357
- type: 'address[]',
358
- },
356
+ "name": "_assets",
357
+ "type": "address[]"
358
+ }
359
359
  ],
360
- outputs: [],
360
+ "outputs": []
361
361
  },
362
362
  {
363
- stateMutability: 'nonpayable',
364
- type: 'function',
365
- name: 'depositForYield',
366
- inputs: [
363
+ "stateMutability": "nonpayable",
364
+ "type": "function",
365
+ "name": "depositForYield",
366
+ "inputs": [
367
367
  {
368
- name: '_asset',
369
- type: 'address',
368
+ "name": "_asset",
369
+ "type": "address"
370
370
  },
371
371
  {
372
- name: '_amount',
373
- type: 'uint256',
372
+ "name": "_amount",
373
+ "type": "uint256"
374
374
  },
375
375
  {
376
- name: '_vaultAddr',
377
- type: 'address',
376
+ "name": "_vaultAddr",
377
+ "type": "address"
378
378
  },
379
379
  {
380
- name: '_extraData',
381
- type: 'bytes32',
380
+ "name": "_extraData",
381
+ "type": "bytes32"
382
382
  },
383
383
  {
384
- name: '_recipient',
385
- type: 'address',
386
- },
384
+ "name": "_recipient",
385
+ "type": "address"
386
+ }
387
387
  ],
388
- outputs: [
388
+ "outputs": [
389
389
  {
390
- name: '',
391
- type: 'uint256',
390
+ "name": "",
391
+ "type": "uint256"
392
392
  },
393
393
  {
394
- name: '',
395
- type: 'address',
394
+ "name": "",
395
+ "type": "address"
396
396
  },
397
397
  {
398
- name: '',
399
- type: 'uint256',
398
+ "name": "",
399
+ "type": "uint256"
400
400
  },
401
401
  {
402
- name: '',
403
- type: 'uint256',
404
- },
405
- ],
402
+ "name": "",
403
+ "type": "uint256"
404
+ }
405
+ ]
406
406
  },
407
407
  {
408
- stateMutability: 'nonpayable',
409
- type: 'function',
410
- name: 'depositForYield',
411
- inputs: [
408
+ "stateMutability": "nonpayable",
409
+ "type": "function",
410
+ "name": "depositForYield",
411
+ "inputs": [
412
412
  {
413
- name: '_asset',
414
- type: 'address',
413
+ "name": "_asset",
414
+ "type": "address"
415
415
  },
416
416
  {
417
- name: '_amount',
418
- type: 'uint256',
417
+ "name": "_amount",
418
+ "type": "uint256"
419
419
  },
420
420
  {
421
- name: '_vaultAddr',
422
- type: 'address',
421
+ "name": "_vaultAddr",
422
+ "type": "address"
423
423
  },
424
424
  {
425
- name: '_extraData',
426
- type: 'bytes32',
425
+ "name": "_extraData",
426
+ "type": "bytes32"
427
427
  },
428
428
  {
429
- name: '_recipient',
430
- type: 'address',
429
+ "name": "_recipient",
430
+ "type": "address"
431
431
  },
432
432
  {
433
- name: '_miniAddys',
434
- type: 'tuple',
435
- components: [
433
+ "name": "_miniAddys",
434
+ "type": "tuple",
435
+ "components": [
436
436
  {
437
- name: 'ledger',
438
- type: 'address',
437
+ "name": "ledger",
438
+ "type": "address"
439
439
  },
440
440
  {
441
- name: 'missionControl',
442
- type: 'address',
441
+ "name": "missionControl",
442
+ "type": "address"
443
443
  },
444
444
  {
445
- name: 'legoBook',
446
- type: 'address',
445
+ "name": "legoBook",
446
+ "type": "address"
447
447
  },
448
448
  {
449
- name: 'appraiser',
450
- type: 'address',
451
- },
452
- ],
453
- },
449
+ "name": "appraiser",
450
+ "type": "address"
451
+ }
452
+ ]
453
+ }
454
454
  ],
455
- outputs: [
455
+ "outputs": [
456
456
  {
457
- name: '',
458
- type: 'uint256',
457
+ "name": "",
458
+ "type": "uint256"
459
459
  },
460
460
  {
461
- name: '',
462
- type: 'address',
461
+ "name": "",
462
+ "type": "address"
463
463
  },
464
464
  {
465
- name: '',
466
- type: 'uint256',
465
+ "name": "",
466
+ "type": "uint256"
467
467
  },
468
468
  {
469
- name: '',
470
- type: 'uint256',
471
- },
472
- ],
469
+ "name": "",
470
+ "type": "uint256"
471
+ }
472
+ ]
473
473
  },
474
474
  {
475
- stateMutability: 'nonpayable',
476
- type: 'function',
477
- name: 'withdrawFromYield',
478
- inputs: [
475
+ "stateMutability": "nonpayable",
476
+ "type": "function",
477
+ "name": "withdrawFromYield",
478
+ "inputs": [
479
479
  {
480
- name: '_vaultToken',
481
- type: 'address',
480
+ "name": "_vaultToken",
481
+ "type": "address"
482
482
  },
483
483
  {
484
- name: '_amount',
485
- type: 'uint256',
484
+ "name": "_amount",
485
+ "type": "uint256"
486
486
  },
487
487
  {
488
- name: '_extraData',
489
- type: 'bytes32',
488
+ "name": "_extraData",
489
+ "type": "bytes32"
490
490
  },
491
491
  {
492
- name: '_recipient',
493
- type: 'address',
494
- },
492
+ "name": "_recipient",
493
+ "type": "address"
494
+ }
495
495
  ],
496
- outputs: [
496
+ "outputs": [
497
497
  {
498
- name: '',
499
- type: 'uint256',
498
+ "name": "",
499
+ "type": "uint256"
500
500
  },
501
501
  {
502
- name: '',
503
- type: 'address',
502
+ "name": "",
503
+ "type": "address"
504
504
  },
505
505
  {
506
- name: '',
507
- type: 'uint256',
506
+ "name": "",
507
+ "type": "uint256"
508
508
  },
509
509
  {
510
- name: '',
511
- type: 'uint256',
512
- },
513
- ],
510
+ "name": "",
511
+ "type": "uint256"
512
+ }
513
+ ]
514
514
  },
515
515
  {
516
- stateMutability: 'nonpayable',
517
- type: 'function',
518
- name: 'withdrawFromYield',
519
- inputs: [
516
+ "stateMutability": "nonpayable",
517
+ "type": "function",
518
+ "name": "withdrawFromYield",
519
+ "inputs": [
520
520
  {
521
- name: '_vaultToken',
522
- type: 'address',
521
+ "name": "_vaultToken",
522
+ "type": "address"
523
523
  },
524
524
  {
525
- name: '_amount',
526
- type: 'uint256',
525
+ "name": "_amount",
526
+ "type": "uint256"
527
527
  },
528
528
  {
529
- name: '_extraData',
530
- type: 'bytes32',
529
+ "name": "_extraData",
530
+ "type": "bytes32"
531
531
  },
532
532
  {
533
- name: '_recipient',
534
- type: 'address',
533
+ "name": "_recipient",
534
+ "type": "address"
535
535
  },
536
536
  {
537
- name: '_miniAddys',
538
- type: 'tuple',
539
- components: [
537
+ "name": "_miniAddys",
538
+ "type": "tuple",
539
+ "components": [
540
540
  {
541
- name: 'ledger',
542
- type: 'address',
541
+ "name": "ledger",
542
+ "type": "address"
543
543
  },
544
544
  {
545
- name: 'missionControl',
546
- type: 'address',
545
+ "name": "missionControl",
546
+ "type": "address"
547
547
  },
548
548
  {
549
- name: 'legoBook',
550
- type: 'address',
549
+ "name": "legoBook",
550
+ "type": "address"
551
551
  },
552
552
  {
553
- name: 'appraiser',
554
- type: 'address',
555
- },
556
- ],
557
- },
553
+ "name": "appraiser",
554
+ "type": "address"
555
+ }
556
+ ]
557
+ }
558
558
  ],
559
- outputs: [
559
+ "outputs": [
560
560
  {
561
- name: '',
562
- type: 'uint256',
561
+ "name": "",
562
+ "type": "uint256"
563
563
  },
564
564
  {
565
- name: '',
566
- type: 'address',
565
+ "name": "",
566
+ "type": "address"
567
567
  },
568
568
  {
569
- name: '',
570
- type: 'uint256',
569
+ "name": "",
570
+ "type": "uint256"
571
571
  },
572
572
  {
573
- name: '',
574
- type: 'uint256',
575
- },
576
- ],
573
+ "name": "",
574
+ "type": "uint256"
575
+ }
576
+ ]
577
577
  },
578
578
  {
579
- stateMutability: 'nonpayable',
580
- type: 'function',
581
- name: 'swapTokens',
582
- inputs: [
579
+ "stateMutability": "nonpayable",
580
+ "type": "function",
581
+ "name": "swapTokens",
582
+ "inputs": [
583
583
  {
584
- name: '_amountIn',
585
- type: 'uint256',
584
+ "name": "_amountIn",
585
+ "type": "uint256"
586
586
  },
587
587
  {
588
- name: '_minAmountOut',
589
- type: 'uint256',
588
+ "name": "_minAmountOut",
589
+ "type": "uint256"
590
590
  },
591
591
  {
592
- name: '_tokenPath',
593
- type: 'address[]',
592
+ "name": "_tokenPath",
593
+ "type": "address[]"
594
594
  },
595
595
  {
596
- name: '_poolPath',
597
- type: 'address[]',
596
+ "name": "_poolPath",
597
+ "type": "address[]"
598
598
  },
599
599
  {
600
- name: '_recipient',
601
- type: 'address',
602
- },
600
+ "name": "_recipient",
601
+ "type": "address"
602
+ }
603
603
  ],
604
- outputs: [
604
+ "outputs": [
605
605
  {
606
- name: '',
607
- type: 'uint256',
606
+ "name": "",
607
+ "type": "uint256"
608
608
  },
609
609
  {
610
- name: '',
611
- type: 'uint256',
610
+ "name": "",
611
+ "type": "uint256"
612
612
  },
613
613
  {
614
- name: '',
615
- type: 'uint256',
616
- },
617
- ],
614
+ "name": "",
615
+ "type": "uint256"
616
+ }
617
+ ]
618
618
  },
619
619
  {
620
- stateMutability: 'nonpayable',
621
- type: 'function',
622
- name: 'swapTokens',
623
- inputs: [
620
+ "stateMutability": "nonpayable",
621
+ "type": "function",
622
+ "name": "swapTokens",
623
+ "inputs": [
624
624
  {
625
- name: '_amountIn',
626
- type: 'uint256',
625
+ "name": "_amountIn",
626
+ "type": "uint256"
627
627
  },
628
628
  {
629
- name: '_minAmountOut',
630
- type: 'uint256',
629
+ "name": "_minAmountOut",
630
+ "type": "uint256"
631
631
  },
632
632
  {
633
- name: '_tokenPath',
634
- type: 'address[]',
633
+ "name": "_tokenPath",
634
+ "type": "address[]"
635
635
  },
636
636
  {
637
- name: '_poolPath',
638
- type: 'address[]',
637
+ "name": "_poolPath",
638
+ "type": "address[]"
639
639
  },
640
640
  {
641
- name: '_recipient',
642
- type: 'address',
641
+ "name": "_recipient",
642
+ "type": "address"
643
643
  },
644
644
  {
645
- name: '_miniAddys',
646
- type: 'tuple',
647
- components: [
645
+ "name": "_miniAddys",
646
+ "type": "tuple",
647
+ "components": [
648
648
  {
649
- name: 'ledger',
650
- type: 'address',
649
+ "name": "ledger",
650
+ "type": "address"
651
651
  },
652
652
  {
653
- name: 'missionControl',
654
- type: 'address',
653
+ "name": "missionControl",
654
+ "type": "address"
655
655
  },
656
656
  {
657
- name: 'legoBook',
658
- type: 'address',
657
+ "name": "legoBook",
658
+ "type": "address"
659
659
  },
660
660
  {
661
- name: 'appraiser',
662
- type: 'address',
663
- },
664
- ],
665
- },
661
+ "name": "appraiser",
662
+ "type": "address"
663
+ }
664
+ ]
665
+ }
666
666
  ],
667
- outputs: [
667
+ "outputs": [
668
668
  {
669
- name: '',
670
- type: 'uint256',
669
+ "name": "",
670
+ "type": "uint256"
671
671
  },
672
672
  {
673
- name: '',
674
- type: 'uint256',
673
+ "name": "",
674
+ "type": "uint256"
675
675
  },
676
676
  {
677
- name: '',
678
- type: 'uint256',
679
- },
680
- ],
677
+ "name": "",
678
+ "type": "uint256"
679
+ }
680
+ ]
681
681
  },
682
682
  {
683
- stateMutability: 'nonpayable',
684
- type: 'function',
685
- name: 'mintOrRedeemAsset',
686
- inputs: [
683
+ "stateMutability": "nonpayable",
684
+ "type": "function",
685
+ "name": "mintOrRedeemAsset",
686
+ "inputs": [
687
687
  {
688
- name: '_tokenIn',
689
- type: 'address',
688
+ "name": "_tokenIn",
689
+ "type": "address"
690
690
  },
691
691
  {
692
- name: '_tokenOut',
693
- type: 'address',
692
+ "name": "_tokenOut",
693
+ "type": "address"
694
694
  },
695
695
  {
696
- name: '_tokenInAmount',
697
- type: 'uint256',
696
+ "name": "_tokenInAmount",
697
+ "type": "uint256"
698
698
  },
699
699
  {
700
- name: '_minAmountOut',
701
- type: 'uint256',
700
+ "name": "_minAmountOut",
701
+ "type": "uint256"
702
702
  },
703
703
  {
704
- name: '_extraData',
705
- type: 'bytes32',
704
+ "name": "_extraData",
705
+ "type": "bytes32"
706
706
  },
707
707
  {
708
- name: '_recipient',
709
- type: 'address',
710
- },
708
+ "name": "_recipient",
709
+ "type": "address"
710
+ }
711
711
  ],
712
- outputs: [
712
+ "outputs": [
713
713
  {
714
- name: '',
715
- type: 'uint256',
714
+ "name": "",
715
+ "type": "uint256"
716
716
  },
717
717
  {
718
- name: '',
719
- type: 'uint256',
718
+ "name": "",
719
+ "type": "uint256"
720
720
  },
721
721
  {
722
- name: '',
723
- type: 'bool',
722
+ "name": "",
723
+ "type": "bool"
724
724
  },
725
725
  {
726
- name: '',
727
- type: 'uint256',
728
- },
729
- ],
726
+ "name": "",
727
+ "type": "uint256"
728
+ }
729
+ ]
730
730
  },
731
731
  {
732
- stateMutability: 'nonpayable',
733
- type: 'function',
734
- name: 'mintOrRedeemAsset',
735
- inputs: [
732
+ "stateMutability": "nonpayable",
733
+ "type": "function",
734
+ "name": "mintOrRedeemAsset",
735
+ "inputs": [
736
736
  {
737
- name: '_tokenIn',
738
- type: 'address',
737
+ "name": "_tokenIn",
738
+ "type": "address"
739
739
  },
740
740
  {
741
- name: '_tokenOut',
742
- type: 'address',
741
+ "name": "_tokenOut",
742
+ "type": "address"
743
743
  },
744
744
  {
745
- name: '_tokenInAmount',
746
- type: 'uint256',
745
+ "name": "_tokenInAmount",
746
+ "type": "uint256"
747
747
  },
748
748
  {
749
- name: '_minAmountOut',
750
- type: 'uint256',
749
+ "name": "_minAmountOut",
750
+ "type": "uint256"
751
751
  },
752
752
  {
753
- name: '_extraData',
754
- type: 'bytes32',
753
+ "name": "_extraData",
754
+ "type": "bytes32"
755
755
  },
756
756
  {
757
- name: '_recipient',
758
- type: 'address',
757
+ "name": "_recipient",
758
+ "type": "address"
759
759
  },
760
760
  {
761
- name: '_miniAddys',
762
- type: 'tuple',
763
- components: [
761
+ "name": "_miniAddys",
762
+ "type": "tuple",
763
+ "components": [
764
764
  {
765
- name: 'ledger',
766
- type: 'address',
765
+ "name": "ledger",
766
+ "type": "address"
767
767
  },
768
768
  {
769
- name: 'missionControl',
770
- type: 'address',
769
+ "name": "missionControl",
770
+ "type": "address"
771
771
  },
772
772
  {
773
- name: 'legoBook',
774
- type: 'address',
773
+ "name": "legoBook",
774
+ "type": "address"
775
775
  },
776
776
  {
777
- name: 'appraiser',
778
- type: 'address',
779
- },
780
- ],
781
- },
777
+ "name": "appraiser",
778
+ "type": "address"
779
+ }
780
+ ]
781
+ }
782
782
  ],
783
- outputs: [
783
+ "outputs": [
784
784
  {
785
- name: '',
786
- type: 'uint256',
785
+ "name": "",
786
+ "type": "uint256"
787
787
  },
788
788
  {
789
- name: '',
790
- type: 'uint256',
789
+ "name": "",
790
+ "type": "uint256"
791
791
  },
792
792
  {
793
- name: '',
794
- type: 'bool',
793
+ "name": "",
794
+ "type": "bool"
795
795
  },
796
796
  {
797
- name: '',
798
- type: 'uint256',
799
- },
800
- ],
797
+ "name": "",
798
+ "type": "uint256"
799
+ }
800
+ ]
801
801
  },
802
802
  {
803
- stateMutability: 'nonpayable',
804
- type: 'function',
805
- name: 'confirmMintOrRedeemAsset',
806
- inputs: [
803
+ "stateMutability": "nonpayable",
804
+ "type": "function",
805
+ "name": "confirmMintOrRedeemAsset",
806
+ "inputs": [
807
807
  {
808
- name: '_tokenIn',
809
- type: 'address',
808
+ "name": "_tokenIn",
809
+ "type": "address"
810
810
  },
811
811
  {
812
- name: '_tokenOut',
813
- type: 'address',
812
+ "name": "_tokenOut",
813
+ "type": "address"
814
814
  },
815
815
  {
816
- name: '_extraData',
817
- type: 'bytes32',
816
+ "name": "_extraData",
817
+ "type": "bytes32"
818
818
  },
819
819
  {
820
- name: '_recipient',
821
- type: 'address',
822
- },
820
+ "name": "_recipient",
821
+ "type": "address"
822
+ }
823
823
  ],
824
- outputs: [
824
+ "outputs": [
825
825
  {
826
- name: '',
827
- type: 'uint256',
826
+ "name": "",
827
+ "type": "uint256"
828
828
  },
829
829
  {
830
- name: '',
831
- type: 'uint256',
832
- },
833
- ],
830
+ "name": "",
831
+ "type": "uint256"
832
+ }
833
+ ]
834
834
  },
835
835
  {
836
- stateMutability: 'nonpayable',
837
- type: 'function',
838
- name: 'confirmMintOrRedeemAsset',
839
- inputs: [
836
+ "stateMutability": "nonpayable",
837
+ "type": "function",
838
+ "name": "confirmMintOrRedeemAsset",
839
+ "inputs": [
840
840
  {
841
- name: '_tokenIn',
842
- type: 'address',
841
+ "name": "_tokenIn",
842
+ "type": "address"
843
843
  },
844
844
  {
845
- name: '_tokenOut',
846
- type: 'address',
845
+ "name": "_tokenOut",
846
+ "type": "address"
847
847
  },
848
848
  {
849
- name: '_extraData',
850
- type: 'bytes32',
849
+ "name": "_extraData",
850
+ "type": "bytes32"
851
851
  },
852
852
  {
853
- name: '_recipient',
854
- type: 'address',
853
+ "name": "_recipient",
854
+ "type": "address"
855
855
  },
856
856
  {
857
- name: '_miniAddys',
858
- type: 'tuple',
859
- components: [
857
+ "name": "_miniAddys",
858
+ "type": "tuple",
859
+ "components": [
860
860
  {
861
- name: 'ledger',
862
- type: 'address',
861
+ "name": "ledger",
862
+ "type": "address"
863
863
  },
864
864
  {
865
- name: 'missionControl',
866
- type: 'address',
865
+ "name": "missionControl",
866
+ "type": "address"
867
867
  },
868
868
  {
869
- name: 'legoBook',
870
- type: 'address',
869
+ "name": "legoBook",
870
+ "type": "address"
871
871
  },
872
872
  {
873
- name: 'appraiser',
874
- type: 'address',
875
- },
876
- ],
877
- },
873
+ "name": "appraiser",
874
+ "type": "address"
875
+ }
876
+ ]
877
+ }
878
878
  ],
879
- outputs: [
879
+ "outputs": [
880
880
  {
881
- name: '',
882
- type: 'uint256',
881
+ "name": "",
882
+ "type": "uint256"
883
883
  },
884
884
  {
885
- name: '',
886
- type: 'uint256',
887
- },
888
- ],
885
+ "name": "",
886
+ "type": "uint256"
887
+ }
888
+ ]
889
889
  },
890
890
  {
891
- stateMutability: 'nonpayable',
892
- type: 'function',
893
- name: 'addCollateral',
894
- inputs: [
891
+ "stateMutability": "nonpayable",
892
+ "type": "function",
893
+ "name": "addCollateral",
894
+ "inputs": [
895
895
  {
896
- name: '_asset',
897
- type: 'address',
896
+ "name": "_asset",
897
+ "type": "address"
898
898
  },
899
899
  {
900
- name: '_amount',
901
- type: 'uint256',
900
+ "name": "_amount",
901
+ "type": "uint256"
902
902
  },
903
903
  {
904
- name: '_extraData',
905
- type: 'bytes32',
904
+ "name": "_extraData",
905
+ "type": "bytes32"
906
906
  },
907
907
  {
908
- name: '_recipient',
909
- type: 'address',
910
- },
908
+ "name": "_recipient",
909
+ "type": "address"
910
+ }
911
911
  ],
912
- outputs: [
912
+ "outputs": [
913
913
  {
914
- name: '',
915
- type: 'uint256',
914
+ "name": "",
915
+ "type": "uint256"
916
916
  },
917
917
  {
918
- name: '',
919
- type: 'uint256',
920
- },
921
- ],
918
+ "name": "",
919
+ "type": "uint256"
920
+ }
921
+ ]
922
922
  },
923
923
  {
924
- stateMutability: 'nonpayable',
925
- type: 'function',
926
- name: 'addCollateral',
927
- inputs: [
924
+ "stateMutability": "nonpayable",
925
+ "type": "function",
926
+ "name": "addCollateral",
927
+ "inputs": [
928
928
  {
929
- name: '_asset',
930
- type: 'address',
929
+ "name": "_asset",
930
+ "type": "address"
931
931
  },
932
932
  {
933
- name: '_amount',
934
- type: 'uint256',
933
+ "name": "_amount",
934
+ "type": "uint256"
935
935
  },
936
936
  {
937
- name: '_extraData',
938
- type: 'bytes32',
937
+ "name": "_extraData",
938
+ "type": "bytes32"
939
939
  },
940
940
  {
941
- name: '_recipient',
942
- type: 'address',
941
+ "name": "_recipient",
942
+ "type": "address"
943
943
  },
944
944
  {
945
- name: '_miniAddys',
946
- type: 'tuple',
947
- components: [
945
+ "name": "_miniAddys",
946
+ "type": "tuple",
947
+ "components": [
948
948
  {
949
- name: 'ledger',
950
- type: 'address',
949
+ "name": "ledger",
950
+ "type": "address"
951
951
  },
952
952
  {
953
- name: 'missionControl',
954
- type: 'address',
953
+ "name": "missionControl",
954
+ "type": "address"
955
955
  },
956
956
  {
957
- name: 'legoBook',
958
- type: 'address',
957
+ "name": "legoBook",
958
+ "type": "address"
959
959
  },
960
960
  {
961
- name: 'appraiser',
962
- type: 'address',
963
- },
964
- ],
965
- },
961
+ "name": "appraiser",
962
+ "type": "address"
963
+ }
964
+ ]
965
+ }
966
966
  ],
967
- outputs: [
967
+ "outputs": [
968
968
  {
969
- name: '',
970
- type: 'uint256',
969
+ "name": "",
970
+ "type": "uint256"
971
971
  },
972
972
  {
973
- name: '',
974
- type: 'uint256',
975
- },
976
- ],
973
+ "name": "",
974
+ "type": "uint256"
975
+ }
976
+ ]
977
977
  },
978
978
  {
979
- stateMutability: 'nonpayable',
980
- type: 'function',
981
- name: 'removeCollateral',
982
- inputs: [
979
+ "stateMutability": "nonpayable",
980
+ "type": "function",
981
+ "name": "removeCollateral",
982
+ "inputs": [
983
983
  {
984
- name: '_asset',
985
- type: 'address',
984
+ "name": "_asset",
985
+ "type": "address"
986
986
  },
987
987
  {
988
- name: '_amount',
989
- type: 'uint256',
988
+ "name": "_amount",
989
+ "type": "uint256"
990
990
  },
991
991
  {
992
- name: '_extraData',
993
- type: 'bytes32',
992
+ "name": "_extraData",
993
+ "type": "bytes32"
994
994
  },
995
995
  {
996
- name: '_recipient',
997
- type: 'address',
998
- },
996
+ "name": "_recipient",
997
+ "type": "address"
998
+ }
999
999
  ],
1000
- outputs: [
1000
+ "outputs": [
1001
1001
  {
1002
- name: '',
1003
- type: 'uint256',
1002
+ "name": "",
1003
+ "type": "uint256"
1004
1004
  },
1005
1005
  {
1006
- name: '',
1007
- type: 'uint256',
1008
- },
1009
- ],
1006
+ "name": "",
1007
+ "type": "uint256"
1008
+ }
1009
+ ]
1010
1010
  },
1011
1011
  {
1012
- stateMutability: 'nonpayable',
1013
- type: 'function',
1014
- name: 'removeCollateral',
1015
- inputs: [
1012
+ "stateMutability": "nonpayable",
1013
+ "type": "function",
1014
+ "name": "removeCollateral",
1015
+ "inputs": [
1016
1016
  {
1017
- name: '_asset',
1018
- type: 'address',
1017
+ "name": "_asset",
1018
+ "type": "address"
1019
1019
  },
1020
1020
  {
1021
- name: '_amount',
1022
- type: 'uint256',
1021
+ "name": "_amount",
1022
+ "type": "uint256"
1023
1023
  },
1024
1024
  {
1025
- name: '_extraData',
1026
- type: 'bytes32',
1025
+ "name": "_extraData",
1026
+ "type": "bytes32"
1027
1027
  },
1028
1028
  {
1029
- name: '_recipient',
1030
- type: 'address',
1029
+ "name": "_recipient",
1030
+ "type": "address"
1031
1031
  },
1032
1032
  {
1033
- name: '_miniAddys',
1034
- type: 'tuple',
1035
- components: [
1033
+ "name": "_miniAddys",
1034
+ "type": "tuple",
1035
+ "components": [
1036
1036
  {
1037
- name: 'ledger',
1038
- type: 'address',
1037
+ "name": "ledger",
1038
+ "type": "address"
1039
1039
  },
1040
1040
  {
1041
- name: 'missionControl',
1042
- type: 'address',
1041
+ "name": "missionControl",
1042
+ "type": "address"
1043
1043
  },
1044
1044
  {
1045
- name: 'legoBook',
1046
- type: 'address',
1045
+ "name": "legoBook",
1046
+ "type": "address"
1047
1047
  },
1048
1048
  {
1049
- name: 'appraiser',
1050
- type: 'address',
1051
- },
1052
- ],
1053
- },
1049
+ "name": "appraiser",
1050
+ "type": "address"
1051
+ }
1052
+ ]
1053
+ }
1054
1054
  ],
1055
- outputs: [
1055
+ "outputs": [
1056
1056
  {
1057
- name: '',
1058
- type: 'uint256',
1057
+ "name": "",
1058
+ "type": "uint256"
1059
1059
  },
1060
1060
  {
1061
- name: '',
1062
- type: 'uint256',
1063
- },
1064
- ],
1061
+ "name": "",
1062
+ "type": "uint256"
1063
+ }
1064
+ ]
1065
1065
  },
1066
1066
  {
1067
- stateMutability: 'nonpayable',
1068
- type: 'function',
1069
- name: 'borrow',
1070
- inputs: [
1067
+ "stateMutability": "nonpayable",
1068
+ "type": "function",
1069
+ "name": "borrow",
1070
+ "inputs": [
1071
1071
  {
1072
- name: '_borrowAsset',
1073
- type: 'address',
1072
+ "name": "_borrowAsset",
1073
+ "type": "address"
1074
1074
  },
1075
1075
  {
1076
- name: '_amount',
1077
- type: 'uint256',
1076
+ "name": "_amount",
1077
+ "type": "uint256"
1078
1078
  },
1079
1079
  {
1080
- name: '_extraData',
1081
- type: 'bytes32',
1080
+ "name": "_extraData",
1081
+ "type": "bytes32"
1082
1082
  },
1083
1083
  {
1084
- name: '_recipient',
1085
- type: 'address',
1086
- },
1084
+ "name": "_recipient",
1085
+ "type": "address"
1086
+ }
1087
1087
  ],
1088
- outputs: [
1088
+ "outputs": [
1089
1089
  {
1090
- name: '',
1091
- type: 'uint256',
1090
+ "name": "",
1091
+ "type": "uint256"
1092
1092
  },
1093
1093
  {
1094
- name: '',
1095
- type: 'uint256',
1096
- },
1097
- ],
1094
+ "name": "",
1095
+ "type": "uint256"
1096
+ }
1097
+ ]
1098
1098
  },
1099
1099
  {
1100
- stateMutability: 'nonpayable',
1101
- type: 'function',
1102
- name: 'borrow',
1103
- inputs: [
1100
+ "stateMutability": "nonpayable",
1101
+ "type": "function",
1102
+ "name": "borrow",
1103
+ "inputs": [
1104
1104
  {
1105
- name: '_borrowAsset',
1106
- type: 'address',
1105
+ "name": "_borrowAsset",
1106
+ "type": "address"
1107
1107
  },
1108
1108
  {
1109
- name: '_amount',
1110
- type: 'uint256',
1109
+ "name": "_amount",
1110
+ "type": "uint256"
1111
1111
  },
1112
1112
  {
1113
- name: '_extraData',
1114
- type: 'bytes32',
1113
+ "name": "_extraData",
1114
+ "type": "bytes32"
1115
1115
  },
1116
1116
  {
1117
- name: '_recipient',
1118
- type: 'address',
1117
+ "name": "_recipient",
1118
+ "type": "address"
1119
1119
  },
1120
1120
  {
1121
- name: '_miniAddys',
1122
- type: 'tuple',
1123
- components: [
1121
+ "name": "_miniAddys",
1122
+ "type": "tuple",
1123
+ "components": [
1124
1124
  {
1125
- name: 'ledger',
1126
- type: 'address',
1125
+ "name": "ledger",
1126
+ "type": "address"
1127
1127
  },
1128
1128
  {
1129
- name: 'missionControl',
1130
- type: 'address',
1129
+ "name": "missionControl",
1130
+ "type": "address"
1131
1131
  },
1132
1132
  {
1133
- name: 'legoBook',
1134
- type: 'address',
1133
+ "name": "legoBook",
1134
+ "type": "address"
1135
1135
  },
1136
1136
  {
1137
- name: 'appraiser',
1138
- type: 'address',
1139
- },
1140
- ],
1141
- },
1137
+ "name": "appraiser",
1138
+ "type": "address"
1139
+ }
1140
+ ]
1141
+ }
1142
1142
  ],
1143
- outputs: [
1143
+ "outputs": [
1144
1144
  {
1145
- name: '',
1146
- type: 'uint256',
1145
+ "name": "",
1146
+ "type": "uint256"
1147
1147
  },
1148
1148
  {
1149
- name: '',
1150
- type: 'uint256',
1151
- },
1152
- ],
1149
+ "name": "",
1150
+ "type": "uint256"
1151
+ }
1152
+ ]
1153
1153
  },
1154
1154
  {
1155
- stateMutability: 'nonpayable',
1156
- type: 'function',
1157
- name: 'repayDebt',
1158
- inputs: [
1155
+ "stateMutability": "nonpayable",
1156
+ "type": "function",
1157
+ "name": "repayDebt",
1158
+ "inputs": [
1159
1159
  {
1160
- name: '_paymentAsset',
1161
- type: 'address',
1160
+ "name": "_paymentAsset",
1161
+ "type": "address"
1162
1162
  },
1163
1163
  {
1164
- name: '_paymentAmount',
1165
- type: 'uint256',
1164
+ "name": "_paymentAmount",
1165
+ "type": "uint256"
1166
1166
  },
1167
1167
  {
1168
- name: '_extraData',
1169
- type: 'bytes32',
1168
+ "name": "_extraData",
1169
+ "type": "bytes32"
1170
1170
  },
1171
1171
  {
1172
- name: '_recipient',
1173
- type: 'address',
1174
- },
1172
+ "name": "_recipient",
1173
+ "type": "address"
1174
+ }
1175
1175
  ],
1176
- outputs: [
1176
+ "outputs": [
1177
1177
  {
1178
- name: '',
1179
- type: 'uint256',
1178
+ "name": "",
1179
+ "type": "uint256"
1180
1180
  },
1181
1181
  {
1182
- name: '',
1183
- type: 'uint256',
1184
- },
1185
- ],
1182
+ "name": "",
1183
+ "type": "uint256"
1184
+ }
1185
+ ]
1186
1186
  },
1187
1187
  {
1188
- stateMutability: 'nonpayable',
1189
- type: 'function',
1190
- name: 'repayDebt',
1191
- inputs: [
1188
+ "stateMutability": "nonpayable",
1189
+ "type": "function",
1190
+ "name": "repayDebt",
1191
+ "inputs": [
1192
1192
  {
1193
- name: '_paymentAsset',
1194
- type: 'address',
1193
+ "name": "_paymentAsset",
1194
+ "type": "address"
1195
1195
  },
1196
1196
  {
1197
- name: '_paymentAmount',
1198
- type: 'uint256',
1197
+ "name": "_paymentAmount",
1198
+ "type": "uint256"
1199
1199
  },
1200
1200
  {
1201
- name: '_extraData',
1202
- type: 'bytes32',
1201
+ "name": "_extraData",
1202
+ "type": "bytes32"
1203
1203
  },
1204
1204
  {
1205
- name: '_recipient',
1206
- type: 'address',
1205
+ "name": "_recipient",
1206
+ "type": "address"
1207
1207
  },
1208
1208
  {
1209
- name: '_miniAddys',
1210
- type: 'tuple',
1211
- components: [
1209
+ "name": "_miniAddys",
1210
+ "type": "tuple",
1211
+ "components": [
1212
1212
  {
1213
- name: 'ledger',
1214
- type: 'address',
1213
+ "name": "ledger",
1214
+ "type": "address"
1215
1215
  },
1216
1216
  {
1217
- name: 'missionControl',
1218
- type: 'address',
1217
+ "name": "missionControl",
1218
+ "type": "address"
1219
1219
  },
1220
1220
  {
1221
- name: 'legoBook',
1222
- type: 'address',
1221
+ "name": "legoBook",
1222
+ "type": "address"
1223
1223
  },
1224
1224
  {
1225
- name: 'appraiser',
1226
- type: 'address',
1227
- },
1228
- ],
1229
- },
1225
+ "name": "appraiser",
1226
+ "type": "address"
1227
+ }
1228
+ ]
1229
+ }
1230
1230
  ],
1231
- outputs: [
1231
+ "outputs": [
1232
1232
  {
1233
- name: '',
1234
- type: 'uint256',
1233
+ "name": "",
1234
+ "type": "uint256"
1235
1235
  },
1236
1236
  {
1237
- name: '',
1238
- type: 'uint256',
1239
- },
1240
- ],
1237
+ "name": "",
1238
+ "type": "uint256"
1239
+ }
1240
+ ]
1241
1241
  },
1242
1242
  {
1243
- stateMutability: 'nonpayable',
1244
- type: 'function',
1245
- name: 'addLiquidity',
1246
- inputs: [
1243
+ "stateMutability": "nonpayable",
1244
+ "type": "function",
1245
+ "name": "addLiquidity",
1246
+ "inputs": [
1247
1247
  {
1248
- name: '_pool',
1249
- type: 'address',
1248
+ "name": "_pool",
1249
+ "type": "address"
1250
1250
  },
1251
1251
  {
1252
- name: '_tokenA',
1253
- type: 'address',
1252
+ "name": "_tokenA",
1253
+ "type": "address"
1254
1254
  },
1255
1255
  {
1256
- name: '_tokenB',
1257
- type: 'address',
1256
+ "name": "_tokenB",
1257
+ "type": "address"
1258
1258
  },
1259
1259
  {
1260
- name: '_amountA',
1261
- type: 'uint256',
1260
+ "name": "_amountA",
1261
+ "type": "uint256"
1262
1262
  },
1263
1263
  {
1264
- name: '_amountB',
1265
- type: 'uint256',
1264
+ "name": "_amountB",
1265
+ "type": "uint256"
1266
1266
  },
1267
1267
  {
1268
- name: '_minAmountA',
1269
- type: 'uint256',
1268
+ "name": "_minAmountA",
1269
+ "type": "uint256"
1270
1270
  },
1271
1271
  {
1272
- name: '_minAmountB',
1273
- type: 'uint256',
1272
+ "name": "_minAmountB",
1273
+ "type": "uint256"
1274
1274
  },
1275
1275
  {
1276
- name: '_minLpAmount',
1277
- type: 'uint256',
1276
+ "name": "_minLpAmount",
1277
+ "type": "uint256"
1278
1278
  },
1279
1279
  {
1280
- name: '_extraData',
1281
- type: 'bytes32',
1280
+ "name": "_extraData",
1281
+ "type": "bytes32"
1282
1282
  },
1283
1283
  {
1284
- name: '_recipient',
1285
- type: 'address',
1286
- },
1284
+ "name": "_recipient",
1285
+ "type": "address"
1286
+ }
1287
1287
  ],
1288
- outputs: [
1288
+ "outputs": [
1289
1289
  {
1290
- name: '',
1291
- type: 'address',
1290
+ "name": "",
1291
+ "type": "address"
1292
1292
  },
1293
1293
  {
1294
- name: '',
1295
- type: 'uint256',
1294
+ "name": "",
1295
+ "type": "uint256"
1296
1296
  },
1297
1297
  {
1298
- name: '',
1299
- type: 'uint256',
1298
+ "name": "",
1299
+ "type": "uint256"
1300
1300
  },
1301
1301
  {
1302
- name: '',
1303
- type: 'uint256',
1302
+ "name": "",
1303
+ "type": "uint256"
1304
1304
  },
1305
1305
  {
1306
- name: '',
1307
- type: 'uint256',
1308
- },
1309
- ],
1306
+ "name": "",
1307
+ "type": "uint256"
1308
+ }
1309
+ ]
1310
1310
  },
1311
1311
  {
1312
- stateMutability: 'nonpayable',
1313
- type: 'function',
1314
- name: 'addLiquidity',
1315
- inputs: [
1312
+ "stateMutability": "nonpayable",
1313
+ "type": "function",
1314
+ "name": "addLiquidity",
1315
+ "inputs": [
1316
1316
  {
1317
- name: '_pool',
1318
- type: 'address',
1317
+ "name": "_pool",
1318
+ "type": "address"
1319
1319
  },
1320
1320
  {
1321
- name: '_tokenA',
1322
- type: 'address',
1321
+ "name": "_tokenA",
1322
+ "type": "address"
1323
1323
  },
1324
1324
  {
1325
- name: '_tokenB',
1326
- type: 'address',
1325
+ "name": "_tokenB",
1326
+ "type": "address"
1327
1327
  },
1328
1328
  {
1329
- name: '_amountA',
1330
- type: 'uint256',
1329
+ "name": "_amountA",
1330
+ "type": "uint256"
1331
1331
  },
1332
1332
  {
1333
- name: '_amountB',
1334
- type: 'uint256',
1333
+ "name": "_amountB",
1334
+ "type": "uint256"
1335
1335
  },
1336
1336
  {
1337
- name: '_minAmountA',
1338
- type: 'uint256',
1337
+ "name": "_minAmountA",
1338
+ "type": "uint256"
1339
1339
  },
1340
1340
  {
1341
- name: '_minAmountB',
1342
- type: 'uint256',
1341
+ "name": "_minAmountB",
1342
+ "type": "uint256"
1343
1343
  },
1344
1344
  {
1345
- name: '_minLpAmount',
1346
- type: 'uint256',
1345
+ "name": "_minLpAmount",
1346
+ "type": "uint256"
1347
1347
  },
1348
1348
  {
1349
- name: '_extraData',
1350
- type: 'bytes32',
1349
+ "name": "_extraData",
1350
+ "type": "bytes32"
1351
1351
  },
1352
1352
  {
1353
- name: '_recipient',
1354
- type: 'address',
1353
+ "name": "_recipient",
1354
+ "type": "address"
1355
1355
  },
1356
1356
  {
1357
- name: '_miniAddys',
1358
- type: 'tuple',
1359
- components: [
1357
+ "name": "_miniAddys",
1358
+ "type": "tuple",
1359
+ "components": [
1360
1360
  {
1361
- name: 'ledger',
1362
- type: 'address',
1361
+ "name": "ledger",
1362
+ "type": "address"
1363
1363
  },
1364
1364
  {
1365
- name: 'missionControl',
1366
- type: 'address',
1365
+ "name": "missionControl",
1366
+ "type": "address"
1367
1367
  },
1368
1368
  {
1369
- name: 'legoBook',
1370
- type: 'address',
1369
+ "name": "legoBook",
1370
+ "type": "address"
1371
1371
  },
1372
1372
  {
1373
- name: 'appraiser',
1374
- type: 'address',
1375
- },
1376
- ],
1377
- },
1373
+ "name": "appraiser",
1374
+ "type": "address"
1375
+ }
1376
+ ]
1377
+ }
1378
1378
  ],
1379
- outputs: [
1379
+ "outputs": [
1380
1380
  {
1381
- name: '',
1382
- type: 'address',
1381
+ "name": "",
1382
+ "type": "address"
1383
1383
  },
1384
1384
  {
1385
- name: '',
1386
- type: 'uint256',
1385
+ "name": "",
1386
+ "type": "uint256"
1387
1387
  },
1388
1388
  {
1389
- name: '',
1390
- type: 'uint256',
1389
+ "name": "",
1390
+ "type": "uint256"
1391
1391
  },
1392
1392
  {
1393
- name: '',
1394
- type: 'uint256',
1393
+ "name": "",
1394
+ "type": "uint256"
1395
1395
  },
1396
1396
  {
1397
- name: '',
1398
- type: 'uint256',
1399
- },
1400
- ],
1397
+ "name": "",
1398
+ "type": "uint256"
1399
+ }
1400
+ ]
1401
1401
  },
1402
1402
  {
1403
- stateMutability: 'nonpayable',
1404
- type: 'function',
1405
- name: 'removeLiquidity',
1406
- inputs: [
1403
+ "stateMutability": "nonpayable",
1404
+ "type": "function",
1405
+ "name": "removeLiquidity",
1406
+ "inputs": [
1407
1407
  {
1408
- name: '_pool',
1409
- type: 'address',
1408
+ "name": "_pool",
1409
+ "type": "address"
1410
1410
  },
1411
1411
  {
1412
- name: '_tokenA',
1413
- type: 'address',
1412
+ "name": "_tokenA",
1413
+ "type": "address"
1414
1414
  },
1415
1415
  {
1416
- name: '_tokenB',
1417
- type: 'address',
1416
+ "name": "_tokenB",
1417
+ "type": "address"
1418
1418
  },
1419
1419
  {
1420
- name: '_lpToken',
1421
- type: 'address',
1420
+ "name": "_lpToken",
1421
+ "type": "address"
1422
1422
  },
1423
1423
  {
1424
- name: '_lpAmount',
1425
- type: 'uint256',
1424
+ "name": "_lpAmount",
1425
+ "type": "uint256"
1426
1426
  },
1427
1427
  {
1428
- name: '_minAmountA',
1429
- type: 'uint256',
1428
+ "name": "_minAmountA",
1429
+ "type": "uint256"
1430
1430
  },
1431
1431
  {
1432
- name: '_minAmountB',
1433
- type: 'uint256',
1432
+ "name": "_minAmountB",
1433
+ "type": "uint256"
1434
1434
  },
1435
1435
  {
1436
- name: '_extraData',
1437
- type: 'bytes32',
1436
+ "name": "_extraData",
1437
+ "type": "bytes32"
1438
1438
  },
1439
1439
  {
1440
- name: '_recipient',
1441
- type: 'address',
1442
- },
1440
+ "name": "_recipient",
1441
+ "type": "address"
1442
+ }
1443
1443
  ],
1444
- outputs: [
1444
+ "outputs": [
1445
1445
  {
1446
- name: '',
1447
- type: 'uint256',
1446
+ "name": "",
1447
+ "type": "uint256"
1448
1448
  },
1449
1449
  {
1450
- name: '',
1451
- type: 'uint256',
1450
+ "name": "",
1451
+ "type": "uint256"
1452
1452
  },
1453
1453
  {
1454
- name: '',
1455
- type: 'uint256',
1454
+ "name": "",
1455
+ "type": "uint256"
1456
1456
  },
1457
1457
  {
1458
- name: '',
1459
- type: 'uint256',
1460
- },
1461
- ],
1458
+ "name": "",
1459
+ "type": "uint256"
1460
+ }
1461
+ ]
1462
1462
  },
1463
1463
  {
1464
- stateMutability: 'nonpayable',
1465
- type: 'function',
1466
- name: 'removeLiquidity',
1467
- inputs: [
1464
+ "stateMutability": "nonpayable",
1465
+ "type": "function",
1466
+ "name": "removeLiquidity",
1467
+ "inputs": [
1468
1468
  {
1469
- name: '_pool',
1470
- type: 'address',
1469
+ "name": "_pool",
1470
+ "type": "address"
1471
1471
  },
1472
1472
  {
1473
- name: '_tokenA',
1474
- type: 'address',
1473
+ "name": "_tokenA",
1474
+ "type": "address"
1475
1475
  },
1476
1476
  {
1477
- name: '_tokenB',
1478
- type: 'address',
1477
+ "name": "_tokenB",
1478
+ "type": "address"
1479
1479
  },
1480
1480
  {
1481
- name: '_lpToken',
1482
- type: 'address',
1481
+ "name": "_lpToken",
1482
+ "type": "address"
1483
1483
  },
1484
1484
  {
1485
- name: '_lpAmount',
1486
- type: 'uint256',
1485
+ "name": "_lpAmount",
1486
+ "type": "uint256"
1487
1487
  },
1488
1488
  {
1489
- name: '_minAmountA',
1490
- type: 'uint256',
1489
+ "name": "_minAmountA",
1490
+ "type": "uint256"
1491
1491
  },
1492
1492
  {
1493
- name: '_minAmountB',
1494
- type: 'uint256',
1493
+ "name": "_minAmountB",
1494
+ "type": "uint256"
1495
1495
  },
1496
1496
  {
1497
- name: '_extraData',
1498
- type: 'bytes32',
1497
+ "name": "_extraData",
1498
+ "type": "bytes32"
1499
1499
  },
1500
1500
  {
1501
- name: '_recipient',
1502
- type: 'address',
1501
+ "name": "_recipient",
1502
+ "type": "address"
1503
1503
  },
1504
1504
  {
1505
- name: '_miniAddys',
1506
- type: 'tuple',
1507
- components: [
1505
+ "name": "_miniAddys",
1506
+ "type": "tuple",
1507
+ "components": [
1508
1508
  {
1509
- name: 'ledger',
1510
- type: 'address',
1509
+ "name": "ledger",
1510
+ "type": "address"
1511
1511
  },
1512
1512
  {
1513
- name: 'missionControl',
1514
- type: 'address',
1513
+ "name": "missionControl",
1514
+ "type": "address"
1515
1515
  },
1516
1516
  {
1517
- name: 'legoBook',
1518
- type: 'address',
1517
+ "name": "legoBook",
1518
+ "type": "address"
1519
1519
  },
1520
1520
  {
1521
- name: 'appraiser',
1522
- type: 'address',
1523
- },
1524
- ],
1525
- },
1521
+ "name": "appraiser",
1522
+ "type": "address"
1523
+ }
1524
+ ]
1525
+ }
1526
1526
  ],
1527
- outputs: [
1527
+ "outputs": [
1528
1528
  {
1529
- name: '',
1530
- type: 'uint256',
1529
+ "name": "",
1530
+ "type": "uint256"
1531
1531
  },
1532
1532
  {
1533
- name: '',
1534
- type: 'uint256',
1533
+ "name": "",
1534
+ "type": "uint256"
1535
1535
  },
1536
1536
  {
1537
- name: '',
1538
- type: 'uint256',
1537
+ "name": "",
1538
+ "type": "uint256"
1539
1539
  },
1540
1540
  {
1541
- name: '',
1542
- type: 'uint256',
1543
- },
1544
- ],
1541
+ "name": "",
1542
+ "type": "uint256"
1543
+ }
1544
+ ]
1545
1545
  },
1546
1546
  {
1547
- stateMutability: 'nonpayable',
1548
- type: 'function',
1549
- name: 'addLiquidityConcentrated',
1550
- inputs: [
1547
+ "stateMutability": "nonpayable",
1548
+ "type": "function",
1549
+ "name": "addLiquidityConcentrated",
1550
+ "inputs": [
1551
1551
  {
1552
- name: '_nftTokenId',
1553
- type: 'uint256',
1552
+ "name": "_nftTokenId",
1553
+ "type": "uint256"
1554
1554
  },
1555
1555
  {
1556
- name: '_pool',
1557
- type: 'address',
1556
+ "name": "_pool",
1557
+ "type": "address"
1558
1558
  },
1559
1559
  {
1560
- name: '_tokenA',
1561
- type: 'address',
1560
+ "name": "_tokenA",
1561
+ "type": "address"
1562
1562
  },
1563
1563
  {
1564
- name: '_tokenB',
1565
- type: 'address',
1564
+ "name": "_tokenB",
1565
+ "type": "address"
1566
1566
  },
1567
1567
  {
1568
- name: '_tickLower',
1569
- type: 'int24',
1568
+ "name": "_tickLower",
1569
+ "type": "int24"
1570
1570
  },
1571
1571
  {
1572
- name: '_tickUpper',
1573
- type: 'int24',
1572
+ "name": "_tickUpper",
1573
+ "type": "int24"
1574
1574
  },
1575
1575
  {
1576
- name: '_amountA',
1577
- type: 'uint256',
1576
+ "name": "_amountA",
1577
+ "type": "uint256"
1578
1578
  },
1579
1579
  {
1580
- name: '_amountB',
1581
- type: 'uint256',
1580
+ "name": "_amountB",
1581
+ "type": "uint256"
1582
1582
  },
1583
1583
  {
1584
- name: '_minAmountA',
1585
- type: 'uint256',
1584
+ "name": "_minAmountA",
1585
+ "type": "uint256"
1586
1586
  },
1587
1587
  {
1588
- name: '_minAmountB',
1589
- type: 'uint256',
1588
+ "name": "_minAmountB",
1589
+ "type": "uint256"
1590
1590
  },
1591
1591
  {
1592
- name: '_extraData',
1593
- type: 'bytes32',
1592
+ "name": "_extraData",
1593
+ "type": "bytes32"
1594
1594
  },
1595
1595
  {
1596
- name: '_recipient',
1597
- type: 'address',
1598
- },
1596
+ "name": "_recipient",
1597
+ "type": "address"
1598
+ }
1599
1599
  ],
1600
- outputs: [
1600
+ "outputs": [
1601
1601
  {
1602
- name: '',
1603
- type: 'uint256',
1602
+ "name": "",
1603
+ "type": "uint256"
1604
1604
  },
1605
1605
  {
1606
- name: '',
1607
- type: 'uint256',
1606
+ "name": "",
1607
+ "type": "uint256"
1608
1608
  },
1609
1609
  {
1610
- name: '',
1611
- type: 'uint256',
1610
+ "name": "",
1611
+ "type": "uint256"
1612
1612
  },
1613
1613
  {
1614
- name: '',
1615
- type: 'uint256',
1614
+ "name": "",
1615
+ "type": "uint256"
1616
1616
  },
1617
1617
  {
1618
- name: '',
1619
- type: 'uint256',
1620
- },
1621
- ],
1618
+ "name": "",
1619
+ "type": "uint256"
1620
+ }
1621
+ ]
1622
1622
  },
1623
1623
  {
1624
- stateMutability: 'nonpayable',
1625
- type: 'function',
1626
- name: 'addLiquidityConcentrated',
1627
- inputs: [
1624
+ "stateMutability": "nonpayable",
1625
+ "type": "function",
1626
+ "name": "addLiquidityConcentrated",
1627
+ "inputs": [
1628
1628
  {
1629
- name: '_nftTokenId',
1630
- type: 'uint256',
1629
+ "name": "_nftTokenId",
1630
+ "type": "uint256"
1631
1631
  },
1632
1632
  {
1633
- name: '_pool',
1634
- type: 'address',
1633
+ "name": "_pool",
1634
+ "type": "address"
1635
1635
  },
1636
1636
  {
1637
- name: '_tokenA',
1638
- type: 'address',
1637
+ "name": "_tokenA",
1638
+ "type": "address"
1639
1639
  },
1640
1640
  {
1641
- name: '_tokenB',
1642
- type: 'address',
1641
+ "name": "_tokenB",
1642
+ "type": "address"
1643
1643
  },
1644
1644
  {
1645
- name: '_tickLower',
1646
- type: 'int24',
1645
+ "name": "_tickLower",
1646
+ "type": "int24"
1647
1647
  },
1648
1648
  {
1649
- name: '_tickUpper',
1650
- type: 'int24',
1649
+ "name": "_tickUpper",
1650
+ "type": "int24"
1651
1651
  },
1652
1652
  {
1653
- name: '_amountA',
1654
- type: 'uint256',
1653
+ "name": "_amountA",
1654
+ "type": "uint256"
1655
1655
  },
1656
1656
  {
1657
- name: '_amountB',
1658
- type: 'uint256',
1657
+ "name": "_amountB",
1658
+ "type": "uint256"
1659
1659
  },
1660
1660
  {
1661
- name: '_minAmountA',
1662
- type: 'uint256',
1661
+ "name": "_minAmountA",
1662
+ "type": "uint256"
1663
1663
  },
1664
1664
  {
1665
- name: '_minAmountB',
1666
- type: 'uint256',
1665
+ "name": "_minAmountB",
1666
+ "type": "uint256"
1667
1667
  },
1668
1668
  {
1669
- name: '_extraData',
1670
- type: 'bytes32',
1669
+ "name": "_extraData",
1670
+ "type": "bytes32"
1671
1671
  },
1672
1672
  {
1673
- name: '_recipient',
1674
- type: 'address',
1673
+ "name": "_recipient",
1674
+ "type": "address"
1675
1675
  },
1676
1676
  {
1677
- name: '_miniAddys',
1678
- type: 'tuple',
1679
- components: [
1677
+ "name": "_miniAddys",
1678
+ "type": "tuple",
1679
+ "components": [
1680
1680
  {
1681
- name: 'ledger',
1682
- type: 'address',
1681
+ "name": "ledger",
1682
+ "type": "address"
1683
1683
  },
1684
1684
  {
1685
- name: 'missionControl',
1686
- type: 'address',
1685
+ "name": "missionControl",
1686
+ "type": "address"
1687
1687
  },
1688
1688
  {
1689
- name: 'legoBook',
1690
- type: 'address',
1689
+ "name": "legoBook",
1690
+ "type": "address"
1691
1691
  },
1692
1692
  {
1693
- name: 'appraiser',
1694
- type: 'address',
1695
- },
1696
- ],
1697
- },
1693
+ "name": "appraiser",
1694
+ "type": "address"
1695
+ }
1696
+ ]
1697
+ }
1698
1698
  ],
1699
- outputs: [
1699
+ "outputs": [
1700
1700
  {
1701
- name: '',
1702
- type: 'uint256',
1701
+ "name": "",
1702
+ "type": "uint256"
1703
1703
  },
1704
1704
  {
1705
- name: '',
1706
- type: 'uint256',
1705
+ "name": "",
1706
+ "type": "uint256"
1707
1707
  },
1708
1708
  {
1709
- name: '',
1710
- type: 'uint256',
1709
+ "name": "",
1710
+ "type": "uint256"
1711
1711
  },
1712
1712
  {
1713
- name: '',
1714
- type: 'uint256',
1713
+ "name": "",
1714
+ "type": "uint256"
1715
1715
  },
1716
1716
  {
1717
- name: '',
1718
- type: 'uint256',
1719
- },
1720
- ],
1717
+ "name": "",
1718
+ "type": "uint256"
1719
+ }
1720
+ ]
1721
1721
  },
1722
1722
  {
1723
- stateMutability: 'nonpayable',
1724
- type: 'function',
1725
- name: 'removeLiquidityConcentrated',
1726
- inputs: [
1723
+ "stateMutability": "nonpayable",
1724
+ "type": "function",
1725
+ "name": "removeLiquidityConcentrated",
1726
+ "inputs": [
1727
1727
  {
1728
- name: '_nftTokenId',
1729
- type: 'uint256',
1728
+ "name": "_nftTokenId",
1729
+ "type": "uint256"
1730
1730
  },
1731
1731
  {
1732
- name: '_pool',
1733
- type: 'address',
1732
+ "name": "_pool",
1733
+ "type": "address"
1734
1734
  },
1735
1735
  {
1736
- name: '_tokenA',
1737
- type: 'address',
1736
+ "name": "_tokenA",
1737
+ "type": "address"
1738
1738
  },
1739
1739
  {
1740
- name: '_tokenB',
1741
- type: 'address',
1740
+ "name": "_tokenB",
1741
+ "type": "address"
1742
1742
  },
1743
1743
  {
1744
- name: '_liqToRemove',
1745
- type: 'uint256',
1744
+ "name": "_liqToRemove",
1745
+ "type": "uint256"
1746
1746
  },
1747
1747
  {
1748
- name: '_minAmountA',
1749
- type: 'uint256',
1748
+ "name": "_minAmountA",
1749
+ "type": "uint256"
1750
1750
  },
1751
1751
  {
1752
- name: '_minAmountB',
1753
- type: 'uint256',
1752
+ "name": "_minAmountB",
1753
+ "type": "uint256"
1754
1754
  },
1755
1755
  {
1756
- name: '_extraData',
1757
- type: 'bytes32',
1756
+ "name": "_extraData",
1757
+ "type": "bytes32"
1758
1758
  },
1759
1759
  {
1760
- name: '_recipient',
1761
- type: 'address',
1762
- },
1760
+ "name": "_recipient",
1761
+ "type": "address"
1762
+ }
1763
1763
  ],
1764
- outputs: [
1764
+ "outputs": [
1765
1765
  {
1766
- name: '',
1767
- type: 'uint256',
1766
+ "name": "",
1767
+ "type": "uint256"
1768
1768
  },
1769
1769
  {
1770
- name: '',
1771
- type: 'uint256',
1770
+ "name": "",
1771
+ "type": "uint256"
1772
1772
  },
1773
1773
  {
1774
- name: '',
1775
- type: 'uint256',
1774
+ "name": "",
1775
+ "type": "uint256"
1776
1776
  },
1777
1777
  {
1778
- name: '',
1779
- type: 'bool',
1778
+ "name": "",
1779
+ "type": "bool"
1780
1780
  },
1781
1781
  {
1782
- name: '',
1783
- type: 'uint256',
1784
- },
1785
- ],
1782
+ "name": "",
1783
+ "type": "uint256"
1784
+ }
1785
+ ]
1786
1786
  },
1787
1787
  {
1788
- stateMutability: 'nonpayable',
1789
- type: 'function',
1790
- name: 'removeLiquidityConcentrated',
1791
- inputs: [
1788
+ "stateMutability": "nonpayable",
1789
+ "type": "function",
1790
+ "name": "removeLiquidityConcentrated",
1791
+ "inputs": [
1792
1792
  {
1793
- name: '_nftTokenId',
1794
- type: 'uint256',
1793
+ "name": "_nftTokenId",
1794
+ "type": "uint256"
1795
1795
  },
1796
1796
  {
1797
- name: '_pool',
1798
- type: 'address',
1797
+ "name": "_pool",
1798
+ "type": "address"
1799
1799
  },
1800
1800
  {
1801
- name: '_tokenA',
1802
- type: 'address',
1801
+ "name": "_tokenA",
1802
+ "type": "address"
1803
1803
  },
1804
1804
  {
1805
- name: '_tokenB',
1806
- type: 'address',
1805
+ "name": "_tokenB",
1806
+ "type": "address"
1807
1807
  },
1808
1808
  {
1809
- name: '_liqToRemove',
1810
- type: 'uint256',
1809
+ "name": "_liqToRemove",
1810
+ "type": "uint256"
1811
1811
  },
1812
1812
  {
1813
- name: '_minAmountA',
1814
- type: 'uint256',
1813
+ "name": "_minAmountA",
1814
+ "type": "uint256"
1815
1815
  },
1816
1816
  {
1817
- name: '_minAmountB',
1818
- type: 'uint256',
1817
+ "name": "_minAmountB",
1818
+ "type": "uint256"
1819
1819
  },
1820
1820
  {
1821
- name: '_extraData',
1822
- type: 'bytes32',
1821
+ "name": "_extraData",
1822
+ "type": "bytes32"
1823
1823
  },
1824
1824
  {
1825
- name: '_recipient',
1826
- type: 'address',
1825
+ "name": "_recipient",
1826
+ "type": "address"
1827
1827
  },
1828
1828
  {
1829
- name: '_miniAddys',
1830
- type: 'tuple',
1831
- components: [
1829
+ "name": "_miniAddys",
1830
+ "type": "tuple",
1831
+ "components": [
1832
1832
  {
1833
- name: 'ledger',
1834
- type: 'address',
1833
+ "name": "ledger",
1834
+ "type": "address"
1835
1835
  },
1836
1836
  {
1837
- name: 'missionControl',
1838
- type: 'address',
1837
+ "name": "missionControl",
1838
+ "type": "address"
1839
1839
  },
1840
1840
  {
1841
- name: 'legoBook',
1842
- type: 'address',
1841
+ "name": "legoBook",
1842
+ "type": "address"
1843
1843
  },
1844
1844
  {
1845
- name: 'appraiser',
1846
- type: 'address',
1847
- },
1848
- ],
1849
- },
1845
+ "name": "appraiser",
1846
+ "type": "address"
1847
+ }
1848
+ ]
1849
+ }
1850
1850
  ],
1851
- outputs: [
1851
+ "outputs": [
1852
1852
  {
1853
- name: '',
1854
- type: 'uint256',
1853
+ "name": "",
1854
+ "type": "uint256"
1855
1855
  },
1856
1856
  {
1857
- name: '',
1858
- type: 'uint256',
1857
+ "name": "",
1858
+ "type": "uint256"
1859
1859
  },
1860
1860
  {
1861
- name: '',
1862
- type: 'uint256',
1861
+ "name": "",
1862
+ "type": "uint256"
1863
1863
  },
1864
1864
  {
1865
- name: '',
1866
- type: 'bool',
1865
+ "name": "",
1866
+ "type": "bool"
1867
1867
  },
1868
1868
  {
1869
- name: '',
1870
- type: 'uint256',
1871
- },
1872
- ],
1869
+ "name": "",
1870
+ "type": "uint256"
1871
+ }
1872
+ ]
1873
1873
  },
1874
1874
  {
1875
- stateMutability: 'nonpayable',
1876
- type: 'constructor',
1877
- inputs: [
1875
+ "stateMutability": "nonpayable",
1876
+ "type": "constructor",
1877
+ "inputs": [
1878
1878
  {
1879
- name: '_undyHq',
1880
- type: 'address',
1879
+ "name": "_undyHq",
1880
+ "type": "address"
1881
1881
  },
1882
1882
  {
1883
- name: '_ripeToken',
1884
- type: 'address',
1885
- },
1883
+ "name": "_ripeToken",
1884
+ "type": "address"
1885
+ }
1886
1886
  ],
1887
- outputs: [],
1888
- },
1887
+ "outputs": []
1888
+ }
1889
1889
  ];
1890
1890
  export const deployAddress = '0x9cd3090F083f326E5e29b224F1798622A2a073e7';
1891
1891
  function getRequest(method, args, contractAddressOrOptions) {