@shapeshiftoss/unchained-client 9.8.2 → 9.8.3
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.
- package/dist/cosmos/parser/index.js +6 -6
- package/dist/cosmos/parser/utils.js +9 -9
- package/dist/evm/ethereum/parser/abi/foxyStaking.js +161 -161
- package/dist/evm/ethereum/parser/abi/shapeShiftRouter.js +119 -119
- package/dist/evm/ethereum/parser/abi/thor.js +28 -28
- package/dist/evm/ethereum/parser/abi/uniV2.js +55 -55
- package/dist/evm/ethereum/parser/abi/uniV2StakingRewards.js +95 -95
- package/dist/evm/ethereum/parser/abi/weth.js +66 -66
- package/dist/evm/ethereum/parser/abi/yearnVault.js +95 -95
- package/dist/evm/ethereum/parser/cowswap.js +3 -3
- package/dist/evm/ethereum/parser/foxy.js +3 -3
- package/dist/evm/ethereum/parser/index.js +1 -1
- package/dist/evm/ethereum/parser/thor.js +2 -2
- package/dist/evm/ethereum/parser/uniV2.js +12 -12
- package/dist/evm/ethereum/parser/weth.js +9 -9
- package/dist/evm/ethereum/parser/yearn.js +4 -4
- package/dist/evm/parser/abi/erc20.js +69 -69
- package/dist/evm/parser/erc20.js +4 -4
- package/dist/evm/parser/index.js +4 -4
- package/dist/evm/parser/zrx.js +3 -3
- package/dist/utils.js +2 -2
- package/dist/utxo/parser/index.js +1 -1
- package/dist/websocket.js +4 -4
- package/package.json +1 -1
|
@@ -8,35 +8,35 @@ const weth = [
|
|
|
8
8
|
outputs: [
|
|
9
9
|
{
|
|
10
10
|
name: '',
|
|
11
|
-
type: 'string'
|
|
12
|
-
}
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
13
|
],
|
|
14
14
|
payable: false,
|
|
15
15
|
stateMutability: 'view',
|
|
16
|
-
type: 'function'
|
|
16
|
+
type: 'function',
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
constant: false,
|
|
20
20
|
inputs: [
|
|
21
21
|
{
|
|
22
22
|
name: 'guy',
|
|
23
|
-
type: 'address'
|
|
23
|
+
type: 'address',
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
name: 'wad',
|
|
27
|
-
type: 'uint256'
|
|
28
|
-
}
|
|
27
|
+
type: 'uint256',
|
|
28
|
+
},
|
|
29
29
|
],
|
|
30
30
|
name: 'approve',
|
|
31
31
|
outputs: [
|
|
32
32
|
{
|
|
33
33
|
name: '',
|
|
34
|
-
type: 'bool'
|
|
35
|
-
}
|
|
34
|
+
type: 'bool',
|
|
35
|
+
},
|
|
36
36
|
],
|
|
37
37
|
payable: false,
|
|
38
38
|
stateMutability: 'nonpayable',
|
|
39
|
-
type: 'function'
|
|
39
|
+
type: 'function',
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
constant: true,
|
|
@@ -45,53 +45,53 @@ const weth = [
|
|
|
45
45
|
outputs: [
|
|
46
46
|
{
|
|
47
47
|
name: '',
|
|
48
|
-
type: 'uint256'
|
|
49
|
-
}
|
|
48
|
+
type: 'uint256',
|
|
49
|
+
},
|
|
50
50
|
],
|
|
51
51
|
payable: false,
|
|
52
52
|
stateMutability: 'view',
|
|
53
|
-
type: 'function'
|
|
53
|
+
type: 'function',
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
constant: false,
|
|
57
57
|
inputs: [
|
|
58
58
|
{
|
|
59
59
|
name: 'src',
|
|
60
|
-
type: 'address'
|
|
60
|
+
type: 'address',
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
name: 'dst',
|
|
64
|
-
type: 'address'
|
|
64
|
+
type: 'address',
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
name: 'wad',
|
|
68
|
-
type: 'uint256'
|
|
69
|
-
}
|
|
68
|
+
type: 'uint256',
|
|
69
|
+
},
|
|
70
70
|
],
|
|
71
71
|
name: 'transferFrom',
|
|
72
72
|
outputs: [
|
|
73
73
|
{
|
|
74
74
|
name: '',
|
|
75
|
-
type: 'bool'
|
|
76
|
-
}
|
|
75
|
+
type: 'bool',
|
|
76
|
+
},
|
|
77
77
|
],
|
|
78
78
|
payable: false,
|
|
79
79
|
stateMutability: 'nonpayable',
|
|
80
|
-
type: 'function'
|
|
80
|
+
type: 'function',
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
constant: false,
|
|
84
84
|
inputs: [
|
|
85
85
|
{
|
|
86
86
|
name: 'wad',
|
|
87
|
-
type: 'uint256'
|
|
88
|
-
}
|
|
87
|
+
type: 'uint256',
|
|
88
|
+
},
|
|
89
89
|
],
|
|
90
90
|
name: 'withdraw',
|
|
91
91
|
outputs: [],
|
|
92
92
|
payable: false,
|
|
93
93
|
stateMutability: 'nonpayable',
|
|
94
|
-
type: 'function'
|
|
94
|
+
type: 'function',
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
constant: true,
|
|
@@ -100,31 +100,31 @@ const weth = [
|
|
|
100
100
|
outputs: [
|
|
101
101
|
{
|
|
102
102
|
name: '',
|
|
103
|
-
type: 'uint8'
|
|
104
|
-
}
|
|
103
|
+
type: 'uint8',
|
|
104
|
+
},
|
|
105
105
|
],
|
|
106
106
|
payable: false,
|
|
107
107
|
stateMutability: 'view',
|
|
108
|
-
type: 'function'
|
|
108
|
+
type: 'function',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
constant: true,
|
|
112
112
|
inputs: [
|
|
113
113
|
{
|
|
114
114
|
name: '',
|
|
115
|
-
type: 'address'
|
|
116
|
-
}
|
|
115
|
+
type: 'address',
|
|
116
|
+
},
|
|
117
117
|
],
|
|
118
118
|
name: 'balanceOf',
|
|
119
119
|
outputs: [
|
|
120
120
|
{
|
|
121
121
|
name: '',
|
|
122
|
-
type: 'uint256'
|
|
123
|
-
}
|
|
122
|
+
type: 'uint256',
|
|
123
|
+
},
|
|
124
124
|
],
|
|
125
125
|
payable: false,
|
|
126
126
|
stateMutability: 'view',
|
|
127
|
-
type: 'function'
|
|
127
|
+
type: 'function',
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
constant: true,
|
|
@@ -133,35 +133,35 @@ const weth = [
|
|
|
133
133
|
outputs: [
|
|
134
134
|
{
|
|
135
135
|
name: '',
|
|
136
|
-
type: 'string'
|
|
137
|
-
}
|
|
136
|
+
type: 'string',
|
|
137
|
+
},
|
|
138
138
|
],
|
|
139
139
|
payable: false,
|
|
140
140
|
stateMutability: 'view',
|
|
141
|
-
type: 'function'
|
|
141
|
+
type: 'function',
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
constant: false,
|
|
145
145
|
inputs: [
|
|
146
146
|
{
|
|
147
147
|
name: 'dst',
|
|
148
|
-
type: 'address'
|
|
148
|
+
type: 'address',
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
name: 'wad',
|
|
152
|
-
type: 'uint256'
|
|
153
|
-
}
|
|
152
|
+
type: 'uint256',
|
|
153
|
+
},
|
|
154
154
|
],
|
|
155
155
|
name: 'transfer',
|
|
156
156
|
outputs: [
|
|
157
157
|
{
|
|
158
158
|
name: '',
|
|
159
|
-
type: 'bool'
|
|
160
|
-
}
|
|
159
|
+
type: 'bool',
|
|
160
|
+
},
|
|
161
161
|
],
|
|
162
162
|
payable: false,
|
|
163
163
|
stateMutability: 'nonpayable',
|
|
164
|
-
type: 'function'
|
|
164
|
+
type: 'function',
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
constant: false,
|
|
@@ -170,35 +170,35 @@ const weth = [
|
|
|
170
170
|
outputs: [],
|
|
171
171
|
payable: true,
|
|
172
172
|
stateMutability: 'payable',
|
|
173
|
-
type: 'function'
|
|
173
|
+
type: 'function',
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
constant: true,
|
|
177
177
|
inputs: [
|
|
178
178
|
{
|
|
179
179
|
name: '',
|
|
180
|
-
type: 'address'
|
|
180
|
+
type: 'address',
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
name: '',
|
|
184
|
-
type: 'address'
|
|
185
|
-
}
|
|
184
|
+
type: 'address',
|
|
185
|
+
},
|
|
186
186
|
],
|
|
187
187
|
name: 'allowance',
|
|
188
188
|
outputs: [
|
|
189
189
|
{
|
|
190
190
|
name: '',
|
|
191
|
-
type: 'uint256'
|
|
192
|
-
}
|
|
191
|
+
type: 'uint256',
|
|
192
|
+
},
|
|
193
193
|
],
|
|
194
194
|
payable: false,
|
|
195
195
|
stateMutability: 'view',
|
|
196
|
-
type: 'function'
|
|
196
|
+
type: 'function',
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
payable: true,
|
|
200
200
|
stateMutability: 'payable',
|
|
201
|
-
type: 'fallback'
|
|
201
|
+
type: 'fallback',
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
anonymous: false,
|
|
@@ -206,21 +206,21 @@ const weth = [
|
|
|
206
206
|
{
|
|
207
207
|
indexed: true,
|
|
208
208
|
name: 'src',
|
|
209
|
-
type: 'address'
|
|
209
|
+
type: 'address',
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
indexed: true,
|
|
213
213
|
name: 'guy',
|
|
214
|
-
type: 'address'
|
|
214
|
+
type: 'address',
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
217
|
indexed: false,
|
|
218
218
|
name: 'wad',
|
|
219
|
-
type: 'uint256'
|
|
220
|
-
}
|
|
219
|
+
type: 'uint256',
|
|
220
|
+
},
|
|
221
221
|
],
|
|
222
222
|
name: 'Approval',
|
|
223
|
-
type: 'event'
|
|
223
|
+
type: 'event',
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
anonymous: false,
|
|
@@ -228,21 +228,21 @@ const weth = [
|
|
|
228
228
|
{
|
|
229
229
|
indexed: true,
|
|
230
230
|
name: 'src',
|
|
231
|
-
type: 'address'
|
|
231
|
+
type: 'address',
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
indexed: true,
|
|
235
235
|
name: 'dst',
|
|
236
|
-
type: 'address'
|
|
236
|
+
type: 'address',
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
indexed: false,
|
|
240
240
|
name: 'wad',
|
|
241
|
-
type: 'uint256'
|
|
242
|
-
}
|
|
241
|
+
type: 'uint256',
|
|
242
|
+
},
|
|
243
243
|
],
|
|
244
244
|
name: 'Transfer',
|
|
245
|
-
type: 'event'
|
|
245
|
+
type: 'event',
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
anonymous: false,
|
|
@@ -250,16 +250,16 @@ const weth = [
|
|
|
250
250
|
{
|
|
251
251
|
indexed: true,
|
|
252
252
|
name: 'dst',
|
|
253
|
-
type: 'address'
|
|
253
|
+
type: 'address',
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
indexed: false,
|
|
257
257
|
name: 'wad',
|
|
258
|
-
type: 'uint256'
|
|
259
|
-
}
|
|
258
|
+
type: 'uint256',
|
|
259
|
+
},
|
|
260
260
|
],
|
|
261
261
|
name: 'Deposit',
|
|
262
|
-
type: 'event'
|
|
262
|
+
type: 'event',
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
anonymous: false,
|
|
@@ -267,16 +267,16 @@ const weth = [
|
|
|
267
267
|
{
|
|
268
268
|
indexed: true,
|
|
269
269
|
name: 'src',
|
|
270
|
-
type: 'address'
|
|
270
|
+
type: 'address',
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
indexed: false,
|
|
274
274
|
name: 'wad',
|
|
275
|
-
type: 'uint256'
|
|
276
|
-
}
|
|
275
|
+
type: 'uint256',
|
|
276
|
+
},
|
|
277
277
|
],
|
|
278
278
|
name: 'Withdrawal',
|
|
279
|
-
type: 'event'
|
|
280
|
-
}
|
|
279
|
+
type: 'event',
|
|
280
|
+
},
|
|
281
281
|
];
|
|
282
282
|
exports.default = weth;
|