@meterio/sumer-js 0.2.188 → 0.2.190

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 (47) hide show
  1. package/dist/nodejs/abi.d.ts +96 -1
  2. package/dist/nodejs/abi.js +2398 -75
  3. package/dist/nodejs/abi.js.map +1 -1
  4. package/dist/nodejs/constants/monadmain.d.ts +10 -0
  5. package/dist/nodejs/constants/monadmain.js +62 -2
  6. package/dist/nodejs/constants/monadmain.js.map +1 -1
  7. package/dist/nodejs/constants/monadtest.d.ts +1 -0
  8. package/dist/nodejs/constants/monadtest.js +27 -14
  9. package/dist/nodejs/constants/monadtest.js.map +1 -1
  10. package/dist/nodejs/constants/sepolia.d.ts +1 -0
  11. package/dist/nodejs/constants/sepolia.js +8 -4
  12. package/dist/nodejs/constants/sepolia.js.map +1 -1
  13. package/dist/nodejs/constants/zklink.d.ts +1 -0
  14. package/dist/nodejs/constants/zklink.js +14 -7
  15. package/dist/nodejs/constants/zklink.js.map +1 -1
  16. package/dist/nodejs/errorABIs.js +559 -0
  17. package/dist/nodejs/errorABIs.js.map +1 -1
  18. package/dist/nodejs/index.d.ts +96 -1
  19. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +0 -2
  20. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +4 -2
  21. package/dist/nodejs/typechain/contracts/index.d.ts +2 -0
  22. package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.d.ts +1 -1
  23. package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js +1 -1
  24. package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js.map +1 -1
  25. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
  26. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
  27. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
  28. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
  29. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  30. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  31. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +0 -1
  32. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +1 -25
  33. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  34. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1 -1
  35. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +1 -1
  36. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +2 -1
  37. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +3 -2
  38. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  39. package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
  40. package/dist/nodejs/typechain/factories/contracts/index.js +2 -1
  41. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  42. package/dist/nodejs/typechain/hardhat.d.ts +62 -44
  43. package/dist/nodejs/typechain/index.d.ts +12 -10
  44. package/dist/nodejs/typechain/index.js +13 -11
  45. package/dist/nodejs/typechain/index.js.map +1 -1
  46. package/package.json +1 -1
  47. package/dist/browser/sumer.min.js +0 -18
@@ -1193,6 +1193,565 @@ exports.errorABIs = [
1193
1193
  "name": "CantExitMarketWithNonZeroBorrowBalance",
1194
1194
  "type": "error"
1195
1195
  },
