@meterio/sumer-js 0.2.96 → 0.2.98

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 (28) hide show
  1. package/dist/browser/sumer.min.js +1 -1
  2. package/dist/nodejs/abi.js +270 -0
  3. package/dist/nodejs/abi.js.map +1 -1
  4. package/dist/nodejs/constants/beramain.d.ts +55 -0
  5. package/dist/nodejs/constants/beramain.js +100 -0
  6. package/dist/nodejs/constants/beramain.js.map +1 -0
  7. package/dist/nodejs/constants/monadtest.d.ts +73 -0
  8. package/dist/nodejs/constants/monadtest.js +152 -0
  9. package/dist/nodejs/constants/monadtest.js.map +1 -0
  10. package/dist/nodejs/errorABIs.js +250 -0
  11. package/dist/nodejs/errorABIs.js.map +1 -1
  12. package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +0 -1
  13. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -12
  14. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +0 -1
  15. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +1 -3
  16. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
  17. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
  18. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
  19. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
  20. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
  21. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -6
  22. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -7
  23. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  24. package/dist/nodejs/typechain/hardhat.d.ts +0 -252
  25. package/dist/nodejs/typechain/index.d.ts +0 -26
  26. package/dist/nodejs/typechain/index.js +2 -28
  27. package/dist/nodejs/typechain/index.js.map +1 -1
  28. package/package.json +1 -1
@@ -608,6 +608,11 @@ exports.abi = {
608
608
  "name": "MintPaused",
609
609
  "type": "error"
610
610
  },
