@meterio/sumer-js 0.2.30 → 0.2.31

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 (240) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +175 -214
  3. package/dist/nodejs/abi.js +8098 -8853
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.d.ts +4 -4
  6. package/dist/nodejs/constants/arbitrum.js +12 -12
  7. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  8. package/dist/nodejs/constants/basemain.d.ts +4 -4
  9. package/dist/nodejs/constants/basemain.js +12 -12
  10. package/dist/nodejs/constants/basemain.js.map +1 -1
  11. package/dist/nodejs/constants/basetest.d.ts +4 -4
  12. package/dist/nodejs/constants/basetest.js +9 -9
  13. package/dist/nodejs/constants/basetest.js.map +1 -1
  14. package/dist/nodejs/constants/ethereum.d.ts +5 -4
  15. package/dist/nodejs/constants/ethereum.js +14 -13
  16. package/dist/nodejs/constants/ethereum.js.map +1 -1
  17. package/dist/nodejs/constants/metermain.d.ts +4 -4
  18. package/dist/nodejs/constants/metermain.js +9 -9
  19. package/dist/nodejs/constants/metermain.js.map +1 -1
  20. package/dist/nodejs/constants/metertest.d.ts +5 -5
  21. package/dist/nodejs/constants/metertest.js +46 -47
  22. package/dist/nodejs/constants/metertest.js.map +1 -1
  23. package/dist/nodejs/constants/sepolia.d.ts +28 -4
  24. package/dist/nodejs/constants/sepolia.js +68 -16
  25. package/dist/nodejs/constants/sepolia.js.map +1 -1
  26. package/dist/nodejs/errorABIs.js +141 -658
  27. package/dist/nodejs/errorABIs.js.map +1 -1
  28. package/dist/nodejs/errors.d.ts +48 -20
  29. package/dist/nodejs/errors.js +48 -20
  30. package/dist/nodejs/errors.js.map +1 -1
  31. package/dist/nodejs/index.d.ts +175 -214
  32. package/dist/nodejs/typechain/@chainlink/contracts/index.d.ts +2 -0
  33. package/dist/nodejs/typechain/@chainlink/contracts/index.js +3 -0
  34. package/dist/nodejs/typechain/@chainlink/contracts/index.js.map +1 -0
  35. package/dist/nodejs/typechain/@chainlink/contracts/src/index.d.ts +2 -0
  36. package/dist/nodejs/typechain/@chainlink/contracts/src/index.js +3 -0
  37. package/dist/nodejs/typechain/@chainlink/contracts/src/index.js.map +1 -0
  38. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
  39. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js +3 -0
  40. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js.map +1 -0
  41. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts +103 -0
  42. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js +3 -0
  43. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map +1 -0
  44. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
  45. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js +3 -0
  46. package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
  47. package/dist/nodejs/typechain/@chainlink/index.d.ts +2 -0
  48. package/dist/nodejs/typechain/@chainlink/index.js +3 -0
  49. package/dist/nodejs/typechain/@chainlink/index.js.map +1 -0
  50. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +12 -10
  51. package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +12 -10
  52. package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +9 -1
  53. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +12 -411
  54. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +12 -10
  55. package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +17 -1
  56. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +358 -709
  57. package/dist/nodejs/typechain/contracts/Comptroller/ComptrollerStorage.d.ts +163 -207
  58. package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +1 -3
  59. package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +0 -1
  60. package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +4 -407
  61. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -19
  62. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +122 -130
  63. package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.d.ts +488 -0
  64. package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js +3 -0
  65. package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js.map +1 -0
  66. package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.d.ts +193 -0
  67. package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js +3 -0
  68. package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js.map +1 -0
  69. package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.d.ts +365 -0
  70. package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js +3 -0
  71. package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js.map +1 -0
  72. package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.d.ts +65 -0
  73. package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js +3 -0
  74. package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js.map +1 -0
  75. package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.d.ts +365 -0
  76. package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js +3 -0
  77. package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js.map +1 -0
  78. package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +5 -1
  79. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +321 -138
  80. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.d.ts +25 -0
  81. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js +3 -0
  82. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js.map +1 -0
  83. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.d.ts +37 -0
  84. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js +3 -0
  85. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js.map +1 -0
  86. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
  87. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js +3 -0
  88. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
  89. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.d.ts +33 -0
  90. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js +3 -0
  91. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js.map +1 -0
  92. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.d.ts +25 -0
  93. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js +3 -0
  94. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js.map +1 -0
  95. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
  96. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js +3 -0
  97. package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
  98. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.d.ts +25 -0
  99. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js +3 -0
  100. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js.map +1 -0
  101. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.d.ts +25 -0
  102. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js +3 -0
  103. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js.map +1 -0
  104. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
  105. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js +3 -0
  106. package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
  107. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +6 -4
  108. package/dist/nodejs/typechain/contracts/Timelock.d.ts +14 -4
  109. package/dist/nodejs/typechain/factories/@chainlink/contracts/index.d.ts +1 -0
  110. package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js +31 -0
  111. package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js.map +1 -0
  112. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.d.ts +1 -0
  113. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js +31 -0
  114. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js.map +1 -0
  115. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
  116. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js +31 -0
  117. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js.map +1 -0
  118. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
  119. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js +131 -0
  120. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map +1 -0
  121. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
  122. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js +9 -0
  123. package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
  124. package/dist/nodejs/typechain/factories/@chainlink/index.d.ts +1 -0
  125. package/dist/nodejs/typechain/factories/@chainlink/index.js +31 -0
  126. package/dist/nodejs/typechain/factories/@chainlink/index.js.map +1 -0
  127. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +29 -29
  128. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +37 -36
  129. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  130. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +29 -29
  131. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +37 -36
  132. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  133. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +2 -357
  134. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +2 -445
  135. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
  136. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +28 -20
  137. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +36 -25
  138. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  139. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +29 -33
  140. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +37 -41
  141. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  142. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +9 -21
  143. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +11 -26
  144. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
  145. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  146. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  147. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +31 -21
  148. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +40 -26
  149. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  150. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +107 -221
  151. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +117 -265
  152. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
  153. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +299 -1054
  154. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +380 -1375
  155. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  156. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +9 -25
  157. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +11 -31
  158. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  159. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  160. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  161. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.d.ts +0 -1
  162. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +1 -3
  163. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
  164. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +0 -365
  165. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +0 -456
  166. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
  167. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -28
  168. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -37
  169. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
  170. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +108 -222
  171. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +135 -287
  172. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
  173. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.d.ts +543 -0
  174. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js +712 -0
  175. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js.map +1 -0
  176. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.d.ts +265 -0
  177. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js +356 -0
  178. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js.map +1 -0
  179. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.d.ts +473 -0
  180. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js +624 -0
  181. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js.map +1 -0
  182. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.d.ts +51 -0
  183. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js +78 -0
  184. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js.map +1 -0
  185. package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.d.ts +493 -0
  186. package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js +652 -0
  187. package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js.map +1 -0
  188. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +5 -1
  189. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +11 -3
  190. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
  191. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +398 -102
  192. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +494 -110
  193. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
  194. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.d.ts +17 -0
  195. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js +33 -0
  196. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js.map +1 -0
  197. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.d.ts +45 -0
  198. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js +71 -0
  199. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js.map +1 -0
  200. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
  201. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js +11 -0
  202. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
  203. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.d.ts +31 -0
  204. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js +52 -0
  205. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js.map +1 -0
  206. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +44 -0
  207. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +69 -0
  208. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js.map +1 -0
  209. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
  210. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js +11 -0
  211. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
  212. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.d.ts +17 -0
  213. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js +33 -0
  214. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js.map +1 -0
  215. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +44 -0
  216. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +69 -0
  217. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js.map +1 -0
  218. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
  219. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js +11 -0
  220. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
  221. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +3 -4
  222. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -9
  223. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  224. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +9 -21
  225. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +11 -26
  226. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  227. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +29 -25
  228. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +37 -31
  229. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  230. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
  231. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
  232. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
  233. package/dist/nodejs/typechain/factories/index.d.ts +1 -0
  234. package/dist/nodejs/typechain/factories/index.js +2 -1
  235. package/dist/nodejs/typechain/factories/index.js.map +1 -1
  236. package/dist/nodejs/typechain/hardhat.d.ts +178 -70
  237. package/dist/nodejs/typechain/index.d.ts +26 -14
  238. package/dist/nodejs/typechain/index.js +25 -14
  239. package/dist/nodejs/typechain/index.js.map +1 -1
  240. package/package.json +1 -1
