@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,652 @@
1
+ export const EVERGREEN_FARMING_ABI = [
2
+ {
3
+ inputs: [
4
+ {
5
+ internalType: 'address',
6
+ name: '_owner',
7
+ type: 'address',
8
+ },
9
+ {
10
+ internalType: 'address',
11
+ name: '_rewardsDistribution',
12
+ type: 'address',
13
+ },
14
+ {
15
+ internalType: 'address',
16
+ name: '_rewardsToken',
17
+ type: 'address',
18
+ },
19
+ {
20
+ internalType: 'address',
21
+ name: '_stakingToken',
22
+ type: 'address',
23
+ },
24
+ ],
25
+ payable: false,
26
+ stateMutability: 'nonpayable',
27
+ type: 'constructor',
28
+ },
29
+ {
30
+ anonymous: false,
31
+ inputs: [
32
+ {
33
+ indexed: false,
34
+ internalType: 'address',
35
+ name: 'oldOwner',
36
+ type: 'address',
37
+ },
38
+ {
39
+ indexed: false,
40
+ internalType: 'address',
41
+ name: 'newOwner',
42
+ type: 'address',
43
+ },
44
+ ],
45
+ name: 'OwnerChanged',
46
+ type: 'event',
47
+ },
48
+ {
49
+ anonymous: false,
50
+ inputs: [
51
+ {
52
+ indexed: false,
53
+ internalType: 'address',
54
+ name: 'newOwner',
55
+ type: 'address',
56
+ },
57
+ ],
58
+ name: 'OwnerNominated',
59
+ type: 'event',
60
+ },
61
+ {
62
+ anonymous: false,
63
+ inputs: [
64
+ {
65
+ indexed: false,
66
+ internalType: 'bool',
67
+ name: 'isPaused',
68
+ type: 'bool',
69
+ },
70
+ ],
71
+ name: 'PauseChanged',
72
+ type: 'event',
73
+ },
74
+ {
75
+ anonymous: false,
76
+ inputs: [
77
+ {
78
+ indexed: false,
79
+ internalType: 'address',
80
+ name: 'token',
81
+ type: 'address',
82
+ },
83
+ {
84
+ indexed: false,
85
+ internalType: 'uint256',
86
+ name: 'amount',
87
+ type: 'uint256',
88
+ },
89
+ ],
90
+ name: 'Recovered',
91
+ type: 'event',
92
+ },
93
+ {
94
+ anonymous: false,
95
+ inputs: [
96
+ {
97
+ indexed: false,
98
+ internalType: 'uint256',
99
+ name: 'reward',
100
+ type: 'uint256',
101
+ },
102
+ ],
103
+ name: 'RewardAdded',
104
+ type: 'event',
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ {
110
+ indexed: true,
111
+ internalType: 'address',
112
+ name: 'user',
113
+ type: 'address',
114
+ },
115
+ {
116
+ indexed: false,
117
+ internalType: 'uint256',
118
+ name: 'reward',
119
+ type: 'uint256',
120
+ },
121
+ ],
122
+ name: 'RewardPaid',
123
+ type: 'event',
124
+ },
125
+ {
126
+ anonymous: false,
127
+ inputs: [
128
+ {
129
+ indexed: false,
130
+ internalType: 'uint256',
131
+ name: 'newDuration',
132
+ type: 'uint256',
133
+ },
134
+ ],
135
+ name: 'RewardsDurationUpdated',
136
+ type: 'event',
137
+ },
138
+ {
139
+ anonymous: false,
140
+ inputs: [
141
+ {
142
+ indexed: true,
143
+ internalType: 'address',
144
+ name: 'user',
145
+ type: 'address',
146
+ },
147
+ {
148
+ indexed: false,
149
+ internalType: 'uint256',
150
+ name: 'amount',
151
+ type: 'uint256',
152
+ },
153
+ ],
154
+ name: 'Staked',
155
+ type: 'event',
156
+ },
157
+ {
158
+ anonymous: false,
159
+ inputs: [
160
+ {
161
+ indexed: true,
162
+ internalType: 'address',
163
+ name: 'user',
164
+ type: 'address',
165
+ },
166
+ {
167
+ indexed: false,
168
+ internalType: 'uint256',
169
+ name: 'amount',
170
+ type: 'uint256',
171
+ },
172
+ ],
173
+ name: 'Withdrawn',
174
+ type: 'event',
175
+ },
176
+ {
177
+ constant: false,
178
+ inputs: [],
179
+ name: 'acceptOwnership',
180
+ outputs: [],
181
+ payable: false,
182
+ stateMutability: 'nonpayable',
183
+ type: 'function',
184
+ },
185
+ {
186
+ constant: true,
187
+ inputs: [
188
+ {
189
+ internalType: 'address',
190
+ name: 'account',
191
+ type: 'address',
192
+ },
193
+ ],
194
+ name: 'balanceOf',
195
+ outputs: [
196
+ {
197
+ internalType: 'uint256',
198
+ name: '',
199
+ type: 'uint256',
200
+ },
201
+ ],
202
+ payable: false,
203
+ stateMutability: 'view',
204
+ type: 'function',
205
+ },
206
+ {
207
+ constant: true,
208
+ inputs: [
209
+ {
210
+ internalType: 'address',
211
+ name: 'account',
212
+ type: 'address',
213
+ },
214
+ ],
215
+ name: 'earned',
216
+ outputs: [
217
+ {
218
+ internalType: 'uint256',
219
+ name: '',
220
+ type: 'uint256',
221
+ },
222
+ ],
223
+ payable: false,
224
+ stateMutability: 'view',
225
+ type: 'function',
226
+ },
227
+ {
228
+ constant: false,
229
+ inputs: [],
230
+ name: 'exit',
231
+ outputs: [],
232
+ payable: false,
233
+ stateMutability: 'nonpayable',
234
+ type: 'function',
235
+ },
236
+ {
237
+ constant: false,
238
+ inputs: [],
239
+ name: 'getReward',
240
+ outputs: [],
241
+ payable: false,
242
+ stateMutability: 'nonpayable',
243
+ type: 'function',
244
+ },
245
+ {
246
+ constant: true,
247
+ inputs: [],
248
+ name: 'getRewardForDuration',
249
+ outputs: [
250
+ {
251
+ internalType: 'uint256',
252
+ name: '',
253
+ type: 'uint256',
254
+ },
255
+ ],
256
+ payable: false,
257
+ stateMutability: 'view',
258
+ type: 'function',
259
+ },
260
+ {
261
+ constant: true,
262
+ inputs: [],
263
+ name: 'lastPauseTime',
264
+ outputs: [
265
+ {
266
+ internalType: 'uint256',
267
+ name: '',
268
+ type: 'uint256',
269
+ },
270
+ ],
271
+ payable: false,
272
+ stateMutability: 'view',
273
+ type: 'function',
274
+ },
275
+ {
276
+ constant: true,
277
+ inputs: [],
278
+ name: 'lastTimeRewardApplicable',
279
+ outputs: [
280
+ {
281
+ internalType: 'uint256',
282
+ name: '',
283
+ type: 'uint256',
284
+ },
285
+ ],
286
+ payable: false,
287
+ stateMutability: 'view',
288
+ type: 'function',
289
+ },
290
+ {
291
+ constant: true,
292
+ inputs: [],
293
+ name: 'lastUpdateTime',
294
+ outputs: [
295
+ {
296
+ internalType: 'uint256',
297
+ name: '',
298
+ type: 'uint256',
299
+ },
300
+ ],
301
+ payable: false,
302
+ stateMutability: 'view',
303
+ type: 'function',
304
+ },
305
+ {
306
+ constant: false,
307
+ inputs: [
308
+ {
309
+ internalType: 'address',
310
+ name: '_owner',
311
+ type: 'address',
312
+ },
313
+ ],
314
+ name: 'nominateNewOwner',
315
+ outputs: [],
316
+ payable: false,
317
+ stateMutability: 'nonpayable',
318
+ type: 'function',
319
+ },
320
+ {
321
+ constant: true,
322
+ inputs: [],
323
+ name: 'nominatedOwner',
324
+ outputs: [
325
+ {
326
+ internalType: 'address',
327
+ name: '',
328
+ type: 'address',
329
+ },
330
+ ],
331
+ payable: false,
332
+ stateMutability: 'view',
333
+ type: 'function',
334
+ },
335
+ {
336
+ constant: false,
337
+ inputs: [
338
+ {
339
+ internalType: 'uint256',
340
+ name: 'reward',
341
+ type: 'uint256',
342
+ },
343
+ ],
344
+ name: 'notifyRewardAmount',
345
+ outputs: [],
346
+ payable: false,
347
+ stateMutability: 'nonpayable',
348
+ type: 'function',
349
+ },
350
+ {
351
+ constant: true,
352
+ inputs: [],
353
+ name: 'owner',
354
+ outputs: [
355
+ {
356
+ internalType: 'address',
357
+ name: '',
358
+ type: 'address',
359
+ },
360
+ ],
361
+ payable: false,
362
+ stateMutability: 'view',
363
+ type: 'function',
364
+ },
365
+ {
366
+ constant: true,
367
+ inputs: [],
368
+ name: 'paused',
369
+ outputs: [
370
+ {
371
+ internalType: 'bool',
372
+ name: '',
373
+ type: 'bool',
374
+ },
375
+ ],
376
+ payable: false,
377
+ stateMutability: 'view',
378
+ type: 'function',
379
+ },
380
+ {
381
+ constant: true,
382
+ inputs: [],
383
+ name: 'periodFinish',
384
+ outputs: [
385
+ {
386
+ internalType: 'uint256',
387
+ name: '',
388
+ type: 'uint256',
389
+ },
390
+ ],
391
+ payable: false,
392
+ stateMutability: 'view',
393
+ type: 'function',
394
+ },
395
+ {
396
+ constant: false,
397
+ inputs: [
398
+ {
399
+ internalType: 'address',
400
+ name: 'tokenAddress',
401
+ type: 'address',
402
+ },
403
+ {
404
+ internalType: 'uint256',
405
+ name: 'tokenAmount',
406
+ type: 'uint256',
407
+ },
408
+ ],
409
+ name: 'recoverERC20',
410
+ outputs: [],
411
+ payable: false,
412
+ stateMutability: 'nonpayable',
413
+ type: 'function',
414
+ },
415
+ {
416
+ constant: true,
417
+ inputs: [],
418
+ name: 'rewardPerToken',
419
+ outputs: [
420
+ {
421
+ internalType: 'uint256',
422
+ name: '',
423
+ type: 'uint256',
424
+ },
425
+ ],
426
+ payable: false,
427
+ stateMutability: 'view',
428
+ type: 'function',
429
+ },
430
+ {
431
+ constant: true,
432
+ inputs: [],
433
+ name: 'rewardPerTokenStored',
434
+ outputs: [
435
+ {
436
+ internalType: 'uint256',
437
+ name: '',
438
+ type: 'uint256',
439
+ },
440
+ ],
441
+ payable: false,
442
+ stateMutability: 'view',
443
+ type: 'function',
444
+ },
445
+ {
446
+ constant: true,
447
+ inputs: [],
448
+ name: 'rewardRate',
449
+ outputs: [
450
+ {
451
+ internalType: 'uint256',
452
+ name: '',
453
+ type: 'uint256',
454
+ },
455
+ ],
456
+ payable: false,
457
+ stateMutability: 'view',
458
+ type: 'function',
459
+ },
460
+ {
461
+ constant: true,
462
+ inputs: [
463
+ {
464
+ internalType: 'address',
465
+ name: '',
466
+ type: 'address',
467
+ },
468
+ ],
469
+ name: 'rewards',
470
+ outputs: [
471
+ {
472
+ internalType: 'uint256',
473
+ name: '',
474
+ type: 'uint256',
475
+ },
476
+ ],
477
+ payable: false,
478
+ stateMutability: 'view',
479
+ type: 'function',
480
+ },
481
+ {
482
+ constant: true,
483
+ inputs: [],
484
+ name: 'rewardsDistribution',
485
+ outputs: [
486
+ {
487
+ internalType: 'address',
488
+ name: '',
489
+ type: 'address',
490
+ },
491
+ ],
492
+ payable: false,
493
+ stateMutability: 'view',
494
+ type: 'function',
495
+ },
496
+ {
497
+ constant: true,
498
+ inputs: [],
499
+ name: 'rewardsDuration',
500
+ outputs: [
501
+ {
502
+ internalType: 'uint256',
503
+ name: '',
504
+ type: 'uint256',
505
+ },
506
+ ],
507
+ payable: false,
508
+ stateMutability: 'view',
509
+ type: 'function',
510
+ },
511
+ {
512
+ constant: true,
513
+ inputs: [],
514
+ name: 'rewardsToken',
515
+ outputs: [
516
+ {
517
+ internalType: 'contract IERC20',
518
+ name: '',
519
+ type: 'address',
520
+ },
521
+ ],
522
+ payable: false,
523
+ stateMutability: 'view',
524
+ type: 'function',
525
+ },
526
+ {
527
+ constant: false,
528
+ inputs: [
529
+ {
530
+ internalType: 'bool',
531
+ name: '_paused',
532
+ type: 'bool',
533
+ },
534
+ ],
535
+ name: 'setPaused',
536
+ outputs: [],
537
+ payable: false,
538
+ stateMutability: 'nonpayable',
539
+ type: 'function',
540
+ },
541
+ {
542
+ constant: false,
543
+ inputs: [
544
+ {
545
+ internalType: 'address',
546
+ name: '_rewardsDistribution',
547
+ type: 'address',
548
+ },
549
+ ],
550
+ name: 'setRewardsDistribution',
551
+ outputs: [],
552
+ payable: false,
553
+ stateMutability: 'nonpayable',
554
+ type: 'function',
555
+ },
556
+ {
557
+ constant: false,
558
+ inputs: [
559
+ {
560
+ internalType: 'uint256',
561
+ name: '_rewardsDuration',
562
+ type: 'uint256',
563
+ },
564
+ ],
565
+ name: 'setRewardsDuration',
566
+ outputs: [],
567
+ payable: false,
568
+ stateMutability: 'nonpayable',
569
+ type: 'function',
570
+ },
571
+ {
572
+ constant: false,
573
+ inputs: [
574
+ {
575
+ internalType: 'uint256',
576
+ name: 'amount',
577
+ type: 'uint256',
578
+ },
579
+ ],
580
+ name: 'stake',
581
+ outputs: [],
582
+ payable: false,
583
+ stateMutability: 'nonpayable',
584
+ type: 'function',
585
+ },
586
+ {
587
+ constant: true,
588
+ inputs: [],
589
+ name: 'stakingToken',
590
+ outputs: [
591
+ {
592
+ internalType: 'contract IERC20',
593
+ name: '',
594
+ type: 'address',
595
+ },
596
+ ],
597
+ payable: false,
598
+ stateMutability: 'view',
599
+ type: 'function',
600
+ },
601
+ {
602
+ constant: true,
603
+ inputs: [],
604
+ name: 'totalSupply',
605
+ outputs: [
606
+ {
607
+ internalType: 'uint256',
608
+ name: '',
609
+ type: 'uint256',
610
+ },
611
+ ],
612
+ payable: false,
613
+ stateMutability: 'view',
614
+ type: 'function',
615
+ },
616
+ {
617
+ constant: true,
618
+ inputs: [
619
+ {
620
+ internalType: 'address',
621
+ name: '',
622
+ type: 'address',
623
+ },
624
+ ],
625
+ name: 'userRewardPerTokenPaid',
626
+ outputs: [
627
+ {
628
+ internalType: 'uint256',
629
+ name: '',
630
+ type: 'uint256',
631
+ },
632
+ ],
633
+ payable: false,
634
+ stateMutability: 'view',
635
+ type: 'function',
636
+ },
637
+ {
638
+ constant: false,
639
+ inputs: [
640
+ {
641
+ internalType: 'uint256',
642
+ name: 'amount',
643
+ type: 'uint256',
644
+ },
645
+ ],
646
+ name: 'withdraw',
647
+ outputs: [],
648
+ payable: false,
649
+ stateMutability: 'nonpayable',
650
+ type: 'function',
651
+ },
652
+ ];