@shapeshiftoss/unchained-client 6.11.0 → 6.11.1

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 (187) hide show
  1. package/README.md +3 -1
  2. package/dist/bitcoin/index.d.ts +0 -1
  3. package/dist/bitcoin/index.js +5 -2
  4. package/dist/bitcoin/parser/index.d.ts +0 -1
  5. package/dist/bitcoin/parser/index.js +43 -55
  6. package/dist/bitcoin/parser/utils.d.ts +0 -1
  7. package/dist/bitcoin/parser/utils.js +0 -1
  8. package/dist/bitcoin/types.d.ts +0 -1
  9. package/dist/bitcoin/types.js +0 -1
  10. package/dist/cosmos/index.d.ts +0 -1
  11. package/dist/cosmos/index.js +5 -2
  12. package/dist/cosmos/parser/index.d.ts +1 -2
  13. package/dist/cosmos/parser/index.js +56 -64
  14. package/dist/cosmos/parser/utils.d.ts +2 -3
  15. package/dist/cosmos/parser/utils.js +21 -22
  16. package/dist/cosmos/types.d.ts +0 -1
  17. package/dist/cosmos/types.js +0 -1
  18. package/dist/ethereum/index.d.ts +0 -1
  19. package/dist/ethereum/index.js +5 -2
  20. package/dist/ethereum/parser/abi/erc20.d.ts +0 -1
  21. package/dist/ethereum/parser/abi/erc20.js +69 -70
  22. package/dist/ethereum/parser/abi/foxyStaking.d.ts +0 -1
  23. package/dist/ethereum/parser/abi/foxyStaking.js +161 -162
  24. package/dist/ethereum/parser/abi/multiSig.d.ts +0 -1
  25. package/dist/ethereum/parser/abi/multiSig.js +79 -80
  26. package/dist/ethereum/parser/abi/shapeShiftRouter.d.ts +0 -1
  27. package/dist/ethereum/parser/abi/shapeShiftRouter.js +119 -120
  28. package/dist/ethereum/parser/abi/thor.d.ts +0 -1
  29. package/dist/ethereum/parser/abi/thor.js +28 -29
  30. package/dist/ethereum/parser/abi/uniV2.d.ts +0 -1
  31. package/dist/ethereum/parser/abi/uniV2.js +55 -56
  32. package/dist/ethereum/parser/abi/weth.d.ts +0 -1
  33. package/dist/ethereum/parser/abi/weth.js +66 -67
  34. package/dist/ethereum/parser/abi/yearnVault.d.ts +0 -1
  35. package/dist/ethereum/parser/abi/yearnVault.js +95 -96
  36. package/dist/ethereum/parser/constants.d.ts +0 -1
  37. package/dist/ethereum/parser/constants.js +0 -1
  38. package/dist/ethereum/parser/foxy.d.ts +1 -2
  39. package/dist/ethereum/parser/foxy.js +22 -34
  40. package/dist/ethereum/parser/index.d.ts +0 -1
  41. package/dist/ethereum/parser/index.js +46 -54
  42. package/dist/ethereum/parser/thor.d.ts +1 -2
  43. package/dist/ethereum/parser/thor.js +29 -41
  44. package/dist/ethereum/parser/uniV2.d.ts +0 -1
  45. package/dist/ethereum/parser/uniV2.js +87 -99
  46. package/dist/ethereum/parser/utils.d.ts +0 -1
  47. package/dist/ethereum/parser/utils.js +2 -3
  48. package/dist/ethereum/parser/weth.d.ts +0 -1
  49. package/dist/ethereum/parser/weth.js +72 -84
  50. package/dist/ethereum/parser/yearn.d.ts +1 -2
  51. package/dist/ethereum/parser/yearn.js +46 -58
  52. package/dist/ethereum/parser/zrx.d.ts +1 -2
  53. package/dist/ethereum/parser/zrx.js +18 -30
  54. package/dist/ethereum/types.d.ts +0 -1
  55. package/dist/ethereum/types.js +0 -1
  56. package/dist/generated/bitcoin/api.d.ts +116 -120
  57. package/dist/generated/bitcoin/api.js +81 -110
  58. package/dist/generated/bitcoin/base.d.ts +2 -3
  59. package/dist/generated/bitcoin/base.js +1 -2
  60. package/dist/generated/bitcoin/common.d.ts +2 -3
  61. package/dist/generated/bitcoin/common.js +22 -38
  62. package/dist/generated/bitcoin/configuration.d.ts +0 -1
  63. package/dist/generated/bitcoin/configuration.js +0 -1
  64. package/dist/generated/bitcoin/index.d.ts +0 -1
  65. package/dist/generated/bitcoin/index.js +5 -2
  66. package/dist/generated/cosmos/api.d.ts +143 -144
  67. package/dist/generated/cosmos/api.js +89 -115
  68. package/dist/generated/cosmos/base.d.ts +2 -3
  69. package/dist/generated/cosmos/base.js +0 -1
  70. package/dist/generated/cosmos/common.d.ts +2 -3
  71. package/dist/generated/cosmos/common.js +22 -38
  72. package/dist/generated/cosmos/configuration.d.ts +0 -1
  73. package/dist/generated/cosmos/configuration.js +0 -1
  74. package/dist/generated/cosmos/index.d.ts +0 -1
  75. package/dist/generated/cosmos/index.js +5 -2
  76. package/dist/generated/ethereum/api.d.ts +73 -77
  77. package/dist/generated/ethereum/api.js +73 -100
  78. package/dist/generated/ethereum/base.d.ts +2 -3
  79. package/dist/generated/ethereum/base.js +1 -2
  80. package/dist/generated/ethereum/common.d.ts +2 -3
  81. package/dist/generated/ethereum/common.js +22 -38
  82. package/dist/generated/ethereum/configuration.d.ts +0 -1
  83. package/dist/generated/ethereum/configuration.js +0 -1
  84. package/dist/generated/ethereum/index.d.ts +0 -1
  85. package/dist/generated/ethereum/index.js +5 -2
  86. package/dist/index.d.ts +0 -1
  87. package/dist/index.js +5 -2
  88. package/dist/types.d.ts +0 -1
  89. package/dist/types.js +0 -1
  90. package/dist/utils.d.ts +1 -2
  91. package/dist/utils.js +18 -21
  92. package/dist/websocket.d.ts +1 -2
  93. package/dist/websocket.js +78 -84
  94. package/package.json +19 -11
  95. package/dist/bitcoin/index.d.ts.map +0 -1
  96. package/dist/bitcoin/index.js.map +0 -1
  97. package/dist/bitcoin/parser/index.d.ts.map +0 -1
  98. package/dist/bitcoin/parser/index.js.map +0 -1
  99. package/dist/bitcoin/parser/utils.d.ts.map +0 -1
  100. package/dist/bitcoin/parser/utils.js.map +0 -1
  101. package/dist/bitcoin/types.d.ts.map +0 -1
  102. package/dist/bitcoin/types.js.map +0 -1
  103. package/dist/cosmos/index.d.ts.map +0 -1
  104. package/dist/cosmos/index.js.map +0 -1
  105. package/dist/cosmos/parser/index.d.ts.map +0 -1
  106. package/dist/cosmos/parser/index.js.map +0 -1
  107. package/dist/cosmos/parser/utils.d.ts.map +0 -1
  108. package/dist/cosmos/parser/utils.js.map +0 -1
  109. package/dist/cosmos/types.d.ts.map +0 -1
  110. package/dist/cosmos/types.js.map +0 -1
  111. package/dist/ethereum/index.d.ts.map +0 -1
  112. package/dist/ethereum/index.js.map +0 -1
  113. package/dist/ethereum/parser/abi/erc20.d.ts.map +0 -1
  114. package/dist/ethereum/parser/abi/erc20.js.map +0 -1
  115. package/dist/ethereum/parser/abi/foxyStaking.d.ts.map +0 -1
  116. package/dist/ethereum/parser/abi/foxyStaking.js.map +0 -1
  117. package/dist/ethereum/parser/abi/multiSig.d.ts.map +0 -1
  118. package/dist/ethereum/parser/abi/multiSig.js.map +0 -1
  119. package/dist/ethereum/parser/abi/shapeShiftRouter.d.ts.map +0 -1
  120. package/dist/ethereum/parser/abi/shapeShiftRouter.js.map +0 -1
  121. package/dist/ethereum/parser/abi/thor.d.ts.map +0 -1
  122. package/dist/ethereum/parser/abi/thor.js.map +0 -1
  123. package/dist/ethereum/parser/abi/uniV2.d.ts.map +0 -1
  124. package/dist/ethereum/parser/abi/uniV2.js.map +0 -1
  125. package/dist/ethereum/parser/abi/weth.d.ts.map +0 -1
  126. package/dist/ethereum/parser/abi/weth.js.map +0 -1
  127. package/dist/ethereum/parser/abi/yearnVault.d.ts.map +0 -1
  128. package/dist/ethereum/parser/abi/yearnVault.js.map +0 -1
  129. package/dist/ethereum/parser/constants.d.ts.map +0 -1
  130. package/dist/ethereum/parser/constants.js.map +0 -1
  131. package/dist/ethereum/parser/foxy.d.ts.map +0 -1
  132. package/dist/ethereum/parser/foxy.js.map +0 -1
  133. package/dist/ethereum/parser/index.d.ts.map +0 -1
  134. package/dist/ethereum/parser/index.js.map +0 -1
  135. package/dist/ethereum/parser/thor.d.ts.map +0 -1
  136. package/dist/ethereum/parser/thor.js.map +0 -1
  137. package/dist/ethereum/parser/uniV2.d.ts.map +0 -1
  138. package/dist/ethereum/parser/uniV2.js.map +0 -1
  139. package/dist/ethereum/parser/utils.d.ts.map +0 -1
  140. package/dist/ethereum/parser/utils.js.map +0 -1
  141. package/dist/ethereum/parser/weth.d.ts.map +0 -1
  142. package/dist/ethereum/parser/weth.js.map +0 -1
  143. package/dist/ethereum/parser/yearn.d.ts.map +0 -1
  144. package/dist/ethereum/parser/yearn.js.map +0 -1
  145. package/dist/ethereum/parser/zrx.d.ts.map +0 -1
  146. package/dist/ethereum/parser/zrx.js.map +0 -1
  147. package/dist/ethereum/types.d.ts.map +0 -1
  148. package/dist/ethereum/types.js.map +0 -1
  149. package/dist/generated/bitcoin/api.d.ts.map +0 -1
  150. package/dist/generated/bitcoin/api.js.map +0 -1
  151. package/dist/generated/bitcoin/base.d.ts.map +0 -1
  152. package/dist/generated/bitcoin/base.js.map +0 -1
  153. package/dist/generated/bitcoin/common.d.ts.map +0 -1
  154. package/dist/generated/bitcoin/common.js.map +0 -1
  155. package/dist/generated/bitcoin/configuration.d.ts.map +0 -1
  156. package/dist/generated/bitcoin/configuration.js.map +0 -1
  157. package/dist/generated/bitcoin/index.d.ts.map +0 -1
  158. package/dist/generated/bitcoin/index.js.map +0 -1
  159. package/dist/generated/cosmos/api.d.ts.map +0 -1
  160. package/dist/generated/cosmos/api.js.map +0 -1
  161. package/dist/generated/cosmos/base.d.ts.map +0 -1
  162. package/dist/generated/cosmos/base.js.map +0 -1
  163. package/dist/generated/cosmos/common.d.ts.map +0 -1
  164. package/dist/generated/cosmos/common.js.map +0 -1
  165. package/dist/generated/cosmos/configuration.d.ts.map +0 -1
  166. package/dist/generated/cosmos/configuration.js.map +0 -1
  167. package/dist/generated/cosmos/index.d.ts.map +0 -1
  168. package/dist/generated/cosmos/index.js.map +0 -1
  169. package/dist/generated/ethereum/api.d.ts.map +0 -1
  170. package/dist/generated/ethereum/api.js.map +0 -1
  171. package/dist/generated/ethereum/base.d.ts.map +0 -1
  172. package/dist/generated/ethereum/base.js.map +0 -1
  173. package/dist/generated/ethereum/common.d.ts.map +0 -1
  174. package/dist/generated/ethereum/common.js.map +0 -1
  175. package/dist/generated/ethereum/configuration.d.ts.map +0 -1
  176. package/dist/generated/ethereum/configuration.js.map +0 -1
  177. package/dist/generated/ethereum/index.d.ts.map +0 -1
  178. package/dist/generated/ethereum/index.js.map +0 -1
  179. package/dist/index.d.ts.map +0 -1
  180. package/dist/index.js.map +0 -1
  181. package/dist/tsconfig.tsbuildinfo +0 -4986
  182. package/dist/types.d.ts.map +0 -1
  183. package/dist/types.js.map +0 -1
  184. package/dist/utils.d.ts.map +0 -1
  185. package/dist/utils.js.map +0 -1
  186. package/dist/websocket.d.ts.map +0 -1
  187. package/dist/websocket.js.map +0 -1