@@ -0,0 +1,712 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IPMarket__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: true,
14
+ internalType: "address",
15
+ name: "owner",
16
+ type: "address",
17
+ },
18
+ {
19
+ indexed: true,
20
+ internalType: "address",
21
+ name: "spender",
22
+ type: "address",
23
+ },
24
+ {
25
+ indexed: false,
26
+ internalType: "uint256",
27
+ name: "value",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ name: "Approval",
32
+ type: "event",
33
+ },
34
+ {
35
+ anonymous: false,
36
+ inputs: [
37
+ {
38
+ indexed: true,
39
+ internalType: "address",
40
+ name: "receiverSy",
41
+ type: "address",
42
+ },
43
+ {
44
+ indexed: true,
45
+ internalType: "address",
46
+ name: "receiverPt",
47
+ type: "address",
48
+ },
49
+ {
50
+ indexed: false,
51
+ internalType: "uint256",
52
+ name: "netLpBurned",
53
+ type: "uint256",
54
+ },
55
+ {
56
+ indexed: false,
57
+ internalType: "uint256",
58
+ name: "netSyOut",
59
+ type: "uint256",
60
+ },
61
+ {
62
+ indexed: false,
63
+ internalType: "uint256",
64
+ name: "netPtOut",
65
+ type: "uint256",
66
+ },
67
+ ],
68
+ name: "Burn",
69
+ type: "event",
70
+ },
71
+ {
72
+ anonymous: false,
73
+ inputs: [
74
+ {
75
+ indexed: false,
76
+ internalType: "uint16",
77
+ name: "observationCardinalityNextOld",
78
+ type: "uint16",
79
+ },
80
+ {
81
+ indexed: false,
82
+ internalType: "uint16",
83
+ name: "observationCardinalityNextNew",
84
+ type: "uint16",
85
+ },
86
+ ],
87
+ name: "IncreaseObservationCardinalityNext",
88
+ type: "event",
89
+ },
90
+ {
91
+ anonymous: false,
92
+ inputs: [
93
+ {
94
+ indexed: true,
95
+ internalType: "address",
96
+ name: "receiver",
97
+ type: "address",
98
+ },
99
+ {
100
+ indexed: false,
101
+ internalType: "uint256",
102
+ name: "netLpMinted",
103
+ type: "uint256",
104
+ },
105
+ {
106
+ indexed: false,
107
+ internalType: "uint256",
108
+ name: "netSyUsed",
109
+ type: "uint256",
110
+ },
111
+ {
112
+ indexed: false,
113
+ internalType: "uint256",
114
+ name: "netPtUsed",
115
+ type: "uint256",
116
+ },
117
+ ],
118
+ name: "Mint",
119
+ type: "event",
120
+ },
121
+ {
122
+ anonymous: false,
123
+ inputs: [
124
+ {
125
+ indexed: true,
126
+ internalType: "address",
127
+ name: "caller",
128
+ type: "address",
129
+ },
130
+ {
131
+ indexed: true,
132
+ internalType: "address",
133
+ name: "receiver",
134
+ type: "address",
135
+ },
136
+ {
137
+ indexed: false,
138
+ internalType: "int256",
139
+ name: "netPtOut",
140
+ type: "int256",
141
+ },
142
+ {
143
+ indexed: false,
144
+ internalType: "int256",
145
+ name: "netSyOut",
146
+ type: "int256",
147
+ },
148
+ {
149
+ indexed: false,
150
+ internalType: "uint256",
151
+ name: "netSyFee",
152
+ type: "uint256",
153
+ },
154
+ {
155
+ indexed: false,
156
+ internalType: "uint256",
157
+ name: "netSyToReserve",
158
+ type: "uint256",
159
+ },
160
+ ],
161
+ name: "Swap",
162
+ type: "event",
163
+ },
164
+ {
165
+ anonymous: false,
166
+ inputs: [
167
+ {
168
+ indexed: true,
169
+ internalType: "address",
170
+ name: "from",
171
+ type: "address",
172
+ },
173
+ {
174
+ indexed: true,
175
+ internalType: "address",
176
+ name: "to",
177
+ type: "address",
178
+ },
179
+ {
180
+ indexed: false,
181
+ internalType: "uint256",
182
+ name: "value",
183
+ type: "uint256",
184
+ },
185
+ ],
186
+ name: "Transfer",
187
+ type: "event",
188
+ },
189
+ {
190
+ anonymous: false,
191
+ inputs: [
192
+ {
193
+ indexed: true,
194
+ internalType: "uint256",
195
+ name: "timestamp",
196
+ type: "uint256",
197
+ },
198
+ {
199
+ indexed: false,
200
+ internalType: "uint256",
201
+ name: "lnLastImpliedRate",
202
+ type: "uint256",
203
+ },
204
+ ],
205
+ name: "UpdateImpliedRate",
206
+ type: "event",
207
+ },
208
+ {
209
+ inputs: [],
210
+ name: "_storage",
211
+ outputs: [
212
+ {
213
+ internalType: "int128",
214
+ name: "totalPt",
215
+ type: "int128",
216
+ },
217
+ {
218
+ internalType: "int128",
219
+ name: "totalSy",
220
+ type: "int128",
221
+ },
222
+ {
223
+ internalType: "uint96",
224
+ name: "lastLnImpliedRate",
225
+ type: "uint96",
226
+ },
227
+ {
228
+ internalType: "uint16",
229
+ name: "observationIndex",
230
+ type: "uint16",
231
+ },
232
+ {
233
+ internalType: "uint16",
234
+ name: "observationCardinality",
235
+ type: "uint16",
236
+ },
237
+ {
238
+ internalType: "uint16",
239
+ name: "observationCardinalityNext",
240
+ type: "uint16",
241
+ },
242
+ ],
243
+ stateMutability: "view",
244
+ type: "function",
245
+ },
246
+ {
247
+ inputs: [
248
+ {
249
+ internalType: "address",
250
+ name: "owner",
251
+ type: "address",
252
+ },
253
+ {
254
+ internalType: "address",
255
+ name: "spender",
256
+ type: "address",
257
+ },
258
+ ],
259
+ name: "allowance",
260
+ outputs: [
261
+ {
262
+ internalType: "uint256",
263
+ name: "",
264
+ type: "uint256",
265
+ },
266
+ ],
267
+ stateMutability: "view",
268
+ type: "function",
269
+ },
270
+ {
271
+ inputs: [
272
+ {
273
+ internalType: "address",
274
+ name: "spender",
275
+ type: "address",
276
+ },
277
+ {
278
+ internalType: "uint256",
279
+ name: "amount",
280
+ type: "uint256",
281
+ },
282
+ ],
283
+ name: "approve",
284
+ outputs: [
285
+ {
286
+ internalType: "bool",
287
+ name: "",
288
+ type: "bool",
289
+ },
290
+ ],
291
+ stateMutability: "nonpayable",
292
+ type: "function",
293
+ },
294
+ {
295
+ inputs: [
296
+ {
297
+ internalType: "address",
298
+ name: "account",
299
+ type: "address",
300
+ },
301
+ ],
302
+ name: "balanceOf",
303
+ outputs: [
304
+ {
305
+ internalType: "uint256",
306
+ name: "",
307
+ type: "uint256",
308
+ },
309
+ ],
310
+ stateMutability: "view",
311
+ type: "function",
312
+ },
313
+ {
314
+ inputs: [
315
+ {
316
+ internalType: "address",
317
+ name: "receiverSy",
318
+ type: "address",
319
+ },
320
+ {
321
+ internalType: "address",
322
+ name: "receiverPt",
323
+ type: "address",
324
+ },
325
+ {
326
+ internalType: "uint256",
327
+ name: "netLpToBurn",
328
+ type: "uint256",
329
+ },
330
+ ],
331
+ name: "burn",
332
+ outputs: [
333
+ {
334
+ internalType: "uint256",
335
+ name: "netSyOut",
336
+ type: "uint256",
337
+ },
338
+ {
339
+ internalType: "uint256",
340
+ name: "netPtOut",
341
+ type: "uint256",
342
+ },
343
+ ],
344
+ stateMutability: "nonpayable",
345
+ type: "function",
346
+ },
347
+ {
348
+ inputs: [],
349
+ name: "decimals",
350
+ outputs: [
351
+ {
352
+ internalType: "uint8",
353
+ name: "",
354
+ type: "uint8",
355
+ },
356
+ ],
357
+ stateMutability: "view",
358
+ type: "function",
359
+ },
360
+ {
361
+ inputs: [],
362
+ name: "expiry",
363
+ outputs: [
364
+ {
365
+ internalType: "uint256",
366
+ name: "",
367
+ type: "uint256",
368
+ },
369
+ ],
370
+ stateMutability: "view",
371
+ type: "function",
372
+ },
373
+ {
374
+ inputs: [],
375
+ name: "getRewardTokens",
376
+ outputs: [
377
+ {
378
+ internalType: "address[]",
379
+ name: "",
380
+ type: "address[]",
381
+ },
382
+ ],
383
+ stateMutability: "view",
384
+ type: "function",
385
+ },
386
+ {
387
+ inputs: [
388
+ {
389
+ internalType: "uint16",
390
+ name: "cardinalityNext",
391
+ type: "uint16",
392
+ },
393
+ ],
394
+ name: "increaseObservationsCardinalityNext",
395
+ outputs: [],
396
+ stateMutability: "nonpayable",
397
+ type: "function",
398
+ },
399
+ {
400
+ inputs: [],
401
+ name: "isExpired",
402
+ outputs: [
403
+ {
404
+ internalType: "bool",
405
+ name: "",
406
+ type: "bool",
407
+ },
408
+ ],
409
+ stateMutability: "view",
410
+ type: "function",
411
+ },
412
+ {
413
+ inputs: [
414
+ {
415
+ internalType: "address",
416
+ name: "receiver",
417
+ type: "address",
418
+ },
419
+ {
420
+ internalType: "uint256",
421
+ name: "netSyDesired",
422
+ type: "uint256",
423
+ },
424
+ {
425
+ internalType: "uint256",
426
+ name: "netPtDesired",
427
+ type: "uint256",
428
+ },
429
+ ],
430
+ name: "mint",
431
+ outputs: [
432
+ {
433
+ internalType: "uint256",
434
+ name: "netLpOut",
435
+ type: "uint256",
436
+ },
437
+ {
438
+ internalType: "uint256",
439
+ name: "netSyUsed",
440
+ type: "uint256",
441
+ },
442
+ {
443
+ internalType: "uint256",
444
+ name: "netPtUsed",
445
+ type: "uint256",
446
+ },
447
+ ],
448
+ stateMutability: "nonpayable",
449
+ type: "function",
450
+ },
451
+ {
452
+ inputs: [],
453
+ name: "name",
454
+ outputs: [
455
+ {
456
+ internalType: "string",
457
+ name: "",
458
+ type: "string",
459
+ },
460
+ ],
461
+ stateMutability: "view",
462
+ type: "function",
463
+ },
464
+ {
465
+ inputs: [
466
+ {
467
+ internalType: "uint256",
468
+ name: "index",
469
+ type: "uint256",
470
+ },
471
+ ],
472
+ name: "observations",
473
+ outputs: [
474
+ {
475
+ internalType: "uint32",
476
+ name: "blockTimestamp",
477
+ type: "uint32",
478
+ },
479
+ {
480
+ internalType: "uint216",
481
+ name: "lnImpliedRateCumulative",
482
+ type: "uint216",
483
+ },
484
+ {
485
+ internalType: "bool",
486
+ name: "initialized",
487
+ type: "bool",
488
+ },
489
+ ],
490
+ stateMutability: "view",
491
+ type: "function",
492
+ },
493
+ {
494
+ inputs: [
495
+ {
496
+ internalType: "uint32[]",
497
+ name: "secondsAgos",
498
+ type: "uint32[]",
499
+ },
500
+ ],
501
+ name: "observe",
502
+ outputs: [
503
+ {
504
+ internalType: "uint216[]",
505
+ name: "lnImpliedRateCumulative",
506
+ type: "uint216[]",
507
+ },
508
+ ],
509
+ stateMutability: "view",
510
+ type: "function",
511
+ },
512
+ {
513
+ inputs: [],
514
+ name: "readTokens",
515
+ outputs: [
516
+ {
517
+ internalType: "contract IStandardizedYield",
518
+ name: "_SY",
519
+ type: "address",
520
+ },
521
+ {
522
+ internalType: "contract IPPrincipalToken",
523
+ name: "_PT",
524
+ type: "address",
525
+ },
526
+ {
527
+ internalType: "contract IPYieldToken",
528
+ name: "_YT",
529
+ type: "address",
530
+ },
531
+ ],
532
+ stateMutability: "view",
533
+ type: "function",
534
+ },
535
+ {
536
+ inputs: [
537
+ {
538
+ internalType: "address",
539
+ name: "user",
540
+ type: "address",
541
+ },
542
+ ],
543
+ name: "redeemRewards",
544
+ outputs: [
545
+ {
546
+ internalType: "uint256[]",
547
+ name: "",
548
+ type: "uint256[]",
549
+ },
550
+ ],
551
+ stateMutability: "nonpayable",
552
+ type: "function",
553
+ },
554
+ {
555
+ inputs: [
556
+ {
557
+ internalType: "address",
558
+ name: "receiver",
559
+ type: "address",
560
+ },
561
+ {
562
+ internalType: "uint256",
563
+ name: "exactPtIn",
564
+ type: "uint256",
565
+ },
566
+ {
567
+ internalType: "bytes",
568
+ name: "data",
569
+ type: "bytes",
570
+ },
571
+ ],
572
+ name: "swapExactPtForSy",
573
+ outputs: [
574
+ {
575
+ internalType: "uint256",
576
+ name: "netSyOut",
577
+ type: "uint256",
578
+ },
579
+ {
580
+ internalType: "uint256",
581
+ name: "netSyFee",
582
+ type: "uint256",
583
+ },
584
+ ],
585
+ stateMutability: "nonpayable",
586
+ type: "function",
587
+ },
588
+ {
589
+ inputs: [
590
+ {
591
+ internalType: "address",
592
+ name: "receiver",
593
+ type: "address",
594
+ },
595
+ {
596
+ internalType: "uint256",
597
+ name: "exactPtOut",
598
+ type: "uint256",
599
+ },
600
+ {
601
+ internalType: "bytes",
602
+ name: "data",
603
+ type: "bytes",
604
+ },
605
+ ],
606
+ name: "swapSyForExactPt",
607
+ outputs: [
608
+ {
609
+ internalType: "uint256",
610
+ name: "netSyIn",
611
+ type: "uint256",
612
+ },
613
+ {
614
+ internalType: "uint256",
615
+ name: "netSyFee",
616
+ type: "uint256",
617
+ },
618
+ ],
619
+ stateMutability: "nonpayable",
620
+ type: "function",
621
+ },
622
+ {
623
+ inputs: [],
624
+ name: "symbol",
625
+ outputs: [
626
+ {
627
+ internalType: "string",
628
+ name: "",
629
+ type: "string",
630
+ },
631
+ ],
632
+ stateMutability: "view",
633
+ type: "function",
634
+ },
635
+ {
636
+ inputs: [],
637
+ name: "totalSupply",
638
+ outputs: [
639
+ {
640
+ internalType: "uint256",
641
+ name: "",
642
+ type: "uint256",
643
+ },
644
+ ],
645
+ stateMutability: "view",
646
+ type: "function",
647
+ },
648
+ {
649
+ inputs: [
650
+ {
651
+ internalType: "address",
652
+ name: "to",
653
+ type: "address",
654
+ },
655
+ {
656
+ internalType: "uint256",
657
+ name: "amount",
658
+ type: "uint256",
659
+ },
660
+ ],
661
+ name: "transfer",
662
+ outputs: [
663
+ {
664
+ internalType: "bool",
665
+ name: "",
666
+ type: "bool",
667
+ },
668
+ ],
669
+ stateMutability: "nonpayable",
670
+ type: "function",
671
+ },
672
+ {
673
+ inputs: [
674
+ {
675
+ internalType: "address",
676
+ name: "from",
677
+ type: "address",
678
+ },
679
+ {
680
+ internalType: "address",
681
+ name: "to",
682
+ type: "address",
683
+ },
684
+ {
685
+ internalType: "uint256",
686
+ name: "amount",
687
+ type: "uint256",
688
+ },
689
+ ],
690
+ name: "transferFrom",
691
+ outputs: [
692
+ {
693
+ internalType: "bool",
694
+ name: "",
695
+ type: "bool",
696
+ },
697
+ ],
698
+ stateMutability: "nonpayable",
699
+ type: "function",
700
+ },
701
+ ];
702
+ class IPMarket__factory {
703
+ static createInterface() {
704
+ return new ethers_1.Interface(_abi);
705
+ }
706
+ static connect(address, runner) {
707
+ return new ethers_1.Contract(address, _abi, runner);
708
+ }
709
+ }
710
+ exports.IPMarket__factory = IPMarket__factory;
711
+ IPMarket__factory.abi = _abi;
712
+ //# sourceMappingURL=IPMarket__factory.js.map