@meterio/sumer-js 0.0.13 → 0.1.0

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 (1062) hide show
  1. package/README.md +42 -40
  2. package/dist/browser/compound.min.js +18 -0
  3. package/dist/browser/sumer.min.js +18 -1
  4. package/dist/nodejs/EIP712.js +48 -112
  5. package/dist/nodejs/EIP712.js.map +1 -1
  6. package/dist/nodejs/abi.d.ts +1806 -0
  7. package/dist/nodejs/abi.js +30269 -0
  8. package/dist/nodejs/abi.js.map +1 -0
  9. package/dist/nodejs/{vToken.d.ts → cToken.d.ts} +34 -32
  10. package/dist/nodejs/cToken.js +377 -0
  11. package/dist/nodejs/cToken.js.map +1 -0
  12. package/dist/nodejs/comp.d.ts +6 -401
  13. package/dist/nodejs/comp.js +310 -937
  14. package/dist/nodejs/comp.js.map +1 -1
  15. package/dist/nodejs/comptroller.d.ts +3 -2
  16. package/dist/nodejs/comptroller.js +91 -113
  17. package/dist/nodejs/comptroller.js.map +1 -1
  18. package/dist/nodejs/constants/index.d.ts +25 -0
  19. package/dist/nodejs/constants/index.js +188 -0
  20. package/dist/nodejs/constants/index.js.map +1 -0
  21. package/dist/nodejs/constants.d.ts +22 -828
  22. package/dist/nodejs/constants.js +1093 -354
  23. package/dist/nodejs/constants.js.map +1 -1
  24. package/dist/nodejs/eth.d.ts +11 -11
  25. package/dist/nodejs/eth.js +82 -193
  26. package/dist/nodejs/eth.js.map +1 -1
  27. package/dist/nodejs/gov.d.ts +1 -91
  28. package/dist/nodejs/gov.js +216 -232
  29. package/dist/nodejs/gov.js.map +1 -1
  30. package/dist/nodejs/helpers.d.ts +3 -3
  31. package/dist/nodejs/helpers.js +6 -52
  32. package/dist/nodejs/helpers.js.map +1 -1
  33. package/dist/nodejs/index.d.ts +1543 -148
  34. package/dist/nodejs/index.js +62 -49
  35. package/dist/nodejs/index.js.map +1 -1
  36. package/dist/nodejs/typechain/@openzeppelin/contracts/access/AccessControl.d.ts +159 -0
  37. package/dist/nodejs/typechain/@openzeppelin/contracts/access/AccessControl.js +3 -0
  38. package/dist/nodejs/typechain/@openzeppelin/contracts/access/AccessControl.js.map +1 -0
  39. package/dist/nodejs/typechain/@openzeppelin/contracts/access/AccessControlEnumerable.d.ts +177 -0
  40. package/dist/nodejs/typechain/@openzeppelin/contracts/access/AccessControlEnumerable.js +3 -0
  41. package/dist/nodejs/typechain/@openzeppelin/contracts/access/AccessControlEnumerable.js.map +1 -0
  42. package/dist/nodejs/typechain/@openzeppelin/contracts/access/IAccessControl.d.ts +147 -0
  43. package/dist/nodejs/typechain/@openzeppelin/contracts/access/IAccessControl.js +3 -0
  44. package/dist/nodejs/typechain/@openzeppelin/contracts/access/IAccessControl.js.map +1 -0
  45. package/dist/nodejs/typechain/@openzeppelin/contracts/access/IAccessControlEnumerable.d.ts +165 -0
  46. package/dist/nodejs/typechain/@openzeppelin/contracts/access/IAccessControlEnumerable.js +3 -0
  47. package/dist/nodejs/typechain/@openzeppelin/contracts/access/IAccessControlEnumerable.js.map +1 -0
  48. package/dist/nodejs/typechain/@openzeppelin/contracts/access/Ownable.d.ts +54 -0
  49. package/dist/nodejs/typechain/@openzeppelin/contracts/access/Ownable.js +3 -0
  50. package/dist/nodejs/typechain/@openzeppelin/contracts/access/Ownable.js.map +1 -0
  51. package/dist/nodejs/typechain/@openzeppelin/contracts/access/Ownable2Step.d.ts +77 -0
  52. package/dist/nodejs/typechain/@openzeppelin/contracts/access/Ownable2Step.js +3 -0
  53. package/dist/nodejs/typechain/@openzeppelin/contracts/access/Ownable2Step.js.map +1 -0
  54. package/dist/nodejs/typechain/@openzeppelin/contracts/access/index.d.ts +6 -0
  55. package/dist/nodejs/typechain/@openzeppelin/contracts/access/index.js +3 -0
  56. package/dist/nodejs/typechain/@openzeppelin/contracts/access/index.js.map +1 -0
  57. package/dist/nodejs/typechain/@openzeppelin/contracts/index.d.ts +12 -0
  58. package/dist/nodejs/typechain/@openzeppelin/contracts/index.js +3 -0
  59. package/dist/nodejs/typechain/@openzeppelin/contracts/index.js.map +1 -0
  60. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/IERC1967.d.ts +65 -0
  61. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/IERC1967.js +3 -0
  62. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/IERC1967.js.map +1 -0
  63. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.d.ts +25 -0
  64. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.js +3 -0
  65. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.js.map +1 -0
  66. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts +1 -0
  67. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js +3 -0
  68. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js.map +1 -0
  69. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/index.d.ts +3 -0
  70. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/index.js +3 -0
  71. package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/index.js.map +1 -0
  72. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.d.ts +65 -0
  73. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.js +3 -0
  74. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.js.map +1 -0
  75. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.d.ts +65 -0
  76. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.js +3 -0
  77. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.js.map +1 -0
  78. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
  79. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/index.js +3 -0
  80. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/ERC1967/index.js.map +1 -0
  81. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/Proxy.d.ts +20 -0
  82. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/Proxy.js +3 -0
  83. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/Proxy.js.map +1 -0
  84. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/IBeacon.d.ts +25 -0
  85. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/IBeacon.js +3 -0
  86. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/IBeacon.js.map +1 -0
  87. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.d.ts +1 -0
  88. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.js +3 -0
  89. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -0
  90. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/index.d.ts +7 -0
  91. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/index.js +3 -0
  92. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/index.js.map +1 -0
  93. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.d.ts +110 -0
  94. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.js +3 -0
  95. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.js.map +1 -0
  96. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.d.ts +96 -0
  97. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.js +3 -0
  98. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.js.map +1 -0
  99. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.d.ts +65 -0
  100. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.js +3 -0
  101. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.js.map +1 -0
  102. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +2 -0
  103. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.js +3 -0
  104. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.js.map +1 -0
  105. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/index.d.ts +3 -0
  106. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/index.js +3 -0
  107. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/index.js.map +1 -0
  108. package/dist/nodejs/typechain/@openzeppelin/contracts/security/Pausable.d.ts +55 -0
  109. package/dist/nodejs/typechain/@openzeppelin/contracts/security/Pausable.js +3 -0
  110. package/dist/nodejs/typechain/@openzeppelin/contracts/security/Pausable.js.map +1 -0
  111. package/dist/nodejs/typechain/@openzeppelin/contracts/security/index.d.ts +1 -0
  112. package/dist/nodejs/typechain/@openzeppelin/contracts/security/index.js +3 -0
  113. package/dist/nodejs/typechain/@openzeppelin/contracts/security/index.js.map +1 -0
  114. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/ERC20.d.ts +169 -0
  115. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/ERC20.js +3 -0
  116. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/ERC20.js.map +1 -0
  117. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/IERC20.d.ts +129 -0
  118. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/IERC20.js +3 -0
  119. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/IERC20.js.map +1 -0
  120. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.d.ts +187 -0
  121. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.js +3 -0
  122. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.js.map +1 -0
  123. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.d.ts +201 -0
  124. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.js +3 -0
  125. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.js.map +1 -0
  126. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts +141 -0
  127. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js +3 -0
  128. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js.map +1 -0
  129. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.d.ts +61 -0
  130. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.js +3 -0
  131. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.js.map +1 -0
  132. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +4 -0
  133. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.js +3 -0
  134. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.js.map +1 -0
  135. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/index.d.ts +6 -0
  136. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/index.js +3 -0
  137. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/index.js.map +1 -0
  138. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.d.ts +403 -0
  139. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.js +3 -0
  140. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.js.map +1 -0
  141. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/presets/index.d.ts +1 -0
  142. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/presets/index.js +3 -0
  143. package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/presets/index.js.map +1 -0
  144. package/dist/nodejs/typechain/@openzeppelin/contracts/token/index.d.ts +2 -0
  145. package/dist/nodejs/typechain/@openzeppelin/contracts/token/index.js +3 -0
  146. package/dist/nodejs/typechain/@openzeppelin/contracts/token/index.js.map +1 -0
  147. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/index.d.ts +2 -0
  148. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/index.js +3 -0
  149. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/index.js.map +1 -0
  150. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/ERC165.d.ts +29 -0
  151. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/ERC165.js +3 -0
  152. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/ERC165.js.map +1 -0
  153. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/IERC165.d.ts +29 -0
  154. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/IERC165.js +3 -0
  155. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/IERC165.js.map +1 -0
  156. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
  157. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/index.js +3 -0
  158. package/dist/nodejs/typechain/@openzeppelin/contracts/utils/introspection/index.js.map +1 -0
  159. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.d.ts +191 -0
  160. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.js +3 -0
  161. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.js.map +1 -0
  162. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.d.ts +173 -0
  163. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.js +3 -0
  164. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.js.map +1 -0
  165. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.d.ts +165 -0
  166. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.js +3 -0
  167. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable.js.map +1 -0
  168. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.d.ts +147 -0
  169. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.js +3 -0
  170. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.js.map +1 -0
  171. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/index.d.ts +4 -0
  172. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/index.js +3 -0
  173. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/access/index.js.map +1 -0
  174. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/index.d.ts +6 -0
  175. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/index.js +3 -0
  176. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/index.js.map +1 -0
  177. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +2 -0
  178. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/index.js +3 -0
  179. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/index.js.map +1 -0
  180. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts +36 -0
  181. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.js +3 -0
  182. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.js.map +1 -0
  183. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +1 -0
  184. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/index.js +3 -0
  185. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/index.js.map +1 -0
  186. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts +36 -0
  187. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.js +3 -0
  188. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.js.map +1 -0
  189. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/index.d.ts +3 -0
  190. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/index.js +3 -0
  191. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/index.js.map +1 -0
  192. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.d.ts +45 -0
  193. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.js +3 -0
  194. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.js.map +1 -0
  195. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.d.ts +29 -0
  196. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.js +3 -0
  197. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.js.map +1 -0
  198. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/index.d.ts +2 -0
  199. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/index.js +3 -0
  200. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/introspection/index.js.map +1 -0
  201. package/dist/nodejs/typechain/@openzeppelin/index.d.ts +4 -0
  202. package/dist/nodejs/typechain/@openzeppelin/index.js +3 -0
  203. package/dist/nodejs/typechain/@openzeppelin/index.js.map +1 -0
  204. package/dist/nodejs/typechain/@pythnetwork/index.d.ts +2 -0
  205. package/dist/nodejs/typechain/@pythnetwork/index.js +3 -0
  206. package/dist/nodejs/typechain/@pythnetwork/index.js.map +1 -0
  207. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/IPyth.d.ts +231 -0
  208. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/IPyth.js +3 -0
  209. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/IPyth.js.map +1 -0
  210. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/IPythEvents.d.ts +67 -0
  211. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/IPythEvents.js +3 -0
  212. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/IPythEvents.js.map +1 -0
  213. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/index.d.ts +2 -0
  214. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/index.js +3 -0
  215. package/dist/nodejs/typechain/@pythnetwork/pyth-sdk-solidity/index.js.map +1 -0
  216. package/dist/nodejs/typechain/common.d.ts +50 -0
  217. package/dist/nodejs/typechain/common.js +3 -0
  218. package/dist/nodejs/typechain/common.js.map +1 -0
  219. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +846 -0
  220. package/dist/nodejs/typechain/contracts/CToken/CErc20.js +3 -0
  221. package/dist/nodejs/typechain/contracts/CToken/CErc20.js.map +1 -0
  222. package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +823 -0
  223. package/dist/nodejs/typechain/contracts/CToken/CEther.js +3 -0
  224. package/dist/nodejs/typechain/contracts/CToken/CEther.js.map +1 -0
  225. package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +713 -0
  226. package/dist/nodejs/typechain/contracts/CToken/CToken.js +3 -0
  227. package/dist/nodejs/typechain/contracts/CToken/CToken.js.map +1 -0
  228. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +675 -0
  229. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.js +3 -0
  230. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.js.map +1 -0
  231. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +903 -0
  232. package/dist/nodejs/typechain/contracts/CToken/SuErc20.js +3 -0
  233. package/dist/nodejs/typechain/contracts/CToken/SuErc20.js.map +1 -0
  234. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +5 -0
  235. package/dist/nodejs/typechain/contracts/CToken/index.js +3 -0
  236. package/dist/nodejs/typechain/contracts/CToken/index.js.map +1 -0
  237. package/dist/nodejs/typechain/contracts/Comptroller/AccountLiquidity.d.ts +243 -0
  238. package/dist/nodejs/typechain/contracts/Comptroller/AccountLiquidity.js +3 -0
  239. package/dist/nodejs/typechain/contracts/Comptroller/AccountLiquidity.js.map +1 -0
  240. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +629 -0
  241. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.js +3 -0
  242. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.js.map +1 -0
  243. package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +517 -0
  244. package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.js +3 -0
  245. package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.js.map +1 -0
  246. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +1438 -0
  247. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.js +3 -0
  248. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.js.map +1 -0
  249. package/dist/nodejs/typechain/contracts/Comptroller/ComptrollerStorage.d.ts +287 -0
  250. package/dist/nodejs/typechain/contracts/Comptroller/ComptrollerStorage.js +3 -0
  251. package/dist/nodejs/typechain/contracts/Comptroller/ComptrollerStorage.js.map +1 -0
  252. package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +375 -0
  253. package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.js +3 -0
  254. package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.js.map +1 -0
  255. package/dist/nodejs/typechain/contracts/Comptroller/SortedBorrows.d.ts +422 -0
  256. package/dist/nodejs/typechain/contracts/Comptroller/SortedBorrows.js +3 -0
  257. package/dist/nodejs/typechain/contracts/Comptroller/SortedBorrows.js.map +1 -0
  258. package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +7 -0
  259. package/dist/nodejs/typechain/contracts/Comptroller/index.js +3 -0
  260. package/dist/nodejs/typechain/contracts/Comptroller/index.js.map +1 -0
  261. package/dist/nodejs/typechain/contracts/ERC20/ERC20MinterBurnerPauser.d.ts +403 -0
  262. package/dist/nodejs/typechain/contracts/ERC20/ERC20MinterBurnerPauser.js +3 -0
  263. package/dist/nodejs/typechain/contracts/ERC20/ERC20MinterBurnerPauser.js.map +1 -0
  264. package/dist/nodejs/typechain/contracts/ERC20/index.d.ts +1 -0
  265. package/dist/nodejs/typechain/contracts/ERC20/index.js +3 -0
  266. package/dist/nodejs/typechain/contracts/ERC20/index.js.map +1 -0
  267. package/dist/nodejs/typechain/contracts/ITimelock.d.ts +184 -0
  268. package/dist/nodejs/typechain/contracts/ITimelock.js +3 -0
  269. package/dist/nodejs/typechain/contracts/ITimelock.js.map +1 -0
  270. package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.d.ts +59 -0
  271. package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.js +3 -0
  272. package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.js.map +1 -0
  273. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModel.d.ts +124 -0
  274. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModel.js +3 -0
  275. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModel.js.map +1 -0
  276. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.d.ts +146 -0
  277. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.js +3 -0
  278. package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.js.map +1 -0
  279. package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.d.ts +113 -0
  280. package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.js +3 -0
  281. package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.js.map +1 -0
  282. package/dist/nodejs/typechain/contracts/InterestRateModel/ZeroInterestRateModel.d.ts +75 -0
  283. package/dist/nodejs/typechain/contracts/InterestRateModel/ZeroInterestRateModel.js +3 -0
  284. package/dist/nodejs/typechain/contracts/InterestRateModel/ZeroInterestRateModel.js.map +1 -0
  285. package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +7 -0
  286. package/dist/nodejs/typechain/contracts/InterestRateModel/index.js +3 -0
  287. package/dist/nodejs/typechain/contracts/InterestRateModel/index.js.map +1 -0
  288. package/dist/nodejs/typechain/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel.d.ts +91 -0
  289. package/dist/nodejs/typechain/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel.js +3 -0
  290. package/dist/nodejs/typechain/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel.js.map +1 -0
  291. package/dist/nodejs/typechain/contracts/InterestRateModel/suTokenInterestModel.sol/index.d.ts +1 -0
  292. package/dist/nodejs/typechain/contracts/InterestRateModel/suTokenInterestModel.sol/index.js +3 -0
  293. package/dist/nodejs/typechain/contracts/InterestRateModel/suTokenInterestModel.sol/index.js.map +1 -0
  294. package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.d.ts +57 -0
  295. package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.js +3 -0
  296. package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.js.map +1 -0
  297. package/dist/nodejs/typechain/contracts/Interface/ICErc20.d.ts +99 -0
  298. package/dist/nodejs/typechain/contracts/Interface/ICErc20.js +3 -0
  299. package/dist/nodejs/typechain/contracts/Interface/ICErc20.js.map +1 -0
  300. package/dist/nodejs/typechain/contracts/Interface/ICToken.d.ts +611 -0
  301. package/dist/nodejs/typechain/contracts/Interface/ICToken.js +3 -0
  302. package/dist/nodejs/typechain/contracts/Interface/ICToken.js.map +1 -0
  303. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.d.ts +198 -0
  304. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.js +3 -0
  305. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.js.map +1 -0
  306. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.d.ts +1 -0
  307. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.js +3 -0
  308. package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.js.map +1 -0
  309. package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.d.ts +59 -0
  310. package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.js +3 -0
  311. package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.js.map +1 -0
  312. package/dist/nodejs/typechain/contracts/Interface/ICompLogic.d.ts +127 -0
  313. package/dist/nodejs/typechain/contracts/Interface/ICompLogic.js +3 -0
  314. package/dist/nodejs/typechain/contracts/Interface/ICompLogic.js.map +1 -0
  315. package/dist/nodejs/typechain/contracts/Interface/IComptroller.d.ts +562 -0
  316. package/dist/nodejs/typechain/contracts/Interface/IComptroller.js +3 -0
  317. package/dist/nodejs/typechain/contracts/Interface/IComptroller.js.map +1 -0
  318. package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.d.ts +161 -0
  319. package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.js +3 -0
  320. package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.js.map +1 -0
  321. package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.d.ts +119 -0
  322. package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.js +3 -0
  323. package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.js.map +1 -0
  324. package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.d.ts +130 -0
  325. package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.js +3 -0
  326. package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.js.map +1 -0
  327. package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.d.ts +59 -0
  328. package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.js +3 -0
  329. package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.js.map +1 -0
  330. package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.d.ts +37 -0
  331. package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.js +3 -0
  332. package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.js.map +1 -0
  333. package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.d.ts +103 -0
  334. package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.js +3 -0
  335. package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.js.map +1 -0
  336. package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.d.ts +210 -0
  337. package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.js +3 -0
  338. package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.js.map +1 -0
  339. package/dist/nodejs/typechain/contracts/Interface/IStdReference.d.ts +65 -0
  340. package/dist/nodejs/typechain/contracts/Interface/IStdReference.js +3 -0
  341. package/dist/nodejs/typechain/contracts/Interface/IStdReference.js.map +1 -0
  342. package/dist/nodejs/typechain/contracts/Interface/IUnitroller.d.ts +29 -0
  343. package/dist/nodejs/typechain/contracts/Interface/IUnitroller.js +3 -0
  344. package/dist/nodejs/typechain/contracts/Interface/IUnitroller.js.map +1 -0
  345. package/dist/nodejs/typechain/contracts/Interface/IVoltPair.d.ts +71 -0
  346. package/dist/nodejs/typechain/contracts/Interface/IVoltPair.js +3 -0
  347. package/dist/nodejs/typechain/contracts/Interface/IVoltPair.js.map +1 -0
  348. package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.d.ts +25 -0
  349. package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.js +3 -0
  350. package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.js.map +1 -0
  351. package/dist/nodejs/typechain/contracts/Interface/index.d.ts +19 -0
  352. package/dist/nodejs/typechain/contracts/Interface/index.js +3 -0
  353. package/dist/nodejs/typechain/contracts/Interface/index.js.map +1 -0
  354. package/dist/nodejs/typechain/contracts/Interfaces/IAccountLiquidity.d.ts +57 -0
  355. package/dist/nodejs/typechain/contracts/Interfaces/IAccountLiquidity.js +3 -0
  356. package/dist/nodejs/typechain/contracts/Interfaces/IAccountLiquidity.js.map +1 -0
  357. package/dist/nodejs/typechain/contracts/Interfaces/ICErc20.d.ts +99 -0
  358. package/dist/nodejs/typechain/contracts/Interfaces/ICErc20.js +3 -0
  359. package/dist/nodejs/typechain/contracts/Interfaces/ICErc20.js.map +1 -0
  360. package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +611 -0
  361. package/dist/nodejs/typechain/contracts/Interfaces/ICToken.js +3 -0
  362. package/dist/nodejs/typechain/contracts/Interfaces/ICToken.js.map +1 -0
  363. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +198 -0
  364. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.js +3 -0
  365. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.js.map +1 -0
  366. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/index.d.ts +1 -0
  367. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/index.js +3 -0
  368. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/index.js.map +1 -0
  369. package/dist/nodejs/typechain/contracts/Interfaces/IChainlinkFeed.d.ts +59 -0
  370. package/dist/nodejs/typechain/contracts/Interfaces/IChainlinkFeed.js +3 -0
  371. package/dist/nodejs/typechain/contracts/Interfaces/IChainlinkFeed.js.map +1 -0
  372. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +127 -0
  373. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.js +3 -0
  374. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.js.map +1 -0
  375. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +562 -0
  376. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.js +3 -0
  377. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.js.map +1 -0
  378. package/dist/nodejs/typechain/contracts/Interfaces/IEIP20NonStandard.d.ts +161 -0
  379. package/dist/nodejs/typechain/contracts/Interfaces/IEIP20NonStandard.js +3 -0
  380. package/dist/nodejs/typechain/contracts/Interfaces/IEIP20NonStandard.js.map +1 -0
  381. package/dist/nodejs/typechain/contracts/Interfaces/IGovernorAlpha.d.ts +119 -0
  382. package/dist/nodejs/typechain/contracts/Interfaces/IGovernorAlpha.js +3 -0
  383. package/dist/nodejs/typechain/contracts/Interfaces/IGovernorAlpha.js.map +1 -0
  384. package/dist/nodejs/typechain/contracts/Interfaces/IGovernorBravo.d.ts +130 -0
  385. package/dist/nodejs/typechain/contracts/Interfaces/IGovernorBravo.js +3 -0
  386. package/dist/nodejs/typechain/contracts/Interfaces/IGovernorBravo.js.map +1 -0
  387. package/dist/nodejs/typechain/contracts/Interfaces/IInterestRateModel.d.ts +59 -0
  388. package/dist/nodejs/typechain/contracts/Interfaces/IInterestRateModel.js +3 -0
  389. package/dist/nodejs/typechain/contracts/Interfaces/IInterestRateModel.js.map +1 -0
  390. package/dist/nodejs/typechain/contracts/Interfaces/IPriceOracle.d.ts +37 -0
  391. package/dist/nodejs/typechain/contracts/Interfaces/IPriceOracle.js +3 -0
  392. package/dist/nodejs/typechain/contracts/Interfaces/IPriceOracle.js.map +1 -0
  393. package/dist/nodejs/typechain/contracts/Interfaces/IRedemptionManager.d.ts +103 -0
  394. package/dist/nodejs/typechain/contracts/Interfaces/IRedemptionManager.js +3 -0
  395. package/dist/nodejs/typechain/contracts/Interfaces/IRedemptionManager.js.map +1 -0
  396. package/dist/nodejs/typechain/contracts/Interfaces/ISortedBorrows.d.ts +210 -0
  397. package/dist/nodejs/typechain/contracts/Interfaces/ISortedBorrows.js +3 -0
  398. package/dist/nodejs/typechain/contracts/Interfaces/ISortedBorrows.js.map +1 -0
  399. package/dist/nodejs/typechain/contracts/Interfaces/IStdReference.d.ts +65 -0
  400. package/dist/nodejs/typechain/contracts/Interfaces/IStdReference.js +3 -0
  401. package/dist/nodejs/typechain/contracts/Interfaces/IStdReference.js.map +1 -0
  402. package/dist/nodejs/typechain/contracts/Interfaces/ITimelock.d.ts +184 -0
  403. package/dist/nodejs/typechain/contracts/Interfaces/ITimelock.js +3 -0
  404. package/dist/nodejs/typechain/contracts/Interfaces/ITimelock.js.map +1 -0
  405. package/dist/nodejs/typechain/contracts/Interfaces/IUnitroller.d.ts +29 -0
  406. package/dist/nodejs/typechain/contracts/Interfaces/IUnitroller.js +3 -0
  407. package/dist/nodejs/typechain/contracts/Interfaces/IUnitroller.js.map +1 -0
  408. package/dist/nodejs/typechain/contracts/Interfaces/IVoltPair.d.ts +71 -0
  409. package/dist/nodejs/typechain/contracts/Interfaces/IVoltPair.js +3 -0
  410. package/dist/nodejs/typechain/contracts/Interfaces/IVoltPair.js.map +1 -0
  411. package/dist/nodejs/typechain/contracts/Interfaces/IWitnetFeed.d.ts +25 -0
  412. package/dist/nodejs/typechain/contracts/Interfaces/IWitnetFeed.js +3 -0
  413. package/dist/nodejs/typechain/contracts/Interfaces/IWitnetFeed.js.map +1 -0
  414. package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +20 -0
  415. package/dist/nodejs/typechain/contracts/Interfaces/index.js +3 -0
  416. package/dist/nodejs/typechain/contracts/Interfaces/index.js.map +1 -0
  417. package/dist/nodejs/typechain/contracts/Multicall2.d.ts +165 -0
  418. package/dist/nodejs/typechain/contracts/Multicall2.js +3 -0
  419. package/dist/nodejs/typechain/contracts/Multicall2.js.map +1 -0
  420. package/dist/nodejs/typechain/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD.d.ts +135 -0
  421. package/dist/nodejs/typechain/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD.js +3 -0
  422. package/dist/nodejs/typechain/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD.js.map +1 -0
  423. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +320 -0
  424. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.js +3 -0
  425. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.js.map +1 -0
  426. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracleSafe.d.ts +336 -0
  427. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracleSafe.js +3 -0
  428. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracleSafe.js.map +1 -0
  429. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.d.ts +33 -0
  430. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.js +3 -0
  431. package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.js.map +1 -0
  432. package/dist/nodejs/typechain/contracts/Oracle/PythOracle.d.ts +195 -0
  433. package/dist/nodejs/typechain/contracts/Oracle/PythOracle.js +3 -0
  434. package/dist/nodejs/typechain/contracts/Oracle/PythOracle.js.map +1 -0
  435. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +7 -0
  436. package/dist/nodejs/typechain/contracts/Oracle/index.js +3 -0
  437. package/dist/nodejs/typechain/contracts/Oracle/index.js.map +1 -0
  438. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/IWstMTRG.d.ts +25 -0
  439. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/IWstMTRG.js +3 -0
  440. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/IWstMTRG.js.map +1 -0
  441. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle.d.ts +132 -0
  442. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle.js +3 -0
  443. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle.js.map +1 -0
  444. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/index.d.ts +2 -0
  445. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/index.js +3 -0
  446. package/dist/nodejs/typechain/contracts/Oracle/wstMTRGOracle.sol/index.js.map +1 -0
  447. package/dist/nodejs/typechain/contracts/Timelock.sol/ICToken.d.ts +29 -0
  448. package/dist/nodejs/typechain/contracts/Timelock.sol/ICToken.js +3 -0
  449. package/dist/nodejs/typechain/contracts/Timelock.sol/ICToken.js.map +1 -0
  450. package/dist/nodejs/typechain/contracts/Timelock.sol/Timelock.d.ts +588 -0
  451. package/dist/nodejs/typechain/contracts/Timelock.sol/Timelock.js +3 -0
  452. package/dist/nodejs/typechain/contracts/Timelock.sol/Timelock.js.map +1 -0
  453. package/dist/nodejs/typechain/contracts/Timelock.sol/index.d.ts +2 -0
  454. package/dist/nodejs/typechain/contracts/Timelock.sol/index.js +3 -0
  455. package/dist/nodejs/typechain/contracts/Timelock.sol/index.js.map +1 -0
  456. package/dist/nodejs/typechain/contracts/index.d.ts +20 -0
  457. package/dist/nodejs/typechain/contracts/index.js +3 -0
  458. package/dist/nodejs/typechain/contracts/index.js.map +1 -0
  459. package/dist/nodejs/typechain/contracts/proxy/SumerProxy.d.ts +65 -0
  460. package/dist/nodejs/typechain/contracts/proxy/SumerProxy.js +3 -0
  461. package/dist/nodejs/typechain/contracts/proxy/SumerProxy.js.map +1 -0
  462. package/dist/nodejs/typechain/contracts/proxy/SumerProxyAdmin.d.ts +110 -0
  463. package/dist/nodejs/typechain/contracts/proxy/SumerProxyAdmin.js +3 -0
  464. package/dist/nodejs/typechain/contracts/proxy/SumerProxyAdmin.js.map +1 -0
  465. package/dist/nodejs/typechain/contracts/proxy/index.d.ts +2 -0
  466. package/dist/nodejs/typechain/contracts/proxy/index.js +3 -0
  467. package/dist/nodejs/typechain/contracts/proxy/index.js.map +1 -0
  468. package/dist/nodejs/typechain/contracts/stake/CommunalFarm.d.ts +587 -0
  469. package/dist/nodejs/typechain/contracts/stake/CommunalFarm.js +3 -0
  470. package/dist/nodejs/typechain/contracts/stake/CommunalFarm.js.map +1 -0
  471. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/FraxGaugeController.d.ts +550 -0
  472. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/FraxGaugeController.js +3 -0
  473. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/FraxGaugeController.js.map +1 -0
  474. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/VotingEscrow.d.ts +49 -0
  475. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/VotingEscrow.js +3 -0
  476. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/VotingEscrow.js.map +1 -0
  477. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/index.d.ts +2 -0
  478. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/index.js +3 -0
  479. package/dist/nodejs/typechain/contracts/stake/FraxGaugeController.sol/index.js.map +1 -0
  480. package/dist/nodejs/typechain/contracts/stake/FraxGaugeFXSRewardsDistributor.d.ts +253 -0
  481. package/dist/nodejs/typechain/contracts/stake/FraxGaugeFXSRewardsDistributor.js +3 -0
  482. package/dist/nodejs/typechain/contracts/stake/FraxGaugeFXSRewardsDistributor.js.map +1 -0
  483. package/dist/nodejs/typechain/contracts/stake/IFraxGaugeController.d.ts +347 -0
  484. package/dist/nodejs/typechain/contracts/stake/IFraxGaugeController.js +3 -0
  485. package/dist/nodejs/typechain/contracts/stake/IFraxGaugeController.js.map +1 -0
  486. package/dist/nodejs/typechain/contracts/stake/IFraxGaugeFXSRewardsDistributor.d.ts +161 -0
  487. package/dist/nodejs/typechain/contracts/stake/IFraxGaugeFXSRewardsDistributor.js +3 -0
  488. package/dist/nodejs/typechain/contracts/stake/IFraxGaugeFXSRewardsDistributor.js.map +1 -0
  489. package/dist/nodejs/typechain/contracts/stake/IUniswapV2Pair.d.ts +396 -0
  490. package/dist/nodejs/typechain/contracts/stake/IUniswapV2Pair.js +3 -0
  491. package/dist/nodejs/typechain/contracts/stake/IUniswapV2Pair.js.map +1 -0
  492. package/dist/nodejs/typechain/contracts/stake/StakingRewardsMultiGauge.d.ts +791 -0
  493. package/dist/nodejs/typechain/contracts/stake/StakingRewardsMultiGauge.js +3 -0
  494. package/dist/nodejs/typechain/contracts/stake/StakingRewardsMultiGauge.js.map +1 -0
  495. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/SmartWalletChecker.d.ts +25 -0
  496. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/SmartWalletChecker.js +3 -0
  497. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/SmartWalletChecker.js.map +1 -0
  498. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/VeSumer.d.ts +899 -0
  499. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/VeSumer.js +3 -0
  500. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/VeSumer.js.map +1 -0
  501. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/index.d.ts +2 -0
  502. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/index.js +3 -0
  503. package/dist/nodejs/typechain/contracts/stake/VeSumer.sol/index.js.map +1 -0
  504. package/dist/nodejs/typechain/contracts/stake/index.d.ts +10 -0
  505. package/dist/nodejs/typechain/contracts/stake/index.js +3 -0
  506. package/dist/nodejs/typechain/contracts/stake/index.js.map +1 -0
  507. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/AccessControlEnumerable__factory.d.ts +197 -0
  508. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/AccessControlEnumerable__factory.js +267 -0
  509. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/AccessControlEnumerable__factory.js.map +1 -0
  510. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/AccessControl__factory.d.ts +165 -0
  511. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/AccessControl__factory.js +224 -0
  512. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/AccessControl__factory.js.map +1 -0
  513. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/IAccessControlEnumerable__factory.d.ts +173 -0
  514. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/IAccessControlEnumerable__factory.js +235 -0
  515. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/IAccessControlEnumerable__factory.js.map +1 -0
  516. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/IAccessControl__factory.d.ts +141 -0
  517. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/IAccessControl__factory.js +192 -0
  518. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/IAccessControl__factory.js.map +1 -0
  519. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts +79 -0
  520. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/Ownable2Step__factory.js +111 -0
  521. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/Ownable2Step__factory.js.map +1 -0
  522. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts +48 -0
  523. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/Ownable__factory.js +72 -0
  524. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/Ownable__factory.js.map +1 -0
  525. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/index.d.ts +6 -0
  526. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/index.js +19 -0
  527. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/access/index.js.map +1 -0
  528. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/index.d.ts +6 -0
  529. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/index.js +36 -0
  530. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/index.js.map +1 -0
  531. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.d.ts +42 -0
  532. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.js +65 -0
  533. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.js.map +1 -0
  534. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.d.ts +17 -0
  535. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.js +33 -0
  536. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.js.map +1 -0
  537. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts +1 -0
  538. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js +9 -0
  539. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js.map +1 -0
  540. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
  541. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js +33 -0
  542. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js.map +1 -0
  543. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +75 -0
  544. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +109 -0
  545. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js.map +1 -0
  546. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.d.ts +42 -0
  547. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.js +65 -0
  548. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.js.map +1 -0
  549. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
  550. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/index.js +11 -0
  551. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/index.js.map +1 -0
  552. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/Proxy__factory.d.ts +13 -0
  553. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/Proxy__factory.js +28 -0
  554. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/Proxy__factory.js.map +1 -0
  555. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.d.ts +17 -0
  556. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.js +33 -0
  557. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.js.map +1 -0
  558. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +1 -0
  559. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +9 -0
  560. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -0
  561. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/index.d.ts +4 -0
  562. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/index.js +35 -0
  563. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/index.js.map +1 -0
  564. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +137 -0
  565. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +189 -0
  566. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +1 -0
  567. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.d.ts +96 -0
  568. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.js +135 -0
  569. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.js.map +1 -0
  570. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +79 -0
  571. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.js +114 -0
  572. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.js.map +1 -0
  573. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +2 -0
  574. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.js +11 -0
  575. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.js.map +1 -0
  576. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +2 -0
  577. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js +33 -0
  578. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js.map +1 -0
  579. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/security/Pausable__factory.d.ts +37 -0
  580. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/security/Pausable__factory.js +59 -0
  581. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/security/Pausable__factory.js.map +1 -0
  582. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/security/index.d.ts +1 -0
  583. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/security/index.js +9 -0
  584. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/security/index.js.map +1 -0
  585. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +240 -0
  586. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +326 -0
  587. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js.map +1 -0
  588. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts +147 -0
  589. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js +203 -0
  590. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.js.map +1 -0
  591. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory.d.ts +237 -0
  592. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory.js +321 -0
  593. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory.js.map +1 -0
  594. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable__factory.d.ts +243 -0
  595. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable__factory.js +329 -0
  596. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable__factory.js.map +1 -0
  597. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts +177 -0
  598. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js +242 -0
  599. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js.map +1 -0
  600. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.d.ts +65 -0
  601. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.js +95 -0
  602. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.js.map +1 -0
  603. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +4 -0
  604. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js +15 -0
  605. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map +1 -0
  606. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +4 -0
  607. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/index.js +36 -0
  608. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/index.js.map +1 -0
  609. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.d.ts +530 -0
  610. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js +701 -0
  611. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js.map +1 -0
  612. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/index.d.ts +1 -0
  613. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/index.js +9 -0
  614. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/index.js.map +1 -0
  615. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/index.d.ts +1 -0
  616. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/index.js +31 -0
  617. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/index.js.map +1 -0
  618. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
  619. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js +31 -0
  620. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js.map +1 -0
  621. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/ERC165__factory.d.ts +21 -0
  622. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/ERC165__factory.js +39 -0
  623. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/ERC165__factory.js.map +1 -0
  624. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts +21 -0
  625. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.js +39 -0
  626. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.js.map +1 -0
  627. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
  628. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/index.js +11 -0
  629. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/introspection/index.js.map +1 -0
  630. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable__factory.d.ts +207 -0
  631. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable__factory.js +280 -0
  632. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable__factory.js.map +1 -0
  633. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable__factory.d.ts +175 -0
  634. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable__factory.js +237 -0
  635. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable__factory.js.map +1 -0
  636. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable__factory.d.ts +173 -0
  637. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable__factory.js +235 -0
  638. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlEnumerableUpgradeable__factory.js.map +1 -0
  639. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable__factory.d.ts +141 -0
  640. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable__factory.js +192 -0
  641. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable__factory.js.map +1 -0
  642. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/index.d.ts +4 -0
  643. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/index.js +15 -0
  644. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/access/index.js.map +1 -0
  645. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/index.d.ts +3 -0
  646. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/index.js +33 -0
  647. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/index.js.map +1 -0
  648. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +1 -0
  649. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/index.js +31 -0
  650. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/index.js.map +1 -0
  651. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts +17 -0
  652. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js +33 -0
  653. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js.map +1 -0
  654. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +1 -0
  655. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.js +9 -0
  656. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.js.map +1 -0
  657. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts +17 -0
  658. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js +33 -0
  659. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js.map +1 -0
  660. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
  661. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/index.js +33 -0
  662. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/index.js.map +1 -0
  663. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable__factory.d.ts +31 -0
  664. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable__factory.js +52 -0
  665. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable__factory.js.map +1 -0
  666. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable__factory.d.ts +21 -0
  667. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable__factory.js +39 -0
  668. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable__factory.js.map +1 -0
  669. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/index.d.ts +2 -0
  670. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/index.js +11 -0
  671. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/introspection/index.js.map +1 -0
  672. package/dist/nodejs/typechain/factories/@openzeppelin/index.d.ts +2 -0
  673. package/dist/nodejs/typechain/factories/@openzeppelin/index.js +32 -0
  674. package/dist/nodejs/typechain/factories/@openzeppelin/index.js.map +1 -0
  675. package/dist/nodejs/typechain/factories/@pythnetwork/index.d.ts +1 -0
  676. package/dist/nodejs/typechain/factories/@pythnetwork/index.js +31 -0
  677. package/dist/nodejs/typechain/factories/@pythnetwork/index.js.map +1 -0
  678. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/IPythEvents__factory.d.ts +47 -0
  679. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/IPythEvents__factory.js +70 -0
  680. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/IPythEvents__factory.js.map +1 -0
  681. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/IPyth__factory.d.ts +366 -0
  682. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/IPyth__factory.js +489 -0
  683. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/IPyth__factory.js.map +1 -0
  684. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/index.d.ts +2 -0
  685. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/index.js +11 -0
  686. package/dist/nodejs/typechain/factories/@pythnetwork/pyth-sdk-solidity/index.js.map +1 -0
  687. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1374 -0
  688. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1784 -0
  689. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -0
  690. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1311 -0
  691. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1698 -0
  692. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -0
  693. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +865 -0
  694. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +1130 -0
  695. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -0
  696. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +1089 -0
  697. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +1413 -0
  698. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -0
  699. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1452 -0
  700. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1886 -0
  701. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -0
  702. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +5 -0
  703. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +17 -0
  704. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -0
  705. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +312 -0
  706. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +417 -0
  707. package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -0
  708. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +752 -0
  709. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +989 -0
  710. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -0
  711. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +756 -0
  712. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +989 -0
  713. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -0
  714. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +396 -0
  715. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +527 -0
  716. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -0
  717. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +2056 -0
  718. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +2676 -0
  719. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -0
  720. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +522 -0
  721. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +691 -0
  722. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -0
  723. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +561 -0
  724. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +743 -0
  725. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js.map +1 -0
  726. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.d.ts +7 -0
  727. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +21 -0
  728. package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -0
  729. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.d.ts +534 -0
  730. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js +706 -0
  731. package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js.map +1 -0
  732. package/dist/nodejs/typechain/factories/contracts/ERC20/index.d.ts +1 -0
  733. package/dist/nodejs/typechain/factories/contracts/ERC20/index.js +9 -0
  734. package/dist/nodejs/typechain/factories/contracts/ERC20/index.js.map +1 -0
  735. package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.d.ts +188 -0
  736. package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.js +250 -0
  737. package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.js.map +1 -0
  738. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.d.ts +65 -0
  739. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js +96 -0
  740. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js.map +1 -0
  741. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.d.ts +237 -0
  742. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js +318 -0
  743. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js.map +1 -0
  744. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.d.ts +197 -0
  745. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.js +267 -0
  746. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.js.map +1 -0
  747. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.d.ts +168 -0
  748. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js +230 -0
  749. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js.map +1 -0
  750. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.d.ts +102 -0
  751. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.js +145 -0
  752. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.js.map +1 -0
  753. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +6 -0
  754. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +41 -0
  755. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -0
  756. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.d.ts +152 -0
  757. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.js +210 -0
  758. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.js.map +1 -0
  759. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/index.d.ts +1 -0
  760. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/index.js +9 -0
  761. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/index.js.map +1 -0
  762. package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.d.ts +67 -0
  763. package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js +98 -0
  764. package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js.map +1 -0
  765. package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.d.ts +141 -0
  766. package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.js +200 -0
  767. package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.js.map +1 -0
  768. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.d.ts +357 -0
  769. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.js +481 -0
  770. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.js.map +1 -0
  771. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.d.ts +1 -0
  772. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.js +9 -0
  773. package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.js.map +1 -0
  774. package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.d.ts +705 -0
  775. package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.js +922 -0
  776. package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.js.map +1 -0
  777. package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.d.ts +43 -0
  778. package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.js +66 -0
  779. package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.js.map +1 -0
  780. package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.d.ts +133 -0
  781. package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.js +184 -0
  782. package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.js.map +1 -0
  783. package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.d.ts +803 -0
  784. package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.js +1052 -0
  785. package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.js.map +1 -0
  786. package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.d.ts +177 -0
  787. package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.js +240 -0
  788. package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.js.map +1 -0
  789. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.d.ts +105 -0
  790. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.js +147 -0
  791. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.js.map +1 -0
  792. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.d.ts +119 -0
  793. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.js +166 -0
  794. package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.js.map +1 -0
  795. package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.d.ts +65 -0
  796. package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js +96 -0
  797. package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js.map +1 -0
  798. package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.d.ts +35 -0
  799. package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.js +58 -0
  800. package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.js.map +1 -0
  801. package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.d.ts +147 -0
  802. package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.js +204 -0
  803. package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.js.map +1 -0
  804. package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.d.ts +284 -0
  805. package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.js +382 -0
  806. package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.js.map +1 -0
  807. package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.d.ts +69 -0
  808. package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.js +102 -0
  809. package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.js.map +1 -0
  810. package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.d.ts +27 -0
  811. package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.js +46 -0
  812. package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.js.map +1 -0
  813. package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.d.ts +61 -0
  814. package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.js +89 -0
  815. package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.js.map +1 -0
  816. package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.d.ts +17 -0
  817. package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.js +33 -0
  818. package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.js.map +1 -0
  819. package/dist/nodejs/typechain/factories/contracts/Interface/index.d.ts +18 -0
  820. package/dist/nodejs/typechain/factories/contracts/Interface/index.js +65 -0
  821. package/dist/nodejs/typechain/factories/contracts/Interface/index.js.map +1 -0
  822. package/dist/nodejs/typechain/factories/contracts/Interfaces/IAccountLiquidity__factory.d.ts +67 -0
  823. package/dist/nodejs/typechain/factories/contracts/Interfaces/IAccountLiquidity__factory.js +98 -0
  824. package/dist/nodejs/typechain/factories/contracts/Interfaces/IAccountLiquidity__factory.js.map +1 -0
  825. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.d.ts +141 -0
  826. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js +200 -0
  827. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js.map +1 -0
  828. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +357 -0
  829. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +481 -0
  830. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -0
  831. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/index.d.ts +1 -0
  832. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/index.js +9 -0
  833. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/index.js.map +1 -0
  834. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +705 -0
  835. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +922 -0
  836. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -0
  837. package/dist/nodejs/typechain/factories/contracts/Interfaces/IChainlinkFeed__factory.d.ts +43 -0
  838. package/dist/nodejs/typechain/factories/contracts/Interfaces/IChainlinkFeed__factory.js +66 -0
  839. package/dist/nodejs/typechain/factories/contracts/Interfaces/IChainlinkFeed__factory.js.map +1 -0
  840. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +133 -0
  841. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +184 -0
  842. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -0
  843. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +803 -0
  844. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +1052 -0
  845. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -0
  846. package/dist/nodejs/typechain/factories/contracts/Interfaces/IEIP20NonStandard__factory.d.ts +177 -0
  847. package/dist/nodejs/typechain/factories/contracts/Interfaces/IEIP20NonStandard__factory.js +240 -0
  848. package/dist/nodejs/typechain/factories/contracts/Interfaces/IEIP20NonStandard__factory.js.map +1 -0
  849. package/dist/nodejs/typechain/factories/contracts/Interfaces/IGovernorAlpha__factory.d.ts +105 -0
  850. package/dist/nodejs/typechain/factories/contracts/Interfaces/IGovernorAlpha__factory.js +147 -0
  851. package/dist/nodejs/typechain/factories/contracts/Interfaces/IGovernorAlpha__factory.js.map +1 -0
  852. package/dist/nodejs/typechain/factories/contracts/Interfaces/IGovernorBravo__factory.d.ts +119 -0
  853. package/dist/nodejs/typechain/factories/contracts/Interfaces/IGovernorBravo__factory.js +166 -0
  854. package/dist/nodejs/typechain/factories/contracts/Interfaces/IGovernorBravo__factory.js.map +1 -0
  855. package/dist/nodejs/typechain/factories/contracts/Interfaces/IInterestRateModel__factory.d.ts +65 -0
  856. package/dist/nodejs/typechain/factories/contracts/Interfaces/IInterestRateModel__factory.js +96 -0
  857. package/dist/nodejs/typechain/factories/contracts/Interfaces/IInterestRateModel__factory.js.map +1 -0
  858. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPriceOracle__factory.d.ts +35 -0
  859. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPriceOracle__factory.js +58 -0
  860. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPriceOracle__factory.js.map +1 -0
  861. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.d.ts +147 -0
  862. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.js +204 -0
  863. package/dist/nodejs/typechain/factories/contracts/Interfaces/IRedemptionManager__factory.js.map +1 -0
  864. package/dist/nodejs/typechain/factories/contracts/Interfaces/ISortedBorrows__factory.d.ts +284 -0
  865. package/dist/nodejs/typechain/factories/contracts/Interfaces/ISortedBorrows__factory.js +382 -0
  866. package/dist/nodejs/typechain/factories/contracts/Interfaces/ISortedBorrows__factory.js.map +1 -0
  867. package/dist/nodejs/typechain/factories/contracts/Interfaces/IStdReference__factory.d.ts +69 -0
  868. package/dist/nodejs/typechain/factories/contracts/Interfaces/IStdReference__factory.js +102 -0
  869. package/dist/nodejs/typechain/factories/contracts/Interfaces/IStdReference__factory.js.map +1 -0
  870. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.d.ts +188 -0
  871. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js +250 -0
  872. package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js.map +1 -0
  873. package/dist/nodejs/typechain/factories/contracts/Interfaces/IUnitroller__factory.d.ts +27 -0
  874. package/dist/nodejs/typechain/factories/contracts/Interfaces/IUnitroller__factory.js +46 -0
  875. package/dist/nodejs/typechain/factories/contracts/Interfaces/IUnitroller__factory.js.map +1 -0
  876. package/dist/nodejs/typechain/factories/contracts/Interfaces/IVoltPair__factory.d.ts +61 -0
  877. package/dist/nodejs/typechain/factories/contracts/Interfaces/IVoltPair__factory.js +89 -0
  878. package/dist/nodejs/typechain/factories/contracts/Interfaces/IVoltPair__factory.js.map +1 -0
  879. package/dist/nodejs/typechain/factories/contracts/Interfaces/IWitnetFeed__factory.d.ts +17 -0
  880. package/dist/nodejs/typechain/factories/contracts/Interfaces/IWitnetFeed__factory.js +33 -0
  881. package/dist/nodejs/typechain/factories/contracts/Interfaces/IWitnetFeed__factory.js.map +1 -0
  882. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +19 -0
  883. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +67 -0
  884. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -0
  885. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +257 -0
  886. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +351 -0
  887. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js.map +1 -0
  888. package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.d.ts +146 -0
  889. package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.js +199 -0
  890. package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.js.map +1 -0
  891. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.d.ts +414 -0
  892. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js +547 -0
  893. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js.map +1 -0
  894. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +394 -0
  895. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +521 -0
  896. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -0
  897. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle__factory.d.ts +31 -0
  898. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle__factory.js +52 -0
  899. package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle__factory.js.map +1 -0
  900. package/dist/nodejs/typechain/factories/contracts/Oracle/PythOracle__factory.d.ts +254 -0
  901. package/dist/nodejs/typechain/factories/contracts/Oracle/PythOracle__factory.js +343 -0
  902. package/dist/nodejs/typechain/factories/contracts/Oracle/PythOracle__factory.js.map +1 -0
  903. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +6 -0
  904. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +41 -0
  905. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -0
  906. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/IWstMTRG__factory.d.ts +17 -0
  907. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/IWstMTRG__factory.js +33 -0
  908. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/IWstMTRG__factory.js.map +1 -0
  909. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.d.ts +272 -0
  910. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.js +369 -0
  911. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/WstMTRGOracle__factory.js.map +1 -0
  912. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/index.d.ts +2 -0
  913. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/index.js +11 -0
  914. package/dist/nodejs/typechain/factories/contracts/Oracle/wstMTRGOracle.sol/index.js.map +1 -0
  915. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/ICToken__factory.d.ts +27 -0
  916. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/ICToken__factory.js +46 -0
  917. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/ICToken__factory.js.map +1 -0
  918. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.d.ts +672 -0
  919. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.js +879 -0
  920. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.js.map +1 -0
  921. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/index.d.ts +2 -0
  922. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/index.js +11 -0
  923. package/dist/nodejs/typechain/factories/contracts/Timelock.sol/index.js.map +1 -0
  924. package/dist/nodejs/typechain/factories/contracts/index.d.ts +11 -0
  925. package/dist/nodejs/typechain/factories/contracts/index.js +43 -0
  926. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -0
  927. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +137 -0
  928. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +189 -0
  929. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js.map +1 -0
  930. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +79 -0
  931. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +114 -0
  932. package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js.map +1 -0
  933. package/dist/nodejs/typechain/factories/contracts/proxy/index.d.ts +2 -0
  934. package/dist/nodejs/typechain/factories/contracts/proxy/index.js +11 -0
  935. package/dist/nodejs/typechain/factories/contracts/proxy/index.js.map +1 -0
  936. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +813 -0
  937. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1064 -0
  938. package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js.map +1 -0
  939. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.d.ts +781 -0
  940. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.js +1034 -0
  941. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/FraxGaugeController__factory.js.map +1 -0
  942. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/VotingEscrow__factory.d.ts +58 -0
  943. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/VotingEscrow__factory.js +89 -0
  944. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/VotingEscrow__factory.js.map +1 -0
  945. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/index.d.ts +2 -0
  946. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/index.js +11 -0
  947. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeController.sol/index.js.map +1 -0
  948. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +335 -0
  949. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +446 -0
  950. package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js.map +1 -0
  951. package/dist/nodejs/typechain/factories/contracts/stake/IFraxGaugeController__factory.d.ts +552 -0
  952. package/dist/nodejs/typechain/factories/contracts/stake/IFraxGaugeController__factory.js +741 -0
  953. package/dist/nodejs/typechain/factories/contracts/stake/IFraxGaugeController__factory.js.map +1 -0
  954. package/dist/nodejs/typechain/factories/contracts/stake/IFraxGaugeFXSRewardsDistributor__factory.d.ts +215 -0
  955. package/dist/nodejs/typechain/factories/contracts/stake/IFraxGaugeFXSRewardsDistributor__factory.js +292 -0
  956. package/dist/nodejs/typechain/factories/contracts/stake/IFraxGaugeFXSRewardsDistributor__factory.js.map +1 -0
  957. package/dist/nodejs/typechain/factories/contracts/stake/IUniswapV2Pair__factory.d.ts +512 -0
  958. package/dist/nodejs/typechain/factories/contracts/stake/IUniswapV2Pair__factory.js +671 -0
  959. package/dist/nodejs/typechain/factories/contracts/stake/IUniswapV2Pair__factory.js.map +1 -0
  960. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1153 -0
  961. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +1508 -0
  962. package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js.map +1 -0
  963. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/SmartWalletChecker__factory.d.ts +21 -0
  964. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/SmartWalletChecker__factory.js +39 -0
  965. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/SmartWalletChecker__factory.js.map +1 -0
  966. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1232 -0
  967. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1612 -0
  968. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -0
  969. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/index.d.ts +2 -0
  970. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/index.js +11 -0
  971. package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/index.js.map +1 -0
  972. package/dist/nodejs/typechain/factories/contracts/stake/index.d.ts +8 -0
  973. package/dist/nodejs/typechain/factories/contracts/stake/index.js +44 -0
  974. package/dist/nodejs/typechain/factories/contracts/stake/index.js.map +1 -0
  975. package/dist/nodejs/typechain/factories/index.d.ts +3 -0
  976. package/dist/nodejs/typechain/factories/index.js +33 -0
  977. package/dist/nodejs/typechain/factories/index.js.map +1 -0
  978. package/dist/nodejs/typechain/hardhat.d.ts +1773 -0
  979. package/dist/nodejs/typechain/index.d.ts +193 -0
  980. package/dist/nodejs/typechain/index.js +215 -0
  981. package/dist/nodejs/typechain/index.js.map +1 -0
  982. package/dist/nodejs/{types/index.d.ts → types.d.ts} +21 -34
  983. package/dist/nodejs/types.js +3 -0
  984. package/dist/nodejs/types.js.map +1 -0
  985. package/dist/nodejs/util.d.ts +6 -3
  986. package/dist/nodejs/util.js +57 -50
  987. package/dist/nodejs/util.js.map +1 -1
  988. package/package.json +38 -24
  989. package/.eslintrc.js +0 -20
  990. package/LICENSE +0 -12
  991. package/_config.yml +0 -3
  992. package/dist/nodejs/api.d.ts +0 -111
  993. package/dist/nodejs/api.js +0 -200
  994. package/dist/nodejs/api.js.map +0 -1
  995. package/dist/nodejs/priceFeed.d.ts +0 -34
  996. package/dist/nodejs/priceFeed.js +0 -194
  997. package/dist/nodejs/priceFeed.js.map +0 -1
  998. package/dist/nodejs/test.d.ts +0 -1
  999. package/dist/nodejs/test.js +0 -6
  1000. package/dist/nodejs/test.js.map +0 -1
  1001. package/dist/nodejs/types/index.js +0 -3
  1002. package/dist/nodejs/types/index.js.map +0 -1
  1003. package/dist/nodejs/vToken.js +0 -421
  1004. package/dist/nodejs/vToken.js.map +0 -1
  1005. package/docs/assets/css/main.css +0 -2679
  1006. package/docs/assets/images/icons.png +0 -0
  1007. package/docs/assets/images/icons@2x.png +0 -0
  1008. package/docs/assets/images/widgets.png +0 -0
  1009. package/docs/assets/images/widgets@2x.png +0 -0
  1010. package/docs/assets/js/main.js +0 -1
  1011. package/docs/assets/js/search.json +0 -1
  1012. package/docs/globals.html +0 -145
  1013. package/docs/index.html +0 -351
  1014. package/docs/modules/_api_.html +0 -361
  1015. package/docs/modules/_comp_.html +0 -1016
  1016. package/docs/modules/_comptroller_.html +0 -241
  1017. package/docs/modules/_constants_.html +0 -96
  1018. package/docs/modules/_eip712_.html +0 -96
  1019. package/docs/modules/_eth_.html +0 -339
  1020. package/docs/modules/_gov_.html +0 -336
  1021. package/docs/modules/_helpers_.html +0 -96
  1022. package/docs/modules/_index_.html +0 -196
  1023. package/docs/modules/_pricefeed_.html +0 -197
  1024. package/docs/modules/_types_index_.html +0 -96
  1025. package/docs/modules/_util_.html +0 -269
  1026. package/docs/modules/_vtoken_.html +0 -423
  1027. package/examples/README.md +0 -18
  1028. package/examples/nodejs/balanceOf.js +0 -23
  1029. package/examples/nodejs/borrow.js +0 -52
  1030. package/examples/nodejs/config.js +0 -3
  1031. package/examples/nodejs/eth_call.js +0 -21
  1032. package/examples/nodejs/eth_sendTransaction.js +0 -42
  1033. package/examples/nodejs/getAddress.js +0 -8
  1034. package/examples/nodejs/getPrice.js +0 -21
  1035. package/examples/nodejs/redeem.js +0 -32
  1036. package/examples/nodejs/repayBorrow.js +0 -56
  1037. package/examples/nodejs/sdrTokenMetadata.js +0 -21
  1038. package/examples/nodejs/supply.js +0 -28
  1039. package/examples/web/index.html +0 -580
  1040. package/examples/web/ropsten.html +0 -581
  1041. package/examples/web/ropstenNative.html +0 -581
  1042. package/rollup.config.ts +0 -41
  1043. package/scripts/README.md +0 -7
  1044. package/scripts/venus-docs.js +0 -236
  1045. package/src/EIP712.ts +0 -153
  1046. package/src/api.ts +0 -212
  1047. package/src/comp.ts +0 -911
  1048. package/src/comptroller.ts +0 -127
  1049. package/src/constants.ts +0 -394
  1050. package/src/eth.ts +0 -351
  1051. package/src/eth.ts.web3 +0 -320
  1052. package/src/gov.ts +0 -209
  1053. package/src/helpers.ts +0 -19
  1054. package/src/index.ts +0 -117
  1055. package/src/priceFeed.ts +0 -169
  1056. package/src/types/index.ts +0 -233
  1057. package/src/util.ts +0 -227
  1058. package/src/vToken.ts +0 -419
  1059. package/test/eth.test.js +0 -12
  1060. package/tsconfig.json +0 -12
  1061. package/typedoc.json +0 -9
  1062. package/unitroller.js +0 -45
