@meterio/sumer-js 0.2.117 → 0.2.118

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 (249) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +55 -346
  3. package/dist/nodejs/abi.js +10123 -15862
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.d.ts +0 -1
  6. package/dist/nodejs/constants/arbitrum.js +1 -2
  7. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  8. package/dist/nodejs/constants/beramain.d.ts +5 -0
  9. package/dist/nodejs/constants/beramain.js +50 -11
  10. package/dist/nodejs/constants/beramain.js.map +1 -1
  11. package/dist/nodejs/constants/core.d.ts +4 -0
  12. package/dist/nodejs/constants/core.js +37 -10
  13. package/dist/nodejs/constants/core.js.map +1 -1
  14. package/dist/nodejs/constants/hemi.d.ts +79 -0
  15. package/dist/nodejs/constants/hemi.js +180 -0
  16. package/dist/nodejs/constants/hemi.js.map +1 -0
  17. package/dist/nodejs/constants/monadtest.js +1 -1
  18. package/dist/nodejs/constants/zklink.d.ts +4 -4
  19. package/dist/nodejs/constants/zklink.js +4 -4
  20. package/dist/nodejs/constants/zklink.js.map +1 -1
  21. package/dist/nodejs/errorABIs.js +10 -1207
  22. package/dist/nodejs/errorABIs.js.map +1 -1
  23. package/dist/nodejs/index.d.ts +55 -346
  24. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
  25. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +9 -46
  26. package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +33 -74
  27. package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +21 -66
  28. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +16 -20
  29. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +9 -46
  30. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
  31. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +1094 -0
  32. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.js +3 -0
  33. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.js.map +1 -0
  34. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.d.ts +25 -0
  35. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.js +3 -0
  36. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/IPool.js.map +1 -0
  37. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.d.ts +2 -0
  38. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.js +3 -0
  39. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/index.js.map +1 -0
  40. package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.d.ts +4 -313
  41. package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.d.ts +1 -17
  42. package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.d.ts +149 -0
  43. package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js +3 -0
  44. package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js.map +1 -0
  45. package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.d.ts +186 -0
  46. package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js +3 -0
  47. package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js.map +1 -0
  48. package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.d.ts +217 -0
  49. package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js +3 -0
  50. package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js.map +1 -0
  51. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.d.ts +55 -0
  52. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.js +3 -0
  53. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/IVault.js.map +1 -0
  54. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.d.ts +20 -0
  55. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.js +3 -0
  56. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib.js.map +1 -0
  57. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.d.ts +2 -0
  58. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.js +3 -0
  59. package/dist/nodejs/typechain/contracts/Infrared/VaultReentrancyLib.sol/index.js.map +1 -0
  60. package/dist/nodejs/typechain/contracts/Infrared/index.d.ts +4 -4
  61. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.d.ts +33 -0
  62. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js +3 -0
  63. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js.map +1 -0
  64. package/dist/nodejs/typechain/contracts/Interfaces/ICErc20.d.ts +16 -16
  65. package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +16 -20
  66. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +6 -6
  67. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
  68. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +76 -5
  69. package/dist/nodejs/typechain/contracts/Interfaces/IPool.d.ts +41 -0
  70. package/dist/nodejs/typechain/contracts/Interfaces/IPool.js +3 -0
  71. package/dist/nodejs/typechain/contracts/Interfaces/IPool.js.map +1 -0
  72. package/dist/nodejs/typechain/contracts/Interfaces/IVault.d.ts +83 -0
  73. package/dist/nodejs/typechain/contracts/Interfaces/IVault.js +3 -0
  74. package/dist/nodejs/typechain/contracts/Interfaces/IVault.js.map +1 -0
  75. package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +2 -2
  76. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.d.ts +93 -0
  77. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js +3 -0
  78. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js.map +1 -0
  79. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.d.ts +33 -0
  80. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js +3 -0
  81. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js.map +1 -0
  82. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.d.ts +49 -0
  83. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js +3 -0
  84. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js.map +1 -0
  85. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.d.ts +25 -0
  86. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js +3 -0
  87. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js.map +1 -0
  88. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
  89. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js +3 -0
  90. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
  91. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +91 -1
  92. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +25 -0
  93. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js +3 -0
  94. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js.map +1 -0
  95. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +25 -0
  96. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js +3 -0
  97. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js.map +1 -0
  98. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +2 -0
  99. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -0
  100. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -0
  101. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
  102. package/dist/nodejs/typechain/contracts/index.d.ts +0 -2
  103. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
  104. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +1 -3
  105. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
  106. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +13 -54
  107. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +16 -72
  108. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  109. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +80 -113
  110. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +97 -154
  111. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  112. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +8 -40
  113. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +8 -56
  114. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
  115. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +65 -92
  116. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +79 -125
  117. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  118. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +13 -54
  119. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +16 -72
  120. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  121. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +67 -1
  122. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +84 -1
  123. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  124. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +57 -1
  125. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +71 -1
  126. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  127. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  128. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  129. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +57 -1
  130. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +71 -1
  131. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  132. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  133. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  134. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1804 -0
  135. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +2315 -0
  136. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -0
  137. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.d.ts +17 -0
  138. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.js +33 -0
  139. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/IPool__factory.js.map +1 -0
  140. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.d.ts +2 -0
  141. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.js +11 -0
  142. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/index.js.map +1 -0
  143. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.d.ts +1 -5
  144. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +1 -6
  145. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -1
  146. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.d.ts +0 -359
  147. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js +0 -463
  148. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js.map +1 -1
  149. package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.d.ts +0 -30
  150. package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js +0 -39
  151. package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js.map +1 -1
  152. package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts +169 -0
  153. package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js +229 -0
  154. package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map +1 -0
  155. package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.d.ts +219 -0
  156. package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js +296 -0
  157. package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js.map +1 -0
  158. package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts +241 -0
  159. package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js +323 -0
  160. package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map +1 -0
  161. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.d.ts +38 -0
  162. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.js +60 -0
  163. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/IVault__factory.js.map +1 -0
  164. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.d.ts +26 -0
  165. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.js +45 -0
  166. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/VaultReentrancyLib__factory.js.map +1 -0
  167. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.d.ts +2 -0
  168. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.js +11 -0
  169. package/dist/nodejs/typechain/factories/contracts/Infrared/VaultReentrancyLib.sol/index.js.map +1 -0
  170. package/dist/nodejs/typechain/factories/contracts/Infrared/index.d.ts +2 -4
  171. package/dist/nodejs/typechain/factories/contracts/Infrared/index.js +26 -9
  172. package/dist/nodejs/typechain/factories/contracts/Infrared/index.js.map +1 -1
  173. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts +37 -0
  174. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js +59 -0
  175. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js.map +1 -0
  176. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.d.ts +8 -40
  177. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js +8 -56
  178. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js.map +1 -1
  179. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +2 -14
  180. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +2 -19
  181. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
  182. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +8 -40
  183. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +8 -56
  184. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
  185. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +10 -0
  186. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
  187. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
  188. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +86 -0
  189. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +109 -0
  190. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
  191. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.d.ts +57 -0
  192. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js +85 -0
  193. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js.map +1 -0
  194. package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.d.ts +60 -0
  195. package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.js +89 -0
  196. package/dist/nodejs/typechain/factories/contracts/Interfaces/IVault__factory.js.map +1 -0
  197. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +2 -1
  198. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +5 -2
  199. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
  200. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
  201. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
  202. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.d.ts +158 -0
  203. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js +214 -0
  204. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js.map +1 -0
  205. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.d.ts +37 -0
  206. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js +59 -0
  207. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js.map +1 -0
  208. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.d.ts +29 -0
  209. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js +49 -0
  210. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js.map +1 -0
  211. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.d.ts +21 -0
  212. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js +39 -0
  213. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js.map +1 -0
  214. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
  215. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js +15 -0
  216. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
  217. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +111 -1
  218. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +144 -1
  219. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
  220. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
  221. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
  222. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
  223. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
  224. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +44 -0
  225. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +69 -0
  226. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +1 -0
  227. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +21 -0
  228. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +39 -0
  229. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +1 -0
  230. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +2 -0
  231. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +11 -0
  232. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -0
  233. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
  234. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
  235. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  236. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +57 -1
  237. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +71 -1
  238. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  239. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +57 -1
  240. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +71 -1
  241. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  242. package/dist/nodejs/typechain/factories/contracts/index.d.ts +0 -1
  243. package/dist/nodejs/typechain/factories/contracts/index.js +1 -2
  244. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  245. package/dist/nodejs/typechain/hardhat.d.ts +96 -168
  246. package/dist/nodejs/typechain/index.d.ts +12 -24
  247. package/dist/nodejs/typechain/index.js +14 -26
  248. package/dist/nodejs/typechain/index.js.map +1 -1
  249. package/package.json +1 -1
