@shapeshiftoss/contracts 1.0.0

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 (63) hide show
  1. package/dist/abis/arbOutbox.d.ts +413 -0
  2. package/dist/abis/arbOutbox.js +226 -0
  3. package/dist/abis/arbProxy.d.ts +102 -0
  4. package/dist/abis/arbProxy.js +66 -0
  5. package/dist/abis/arbRetryableTx.d.ts +230 -0
  6. package/dist/abis/arbRetryableTx.js +113 -0
  7. package/dist/abis/arbSys.d.ts +278 -0
  8. package/dist/abis/arbSys.js +139 -0
  9. package/dist/abis/evergreenFarming.d.ts +517 -0
  10. package/dist/abis/evergreenFarming.js +652 -0
  11. package/dist/abis/farming.d.ts +361 -0
  12. package/dist/abis/farming.js +456 -0
  13. package/dist/abis/foxy.d.ts +519 -0
  14. package/dist/abis/foxy.js +675 -0
  15. package/dist/abis/foxyStaking.d.ts +556 -0
  16. package/dist/abis/foxyStaking.js +717 -0
  17. package/dist/abis/iBep20.d.ts +201 -0
  18. package/dist/abis/iBep20.js +125 -0
  19. package/dist/abis/iUniswapV2Pair.d.ts +560 -0
  20. package/dist/abis/iUniswapV2Pair.js +707 -0
  21. package/dist/abis/iUniswapV3Pool.d.ts +770 -0
  22. package/dist/abis/iUniswapV3Pool.js +983 -0
  23. package/dist/abis/index.d.ts +24 -0
  24. package/dist/abis/index.js +24 -0
  25. package/dist/abis/l1ArbitrumGateway.d.ts +494 -0
  26. package/dist/abis/l1ArbitrumGateway.js +256 -0
  27. package/dist/abis/l1OrbitCustomGateway.d.ts +769 -0
  28. package/dist/abis/l1OrbitCustomGateway.js +375 -0
  29. package/dist/abis/l2ArbitrumGateway.d.ts +308 -0
  30. package/dist/abis/l2ArbitrumGateway.js +169 -0
  31. package/dist/abis/liquidityReserve.d.ts +421 -0
  32. package/dist/abis/liquidityReserve.js +547 -0
  33. package/dist/abis/rfox.d.ts +680 -0
  34. package/dist/abis/rfox.js +555 -0
  35. package/dist/abis/thorchainRouter.d.ts +349 -0
  36. package/dist/abis/thorchainRouter.js +442 -0
  37. package/dist/abis/tokeManager.d.ts +774 -0
  38. package/dist/abis/tokeManager.js +508 -0
  39. package/dist/abis/tokePool.d.ts +502 -0
  40. package/dist/abis/tokePool.js +308 -0
  41. package/dist/abis/tokeRewardHash.d.ts +112 -0
  42. package/dist/abis/tokeRewardHash.js +71 -0
  43. package/dist/abis/uniV2StakingRewards.d.ts +316 -0
  44. package/dist/abis/uniV2StakingRewards.js +411 -0
  45. package/dist/abis/uniswapV2Router02.d.ts +737 -0
  46. package/dist/abis/uniswapV2Router02.js +953 -0
  47. package/dist/abis/uniswapV3Quoter.d.ts +147 -0
  48. package/dist/abis/uniswapV3Quoter.js +193 -0
  49. package/dist/abis/weth.d.ts +213 -0
  50. package/dist/abis/weth.js +279 -0
  51. package/dist/constants.d.ts +6640 -0
  52. package/dist/constants.js +105 -0
  53. package/dist/contractManager.d.ts +11 -0
  54. package/dist/contractManager.js +69 -0
  55. package/dist/ethersProviderSingleton.d.ts +6 -0
  56. package/dist/ethersProviderSingleton.js +69 -0
  57. package/dist/index.d.ts +6 -0
  58. package/dist/index.js +6 -0
  59. package/dist/types.d.ts +21 -0
  60. package/dist/types.js +6 -0
  61. package/dist/viemClient.d.ts +28338 -0
  62. package/dist/viemClient.js +107 -0
  63. package/package.json +25 -0