@@ -1,370 +1,1109 @@
1
1
  "use strict";
2
- exports.__esModule = true;
3
- exports.errorCodes = exports.decimals = exports.opfAssets = exports.underlyings = exports.cTokens = exports.abi = exports.address = exports.constants = void 0;
4
- // Publicly revealed on the parent class
5
- exports.constants = {
6
- 'PriceFeed': 'PriceFeed',
7
- 'Maximillion': 'Maximillion',
8
- 'CompoundLens': 'CompoundLens',
9
- 'GovernorAlpha': 'GovernorAlpha',
10
- 'Comptroller': 'Comptroller',
11
- 'Reservoir': 'Reservoir',
12
- 'KNC': 'KNC',
13
- 'LINK': 'LINK',
14
- 'BTC': 'BTC',
15
- 'cBAT': 'cBAT',
16
- 'cCOMP': 'cCOMP',
17
- 'cDAI': 'cDAI',
18
- 'cETH': 'cETH',
19
- 'cREP': 'cREP',
20
- 'cSAI': 'cSAI',
21
- 'cUSDC': 'cUSDC',
22
- 'cUSDT': 'cUSDT',
23
- 'cWBTC': 'cWBTC',
24
- 'cZRX': 'cZRX',
25
- 'BAT': 'BAT',
26
- 'COMP': 'COMP',
27
- // 'DAI': 'DAI',
28
- 'ETH': 'ETH',
29
- 'REP': 'REP',
30
- 'SAI': 'SAI',
31
- 'UNI': 'UNI',
32
- // 'USDC': 'USDC',
33
- // 'USDT': 'USDT',
34
- 'WBTC': 'WBTC',
35
- 'ZRX': 'ZRX',
36
- // venus constants
37
- 'BUSD': 'BUSD',
38
- 'USDC': 'USDC',
39
- 'USDT': 'USDT',
40
- 'SXP': 'SXP',
41
- 'XVS': 'XVS',
42
- 'BNB': 'BNB',
43
- //sumer on heco
44
- 'suUSD': 'suUSD',
45
- 'HT': 'HT',
46
- 'HETH': 'HETH',
47
- 'HUSD': 'HUSD',
48
- 'sdrHT': 'sdrHT',
49
- 'sdrHETH': 'sdrHETH',
50
- 'sdrHUSD': 'sdrHUSD',
51
- // sumer on ropsten (and Eth)
52
- 'WETH': 'WETH',
53
- 'MTRG': 'MTRG',
54
- 'sdrUSDT': 'sdrUSDT',
55
- 'sdrETH': 'sdrETH',
56
- 'sdrMTRG': 'sdrMTRG'
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isEther = exports.getDecimalsOfUnderly = exports.getDecimals = exports.isUnderlyAllowed = exports.isCTokenAllowed = exports.getName = exports.getAddress = exports.getRateModals = exports.getTokenPairs = exports.constants = exports.abi = void 0;
4
+ var abi_1 = require("./abi");
5
+ Object.defineProperty(exports, "abi", { enumerable: true, get: function () { return abi_1.abi; } });
6
+ const defPair = (ctokenSym, underlySym, ctokenDecimal = 18, underlyDecimal = 18, ctokenIsEther = false) => {
7
+ return { ctokenSym, underlySym, ctokenDecimal, underlyDecimal, ctokenIsEther };
8
+ };
9
+ const tokenPairs = {
10
+ kcc: [
11
+ defPair('cUSDT', 'USDT'),
12
+ defPair('cETH', 'ETH'),
13
+ defPair('cBTCK', 'BTCK'),
14
+ defPair('cUSDC', 'USDC'),
15
+ defPair('csuUSD', 'suUSD'),
16
+ defPair('csuBTC', 'suBTC'),
17
+ defPair('csuETH', 'suETH'),
18
+ // defPair('cKCS', 'KCS', 18, 18, true),
19
+ ],
20
+ kcctest: [
21
+ defPair('cUSDT', 'USDT'),
22
+ defPair('cETH', 'ETH'),
23
+ defPair('cBTCK', 'BTCK'),
24
+ defPair('cUSDC', 'USDC'),
25
+ defPair('csuUSD', 'suUSD'),
26
+ defPair('csuBTC', 'suBTC'),
27
+ defPair('csuETH', 'suETH'),
28
+ // defPair('cTKCS', 'TKCS', 18, 18, true),
29
+ ],
30
+ rinkeby: [
31
+ defPair('cUSDT', 'USDT'),
32
+ // defPair('cMTRG', 'MTRG'),
33
+ defPair('cWBTC', 'WBTC'),
34
+ defPair('cUSDC', 'USDC'),
35
+ defPair('csuUSD', 'suUSD'),
36
+ defPair('csuBTC', 'suBTC'),
37
+ defPair('csuETH', 'suETH'),
38
+ defPair('cETH', 'ETH', 18, 18, true),
39
+ ],
40
+ metermain: [
41
+ {
42
+ ctokenSym: 'sdrUSDC.eth',
43
+ underlySym: 'USDC.eth',
44
+ ctokenDecimal: 6,
45
+ underlyDecimal: 6,
46
+ ctokenIsEther: false,
47
+ },
48
+ {
49
+ ctokenSym: 'sdrUSDT.eth',
50
+ underlySym: 'USDT.eth',
51
+ ctokenDecimal: 6,
52
+ underlyDecimal: 6,
53
+ ctokenIsEther: false,
54
+ },
55
+ {
56
+ ctokenSym: 'sdrMTRG',
57
+ underlySym: 'MTRG',
58
+ ctokenDecimal: 18,
59
+ underlyDecimal: 18,
60
+ ctokenIsEther: false,
61
+ },
62
+ {
63
+ ctokenSym: 'sdrwstMTRG',
64
+ underlySym: 'wstMTRG',
65
+ ctokenDecimal: 18,
66
+ underlyDecimal: 18,
67
+ ctokenIsEther: false,
68
+ },
69
+ {
70
+ ctokenSym: 'sdrETH',
71
+ underlySym: 'ETH',
72
+ ctokenDecimal: 18,
73
+ underlyDecimal: 18,
74
+ ctokenIsEther: false,
75
+ },
76
+ {
77
+ ctokenSym: 'sdrsuUSD',
78
+ underlySym: 'suUSD',
79
+ ctokenDecimal: 18,
80
+ underlyDecimal: 18,
81
+ ctokenIsEther: false,
82
+ },
83
+ {
84
+ ctokenSym: 'sdrsuETH',
85
+ underlySym: 'suETH',
86
+ ctokenDecimal: 18,
87
+ underlyDecimal: 18,
88
+ ctokenIsEther: false,
89
+ },
90
+ ],
91
+ metertest: [
92
+ {
93
+ ctokenSym: 'sdrUSDC',
94
+ underlySym: 'USDC',
95
+ ctokenDecimal: 6,
96
+ underlyDecimal: 6,
97
+ ctokenIsEther: false,
98
+ },
99
+ {
100
+ ctokenSym: 'sdrUSDT',
101
+ underlySym: 'USDT',
102
+ ctokenDecimal: 6,
103
+ underlyDecimal: 6,
104
+ ctokenIsEther: false,
105
+ },
106
+ {
107
+ ctokenSym: 'sdrMTRG',
108
+ underlySym: 'MTRG',
109
+ ctokenDecimal: 18,
110
+ underlyDecimal: 18,
111
+ ctokenIsEther: false,
112
+ },
113
+ {
114
+ ctokenSym: 'sdrwstMTRG',
115
+ underlySym: 'wstMTRG',
116
+ ctokenDecimal: 18,
117
+ underlyDecimal: 18,
118
+ ctokenIsEther: false,
119
+ },
120
+ {
121
+ ctokenSym: 'sdrETH',
122
+ underlySym: 'ETH',
123
+ ctokenDecimal: 18,
124
+ underlyDecimal: 18,
125
+ ctokenIsEther: false,
126
+ },
127
+ {
128
+ ctokenSym: 'sdrsuUSD',
129
+ underlySym: 'suUSD',
130
+ ctokenDecimal: 18,
131
+ underlyDecimal: 18,
132
+ ctokenIsEther: false,
133
+ },
134
+ {
135
+ ctokenSym: 'sdrsuETH',
136
+ underlySym: 'suETH',
137
+ ctokenDecimal: 18,
138
+ underlyDecimal: 18,
139
+ ctokenIsEther: false,
140
+ },
141
+ {
142
+ ctokenSym: 'sdrMTR',
143
+ underlySym: 'MTR',
144
+ ctokenDecimal: 18,
145
+ underlyDecimal: 18,
146
+ ctokenIsEther: true,
147
+ },
148
+ ],
149
+ basetest: [
150
+ {
151
+ ctokenSym: 'sdrUSDC',
152
+ underlySym: 'USDC',
153
+ ctokenDecimal: 6,
154
+ underlyDecimal: 6,
155
+ ctokenIsEther: false,
156
+ },
157
+ {
158
+ ctokenSym: 'sdrUSDT',
159
+ underlySym: 'USDT',
160
+ ctokenDecimal: 6,
161
+ underlyDecimal: 6,
162
+ ctokenIsEther: false,
163
+ },
164
+ {
165
+ ctokenSym: 'sdrBTC',
166
+ underlySym: 'BTC',
167
+ ctokenDecimal: 8,
168
+ underlyDecimal: 8,
169
+ ctokenIsEther: false,
170
+ },
171
+ {
172
+ ctokenSym: 'sdrsuUSD',
173
+ underlySym: 'suUSD',
174
+ ctokenDecimal: 18,
175
+ underlyDecimal: 18,
176
+ ctokenIsEther: false,
177
+ },
178
+ {
179
+ ctokenSym: 'sdrsuETH',
180
+ underlySym: 'suETH',
181
+ ctokenDecimal: 18,
182
+ underlyDecimal: 18,
183
+ ctokenIsEther: false,
184
+ },
185
+ {
186
+ ctokenSym: 'sdrsuBTC',
187
+ underlySym: 'suBTC',
188
+ ctokenDecimal: 18,
189
+ underlyDecimal: 18,
190
+ ctokenIsEther: false,
191
+ },
192
+ {
193
+ ctokenSym: 'sdrETH',
194
+ underlySym: 'ETH',
195
+ ctokenDecimal: 18,
196
+ underlyDecimal: 18,
197
+ ctokenIsEther: true,
198
+ },
199
+ ],
200
+ sepolia: [
201
+ {
202
+ ctokenSym: 'sdrUSDC',
203
+ underlySym: 'USDC',
204
+ ctokenDecimal: 6,
205
+ underlyDecimal: 6,
206
+ ctokenIsEther: false,
207
+ },
208
+ {
209
+ ctokenSym: 'sdrDAI',
210
+ underlySym: 'DAI',
211
+ ctokenDecimal: 18,
212
+ underlyDecimal: 18,
213
+ ctokenIsEther: false,
214
+ },
215
+ {
216
+ ctokenSym: 'sdrsuUSD',
217
+ underlySym: 'suUSD',
218
+ ctokenDecimal: 18,
219
+ underlyDecimal: 18,
220
+ ctokenIsEther: false,
221
+ },
222
+ {
223
+ ctokenSym: 'sdrsuETH',
224
+ underlySym: 'suETH',
225
+ ctokenDecimal: 18,
226
+ underlyDecimal: 18,
227
+ ctokenIsEther: false,
228
+ },
229
+ {
230
+ ctokenSym: 'sdrETH',
231
+ underlySym: 'ETH',
232
+ ctokenDecimal: 18,
233
+ underlyDecimal: 18,
234
+ ctokenIsEther: true,
235
+ },
236
+ ],
237
+ zktest: [
238
+ defPair('cETH', 'ETH', 18, 18, true),
239
+ defPair('cBTC', 'BTC', 8, 8),
240
+ defPair('cUSDC', 'USDC', 6, 6),
241
+ defPair('cDAI', 'DAI'),
242
+ defPair('cLINK', 'LINK'),
243
+ defPair('csuETH', 'suETH'),
244
+ defPair('csuBTC', 'suBTC'),
245
+ defPair('csuUSD', 'suUSD'),
246
+ ],
247
+ meter: [
248
+ {
249
+ ctokenSym: 'sdrUSDC.eth',
250
+ underlySym: 'USDC.eth',
251
+ ctokenDecimal: 6,
252
+ underlyDecimal: 6,
253
+ ctokenIsEther: false,
254
+ },
255
+ {
256
+ ctokenSym: 'sdrUSDT.eth',
257
+ underlySym: 'USDT.eth',
258
+ ctokenDecimal: 6,
259
+ underlyDecimal: 6,
260
+ ctokenIsEther: false,
261
+ },
262
+ {
263
+ ctokenSym: 'sdrMTRG',
264
+ underlySym: 'MTRG',
265
+ ctokenDecimal: 18,
266
+ underlyDecimal: 18,
267
+ ctokenIsEther: false,
268
+ },
269
+ {
270
+ ctokenSym: 'sdrwstMTRG',
271
+ underlySym: 'wstMTRG',
272
+ ctokenDecimal: 18,
273
+ underlyDecimal: 18,
274
+ ctokenIsEther: false,
275
+ },
276
+ {
277
+ ctokenSym: 'sdrETH',
278
+ underlySym: 'ETH',
279
+ ctokenDecimal: 18,
280
+ underlyDecimal: 18,
281
+ ctokenIsEther: false,
282
+ },
283
+ {
284
+ ctokenSym: 'sdrsuUSD',
285
+ underlySym: 'suUSD',
286
+ ctokenDecimal: 18,
287
+ underlyDecimal: 18,
288
+ ctokenIsEther: false,
289
+ },
290
+ {
291
+ ctokenSym: 'sdrsuETH',
292
+ underlySym: 'suETH',
293
+ ctokenDecimal: 18,
294
+ underlyDecimal: 18,
295
+ ctokenIsEther: false,
296
+ },
297
+ ],
298
+ arbitrum: [
299
+ {
300
+ ctokenSym: 'sdrUSDC',
301
+ underlySym: 'USDC',
302
+ ctokenDecimal: 6,
303
+ underlyDecimal: 6,
304
+ ctokenIsEther: false,
305
+ },
306
+ {
307
+ ctokenSym: 'sdrUSDT',
308
+ underlySym: 'USDT',
309
+ ctokenDecimal: 6,
310
+ underlyDecimal: 6,
311
+ ctokenIsEther: false,
312
+ },
313
+ {
314
+ ctokenSym: 'sdrDAI',
315
+ underlySym: 'DAI',
316
+ ctokenDecimal: 18,
317
+ underlyDecimal: 18,
318
+ ctokenIsEther: false,
319
+ },
320
+ {
321
+ ctokenSym: 'sdrwstETH',
322
+ underlySym: 'wstETH',
323
+ ctokenDecimal: 18,
324
+ underlyDecimal: 18,
325
+ ctokenIsEther: false,
326
+ },
327
+ {
328
+ ctokenSym: 'sdrRETH',
329
+ underlySym: 'RETH',
330
+ ctokenDecimal: 18,
331
+ underlyDecimal: 18,
332
+ ctokenIsEther: false,
333
+ },
334
+ {
335
+ ctokenSym: 'sdrWBTC',
336
+ underlySym: 'WBTC',
337
+ ctokenDecimal: 8,
338
+ underlyDecimal: 8,
339
+ ctokenIsEther: false,
340
+ },
341
+ {
342
+ ctokenSym: 'sdrARB',
343
+ underlySym: 'ARB',
344
+ ctokenDecimal: 18,
345
+ underlyDecimal: 18,
346
+ ctokenIsEther: false,
347
+ },
348
+ {
349
+ ctokenSym: 'sdrsuUSD',
350
+ underlySym: 'suUSD',
351
+ ctokenDecimal: 18,
352
+ underlyDecimal: 18,
353
+ ctokenIsEther: false,
354
+ },
355
+ {
356
+ ctokenSym: 'sdrsuETH',
357
+ underlySym: 'suETH',
358
+ ctokenDecimal: 18,
359
+ underlyDecimal: 18,
360
+ ctokenIsEther: false,
361
+ },
362
+ {
363
+ ctokenSym: 'sdrsuBTC',
364
+ underlySym: 'suBTC',
365
+ ctokenDecimal: 18,
366
+ underlyDecimal: 18,
367
+ ctokenIsEther: false,
368
+ },
369
+ {
370
+ ctokenSym: 'sdrETH',
371
+ underlySym: 'ETH',
372
+ ctokenDecimal: 18,
373
+ underlyDecimal: 18,
374
+ ctokenIsEther: true,
375
+ },
376
+ ],
377
+ base: [
378
+ {
379
+ ctokenSym: 'sdrUSDC',
380
+ underlySym: 'USDC',
381
+ ctokenDecimal: 6,
382
+ underlyDecimal: 6,
383
+ ctokenIsEther: false,
384
+ },
385
+ {
386
+ ctokenSym: 'sdrUSDbc',
387
+ underlySym: 'USDbc',
388
+ ctokenDecimal: 6,
389
+ underlyDecimal: 6,
390
+ ctokenIsEther: false,
391
+ },
392
+ {
393
+ ctokenSym: 'sdrDAI',
394
+ underlySym: 'DAI',
395
+ ctokenDecimal: 18,
396
+ underlyDecimal: 18,
397
+ ctokenIsEther: false,
398
+ },
399
+ {
400
+ ctokenSym: 'sdrwstETH',
401
+ underlySym: 'wstETH',
402
+ ctokenDecimal: 18,
403
+ underlyDecimal: 18,
404
+ ctokenIsEther: false,
405
+ },
406
+ {
407
+ ctokenSym: 'sdrcbETH',
408
+ underlySym: 'cbETH',
409
+ ctokenDecimal: 18,
410
+ underlyDecimal: 18,
411
+ ctokenIsEther: false,
412
+ },
413
+ {
414
+ ctokenSym: 'sdrsuUSD',
415
+ underlySym: 'suUSD',
416
+ ctokenDecimal: 18,
417
+ underlyDecimal: 18,
418
+ ctokenIsEther: false,
419
+ },
420
+ {
421
+ ctokenSym: 'sdrsuETH',
422
+ underlySym: 'suETH',
423
+ ctokenDecimal: 18,
424
+ underlyDecimal: 18,
425
+ ctokenIsEther: false,
426
+ },
427
+ {
428
+ ctokenSym: 'sdrETH',
429
+ underlySym: 'ETH',
430
+ ctokenDecimal: 18,
431
+ underlyDecimal: 18,
432
+ ctokenIsEther: true,
433
+ },
434
+ ],
57
435
  };
58
- exports.address = {
59
- "ropsten": {
60
- "nativeToken": "ETH",
61
- "SumerLens": "0x8793d778302937D54BBB429bc717805d5E37eae0",
62
- "Comptroller": "0x2527a386D485E88d3abE3FD4E3D596784bCB6175",
63
- "Maximillion": "0xE0a38ab2951B6525C33f20D5E637Ab24DFEF9bcB",
64
- "PriceFeed": "0xfC41492092294A83eB8543489aA58E68AFb3451A",
65
- "suUSD": "0x725f21833d4bfB45dA03CdFE37b1E94C7D1E3064",
66
- "Sumer": "0x1AE491ACB56C4C34d3463965F802E5f730843829",
67
- "sdrETH": "0x3C28Ea44b6a578d4926B2581e1B8942B1b3B86d7",
68
- "sdrUSDT": "0x2Af3Fc41Dfad3827FbC58227651d7348A5D765E1",
69
- "sdrMTRG": "0xd2BD291A1E30dC7BF0C6A2994d2e0BFF11F58584",
70
- "MTRG": "0x48a6fd66512d45006fc0426576c264d03dfda304",
71
- "WETH": "0xc778417e063141139fce010982780140aa0cd5ab",
72
- "USDT": "0x76F2c2C3380587252076a8de5C7147c6a185127d"
436
+ const symbols = {};
437
+ for (const network in tokenPairs) {
438
+ const pairs = tokenPairs[network];
439
+ for (const p of pairs) {
440
+ symbols[p.ctokenSym] = p.ctokenSym;
441
+ symbols[p.underlySym] = p.underlySym;
442
+ }
443
+ }
444
+ // Publicly revealed on the parent class
445
+ exports.constants = Object.assign({ PriceFeed: 'PriceFeed', Maximillion: 'Maximillion', CompoundLens: 'CompoundLens', GovernorBravo: 'GovernorBravo', Comptroller: 'Comptroller', Reservoir: 'Reservoir', UnderwriterAdmin: 'UnderwriterAdmin', PriceOracle: 'PriceOracle', StdComptroller: 'StdComptroller', WhitepaperInterestRate: 'WhitepaperInterestRate' }, symbols);
446
+ const address = {
447
+ meter: {
448
+ Multicall2: '0xcA11bde05977b3631167028862bE2a173976CA11',
449
+ SUMER: '0x553d713e0fb958932b6c40abaf0b5a1ffae73da2',
450
+ CompoundLens: '0xA2260F80bb6104d9520d4A7175FeF01F894Eb777',
451
+ FeedPriceOracle: '0xc552E5fcDBc1d9f3E8352961D3A1B62E5E34bd79',
452
+ ZeroInterestRateModel: '0x561f62bd3228B85015CCA2E86C9a709061d96A91',
453
+ AccountLiquidityImpl: '0x44293e4b4e16BE8f9d924FA5f63C5851d83c758e',
454
+ AccountLiquidity: '0x7cBB9605f439d5106506259f5B3112801Ea18084',
455
+ Comptroller: '0x1f90dB121B88d626Ce99B4996f67b0F10e639ae7',
456
+ Unitroller: '0xcB4cdDA50C1B6B0E33F544c98420722093B7Aa88',
457
+ 'USDC.eth': '0xd86e243fc0007e6226b07c9a50c9d70d78299eb5',
458
+ 'sdrUSDC.eth': '0xC211a250FC30122ee107aC9Acf6686110339520f',
459
+ 'USDT.eth': '0x5fa41671c48e3c951afc30816947126ccc8c162e',
460
+ 'sdrUSDT.eth': '0xaCEDC263FF6De824B38cAeAAC1FD877b1a7344a1',
461
+ MTRG: '0x228ebbee999c6a7ad74a6130e81b12f9fe237ba3',
462
+ sdrMTRG: '0x6Ff2fB3F8F175df0A39C344de81A4aaaB05c49eB',
463
+ wstMTRG: '0xe2de616fbd8cb9180b26fcfb1b761a232fe56717',
464
+ sdrwstMTRG: '0x318F6863a8c516dF9C5941AEb328A40f15f525F9',
465
+ ETH: '0x983147fb73a45fc7f8b4dfa1cd61bdc7b111e5b6',
466
+ sdrETH: '0x52e245606Dd37A9addcD2Bb523d319596eB4b851',
467
+ suUSD: '0x8BF591Eae535f93a242D5A954d3Cde648b48A5A8',
468
+ sdrsuUSD: '0x755A39999FE536Ec327Cb84110383BFc30fd0F4D',
469
+ suETH: '0x1c22531AA9747d76fFF8F0A43b37954ca67d28e0',
470
+ sdrsuETH: '0x21c4123f62CA28c9ceF3dDd1c8ae71EE9a5003aE',
471
+ Timelock: '0xFb2426f277A2d33DAb0ce00DF4a4D67c46aa5b3F',
472
+ },
473
+ arbitrum: {
474
+ Multicall2: '0xcA11bde05977b3631167028862bE2a173976CA11',
475
+ SUMER: '0x553d713e0fB958932b6C40ABAf0b5A1fFae73Da2',
476
+ CompoundLens: '0x9aa55bCf3E41D0d98FCe816C4eC6E791B0f6d154',
477
+ FeedPriceOracle: '0x7465fedB29023d11effe8C74E82A7ecEBf15E947',
478
+ ZeroInterestRateModel: '0xc7fFEAa5949d50A408bD92DdB0D1EAcef3F8a3Bc',
479
+ AccountLiquidityImpl: '0x10A2e256Bed7b3c49C151Ad1Bad01F4936FC9276',
480
+ AccountLiquidity: '0xA2e6B85f9A5C90217054350d7893498B8c892546',
481
+ Comptroller: '0x58235d9C8c9f136c0A4e9761186dB0329243bbB8',
482
+ Unitroller: '0xBfb69860C91A22A2287df1Ff3Cdf0476c5aab24A',
483
+ ETH: '0x0000000000000000000000000000000000000000',
484
+ sdrETH: '0x3C752d0D78BbFddA6BF4b6000a01228B732441aE',
485
+ USDC: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
486
+ sdrUSDC: '0x4DE3741E1676ed14d661b1398196dC221cA4D37A',
487
+ USDT: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9',
488
+ sdrUSDT: '0xDb7Fe9c415281E383595c262e49568DDc18e8Bd4',
489
+ DAI: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
490
+ sdrDAI: '0x873449359d2d99691436E724C6C219a39b159B4a',
491
+ wstETH: '0x5979D7b546E38E414F7E9822514be443A4800529',
492
+ sdrwstETH: '0x1167e762541374fEBeeA0f6Ed2AD4473AFa1CcEa',
493
+ RETH: '0xec70dcb4a1efa46b8f2d97c310c9c4790ba5ffa8',
494
+ sdrRETH: '0x1a9CFA6c676ebBEd450dB3cef03e399465F1202C',
495
+ WBTC: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f',
496
+ sdrWBTC: '0x59aC82d3EfB5dc6c4389ccfF7AB7ab6C72C6AC05',
497
+ ARB: '0x912CE59144191C1204E64559FE8253a0e49E6548',
498
+ sdrARB: '0x142017b52c99d3dFe55E49d79Df0bAF7F4478c0c',
499
+ suUSD: '0x8bf591eae535f93a242d5a954d3cde648b48a5a8',
500
+ sdrsuUSD: '0xe4B55045ed14815c7c42eeeF8EE431b89422c389',
501
+ suETH: '0x1c22531aa9747d76fff8f0a43b37954ca67d28e0',
502
+ sdrsuETH: '0x9C93423939C4e3D48d99baD147AD808BE89B2043',
503
+ suBTC: '0xe85411c030fb32a9d8b14bbbc6cb19417391f711',
504
+ sdrsuBTC: '0xAc6bAF36B28d19EA10959102158Beb3d933C1fbf',
505
+ Timelock: '0x42778d0962884510b85d4D1B30DFe9e9Dd270446',
506
+ },
507
+ base: {
508
+ Multicall2: '0xcA11bde05977b3631167028862bE2a173976CA11',
509
+ SUMER: '0x553d713e0fB958932b6C40ABAf0b5A1fFae73Da2',
510
+ CompoundLens: '0xDb7Fe9c415281E383595c262e49568DDc18e8Bd4',
511
+ FeedPriceOracle: '0x60B8067Cf3640bCc7c3b2CfbE6Eac3c2CA40934e',
512
+ ZeroInterestRateModel: '0x341fDb6532154Cec491Aca3D3BB404C2d4cc042E',
513
+ AccountLiquidityImpl: '0x873449359d2d99691436E724C6C219a39b159B4a',
514
+ AccountLiquidity: '0x36C379883c9A293e7DdF76031c4a0AD053eB4bfF',
515
+ Comptroller: '0x1167e762541374fEBeeA0f6Ed2AD4473AFa1CcEa',
516
+ Unitroller: '0x611375907733D9576907E125Fb29704712F0BAfA',
517
+ ETH: '0x0000000000000000000000000000000000000000',
518
+ sdrETH: '0x7b5969bB51fa3B002579D7ee41A454AC691716DC',
519
+ USDC: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
520
+ sdrUSDC: '0x142017b52c99d3dFe55E49d79Df0bAF7F4478c0c',
521
+ USDbc: '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA',
522
+ sdrUSDbc: '0x3389eD4dd777b03B95deb2994ACaF6807cf24c2E',
523
+ DAI: '0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb',
524
+ sdrDAI: '0xA4578AB5CDA88AaE7603aFAB24b4c0d24a7858D1',
525
+ wstETH: '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452',
526
+ sdrwstETH: '0x238d804Cb1F4c0c7495e7b7773c54D75E4C99cdd',
527
+ cbETH: '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22',
528
+ sdrcbETH: '0x6345aF6dA3EBd9DF468e37B473128Fd3079C4a4b',
529
+ suUSD: '0x8bf591eae535f93a242d5a954d3cde648b48a5a8',
530
+ sdrsuUSD: '0xa1aD8481e83a5b279D97ab371bCcd5AE3b446EA6',
531
+ suETH: '0x1c22531aa9747d76fff8f0a43b37954ca67d28e0',
532
+ sdrsuETH: '0x56048C88309CAF13A942d688bfB9654432910d6e',
533
+ Timelock: '0x549D0CdC753601fbE29f9DE186868429a8558E07',
73
534
  },
74
- "mainnet": {
75
- "nativeToken": "ETH",
76
- "PriceFeed": "0x922018674c12a7f0d394ebeef9b58f186cde13c1",
77
- "Maximillion": "0xf859A1AD94BcF445A406B892eF0d3082f4174088",
78
- "CompoundLens": "0x595e9DDfEbd47B54b996c839Ef3Dd97db3ED19bA",
79
- "GovernorAlpha": "0x406f48f47D25E9caa29f17e7Cfbd1dc6878F078f",
80
- "Comptroller": "0xfD36E2c2a6789Db23113685031d7F16329158384",
81
- "Reservoir": "0x2775b1c75658Be0F640272CCb8c72ac986009e38",
82
- "COMP": "0xcF6BB5389c92Bdda8a3747Ddb454cB7a64626C63",
83
- "cBAT": "0x6C8c6b02E7b2BE14d4fA6022Dfd6d75921D90E4E",
84
- "cCOMP": "0x70e36f6bf80a52b3b46b3af8e106cc0ed743e8e4",
85
- "cDAI": "0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643",
86
- "cETH": "0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5",
87
- "cREP": "0x158079Ee67Fce2f58472A96584A73C7Ab9AC95c1",
88
- "cSAI": "0xF5DCe57282A584D2746FaF1593d3121Fcac444dC",
89
- "cUNI": "0x35a18000230da775cac24873d00ff85bccded550",
90
- "cUSDC": "0x39AA39c021dfbaE8faC545936693aC917d5E7563",
91
- "cUSDT": "0xf650C3d88D12dB855b8bf7D11Be6C55A4e07dCC9",
92
- "cWBTC": "0xC11b1268C1A384e55C48c2391d8d480264A3A7F4",
93
- "cZRX": "0xB3319f5D18Bc0D84dD1b4825Dcde5d5f7266d407",
94
- "BAT": "0x0D8775F648430679A709E98d2b0Cb6250d2887EF",
95
- "DAI": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
96
- "REP": "0x1985365e9f78359a9B6AD760e32412f4a445E862",
97
- "SAI": "0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359",
98
- "UNI": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
99
- // "USDC": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
100
- // "USDT": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
101
- "WBTC": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
102
- "ZRX": "0xE41d2489571d322189246DaFA5ebDe1F4699F498",
103
- // bsc mainnet
104
- "vBNB": "0xA07c5b74C9B40447a954e1466938b865b6BBea36",
105
- "vUSDC": "0xecA88125a5ADbe82614ffC12D0DB554E2e2867C8",
106
- "vUSDT": "0xfD5840Cd36d94D7229439859C0112a4185BC0255",
107
- "vSXP": "0x2fF3d0F6990a40261c66E1ff2017aCBc282EB6d0",
108
- "vBUSD": "0x95c78222B3D6e262426483D42CfA53685A67Ab9D",
109
- "vXVS": "0x151B1e2635A717bcDc836ECd6FbB62B674FE3E1D",
110
- "USDC": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
111
- "USDT": "0x55d398326f99059fF775485246999027B3197955",
112
- "SXP": "0x47BEAd2563dCBf3bF2c9407fEa4dC236fAbA485A",
113
- "BUSD": "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",
114
- "XVS": "0xcF6BB5389c92Bdda8a3747Ddb454cB7a64626C63"
535
+ rinkeby: {
536
+ CompoundLens: '0xBb5D4106642aD2D8b541Ad6728a937D4b1985E00',
537
+ Comptroller: '0xB1b5975335Fc733c9ce530E0b546657E3358FBa0',
538
+ FeedPriceOracle: '0xaBe41d68Fa3B89eF96946887d218d97B5D9EB94e',
539
+ USDC: '0x8872e1e6753ad47f52dea2289e1d9e27ac8c2c14',
540
+ USDT: '0xde6c65155248fc8e7a4e92001dbebe56b6330387',
541
+ UnderwriterAdmin: '0xEAf81BCA2F4d4AE7F07Aee497661DD7a1F1D4C45',
542
+ UnderwriterProxy: '0xAe3DFDd07F24f7b618a8aA82a4bDc3f8AdF0D16A',
543
+ Unitroller: '0x63A97B7b0b0334046e9BDC90dcd1392f51405C4c',
544
+ WBTC: '0x1ba21f81f8363872386b0b725b536491c69f6251',
545
+ WhitePaperInterestRateModel: '0xE06758511e4Ee202423671950A795848528A9F4f',
546
+ ZeroInterestRateModel: '0x5E9BEcfcf5F3C3208C5A163B4db99CA4d10d8e2F',
547
+ cETH: '0x5aCF208794448638c07D194C8549fc40Aa8da441',
548
+ cUSDC: '0x87B9a9B05dc361Ed780f6852765C6173Dc8d34Af',
549
+ cUSDCDelegate: '0x7E97fda414B1797e21cFCfE736506a5F50c22515',
550
+ cUSDT: '0xAD837Acef872addD04515677d0907E94e1B3617b',
551
+ cUSDTDelegate: '0xa31836A5839DBfaf4749e713D1d4f23c44857675',
552
+ cWBTC: '0x7d0421D374714f005C411fb0bB3b18Ef76fb716f',
553
+ cWBTCDelegate: '0x4DA450d90b9dcAF21F463cFAF3aA536540028c83',
554
+ csuBTC: '0x1695a5912a666EcE613bAA3541dC56e425d95Dfd',
555
+ csuBTCDelegate: '0x951717030e77840F7F8078Dc93916a7a0e38BA40',
556
+ csuETH: '0xbD079dd5599C998181f1ae0524Dc8FA1112eF3F8',
557
+ csuETHDelegate: '0x0405eF9C2D9605F3c9a0D1b6EA03b3b73238D94E',
558
+ csuUSD: '0x2Dc16F7D30A66Bcc28C1f885cFa4B61C117a3Aa9',
559
+ csuUSDDelegate: '0xe4029A23605D682dB1e82ad3FAc74B4A9bDe638f',
560
+ suBTC: '0xBD4d3df64f7C705Cbae5Ad3a1bC33B9521488f77',
561
+ suETH: '0xf9C889397dC3d15E2902AeC4beb3900AA4ac2af9',
562
+ suUSD: '0x19fE342128F3A6C921199864E621D420232eEef4',
563
+ ETH: '0x0000000000000000000000000000000000000000',
564
+ // old SUMER
565
+ SUMER: '0xE9D328b4114c015Cf08254C448D4f998A45D84bd',
115
566
  },
116
- "rinkeby": {
117
- "nativeToken": "ETH",
118
- "Comptroller": "0xfA32ddC015c5B42e1ae94112F313ff7f1737c413",
119
- "SumerLens": "0x31f60F1C5048AA456cd0d3d805AE5b47F618E446",
120
- "PriceOracle": "0x20b06197b0AeF94d4BCa508293F6b72C23a029C0",
121
- "Maximillion": "0x734cC9bdF86D32c726c38Ed06d49d80073519b37",
122
- "MyFixed": "0x712B2883D7faa6a8c2c7f291111E2d26e9b2bbcB",
123
- "Admin": "0x93A05582Ad5543Af4e6A2A38324d02bf8411b2f3",
124
- "USDT": "0xD39F69AC6B362f6FA4F6cd7eB093Ae6aE0C5AbA6",
125
- "MTRG": "0x1ca543e72803E15E8559eB76e3c72096FBCF8A7d",
126
- "sdrUSDT": "0x6970fA3cBB452425EA9aaF1227EfD6dF74dF4dd1",
127
- "sdrETH": "0xfc7E192eb6B7b660723284DB4dc0855e5B08C8A0",
128
- "sdrMTRG": "0x167F0AA4B2CeA40B02ADbE73E02c137976aCb0db",
129
- "suUSD": "0x1114C63129e60a876Ce882e2e2F14F068aA0Bf75",
130
- "Sumer": "0x3bCa6e93D64AFd1699aaF69A76CCB8f662d453E1"
567
+ kcctest: {
568
+ CompoundLens: '0x30504Dda37259959645a908C2963D73AF420f82A',
569
+ Comptroller: '0xdeEe03D04Efd0f456a90904c031c476e5CE2169A',
570
+ FeedPriceOracle: '0x6CC787B200652D2b4958ac59d0B5660ebBc0194B',
571
+ SUMER: '0x32BD90172B076516032889888f784f20CCECbAbd',
572
+ UnderwriterAdmin: '0xbeDBb78f48375cce0c8912a78E73A917060D7c85',
573
+ UnderwriterProxy: '0xB2707269De04ed04AD3C79c885894374e4Ad6e51',
574
+ Unitroller: '0x58567FaF04aaA9a26649202A05eAA9bAA8C28696',
575
+ WhitePaperInterestRateModel: '0x8E25bd97a5b1b9AEaC3D26A6C08Ea6F43Bdc9dE6',
576
+ ZeroInterestRateModel: '0xB101af5FF5FbFfE706b83104e13a0901237e604b',
577
+ cBTCK: '0x1F95308812282f220c28Fd9E181c1aFbFd68d171',
578
+ cBTCKDelegate: '0xe506FC1cEc14576dC6A56b61131748df0e62eBaf',
579
+ cETH: '0x8c0CA7d6FD36A2EDfFa524Bd386725872DaCF46d',
580
+ cETHDelegate: '0x935df671F499D5bBF2A4b3c18f2A948A59DB1aA9',
581
+ cUSDC: '0xFCAAEcA2431Bfcd960815DF827EE8Bcea07335DB',
582
+ cUSDCDelegate: '0xb99ec85CC5e74B61E9C22b9993E3107d8676DFAd',
583
+ cUSDT: '0x96FB8F0f155d944f1c8bCf221e4Bf050eB2Fb679',
584
+ cUSDTDelegate: '0xFC8F5687C5B94E56b637A1A2Bd7CeBEf05d0f608',
585
+ csuBTC: '0xBB77FeEF69712126E113490020958342aFcD13B3',
586
+ csuBTCDelegate: '0x024c5fB3ebDaB067ff89D31BF738e0bC9e93eAdb',
587
+ csuETH: '0x2F92DCdeB0cC0F816CB0B072BF37bfe422506195',
588
+ csuETHDelegate: '0xf858214A3a95901188846853615cD0b53Cb04C83',
589
+ csuUSD: '0xC234ED37413EFb40d7f0940929d126bF2ba70f73',
590
+ csuUSDDelegate: '0xBD8796b29633599E74A7084D40aE721aD0Ef7Dc8',
591
+ suBTC: '0xBD4d3df64f7C705Cbae5Ad3a1bC33B9521488f77',
592
+ suETH: '0xf9C889397dC3d15E2902AeC4beb3900AA4ac2af9',
593
+ suUSD: '0x19fE342128F3A6C921199864E621D420232eEef4',
594
+ USDT: '0x3765f40e2F5dfe1b3A5ae124331929e59d6157D2',
595
+ USDC: '0xf60b2DB9567D7402f40f6324e9A0E196aDF2C7a4',
596
+ ETH: '0x0cf649c095096A7142Cf844895ebCD2BfB299933',
597
+ BTCK: '0x07670d43C518372af1E48c62F3b1dBab7CA29185',
598
+ cKCS: '0xbFEDF841e6c9cc12614b6850FF83764DfFC3B2c5',
599
+ KCS: '0x0000000000000000000000000000000000000000',
131
600
  },
132
- "goerli": {
133
- "nativeToken": "ETH",
134
- "PriceFeed": "0xd0c84453b3945cd7e84BF7fc53BfFd6718913B71",
135
- "Maximillion": "0x73d3F01b8aC5063f4601C7C45DA5Fdf1b5240C92",
136
- "CompoundLens": "0xE6F46170535FAE86BDbF0Cb033595e060cD99333",
137
- "GovernorAlpha": "",
138
- "Comptroller": "0x627EA49279FD0dE89186A58b8758aD02B6Be2867",
139
- "Reservoir": "",
140
- "COMP": "0xe16C7165C8FeA64069802aE4c4c9C320783f2b6e",
141
- "cBAT": "0xCCaF265E7492c0d9b7C2f0018bf6382Ba7f0148D",
142
- "cDAI": "0x822397d9a55d0fefd20F5c4bCaB33C5F65bd28Eb",
143
- "cETH": "0x20572e4c090f15667cF7378e16FaD2eA0e2f3EfF",
144
- "cREP": "0x1d70B01A2C3e3B2e56FcdcEfe50d5c5d70109a5D",
145
- "cSAI": "0x5D4373F8C1AF21C391aD7eC755762D8dD3CCA809",
146
- "cUSDC": "0xCEC4a43eBB02f9B80916F1c718338169d6d5C1F0",
147
- "cUSDT": "",
148
- "cWBTC": "0x6CE27497A64fFFb5517AA4aeE908b1E7EB63B9fF",
149
- "cZRX": "0xA253295eC2157B8b69C44b2cb35360016DAa25b1",
150
- "BAT": "0x70cBa46d2e933030E2f274AE58c951C800548AeF",
151
- "DAI": "0xdc31Ee1784292379Fbb2964b3B9C4124D8F89C60",
152
- "REP": "0x183Faf58c4461972765f3F90c6272A4ecE66Bd96",
153
- "SAI": "0x8e9192D6f9d903b1BEb3836F52a9f71E05846e42",
154
- "USDC": "0xD87Ba7A50B2E7E660f678A895E4B72E7CB4CCd9C",
155
- "USDT": "",
156
- "WBTC": "0xC04B0d3107736C32e19F1c62b2aF67BE61d63a05",
157
- "ZRX": "0xe4E81Fa6B16327D4B78CFEB83AAdE04bA7075165"
601
+ kcc: {
602
+ CompoundLens: '0xc3d9081B398f3C8e96D8CB212E18Bdc3411e2F7A',
603
+ Comptroller: '0x9d1A50F32b0c2fc1E3C8e98dFdCa1D41C0bB0b98',
604
+ FeedPriceOracle: '0xC9299D11773b5be7b8a6DBB17f35DDFAB89e3E9E',
605
+ SUMER: '0x32BD90172B076516032889888f784f20CCECbAbd',
606
+ UnderwriterAdmin: '0xbbC121f6B3171c10d442eb6519D1e3a96aF75b2d',
607
+ UnderwriterProxy: '0x32ee7D586B401eEA6D020E9A0174DA1682ee8d8b',
608
+ Unitroller: '0x6fEb27EDb61DEC4eea62Bae20F79d21D0Dd94B3b',
609
+ WhitePaperInterestRateModel: '0x743336D77Cfd1540E623Be5C25f019fab69f324f',
610
+ ZeroInterestRateModel: '0xb68AC033c442580A38E058EB5f66c5Fb10829422',
611
+ cBTCK: '0x3A284968c7D64956bAbC87246bBC1fdDea5ee9A9',
612
+ cBTCKDelegate: '0xD3e2023f7d11eB21D1C06553104FC4057144a8a9',
613
+ cETH: '0x5f783162a63aB5444d0099d839780ECF3ee705c9',
614
+ cETHDelegate: '0x280FBcD0eBF80Bd77Bf6ffE78D5d2d423940B3f5',
615
+ cUSDC: '0xeED05b1645351661cA67B6e3439E82708fE6D5bF',
616
+ cUSDCDelegate: '0xdEe231419B67B05AF73cfBD2A6Bb2E4D4a667e01',
617
+ cUSDT: '0x6453A1488d8C50D68fd063B12b6e2959F8951C5C',
618
+ cUSDTDelegate: '0x14bF823aBE24C4aCc829951153d4eADC7dc9E8FA',
619
+ csuBTC: '0x30F20a5c26F1459B23Ea2f765c9695841BFD2EA3',
620
+ csuBTCDelegate: '0x3B01cdc3Dfa3ca720cDD1c0d17e1c2033E39759b',
621
+ csuETH: '0x79Aa7B5bBF50E8eD2909A2Eb79f69855b2882DF1',
622
+ csuETHDelegate: '0x511b5f62DFc4be6f1314c832d46cc2d065D8Dfb6',
623
+ csuUSD: '0x04F4e901b2D923B6712eEC27EAbd87E069918Ab3',
624
+ csuUSDDelegate: '0x389abEd14F8cEdBa93F5352e181C5E6A58129eD8',
625
+ suBTC: '0xBD4d3df64f7C705Cbae5Ad3a1bC33B9521488f77',
626
+ suETH: '0xf9C889397dC3d15E2902AeC4beb3900AA4ac2af9',
627
+ suUSD: '0x19fE342128F3A6C921199864E621D420232eEef4',
628
+ USDT: '0x0039f574ee5cc39bdd162e9a88e3eb1f111baf48',
629
+ USDC: '0x980a5afef3d17ad98635f6c5aebcbaeded3c3430',
630
+ ETH: '0xf55af137a98607f7ed2efefa4cd2dfe70e4253b1',
631
+ BTCK: '0xfa93c12cd345c658bc4644d1d4e1b9615952258c',
158
632
  },
159
- "kovan": {
160
- "nativeToken": "ETH",
161
- "PriceFeed": "0xbBdE93962Ca9fe39537eeA7380550ca6845F8db7",
162
- "Maximillion": "0xC363f83902Ac614F318b04771d21D25aC0d73be5",
163
- "CompoundLens": "0x08CcdB87966C4C7c3Ce7dA8C103c8E14627753D0",
164
- "GovernorAlpha": "0x665a5f09716d63D9256934855b0CE2056a5C4Cf8",
165
- "Comptroller": "0x5eAe89DC1C671724A672ff0630122ee834098657",
166
- "Reservoir": "0x33deD5C4eA51dBC7AF955396839655EFe13E3F1b",
167
- "COMP": "0x61460874a7196d6a22D1eE4922473664b3E95270",
168
- "cBAT": "0x4a77fAeE9650b09849Ff459eA1476eaB01606C7a",
169
- "cDAI": "0xF0d0EB522cfa50B716B3b1604C4F0fA6f04376AD",
170
- "cETH": "0x41B5844f4680a8C38fBb695b7F9CFd1F64474a72",
171
- "cREP": "0xA4eC170599a1Cf87240a35b9B1B8Ff823f448b57",
172
- "cSAI": "0xb3f7fB482492f4220833De6D6bfCC81157214bEC",
173
- "cUSDC": "0x4a92E71227D294F041BD82dd8f78591B75140d63",
174
- "cUSDT": "0x3f0A0EA2f86baE6362CF9799B523BA06647Da018",
175
- "cWBTC": "0xa1fAA15655B0e7b6B6470ED3d096390e6aD93Abb",
176
- "cZRX": "0xAf45ae737514C8427D373D50Cd979a242eC59e5a",
177
- "BAT": "0x482dC9bB08111CB875109B075A40881E48aE02Cd",
178
- "DAI": "0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa",
179
- "REP": "0x50DD65531676F718B018De3dc48F92B53D756996",
180
- "SAI": "0xD1308F63823221518Ec88EB209CBaa1ac182105f",
181
- "USDC": "0xb7a4F3E9097C08dA09517b5aB877F7a917224ede",
182
- "USDT": "0x07de306FF27a2B630B1141956844eB1552B956B5",
183
- "WBTC": "0xd3A691C852CDB01E281545A27064741F0B7f6825",
184
- "ZRX": "0x162c44e53097e7B5aaE939b297ffFD6Bf90D1EE3"
633
+ metermain: {
634
+ ProxyAdmin: '0x3F1c2aB9cA6b41a82aEb27A97863b53b946D1545',
635
+ Multicall2: '0xcA11bde05977b3631167028862bE2a173976CA11',
636
+ Sumer: '0x553d713e0fb958932b6c40abaf0b5a1ffae73da2',
637
+ SUMER: '0x553d713e0fb958932b6c40abaf0b5a1ffae73da2',
638
+ CompoundLens: '0xA2260F80bb6104d9520d4A7175FeF01F894Eb777',
639
+ FeedPriceOracle: '0xc552E5fcDBc1d9f3E8352961D3A1B62E5E34bd79',
640
+ AccountLiquidity: '0x7cBB9605f439d5106506259f5B3112801Ea18084',
641
+ CompLogic: '0x5eE48E2471a8fA4FADDFF7cbb6FA0489D951f9b8',
642
+ Comptroller: '0xcB4cdDA50C1B6B0E33F544c98420722093B7Aa88',
643
+ Unitroller: '0xcB4cdDA50C1B6B0E33F544c98420722093B7Aa88',
644
+ 'sdrUSDC.eth': '0xC211a250FC30122ee107aC9Acf6686110339520f',
645
+ 'USDC.eth': '0xd86e243fc0007e6226b07c9a50c9d70d78299eb5',
646
+ 'sdrUSDT.eth': '0xaCEDC263FF6De824B38cAeAAC1FD877b1a7344a1',
647
+ 'USDT.eth': '0x5fa41671c48e3c951afc30816947126ccc8c162e',
648
+ sdrMTRG: '0x6Ff2fB3F8F175df0A39C344de81A4aaaB05c49eB',
649
+ MTRG: '0x228ebbee999c6a7ad74a6130e81b12f9fe237ba3',
650
+ sdrwstMTRG: '0x318F6863a8c516dF9C5941AEb328A40f15f525F9',
651
+ wstMTRG: '0xe2de616fbd8cb9180b26fcfb1b761a232fe56717',
652
+ sdrETH: '0x52e245606Dd37A9addcD2Bb523d319596eB4b851',
653
+ ETH: '0x983147fb73a45fc7f8b4dfa1cd61bdc7b111e5b6',
654
+ sdrsuUSD: '0x755A39999FE536Ec327Cb84110383BFc30fd0F4D',
655
+ suUSD: '0x8BF591Eae535f93a242D5A954d3Cde648b48A5A8',
656
+ sdrsuETH: '0x21c4123f62CA28c9ceF3dDd1c8ae71EE9a5003aE',
657
+ suETH: '0x1c22531AA9747d76fFF8F0A43b37954ca67d28e0',
658
+ Timelock: '0xFb2426f277A2d33DAb0ce00DF4a4D67c46aa5b3F',
185
659
  },
186
- "testnet": {
187
- "nativeToken": "ETH",
188
- "PriceFeed": "0xBEf4E076A995c784be6094a432b9CA99b7431A3f",
189
- "Maximillion": "0xE0a38ab2951B6525C33f20D5E637Ab24DFEF9bcB",
190
- "CompoundLens": "0x40e42Ad74AA4c61B577387821e845a8892E65002",
191
- "GovernorAlpha": "0x93ACbA9ecaCeC21BFA09b0C4650Be3596713d747",
192
- "Comptroller": "0x94d1820b2D1c7c7452A163983Dc888CEC546b77D",
193
- "Reservoir": "0x4Aebe384D31e9309BEDf8552232C07591e0cA56F",
194
- "COMP": "0xB9e0E753630434d7863528cc73CB7AC638a7c8ff",
195
- "cBAT": "0x9E95c0b2412cE50C37a121622308e7a6177F819D",
196
- "cDAI": "0xdb5Ed4605C11822811a39F94314fDb8F0fb59A2C",
197
- "cETH": "0xBe839b6D93E3eA47eFFcCA1F27841C917a8794f3",
198
- "cREP": "0x8F2c8B147A3D316d2b98f32F3864746F034A55a2",
199
- "cSAI": "0xc4d2A5872E16BC9E6557bE8B24683D96EB6ADca9",
200
- "cUNI": "0x22531f0f3a9c36bfc3b04c4c60df5168a1cfcec3",
201
- "cUSDC": "0x8aF93cae804cC220D1A608d4FA54D1b6ca5EB361",
202
- "cUSDT": "0x135669c2dcBd63F639582b313883F101a4497F76",
203
- "cWBTC": "0x58145Bc5407D63dAF226e4870beeb744C588f149",
204
- "cZRX": "0x00e02a5200CE3D5b5743F5369Deb897946C88121",
205
- "BAT": "0x443Fd8D5766169416aE42B8E050fE9422f628419",
206
- // "DAI": "0xc2118d4d90b274016cB7a54c03EF52E6c537D957",
207
- "REP": "0x6FD34013CDD2905d8d27b0aDaD5b97B2345cF2B8",
208
- "SAI": "0x26fF7457496600C63b3E8902C9f871E60eDec4e4",
209
- "UNI": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
210
- // "USDC": "0x0D9C8723B343A8368BebE0B5E89273fF8D712e3C",
211
- // "USDT": "0x516de3a7A567d81737e3a46ec4FF9cFD1fcb0136",
212
- "WBTC": "0xBde8bB00A7eF67007A96945B3a3621177B615C44",
213
- "ZRX": "0xE4C6182EA459E63B8F1be7c428381994CcC2D49c",
214
- // bsc testnet
215
- "vBNB": "0x2E7222e51c0f6e98610A1543Aa3836E092CDe62c",
216
- "vUSDC": "0xD5C4C2e2facBEB59D0216D0595d63FcDc6F9A1a7",
217
- "vUSDT": "0xb7526572FFE56AB9D7489838Bf2E18e3323b441A",
218
- "vSXP": "0x74469281310195A04840Daf6EdF576F559a3dE80",
219
- "vBUSD": "0x08e0A5575De71037aE36AbfAfb516595fE68e5e4",
220
- "vXVS": "0x6d6F697e34145Bb95c54E77482d97cc261Dc237E",
221
- "USDC": "0x16227D60f7a0e586C66B005219dfc887D13C9531",
222
- "USDT": "0xA11c8D9DC9b66E209Ef60F0C8D969D3CD988782c",
223
- "SXP": "0x75107940Cf1121232C0559c747A986DEfbc69DA9",
224
- "BUSD": "0x8301F2213c0eeD49a7E28Ae4c3e91722919B8B47",
225
- "XVS": "0xB9e0E753630434d7863528cc73CB7AC638a7c8ff"
660
+ metertest: {
661
+ ProxyAdmin: '0x76A866328b857B6db868C6D087dE2249A0a713ad',
662
+ Multicall2: '0xcA11bde05977b3631167028862bE2a173976CA11',
663
+ Sumer: '0x264b7316b535515db9759a77dc4041c0c2263527',
664
+ SUMER: '0x264b7316b535515db9759a77dc4041c0c2263527',
665
+ CompoundLens: '0xD062717E89eA3D5D4DFE43e7F6687914a1CCa9f1',
666
+ FeedPriceOracle: '0x31AdFa19C2c834B0900cA716C37B0619C9bD2C6B',
667
+ AccountLiquidity: '0x20A8794d5BEcBa1B19A35D8CaA2b7e0e0b7CF832',
668
+ CompLogic: '0xC16b4a53e10317b3e30Cffea16999DD5ec35929a',
669
+ SortedBorrows: '0x1dAcc0d2666C8b68cce3c6904b13d30737e0EABE',
670
+ RedemptionManager: '0x232011980E68a67fe2d21F47380f46B6Ec8fdc30',
671
+ Comptroller: '0xB6bf1515CAA8Be16f2FC3308974645CaEa458Ab1',
672
+ MTR: '0x0000000000000000000000000000000000000000',
673
+ sdrMTR: '0xf9e3459233E08F88Cf7faDdEd8f734d80A04a35d',
674
+ sdrUSDC: '0xC248AE618DC3C5FB3be493599EC5f875238C2b49',
675
+ USDC: '0x2b27f5f7f2867ad9d2b7065f81e985c1bd1b7274',
676
+ sdrUSDT: '0x5d0A5586a2a6dACeEAdEec8153171009a57404BA',
677
+ USDT: '0x2398633bee182cad2d0388b41735fd9fb742098d',
678
+ sdrMTRG: '0xE191150B05985Cbb49D3A9973603d96EA3b92b71',
679
+ MTRG: '0x8a419ef4941355476cf04933e90bf3bbf2f73814',
680
+ sdrwstMTRG: '0x11079f0e682A5a13F55D6f60519aD3e5425cd837',
681
+ wstMTRG: '0x871497Eb8596d2cBdBE5bb23D552D35bFfbb8CF5',
682
+ sdrETH: '0x8f0dFB74CA2E137771d9e357514e4f107e158c76',
683
+ ETH: '0xe8876830e7cc85dae8ce31b0802313caf856886f',
684
+ sdrBTC: '0x938Af4326a6a5Dc4B0772E9D1f2A1f12575b5cE1',
685
+ BTC: '0x7EB9e0Df1C6E6f1E9d3d1EdA09fcF688FE7A710c',
686
+ sdrsuUSD: '0x6ce95F920F7b1Fcdf92c6791506Fab5597236c01',
687
+ suUSD: '0x0d893c092f7ae9d97c13307f2d66cfb59430b4cb',
688
+ sdrsuETH: '0x6ad6cF2426A4f641446DfA85c3753d09784C84ff',
689
+ suETH: '0x21351bde0B42b4Cba5c04Fc92917b8c3254b1E88',
690
+ sdrsuBTC: '0x34504F007620BbBcDE24de781e86B86e5666C3d1',
691
+ suBTC: '0x20B00Df0c1120D2227f87180286E63EDa30f5c4c',
692
+ Timelock: '0x83369Fbd8D611F25F95cc0212bEe1Ae11AbCbcc1',
226
693
  },
227
- "HECO-testnet": {
228
- "nativeToken": "HT",
229
- "SumerLens": "0x07823dD84D58d5B779Daf9E1D3B04B13cB3acAA8",
230
- "Comptroller": "0x64628c9b1372e56CAF694D2f59892a5B00423E14",
231
- "suUSD": "0xC6b0e737A951D82f0c23FCB4197FfFc40CAF68C5",
232
- "sdrHT": "0x77b9A38e931dEECA7f0c291FB13DD65a3CAC2344",
233
- "sdrHETH": "0x0f1cF673735516091770b34D7C4F35bE311B840c",
234
- "sdrHUSD": "0x2540498Eef6Af4689e76c20B55FE8377619488dd",
235
- "HETH": "0xfeB76Ae65c11B363Bd452afb4A7eC59925848656",
236
- "HUSD": "0x8Dd66eefEF4B503EB556b1f50880Cc04416B916B"
694
+ zktest: {
695
+ CompoundLens: '0x1752c1c46EC8FED05088125c3e4A75B0E600f0df',
696
+ Comptroller: '0x5e55F6cdD95F33375a6779b7bBeB6Fb833AEeE99', // Comptroller implementation
697
+ Unitroller: '0xC30BA3059453AEE27A8E6F11d4A7e8Cd7BD2a6D6', // Comptroller proxy
698
+ FeedPriceOracle: '0x8e8c6cE5dBFFCD2d30F11e2aAc75E3A7c78f6497',
699
+ UnderwriterAdmin: '0x9F580aF00Cb2bc01C3d020fe8dD36d5bF10579c2',
700
+ UnderwriterProxy: '0x4FD3F384f7dCE437ccBBB48407317B08F2Aa6Bb9',
701
+ WhitePaperInterestRateModel: '0x245e845F6b533eC2f73c72C66c63b70562B146aE', // cToken InterestRateModel
702
+ ZeroInterestRateModel: '0xB7E99b1053aA714304c6f29126BC94fc8932Aab3', // suToken InterestRateModel
703
+ SUMER: '0x5a86557FaaAd58797F50Ad325dadd477d2781238',
704
+ ETH: '0x0000000000000000000000000000000000000000',
705
+ cETH: '0xaC0d6687277d75a6660eC08E18745c510aF60Af2',
706
+ BTC: '0x0BfcE1D53451B4a8175DD94e6e029F7d8a701e9c',
707
+ cBTC: '0x1c6F767b523E6e0763249d86622F96E7567dB12A',
708
+ USDC: '0x0faF6df7054946141266420b43783387A78d82A9',
709
+ cUSDC: '0xf070Db5f6F89731B9fBF2FA0B6A9223F0e0CC715',
710
+ DAI: '0x3e7676937A7E96CFB7616f255b9AD9FF47363D4b',
711
+ cDAI: '0x620D8bBe65d517C95266f108aF78FabbBe1F49ce',
712
+ LINK: '0x40609141Db628BeEE3BfAB8034Fc2D8278D0Cc78',
713
+ cLINK: '0x6f46E1Af9304D72C72c0Ef7c4755fc6d5Ee8871c',
714
+ suBTC: '0x82a7d5c6ad4C48F47C530caEE0D7C9f476E524Ee',
715
+ csuBTC: '0x6770Cb103c18229558F0c02c41Ec264930e2C330',
716
+ suETH: '0xB9C945313413E3DDF074DCfEA4F8359Dfa65022e',
717
+ csuETH: '0xeF2e6eD7A25E06f6e35f491885883E8E8f894045',
718
+ suUSD: '0x5c274A167E4D8758Fc2A14E0cec4aD313cE0d873',
719
+ csuUSD: '0xBdF4Fb4787cAFc6399D4275AbF71563FEB32E474',
720
+ Multicall2: '0x416Ea8Bc52Cf6285362c237965eFC313bd857B43',
721
+ },
722
+ basetest: {
723
+ Multicall2: '0xcA11bde05977b3631167028862bE2a173976CA11',
724
+ SUMER: '0xBeE85b7b676f9306803B6DFC09F024c30a7A2a1e',
725
+ CompoundLens: '0x26619fbE716334233248d892e8aBdf8d81b464f2',
726
+ FeedPriceOracle: '0xb264Cf6be02f17BF638Cd59F63C68Ec3036b32b5',
727
+ WhitePaperInterestRateModel: '0x4f6D94accF73713968f6D1B3d191A05762BfD2c1',
728
+ ZeroInterestRateModel: '0x07823dD84D58d5B779Daf9E1D3B04B13cB3acAA8',
729
+ AccountLiquidityImpl: '0xC2581fc348A1CC935712b9D2475bE72f20458A83',
730
+ AccountLiquidity: '0xb75fC5194424c86efc49e46DB14c8bC2e3876CF3',
731
+ Comptroller: '0x3d361cC7e5C71783b38c3e5A0A015685b5806A77',
732
+ Unitroller: '0x32B9d56d16c3bd08a22Dc24D3eD9114c59bF1362',
733
+ ETH: '0x0000000000000000000000000000000000000000',
734
+ sdrETH: '0x138924B369421B87176CfFbA55634E70AE105E98',
735
+ USDC: '0x93de053520D42B3F74281852Bd56F232A4E643DA',
736
+ sdrUSDC: '0x110BBFf32C8fCC6Da86649Ca866fa34A1eC7252f',
737
+ USDT: '0x61E2c1608B1caA59136BCB7845637858d216c3B9',
738
+ sdrUSDT: '0xf9ADf838fE5131286E12747422F84AA853a5cb93',
739
+ BTC: '0x0D0267E89189D73826aeAa1556ac4428c845e68a',
740
+ sdrBTC: '0xE91f13a4Fedc156f4b946E65bFEDCAc0Cd0AE724',
741
+ suUSD: '0x875A75e783145328880468C3e6cB791384D72e9d',
742
+ sdrsuUSD: '0x56F6Ad4a38F013ABdb3f9D2cC2180D8861D0FB35',
743
+ suETH: '0xEdd794DC7b4dFE58eBFC0f568F9A01F6eeB64563',
744
+ sdrsuETH: '0xbceD65886AF05De6A127EFb12dE897A710a381a3',
745
+ suBTC: '0xd11f348AB72A02ccbb611d4590fF79Ff48a07911',
746
+ sdrsuBTC: '0x16e6516DC3b9c2AeBbA3f7F6E4AEc511Da48dedC',
747
+ Timelock: '0x950B2AeA74403f841F98961e407a6D7380d9cCdb',
748
+ },
749
+ sepolia: {
750
+ SUMER: '0x553d713e0fB958932b6C40ABAf0b5A1fFae73Da2',
751
+ ZeroInterestRateModel: '0x3DF435904F6FA6a30F313ad347DEdEBf966E9629',
752
+ ProxyAdmin: '0x809b6caa5A68A63b526f6085c628a5366077195b',
753
+ Multicall2: '0xcA11bde05977b3631167028862bE2a173976CA11',
754
+ Sumer: '0x553d713e0fB958932b6C40ABAf0b5A1fFae73Da2',
755
+ CompoundLens: '0x3BB0e110Aa7308Ae6e180c4B3D17777cECca9182',
756
+ FeedPriceOracle: '0x35D9f952B10839B11745807c50F5743F373Aa2ca',
757
+ AccountLiquidity: '0x863597A887FbC21635471b2939c65936C0193FCB',
758
+ CompLogic: '0xDb44Cdcd54C30238d555975922Dbd7e366F4009d',
759
+ Comptroller: '0x09Bf5c88De66Edf5Bc8AFdBFFB03E73DED4da4d9',
760
+ Unitroller: '0x09Bf5c88De66Edf5Bc8AFdBFFB03E73DED4da4d9',
761
+ sdrETH: '0x3Dfcb252d5Dd3aDA82C388e3754d9b002Dfa769f',
762
+ sdrUSDC: '0x522Ff165b8a0cb091D939009c41cE987F1079699',
763
+ USDC: '0x94a9D9AC8a22534E3FaCa9F4e7F2E2cf85d5E4C8',
764
+ sdrDAI: '0xC56065ee94eD4d05360e130075Dd06DE55eE0916',
765
+ DAI: '0xFF34B3d4Aee8ddCd6F9AFFFB6Fe49bD371b8a357',
766
+ sdrsuUSD: '0x68F961B13a3fbD3a04eFAbEfc284572B16412aE8',
767
+ suUSD: '0x8BF591Eae535f93a242D5A954d3Cde648b48A5A8',
768
+ sdrsuETH: '0xF623df845D182F977b18F7B1f2Cf3f2d48653db5',
769
+ ETH: '0x0000000000000000000000000000000000000000',
770
+ suETH: '0x1c22531AA9747d76fFF8F0A43b37954ca67d28e0',
771
+ Timelock: '0x247F872F6331e12CaF3a92D19BD5078CE25fc825',
772
+ JumpRateModelV2: '0x484052c5F3cB7bbF01C871260e5B820f43A4A2e3',
773
+ },
774
+ };
775
+ const rateModals = {
776
+ metermain: [
777
+ {
778
+ name: 'JumpRateModelV2',
779
+ address: '0xF1073b7BFf6AD65b4E314AfB513C59aBc2Ad314b',
780
+ tokens: ['USDC.eth', 'USDT.eth', 'ETH'],
781
+ baseRatePerYear: 0.02,
782
+ multiplierPerYear: 0.12,
783
+ jumpMultiplierPerYear: 1,
784
+ kink: 0.75,
785
+ },
786
+ {
787
+ name: 'JumpRateModelV2',
788
+ address: '0x90C349959304b771d9b76295449447Fde51618A7',
789
+ tokens: ['MTRG'],
790
+ baseRatePerYear: 0.01,
791
+ multiplierPerYear: 0.12,
792
+ jumpMultiplierPerYear: 1.5,
793
+ kink: 0.45,
794
+ },
795
+ {
796
+ name: 'JumpRateModelV2',
797
+ address: '0xc0AD1588A8819d7c48D90aB4b5EfDa2d3571Bab9',
798
+ tokens: ['wstMTRG'],
799
+ baseRatePerYear: 0,
800
+ multiplierPerYear: 0.06,
801
+ jumpMultiplierPerYear: 1.5,
802
+ kink: 0.45,
803
+ },
804
+ {
805
+ name: 'ZeroInterestRateModel',
806
+ address: '0x561f62bd3228B85015CCA2E86C9a709061d96A91',
807
+ tokens: ['suUSD', 'suETH'],
808
+ },
809
+ ],
810
+ metertest: [
811
+ {
812
+ name: 'JumpRateModelV2',
813
+ address: '0x916e898D0f52339DdA5dF1b55cDe6A55E5bc700A',
814
+ tokens: ['USDC', 'USDT', 'ETH', 'BTC', 'MTR'],
815
+ baseRatePerYear: 0.02,
816
+ multiplierPerYear: 0.12,
817
+ jumpMultiplierPerYear: 1,
818
+ kink: 0.75,
819
+ },
820
+ {
821
+ name: 'JumpRateModelV2',
822
+ address: '0x9A570B56B0Cf0eB0EAdeeD894F547D7a226Cb9e2',
823
+ tokens: ['MTRG'],
824
+ baseRatePerYear: 0.01,
825
+ multiplierPerYear: 0.12,
826
+ jumpMultiplierPerYear: 1.5,
827
+ kink: 0.45,
828
+ },
829
+ {
830
+ name: 'JumpRateModelV2',
831
+ address: '0x87c86efFDFc4Ac0A0b16D445d128fb6282b7DCB7',
832
+ tokens: ['wstMTRG'],
833
+ baseRatePerYear: 0,
834
+ multiplierPerYear: 0.06,
835
+ jumpMultiplierPerYear: 1.5,
836
+ kink: 0.45,
837
+ },
838
+ {
839
+ name: 'ZeroInterestRateModel',
840
+ address: '0x8098a4Ad4Fc816E576BbBf12A9299Ef3ae8189c7',
841
+ tokens: ['suUSD', 'suETH', 'suBTC'],
842
+ },
843
+ ],
844
+ basetest: [
845
+ {
846
+ name: 'JumpRateModelV2',
847
+ address: '0xfdfB839Cc859E863B0a594F3540795E09BD60e76',
848
+ tokens: ['USDC', 'USDT', 'BTC'],
849
+ baseRatePerYear: 0.02,
850
+ multiplierPerYear: 0.2,
851
+ jumpMultiplierPerYear: 4,
852
+ kink: 0.6,
853
+ },
854
+ {
855
+ name: 'ZeroInterestRateModel',
856
+ address: '0x07823dD84D58d5B779Daf9E1D3B04B13cB3acAA8',
857
+ tokens: ['suUSD', 'suETH', 'suBTC'],
858
+ },
859
+ {
860
+ name: 'JumpRateModelV2',
861
+ address: '0xB79F1af961dA05a89D810251Af338BBfb98AFDF5',
862
+ tokens: ['ETH'],
863
+ baseRatePerYear: 0.02,
864
+ multiplierPerYear: 0.15,
865
+ jumpMultiplierPerYear: 3,
866
+ kink: 0.6,
867
+ },
868
+ ],
869
+ meter: [
870
+ {
871
+ name: 'JumpRateModelV2',
872
+ address: '0xF1073b7BFf6AD65b4E314AfB513C59aBc2Ad314b',
873
+ tokens: ['USDC.eth', 'USDT.eth', 'ETH'],
874
+ baseRatePerYear: 0.02,
875
+ multiplierPerYear: 0.12,
876
+ jumpMultiplierPerYear: 1,
877
+ kink: 0.75,
878
+ },
879
+ {
880
+ name: 'JumpRateModelV2',
881
+ address: '0x90C349959304b771d9b76295449447Fde51618A7',
882
+ tokens: ['MTRG'],
883
+ baseRatePerYear: 0.01,
884
+ multiplierPerYear: 0.12,
885
+ jumpMultiplierPerYear: 1.5,
886
+ kink: 0.45,
887
+ },
888
+ {
889
+ name: 'JumpRateModelV2',
890
+ address: '0xc0AD1588A8819d7c48D90aB4b5EfDa2d3571Bab9',
891
+ tokens: ['wstMTRG'],
892
+ baseRatePerYear: 0,
893
+ multiplierPerYear: 0.06,
894
+ jumpMultiplierPerYear: 1.5,
895
+ kink: 0.45,
896
+ },
897
+ {
898
+ name: 'ZeroInterestRateModel',
899
+ address: '0x561f62bd3228B85015CCA2E86C9a709061d96A91',
900
+ tokens: ['suUSD', 'suETH'],
901
+ },
902
+ ],
903
+ arbitrum: [
904
+ {
905
+ name: 'JumpRateModelV2',
906
+ address: '0x5096E5cf4f151052ACD615b2635E7FdB6Db0763C',
907
+ tokens: ['USDC', 'USDT', 'DAI', 'WBTC', 'ETH'],
908
+ baseRatePerYear: 0.02,
909
+ multiplierPerYear: 0.12,
910
+ jumpMultiplierPerYear: 1,
911
+ kink: 0.75,
912
+ },
913
+ {
914
+ name: 'JumpRateModelV2',
915
+ address: '0xE27496Ec5d6E19521d636e78c127fF2Cf59ee914',
916
+ tokens: ['wstETH', 'RETH', 'ARB'],
917
+ baseRatePerYear: 0.02,
918
+ multiplierPerYear: 0.15,
919
+ jumpMultiplierPerYear: 2,
920
+ kink: 0.55,
921
+ },
922
+ {
923
+ name: 'ZeroInterestRateModel',
924
+ address: '0xc7fFEAa5949d50A408bD92DdB0D1EAcef3F8a3Bc',
925
+ tokens: ['suUSD', 'suETH', 'suBTC'],
926
+ },
927
+ ],
928
+ base: [
929
+ {
930
+ name: 'JumpRateModelV2',
931
+ address: '0xd16D4BbE76C873d8a1e499Bf2aAc91710165E3C9',
932
+ tokens: ['USDC', 'USDbc', 'DAI', 'ETH'],
933
+ baseRatePerYear: 0.02,
934
+ multiplierPerYear: 0.12,
935
+ jumpMultiplierPerYear: 1,
936
+ kink: 0.75,
937
+ },
938
+ {
939
+ name: 'JumpRateModelV2',
940
+ address: '0x04C13c475223CaEb3F23f4F4A69707D82C47dA50',
941
+ tokens: ['wstETH', 'cbETH'],
942
+ baseRatePerYear: 0.02,
943
+ multiplierPerYear: 0.15,
944
+ jumpMultiplierPerYear: 2,
945
+ kink: 0.55,
946
+ },
947
+ {
948
+ name: 'ZeroInterestRateModel',
949
+ address: '0x341fDb6532154Cec491Aca3D3BB404C2d4cc042E',
950
+ tokens: ['suUSD', 'suETH'],
951
+ },
952
+ ],
953
+ sepolia: [
954
+ {
955
+ name: 'JumpRateModelV2',
956
+ address: '0x77b9A38e931dEECA7f0c291FB13DD65a3CAC2344',
957
+ tokens: ['USDC', 'DAI', 'ETH'],
958
+ baseRatePerYear: 0.02,
959
+ multiplierPerYear: 0.12,
960
+ jumpMultiplierPerYear: 1,
961
+ kink: 0.75,
962
+ },
963
+ {
964
+ name: 'ZeroInterestRateModel',
965
+ address: '0x0f1cF673735516091770b34D7C4F35bE311B840c',
966
+ tokens: ['suUSD', 'suETH'],
967
+ },
968
+ ],
969
+ };
970
+ const names = {};
971
+ for (const network in address) {
972
+ const networkNames = {};
973
+ for (const n in address[network]) {
974
+ networkNames[address[network][n].toLowerCase()] = n;
975
+ }
976
+ names[network] = networkNames;
977
+ }
978
+ const getTokenPairs = (networkName) => {
979
+ if (!(networkName in tokenPairs)) {
980
+ throw Error(`${networkName} is not configured on tokenPairs`);
981
+ }
982
+ return tokenPairs[networkName];
983
+ };
984
+ exports.getTokenPairs = getTokenPairs;
985
+ const getRateModals = (networkName) => {
986
+ if (!(networkName in rateModals)) {
987
+ throw Error(`${networkName} is not configured on rateModals`);
988
+ }
989
+ return rateModals[networkName];
990
+ };
991
+ exports.getRateModals = getRateModals;
992
+ const getAddress = (networkName, tokenSym) => {
993
+ if (!(networkName in address)) {
994
+ throw Error(`${networkName} is not configured on address list`);
995
+ }
996
+ const addrList = address[networkName];
997
+ if (!(tokenSym in addrList)) {
998
+ throw Error(`${tokenSym} address not configued on ${networkName}`);
237
999
  }
1000
+ return addrList[tokenSym];
238
1001
  };
239
- exports.abi = {
240
- Hrc20: [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }],
241
- sdrNative: [{ "inputs": [{ "internalType": "contract ComptrollerInterface", "name": "comptroller_", "type": "address" }, { "internalType": "contract InterestRateModel", "name": "interestRateModel_", "type": "address" }, { "internalType": "uint256", "name": "initialExchangeRateMantissa_", "type": "uint256" }, { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "string", "name": "nativeSymbol_", "type": "string" }, { "internalType": "uint8", "name": "decimals_", "type": "uint8" }, { "internalType": "address payable", "name": "admin_", "type": "address" }], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "cashPrior", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "interestAccumulated", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "borrowIndex", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalBorrows", "type": "uint256" }], "name": "AccrueInterest", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "borrowAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "accountBorrows", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalBorrows", "type": "uint256" }], "name": "Borrow", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "error", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "info", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "detail", "type": "uint256" }], "name": "Failure", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "liquidator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "repayAmount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "sdrTokenCollateral", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "seizeTokens", "type": "uint256" }], "name": "LiquidateBorrow", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "mintAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "mintTokens", "type": "uint256" }], "name": "Mint", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "oldAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "NewAdmin", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract ComptrollerInterface", "name": "oldComptroller", "type": "address" }, { "indexed": false, "internalType": "contract ComptrollerInterface", "name": "newComptroller", "type": "address" }], "name": "NewComptroller", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract InterestRateModel", "name": "oldInterestRateModel", "type": "address" }, { "indexed": false, "internalType": "contract InterestRateModel", "name": "newInterestRateModel", "type": "address" }], "name": "NewMarketInterestRateModel", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "oldPendingAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newPendingAdmin", "type": "address" }], "name": "NewPendingAdmin", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldReserveFactorMantissa", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newReserveFactorMantissa", "type": "uint256" }], "name": "NewReserveFactor", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "redeemer", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "redeemAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "redeemTokens", "type": "uint256" }], "name": "Redeem", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "payer", "type": "address" }, { "indexed": false, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "repayAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "accountBorrows", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalBorrows", "type": "uint256" }], "name": "RepayBorrow", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "benefactor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "addAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotalReserves", "type": "uint256" }], "name": "ReservesAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "admin", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "reduceAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotalReserves", "type": "uint256" }], "name": "ReservesReduced", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "constant": false, "inputs": [], "name": "_acceptAdmin", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "reduceAmount", "type": "uint256" }], "name": "_reduceReserves", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract ComptrollerInterface", "name": "newComptroller", "type": "address" }], "name": "_setComptroller", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract InterestRateModel", "name": "newInterestRateModel", "type": "address" }], "name": "_setInterestRateModel", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address payable", "name": "newPendingAdmin", "type": "address" }], "name": "_setPendingAdmin", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "newReserveFactorMantissa", "type": "uint256" }], "name": "_setReserveFactor", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accrualBlockNumber", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "accrueInterest", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "admin", "outputs": [{ "internalType": "address payable", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "balanceOfUnderlying", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "borrowAmount", "type": "uint256" }], "name": "borrow", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "borrowBalanceCurrent", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "borrowBalanceStored", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "borrowIndex", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "borrowRatePerBlock", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "comptroller", "outputs": [{ "internalType": "contract ComptrollerInterface", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "exchangeRateCurrent", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "exchangeRateStored", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "getAccountSnapshot", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getCash", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract ComptrollerInterface", "name": "comptroller_", "type": "address" }, { "internalType": "contract InterestRateModel", "name": "interestRateModel_", "type": "address" }, { "internalType": "uint256", "name": "initialExchangeRateMantissa_", "type": "uint256" }, { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "uint8", "name": "decimals_", "type": "uint8" }], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "interestRateModel", "outputs": [{ "internalType": "contract InterestRateModel", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isNative", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isSDRToken", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "contract SDRToken", "name": "sdrTokenCollateral", "type": "address" }], "name": "liquidateBorrow", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "mint", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "nativeSymbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingAdmin", "outputs": [{ "internalType": "address payable", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "redeemTokens", "type": "uint256" }], "name": "redeem", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "redeemAmount", "type": "uint256" }], "name": "redeemUnderlying", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "repayBorrow", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "borrower", "type": "address" }], "name": "repayBorrowBehalf", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "reserveFactorMantissa", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "liquidator", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "seizeTokens", "type": "uint256" }], "name": "seize", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "supplyRatePerBlock", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalBorrows", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "totalBorrowsCurrent", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "totalReserves", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }],
242
- sdrHrc20: [{ "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "cashPrior", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "interestAccumulated", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "borrowIndex", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalBorrows", "type": "uint256" }], "name": "AccrueInterest", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "borrowAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "accountBorrows", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalBorrows", "type": "uint256" }], "name": "Borrow", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "error", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "info", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "detail", "type": "uint256" }], "name": "Failure", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "liquidator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "repayAmount", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "sdrTokenCollateral", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "seizeTokens", "type": "uint256" }], "name": "LiquidateBorrow", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "mintAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "mintTokens", "type": "uint256" }], "name": "Mint", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "oldAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "NewAdmin", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract ComptrollerInterface", "name": "oldComptroller", "type": "address" }, { "indexed": false, "internalType": "contract ComptrollerInterface", "name": "newComptroller", "type": "address" }], "name": "NewComptroller", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract InterestRateModel", "name": "oldInterestRateModel", "type": "address" }, { "indexed": false, "internalType": "contract InterestRateModel", "name": "newInterestRateModel", "type": "address" }], "name": "NewMarketInterestRateModel", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "oldPendingAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newPendingAdmin", "type": "address" }], "name": "NewPendingAdmin", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldReserveFactorMantissa", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newReserveFactorMantissa", "type": "uint256" }], "name": "NewReserveFactor", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "redeemer", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "redeemAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "redeemTokens", "type": "uint256" }], "name": "Redeem", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "payer", "type": "address" }, { "indexed": false, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "repayAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "accountBorrows", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "totalBorrows", "type": "uint256" }], "name": "RepayBorrow", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "benefactor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "addAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotalReserves", "type": "uint256" }], "name": "ReservesAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "admin", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "reduceAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotalReserves", "type": "uint256" }], "name": "ReservesReduced", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "constant": false, "inputs": [], "name": "_acceptAdmin", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "addAmount", "type": "uint256" }], "name": "_addReserves", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "reduceAmount", "type": "uint256" }], "name": "_reduceReserves", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract ComptrollerInterface", "name": "newComptroller", "type": "address" }], "name": "_setComptroller", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract InterestRateModel", "name": "newInterestRateModel", "type": "address" }], "name": "_setInterestRateModel", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address payable", "name": "newPendingAdmin", "type": "address" }], "name": "_setPendingAdmin", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "newReserveFactorMantissa", "type": "uint256" }], "name": "_setReserveFactor", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accrualBlockNumber", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "accrueInterest", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "admin", "outputs": [{ "internalType": "address payable", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "balanceOfUnderlying", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "borrowAmount", "type": "uint256" }], "name": "borrow", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "borrowBalanceCurrent", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "borrowBalanceStored", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "borrowIndex", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "borrowRatePerBlock", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "comptroller", "outputs": [{ "internalType": "contract ComptrollerInterface", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "exchangeRateCurrent", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "exchangeRateStored", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "getAccountSnapshot", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getCash", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "underlying_", "type": "address" }, { "internalType": "contract ComptrollerInterface", "name": "comptroller_", "type": "address" }, { "internalType": "contract InterestRateModel", "name": "interestRateModel_", "type": "address" }, { "internalType": "uint256", "name": "initialExchangeRateMantissa_", "type": "uint256" }, { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "uint8", "name": "decimals_", "type": "uint8" }], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract ComptrollerInterface", "name": "comptroller_", "type": "address" }, { "internalType": "contract InterestRateModel", "name": "interestRateModel_", "type": "address" }, { "internalType": "uint256", "name": "initialExchangeRateMantissa_", "type": "uint256" }, { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "uint8", "name": "decimals_", "type": "uint8" }], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "interestRateModel", "outputs": [{ "internalType": "contract InterestRateModel", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isNative", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isSDRToken", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "repayAmount", "type": "uint256" }, { "internalType": "contract SDRTokenInterface", "name": "sdrTokenCollateral", "type": "address" }], "name": "liquidateBorrow", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "mintAmount", "type": "uint256" }], "name": "mint", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "nativeSymbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingAdmin", "outputs": [{ "internalType": "address payable", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "redeemTokens", "type": "uint256" }], "name": "redeem", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "redeemAmount", "type": "uint256" }], "name": "redeemUnderlying", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "repayAmount", "type": "uint256" }], "name": "repayBorrow", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "repayAmount", "type": "uint256" }], "name": "repayBorrowBehalf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "reserveFactorMantissa", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "liquidator", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "seizeTokens", "type": "uint256" }], "name": "seize", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "supplyRatePerBlock", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalBorrows", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "totalBorrowsCurrent", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "totalReserves", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "underlying", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }],
243
- Erc20: [{ "constant": true, "inputs": [], "name": "name", "outputs": [{ "name": "", "type": "string" }], "payable": false, "type": "function" }, { "constant": false, "inputs": [{ "name": "_spender", "type": "address" }, { "name": "_value", "type": "uint256" }], "name": "approve", "outputs": [{ "name": "", "type": "bool" }], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "name": "", "type": "uint256" }], "payable": false, "type": "function" }, { "constant": false, "inputs": [{ "name": "_from", "type": "address" }, { "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "name": "", "type": "bool" }], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [{ "name": "", "type": "uint8" }], "payable": false, "type": "function" }, { "constant": true, "inputs": [{ "name": "_owner", "type": "address" }], "name": "balanceOf", "outputs": [{ "name": "", "type": "uint256" }], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [{ "name": "", "type": "string" }], "payable": false, "type": "function" }, { "constant": false, "inputs": [{ "name": "_to", "type": "address" }, { "name": "_value", "type": "uint256" }], "name": "transfer", "outputs": [{ "name": "", "type": "bool" }], "payable": false, "type": "function" }, { "constant": true, "inputs": [{ "name": "_owner", "type": "address" }, { "name": "_spender", "type": "address" }], "name": "allowance", "outputs": [{ "name": "", "type": "uint256" }], "payable": false, "type": "function" }, { "inputs": [], "payable": false, "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "_from", "type": "address" }, { "indexed": true, "name": "_to", "type": "address" }, { "indexed": false, "name": "_value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "name": "_owner", "type": "address" }, { "indexed": true, "name": "_spender", "type": "address" }, { "indexed": false, "name": "_value", "type": "uint256" }], "name": "Approval", "type": "event" }],
244
- Comptroller: [{ "inputs": [], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "string", "name": "action", "type": "string" }, { "indexed": false, "internalType": "bool", "name": "pauseState", "type": "bool" }], "name": "ActionPaused", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "indexed": false, "internalType": "string", "name": "action", "type": "string" }, { "indexed": false, "internalType": "bool", "name": "pauseState", "type": "bool" }], "name": "ActionPaused", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bool", "name": "state", "type": "bool" }], "name": "ActionProtocolPaused", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "indexed": true, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "sumerDelta", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "sumerBorrowIndex", "type": "uint256" }], "name": "DistributedBorrowerSumer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "indexed": true, "internalType": "address", "name": "supplier", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "sumerDelta", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "sumerSupplyIndex", "type": "uint256" }], "name": "DistributedSupplierSumer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "suusdMinter", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "sumerDelta", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "sumersuUSDMintIndex", "type": "uint256" }], "name": "DistributedsuUSDMinterSumer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "DistributedsuUSDVaultSumer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "error", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "info", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "detail", "type": "uint256" }], "name": "Failure", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }], "name": "MarketEntered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }], "name": "MarketExited", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }], "name": "MarketListed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "isSumer", "type": "bool" }], "name": "MarketSumer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldCloseFactorMantissa", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newCloseFactorMantissa", "type": "uint256" }], "name": "NewCloseFactor", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "oldCollateralFactorMantissa", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newCollateralFactorMantissa", "type": "uint256" }], "name": "NewCollateralFactor", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldLiquidationIncentiveMantissa", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newLiquidationIncentiveMantissa", "type": "uint256" }], "name": "NewLiquidationIncentive", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldMaxAssets", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newMaxAssets", "type": "uint256" }], "name": "NewMaxAssets", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "oldPauseGuardian", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newPauseGuardian", "type": "address" }], "name": "NewPauseGuardian", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract PriceOracle", "name": "oldPriceOracle", "type": "address" }, { "indexed": false, "internalType": "contract PriceOracle", "name": "newPriceOracle", "type": "address" }], "name": "NewPriceOracle", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldSumerRate", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newSumerRate", "type": "uint256" }], "name": "NewSumerRate", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldSumersuUSDRate", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newSumersuUSDRate", "type": "uint256" }], "name": "NewSumersuUSDRate", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldSumersuUSDVaultRate", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newSumersuUSDVaultRate", "type": "uint256" }], "name": "NewSumersuUSDVaultRate", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract suUSDControllerInterface", "name": "oldsuUSDController", "type": "address" }, { "indexed": false, "internalType": "contract suUSDControllerInterface", "name": "newsuUSDController", "type": "address" }], "name": "NewsuUSDController", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "oldsuUSDMintRate", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newsuUSDMintRate", "type": "uint256" }], "name": "NewsuUSDMintRate", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "vault_", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "releaseStartBlock_", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "releaseInterval_", "type": "uint256" }], "name": "NewsuUSDVaultInfo", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "newSpeed", "type": "uint256" }], "name": "SumerSpeedUpdated", "type": "event" }, { "constant": false, "inputs": [{ "internalType": "address[]", "name": "sdrTokens", "type": "address[]" }], "name": "_addSumerMarkets", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract Unitroller", "name": "unitroller", "type": "address" }], "name": "_become", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "_borrowGuardianPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }], "name": "_dropSumerMarket", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "_mintGuardianPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "newCloseFactorMantissa", "type": "uint256" }], "name": "_setCloseFactor", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "internalType": "uint256", "name": "newCollateralFactorMantissa", "type": "uint256" }], "name": "_setCollateralFactor", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "newLiquidationIncentiveMantissa", "type": "uint256" }], "name": "_setLiquidationIncentive", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "newMaxAssets", "type": "uint256" }], "name": "_setMaxAssets", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract PriceOracle", "name": "newOracle", "type": "address" }], "name": "_setPriceOracle", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "bool", "name": "state", "type": "bool" }], "name": "_setProtocolPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "newSumerAddress", "type": "address" }], "name": "_setSumerAddress", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "sumerRate_", "type": "uint256" }], "name": "_setSumerRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "sumersuUSDRate_", "type": "uint256" }], "name": "_setSumersuUSDRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "sumersuUSDVaultRate_", "type": "uint256" }], "name": "_setSumersuUSDVaultRate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract suUSDControllerInterface", "name": "suusdController_", "type": "address" }], "name": "_setsuUSDController", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "newsuUSDMintRate", "type": "uint256" }], "name": "_setsuUSDMintRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "vault_", "type": "address" }, { "internalType": "uint256", "name": "releaseStartBlock_", "type": "uint256" }, { "internalType": "uint256", "name": "minReleaseAmount_", "type": "uint256" }], "name": "_setsuUSDVaultInfo", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }], "name": "_supportMarket", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "name": "accountAssets", "outputs": [{ "internalType": "contract SDRToken", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "admin", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "name": "allMarkets", "outputs": [{ "internalType": "contract SDRToken", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "borrowAmount", "type": "uint256" }], "name": "borrowAllowed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "borrowGuardianPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "borrowAmount", "type": "uint256" }], "name": "borrowVerify", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }, { "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }], "name": "checkMembership", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address[]", "name": "holders", "type": "address[]" }, { "internalType": "contract SDRToken[]", "name": "sdrTokens", "type": "address[]" }, { "internalType": "bool", "name": "borrowers", "type": "bool" }, { "internalType": "bool", "name": "suppliers", "type": "bool" }], "name": "claimSumer", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "holder", "type": "address" }], "name": "claimSumer", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "holder", "type": "address" }, { "internalType": "contract SDRToken[]", "name": "sdrTokens", "type": "address[]" }], "name": "claimSumer", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "closeFactorMantissa", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "comptrollerImplementation", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "suusdMinter", "type": "address" }, { "internalType": "bool", "name": "distributeAll", "type": "bool" }], "name": "distributesuUSDMinterSumer", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address[]", "name": "sdrTokens", "type": "address[]" }], "name": "enterMarkets", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrTokenAddress", "type": "address" }], "name": "exitMarket", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "getAccountLiquidity", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getAllMarkets", "outputs": [{ "internalType": "contract SDRToken[]", "name": "", "type": "address[]" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "getAssetsIn", "outputs": [{ "internalType": "contract SDRToken[]", "name": "", "type": "address[]" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getBlockNumber", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "sdrTokenModify", "type": "address" }, { "internalType": "uint256", "name": "redeemTokens", "type": "uint256" }, { "internalType": "uint256", "name": "borrowAmount", "type": "uint256" }], "name": "getHypotheticalAccountLiquidity", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getSumerAddress", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isComptroller", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrTokenBorrowed", "type": "address" }, { "internalType": "address", "name": "sdrTokenCollateral", "type": "address" }, { "internalType": "address", "name": "liquidator", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "repayAmount", "type": "uint256" }], "name": "liquidateBorrowAllowed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrTokenBorrowed", "type": "address" }, { "internalType": "address", "name": "sdrTokenCollateral", "type": "address" }, { "internalType": "address", "name": "liquidator", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "actualRepayAmount", "type": "uint256" }, { "internalType": "uint256", "name": "seizeTokens", "type": "uint256" }], "name": "liquidateBorrowVerify", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "sdrTokenBorrowed", "type": "address" }, { "internalType": "address", "name": "sdrTokenCollateral", "type": "address" }, { "internalType": "uint256", "name": "actualRepayAmount", "type": "uint256" }], "name": "liquidateCalculateSeizeTokens", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "liquidationIncentiveMantissa", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "markets", "outputs": [{ "internalType": "bool", "name": "isListed", "type": "bool" }, { "internalType": "uint256", "name": "collateralFactorMantissa", "type": "uint256" }, { "internalType": "bool", "name": "isSumer", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "maxAssets", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "minReleaseAmount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "minter", "type": "address" }, { "internalType": "uint256", "name": "mintAmount", "type": "uint256" }], "name": "mintAllowed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "mintGuardianPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "minter", "type": "address" }, { "internalType": "uint256", "name": "actualMintAmount", "type": "uint256" }, { "internalType": "uint256", "name": "mintTokens", "type": "uint256" }], "name": "mintVerify", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "mintedsuUSDs", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "mintsuUSDGuardianPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "oracle", "outputs": [{ "internalType": "contract PriceOracle", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "pauseGuardian", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingAdmin", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingComptrollerImplementation", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "protocolPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "redeemer", "type": "address" }, { "internalType": "uint256", "name": "redeemTokens", "type": "uint256" }], "name": "redeemAllowed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "redeemer", "type": "address" }, { "internalType": "uint256", "name": "redeemAmount", "type": "uint256" }, { "internalType": "uint256", "name": "redeemTokens", "type": "uint256" }], "name": "redeemVerify", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "refreshSumerSpeeds", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "releaseStartBlock", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "releaseToVault", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "payer", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "repayAmount", "type": "uint256" }], "name": "repayBorrowAllowed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "payer", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "actualRepayAmount", "type": "uint256" }, { "internalType": "uint256", "name": "borrowerIndex", "type": "uint256" }], "name": "repayBorrowVerify", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "repaysuUSDGuardianPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrTokenCollateral", "type": "address" }, { "internalType": "address", "name": "sdrTokenBorrowed", "type": "address" }, { "internalType": "address", "name": "liquidator", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "seizeTokens", "type": "uint256" }], "name": "seizeAllowed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "seizeGuardianPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrTokenCollateral", "type": "address" }, { "internalType": "address", "name": "sdrTokenBorrowed", "type": "address" }, { "internalType": "address", "name": "liquidator", "type": "address" }, { "internalType": "address", "name": "borrower", "type": "address" }, { "internalType": "uint256", "name": "seizeTokens", "type": "uint256" }], "name": "seizeVerify", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "setMintedsuUSDOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "sumerAccrued", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "sumerAddress", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "sumerBorrowState", "outputs": [{ "internalType": "uint224", "name": "index", "type": "uint224" }, { "internalType": "uint32", "name": "block", "type": "uint32" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "sumerBorrowerIndex", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "sumerClaimThreshold", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "sumerInitialIndex", "outputs": [{ "internalType": "uint224", "name": "", "type": "uint224" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "sumerRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "sumerSpeeds", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "sumerSupplierIndex", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "sumerSupplyState", "outputs": [{ "internalType": "uint224", "name": "index", "type": "uint224" }, { "internalType": "uint32", "name": "block", "type": "uint32" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "sumersuUSDRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "sumersuUSDVaultRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "suusdController", "outputs": [{ "internalType": "contract suUSDControllerInterface", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "suusdMintRate", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "suusdVaultAddress", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "transferTokens", "type": "uint256" }], "name": "transferAllowed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "transferGuardianPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "transferTokens", "type": "uint256" }], "name": "transferVerify", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }],
245
- COMP: [{ "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "payable": false, "stateMutability": "nonpayable", "type": "constructor", "signature": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Approval", "type": "event", "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "delegator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "fromDelegate", "type": "address" }, { "indexed": true, "internalType": "address", "name": "toDelegate", "type": "address" }], "name": "DelegateChanged", "type": "event", "signature": "0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "delegate", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "previousBalance", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newBalance", "type": "uint256" }], "name": "DelegateVotesChanged", "type": "event", "signature": "0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Transfer", "type": "event", "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" }, { "constant": true, "inputs": [], "name": "DELEGATION_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xe7a324dc" }, { "constant": true, "inputs": [], "name": "DOMAIN_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x20606b70" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xdd62ed3e" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "rawAmount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x095ea7b3" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x70a08231" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint32", "name": "", "type": "uint32" }], "name": "checkpoints", "outputs": [{ "internalType": "uint32", "name": "fromBlock", "type": "uint32" }, { "internalType": "uint96", "name": "votes", "type": "uint96" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xf1127ed8" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x313ce567" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "delegatee", "type": "address" }], "name": "delegate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x5c19a95c" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "delegatee", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "uint256", "name": "expiry", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "delegateBySig", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xc3cda520" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "delegates", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x587cde1e" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "getCurrentVotes", "outputs": [{ "internalType": "uint96", "name": "", "type": "uint96" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xb4b5ea57" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "blockNumber", "type": "uint256" }], "name": "getPriorVotes", "outputs": [{ "internalType": "uint96", "name": "", "type": "uint96" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x782d6fe1" }, { "constant": true, "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x06fdde03" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "nonces", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x7ecebe00" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "numCheckpoints", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x6fcfff45" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x95d89b41" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x18160ddd" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "rawAmount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xa9059cbb" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "rawAmount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x23b872dd" }],
246
- GovernorAlpha: [{ "inputs": [{ "internalType": "address", "name": "timelock_", "type": "address" }, { "internalType": "address", "name": "comp_", "type": "address" }, { "internalType": "address", "name": "guardian_", "type": "address" }], "payable": false, "stateMutability": "nonpayable", "type": "constructor", "signature": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }], "name": "ProposalCanceled", "type": "event", "signature": "0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "proposer", "type": "address" }, { "indexed": false, "internalType": "address[]", "name": "targets", "type": "address[]" }, { "indexed": false, "internalType": "uint256[]", "name": "values", "type": "uint256[]" }, { "indexed": false, "internalType": "string[]", "name": "signatures", "type": "string[]" }, { "indexed": false, "internalType": "bytes[]", "name": "calldatas", "type": "bytes[]" }, { "indexed": false, "internalType": "uint256", "name": "startBlock", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "endBlock", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "description", "type": "string" }], "name": "ProposalCreated", "type": "event", "signature": "0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }], "name": "ProposalExecuted", "type": "event", "signature": "0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "eta", "type": "uint256" }], "name": "ProposalQueued", "type": "event", "signature": "0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "voter", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "proposalId", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "support", "type": "bool" }, { "indexed": false, "internalType": "uint256", "name": "votes", "type": "uint256" }], "name": "VoteCast", "type": "event", "signature": "0x877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c46" }, { "constant": true, "inputs": [], "name": "BALLOT_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xdeaaa7cc" }, { "constant": true, "inputs": [], "name": "DOMAIN_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x20606b70" }, { "constant": false, "inputs": [], "name": "__abdicate", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x760fbc13" }, { "constant": false, "inputs": [], "name": "__acceptAdmin", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xb9a61961" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "newPendingAdmin", "type": "address" }, { "internalType": "uint256", "name": "eta", "type": "uint256" }], "name": "__executeSetTimelockPendingAdmin", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x21f43e42" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "newPendingAdmin", "type": "address" }, { "internalType": "uint256", "name": "eta", "type": "uint256" }], "name": "__queueSetTimelockPendingAdmin", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x91500671" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }], "name": "cancel", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x40e58ee5" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }, { "internalType": "bool", "name": "support", "type": "bool" }], "name": "castVote", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x15373e3d" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }, { "internalType": "bool", "name": "support", "type": "bool" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "castVoteBySig", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0x4634c61f" }, { "constant": true, "inputs": [], "name": "comp", "outputs": [{ "internalType": "contract CompInterface", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x109d0af8" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }], "name": "execute", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function", "signature": "0xfe0d94c1" }, { "constant": true, "inputs": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }], "name": "getActions", "outputs": [{ "internalType": "address[]", "name": "targets", "type": "address[]" }, { "internalType": "uint256[]", "name": "values", "type": "uint256[]" }, { "internalType": "string[]", "name": "signatures", "type": "string[]" }, { "internalType": "bytes[]", "name": "calldatas", "type": "bytes[]" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x328dd982" }, { "constant": true, "inputs": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }, { "internalType": "address", "name": "voter", "type": "address" }], "name": "getReceipt", "outputs": [{ "components": [{ "internalType": "bool", "name": "hasVoted", "type": "bool" }, { "internalType": "bool", "name": "support", "type": "bool" }, { "internalType": "uint96", "name": "votes", "type": "uint96" }], "internalType": "struct GovernorAlpha.Receipt", "name": "", "type": "tuple" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xe23a9a52" }, { "constant": true, "inputs": [], "name": "guardian", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x452a9320" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "latestProposalIds", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x17977c61" }, { "constant": true, "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x06fdde03" }, { "constant": true, "inputs": [], "name": "proposalCount", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xda35c664" }, { "constant": true, "inputs": [], "name": "proposalMaxOperations", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "pure", "type": "function", "signature": "0x7bdbe4d0" }, { "constant": true, "inputs": [], "name": "proposalThreshold", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "pure", "type": "function", "signature": "0xb58131b0" }, { "constant": true, "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "name": "proposals", "outputs": [{ "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "address", "name": "proposer", "type": "address" }, { "internalType": "uint256", "name": "eta", "type": "uint256" }, { "internalType": "uint256", "name": "startBlock", "type": "uint256" }, { "internalType": "uint256", "name": "endBlock", "type": "uint256" }, { "internalType": "uint256", "name": "forVotes", "type": "uint256" }, { "internalType": "uint256", "name": "againstVotes", "type": "uint256" }, { "internalType": "bool", "name": "canceled", "type": "bool" }, { "internalType": "bool", "name": "executed", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x013cf08b" }, { "constant": false, "inputs": [{ "internalType": "address[]", "name": "targets", "type": "address[]" }, { "internalType": "uint256[]", "name": "values", "type": "uint256[]" }, { "internalType": "string[]", "name": "signatures", "type": "string[]" }, { "internalType": "bytes[]", "name": "calldatas", "type": "bytes[]" }, { "internalType": "string", "name": "description", "type": "string" }], "name": "propose", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xda95691a" }, { "constant": false, "inputs": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }], "name": "queue", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function", "signature": "0xddf0b009" }, { "constant": true, "inputs": [], "name": "quorumVotes", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "pure", "type": "function", "signature": "0x24bc1a64" }, { "constant": true, "inputs": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }], "name": "state", "outputs": [{ "internalType": "enum GovernorAlpha.ProposalState", "name": "", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0x3e4f49e6" }, { "constant": true, "inputs": [], "name": "timelock", "outputs": [{ "internalType": "contract TimelockInterface", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function", "signature": "0xd33219b4" }, { "constant": true, "inputs": [], "name": "votingDelay", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "pure", "type": "function", "signature": "0x3932abb1" }, { "constant": true, "inputs": [], "name": "votingPeriod", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "pure", "type": "function", "signature": "0x02a251a3" }],
247
- PriceFeed: ["function price(string symbol) returns (uint256)"],
248
- SumerLens: [{ "constant": true, "inputs": [{ "internalType": "contract ComptrollerLensInterface", "name": "comptroller", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }], "name": "getAccountLimits", "outputs": [{ "components": [{ "internalType": "contract SDRToken[]", "name": "markets", "type": "address[]" }, { "internalType": "uint256", "name": "liquidity", "type": "uint256" }, { "internalType": "uint256", "name": "shortfall", "type": "uint256" }], "internalType": "struct SumerLens.AccountLimits", "name": "", "type": "tuple" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "contract GovernorAlpha", "name": "governor", "type": "address" }, { "internalType": "uint256[]", "name": "proposalIds", "type": "uint256[]" }], "name": "getGovProposals", "outputs": [{ "components": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }, { "internalType": "address", "name": "proposer", "type": "address" }, { "internalType": "uint256", "name": "eta", "type": "uint256" }, { "internalType": "address[]", "name": "targets", "type": "address[]" }, { "internalType": "uint256[]", "name": "values", "type": "uint256[]" }, { "internalType": "string[]", "name": "signatures", "type": "string[]" }, { "internalType": "bytes[]", "name": "calldatas", "type": "bytes[]" }, { "internalType": "uint256", "name": "startBlock", "type": "uint256" }, { "internalType": "uint256", "name": "endBlock", "type": "uint256" }, { "internalType": "uint256", "name": "forVotes", "type": "uint256" }, { "internalType": "uint256", "name": "againstVotes", "type": "uint256" }, { "internalType": "bool", "name": "canceled", "type": "bool" }, { "internalType": "bool", "name": "executed", "type": "bool" }], "internalType": "struct SumerLens.GovProposal[]", "name": "", "type": "tuple[]" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "contract GovernorAlpha", "name": "governor", "type": "address" }, { "internalType": "address", "name": "voter", "type": "address" }, { "internalType": "uint256[]", "name": "proposalIds", "type": "uint256[]" }], "name": "getGovReceipts", "outputs": [{ "components": [{ "internalType": "uint256", "name": "proposalId", "type": "uint256" }, { "internalType": "bool", "name": "hasVoted", "type": "bool" }, { "internalType": "bool", "name": "support", "type": "bool" }, { "internalType": "uint96", "name": "votes", "type": "uint96" }], "internalType": "struct SumerLens.GovReceipt[]", "name": "", "type": "tuple[]" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "contract Sumer", "name": "sumer", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }], "name": "getSumerBalanceMetadata", "outputs": [{ "components": [{ "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "votes", "type": "uint256" }, { "internalType": "address", "name": "delegate", "type": "address" }], "internalType": "struct SumerLens.SumerBalanceMetadata", "name": "", "type": "tuple" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract Sumer", "name": "sumer", "type": "address" }, { "internalType": "contract ComptrollerLensInterface", "name": "comptroller", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }], "name": "getSumerBalanceMetadataExt", "outputs": [{ "components": [{ "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "votes", "type": "uint256" }, { "internalType": "address", "name": "delegate", "type": "address" }, { "internalType": "uint256", "name": "allocated", "type": "uint256" }], "internalType": "struct SumerLens.SumerBalanceMetadataExt", "name": "", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "contract Sumer", "name": "sumer", "type": "address" }, { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint32[]", "name": "blockNumbers", "type": "uint32[]" }], "name": "getSumerVotes", "outputs": [{ "components": [{ "internalType": "uint256", "name": "blockNumber", "type": "uint256" }, { "internalType": "uint256", "name": "votes", "type": "uint256" }], "internalType": "struct SumerLens.SumerVotes[]", "name": "", "type": "tuple[]" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }, { "internalType": "address payable", "name": "account", "type": "address" }], "name": "sdrTokenBalances", "outputs": [{ "components": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "uint256", "name": "balanceOf", "type": "uint256" }, { "internalType": "uint256", "name": "borrowBalanceCurrent", "type": "uint256" }, { "internalType": "uint256", "name": "balanceOfUnderlying", "type": "uint256" }, { "internalType": "uint256", "name": "tokenBalance", "type": "uint256" }, { "internalType": "uint256", "name": "tokenAllowance", "type": "uint256" }], "internalType": "struct SumerLens.SDRTokenBalances", "name": "", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract SDRToken[]", "name": "sdrTokens", "type": "address[]" }, { "internalType": "address payable", "name": "account", "type": "address" }], "name": "sdrTokenBalancesAll", "outputs": [{ "components": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "uint256", "name": "balanceOf", "type": "uint256" }, { "internalType": "uint256", "name": "borrowBalanceCurrent", "type": "uint256" }, { "internalType": "uint256", "name": "balanceOfUnderlying", "type": "uint256" }, { "internalType": "uint256", "name": "tokenBalance", "type": "uint256" }, { "internalType": "uint256", "name": "tokenAllowance", "type": "uint256" }], "internalType": "struct SumerLens.SDRTokenBalances[]", "name": "", "type": "tuple[]" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }], "name": "sdrTokenMetadata", "outputs": [{ "components": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "uint256", "name": "exchangeRateCurrent", "type": "uint256" }, { "internalType": "uint256", "name": "supplyRatePerBlock", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRatePerBlock", "type": "uint256" }, { "internalType": "uint256", "name": "reserveFactorMantissa", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrows", "type": "uint256" }, { "internalType": "uint256", "name": "totalReserves", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "totalCash", "type": "uint256" }, { "internalType": "bool", "name": "isListed", "type": "bool" }, { "internalType": "uint256", "name": "collateralFactorMantissa", "type": "uint256" }, { "internalType": "address", "name": "underlyingAssetAddress", "type": "address" }, { "internalType": "uint256", "name": "sdrTokenDecimals", "type": "uint256" }, { "internalType": "uint256", "name": "underlyingDecimals", "type": "uint256" }], "internalType": "struct SumerLens.SDRTokenMetadata", "name": "", "type": "tuple" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract SDRToken[]", "name": "sdrTokens", "type": "address[]" }], "name": "sdrTokenMetadataAll", "outputs": [{ "components": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "uint256", "name": "exchangeRateCurrent", "type": "uint256" }, { "internalType": "uint256", "name": "supplyRatePerBlock", "type": "uint256" }, { "internalType": "uint256", "name": "borrowRatePerBlock", "type": "uint256" }, { "internalType": "uint256", "name": "reserveFactorMantissa", "type": "uint256" }, { "internalType": "uint256", "name": "totalBorrows", "type": "uint256" }, { "internalType": "uint256", "name": "totalReserves", "type": "uint256" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" }, { "internalType": "uint256", "name": "totalCash", "type": "uint256" }, { "internalType": "bool", "name": "isListed", "type": "bool" }, { "internalType": "uint256", "name": "collateralFactorMantissa", "type": "uint256" }, { "internalType": "address", "name": "underlyingAssetAddress", "type": "address" }, { "internalType": "uint256", "name": "sdrTokenDecimals", "type": "uint256" }, { "internalType": "uint256", "name": "underlyingDecimals", "type": "uint256" }], "internalType": "struct SumerLens.SDRTokenMetadata[]", "name": "", "type": "tuple[]" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "contract SDRToken", "name": "sdrToken", "type": "address" }], "name": "sdrTokenUnderlyingPrice", "outputs": [{ "components": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "uint256", "name": "underlyingPrice", "type": "uint256" }], "internalType": "struct SumerLens.SDRTokenUnderlyingPrice", "name": "", "type": "tuple" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "contract SDRToken[]", "name": "sdrTokens", "type": "address[]" }], "name": "sdrTokenUnderlyingPriceAll", "outputs": [{ "components": [{ "internalType": "address", "name": "sdrToken", "type": "address" }, { "internalType": "uint256", "name": "underlyingPrice", "type": "uint256" }], "internalType": "struct SumerLens.SDRTokenUnderlyingPrice[]", "name": "", "type": "tuple[]" }], "payable": false, "stateMutability": "view", "type": "function" }],
249
- PriceOracle: [{ "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "asset", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "previousPriceMantissa", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "requestedPriceMantissa", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newPriceMantissa", "type": "uint256" }], "name": "PricePosted", "type": "event" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "asset", "type": "address" }], "name": "assetPrices", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "contract VToken", "name": "vToken", "type": "address" }], "name": "getUnderlyingPrice", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isPriceOracle", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "price", "type": "uint256" }], "name": "setDirectPrice", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "contract VToken", "name": "vToken", "type": "address" }, { "internalType": "uint256", "name": "underlyingPriceMantissa", "type": "uint256" }], "name": "setUnderlyingPrice", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }]
1002
+ exports.getAddress = getAddress;
1003
+ const getName = (networkName, tokenAddress) => {
1004
+ if (!(networkName in address)) {
1005
+ throw Error(`${networkName} is not configured on name list`);
1006
+ }
1007
+ const nameList = names[networkName];
1008
+ if (!(tokenAddress.toLowerCase() in nameList)) {
1009
+ throw Error(`${tokenAddress} name not configued on ${networkName}`);
1010
+ }
1011
+ return nameList[tokenAddress.toLowerCase()];
250
1012
  };
251
- exports.cTokens = [
252
- 'cBAT', 'cCOMP', 'cDAI', 'cETH', 'cREP', 'cSAI', 'cUNI', 'cUSDC', 'cUSDT', 'cWBTC', 'cZRX',
253
- // venus tokens
254
- 'vBNB', 'vUSDC', 'vUSDT', 'vSXP', 'vBUSD', 'vXVS',
255
- // Sumer
256
- 'sdrHT', 'sdrHETH', 'sdrHUSD',
257
- // Sumer on Ropsten
258
- 'sdrETH', 'sdrUSDT', 'sdrMTRG'
259
- ];
260
- exports.underlyings = [
261
- 'suUSD',
262
- 'BAT', 'COMP', 'DAI', 'ETH', 'REP', 'SAI', 'UNI', 'USDC', 'USDT', 'WBTC', 'ZRX',
263
- // venus underlyings
264
- 'BNB', 'USDC', 'USDT', 'SXP', 'BUSD', 'XVS',
265
- // Sumer
266
- 'HT', 'HETH', 'HUSD',
267
- // Sumer on Ropsten
268
- 'MTRG'
269
- ];
270
- // additional assets supported by the open price feed
271
- exports.opfAssets = ['KNC', 'LINK', 'BTC'];
272
- exports.decimals = {
273
- 'cBAT': 8,
274
- 'cCOMP': 8,
275
- 'cDAI': 8,
276
- 'cETH': 8,
277
- 'cREP': 8,
278
- 'cSAI': 8,
279
- 'cUNI': 8,
280
- 'cUSDC': 8,
281
- 'cUSDT': 8,
282
- 'cWBTC': 8,
283
- 'cZRX': 8,
284
- 'BAT': 18,
285
- 'COMP': 18,
286
- 'DAI': 18,
287
- 'suUSD': 18,
288
- 'ETH': 18,
289
- 'REP': 18,
290
- 'SAI': 18,
291
- 'UNI': 18,
292
- // 'USDC': 6,
293
- // 'USDT': 6,
294
- 'WBTC': 8,
295
- 'ZRX': 18,
296
- 'KNC': 18,
297
- 'LINK': 18,
298
- 'BTC': 8,
299
- // venus decimals
300
- 'vBNB': 8,
301
- 'vUSDC': 8,
302
- 'vUSDT': 8,
303
- 'vSXP': 8,
304
- 'vBUSD': 8,
305
- 'vXVS': 8,
306
- 'BNB': 18,
307
- 'USDC': 6,
308
- 'USDT': 6,
309
- 'SXP': 18,
310
- 'BUSD': 18,
311
- 'XVS': 18,
312
- // Sumer
313
- 'HT': 18,
314
- 'HETH': 18,
315
- 'HUSD': 18,
316
- 'sdrHT': 8,
317
- 'sdrHETH': 8,
318
- 'sdrHUSD': 8,
319
- // Sumer on Ropsten
320
- 'MTRG': 18,
321
- 'sdrETH': 8,
322
- 'sdrMTRG': 8,
323
- 'sdrUSDT': 8
1013
+ exports.getName = getName;
1014
+ const isCTokenAllowed = (networkName, cToken) => {
1015
+ const pairs = (0, exports.getTokenPairs)(networkName);
1016
+ const allowed = pairs.some((p) => p.ctokenSym === cToken);
1017
+ if (!allowed) {
1018
+ throw Error(`cToken ${cToken} not allowed on ${networkName}`);
1019
+ }
1020
+ return true;
1021
+ };
1022
+ exports.isCTokenAllowed = isCTokenAllowed;
1023
+ const isUnderlyAllowed = (networkName, underlyName) => {
1024
+ const pairs = (0, exports.getTokenPairs)(networkName);
1025
+ const allowed = pairs.some((p) => p.underlySym === underlyName);
1026
+ if (!allowed) {
1027
+ throw Error(`underly ${underlyName} not allowed on ${networkName}`);
1028
+ }
1029
+ return true;
324
1030
  };
325
- exports.errorCodes = {
326
- 'comptroller': {
327
- 'codes': {
328
- '0': { 'error': 'NO_ERROR', 'description': 'Not a failure.', 'hint': '' },
329
- '1': { 'error': 'UNAUTHORIZED', 'description': 'The sender is not authorized to perform this action.', 'hint': '' },
330
- '2': { 'error': 'COMPTROLLER_MISMATCH', 'description': 'Liquidation cannot be performed in markets with different comptrollers.', 'hint': '' },
331
- '3': { 'error': 'INSUFFICIENT_SHORTFALL', 'description': 'The account does not have sufficient shortfall to perform this action.', 'hint': '' },
332
- '4': { 'error': 'INSUFFICIENT_LIQUIDITY', 'description': 'The account does not have sufficient liquidity to perform this action.', 'hint': '' },
333
- '5': { 'error': 'INVALID_CLOSE_FACTOR', 'description': 'The close factor is not valid.', 'hint': '' },
334
- '6': { 'error': 'INVALID_COLLATERAL_FACTOR', 'description': 'The collateral factor is not valid.', 'hint': '' },
335
- '7': { 'error': 'INVALID_LIQUIDATION_INCENTIVE', 'description': 'The liquidation incentive is invalid.', 'hint': '' },
336
- '8': { 'error': 'MARKET_NOT_ENTERED', 'description': 'The market has not been entered by the account.', 'hint': '' },
337
- '9': { 'error': 'MARKET_NOT_LISTED', 'description': 'The market is not currently listed by the comptroller.', 'hint': '' },
338
- '10': { 'error': 'MARKET_ALREADY_LISTED', 'description': 'An admin tried to list the same market more than once.', 'hint': '' },
339
- '11': { 'error': 'MATH_ERROR', 'description': 'A math calculation error occurred.', 'hint': '' },
340
- '12': { 'error': 'NONZERO_BORROW_BALANCE', 'description': 'The action cannot be performed since the account carries a borrow balance.', 'hint': '' },
341
- '13': { 'error': 'PRICE_ERROR', 'description': 'The comptroller could not obtain a required price of an asset.', 'hint': '' },
342
- '14': { 'error': 'REJECTION', 'description': 'The comptroller rejects the action requested by the market.', 'hint': '' },
343
- '15': { 'error': 'SNAPSHOT_ERROR', 'description': 'The comptroller could not get the account borrows and exchange rate from the market.', 'hint': '' },
344
- '16': { 'error': 'TOO_MANY_ASSETS', 'description': 'Attempted to enter more markets than are currently supported.', 'hint': '' },
345
- '17': { 'error': 'TOO_MUCH_REPAY', 'description': 'Attempted to repay more than is allowed by the protocol.', 'hint': '' }
346
- },
347
- 'info': {
348
- '0': { 'error': 'ACCEPT_ADMIN_PENDING_ADMIN_CHECK', 'description': '', 'hint': '' },
349
- '1': { 'error': 'ACCEPT_PENDING_IMPLEMENTATION_ADDRESS_CHECK', 'description': '', 'hint': '' },
350
- '2': { 'error': 'EXIT_MARKET_BALANCE_OWED', 'description': '', 'hint': '' },
351
- '3': { 'error': 'EXIT_MARKET_REJECTION', 'description': '', 'hint': '' },
352
- '4': { 'error': 'SET_CLOSE_FACTOR_OWNER_CHECK', 'description': '', 'hint': '' },
353
- '5': { 'error': 'SET_CLOSE_FACTOR_VALIDATION', 'description': '', 'hint': '' },
354
- '6': { 'error': 'SET_COLLATERAL_FACTOR_OWNER_CHECK', 'description': '', 'hint': '' },
355
- '7': { 'error': 'SET_COLLATERAL_FACTOR_NO_EXISTS', 'description': '', 'hint': '' },
356
- '8': { 'error': 'SET_COLLATERAL_FACTOR_VALIDATION', 'description': '', 'hint': '' },
357
- '9': { 'error': 'SET_COLLATERAL_FACTOR_WITHOUT_PRICE', 'description': '', 'hint': '' },
358
- '10': { 'error': 'SET_IMPLEMENTATION_OWNER_CHECK', 'description': '', 'hint': '' },
359
- '11': { 'error': 'SET_LIQUIDATION_INCENTIVE_OWNER_CHECK', 'description': '', 'hint': '' },
360
- '12': { 'error': 'SET_LIQUIDATION_INCENTIVE_VALIDATION', 'description': '', 'hint': '' },
361
- '13': { 'error': 'SET_MAX_ASSETS_OWNER_CHECK', 'description': '', 'hint': '' },
362
- '14': { 'error': 'SET_PENDING_ADMIN_OWNER_CHECK', 'description': '', 'hint': '' },
363
- '15': { 'error': 'SET_PENDING_IMPLEMENTATION_OWNER_CHECK', 'description': '', 'hint': '' },
364
- '16': { 'error': 'SET_PRICE_ORACLE_OWNER_CHECK', 'description': '', 'hint': '' },
365
- '17': { 'error': 'SUPPORT_MARKET_EXISTS', 'description': '', 'hint': '' },
366
- '18': { 'error': 'SUPPORT_MARKET_OWNER_CHECK', 'description': '', 'hint': '' }
1031
+ exports.isUnderlyAllowed = isUnderlyAllowed;
1032
+ const getDecimals = (networkName, tokenSym) => {
1033
+ const pairs = (0, exports.getTokenPairs)(networkName);
1034
+ for (const p of pairs) {
1035
+ if (p.ctokenSym === tokenSym) {
1036
+ return p.ctokenDecimal;
1037
+ }
1038
+ if (p.underlySym === tokenSym) {
1039
+ return p.underlyDecimal;
1040
+ }
1041
+ }
1042
+ throw Error(`decimal not configured for ${tokenSym} on ${networkName}`);
1043
+ };
1044
+ exports.getDecimals = getDecimals;
1045
+ const getDecimalsOfUnderly = (networkName, tokenSym) => {
1046
+ const pairs = (0, exports.getTokenPairs)(networkName);
1047
+ for (const p of pairs) {
1048
+ if (p.ctokenSym === tokenSym) {
1049
+ return p.underlyDecimal;
1050
+ }
1051
+ if (p.underlySym === tokenSym) {
1052
+ return p.underlyDecimal;
367
1053
  }
368
1054
  }
1055
+ throw Error(`decimal not configured for ${tokenSym} on ${networkName}`);
1056
+ };
1057
+ exports.getDecimalsOfUnderly = getDecimalsOfUnderly;
1058
+ const isEther = (networkName, ctokenSym) => {
1059
+ const pairs = (0, exports.getTokenPairs)(networkName);
1060
+ return pairs.some((p) => p.ctokenSym === ctokenSym && p.ctokenIsEther);
369
1061
  };
1062
+ exports.isEther = isEther;
1063
+ // TODO: Show a specific error code when a transaction fails
1064
+ // export const errorCodes = {
1065
+ // 'comptroller': {
1066
+ // 'codes': {
1067
+ // '0': { 'error': 'NO_ERROR', 'description': 'Not a failure.', 'hint': '', },
1068
+ // '1': { 'error': 'UNAUTHORIZED', 'description': 'The sender is not authorized to perform this action.', 'hint': '', },
1069
+ // '2': { 'error': 'COMPTROLLER_MISMATCH', 'description': 'Liquidation cannot be performed in markets with different comptrollers.', 'hint': '', },
1070
+ // '3': { 'error': 'INSUFFICIENT_SHORTFALL', 'description': 'The account does not have sufficient shortfall to perform this action.', 'hint': '', },
1071
+ // '4': { 'error': 'INSUFFICIENT_LIQUIDITY', 'description': 'The account does not have sufficient liquidity to perform this action.', 'hint': '', },
1072
+ // '5': { 'error': 'INVALID_CLOSE_FACTOR', 'description': 'The close factor is not valid.', 'hint': '', },
1073
+ // '6': { 'error': 'INVALID_COLLATERAL_FACTOR', 'description': 'The collateral factor is not valid.', 'hint': '', },
1074
+ // '7': { 'error': 'INVALID_LIQUIDATION_INCENTIVE', 'description': 'The liquidation incentive is invalid.', 'hint': '', },
1075
+ // '8': { 'error': 'MARKET_NOT_ENTERED', 'description': 'The market has not been entered by the account.', 'hint': '', },
1076
+ // '9': { 'error': 'MARKET_NOT_LISTED', 'description': 'The market is not currently listed by the comptroller.', 'hint': '', },
1077
+ // '10': { 'error': 'MARKET_ALREADY_LISTED', 'description': 'An admin tried to list the same market more than once.', 'hint': '', },
1078
+ // '11': { 'error': 'MATH_ERROR', 'description': 'A math calculation error occurred.', 'hint': '', },
1079
+ // '12': { 'error': 'NONZERO_BORROW_BALANCE', 'description': 'The action cannot be performed since the account carries a borrow balance.', 'hint': '', },
1080
+ // '13': { 'error': 'PRICE_ERROR', 'description': 'The comptroller could not obtain a required price of an asset.', 'hint': '', },
1081
+ // '14': { 'error': 'REJECTION', 'description': 'The comptroller rejects the action requested by the market.', 'hint': '', },
1082
+ // '15': { 'error': 'SNAPSHOT_ERROR', 'description': 'The comptroller could not get the account borrows and exchange rate from the market.', 'hint': '', },
1083
+ // '16': { 'error': 'TOO_MANY_ASSETS', 'description': 'Attempted to enter more markets than are currently supported.', 'hint': '', },
1084
+ // '17': { 'error': 'TOO_MUCH_REPAY', 'description': 'Attempted to repay more than is allowed by the protocol.', 'hint': '', },
1085
+ // },
1086
+ // 'info': {
1087
+ // '0': { 'error': 'ACCEPT_ADMIN_PENDING_ADMIN_CHECK', 'description': '', 'hint': '', },
1088
+ // '1': { 'error': 'ACCEPT_PENDING_IMPLEMENTATION_ADDRESS_CHECK', 'description': '', 'hint': '', },
1089
+ // '2': { 'error': 'EXIT_MARKET_BALANCE_OWED', 'description': '', 'hint': '', },
1090
+ // '3': { 'error': 'EXIT_MARKET_REJECTION', 'description': '', 'hint': '', },
1091
+ // '4': { 'error': 'SET_CLOSE_FACTOR_OWNER_CHECK', 'description': '', 'hint': '', },
1092
+ // '5': { 'error': 'SET_CLOSE_FACTOR_VALIDATION', 'description': '', 'hint': '', },
1093
+ // '6': { 'error': 'SET_COLLATERAL_FACTOR_OWNER_CHECK', 'description': '', 'hint': '', },
1094
+ // '7': { 'error': 'SET_COLLATERAL_FACTOR_NO_EXISTS', 'description': '', 'hint': '', },
1095
+ // '8': { 'error': 'SET_COLLATERAL_FACTOR_VALIDATION', 'description': '', 'hint': '', },
1096
+ // '9': { 'error': 'SET_COLLATERAL_FACTOR_WITHOUT_PRICE', 'description': '', 'hint': '', },
1097
+ // '10': { 'error': 'SET_IMPLEMENTATION_OWNER_CHECK', 'description': '', 'hint': '', },
1098
+ // '11': { 'error': 'SET_LIQUIDATION_INCENTIVE_OWNER_CHECK', 'description': '', 'hint': '', },
1099
+ // '12': { 'error': 'SET_LIQUIDATION_INCENTIVE_VALIDATION', 'description': '', 'hint': '', },
1100
+ // '13': { 'error': 'SET_MAX_ASSETS_OWNER_CHECK', 'description': '', 'hint': '', },
1101
+ // '14': { 'error': 'SET_PENDING_ADMIN_OWNER_CHECK', 'description': '', 'hint': '', },
1102
+ // '15': { 'error': 'SET_PENDING_IMPLEMENTATION_OWNER_CHECK', 'description': '', 'hint': '', },
1103
+ // '16': { 'error': 'SET_PRICE_ORACLE_OWNER_CHECK', 'description': '', 'hint': '', },
1104
+ // '17': { 'error': 'SUPPORT_MARKET_EXISTS', 'description': '', 'hint': '', },
1105
+ // '18': { 'error': 'SUPPORT_MARKET_OWNER_CHECK', 'description': '', 'hint': '', },
1106
+ // }
1107
+ // }
1108
+ // };
370
1109
  //# sourceMappingURL=constants.js.map