@meterio/sumer-js 0.2.45 → 0.2.46

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 (42) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +5 -1
  3. package/dist/nodejs/abi.js +81 -34
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/metermain.js +1 -1
  6. package/dist/nodejs/constants/metermain.js.map +1 -1
  7. package/dist/nodejs/constants/metertest.js +1 -1
  8. package/dist/nodejs/index.d.ts +5 -1
  9. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
  10. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
  11. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  12. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
  13. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
  14. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  15. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  16. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  17. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  18. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  19. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  20. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  21. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
  22. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
  23. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  24. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  25. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  26. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
  27. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +1 -1
  28. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -1
  29. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  30. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
  31. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
  32. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  33. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  34. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  35. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js.map +1 -1
  36. package/dist/nodejs/typechain/factories/contracts/Test__factory.d.ts +1 -1
  37. package/dist/nodejs/typechain/factories/contracts/Test__factory.js +1 -1
  38. package/dist/nodejs/typechain/factories/contracts/Test__factory.js.map +1 -1
  39. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -1
  40. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -1
  41. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  42. package/package.json +1 -1
@@ -90,7 +90,11 @@ export declare const abi: {
90
90
  outputs?: undefined;
91
91
  })[];
92
92
  Test: {
93
- inputs: any[];
93
+ inputs: {
94
+ internalType: string;
95
+ name: string;
96
+ type: string;
97
+ }[];
94
98
  name: string;
95
99
  outputs: {
96
100
  internalType: string;
@@ -1624,6 +1624,64 @@ exports.abi = {
1624
1624
  ],
1625
1625
  "stateMutability": "view",
1626
1626
  "type": "function"
1627
+ },
1628
+ {
1629
+ "inputs": [
1630
+ {
1631
+ "internalType": "uint256",
1632
+ "name": "a",
1633
+ "type": "uint256"
1634
+ },
1635
+ {
1636
+ "internalType": "uint256",
1637
+ "name": "b",
1638
+ "type": "uint256"
1639
+ }
1640
+ ],
1641
+ "name": "mul",
1642
+ "outputs": [
1643
+ {
1644
+ "internalType": "uint256",
1645
+ "name": "",
1646
+ "type": "uint256"
1647
+ },
1648
+ {
1649
+ "internalType": "uint256",
1650
+ "name": "",
1651
+ "type": "uint256"
1652
+ }
1653
+ ],
1654
+ "stateMutability": "view",
1655
+ "type": "function"
1656
+ },
1657
+ {
1658
+ "inputs": [
1659
+ {
1660
+ "internalType": "uint256",
1661
+ "name": "a",
1662
+ "type": "uint256"
1663
+ },
1664
+ {
1665
+ "internalType": "uint256",
1666
+ "name": "b",
1667
+ "type": "uint256"
1668
+ }
1669
+ ],
1670
+ "name": "mulTruncate",
1671
+ "outputs": [
1672
+ {
1673
+ "internalType": "uint256",
1674
+ "name": "",
1675
+ "type": "uint256"
1676
+ },
1677
+ {
1678
+ "internalType": "uint256",
1679
+ "name": "",
1680
+ "type": "uint256"
1681
+ }
1682
+ ],
1683
+ "stateMutability": "view",
1684
+ "type": "function"
1627
1685
  }
1628
1686
  ],
1629
1687
  "Timelock": [
@@ -13985,6 +14043,11 @@ exports.abi = {
13985
14043
  "internalType": "uint256",
13986
14044
  "name": "discountRate",
13987
14045
  "type": "uint256"
14046
+ },
14047
+ {
14048
+ "internalType": "uint256",
14049
+ "name": "interMintRate",
14050
+ "type": "uint256"
13988
14051
  }
13989
14052
  ],
13990
14053
  "internalType": "struct CompoundLens.CTokenMetadata",
@@ -14131,6 +14194,11 @@ exports.abi = {
14131
14194
  "internalType": "uint256",
14132
14195
  "name": "discountRate",
14133
14196
  "type": "uint256"
14197
+ },
14198
+ {
14199
+ "internalType": "uint256",
14200
+ "name": "interMintRate",
14201
+ "type": "uint256"
14134
14202
  }
14135
14203
  ],
14136
14204
  "internalType": "struct CompoundLens.CTokenMetadata[]",
@@ -14746,6 +14814,19 @@ exports.abi = {
14746
14814
  ],
14747
14815
  "stateMutability": "view",
14748
14816
  "type": "function"
14817
+ },
14818
+ {
14819
+ "inputs": [],
14820
+ "name": "version",
14821
+ "outputs": [
14822
+ {
14823
+ "internalType": "enum Version",
14824
+ "name": "",
14825
+ "type": "uint8"
14826
+ }
14827
+ ],
14828
+ "stateMutability": "pure",
14829
+ "type": "function"
14749
14830
  }
14750
14831
  ],
14751
14832
  "Comptroller": [
@@ -15974,40 +16055,6 @@ exports.abi = {
15974
16055
  "stateMutability": "nonpayable",
15975
16056
  "type": "function"
15976
16057
  },
15977
- {
15978
- "inputs": [
15979
- {
15980
- "internalType": "address",
15981
- "name": "account",
15982
- "type": "address"
15983
- },
15984
- {
15985
- "internalType": "address",
15986
- "name": "cTokenModify",
15987
- "type": "address"
15988
- },
15989
- {
15990
- "internalType": "uint256",
15991
- "name": "intraSafeLimitMantissa",
15992
- "type": "uint256"
15993
- },
15994
- {
15995
- "internalType": "uint256",
15996
- "name": "interSafeLimitMantissa",
15997
- "type": "uint256"
15998
- }
15999
- ],
16000
- "name": "getAccountSafeLimit",
16001
- "outputs": [
16002
- {
16003
- "internalType": "uint256",
16004
- "name": "",
16005
- "type": "uint256"
16006
- }
16007
- ],
16008
- "stateMutability": "view",
16009
- "type": "function"
16010
- },
16011
16058
  {
16012
16059
  "inputs": [],
16013
16060
  "name": "getAllMarkets",