611
+ {
612
+ "inputs": [],
613
+ "name": "MintTokensCantBeZero",
614
+ "type": "error"
615
+ },
611
616
  {
612
617
  "inputs": [],
613
618
  "name": "NoRedemptionProvider",
@@ -623,6 +628,26 @@ exports.abi = {
623
628
  "name": "NotEnoughForSeize",
624
629
  "type": "error"
625
630
  },
631
+ {
632
+ "inputs": [],
633
+ "name": "NotEnoughRedeemAmount",
634
+ "type": "error"
635
+ },
636
+ {
637
+ "inputs": [],
638
+ "name": "NotEnoughRedeemTokens",
639
+ "type": "error"
640
+ },
641
+ {
642
+ "inputs": [],
643
+ "name": "NotEnoughUnderlyingAfterRedeem",
644
+ "type": "error"
645
+ },
646
+ {
647
+ "inputs": [],
648
+ "name": "NotEnoughUnderlyingForMint",
649
+ "type": "error"
650
+ },
626
651
  {
627
652
  "inputs": [],
628
653
  "name": "NotLiquidatableYet",
@@ -2053,6 +2078,11 @@ exports.abi = {
2053
2078
  "name": "MintPaused",
2054
2079
  "type": "error"
2055
2080
  },
2081
+ {
2082
+ "inputs": [],
2083
+ "name": "MintTokensCantBeZero",
2084
+ "type": "error"
2085
+ },
2056
2086
  {
2057
2087
  "inputs": [],
2058
2088
  "name": "NoRedemptionProvider",
@@ -2068,6 +2098,26 @@ exports.abi = {
2068
2098
  "name": "NotEnoughForSeize",
2069
2099
  "type": "error"
2070
2100
  },
2101
+ {
2102
+ "inputs": [],
2103
+ "name": "NotEnoughRedeemAmount",
2104
+ "type": "error"
2105
+ },
2106
+ {
2107
+ "inputs": [],
2108
+ "name": "NotEnoughRedeemTokens",
2109
+ "type": "error"
2110
+ },
2111
+ {
2112
+ "inputs": [],
2113
+ "name": "NotEnoughUnderlyingAfterRedeem",
2114
+ "type": "error"
2115
+ },
2116
+ {
2117
+ "inputs": [],
2118
+ "name": "NotEnoughUnderlyingForMint",
2119
+ "type": "error"
2120
+ },
2071
2121
  {
2072
2122
  "inputs": [],
2073
2123
  "name": "NotLiquidatableYet",
@@ -3659,6 +3709,11 @@ exports.abi = {
3659
3709
  "name": "MintPaused",
3660
3710
  "type": "error"
3661
3711
  },
3712
+ {
3713
+ "inputs": [],
3714
+ "name": "MintTokensCantBeZero",
3715
+ "type": "error"
3716
+ },
3662
3717
  {
3663
3718
  "inputs": [],
3664
3719
  "name": "NoRedemptionProvider",
@@ -3674,6 +3729,26 @@ exports.abi = {
3674
3729
  "name": "NotEnoughForSeize",
3675
3730
  "type": "error"
3676
3731
  },
3732
+ {
3733
+ "inputs": [],
3734
+ "name": "NotEnoughRedeemAmount",
3735
+ "type": "error"
3736
+ },
3737
+ {
3738
+ "inputs": [],
3739
+ "name": "NotEnoughRedeemTokens",
3740
+ "type": "error"
3741
+ },
3742
+ {
3743
+ "inputs": [],
3744
+ "name": "NotEnoughUnderlyingAfterRedeem",
3745
+ "type": "error"
3746
+ },
3747
+ {
3748
+ "inputs": [],
3749
+ "name": "NotEnoughUnderlyingForMint",
3750
+ "type": "error"
3751
+ },
3677
3752
  {
3678
3753
  "inputs": [],
3679
3754
  "name": "NotLiquidatableYet",
@@ -5778,6 +5853,11 @@ exports.abi = {
5778
5853
  "name": "MintPaused",
5779
5854
  "type": "error"
5780
5855
  },
5856
+ {
5857
+ "inputs": [],
5858
+ "name": "MintTokensCantBeZero",
5859
+ "type": "error"
5860
+ },
5781
5861
  {
5782
5862
  "inputs": [],
5783
5863
  "name": "NoRedemptionProvider",
@@ -5793,6 +5873,26 @@ exports.abi = {
5793
5873
  "name": "NotEnoughForSeize",
5794
5874
  "type": "error"
5795
5875
  },
5876
+ {
5877
+ "inputs": [],
5878
+ "name": "NotEnoughRedeemAmount",
5879
+ "type": "error"
5880
+ },
5881
+ {
5882
+ "inputs": [],
5883
+ "name": "NotEnoughRedeemTokens",
5884
+ "type": "error"
5885
+ },
5886
+ {
5887
+ "inputs": [],
5888
+ "name": "NotEnoughUnderlyingAfterRedeem",
5889
+ "type": "error"
5890
+ },
5891
+ {
5892
+ "inputs": [],
5893
+ "name": "NotEnoughUnderlyingForMint",
5894
+ "type": "error"
5895
+ },
5796
5896
  {
5797
5897
  "inputs": [],
5798
5898
  "name": "NotLiquidatableYet",
@@ -7768,6 +7868,11 @@ exports.abi = {
7768
7868
  "name": "MintPaused",
7769
7869
  "type": "error"
7770
7870
  },
7871
+ {
7872
+ "inputs": [],
7873
+ "name": "MintTokensCantBeZero",
7874
+ "type": "error"
7875
+ },
7771
7876
  {
7772
7877
  "inputs": [],
7773
7878
  "name": "NoRedemptionProvider",
@@ -7783,6 +7888,26 @@ exports.abi = {
7783
7888
  "name": "NotEnoughForSeize",
7784
7889
  "type": "error"
7785
7890
  },
7891
+ {
7892
+ "inputs": [],
7893
+ "name": "NotEnoughRedeemAmount",
7894
+ "type": "error"
7895
+ },
7896
+ {
7897
+ "inputs": [],
7898
+ "name": "NotEnoughRedeemTokens",
7899
+ "type": "error"
7900
+ },
7901
+ {
7902
+ "inputs": [],
7903
+ "name": "NotEnoughUnderlyingAfterRedeem",
7904
+ "type": "error"
7905
+ },
7906
+ {
7907
+ "inputs": [],
7908
+ "name": "NotEnoughUnderlyingForMint",
7909
+ "type": "error"
7910
+ },
7786
7911
  {
7787
7912
  "inputs": [],
7788
7913
  "name": "NotLiquidatableYet",
@@ -10311,6 +10436,11 @@ exports.abi = {
10311
10436
  "name": "MintPaused",
10312
10437
  "type": "error"
10313
10438
  },
10439
+ {
10440
+ "inputs": [],
10441
+ "name": "MintTokensCantBeZero",
10442
+ "type": "error"
10443
+ },
10314
10444
  {
10315
10445
  "inputs": [],
10316
10446
  "name": "NoRedemptionProvider",
@@ -10326,6 +10456,26 @@ exports.abi = {
10326
10456
  "name": "NotEnoughForSeize",
10327
10457
  "type": "error"
10328
10458
  },
10459
+ {
10460
+ "inputs": [],
10461
+ "name": "NotEnoughRedeemAmount",
10462
+ "type": "error"
10463
+ },
10464
+ {
10465
+ "inputs": [],
10466
+ "name": "NotEnoughRedeemTokens",
10467
+ "type": "error"
10468
+ },
10469
+ {
10470
+ "inputs": [],
10471
+ "name": "NotEnoughUnderlyingAfterRedeem",
10472
+ "type": "error"
10473
+ },
10474
+ {
10475
+ "inputs": [],
10476
+ "name": "NotEnoughUnderlyingForMint",
10477
+ "type": "error"
10478
+ },
10329
10479
  {
10330
10480
  "inputs": [],
10331
10481
  "name": "NotLiquidatableYet",
@@ -12503,6 +12653,11 @@ exports.abi = {
12503
12653
  "name": "MintPaused",
12504
12654
  "type": "error"
12505
12655
  },
12656
+ {
12657
+ "inputs": [],
12658
+ "name": "MintTokensCantBeZero",
12659
+ "type": "error"
12660
+ },
12506
12661
  {
12507
12662
  "inputs": [],
12508
12663
  "name": "NoRedemptionProvider",
@@ -12518,6 +12673,26 @@ exports.abi = {
12518
12673
  "name": "NotEnoughForSeize",
12519
12674
  "type": "error"
12520
12675
  },
12676
+ {
12677
+ "inputs": [],
12678
+ "name": "NotEnoughRedeemAmount",
12679
+ "type": "error"
12680
+ },
12681
+ {
12682
+ "inputs": [],
12683
+ "name": "NotEnoughRedeemTokens",
12684
+ "type": "error"
12685
+ },
12686
+ {
12687
+ "inputs": [],
12688
+ "name": "NotEnoughUnderlyingAfterRedeem",
12689
+ "type": "error"
12690
+ },
12691
+ {
12692
+ "inputs": [],
12693
+ "name": "NotEnoughUnderlyingForMint",
12694
+ "type": "error"
12695
+ },
12521
12696
  {
12522
12697
  "inputs": [],
12523
12698
  "name": "NotLiquidatableYet",
@@ -13996,6 +14171,11 @@ exports.abi = {
13996
14171
  "name": "MintPaused",
13997
14172
  "type": "error"
13998
14173
  },
14174
+ {
14175
+ "inputs": [],
14176
+ "name": "MintTokensCantBeZero",
14177
+ "type": "error"
14178
+ },
13999
14179
  {
14000
14180
  "inputs": [],
14001
14181
  "name": "NoRedemptionProvider",
@@ -14011,6 +14191,26 @@ exports.abi = {
14011
14191
  "name": "NotEnoughForSeize",
14012
14192
  "type": "error"
14013
14193
  },
14194
+ {
14195
+ "inputs": [],
14196
+ "name": "NotEnoughRedeemAmount",
14197
+ "type": "error"
14198
+ },
14199
+ {
14200
+ "inputs": [],
14201
+ "name": "NotEnoughRedeemTokens",
14202
+ "type": "error"
14203
+ },
14204
+ {
14205
+ "inputs": [],
14206
+ "name": "NotEnoughUnderlyingAfterRedeem",
14207
+ "type": "error"
14208
+ },
14209
+ {
14210
+ "inputs": [],
14211
+ "name": "NotEnoughUnderlyingForMint",
14212
+ "type": "error"
14213
+ },
14014
14214
  {
14015
14215
  "inputs": [],
14016
14216
  "name": "NotLiquidatableYet",
@@ -15538,6 +15738,11 @@ exports.abi = {
15538
15738
  "name": "MintPaused",
15539
15739
  "type": "error"
15540
15740
  },
15741
+ {
15742
+ "inputs": [],
15743
+ "name": "MintTokensCantBeZero",
15744
+ "type": "error"
15745
+ },
15541
15746
  {
15542
15747
  "inputs": [],
15543
15748
  "name": "NoRedemptionProvider",
@@ -15553,6 +15758,26 @@ exports.abi = {
15553
15758
  "name": "NotEnoughForSeize",
15554
15759
  "type": "error"
15555
15760
  },
15761
+ {
15762
+ "inputs": [],
15763
+ "name": "NotEnoughRedeemAmount",
15764
+ "type": "error"
15765
+ },
15766
+ {
15767
+ "inputs": [],
15768
+ "name": "NotEnoughRedeemTokens",
15769
+ "type": "error"
15770
+ },
15771
+ {
15772
+ "inputs": [],
15773
+ "name": "NotEnoughUnderlyingAfterRedeem",
15774
+ "type": "error"
15775
+ },
15776
+ {
15777
+ "inputs": [],
15778
+ "name": "NotEnoughUnderlyingForMint",
15779
+ "type": "error"
15780
+ },
15556
15781
  {
15557
15782
  "inputs": [],
15558
15783
  "name": "NotLiquidatableYet",
@@ -17068,6 +17293,11 @@ exports.abi = {
17068
17293
  "internalType": "uint256",
17069
17294
  "name": "mintAmount",
17070
17295
  "type": "uint256"
17296
+ },
17297
+ {
17298
+ "internalType": "uint256",
17299
+ "name": "exchangeRate",
17300
+ "type": "uint256"
17071
17301
  }
17072
17302
  ],
17073
17303
  "name": "mintAllowed",
@@ -17117,6 +17347,11 @@ exports.abi = {
17117
17347
  "internalType": "uint256",
17118
17348
  "name": "redeemTokens",
17119
17349
  "type": "uint256"
17350
+ },
17351
+ {
17352
+ "internalType": "uint256",
17353
+ "name": "exchangeRate",
17354
+ "type": "uint256"
17120
17355
  }
17121
17356
  ],
17122
17357
  "name": "redeemAllowed",
@@ -18073,6 +18308,11 @@ exports.abi = {
18073
18308
  "name": "MintPaused",
18074
18309
  "type": "error"
18075
18310
  },
18311
+ {
18312
+ "inputs": [],
18313
+ "name": "MintTokensCantBeZero",
18314
+ "type": "error"
18315
+ },
18076
18316
  {
18077
18317
  "inputs": [],
18078
18318
  "name": "NoRedemptionProvider",
@@ -18088,6 +18328,26 @@ exports.abi = {
18088
18328
  "name": "NotEnoughForSeize",
18089
18329
  "type": "error"
18090
18330
  },
18331
+ {
18332
+ "inputs": [],
18333
+ "name": "NotEnoughRedeemAmount",
18334
+ "type": "error"
18335
+ },
18336
+ {
18337
+ "inputs": [],
18338
+ "name": "NotEnoughRedeemTokens",
18339
+ "type": "error"
18340
+ },
18341
+ {
18342
+ "inputs": [],
18343
+ "name": "NotEnoughUnderlyingAfterRedeem",
18344
+ "type": "error"
18345
+ },
18346
+ {
18347
+ "inputs": [],
18348
+ "name": "NotEnoughUnderlyingForMint",
18349
+ "type": "error"
18350
+ },
18091
18351
  {
18092
18352
  "inputs": [],
18093
18353
  "name": "NotLiquidatableYet",
@@ -23841,6 +24101,11 @@ exports.abi = {
23841
24101
  "internalType": "uint256",
23842
24102
  "name": "mintAmount",
23843
24103
  "type": "uint256"
24104
+ },
24105
+ {
24106
+ "internalType": "uint256",
24107
+ "name": "exchangeRate",
24108
+ "type": "uint256"
23844
24109
  }
23845
24110
  ],
23846
24111
  "name": "mintAllowed",
@@ -23877,6 +24142,11 @@ exports.abi = {
23877
24142
  "internalType": "uint256",
23878
24143
  "name": "redeemTokens",
23879
24144
  "type": "uint256"
24145
+ },
24146
+ {
24147
+ "internalType": "uint256",
24148
+ "name": "exchangeRate",
24149
+ "type": "uint256"
23880
24150
  }
23881
24151
  ],
23882
24152
  "name": "redeemAllowed",