1196
+ {
1197
+ "inputs": [],
1198
+ "name": "CantSweepRewardToken",
1199
+ "type": "error"
1200
+ },
1201
+ {
1202
+ "inputs": [],
1203
+ "name": "CantSweepUnderlying",
1204
+ "type": "error"
1205
+ },
1206
+ {
1207
+ "inputs": [],
1208
+ "name": "ComptrollerMismatch",
1209
+ "type": "error"
1210
+ },
1211
+ {
1212
+ "inputs": [],
1213
+ "name": "EitherAssetOrDebtMustBeZero",
1214
+ "type": "error"
1215
+ },
1216
+ {
1217
+ "inputs": [
1218
+ {
1219
+ "internalType": "uint8",
1220
+ "name": "groupId",
1221
+ "type": "uint8"
1222
+ },
1223
+ {
1224
+ "internalType": "uint256",
1225
+ "name": "cDepositVal",
1226
+ "type": "uint256"
1227
+ },
1228
+ {
1229
+ "internalType": "uint256",
1230
+ "name": "suDepositVal",
1231
+ "type": "uint256"
1232
+ },
1233
+ {
1234
+ "internalType": "uint256",
1235
+ "name": "cBorrowVal",
1236
+ "type": "uint256"
1237
+ },
1238
+ {
1239
+ "internalType": "uint256",
1240
+ "name": "suBorrowVal",
1241
+ "type": "uint256"
1242
+ }
1243
+ ],
1244
+ "name": "EitherAssetOrDebtMustBeZeroInGroup",
1245
+ "type": "error"
1246
+ },
1247
+ {
1248
+ "inputs": [],
1249
+ "name": "ExpiredSignature",
1250
+ "type": "error"
1251
+ },
1252
+ {
1253
+ "inputs": [],
1254
+ "name": "InsufficientCollateral",
1255
+ "type": "error"
1256
+ },
1257
+ {
1258
+ "inputs": [],
1259
+ "name": "InsufficientShortfall",
1260
+ "type": "error"
1261
+ },
1262
+ {
1263
+ "inputs": [],
1264
+ "name": "InterMintNotAllowed",
1265
+ "type": "error"
1266
+ },
1267
+ {
1268
+ "inputs": [],
1269
+ "name": "InvalidAddress",
1270
+ "type": "error"
1271
+ },
1272
+ {
1273
+ "inputs": [],
1274
+ "name": "InvalidAmount",
1275
+ "type": "error"
1276
+ },
1277
+ {
1278
+ "inputs": [],
1279
+ "name": "InvalidBlockNumber",
1280
+ "type": "error"
1281
+ },
1282
+ {
1283
+ "inputs": [],
1284
+ "name": "InvalidCToken",
1285
+ "type": "error"
1286
+ },
1287
+ {
1288
+ "inputs": [],
1289
+ "name": "InvalidCloseFactor",
1290
+ "type": "error"
1291
+ },
1292
+ {
1293
+ "inputs": [],
1294
+ "name": "InvalidComptroller",
1295
+ "type": "error"
1296
+ },
1297
+ {
1298
+ "inputs": [],
1299
+ "name": "InvalidDiscountRate",
1300
+ "type": "error"
1301
+ },
1302
+ {
1303
+ "inputs": [],
1304
+ "name": "InvalidExchangeRate",
1305
+ "type": "error"
1306
+ },
1307
+ {
1308
+ "inputs": [],
1309
+ "name": "InvalidGroupId",
1310
+ "type": "error"
1311
+ },
1312
+ {
1313
+ "inputs": [],
1314
+ "name": "InvalidInput",
1315
+ "type": "error"
1316
+ },
1317
+ {
1318
+ "inputs": [],
1319
+ "name": "InvalidInterestRateModel",
1320
+ "type": "error"
1321
+ },
1322
+ {
1323
+ "inputs": [],
1324
+ "name": "InvalidMinSuBorrowValue",
1325
+ "type": "error"
1326
+ },
1327
+ {
1328
+ "inputs": [],
1329
+ "name": "InvalidRedeem",
1330
+ "type": "error"
1331
+ },
1332
+ {
1333
+ "inputs": [],
1334
+ "name": "InvalidReduceAmount",
1335
+ "type": "error"
1336
+ },
1337
+ {
1338
+ "inputs": [],
1339
+ "name": "InvalidReserveFactor",
1340
+ "type": "error"
1341
+ },
1342
+ {
1343
+ "inputs": [
1344
+ {
1345
+ "internalType": "address",
1346
+ "name": "signer",
1347
+ "type": "address"
1348
+ }
1349
+ ],
1350
+ "name": "InvalidSignatureForBorrow",
1351
+ "type": "error"
1352
+ },
1353
+ {
1354
+ "inputs": [
1355
+ {
1356
+ "internalType": "address",
1357
+ "name": "signer",
1358
+ "type": "address"
1359
+ }
1360
+ ],
1361
+ "name": "InvalidSignatureForMint",
1362
+ "type": "error"
1363
+ },
1364
+ {
1365
+ "inputs": [],
1366
+ "name": "InvalidSignatureForRedeemFaceValue",
1367
+ "type": "error"
1368
+ },
1369
+ {
1370
+ "inputs": [],
1371
+ "name": "InvalidSignatureLength",
1372
+ "type": "error"
1373
+ },
1374
+ {
1375
+ "inputs": [],
1376
+ "name": "InvalidSuToken",
1377
+ "type": "error"
1378
+ },
1379
+ {
1380
+ "inputs": [],
1381
+ "name": "InvalidTimestamp",
1382
+ "type": "error"
1383
+ },
1384
+ {
1385
+ "inputs": [],
1386
+ "name": "LiquidateBorrow_LiquidatorIsBorrower",
1387
+ "type": "error"
1388
+ },
1389
+ {
1390
+ "inputs": [],
1391
+ "name": "LiquidateBorrow_RepayAmountIsMax",
1392
+ "type": "error"
1393
+ },
1394
+ {
1395
+ "inputs": [],
1396
+ "name": "LiquidateBorrow_RepayAmountIsZero",
1397
+ "type": "error"
1398
+ },
1399
+ {
1400
+ "inputs": [],
1401
+ "name": "LiquidateBorrow_SeizeTooMuch",
1402
+ "type": "error"
1403
+ },
1404
+ {
1405
+ "inputs": [],
1406
+ "name": "LiquidateCollateralMarketNotFresh",
1407
+ "type": "error"
1408
+ },
1409
+ {
1410
+ "inputs": [],
1411
+ "name": "LiquidateMarketNotFresh",
1412
+ "type": "error"
1413
+ },
1414
+ {
1415
+ "inputs": [],
1416
+ "name": "MarketAlreadyListed",
1417
+ "type": "error"
1418
+ },
1419
+ {
1420
+ "inputs": [],
1421
+ "name": "MarketAlreadyUnlisted",
1422
+ "type": "error"
1423
+ },
1424
+ {
1425
+ "inputs": [],
1426
+ "name": "MarketCanOnlyInitializeOnce",
1427
+ "type": "error"
1428
+ },
1429
+ {
1430
+ "inputs": [],
1431
+ "name": "MarketNotEmpty",
1432
+ "type": "error"
1433
+ },
1434
+ {
1435
+ "inputs": [],
1436
+ "name": "MarketNotListed",
1437
+ "type": "error"
1438
+ },
1439
+ {
1440
+ "inputs": [],
1441
+ "name": "MarketPaused",
1442
+ "type": "error"
1443
+ },
1444
+ {
1445
+ "inputs": [],
1446
+ "name": "MinDelayNotReached",
1447
+ "type": "error"
1448
+ },
1449
+ {
1450
+ "inputs": [],
1451
+ "name": "MintMarketNotFresh",
1452
+ "type": "error"
1453
+ },
1454
+ {
1455
+ "inputs": [],
1456
+ "name": "MintPaused",
1457
+ "type": "error"
1458
+ },
1459
+ {
1460
+ "inputs": [],
1461
+ "name": "MintTokensCantBeZero",
1462
+ "type": "error"
1463
+ },
1464
+ {
1465
+ "inputs": [],
1466
+ "name": "NoRedemptionProvider",
1467
+ "type": "error"
1468
+ },
1469
+ {
1470
+ "inputs": [],
1471
+ "name": "NotCToken",
1472
+ "type": "error"
1473
+ },
1474
+ {
1475
+ "inputs": [],
1476
+ "name": "NotEnoughForSeize",
1477
+ "type": "error"
1478
+ },
1479
+ {
1480
+ "inputs": [],
1481
+ "name": "NotEnoughRedeemAmount",
1482
+ "type": "error"
1483
+ },
1484
+ {
1485
+ "inputs": [],
1486
+ "name": "NotEnoughRedeemTokens",
1487
+ "type": "error"
1488
+ },
1489
+ {
1490
+ "inputs": [],
1491
+ "name": "NotEnoughUnderlyingAfterRedeem",
1492
+ "type": "error"
1493
+ },
1494
+ {
1495
+ "inputs": [],
1496
+ "name": "NotEnoughUnderlyingForMint",
1497
+ "type": "error"
1498
+ },
1499
+ {
1500
+ "inputs": [],
1501
+ "name": "NotImplemented",
1502
+ "type": "error"
1503
+ },
1504
+ {
1505
+ "inputs": [],
1506
+ "name": "NotLiquidatableYet",
1507
+ "type": "error"
1508
+ },
1509
+ {
1510
+ "inputs": [],
1511
+ "name": "NotSuToken",
1512
+ "type": "error"
1513
+ },
1514
+ {
1515
+ "inputs": [],
1516
+ "name": "OnlyAdmin",
1517
+ "type": "error"
1518
+ },
1519
+ {
1520
+ "inputs": [],
1521
+ "name": "OnlyAdminOrPauser",
1522
+ "type": "error"
1523
+ },
1524
+ {
1525
+ "inputs": [],
1526
+ "name": "OnlyCToken",
1527
+ "type": "error"
1528
+ },
1529
+ {
1530
+ "inputs": [],
1531
+ "name": "OnlyListedCToken",
1532
+ "type": "error"
1533
+ },
1534
+ {
1535
+ "inputs": [],
1536
+ "name": "OnlyPausedMarketCanBeUnlisted",
1537
+ "type": "error"
1538
+ },
1539
+ {
1540
+ "inputs": [],
1541
+ "name": "OnlyPendingAdmin",
1542
+ "type": "error"
1543
+ },
1544
+ {
1545
+ "inputs": [],
1546
+ "name": "OnlyRedemptionManager",
1547
+ "type": "error"
1548
+ },
1549
+ {
1550
+ "inputs": [],
1551
+ "name": "OverThreshold",
1552
+ "type": "error"
1553
+ },
1554
+ {
1555
+ "inputs": [],
1556
+ "name": "PriceError",
1557
+ "type": "error"
1558
+ },
1559
+ {
1560
+ "inputs": [],
1561
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
1562
+ "type": "error"
1563
+ },
1564
+ {
1565
+ "inputs": [],
1566
+ "name": "RedeemMarketNotFresh",
1567
+ "type": "error"
1568
+ },
1569
+ {
1570
+ "inputs": [],
1571
+ "name": "RedeemTransferOutNotPossible",
1572
+ "type": "error"
1573
+ },
1574
+ {
1575
+ "inputs": [],
1576
+ "name": "RedemptionSeizeTooMuch",
1577
+ "type": "error"
1578
+ },
1579
+ {
1580
+ "inputs": [],
1581
+ "name": "RedemptionSignerNotInitialized",
1582
+ "type": "error"
1583
+ },
1584
+ {
1585
+ "inputs": [],
1586
+ "name": "ReduceReservesCashNotAvailable",
1587
+ "type": "error"
1588
+ },
1589
+ {
1590
+ "inputs": [],
1591
+ "name": "ReduceReservesMarketNotFresh",
1592
+ "type": "error"
1593
+ },
1594
+ {
1595
+ "inputs": [],
1596
+ "name": "Reentered",
1597
+ "type": "error"
1598
+ },
1599
+ {
1600
+ "inputs": [],
1601
+ "name": "RepayBorrowMarketNotFresh",
1602
+ "type": "error"
1603
+ },
1604
+ {
1605
+ "inputs": [],
1606
+ "name": "RepayTokenNotListed",
1607
+ "type": "error"
1608
+ },
1609
+ {
1610
+ "inputs": [],
1611
+ "name": "SeizePaused",
1612
+ "type": "error"
1613
+ },
1614
+ {
1615
+ "inputs": [],
1616
+ "name": "SeizeTokenNotListed",
1617
+ "type": "error"
1618
+ },
1619
+ {
1620
+ "inputs": [],
1621
+ "name": "Seize_LiquidatorIsBorrower",
1622
+ "type": "error"
1623
+ },
1624
+ {
1625
+ "inputs": [],
1626
+ "name": "SenderMustBeCToken",
1627
+ "type": "error"
1628
+ },
1629
+ {
1630
+ "inputs": [],
1631
+ "name": "SetInterestRateModelMarketNotFresh",
1632
+ "type": "error"
1633
+ },
1634
+ {
1635
+ "inputs": [],
1636
+ "name": "SetReservesFactorMarketNotFresh",
1637
+ "type": "error"
1638
+ },
1639
+ {
1640
+ "inputs": [],
1641
+ "name": "SupplyCapReached",
1642
+ "type": "error"
1643
+ },
1644
+ {
1645
+ "inputs": [],
1646
+ "name": "TokenInOrAmountInMustBeZero",
1647
+ "type": "error"
1648
+ },
1649
+ {
1650
+ "inputs": [],
1651
+ "name": "TokenTransferInFailed",
1652
+ "type": "error"
1653
+ },
1654
+ {
1655
+ "inputs": [],
1656
+ "name": "TokenTransferOutFailed",
1657
+ "type": "error"
1658
+ },
1659
+ {
1660
+ "inputs": [],
1661
+ "name": "TooMuchRepay",
1662
+ "type": "error"
1663
+ },
1664
+ {
1665
+ "inputs": [],
1666
+ "name": "TotalBorrowsNotZero",
1667
+ "type": "error"
1668
+ },
1669
+ {
1670
+ "inputs": [],
1671
+ "name": "TotalSupplyNotZero",
1672
+ "type": "error"
1673
+ },
1674
+ {
1675
+ "inputs": [],
1676
+ "name": "TransferNotAllowed",
1677
+ "type": "error"
1678
+ },
1679
+ {
1680
+ "inputs": [],
1681
+ "name": "TransferPaused",
1682
+ "type": "error"
1683
+ },
1684
+ {
1685
+ "inputs": [],
1686
+ "name": "UnderlyingBalanceError",
1687
+ "type": "error"
1688
+ },
1689
+ {
1690
+ "inputs": [],
1691
+ "name": "UnderlyingMismatch",
1692
+ "type": "error"
1693
+ },
1694
+ {
1695
+ "inputs": [],
1696
+ "name": "ZeroAddressNotAllowed",
1697
+ "type": "error"
1698
+ },
1699
+ {
1700
+ "inputs": [],
1701
+ "name": "AddReservesMarketNotFresh",
1702
+ "type": "error"
1703
+ },
1704
+ {
1705
+ "inputs": [],
1706
+ "name": "AddReservesOverflow",
1707
+ "type": "error"
1708
+ },
1709
+ {
1710
+ "inputs": [],
1711
+ "name": "BorrowAndDepositBackFailed",
1712
+ "type": "error"
1713
+ },
1714
+ {
1715
+ "inputs": [],
1716
+ "name": "BorrowCapReached",
1717
+ "type": "error"
1718
+ },
1719
+ {
1720
+ "inputs": [],
1721
+ "name": "BorrowCashNotAvailable",
1722
+ "type": "error"
1723
+ },
1724
+ {
1725
+ "inputs": [],
1726
+ "name": "BorrowMarketNotFresh",
1727
+ "type": "error"
1728
+ },
1729
+ {
1730
+ "inputs": [],
1731
+ "name": "BorrowPaused",
1732
+ "type": "error"
1733
+ },
1734
+ {
1735
+ "inputs": [
1736
+ {
1737
+ "internalType": "uint256",
1738
+ "name": "usdThreshold",
1739
+ "type": "uint256"
1740
+ }
1741
+ ],
1742
+ "name": "BorrowValueMustBeLargerThanThreshold",
1743
+ "type": "error"
1744
+ },
1745
+ {
1746
+ "inputs": [],
1747
+ "name": "CantEnterPausedMarket",
1748
+ "type": "error"
1749
+ },
1750
+ {
1751
+ "inputs": [],
1752
+ "name": "CantExitMarketWithNonZeroBorrowBalance",
1753
+ "type": "error"
1754
+ },
1196
1755
  {
1197
1756
  "inputs": [],
1198
1757
  "name": "CantSweepUnderlying",