@@ -6,20 +6,20 @@ const yearnVault = [
6
6
  inputs: [
7
7
  { type: 'address', name: 'sender', indexed: true },
8
8
  { type: 'address', name: 'receiver', indexed: true },
9
- { type: 'uint256', name: 'value', indexed: false },
9
+ { type: 'uint256', name: 'value', indexed: false }
10
10
  ],
11
11
  anonymous: false,
12
- type: 'event',
12
+ type: 'event'
13
13
  },
14
14
  {
15
15
  name: 'Approval',
16
16
  inputs: [
17
17
  { type: 'address', name: 'owner', indexed: true },
18
18
  { type: 'address', name: 'spender', indexed: true },
19
- { type: 'uint256', name: 'value', indexed: false },
19
+ { type: 'uint256', name: 'value', indexed: false }
20
20
  ],
21
21
  anonymous: false,
22
- type: 'event',
22
+ type: 'event'
23
23
  },
24
24
  {
25
25
  name: 'StrategyAdded',
@@ -27,10 +27,10 @@ const yearnVault = [
27
27
  { type: 'address', name: 'strategy', indexed: true },
28
28
  { type: 'uint256', name: 'debtLimit', indexed: false },
29
29
  { type: 'uint256', name: 'rateLimit', indexed: false },
30
- { type: 'uint256', name: 'performanceFee', indexed: false },
30
+ { type: 'uint256', name: 'performanceFee', indexed: false }
31
31
  ],
32
32
  anonymous: false,
33
- type: 'event',
33
+ type: 'event'
34
34
  },
