@meterio/sumer-js 0.2.97 → 0.2.99

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 (62) hide show
  1. package/dist/browser/sumer.min.js +8 -8
  2. package/dist/nodejs/abi.js +120 -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/index.js +3 -1
  8. package/dist/nodejs/constants/index.js.map +1 -1
  9. package/dist/nodejs/constants/monadtest.d.ts +73 -0
  10. package/dist/nodejs/constants/monadtest.js +152 -0
  11. package/dist/nodejs/constants/monadtest.js.map +1 -0
  12. package/dist/nodejs/errorABIs.js +100 -0
  13. package/dist/nodejs/errorABIs.js.map +1 -1
  14. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +1 -9
  15. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +31 -90
  16. package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +0 -1
  17. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -12
  18. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -49
  19. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -61
  20. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  21. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -49
  22. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -61
  23. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  24. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +0 -48
  25. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +0 -60
  26. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  27. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -49
  28. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -61
  29. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  30. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -59
  31. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -74
  32. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  33. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -49
  34. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -61
  35. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  36. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +30 -146
  37. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +35 -183
  38. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  39. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -49
  40. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -61
  41. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  42. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +0 -1
  43. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +1 -3
  44. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
  45. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
  46. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
  48. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
  49. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -6
  50. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -7
  51. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  52. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +1 -49
  53. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +1 -61
  54. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -49
  56. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -61
  57. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  58. package/dist/nodejs/typechain/hardhat.d.ts +0 -252
  59. package/dist/nodejs/typechain/index.d.ts +0 -26
  60. package/dist/nodejs/typechain/index.js +2 -28
  61. package/dist/nodejs/typechain/index.js.map +1 -1
  62. package/package.json +1 -1
@@ -628,6 +628,16 @@ exports.abi = {
628
628
  "name": "NotEnoughForSeize",
629
629
  "type": "error"
630
630
  },