@@ -0,0 +1,296 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InfraredRewards__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "_infraredVault",
14
+ type: "address",
15
+ },
16
+ ],
17
+ stateMutability: "nonpayable",
18
+ type: "constructor",
19
+ },
20
+ {
21
+ inputs: [],
22
+ name: "CantWithdrawRewardToken",
23
+ type: "error",
24
+ },
25
+ {
26
+ anonymous: false,
27
+ inputs: [
28
+ {
29
+ indexed: false,
30
+ internalType: "uint8",
31
+ name: "version",
32
+ type: "uint8",
33
+ },
34
+ ],
35
+ name: "Initialized",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: false,
43
+ internalType: "address",
44
+ name: "account",
45
+ type: "address",
46
+ },
47
+ ],
48
+ name: "Paused",
49
+ type: "event",
50
+ },
51
+ {
52
+ anonymous: false,
53
+ inputs: [
54
+ {
55
+ indexed: false,
56
+ internalType: "address",
57
+ name: "token",
58
+ type: "address",
59
+ },
60
+ {
61
+ indexed: false,
62
+ internalType: "uint256",
63
+ name: "amount",
64
+ type: "uint256",
65
+ },
66
+ ],
67
+ name: "Recovered",
68
+ type: "event",
69
+ },
70
+ {
71
+ anonymous: false,
72
+ inputs: [
73
+ {
74
+ indexed: true,
75
+ internalType: "address",
76
+ name: "user",
77
+ type: "address",
78
+ },
79
+ {
80
+ indexed: true,
81
+ internalType: "address",
82
+ name: "rewardsToken",
83
+ type: "address",
84
+ },
85
+ {
86
+ indexed: false,
87
+ internalType: "uint256",
88
+ name: "reward",
89
+ type: "uint256",
90
+ },
91
+ ],
92
+ name: "RewardPaid",
93
+ type: "event",
94
+ },
95
+ {
96
+ anonymous: false,
97
+ inputs: [
98
+ {
99
+ indexed: true,
100
+ internalType: "address",
101
+ name: "user",
102
+ type: "address",
103
+ },
104
+ {
105
+ indexed: false,
106
+ internalType: "uint256",
107
+ name: "amount",
108
+ type: "uint256",
109
+ },
110
+ ],
111
+ name: "Staked",
112
+ type: "event",
113
+ },
114
+ {
115
+ anonymous: false,
116
+ inputs: [
117
+ {
118
+ indexed: false,
119
+ internalType: "address",
120
+ name: "account",
121
+ type: "address",
122
+ },
123
+ ],
124
+ name: "Unpaused",
125
+ type: "event",
126
+ },
127
+ {
128
+ anonymous: false,
129
+ inputs: [
130
+ {
131
+ indexed: true,
132
+ internalType: "address",
133
+ name: "user",
134
+ type: "address",
135
+ },
136
+ {
137
+ indexed: false,
138
+ internalType: "uint256",
139
+ name: "amount",
140
+ type: "uint256",
141
+ },
142
+ ],
143
+ name: "Withdrawn",
144
+ type: "event",
145
+ },
146
+ {
147
+ inputs: [
148
+ {
149
+ internalType: "address",
150
+ name: "",
151
+ type: "address",
152
+ },
153
+ ],
154
+ name: "_shares",
155
+ outputs: [
156
+ {
157
+ internalType: "uint256",
158
+ name: "shares",
159
+ type: "uint256",
160
+ },
161
+ {
162
+ internalType: "uint256",
163
+ name: "lastUpdateTime",
164
+ type: "uint256",
165
+ },
166
+ ],
167
+ stateMutability: "view",
168
+ type: "function",
169
+ },
170
+ {
171
+ inputs: [
172
+ {
173
+ internalType: "address",
174
+ name: "account",
175
+ type: "address",
176
+ },
177
+ {
178
+ internalType: "address",
179
+ name: "_rewardsToken",
180
+ type: "address",
181
+ },
182
+ ],
183
+ name: "earned",
184
+ outputs: [
185
+ {
186
+ internalType: "uint256",
187
+ name: "",
188
+ type: "uint256",
189
+ },
190
+ ],
191
+ stateMutability: "view",
192
+ type: "function",
193
+ },
194
+ {
195
+ inputs: [],
196
+ name: "infraredVault",
197
+ outputs: [
198
+ {
199
+ internalType: "contract IInfraredVault",
200
+ name: "",
201
+ type: "address",
202
+ },
203
+ ],
204
+ stateMutability: "view",
205
+ type: "function",
206
+ },
207
+ {
208
+ inputs: [],
209
+ name: "paused",
210
+ outputs: [
211
+ {
212
+ internalType: "bool",
213
+ name: "",
214
+ type: "bool",
215
+ },
216
+ ],
217
+ stateMutability: "view",
218
+ type: "function",
219
+ },
220
+ {
221
+ inputs: [
222
+ {
223
+ internalType: "address",
224
+ name: "account",
225
+ type: "address",
226
+ },
227
+ ],
228
+ name: "shareOf",
229
+ outputs: [
230
+ {
231
+ internalType: "uint256",
232
+ name: "_share",
233
+ type: "uint256",
234
+ },
235
+ ],
236
+ stateMutability: "view",
237
+ type: "function",
238
+ },
239
+ {
240
+ inputs: [],
241
+ name: "totalShares",
242
+ outputs: [
243
+ {
244
+ internalType: "uint256",
245
+ name: "",
246
+ type: "uint256",
247
+ },
248
+ ],
249
+ stateMutability: "view",
250
+ type: "function",
251
+ },
252
+ {
253
+ inputs: [],
254
+ name: "totalStaked",
255
+ outputs: [
256
+ {
257
+ internalType: "uint256",
258
+ name: "",
259
+ type: "uint256",
260
+ },
261
+ ],
262
+ stateMutability: "view",
263
+ type: "function",
264
+ },
265
+ ];
266
+ const _bytecode = "0x60a034606e57601f6105e638819003918201601f19168301916001600160401b03831184841017607357808492602094604052833981010312606e57516001600160a01b03811690819003606e5760805260405161055c908161008a823960805181818160e501526103280152f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001257600080fd5b60003560e01c8063211dc32d146101d357806321e5e2c4146101555780633a98ef39146101375780635c975abb146101145780636ab3b0e5146100cf578063817b1cd2146100b15763b34c8caf1461006957600080fd5b346100ac5760203660031901126100ac576001600160a01b0361008a61020c565b1660005260656020526040806000206001815491015482519182526020820152f35b600080fd5b346100ac5760003660031901126100ac576020606654604051908152f35b346100ac5760003660031901126100ac576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346100ac5760003660031901126100ac57602060ff603354166040519015158152f35b346100ac5760003660031901126100ac576020606754604051908152f35b346100ac5760203660031901126100ac576001600160a01b0361017661020c565b166000526065602052604060002054670de0b6b3a7640000810290808204670de0b6b3a764000014901517156101bd576101b560209160675490610279565b604051908152f35b634e487b7160e01b600052601160045260246000fd5b346100ac5760403660031901126100ac576101ec61020c565b602435906001600160a01b03821682036100ac576020916101b591610299565b600435906001600160a01b03821682036100ac57565b919082039182116101bd57565b818102929181159184041417156101bd57565b919082018092116101bd57565b80518210156102635760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b8115610283570490565b634e487b7160e01b600052601260045260246000fd5b6102ec9060018060a01b03168060005260656020526102e66102c360016040600020015442610222565b82600052606560205260406000205492600052606960205260406000205461022f565b90610242565b61030a6102fb60685442610222565b6102e66067549160665461022f565b60405163150b82a360e11b81523060048201529091906000816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156104e2576000916103ca575b5060005b81518110156103c0576001600160a01b03610380828461024f565b5151166001600160a01b0386161461039a57600101610365565b6103bd94506103af6020916103b8949361024f565b5101519061022f565b610279565b90565b5050505050600090565b903d8082843e6103da81846104ee565b8201916020818403126104de5780519067ffffffffffffffff82116104c6570182601f820112156104de5780519167ffffffffffffffff83116104ca576040519361042b60208560051b01866104ee565b83855260208086019460061b840101928184116104c657602001935b83851061045957505050505038610361565b6040858303126104c6576040516040810181811067ffffffffffffffff8211176104b25760405285516001600160a01b03811681036104ae579181604093602093528288015183820152815201940193610447565b8480fd5b634e487b7160e01b85526041600452602485fd5b8280fd5b634e487b7160e01b81526041600452602490fd5b5080fd5b6040513d6000823e3d90fd5b90601f8019910116810190811067ffffffffffffffff82111761051057604052565b634e487b7160e01b600052604160045260246000fdfea26469706673582212200f371aba85a8804c62a5bdb692de7e6bebd26a22d3d88c7132a27ff8147f775664736f6c634300081a0033";
267
+ const isSuperArgs = (xs) => xs.length > 1;
268
+ class InfraredRewards__factory extends ethers_1.ContractFactory {
269
+ constructor(...args) {
270
+ if (isSuperArgs(args)) {
271
+ super(...args);
272
+ }
273
+ else {
274
+ super(_abi, _bytecode, args[0]);
275
+ }
276
+ }
277
+ getDeployTransaction(_infraredVault, overrides) {
278
+ return super.getDeployTransaction(_infraredVault, overrides || {});
279
+ }
280
+ deploy(_infraredVault, overrides) {
281
+ return super.deploy(_infraredVault, overrides || {});
282
+ }
283
+ connect(runner) {
284
+ return super.connect(runner);
285
+ }
286
+ static createInterface() {
287
+ return new ethers_1.Interface(_abi);
288
+ }
289
+ static connect(address, runner) {
290
+ return new ethers_1.Contract(address, _abi, runner);
291
+ }
292
+ }
293
+ exports.InfraredRewards__factory = InfraredRewards__factory;
294
+ InfraredRewards__factory.bytecode = _bytecode;
295
+ InfraredRewards__factory.abi = _abi;
296
+ //# sourceMappingURL=InfraredRewards__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfraredRewards__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Infrared/InfraredRewards__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAKgB;AAahB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,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nD,OAAO,KAAK,CAAC,oBAAoB,CAAC,cAAc,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC;IACrE,CAAC;IACQ,MAAM,CACb,cAA2B,EAC3B,SAAmD;QAEnD,OAAO,KAAK,CAAC,MAAM,CAAC,cAAc,EAAE,SAAS,IAAI,EAAE,CAIlD,CAAC;IACJ,CAAC;IACQ,OAAO,CAAC,MAA6B;QAC5C,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA6B,CAAC;IAC3D,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAA6B,CAAC;IACzD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA+B,CAAC;IAC3E,CAAC;;AAvCH,4DAwCC;AAXiB,iCAAQ,GAAG,SAAS,CAAC;AACrB,4BAAG,GAAG,IAAI,CAAC"}
@@ -0,0 +1,241 @@
1
+ import { type ContractRunner } from "ethers";
2
+ import type { TimeWeightedMultiRewards, TimeWeightedMultiRewardsInterface } from "../../../contracts/Infrared/TimeWeightedMultiRewards";
3
+ export declare class TimeWeightedMultiRewards__factory {
4
+ static readonly abi: readonly [{
5
+ readonly inputs: readonly [];
6
+ readonly name: "CantWithdrawRewardToken";
7
+ readonly type: "error";
8
+ }, {
9
+ readonly anonymous: false;
10
+ readonly inputs: readonly [{
11
+ readonly indexed: false;
12
+ readonly internalType: "uint8";
13
+ readonly name: "version";
14
+ readonly type: "uint8";
15
+ }];
16
+ readonly name: "Initialized";
17
+ readonly type: "event";
18
+ }, {
19
+ readonly anonymous: false;
20
+ readonly inputs: readonly [{
21
+ readonly indexed: false;
22
+ readonly internalType: "address";
23
+ readonly name: "account";
24
+ readonly type: "address";
25
+ }];
26
+ readonly name: "Paused";
27
+ readonly type: "event";
28
+ }, {
29
+ readonly anonymous: false;
30
+ readonly inputs: readonly [{
31
+ readonly indexed: false;
32
+ readonly internalType: "address";
33
+ readonly name: "token";
34
+ readonly type: "address";
35
+ }, {
36
+ readonly indexed: false;
37
+ readonly internalType: "uint256";
38
+ readonly name: "amount";
39
+ readonly type: "uint256";
40
+ }];
41
+ readonly name: "Recovered";
42
+ readonly type: "event";
43
+ }, {
44
+ readonly anonymous: false;
45
+ readonly inputs: readonly [{
46
+ readonly indexed: true;
47
+ readonly internalType: "address";
48
+ readonly name: "rewardsToken";
49
+ readonly type: "address";
50
+ }, {
51
+ readonly indexed: false;
52
+ readonly internalType: "uint256";
53
+ readonly name: "reward";
54
+ readonly type: "uint256";
55
+ }];
56
+ readonly name: "RewardAdded";
57
+ readonly type: "event";
58
+ }, {
59
+ readonly anonymous: false;
60
+ readonly inputs: readonly [{
61
+ readonly indexed: true;
62
+ readonly internalType: "address";
63
+ readonly name: "user";
64
+ readonly type: "address";
65
+ }, {
66
+ readonly indexed: true;
67
+ readonly internalType: "address";
68
+ readonly name: "rewardsToken";
69
+ readonly type: "address";
70
+ }, {
71
+ readonly indexed: false;
72
+ readonly internalType: "uint256";
73
+ readonly name: "reward";
74
+ readonly type: "uint256";
75
+ }];
76
+ readonly name: "RewardPaid";
77
+ readonly type: "event";
78
+ }, {
79
+ readonly anonymous: false;
80
+ readonly inputs: readonly [{
81
+ readonly indexed: true;
82
+ readonly internalType: "address";
83
+ readonly name: "user";
84
+ readonly type: "address";
85
+ }, {
86
+ readonly indexed: false;
87
+ readonly internalType: "uint256";
88
+ readonly name: "amount";
89
+ readonly type: "uint256";
90
+ }];
91
+ readonly name: "Staked";
92
+ readonly type: "event";
93
+ }, {
94
+ readonly anonymous: false;
95
+ readonly inputs: readonly [{
96
+ readonly indexed: false;
97
+ readonly internalType: "address";
98
+ readonly name: "account";
99
+ readonly type: "address";
100
+ }];
101
+ readonly name: "Unpaused";
102
+ readonly type: "event";
103
+ }, {
104
+ readonly anonymous: false;
105
+ readonly inputs: readonly [{
106
+ readonly indexed: true;
107
+ readonly internalType: "address";
108
+ readonly name: "user";
109
+ readonly type: "address";
110
+ }, {
111
+ readonly indexed: false;
112
+ readonly internalType: "uint256";
113
+ readonly name: "amount";
114
+ readonly type: "uint256";
115
+ }];
116
+ readonly name: "Withdrawn";
117
+ readonly type: "event";
118
+ }, {
119
+ readonly inputs: readonly [{
120
+ readonly internalType: "address";
121
+ readonly name: "";
122
+ readonly type: "address";
123
+ }];
124
+ readonly name: "_shares";
125
+ readonly outputs: readonly [{
126
+ readonly internalType: "uint256";
127
+ readonly name: "shares";
128
+ readonly type: "uint256";
129
+ }, {
130
+ readonly internalType: "uint256";
131
+ readonly name: "lastUpdateTime";
132
+ readonly type: "uint256";
133
+ }];
134
+ readonly stateMutability: "view";
135
+ readonly type: "function";
136
+ }, {
137
+ readonly inputs: readonly [{
138
+ readonly internalType: "address";
139
+ readonly name: "account";
140
+ readonly type: "address";
141
+ }, {
142
+ readonly internalType: "address";
143
+ readonly name: "_rewardsToken";
144
+ readonly type: "address";
145
+ }];
146
+ readonly name: "earned";
147
+ readonly outputs: readonly [{
148
+ readonly internalType: "uint256";
149
+ readonly name: "";
150
+ readonly type: "uint256";
151
+ }];
152
+ readonly stateMutability: "view";
153
+ readonly type: "function";
154
+ }, {
155
+ readonly inputs: readonly [];
156
+ readonly name: "getReward";
157
+ readonly outputs: readonly [];
158
+ readonly stateMutability: "nonpayable";
159
+ readonly type: "function";
160
+ }, {
161
+ readonly inputs: readonly [{
162
+ readonly internalType: "address";
163
+ readonly name: "_user";
164
+ readonly type: "address";
165
+ }];
166
+ readonly name: "getRewardForUser";
167
+ readonly outputs: readonly [];
168
+ readonly stateMutability: "nonpayable";
169
+ readonly type: "function";
170
+ }, {
171
+ readonly inputs: readonly [];
172
+ readonly name: "paused";
173
+ readonly outputs: readonly [{
174
+ readonly internalType: "bool";
175
+ readonly name: "";
176
+ readonly type: "bool";
177
+ }];
178
+ readonly stateMutability: "view";
179
+ readonly type: "function";
180
+ }, {
181
+ readonly inputs: readonly [{
182
+ readonly internalType: "uint256";
183
+ readonly name: "index";
184
+ readonly type: "uint256";
185
+ }];
186
+ readonly name: "rewardTokens";
187
+ readonly outputs: readonly [{
188
+ readonly internalType: "address";
189
+ readonly name: "";
190
+ readonly type: "address";
191
+ }];
192
+ readonly stateMutability: "view";
193
+ readonly type: "function";
194
+ }, {
195
+ readonly inputs: readonly [{
196
+ readonly internalType: "address";
197
+ readonly name: "account";
198
+ readonly type: "address";
199
+ }];
200
+ readonly name: "shareOf";
201
+ readonly outputs: readonly [{
202
+ readonly internalType: "uint256";
203
+ readonly name: "_share";
204
+ readonly type: "uint256";
205
+ }];
206
+ readonly stateMutability: "view";
207
+ readonly type: "function";
208
+ }, {
209
+ readonly inputs: readonly [];
210
+ readonly name: "stakingToken";
211
+ readonly outputs: readonly [{
212
+ readonly internalType: "contract ERC20";
213
+ readonly name: "";
214
+ readonly type: "address";
215
+ }];
216
+ readonly stateMutability: "view";
217
+ readonly type: "function";
218
+ }, {
219
+ readonly inputs: readonly [];
220
+ readonly name: "totalShares";
221
+ readonly outputs: readonly [{
222
+ readonly internalType: "uint256";
223
+ readonly name: "";
224
+ readonly type: "uint256";
225
+ }];
226
+ readonly stateMutability: "view";
227
+ readonly type: "function";
228
+ }, {
229
+ readonly inputs: readonly [];
230
+ readonly name: "totalStaked";
231
+ readonly outputs: readonly [{
232
+ readonly internalType: "uint256";
233
+ readonly name: "";
234
+ readonly type: "uint256";
235
+ }];
236
+ readonly stateMutability: "view";
237
+ readonly type: "function";
238
+ }];
239
+ static createInterface(): TimeWeightedMultiRewardsInterface;
240
+ static connect(address: string, runner?: ContractRunner | null): TimeWeightedMultiRewards;
241
+ }