35
35
  {
36
36
  name: 'StrategyReported',
@@ -42,10 +42,10 @@ const yearnVault = [
42
42
  { type: 'uint256', name: 'totalLoss', indexed: false },
43
43
  { type: 'uint256', name: 'totalDebt', indexed: false },
44
44
  { type: 'uint256', name: 'debtAdded', indexed: false },
45
- { type: 'uint256', name: 'debtLimit', indexed: false },
45
+ { type: 'uint256', name: 'debtLimit', indexed: false }
46
46
  ],
47
47
  anonymous: false,
48
- type: 'event',
48
+ type: 'event'
49
49
  },
50
50
  {
51
51
  outputs: [],
@@ -54,10 +54,10 @@ const yearnVault = [
54
54
  { type: 'address', name: '_governance' },
55
55
  { type: 'address', name: '_rewards' },
56
56
  { type: 'string', name: '_nameOverride' },
57
- { type: 'string', name: '_symbolOverride' },
57
+ { type: 'string', name: '_symbolOverride' }
58
58
  ],
59
59
  stateMutability: 'nonpayable',
60
- type: 'constructor',
60
+ type: 'constructor'
61
61
  },
62
62
  {
63
63
  name: 'apiVersion',
@@ -65,7 +65,7 @@ const yearnVault = [
65
65
  inputs: [],
66
66
  stateMutability: 'pure',
67
67
  type: 'function',
68
- gas: '4489',
68
+ gas: '4489'
69
69
  },
70
70
  {
71
71
  name: 'setName',
@@ -73,7 +73,7 @@ const yearnVault = [
73
73
  inputs: [{ type: 'string', name: '_name' }],
74
74
  stateMutability: 'nonpayable',
75
75
  type: 'function',
76
- gas: '106987',
76
+ gas: '106987'
77
77
  },
78
78
  {
79
79
  name: 'setSymbol',
@@ -81,7 +81,7 @@ const yearnVault = [
81
81
  inputs: [{ type: 'string', name: '_symbol' }],
82
82
  stateMutability: 'nonpayable',
83
83
  type: 'function',
84
- gas: '71837',
84
+ gas: '71837'
85
85
  },
86
86
  {
87
87
  name: 'setGovernance',
@@ -89,7 +89,7 @@ const yearnVault = [
89
89
  inputs: [{ type: 'address', name: '_governance' }],
90
90
  stateMutability: 'nonpayable',
91
91
  type: 'function',
92
- gas: '36308',
92
+ gas: '36308'
93
93
  },
94
94
  {
95
95
  name: 'acceptGovernance',
@@ -97,7 +97,7 @@ const yearnVault = [
97
97
  inputs: [],
98
98
  stateMutability: 'nonpayable',
99
99
  type: 'function',
100
- gas: '36234',
100
+ gas: '36234'
101
101
  },
102
102
  {
103
103
  name: 'setGuestList',
@@ -105,7 +105,7 @@ const yearnVault = [
105
105
  inputs: [{ type: 'address', name: '_guestList' }],
106
106
  stateMutability: 'nonpayable',
107
107
  type: 'function',
108
- gas: '36368',
108
+ gas: '36368'
109
109
  },
110
110
  {
111
111
  name: 'setRewards',
@@ -113,7 +113,7 @@ const yearnVault = [
113
113
  inputs: [{ type: 'address', name: '_rewards' }],
114
114
  stateMutability: 'nonpayable',
115
115
  type: 'function',
116
- gas: '36398',
116
+ gas: '36398'
117
117
  },
118
118
  {
119
119
  name: 'setDepositLimit',
@@ -121,7 +121,7 @@ const yearnVault = [
121
121
  inputs: [{ type: 'uint256', name: '_limit' }],
122
122
  stateMutability: 'nonpayable',
123
123
  type: 'function',
124
- gas: '36328',
124
+ gas: '36328'
125
125
  },
126
126
  {
127
127
  name: 'setPerformanceFee',
@@ -129,7 +129,7 @@ const yearnVault = [
129
129
  inputs: [{ type: 'uint256', name: '_fee' }],
130
130
  stateMutability: 'nonpayable',
131
131
  type: 'function',
132
- gas: '36358',
132
+ gas: '36358'
133
133
  },
134
134
  {
135
135
  name: 'setManagementFee',
@@ -137,7 +137,7 @@ const yearnVault = [
137
137
  inputs: [{ type: 'uint256', name: '_fee' }],
138
138
  stateMutability: 'nonpayable',
139
139
  type: 'function',
140
- gas: '36388',
140
+ gas: '36388'
141
141
  },
142
142
  {
143
143
  name: 'setGuardian',
@@ -145,7 +145,7 @@ const yearnVault = [
145
145
  inputs: [{ type: 'address', name: '_guardian' }],
146
146
  stateMutability: 'nonpayable',
147
147
  type: 'function',
148
- gas: '37745',
148
+ gas: '37745'
149
149
  },
150
150
  {
151
151
  name: 'setEmergencyShutdown',
@@ -153,7 +153,7 @@ const yearnVault = [
153
153
  inputs: [{ type: 'bool', name: '_active' }],
154
154
  stateMutability: 'nonpayable',
155
155
  type: 'function',
156
- gas: '37775',
156
+ gas: '37775'
157
157
  },
158
158
  {
159
159
  name: 'setWithdrawalQueue',
@@ -161,18 +161,18 @@ const yearnVault = [
161
161
  inputs: [{ type: 'address[20]', name: '_queue' }],
162
162
  stateMutability: 'nonpayable',
163
163
  type: 'function',
164
- gas: '750044',
164
+ gas: '750044'
165
165
  },
166
166
  {
167
167
  name: 'transfer',
168
168
  outputs: [{ type: 'bool', name: '' }],
169
169
  inputs: [
170
170
  { type: 'address', name: '_to' },
171
- { type: 'uint256', name: '_value' },
171
+ { type: 'uint256', name: '_value' }
172
172
  ],
173
173
  stateMutability: 'nonpayable',
174
174
  type: 'function',
175
- gas: '76619',
175
+ gas: '76619'
176
176
  },
177
177
  {
178
178
  name: 'transferFrom',
@@ -180,44 +180,44 @@ const yearnVault = [
180
180
  inputs: [
181
181
  { type: 'address', name: '_from' },
182
182
  { type: 'address', name: '_to' },
183
- { type: 'uint256', name: '_value' },
183
+ { type: 'uint256', name: '_value' }
184
184
  ],
185
185
  stateMutability: 'nonpayable',
186
186
  type: 'function',
187
- gas: '114054',
187
+ gas: '114054'
188
188
  },
189
189
  {
190
190
  name: 'approve',
191
191
  outputs: [{ type: 'bool', name: '' }],
192
192
  inputs: [
193
193
  { type: 'address', name: '_spender' },
194
- { type: 'uint256', name: '_value' },
194
+ { type: 'uint256', name: '_value' }
195
195
  ],
196
196
  stateMutability: 'nonpayable',
197
197
  type: 'function',
198
- gas: '38184',
198
+ gas: '38184'
199
199
  },
200
200
  {
201
201
  name: 'increaseAllowance',
202
202
  outputs: [{ type: 'bool', name: '' }],
203
203
  inputs: [
204
204
  { type: 'address', name: '_spender' },
205
- { type: 'uint256', name: '_value' },
205
+ { type: 'uint256', name: '_value' }
206
206
  ],
207
207
  stateMutability: 'nonpayable',
208
208
  type: 'function',
209
- gas: '40225',
209
+ gas: '40225'
210
210
  },
211
211
  {
212
212
  name: 'decreaseAllowance',
213
213
  outputs: [{ type: 'bool', name: '' }],
214
214
  inputs: [
215
215
  { type: 'address', name: '_spender' },
216
- { type: 'uint256', name: '_value' },
216
+ { type: 'uint256', name: '_value' }
217
217
  ],
218
218
  stateMutability: 'nonpayable',
219
219
  type: 'function',
220
- gas: '40249',
220
+ gas: '40249'
221
221
  },
222
222
  {
223
223
  name: 'totalAssets',
@@ -225,7 +225,7 @@ const yearnVault = [
225
225
  inputs: [],
226
226
  stateMutability: 'view',
227
227
  type: 'function',
228
- gas: '3943',
228
+ gas: '3943'
229
229
  },
230
230
  {
231
231
  name: 'balanceSheetOfStrategy',
@@ -233,7 +233,7 @@ const yearnVault = [
233
233
  inputs: [{ type: 'address', name: '_strategy' }],
234
234
  stateMutability: 'view',
235
235
  type: 'function',
236
- gas: '2448',
236
+ gas: '2448'
237
237
  },
238
238
  {
239
239
  name: 'totalBalanceSheet',
@@ -241,31 +241,31 @@ const yearnVault = [
241
241
  inputs: [{ type: 'address[40]', name: '_strategies' }],
242
242
  stateMutability: 'view',
243
243
  type: 'function',
244
- gas: '75836',
244
+ gas: '75836'
245
245
  },
246
246
  {
247
247
  name: 'deposit',
248
248
  outputs: [{ type: 'uint256', name: '' }],
249
249
  inputs: [],
250
250
  stateMutability: 'nonpayable',
251
- type: 'function',
251
+ type: 'function'
252
252
  },
253
253
  {
254
254
  name: 'deposit',
255
255
  outputs: [{ type: 'uint256', name: '' }],
256
256
  inputs: [{ type: 'uint256', name: '_amount' }],
257
257
  stateMutability: 'nonpayable',
258
- type: 'function',
258
+ type: 'function'
259
259
  },
260
260
  {
261
261
  name: 'deposit',
262
262
  outputs: [{ type: 'uint256', name: '' }],
263
263
  inputs: [
264
264
  { type: 'uint256', name: '_amount' },
265
- { type: 'address', name: '_recipient' },
265
+ { type: 'address', name: '_recipient' }
266
266
  ],
267
267
  stateMutability: 'nonpayable',
268
- type: 'function',
268
+ type: 'function'
269
269
  },
270
270
  {
271
271
  name: 'maxAvailableShares',
@@ -273,31 +273,31 @@ const yearnVault = [
273
273
  inputs: [],
274
274
  stateMutability: 'view',
275
275
  type: 'function',
276
- gas: '356611',
276
+ gas: '356611'
277
277
  },
278
278
  {
279
279
  name: 'withdraw',
280
280
  outputs: [{ type: 'uint256', name: '' }],
281
281
  inputs: [],
282
282
  stateMutability: 'nonpayable',
283
- type: 'function',
283
+ type: 'function'
284
284
  },
285
285
  {
286
286
  name: 'withdraw',
287
287
  outputs: [{ type: 'uint256', name: '' }],
288
288
  inputs: [{ type: 'uint256', name: '_shares' }],
289
289
  stateMutability: 'nonpayable',
290
- type: 'function',
290
+ type: 'function'
291
291
  },
292
292
  {
293
293
  name: 'withdraw',
294
294
  outputs: [{ type: 'uint256', name: '' }],
295
295
  inputs: [
296
296
  { type: 'uint256', name: '_shares' },
297
- { type: 'address', name: '_recipient' },
297
+ { type: 'address', name: '_recipient' }
298
298
  ],
299
299
  stateMutability: 'nonpayable',
300
- type: 'function',
300
+ type: 'function'
301
301
  },
302
302
  {
303
303
  name: 'pricePerShare',
@@ -305,7 +305,7 @@ const yearnVault = [
305
305
  inputs: [],
306
306
  stateMutability: 'view',
307
307
  type: 'function',
308
- gas: '11391',
308
+ gas: '11391'
309
309
  },
310
310
  {
311
311
  name: 'addStrategy',
@@ -314,69 +314,69 @@ const yearnVault = [
314
314
  { type: 'address', name: '_strategy' },
315
315
  { type: 'uint256', name: '_debtLimit' },
316
316
  { type: 'uint256', name: '_rateLimit' },
317
- { type: 'uint256', name: '_performanceFee' },
317
+ { type: 'uint256', name: '_performanceFee' }
318
318
  ],
319
319
  stateMutability: 'nonpayable',
320
320
  type: 'function',
321
- gas: '1445692',
321
+ gas: '1445692'
322
322
  },
323
323
  {
324
324
  name: 'updateStrategyDebtLimit',
325
325
  outputs: [],
326
326
  inputs: [
327
327
  { type: 'address', name: '_strategy' },
328
- { type: 'uint256', name: '_debtLimit' },
328
+ { type: 'uint256', name: '_debtLimit' }
329
329
  ],
330
330
  stateMutability: 'nonpayable',
331
331
  type: 'function',
332
- gas: '111466',
332
+ gas: '111466'
333
333
  },
334
334
  {
335
335
  name: 'updateStrategyRateLimit',
336
336
  outputs: [],
337
337
  inputs: [
338
338
  { type: 'address', name: '_strategy' },
339
- { type: 'uint256', name: '_rateLimit' },
339
+ { type: 'uint256', name: '_rateLimit' }
340
340
  ],
341
341
  stateMutability: 'nonpayable',
342
342
  type: 'function',
343
- gas: '38518',
343
+ gas: '38518'
344
344
  },
345
345
  {
346
346
  name: 'updateStrategyPerformanceFee',
347
347
  outputs: [],
348
348
  inputs: [
349
349
  { type: 'address', name: '_strategy' },
350
- { type: 'uint256', name: '_performanceFee' },
350
+ { type: 'uint256', name: '_performanceFee' }
351
351
  ],
352
352
  stateMutability: 'nonpayable',
353
353
  type: 'function',
354
- gas: '38542',
354
+ gas: '38542'
355
355
  },
356
356
  {
357
357
  name: 'migrateStrategy',
358
358
  outputs: [],
359
359
  inputs: [
360
360
  { type: 'address', name: '_oldVersion' },
361
- { type: 'address', name: '_newVersion' },
361
+ { type: 'address', name: '_newVersion' }
362
362
  ],
363
363
  stateMutability: 'nonpayable',
364
364
  type: 'function',
365
- gas: '1178388',
365
+ gas: '1178388'
366
366
  },
367
367
  {
368
368
  name: 'revokeStrategy',
369
369
  outputs: [],
370
370
  inputs: [],
371
371
  stateMutability: 'nonpayable',
372
- type: 'function',
372
+ type: 'function'
373
373
  },
374
374
  {
375
375
  name: 'revokeStrategy',
376
376
  outputs: [],
377
377
  inputs: [{ type: 'address', name: '_strategy' }],
378
378
  stateMutability: 'nonpayable',
379
- type: 'function',
379
+ type: 'function'
380
380
  },
381
381
  {
382
382
  name: 'addStrategyToQueue',
@@ -384,7 +384,7 @@ const yearnVault = [
384
384
  inputs: [{ type: 'address', name: '_strategy' }],
385
385
  stateMutability: 'nonpayable',
386
386
  type: 'function',
387
- gas: '1195542',
387
+ gas: '1195542'
388
388
  },
389
389
  {
390
390
  name: 'removeStrategyFromQueue',
@@ -392,56 +392,56 @@ const yearnVault = [
392
392
  inputs: [{ type: 'address', name: '_strategy' }],
393
393
  stateMutability: 'nonpayable',
394
394
  type: 'function',
395
- gas: '23067618',
395
+ gas: '23067618'
396
396
  },
397
397
  {
398
398
  name: 'debtOutstanding',
399
399
  outputs: [{ type: 'uint256', name: '' }],
400
400
  inputs: [],
401
401
  stateMutability: 'view',
402
- type: 'function',
402
+ type: 'function'
403
403
  },
404
404
  {
405
405
  name: 'debtOutstanding',
406
406
  outputs: [{ type: 'uint256', name: '' }],
407
407
  inputs: [{ type: 'address', name: '_strategy' }],
408
408
  stateMutability: 'view',
409
- type: 'function',
409
+ type: 'function'
410
410
  },
411
411
  {
412
412
  name: 'creditAvailable',
413
413
  outputs: [{ type: 'uint256', name: '' }],
414
414
  inputs: [],
415
415
  stateMutability: 'view',
416
- type: 'function',
416
+ type: 'function'
417
417
  },
418
418
  {
419
419
  name: 'creditAvailable',
420
420
  outputs: [{ type: 'uint256', name: '' }],
421
421
  inputs: [{ type: 'address', name: '_strategy' }],
422
422
  stateMutability: 'view',
423
- type: 'function',
423
+ type: 'function'
424
424
  },
425
425
  {
426
426
  name: 'availableDepositLimit',
427
427
  outputs: [{ type: 'uint256', name: '' }],
428
428
  inputs: [],
429
429
  stateMutability: 'view',
430
- type: 'function',
430
+ type: 'function'
431
431
  },
432
432
  {
433
433
  name: 'expectedReturn',
434
434
  outputs: [{ type: 'uint256', name: '' }],
435
435
  inputs: [],
436
436
  stateMutability: 'view',
437
- type: 'function',
437
+ type: 'function'
438
438
  },
439
439
  {
440
440
  name: 'expectedReturn',
441
441
  outputs: [{ type: 'uint256', name: '' }],
442
442
  inputs: [{ type: 'address', name: '_strategy' }],
443
443
  stateMutability: 'view',
444
- type: 'function',
444
+ type: 'function'
445
445
  },
446
446
  {
447
447
  name: 'report',
@@ -449,28 +449,28 @@ const yearnVault = [
449
449
  inputs: [
450
450
  { type: 'uint256', name: '_gain' },
451
451
  { type: 'uint256', name: '_loss' },
452
- { type: 'uint256', name: '_debtPayment' },
452
+ { type: 'uint256', name: '_debtPayment' }
453
453
  ],
454
454
  stateMutability: 'nonpayable',
455
455
  type: 'function',
456
- gas: '920813',
456
+ gas: '920813'
457
457
  },
458
458
  {
459
459
  name: 'sweep',
460
460
  outputs: [],
461
461
  inputs: [{ type: 'address', name: '_token' }],
462
462
  stateMutability: 'nonpayable',
463
- type: 'function',
463
+ type: 'function'
464
464
  },
465
465
  {
466
466
  name: 'sweep',
467
467
  outputs: [],
468
468
  inputs: [
469
469
  { type: 'address', name: '_token' },
470
- { type: 'uint256', name: '_value' },
470
+ { type: 'uint256', name: '_value' }
471
471
  ],
472
472
  stateMutability: 'nonpayable',
473
- type: 'function',
473
+ type: 'function'
474
474
  },
475
475
  {
476
476
  name: 'name',
@@ -478,7 +478,7 @@ const yearnVault = [
478
478
  inputs: [],
479
479
  stateMutability: 'view',
480
480
  type: 'function',
481
- gas: '9023',
481
+ gas: '9023'
482
482
  },
483
483
  {
484
484
  name: 'symbol',
@@ -486,7 +486,7 @@ const yearnVault = [
486
486
  inputs: [],
487
487
  stateMutability: 'view',
488
488
  type: 'function',
489
- gas: '8076',
489
+ gas: '8076'
490
490
  },
491
491
  {
492
492
  name: 'decimals',
@@ -494,7 +494,7 @@ const yearnVault = [
494
494
  inputs: [],
495
495
  stateMutability: 'view',
496
496
  type: 'function',
497
- gas: '2681',
497
+ gas: '2681'
498
498
  },
499
499
  {
500
500
  name: 'balanceOf',
@@ -502,18 +502,18 @@ const yearnVault = [
502
502
  inputs: [{ type: 'address', name: 'arg0' }],
503
503
  stateMutability: 'view',
504
504
  type: 'function',
505
- gas: '2926',
505
+ gas: '2926'
506
506
  },
507
507
  {
508
508
  name: 'allowance',
509
509
  outputs: [{ type: 'uint256', name: '' }],
510
510
  inputs: [
511
511
  { type: 'address', name: 'arg0' },
512
- { type: 'address', name: 'arg1' },
512
+ { type: 'address', name: 'arg1' }
513
513
  ],
514
514
  stateMutability: 'view',
515
515
  type: 'function',
516
- gas: '3171',
516
+ gas: '3171'
517
517
  },
518
518
  {
519
519
  name: 'totalSupply',
@@ -521,7 +521,7 @@ const yearnVault = [
521
521
  inputs: [],
522
522
  stateMutability: 'view',
523
523
  type: 'function',
524
- gas: '2771',
524
+ gas: '2771'
525
525
  },
526
526
  {
527
527
  name: 'token',
@@ -529,7 +529,7 @@ const yearnVault = [
529
529
  inputs: [],
530
530
  stateMutability: 'view',
531
531
  type: 'function',
532
- gas: '2801',
532
+ gas: '2801'
533
533
  },
534
534
  {
535
535
  name: 'governance',
@@ -537,7 +537,7 @@ const yearnVault = [
537
537
  inputs: [],
538
538
  stateMutability: 'view',
539
539
  type: 'function',
540
- gas: '2831',
540
+ gas: '2831'
541
541
  },
542
542
  {
543
543
  name: 'guardian',
@@ -545,7 +545,7 @@ const yearnVault = [
545
545
  inputs: [],
546
546
  stateMutability: 'view',
547
547
  type: 'function',
548
- gas: '2861',
548
+ gas: '2861'
549
549
  },
550
550
  {
551
551
  name: 'guestList',
@@ -553,7 +553,7 @@ const yearnVault = [
553
553
  inputs: [],
554
554
  stateMutability: 'view',
555
555
  type: 'function',
556
- gas: '2891',
556
+ gas: '2891'
557
557
  },
558
558
  {
559
559
  name: 'strategies',
@@ -565,12 +565,12 @@ const yearnVault = [
565
565
  { type: 'uint256', name: 'lastReport' },
566
566
  { type: 'uint256', name: 'totalDebt' },
567
567
  { type: 'uint256', name: 'totalGain' },
568
- { type: 'uint256', name: 'totalLoss' },
568
+ { type: 'uint256', name: 'totalLoss' }
569
569
  ],
570
570
  inputs: [{ type: 'address', name: 'arg0' }],
571
571
  stateMutability: 'view',
572
572
  type: 'function',
573
- gas: '10262',
573
+ gas: '10262'
574
574
  },
575
575
  {
576
576
  name: 'withdrawalQueue',
@@ -578,7 +578,7 @@ const yearnVault = [
578
578
  inputs: [{ type: 'uint256', name: 'arg0' }],
579
579
  stateMutability: 'view',
580
580
  type: 'function',
581
- gas: '3060',
581
+ gas: '3060'
582
582
  },
583
583
  {
584
584
  name: 'emergencyShutdown',
@@ -586,14 +586,14 @@ const yearnVault = [
586
586
  inputs: [],
587
587
  stateMutability: 'view',
588
588
  type: 'function',
589
- gas: '2981',
589
+ gas: '2981'
590
590
  },
591
591
  {
592
592
  name: 'depositLimit',
593
593
  outputs: [{ type: 'uint256', name: '' }],
594
594
  inputs: [],
595
595
  stateMutability: 'view',
596
- type: 'function',
596
+ type: 'function'
597
597
  },
598
598
  {
599
599
  name: 'debtLimit',
@@ -601,7 +601,7 @@ const yearnVault = [
601
601
  inputs: [],
602
602
  stateMutability: 'view',
603
603
  type: 'function',
604
- gas: '3041',
604
+ gas: '3041'
605
605
  },
606
606
  {
607
607
  name: 'totalDebt',
@@ -609,7 +609,7 @@ const yearnVault = [
609
609
  inputs: [],
610
610
  stateMutability: 'view',
611
611
  type: 'function',
612
- gas: '3071',
612
+ gas: '3071'
613
613
  },
614
614
  {
615
615
  name: 'lastReport',
@@ -617,7 +617,7 @@ const yearnVault = [
617
617
  inputs: [],
618
618
  stateMutability: 'view',
619
619
  type: 'function',
620
- gas: '3101',
620
+ gas: '3101'
621
621
  },
622
622
  {
623
623
  name: 'rewards',
@@ -625,7 +625,7 @@ const yearnVault = [
625
625
  inputs: [],
626
626
  stateMutability: 'view',
627
627
  type: 'function',
628
- gas: '3131',
628
+ gas: '3131'
629
629
  },
630
630
  {
631
631
  name: 'managementFee',
@@ -633,7 +633,7 @@ const yearnVault = [
633
633
  inputs: [],
634
634
  stateMutability: 'view',
635
635
  type: 'function',
636
- gas: '3161',
636
+ gas: '3161'
637
637
  },
638
638
  {
639
639
  name: 'performanceFee',
@@ -641,8 +641,7 @@ const yearnVault = [
641
641
  inputs: [],
642
642
  stateMutability: 'view',
643
643
  type: 'function',
644
- gas: '3191',
645
- },
644
+ gas: '3191'
645
+ }
646
646
  ];
647
647
  exports.default = yearnVault;
648
- //# sourceMappingURL=yearnVault.js.map