631
+ {
632
+ "inputs": [],
633
+ "name": "NotEnoughRedeemAmount",
634
+ "type": "error"
635
+ },
636
+ {
637
+ "inputs": [],
638
+ "name": "NotEnoughRedeemTokens",
639
+ "type": "error"
640
+ },
631
641
  {
632
642
  "inputs": [],
633
643
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -2088,6 +2098,16 @@ exports.abi = {
2088
2098
  "name": "NotEnoughForSeize",
2089
2099
  "type": "error"
2090
2100
  },
2101
+ {
2102
+ "inputs": [],
2103
+ "name": "NotEnoughRedeemAmount",
2104
+ "type": "error"
2105
+ },
2106
+ {
2107
+ "inputs": [],
2108
+ "name": "NotEnoughRedeemTokens",
2109
+ "type": "error"
2110
+ },
2091
2111
  {
2092
2112
  "inputs": [],
2093
2113
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -3709,6 +3729,16 @@ exports.abi = {
3709
3729
  "name": "NotEnoughForSeize",
3710
3730
  "type": "error"
3711
3731
  },
3732
+ {
3733
+ "inputs": [],
3734
+ "name": "NotEnoughRedeemAmount",
3735
+ "type": "error"
3736
+ },
3737
+ {
3738
+ "inputs": [],
3739
+ "name": "NotEnoughRedeemTokens",
3740
+ "type": "error"
3741
+ },
3712
3742
  {
3713
3743
  "inputs": [],
3714
3744
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -5843,6 +5873,16 @@ exports.abi = {
5843
5873
  "name": "NotEnoughForSeize",
5844
5874
  "type": "error"
5845
5875
  },
5876
+ {
5877
+ "inputs": [],
5878
+ "name": "NotEnoughRedeemAmount",
5879
+ "type": "error"
5880
+ },
5881
+ {
5882
+ "inputs": [],
5883
+ "name": "NotEnoughRedeemTokens",
5884
+ "type": "error"
5885
+ },
5846
5886
  {
5847
5887
  "inputs": [],
5848
5888
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -7848,6 +7888,16 @@ exports.abi = {
7848
7888
  "name": "NotEnoughForSeize",
7849
7889
  "type": "error"
7850
7890
  },
7891
+ {
7892
+ "inputs": [],
7893
+ "name": "NotEnoughRedeemAmount",
7894
+ "type": "error"
7895
+ },
7896
+ {
7897
+ "inputs": [],
7898
+ "name": "NotEnoughRedeemTokens",
7899
+ "type": "error"
7900
+ },
7851
7901
  {
7852
7902
  "inputs": [],
7853
7903
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -10406,6 +10456,16 @@ exports.abi = {
10406
10456
  "name": "NotEnoughForSeize",
10407
10457
  "type": "error"
10408
10458
  },
10459
+ {
10460
+ "inputs": [],
10461
+ "name": "NotEnoughRedeemAmount",
10462
+ "type": "error"
10463
+ },
10464
+ {
10465
+ "inputs": [],
10466
+ "name": "NotEnoughRedeemTokens",
10467
+ "type": "error"
10468
+ },
10409
10469
  {
10410
10470
  "inputs": [],
10411
10471
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -12613,6 +12673,16 @@ exports.abi = {
12613
12673
  "name": "NotEnoughForSeize",
12614
12674
  "type": "error"
12615
12675
  },
12676
+ {
12677
+ "inputs": [],
12678
+ "name": "NotEnoughRedeemAmount",
12679
+ "type": "error"
12680
+ },
12681
+ {
12682
+ "inputs": [],
12683
+ "name": "NotEnoughRedeemTokens",
12684
+ "type": "error"
12685
+ },
12616
12686
  {
12617
12687
  "inputs": [],
12618
12688
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -14121,6 +14191,16 @@ exports.abi = {
14121
14191
  "name": "NotEnoughForSeize",
14122
14192
  "type": "error"
14123
14193
  },
14194
+ {
14195
+ "inputs": [],
14196
+ "name": "NotEnoughRedeemAmount",
14197
+ "type": "error"
14198
+ },
14199
+ {
14200
+ "inputs": [],
14201
+ "name": "NotEnoughRedeemTokens",
14202
+ "type": "error"
14203
+ },
14124
14204
  {
14125
14205
  "inputs": [],
14126
14206
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -15678,6 +15758,16 @@ exports.abi = {
15678
15758
  "name": "NotEnoughForSeize",
15679
15759
  "type": "error"
15680
15760
  },
15761
+ {
15762
+ "inputs": [],
15763
+ "name": "NotEnoughRedeemAmount",
15764
+ "type": "error"
15765
+ },
15766
+ {
15767
+ "inputs": [],
15768
+ "name": "NotEnoughRedeemTokens",
15769
+ "type": "error"
15770
+ },
15681
15771
  {
15682
15772
  "inputs": [],
15683
15773
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -17203,6 +17293,11 @@ exports.abi = {
17203
17293
  "internalType": "uint256",
17204
17294
  "name": "mintAmount",
17205
17295
  "type": "uint256"
17296
+ },
17297
+ {
17298
+ "internalType": "uint256",
17299
+ "name": "exchangeRate",
17300
+ "type": "uint256"
17206
17301
  }
17207
17302
  ],
17208
17303
  "name": "mintAllowed",
@@ -17252,6 +17347,11 @@ exports.abi = {
17252
17347
  "internalType": "uint256",
17253
17348
  "name": "redeemTokens",
17254
17349
  "type": "uint256"
17350
+ },
17351
+ {
17352
+ "internalType": "uint256",
17353
+ "name": "exchangeRate",
17354
+ "type": "uint256"
17255
17355
  }
17256
17356
  ],
17257
17357
  "name": "redeemAllowed",
@@ -18228,6 +18328,16 @@ exports.abi = {
18228
18328
  "name": "NotEnoughForSeize",
18229
18329
  "type": "error"
18230
18330
  },
18331
+ {
18332
+ "inputs": [],
18333
+ "name": "NotEnoughRedeemAmount",
18334
+ "type": "error"
18335
+ },
18336
+ {
18337
+ "inputs": [],
18338
+ "name": "NotEnoughRedeemTokens",
18339
+ "type": "error"
18340
+ },
18231
18341
  {
18232
18342
  "inputs": [],
18233
18343
  "name": "NotEnoughUnderlyingAfterRedeem",
@@ -23991,6 +24101,11 @@ exports.abi = {
23991
24101
  "internalType": "uint256",
23992
24102
  "name": "mintAmount",
23993
24103
  "type": "uint256"
24104
+ },
24105
+ {
24106
+ "internalType": "uint256",
24107
+ "name": "exchangeRate",
24108
+ "type": "uint256"
23994
24109
  }
23995
24110
  ],
23996
24111
  "name": "mintAllowed",
@@ -24027,6 +24142,11 @@ exports.abi = {
24027
24142
  "internalType": "uint256",
24028
24143
  "name": "redeemTokens",
24029
24144
  "type": "uint256"
24145
+ },
24146
+ {
24147
+ "internalType": "uint256",
24148
+ "name": "exchangeRate",
24149
+ "type": "uint256"
24030
24150
  }
24031
24151
  ],
24032
24152
  "name": "redeemAllowed",