@@ -0,0 +1,279 @@
1
+ export const WETH_ABI = [
2
+ {
3
+ constant: true,
4
+ inputs: [],
5
+ name: 'name',
6
+ outputs: [
7
+ {
8
+ name: '',
9
+ type: 'string',
10
+ },
11
+ ],
12
+ payable: false,
13
+ stateMutability: 'view',
14
+ type: 'function',
15
+ },
16
+ {
17
+ constant: false,
18
+ inputs: [
19
+ {
20
+ name: 'guy',
21
+ type: 'address',
22
+ },
23
+ {
24
+ name: 'wad',
25
+ type: 'uint256',
26
+ },
27
+ ],
28
+ name: 'approve',
29
+ outputs: [
30
+ {
31
+ name: '',
32
+ type: 'bool',
33
+ },
34
+ ],
35
+ payable: false,
36
+ stateMutability: 'nonpayable',
37
+ type: 'function',
38
+ },
39
+ {
40
+ constant: true,
41
+ inputs: [],
42
+ name: 'totalSupply',
43
+ outputs: [
44
+ {
45
+ name: '',
46
+ type: 'uint256',
47
+ },
48
+ ],
49
+ payable: false,
50
+ stateMutability: 'view',
51
+ type: 'function',
52
+ },
53
+ {
54
+ constant: false,
55
+ inputs: [
56
+ {
57
+ name: 'src',
58
+ type: 'address',
59
+ },
60
+ {
61
+ name: 'dst',
62
+ type: 'address',
63
+ },
64
+ {
65
+ name: 'wad',
66
+ type: 'uint256',
67
+ },
68
+ ],
69
+ name: 'transferFrom',
70
+ outputs: [
71
+ {
72
+ name: '',
73
+ type: 'bool',
74
+ },
75
+ ],
76
+ payable: false,
77
+ stateMutability: 'nonpayable',
78
+ type: 'function',
79
+ },
80
+ {
81
+ constant: false,
82
+ inputs: [
83
+ {
84
+ name: 'wad',
85
+ type: 'uint256',
86
+ },
87
+ ],
88
+ name: 'withdraw',
89
+ outputs: [],
90
+ payable: false,
91
+ stateMutability: 'nonpayable',
92
+ type: 'function',
93
+ },
94
+ {
95
+ constant: true,
96
+ inputs: [],
97
+ name: 'decimals',
98
+ outputs: [
99
+ {
100
+ name: '',
101
+ type: 'uint8',
102
+ },
103
+ ],
104
+ payable: false,
105
+ stateMutability: 'view',
106
+ type: 'function',
107
+ },
108
+ {
109
+ constant: true,
110
+ inputs: [
111
+ {
112
+ name: '',
113
+ type: 'address',
114
+ },
115
+ ],
116
+ name: 'balanceOf',
117
+ outputs: [
118
+ {
119
+ name: '',
120
+ type: 'uint256',
121
+ },
122
+ ],
123
+ payable: false,
124
+ stateMutability: 'view',
125
+ type: 'function',
126
+ },
127
+ {
128
+ constant: true,
129
+ inputs: [],
130
+ name: 'symbol',
131
+ outputs: [
132
+ {
133
+ name: '',
134
+ type: 'string',
135
+ },
136
+ ],
137
+ payable: false,
138
+ stateMutability: 'view',
139
+ type: 'function',
140
+ },
141
+ {
142
+ constant: false,
143
+ inputs: [
144
+ {
145
+ name: 'dst',
146
+ type: 'address',
147
+ },
148
+ {
149
+ name: 'wad',
150
+ type: 'uint256',
151
+ },
152
+ ],
153
+ name: 'transfer',
154
+ outputs: [
155
+ {
156
+ name: '',
157
+ type: 'bool',
158
+ },
159
+ ],
160
+ payable: false,
161
+ stateMutability: 'nonpayable',
162
+ type: 'function',
163
+ },
164
+ {
165
+ constant: false,
166
+ inputs: [],
167
+ name: 'deposit',
168
+ outputs: [],
169
+ payable: true,
170
+ stateMutability: 'payable',
171
+ type: 'function',
172
+ },
173
+ {
174
+ constant: true,
175
+ inputs: [
176
+ {
177
+ name: '',
178
+ type: 'address',
179
+ },
180
+ {
181
+ name: '',
182
+ type: 'address',
183
+ },
184
+ ],
185
+ name: 'allowance',
186
+ outputs: [
187
+ {
188
+ name: '',
189
+ type: 'uint256',
190
+ },
191
+ ],
192
+ payable: false,
193
+ stateMutability: 'view',
194
+ type: 'function',
195
+ },
196
+ {
197
+ payable: true,
198
+ stateMutability: 'payable',
199
+ type: 'fallback',
200
+ },
201
+ {
202
+ anonymous: false,
203
+ inputs: [
204
+ {
205
+ indexed: true,
206
+ name: 'src',
207
+ type: 'address',
208
+ },
209
+ {
210
+ indexed: true,
211
+ name: 'guy',
212
+ type: 'address',
213
+ },
214
+ {
215
+ indexed: false,
216
+ name: 'wad',
217
+ type: 'uint256',
218
+ },
219
+ ],
220
+ name: 'Approval',
221
+ type: 'event',
222
+ },
223
+ {
224
+ anonymous: false,
225
+ inputs: [
226
+ {
227
+ indexed: true,
228
+ name: 'src',
229
+ type: 'address',
230
+ },
231
+ {
232
+ indexed: true,
233
+ name: 'dst',
234
+ type: 'address',
235
+ },
236
+ {
237
+ indexed: false,
238
+ name: 'wad',
239
+ type: 'uint256',
240
+ },
241
+ ],
242
+ name: 'Transfer',
243
+ type: 'event',
244
+ },
245
+ {
246
+ anonymous: false,
247
+ inputs: [
248
+ {
249
+ indexed: true,
250
+ name: 'dst',
251
+ type: 'address',
252
+ },
253
+ {
254
+ indexed: false,
255
+ name: 'wad',
256
+ type: 'uint256',
257
+ },
258
+ ],
259
+ name: 'Deposit',
260
+ type: 'event',
261
+ },
262
+ {
263
+ anonymous: false,
264
+ inputs: [
265
+ {
266
+ indexed: true,
267
+ name: 'src',
268
+ type: 'address',
269
+ },
270
+ {
271
+ indexed: false,
272
+ name: 'wad',
273
+ type: 'uint256',
274
+ },
275
+ ],
276
+ name: 'Withdrawal',
277
+ type: 'event',
278
+ },
279
+ ];