@venusprotocol/protocol-reserve 1.5.0-dev.1 → 1.5.0-dev.3

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 (372) hide show
  1. package/dist/typechain/factories/AbstractTokenConverter__factory.d.ts +68 -0
  2. package/dist/typechain/factories/AbstractTokenConverter__factory.d.ts.map +1 -0
  3. package/dist/typechain/factories/AbstractTokenConverter__factory.js +1282 -0
  4. package/dist/typechain/factories/AbstractTokenConverter__factory.js.map +1 -0
  5. package/dist/typechain/factories/AccessControl__factory.d.ts +36 -0
  6. package/dist/typechain/factories/AccessControl__factory.d.ts.map +1 -0
  7. package/dist/typechain/factories/AccessControl__factory.js +221 -0
  8. package/dist/typechain/factories/AccessControl__factory.js.map +1 -0
  9. package/dist/typechain/factories/AccessControlledV8__factory.d.ts +54 -0
  10. package/dist/typechain/factories/AccessControlledV8__factory.d.ts.map +1 -0
  11. package/dist/typechain/factories/AccessControlledV8__factory.js +187 -0
  12. package/dist/typechain/factories/AccessControlledV8__factory.js.map +1 -0
  13. package/dist/typechain/factories/BeaconProxy__factory.d.ts +46 -0
  14. package/dist/typechain/factories/BeaconProxy__factory.d.ts.map +1 -0
  15. package/dist/typechain/factories/BeaconProxy__factory.js +108 -0
  16. package/dist/typechain/factories/BeaconProxy__factory.js.map +1 -0
  17. package/dist/typechain/factories/BoundValidatorInterface__factory.d.ts +23 -0
  18. package/dist/typechain/factories/BoundValidatorInterface__factory.d.ts.map +1 -0
  19. package/dist/typechain/factories/BoundValidatorInterface__factory.js +46 -0
  20. package/dist/typechain/factories/BoundValidatorInterface__factory.js.map +1 -0
  21. package/dist/typechain/factories/ContextUpgradeable__factory.d.ts +19 -0
  22. package/dist/typechain/factories/ContextUpgradeable__factory.d.ts.map +1 -0
  23. package/dist/typechain/factories/ContextUpgradeable__factory.js +30 -0
  24. package/dist/typechain/factories/ContextUpgradeable__factory.js.map +1 -0
  25. package/dist/typechain/factories/ConverterNetwork__factory.d.ts +64 -0
  26. package/dist/typechain/factories/ConverterNetwork__factory.d.ts.map +1 -0
  27. package/dist/typechain/factories/ConverterNetwork__factory.js +485 -0
  28. package/dist/typechain/factories/ConverterNetwork__factory.js.map +1 -0
  29. package/dist/typechain/factories/ERC165__factory.d.ts +23 -0
  30. package/dist/typechain/factories/ERC165__factory.d.ts.map +1 -0
  31. package/dist/typechain/factories/ERC165__factory.js +36 -0
  32. package/dist/typechain/factories/ERC165__factory.js.map +1 -0
  33. package/dist/typechain/factories/ERC1967Upgrade__factory.d.ts +19 -0
  34. package/dist/typechain/factories/ERC1967Upgrade__factory.d.ts.map +1 -0
  35. package/dist/typechain/factories/ERC1967Upgrade__factory.js +62 -0
  36. package/dist/typechain/factories/ERC1967Upgrade__factory.js.map +1 -0
  37. package/dist/typechain/factories/ERC20__factory.d.ts +57 -0
  38. package/dist/typechain/factories/ERC20__factory.d.ts.map +1 -0
  39. package/dist/typechain/factories/ERC20__factory.js +325 -0
  40. package/dist/typechain/factories/ERC20__factory.js.map +1 -0
  41. package/dist/typechain/factories/IAbstractTokenConverter__factory.d.ts +43 -0
  42. package/dist/typechain/factories/IAbstractTokenConverter__factory.d.ts.map +1 -0
  43. package/dist/typechain/factories/IAbstractTokenConverter__factory.js +452 -0
  44. package/dist/typechain/factories/IAbstractTokenConverter__factory.js.map +1 -0
  45. package/dist/typechain/factories/IAccessControlManagerV8__factory.d.ts +36 -0
  46. package/dist/typechain/factories/IAccessControlManagerV8__factory.d.ts.map +1 -0
  47. package/dist/typechain/factories/IAccessControlManagerV8__factory.js +288 -0
  48. package/dist/typechain/factories/IAccessControlManagerV8__factory.js.map +1 -0
  49. package/dist/typechain/factories/IAccessControl__factory.d.ts +36 -0
  50. package/dist/typechain/factories/IAccessControl__factory.d.ts.map +1 -0
  51. package/dist/typechain/factories/IAccessControl__factory.js +189 -0
  52. package/dist/typechain/factories/IAccessControl__factory.js.map +1 -0
  53. package/dist/typechain/factories/IBeacon__factory.d.ts +19 -0
  54. package/dist/typechain/factories/IBeacon__factory.d.ts.map +1 -0
  55. package/dist/typechain/factories/IBeacon__factory.js +30 -0
  56. package/dist/typechain/factories/IBeacon__factory.js.map +1 -0
  57. package/dist/typechain/factories/IComptroller__factory.d.ts +23 -0
  58. package/dist/typechain/factories/IComptroller__factory.d.ts.map +1 -0
  59. package/dist/typechain/factories/IComptroller__factory.js +62 -0
  60. package/dist/typechain/factories/IComptroller__factory.js.map +1 -0
  61. package/dist/typechain/factories/IConverterNetwork__factory.d.ts +23 -0
  62. package/dist/typechain/factories/IConverterNetwork__factory.d.ts.map +1 -0
  63. package/dist/typechain/factories/IConverterNetwork__factory.js +133 -0
  64. package/dist/typechain/factories/IConverterNetwork__factory.js.map +1 -0
  65. package/dist/typechain/factories/IERC165__factory.d.ts +23 -0
  66. package/dist/typechain/factories/IERC165__factory.d.ts.map +1 -0
  67. package/dist/typechain/factories/IERC165__factory.js +36 -0
  68. package/dist/typechain/factories/IERC165__factory.js.map +1 -0
  69. package/dist/typechain/factories/IERC1822Proxiable__factory.d.ts +19 -0
  70. package/dist/typechain/factories/IERC1822Proxiable__factory.d.ts.map +1 -0
  71. package/dist/typechain/factories/IERC1822Proxiable__factory.js +30 -0
  72. package/dist/typechain/factories/IERC1822Proxiable__factory.js.map +1 -0
  73. package/dist/typechain/factories/IERC1967__factory.d.ts +19 -0
  74. package/dist/typechain/factories/IERC1967__factory.d.ts.map +1 -0
  75. package/dist/typechain/factories/IERC1967__factory.js +62 -0
  76. package/dist/typechain/factories/IERC1967__factory.js.map +1 -0
  77. package/dist/typechain/factories/IERC20Metadata__factory.d.ts +36 -0
  78. package/dist/typechain/factories/IERC20Metadata__factory.d.ts.map +1 -0
  79. package/dist/typechain/factories/IERC20Metadata__factory.js +239 -0
  80. package/dist/typechain/factories/IERC20Metadata__factory.js.map +1 -0
  81. package/dist/typechain/factories/IERC20PermitUpgradeable__factory.d.ts +23 -0
  82. package/dist/typechain/factories/IERC20PermitUpgradeable__factory.d.ts.map +1 -0
  83. package/dist/typechain/factories/IERC20PermitUpgradeable__factory.js +92 -0
  84. package/dist/typechain/factories/IERC20PermitUpgradeable__factory.js.map +1 -0
  85. package/dist/typechain/factories/IERC20Upgradeable__factory.d.ts +36 -0
  86. package/dist/typechain/factories/IERC20Upgradeable__factory.d.ts.map +1 -0
  87. package/dist/typechain/factories/IERC20Upgradeable__factory.js +200 -0
  88. package/dist/typechain/factories/IERC20Upgradeable__factory.js.map +1 -0
  89. package/dist/typechain/factories/IERC20__factory.d.ts +36 -0
  90. package/dist/typechain/factories/IERC20__factory.d.ts.map +1 -0
  91. package/dist/typechain/factories/IERC20__factory.js +200 -0
  92. package/dist/typechain/factories/IERC20__factory.js.map +1 -0
  93. package/dist/typechain/factories/IIncomeDestination__factory.d.ts +19 -0
  94. package/dist/typechain/factories/IIncomeDestination__factory.d.ts.map +1 -0
  95. package/dist/typechain/factories/IIncomeDestination__factory.js +35 -0
  96. package/dist/typechain/factories/IIncomeDestination__factory.js.map +1 -0
  97. package/dist/typechain/factories/IPoolRegistry__factory.d.ts +23 -0
  98. package/dist/typechain/factories/IPoolRegistry__factory.d.ts.map +1 -0
  99. package/dist/typechain/factories/IPoolRegistry__factory.js +60 -0
  100. package/dist/typechain/factories/IPoolRegistry__factory.js.map +1 -0
  101. package/dist/typechain/factories/IProtocolShareReserve__factory.d.ts +19 -0
  102. package/dist/typechain/factories/IProtocolShareReserve__factory.d.ts.map +1 -0
  103. package/dist/typechain/factories/IProtocolShareReserve__factory.js +40 -0
  104. package/dist/typechain/factories/IProtocolShareReserve__factory.js.map +1 -0
  105. package/dist/typechain/factories/IRiskFundConverter__factory.d.ts +23 -0
  106. package/dist/typechain/factories/IRiskFundConverter__factory.d.ts.map +1 -0
  107. package/dist/typechain/factories/IRiskFundConverter__factory.js +54 -0
  108. package/dist/typechain/factories/IRiskFundConverter__factory.js.map +1 -0
  109. package/dist/typechain/factories/IRiskFundGetters__factory.d.ts +19 -0
  110. package/dist/typechain/factories/IRiskFundGetters__factory.d.ts.map +1 -0
  111. package/dist/typechain/factories/IRiskFundGetters__factory.js +30 -0
  112. package/dist/typechain/factories/IRiskFundGetters__factory.js.map +1 -0
  113. package/dist/typechain/factories/IRiskFund__factory.d.ts +23 -0
  114. package/dist/typechain/factories/IRiskFund__factory.d.ts.map +1 -0
  115. package/dist/typechain/factories/IRiskFund__factory.js +83 -0
  116. package/dist/typechain/factories/IRiskFund__factory.js.map +1 -0
  117. package/dist/typechain/factories/IShortfall__factory.d.ts +19 -0
  118. package/dist/typechain/factories/IShortfall__factory.d.ts.map +1 -0
  119. package/dist/typechain/factories/IShortfall__factory.js +30 -0
  120. package/dist/typechain/factories/IShortfall__factory.js.map +1 -0
  121. package/dist/typechain/factories/IVToken__factory.d.ts +19 -0
  122. package/dist/typechain/factories/IVToken__factory.d.ts.map +1 -0
  123. package/dist/typechain/factories/IVToken__factory.js +30 -0
  124. package/dist/typechain/factories/IVToken__factory.js.map +1 -0
  125. package/dist/typechain/factories/IXVSVault__factory.d.ts +19 -0
  126. package/dist/typechain/factories/IXVSVault__factory.d.ts.map +1 -0
  127. package/dist/typechain/factories/IXVSVault__factory.js +30 -0
  128. package/dist/typechain/factories/IXVSVault__factory.js.map +1 -0
  129. package/dist/typechain/factories/Initializable__factory.d.ts +19 -0
  130. package/dist/typechain/factories/Initializable__factory.d.ts.map +1 -0
  131. package/dist/typechain/factories/Initializable__factory.js +30 -0
  132. package/dist/typechain/factories/Initializable__factory.js.map +1 -0
  133. package/dist/typechain/factories/MaxLoopsLimitHelper__factory.d.ts +43 -0
  134. package/dist/typechain/factories/MaxLoopsLimitHelper__factory.d.ts.map +1 -0
  135. package/dist/typechain/factories/MaxLoopsLimitHelper__factory.js +65 -0
  136. package/dist/typechain/factories/MaxLoopsLimitHelper__factory.js.map +1 -0
  137. package/dist/typechain/factories/MaxLoopsLimitHelpersStorage__factory.d.ts +29 -0
  138. package/dist/typechain/factories/MaxLoopsLimitHelpersStorage__factory.d.ts.map +1 -0
  139. package/dist/typechain/factories/MaxLoopsLimitHelpersStorage__factory.js +52 -0
  140. package/dist/typechain/factories/MaxLoopsLimitHelpersStorage__factory.js.map +1 -0
  141. package/dist/typechain/factories/MockACM__factory.d.ts +53 -0
  142. package/dist/typechain/factories/MockACM__factory.d.ts.map +1 -0
  143. package/dist/typechain/factories/MockACM__factory.js +397 -0
  144. package/dist/typechain/factories/MockACM__factory.js.map +1 -0
  145. package/dist/typechain/factories/MockArraySorter__factory.d.ts +33 -0
  146. package/dist/typechain/factories/MockArraySorter__factory.d.ts.map +1 -0
  147. package/dist/typechain/factories/MockArraySorter__factory.js +68 -0
  148. package/dist/typechain/factories/MockArraySorter__factory.js.map +1 -0
  149. package/dist/typechain/factories/MockConverter__factory.d.ts +78 -0
  150. package/dist/typechain/factories/MockConverter__factory.d.ts.map +1 -0
  151. package/dist/typechain/factories/MockConverter__factory.js +1423 -0
  152. package/dist/typechain/factories/MockConverter__factory.js.map +1 -0
  153. package/dist/typechain/factories/MockDeflatingToken__factory.d.ts +57 -0
  154. package/dist/typechain/factories/MockDeflatingToken__factory.d.ts.map +1 -0
  155. package/dist/typechain/factories/MockDeflatingToken__factory.js +360 -0
  156. package/dist/typechain/factories/MockDeflatingToken__factory.js.map +1 -0
  157. package/dist/typechain/factories/MockRiskFundConverter__factory.d.ts +89 -0
  158. package/dist/typechain/factories/MockRiskFundConverter__factory.d.ts.map +1 -0
  159. package/dist/typechain/factories/MockRiskFundConverter__factory.js +1789 -0
  160. package/dist/typechain/factories/MockRiskFundConverter__factory.js.map +1 -0
  161. package/dist/typechain/factories/MockToken__factory.d.ts +57 -0
  162. package/dist/typechain/factories/MockToken__factory.d.ts.map +1 -0
  163. package/dist/typechain/factories/MockToken__factory.js +361 -0
  164. package/dist/typechain/factories/MockToken__factory.js.map +1 -0
  165. package/dist/typechain/factories/OracleInterface__factory.d.ts +23 -0
  166. package/dist/typechain/factories/OracleInterface__factory.d.ts.map +1 -0
  167. package/dist/typechain/factories/OracleInterface__factory.js +36 -0
  168. package/dist/typechain/factories/OracleInterface__factory.js.map +1 -0
  169. package/dist/typechain/factories/Ownable2StepUpgradeable__factory.d.ts +43 -0
  170. package/dist/typechain/factories/Ownable2StepUpgradeable__factory.d.ts.map +1 -0
  171. package/dist/typechain/factories/Ownable2StepUpgradeable__factory.js +121 -0
  172. package/dist/typechain/factories/Ownable2StepUpgradeable__factory.js.map +1 -0
  173. package/dist/typechain/factories/OwnableUpgradeable__factory.d.ts +43 -0
  174. package/dist/typechain/factories/OwnableUpgradeable__factory.d.ts.map +1 -0
  175. package/dist/typechain/factories/OwnableUpgradeable__factory.js +82 -0
  176. package/dist/typechain/factories/OwnableUpgradeable__factory.js.map +1 -0
  177. package/dist/typechain/factories/Ownable__factory.d.ts +43 -0
  178. package/dist/typechain/factories/Ownable__factory.d.ts.map +1 -0
  179. package/dist/typechain/factories/Ownable__factory.js +69 -0
  180. package/dist/typechain/factories/Ownable__factory.js.map +1 -0
  181. package/dist/typechain/factories/PausableUpgradeable__factory.d.ts +32 -0
  182. package/dist/typechain/factories/PausableUpgradeable__factory.d.ts.map +1 -0
  183. package/dist/typechain/factories/PausableUpgradeable__factory.js +69 -0
  184. package/dist/typechain/factories/PausableUpgradeable__factory.js.map +1 -0
  185. package/dist/typechain/factories/ProtocolShareReserve__factory.d.ts +84 -0
  186. package/dist/typechain/factories/ProtocolShareReserve__factory.d.ts.map +1 -0
  187. package/dist/typechain/factories/ProtocolShareReserve__factory.js +837 -0
  188. package/dist/typechain/factories/ProtocolShareReserve__factory.js.map +1 -0
  189. package/dist/typechain/factories/Proxy__factory.d.ts +12 -0
  190. package/dist/typechain/factories/Proxy__factory.d.ts.map +1 -0
  191. package/dist/typechain/factories/Proxy__factory.js +25 -0
  192. package/dist/typechain/factories/Proxy__factory.js.map +1 -0
  193. package/dist/typechain/factories/ReentrancyGuardUpgradeable__factory.d.ts +19 -0
  194. package/dist/typechain/factories/ReentrancyGuardUpgradeable__factory.d.ts.map +1 -0
  195. package/dist/typechain/factories/ReentrancyGuardUpgradeable__factory.js +30 -0
  196. package/dist/typechain/factories/ReentrancyGuardUpgradeable__factory.js.map +1 -0
  197. package/dist/typechain/factories/ReserveHelpersStorage__factory.d.ts +46 -0
  198. package/dist/typechain/factories/ReserveHelpersStorage__factory.d.ts.map +1 -0
  199. package/dist/typechain/factories/ReserveHelpersStorage__factory.js +167 -0
  200. package/dist/typechain/factories/ReserveHelpersStorage__factory.js.map +1 -0
  201. package/dist/typechain/factories/ResilientOracleInterface__factory.d.ts +23 -0
  202. package/dist/typechain/factories/ResilientOracleInterface__factory.d.ts.map +1 -0
  203. package/dist/typechain/factories/ResilientOracleInterface__factory.js +81 -0
  204. package/dist/typechain/factories/ResilientOracleInterface__factory.js.map +1 -0
  205. package/dist/typechain/factories/ResilientOracle__factory.d.ts +104 -0
  206. package/dist/typechain/factories/ResilientOracle__factory.d.ts.map +1 -0
  207. package/dist/typechain/factories/ResilientOracle__factory.js +677 -0
  208. package/dist/typechain/factories/ResilientOracle__factory.js.map +1 -0
  209. package/dist/typechain/factories/RiskFundConverter__factory.d.ts +89 -0
  210. package/dist/typechain/factories/RiskFundConverter__factory.d.ts.map +1 -0
  211. package/dist/typechain/factories/RiskFundConverter__factory.js +1659 -0
  212. package/dist/typechain/factories/RiskFundConverter__factory.js.map +1 -0
  213. package/dist/typechain/factories/RiskFundV1Storage__factory.d.ts +46 -0
  214. package/dist/typechain/factories/RiskFundV1Storage__factory.d.ts.map +1 -0
  215. package/dist/typechain/factories/RiskFundV1Storage__factory.js +206 -0
  216. package/dist/typechain/factories/RiskFundV1Storage__factory.js.map +1 -0
  217. package/dist/typechain/factories/RiskFundV2Storage__factory.d.ts +46 -0
  218. package/dist/typechain/factories/RiskFundV2Storage__factory.d.ts.map +1 -0
  219. package/dist/typechain/factories/RiskFundV2Storage__factory.js +219 -0
  220. package/dist/typechain/factories/RiskFundV2Storage__factory.js.map +1 -0
  221. package/dist/typechain/factories/RiskFundV2__factory.d.ts +57 -0
  222. package/dist/typechain/factories/RiskFundV2__factory.d.ts.map +1 -0
  223. package/dist/typechain/factories/RiskFundV2__factory.js +658 -0
  224. package/dist/typechain/factories/RiskFundV2__factory.js.map +1 -0
  225. package/dist/typechain/factories/SingleTokenConverter__factory.d.ts +85 -0
  226. package/dist/typechain/factories/SingleTokenConverter__factory.d.ts.map +1 -0
  227. package/dist/typechain/factories/SingleTokenConverter__factory.js +1418 -0
  228. package/dist/typechain/factories/SingleTokenConverter__factory.js.map +1 -0
  229. package/dist/typechain/factories/TwapInterface__factory.d.ts +23 -0
  230. package/dist/typechain/factories/TwapInterface__factory.d.ts.map +1 -0
  231. package/dist/typechain/factories/TwapInterface__factory.js +55 -0
  232. package/dist/typechain/factories/TwapInterface__factory.js.map +1 -0
  233. package/dist/typechain/factories/UpgradeableBeacon__factory.d.ts +64 -0
  234. package/dist/typechain/factories/UpgradeableBeacon__factory.d.ts.map +1 -0
  235. package/dist/typechain/factories/UpgradeableBeacon__factory.js +141 -0
  236. package/dist/typechain/factories/UpgradeableBeacon__factory.js.map +1 -0
  237. package/dist/typechain/factories/VBep20Interface__factory.d.ts +36 -0
  238. package/dist/typechain/factories/VBep20Interface__factory.d.ts.map +1 -0
  239. package/dist/typechain/factories/VBep20Interface__factory.js +252 -0
  240. package/dist/typechain/factories/VBep20Interface__factory.js.map +1 -0
  241. package/dist/typechain/factories/XVSVaultTreasury__factory.d.ts +75 -0
  242. package/dist/typechain/factories/XVSVaultTreasury__factory.d.ts.map +1 -0
  243. package/dist/typechain/factories/XVSVaultTreasury__factory.js +343 -0
  244. package/dist/typechain/factories/XVSVaultTreasury__factory.js.map +1 -0
  245. package/{typechain/index.ts → dist/typechain/index.d.ts} +1 -4
  246. package/dist/typechain/index.d.ts.map +1 -0
  247. package/dist/typechain/index.js +127 -0
  248. package/dist/typechain/index.js.map +1 -0
  249. package/package.json +3 -5
  250. package/typechain/AbstractTokenConverter.d.ts +0 -1775
  251. package/typechain/AccessControl.d.ts +0 -388
  252. package/typechain/AccessControlledV8.d.ts +0 -341
  253. package/typechain/BeaconProxy.d.ts +0 -126
  254. package/typechain/BoundValidatorInterface.d.ts +0 -126
  255. package/typechain/ContextUpgradeable.d.ts +0 -92
  256. package/typechain/ConverterNetwork.d.ts +0 -723
  257. package/typechain/ERC165.d.ts +0 -116
  258. package/typechain/ERC1967Upgrade.d.ts +0 -126
  259. package/typechain/ERC20.d.ts +0 -441
  260. package/typechain/IAbstractTokenConverter.d.ts +0 -773
  261. package/typechain/IAccessControl.d.ts +0 -333
  262. package/typechain/IAccessControlManagerV8.d.ts +0 -504
  263. package/typechain/IBeacon.d.ts +0 -101
  264. package/typechain/IComptroller.d.ts +0 -136
  265. package/typechain/IConverterNetwork.d.ts +0 -292
  266. package/typechain/IERC165.d.ts +0 -116
  267. package/typechain/IERC1822Proxiable.d.ts +0 -101
  268. package/typechain/IERC1967.d.ts +0 -126
  269. package/typechain/IERC20.d.ts +0 -324
  270. package/typechain/IERC20Metadata.d.ts +0 -363
  271. package/typechain/IERC20PermitUpgradeable.d.ts +0 -187
  272. package/typechain/IERC20Upgradeable.d.ts +0 -324
  273. package/typechain/IIncomeDestination.d.ts +0 -122
  274. package/typechain/IPoolRegistry.d.ts +0 -155
  275. package/typechain/IProtocolShareReserve.d.ts +0 -127
  276. package/typechain/IRiskFund.d.ts +0 -200
  277. package/typechain/IRiskFundConverter.d.ts +0 -138
  278. package/typechain/IRiskFundGetters.d.ts +0 -103
  279. package/typechain/IShortfall.d.ts +0 -110
  280. package/typechain/IVToken.d.ts +0 -98
  281. package/typechain/IXVSVault.d.ts +0 -95
  282. package/typechain/Initializable.d.ts +0 -92
  283. package/typechain/MaxLoopsLimitHelper.d.ts +0 -128
  284. package/typechain/MaxLoopsLimitHelpersStorage.d.ts +0 -101
  285. package/typechain/MockACM.d.ts +0 -615
  286. package/typechain/MockArraySorter.d.ts +0 -118
  287. package/typechain/MockConverter.d.ts +0 -1969
  288. package/typechain/MockDeflatingToken.d.ts +0 -486
  289. package/typechain/MockRiskFundConverter.d.ts +0 -2479
  290. package/typechain/MockToken.d.ts +0 -505
  291. package/typechain/OracleInterface.d.ts +0 -98
  292. package/typechain/Ownable.d.ts +0 -181
  293. package/typechain/Ownable2StepUpgradeable.d.ts +0 -261
  294. package/typechain/OwnableUpgradeable.d.ts +0 -193
  295. package/typechain/PausableUpgradeable.d.ts +0 -129
  296. package/typechain/ProtocolShareReserve.d.ts +0 -1214
  297. package/typechain/Proxy.d.ts +0 -78
  298. package/typechain/ReentrancyGuardUpgradeable.d.ts +0 -92
  299. package/typechain/ReserveHelpersStorage.d.ts +0 -300
  300. package/typechain/ResilientOracle.d.ts +0 -1034
  301. package/typechain/ResilientOracleInterface.d.ts +0 -192
  302. package/typechain/RiskFundConverter.d.ts +0 -2235
  303. package/typechain/RiskFundV1Storage.d.ts +0 -353
  304. package/typechain/RiskFundV2.d.ts +0 -965
  305. package/typechain/RiskFundV2Storage.d.ts +0 -372
  306. package/typechain/SingleTokenConverter.d.ts +0 -1944
  307. package/typechain/TwapInterface.d.ts +0 -124
  308. package/typechain/UpgradeableBeacon.d.ts +0 -240
  309. package/typechain/VBep20Interface.d.ts +0 -379
  310. package/typechain/XVSVaultTreasury.d.ts +0 -515
  311. package/typechain/common.d.ts +0 -35
  312. package/typechain/factories/AbstractTokenConverter__factory.ts +0 -1297
  313. package/typechain/factories/AccessControl__factory.ts +0 -227
  314. package/typechain/factories/AccessControlledV8__factory.ts +0 -196
  315. package/typechain/factories/BeaconProxy__factory.ts +0 -133
  316. package/typechain/factories/BoundValidatorInterface__factory.ts +0 -59
  317. package/typechain/factories/ContextUpgradeable__factory.ts +0 -39
  318. package/typechain/factories/ConverterNetwork__factory.ts +0 -502
  319. package/typechain/factories/ERC165__factory.ts +0 -39
  320. package/typechain/factories/ERC1967Upgrade__factory.ts +0 -71
  321. package/typechain/factories/ERC20__factory.ts +0 -340
  322. package/typechain/factories/IAbstractTokenConverter__factory.ts +0 -466
  323. package/typechain/factories/IAccessControlManagerV8__factory.ts +0 -301
  324. package/typechain/factories/IAccessControl__factory.ts +0 -198
  325. package/typechain/factories/IBeacon__factory.ts +0 -36
  326. package/typechain/factories/IComptroller__factory.ts +0 -68
  327. package/typechain/factories/IConverterNetwork__factory.ts +0 -142
  328. package/typechain/factories/IERC165__factory.ts +0 -42
  329. package/typechain/factories/IERC1822Proxiable__factory.ts +0 -39
  330. package/typechain/factories/IERC1967__factory.ts +0 -68
  331. package/typechain/factories/IERC20Metadata__factory.ts +0 -248
  332. package/typechain/factories/IERC20PermitUpgradeable__factory.ts +0 -105
  333. package/typechain/factories/IERC20Upgradeable__factory.ts +0 -209
  334. package/typechain/factories/IERC20__factory.ts +0 -203
  335. package/typechain/factories/IIncomeDestination__factory.ts +0 -44
  336. package/typechain/factories/IPoolRegistry__factory.ts +0 -66
  337. package/typechain/factories/IProtocolShareReserve__factory.ts +0 -53
  338. package/typechain/factories/IRiskFundConverter__factory.ts +0 -63
  339. package/typechain/factories/IRiskFundGetters__factory.ts +0 -39
  340. package/typechain/factories/IRiskFund__factory.ts +0 -89
  341. package/typechain/factories/IShortfall__factory.ts +0 -36
  342. package/typechain/factories/IVToken__factory.ts +0 -36
  343. package/typechain/factories/IXVSVault__factory.ts +0 -36
  344. package/typechain/factories/Initializable__factory.ts +0 -36
  345. package/typechain/factories/MaxLoopsLimitHelper__factory.ts +0 -74
  346. package/typechain/factories/MaxLoopsLimitHelpersStorage__factory.ts +0 -75
  347. package/typechain/factories/MockACM__factory.ts +0 -411
  348. package/typechain/factories/MockArraySorter__factory.ts +0 -85
  349. package/typechain/factories/MockConverter__factory.ts +0 -1439
  350. package/typechain/factories/MockDeflatingToken__factory.ts +0 -389
  351. package/typechain/factories/MockRiskFundConverter__factory.ts +0 -1828
  352. package/typechain/factories/MockToken__factory.ts +0 -398
  353. package/typechain/factories/OracleInterface__factory.ts +0 -45
  354. package/typechain/factories/Ownable2StepUpgradeable__factory.ts +0 -134
  355. package/typechain/factories/OwnableUpgradeable__factory.ts +0 -91
  356. package/typechain/factories/Ownable__factory.ts +0 -75
  357. package/typechain/factories/PausableUpgradeable__factory.ts +0 -78
  358. package/typechain/factories/ProtocolShareReserve__factory.ts +0 -874
  359. package/typechain/factories/Proxy__factory.ts +0 -28
  360. package/typechain/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
  361. package/typechain/factories/ReserveHelpersStorage__factory.ts +0 -188
  362. package/typechain/factories/ResilientOracleInterface__factory.ts +0 -94
  363. package/typechain/factories/ResilientOracle__factory.ts +0 -710
  364. package/typechain/factories/RiskFundConverter__factory.ts +0 -1694
  365. package/typechain/factories/RiskFundV1Storage__factory.ts +0 -223
  366. package/typechain/factories/RiskFundV2Storage__factory.ts +0 -236
  367. package/typechain/factories/RiskFundV2__factory.ts +0 -672
  368. package/typechain/factories/SingleTokenConverter__factory.ts +0 -1441
  369. package/typechain/factories/TwapInterface__factory.ts +0 -61
  370. package/typechain/factories/UpgradeableBeacon__factory.ts +0 -163
  371. package/typechain/factories/VBep20Interface__factory.ts +0 -261
  372. package/typechain/factories/XVSVaultTreasury__factory.ts +0 -365
@@ -0,0 +1,1282 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AbstractTokenConverter__factory = void 0;
4
+ const ethers_1 = require("ethers");
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "uint256",
10
+ name: "amountInMantissa",
11
+ type: "uint256",
12
+ },
13
+ {
14
+ internalType: "uint256",
15
+ name: "amountInMaxMantissa",
16
+ type: "uint256",
17
+ },
18
+ ],
19
+ name: "AmountInHigherThanMax",
20
+ type: "error",
21
+ },
22
+ {
23
+ inputs: [],
24
+ name: "AmountInMismatched",
25
+ type: "error",
26
+ },
27
+ {
28
+ inputs: [
29
+ {
30
+ internalType: "uint256",
31
+ name: "amountOutMantissa",
32
+ type: "uint256",
33
+ },
34
+ {
35
+ internalType: "uint256",
36
+ name: "amountOutMinMantissa",
37
+ type: "uint256",
38
+ },
39
+ ],
40
+ name: "AmountOutLowerThanMinRequired",
41
+ type: "error",
42
+ },
43
+ {
44
+ inputs: [],
45
+ name: "AmountOutMismatched",
46
+ type: "error",
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: "ConversionConfigNotEnabled",
51
+ type: "error",
52
+ },
53
+ {
54
+ inputs: [],
55
+ name: "ConversionEnabledOnlyForPrivateConversions",
56
+ type: "error",
57
+ },
58
+ {
59
+ inputs: [],
60
+ name: "ConversionTokensActive",
61
+ type: "error",
62
+ },
63
+ {
64
+ inputs: [],
65
+ name: "ConversionTokensPaused",
66
+ type: "error",
67
+ },
68
+ {
69
+ inputs: [],
70
+ name: "DeflationaryTokenNotSupported",
71
+ type: "error",
72
+ },
73
+ {
74
+ inputs: [
75
+ {
76
+ internalType: "uint256",
77
+ name: "incentive",
78
+ type: "uint256",
79
+ },
80
+ {
81
+ internalType: "uint256",
82
+ name: "maxIncentive",
83
+ type: "uint256",
84
+ },
85
+ ],
86
+ name: "IncentiveTooHigh",
87
+ type: "error",
88
+ },
89
+ {
90
+ inputs: [],
91
+ name: "InputLengthMisMatch",
92
+ type: "error",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "InsufficientInputAmount",
97
+ type: "error",
98
+ },
99
+ {
100
+ inputs: [],
101
+ name: "InsufficientOutputAmount",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [],
106
+ name: "InsufficientPoolLiquidity",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "InvalidConverterNetwork",
112
+ type: "error",
113
+ },
114
+ {
115
+ inputs: [],
116
+ name: "InvalidMinimumAmountToConvert",
117
+ type: "error",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "InvalidToAddress",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "InvalidTokenConfigAddresses",
127
+ type: "error",
128
+ },
129
+ {
130
+ inputs: [],
131
+ name: "NonZeroIncentiveForPrivateConversion",
132
+ type: "error",
133
+ },
134
+ {
135
+ inputs: [
136
+ {
137
+ internalType: "address",
138
+ name: "sender",
139
+ type: "address",
140
+ },
141
+ {
142
+ internalType: "address",
143
+ name: "calledContract",
144
+ type: "address",
145
+ },
146
+ {
147
+ internalType: "string",
148
+ name: "methodSignature",
149
+ type: "string",
150
+ },
151
+ ],
152
+ name: "Unauthorized",
153
+ type: "error",
154
+ },
155
+ {
156
+ inputs: [],
157
+ name: "ZeroAddressNotAllowed",
158
+ type: "error",
159
+ },
160
+ {
161
+ inputs: [],
162
+ name: "ZeroValueNotAllowed",
163
+ type: "error",
164
+ },
165
+ {
166
+ anonymous: false,
167
+ inputs: [
168
+ {
169
+ indexed: true,
170
+ internalType: "address",
171
+ name: "tokenAddressIn",
172
+ type: "address",
173
+ },
174
+ {
175
+ indexed: true,
176
+ internalType: "address",
177
+ name: "tokenAddressOut",
178
+ type: "address",
179
+ },
180
+ {
181
+ indexed: false,
182
+ internalType: "uint256",
183
+ name: "oldIncentive",
184
+ type: "uint256",
185
+ },
186
+ {
187
+ indexed: false,
188
+ internalType: "uint256",
189
+ name: "newIncentive",
190
+ type: "uint256",
191
+ },
192
+ {
193
+ indexed: false,
194
+ internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
195
+ name: "oldAccess",
196
+ type: "uint8",
197
+ },
198
+ {
199
+ indexed: false,
200
+ internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
201
+ name: "newAccess",
202
+ type: "uint8",
203
+ },
204
+ ],
205
+ name: "ConversionConfigUpdated",
206
+ type: "event",
207
+ },
208
+ {
209
+ anonymous: false,
210
+ inputs: [
211
+ {
212
+ indexed: true,
213
+ internalType: "address",
214
+ name: "sender",
215
+ type: "address",
216
+ },
217
+ ],
218
+ name: "ConversionPaused",
219
+ type: "event",
220
+ },
221
+ {
222
+ anonymous: false,
223
+ inputs: [
224
+ {
225
+ indexed: true,
226
+ internalType: "address",
227
+ name: "sender",
228
+ type: "address",
229
+ },
230
+ ],
231
+ name: "ConversionResumed",
232
+ type: "event",
233
+ },
234
+ {
235
+ anonymous: false,
236
+ inputs: [
237
+ {
238
+ indexed: true,
239
+ internalType: "address",
240
+ name: "sender",
241
+ type: "address",
242
+ },
243
+ {
244
+ indexed: true,
245
+ internalType: "address",
246
+ name: "receiver",
247
+ type: "address",
248
+ },
249
+ {
250
+ indexed: false,
251
+ internalType: "address",
252
+ name: "tokenAddressIn",
253
+ type: "address",
254
+ },
255
+ {
256
+ indexed: true,
257
+ internalType: "address",
258
+ name: "tokenAddressOut",
259
+ type: "address",
260
+ },
261
+ {
262
+ indexed: false,
263
+ internalType: "uint256",
264
+ name: "amountIn",
265
+ type: "uint256",
266
+ },
267
+ {
268
+ indexed: false,
269
+ internalType: "uint256",
270
+ name: "amountOut",
271
+ type: "uint256",
272
+ },
273
+ ],
274
+ name: "ConvertedExactTokens",
275
+ type: "event",
276
+ },
277
+ {
278
+ anonymous: false,
279
+ inputs: [
280
+ {
281
+ indexed: true,
282
+ internalType: "address",
283
+ name: "sender",
284
+ type: "address",
285
+ },
286
+ {
287
+ indexed: true,
288
+ internalType: "address",
289
+ name: "receiver",
290
+ type: "address",
291
+ },
292
+ {
293
+ indexed: false,
294
+ internalType: "address",
295
+ name: "tokenAddressIn",
296
+ type: "address",
297
+ },
298
+ {
299
+ indexed: true,
300
+ internalType: "address",
301
+ name: "tokenAddressOut",
302
+ type: "address",
303
+ },
304
+ {
305
+ indexed: false,
306
+ internalType: "uint256",
307
+ name: "amountIn",
308
+ type: "uint256",
309
+ },
310
+ {
311
+ indexed: false,
312
+ internalType: "uint256",
313
+ name: "amountOut",
314
+ type: "uint256",
315
+ },
316
+ ],
317
+ name: "ConvertedExactTokensSupportingFeeOnTransferTokens",
318
+ type: "event",
319
+ },
320
+ {
321
+ anonymous: false,
322
+ inputs: [
323
+ {
324
+ indexed: true,
325
+ internalType: "address",
326
+ name: "sender",
327
+ type: "address",
328
+ },
329
+ {
330
+ indexed: true,
331
+ internalType: "address",
332
+ name: "receiver",
333
+ type: "address",
334
+ },
335
+ {
336
+ indexed: false,
337
+ internalType: "address",
338
+ name: "tokenAddressIn",
339
+ type: "address",
340
+ },
341
+ {
342
+ indexed: true,
343
+ internalType: "address",
344
+ name: "tokenAddressOut",
345
+ type: "address",
346
+ },
347
+ {
348
+ indexed: false,
349
+ internalType: "uint256",
350
+ name: "amountIn",
351
+ type: "uint256",
352
+ },
353
+ {
354
+ indexed: false,
355
+ internalType: "uint256",
356
+ name: "amountOut",
357
+ type: "uint256",
358
+ },
359
+ ],
360
+ name: "ConvertedForExactTokens",
361
+ type: "event",
362
+ },
363
+ {
364
+ anonymous: false,
365
+ inputs: [
366
+ {
367
+ indexed: true,
368
+ internalType: "address",
369
+ name: "sender",
370
+ type: "address",
371
+ },
372
+ {
373
+ indexed: true,
374
+ internalType: "address",
375
+ name: "receiver",
376
+ type: "address",
377
+ },
378
+ {
379
+ indexed: false,
380
+ internalType: "address",
381
+ name: "tokenAddressIn",
382
+ type: "address",
383
+ },
384
+ {
385
+ indexed: true,
386
+ internalType: "address",
387
+ name: "tokenAddressOut",
388
+ type: "address",
389
+ },
390
+ {
391
+ indexed: false,
392
+ internalType: "uint256",
393
+ name: "amountIn",
394
+ type: "uint256",
395
+ },
396
+ {
397
+ indexed: false,
398
+ internalType: "uint256",
399
+ name: "amountOut",
400
+ type: "uint256",
401
+ },
402
+ ],
403
+ name: "ConvertedForExactTokensSupportingFeeOnTransferTokens",
404
+ type: "event",
405
+ },
406
+ {
407
+ anonymous: false,
408
+ inputs: [
409
+ {
410
+ indexed: true,
411
+ internalType: "address",
412
+ name: "oldConverterNetwork",
413
+ type: "address",
414
+ },
415
+ {
416
+ indexed: true,
417
+ internalType: "address",
418
+ name: "converterNetwork",
419
+ type: "address",
420
+ },
421
+ ],
422
+ name: "ConverterNetworkAddressUpdated",
423
+ type: "event",
424
+ },
425
+ {
426
+ anonymous: false,
427
+ inputs: [
428
+ {
429
+ indexed: true,
430
+ internalType: "address",
431
+ name: "oldDestinationAddress",
432
+ type: "address",
433
+ },
434
+ {
435
+ indexed: true,
436
+ internalType: "address",
437
+ name: "destinationAddress",
438
+ type: "address",
439
+ },
440
+ ],
441
+ name: "DestinationAddressUpdated",
442
+ type: "event",
443
+ },
444
+ {
445
+ anonymous: false,
446
+ inputs: [
447
+ {
448
+ indexed: false,
449
+ internalType: "uint8",
450
+ name: "version",
451
+ type: "uint8",
452
+ },
453
+ ],
454
+ name: "Initialized",
455
+ type: "event",
456
+ },
457
+ {
458
+ anonymous: false,
459
+ inputs: [
460
+ {
461
+ indexed: false,
462
+ internalType: "uint256",
463
+ name: "oldMinAmountToConvert",
464
+ type: "uint256",
465
+ },
466
+ {
467
+ indexed: false,
468
+ internalType: "uint256",
469
+ name: "newMinAmountToConvert",
470
+ type: "uint256",
471
+ },
472
+ ],
473
+ name: "MinAmountToConvertUpdated",
474
+ type: "event",
475
+ },
476
+ {
477
+ anonymous: false,
478
+ inputs: [
479
+ {
480
+ indexed: false,
481
+ internalType: "address",
482
+ name: "oldAccessControlManager",
483
+ type: "address",
484
+ },
485
+ {
486
+ indexed: false,
487
+ internalType: "address",
488
+ name: "newAccessControlManager",
489
+ type: "address",
490
+ },
491
+ ],
492
+ name: "NewAccessControlManager",
493
+ type: "event",
494
+ },
495
+ {
496
+ anonymous: false,
497
+ inputs: [
498
+ {
499
+ indexed: true,
500
+ internalType: "address",
501
+ name: "previousOwner",
502
+ type: "address",
503
+ },
504
+ {
505
+ indexed: true,
506
+ internalType: "address",
507
+ name: "newOwner",
508
+ type: "address",
509
+ },
510
+ ],
511
+ name: "OwnershipTransferStarted",
512
+ type: "event",
513
+ },
514
+ {
515
+ anonymous: false,
516
+ inputs: [
517
+ {
518
+ indexed: true,
519
+ internalType: "address",
520
+ name: "previousOwner",
521
+ type: "address",
522
+ },
523
+ {
524
+ indexed: true,
525
+ internalType: "address",
526
+ name: "newOwner",
527
+ type: "address",
528
+ },
529
+ ],
530
+ name: "OwnershipTransferred",
531
+ type: "event",
532
+ },
533
+ {
534
+ anonymous: false,
535
+ inputs: [
536
+ {
537
+ indexed: true,
538
+ internalType: "contract ResilientOracle",
539
+ name: "oldPriceOracle",
540
+ type: "address",
541
+ },
542
+ {
543
+ indexed: true,
544
+ internalType: "contract ResilientOracle",
545
+ name: "priceOracle",
546
+ type: "address",
547
+ },
548
+ ],
549
+ name: "PriceOracleUpdated",
550
+ type: "event",
551
+ },
552
+ {
553
+ anonymous: false,
554
+ inputs: [
555
+ {
556
+ indexed: true,
557
+ internalType: "address",
558
+ name: "token",
559
+ type: "address",
560
+ },
561
+ {
562
+ indexed: true,
563
+ internalType: "address",
564
+ name: "to",
565
+ type: "address",
566
+ },
567
+ {
568
+ indexed: false,
569
+ internalType: "uint256",
570
+ name: "amount",
571
+ type: "uint256",
572
+ },
573
+ ],
574
+ name: "SweepToken",
575
+ type: "event",
576
+ },
577
+ {
578
+ inputs: [],
579
+ name: "MAX_INCENTIVE",
580
+ outputs: [
581
+ {
582
+ internalType: "uint256",
583
+ name: "",
584
+ type: "uint256",
585
+ },
586
+ ],
587
+ stateMutability: "view",
588
+ type: "function",
589
+ },
590
+ {
591
+ inputs: [],
592
+ name: "acceptOwnership",
593
+ outputs: [],
594
+ stateMutability: "nonpayable",
595
+ type: "function",
596
+ },
597
+ {
598
+ inputs: [],
599
+ name: "accessControlManager",
600
+ outputs: [
601
+ {
602
+ internalType: "contract IAccessControlManagerV8",
603
+ name: "",
604
+ type: "address",
605
+ },
606
+ ],
607
+ stateMutability: "view",
608
+ type: "function",
609
+ },
610
+ {
611
+ inputs: [
612
+ {
613
+ internalType: "address",
614
+ name: "token",
615
+ type: "address",
616
+ },
617
+ ],
618
+ name: "balanceOf",
619
+ outputs: [
620
+ {
621
+ internalType: "uint256",
622
+ name: "tokenBalance",
623
+ type: "uint256",
624
+ },
625
+ ],
626
+ stateMutability: "view",
627
+ type: "function",
628
+ },
629
+ {
630
+ inputs: [
631
+ {
632
+ internalType: "address",
633
+ name: "",
634
+ type: "address",
635
+ },
636
+ {
637
+ internalType: "address",
638
+ name: "",
639
+ type: "address",
640
+ },
641
+ ],
642
+ name: "conversionConfigurations",
643
+ outputs: [
644
+ {
645
+ internalType: "uint256",
646
+ name: "incentive",
647
+ type: "uint256",
648
+ },
649
+ {
650
+ internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
651
+ name: "conversionAccess",
652
+ type: "uint8",
653
+ },
654
+ ],
655
+ stateMutability: "view",
656
+ type: "function",
657
+ },
658
+ {
659
+ inputs: [],
660
+ name: "conversionPaused",
661
+ outputs: [
662
+ {
663
+ internalType: "bool",
664
+ name: "",
665
+ type: "bool",
666
+ },
667
+ ],
668
+ stateMutability: "view",
669
+ type: "function",
670
+ },
671
+ {
672
+ inputs: [
673
+ {
674
+ internalType: "uint256",
675
+ name: "amountInMantissa",
676
+ type: "uint256",
677
+ },
678
+ {
679
+ internalType: "uint256",
680
+ name: "amountOutMinMantissa",
681
+ type: "uint256",
682
+ },
683
+ {
684
+ internalType: "address",
685
+ name: "tokenAddressIn",
686
+ type: "address",
687
+ },
688
+ {
689
+ internalType: "address",
690
+ name: "tokenAddressOut",
691
+ type: "address",
692
+ },
693
+ {
694
+ internalType: "address",
695
+ name: "to",
696
+ type: "address",
697
+ },
698
+ ],
699
+ name: "convertExactTokens",
700
+ outputs: [
701
+ {
702
+ internalType: "uint256",
703
+ name: "actualAmountIn",
704
+ type: "uint256",
705
+ },
706
+ {
707
+ internalType: "uint256",
708
+ name: "actualAmountOut",
709
+ type: "uint256",
710
+ },
711
+ ],
712
+ stateMutability: "nonpayable",
713
+ type: "function",
714
+ },
715
+ {
716
+ inputs: [
717
+ {
718
+ internalType: "uint256",
719
+ name: "amountInMantissa",
720
+ type: "uint256",
721
+ },
722
+ {
723
+ internalType: "uint256",
724
+ name: "amountOutMinMantissa",
725
+ type: "uint256",
726
+ },
727
+ {
728
+ internalType: "address",
729
+ name: "tokenAddressIn",
730
+ type: "address",
731
+ },
732
+ {
733
+ internalType: "address",
734
+ name: "tokenAddressOut",
735
+ type: "address",
736
+ },
737
+ {
738
+ internalType: "address",
739
+ name: "to",
740
+ type: "address",
741
+ },
742
+ ],
743
+ name: "convertExactTokensSupportingFeeOnTransferTokens",
744
+ outputs: [
745
+ {
746
+ internalType: "uint256",
747
+ name: "actualAmountIn",
748
+ type: "uint256",
749
+ },
750
+ {
751
+ internalType: "uint256",
752
+ name: "actualAmountOut",
753
+ type: "uint256",
754
+ },
755
+ ],
756
+ stateMutability: "nonpayable",
757
+ type: "function",
758
+ },
759
+ {
760
+ inputs: [
761
+ {
762
+ internalType: "uint256",
763
+ name: "amountInMaxMantissa",
764
+ type: "uint256",
765
+ },
766
+ {
767
+ internalType: "uint256",
768
+ name: "amountOutMantissa",
769
+ type: "uint256",
770
+ },
771
+ {
772
+ internalType: "address",
773
+ name: "tokenAddressIn",
774
+ type: "address",
775
+ },
776
+ {
777
+ internalType: "address",
778
+ name: "tokenAddressOut",
779
+ type: "address",
780
+ },
781
+ {
782
+ internalType: "address",
783
+ name: "to",
784
+ type: "address",
785
+ },
786
+ ],
787
+ name: "convertForExactTokens",
788
+ outputs: [
789
+ {
790
+ internalType: "uint256",
791
+ name: "actualAmountIn",
792
+ type: "uint256",
793
+ },
794
+ {
795
+ internalType: "uint256",
796
+ name: "actualAmountOut",
797
+ type: "uint256",
798
+ },
799
+ ],
800
+ stateMutability: "nonpayable",
801
+ type: "function",
802
+ },
803
+ {
804
+ inputs: [
805
+ {
806
+ internalType: "uint256",
807
+ name: "amountInMaxMantissa",
808
+ type: "uint256",
809
+ },
810
+ {
811
+ internalType: "uint256",
812
+ name: "amountOutMantissa",
813
+ type: "uint256",
814
+ },
815
+ {
816
+ internalType: "address",
817
+ name: "tokenAddressIn",
818
+ type: "address",
819
+ },
820
+ {
821
+ internalType: "address",
822
+ name: "tokenAddressOut",
823
+ type: "address",
824
+ },
825
+ {
826
+ internalType: "address",
827
+ name: "to",
828
+ type: "address",
829
+ },
830
+ ],
831
+ name: "convertForExactTokensSupportingFeeOnTransferTokens",
832
+ outputs: [
833
+ {
834
+ internalType: "uint256",
835
+ name: "actualAmountIn",
836
+ type: "uint256",
837
+ },
838
+ {
839
+ internalType: "uint256",
840
+ name: "actualAmountOut",
841
+ type: "uint256",
842
+ },
843
+ ],
844
+ stateMutability: "nonpayable",
845
+ type: "function",
846
+ },
847
+ {
848
+ inputs: [],
849
+ name: "converterNetwork",
850
+ outputs: [
851
+ {
852
+ internalType: "contract IConverterNetwork",
853
+ name: "",
854
+ type: "address",
855
+ },
856
+ ],
857
+ stateMutability: "view",
858
+ type: "function",
859
+ },
860
+ {
861
+ inputs: [],
862
+ name: "destinationAddress",
863
+ outputs: [
864
+ {
865
+ internalType: "address",
866
+ name: "",
867
+ type: "address",
868
+ },
869
+ ],
870
+ stateMutability: "view",
871
+ type: "function",
872
+ },
873
+ {
874
+ inputs: [
875
+ {
876
+ internalType: "uint256",
877
+ name: "amountOutMantissa",
878
+ type: "uint256",
879
+ },
880
+ {
881
+ internalType: "address",
882
+ name: "tokenAddressIn",
883
+ type: "address",
884
+ },
885
+ {
886
+ internalType: "address",
887
+ name: "tokenAddressOut",
888
+ type: "address",
889
+ },
890
+ ],
891
+ name: "getAmountIn",
892
+ outputs: [
893
+ {
894
+ internalType: "uint256",
895
+ name: "amountConvertedMantissa",
896
+ type: "uint256",
897
+ },
898
+ {
899
+ internalType: "uint256",
900
+ name: "amountInMantissa",
901
+ type: "uint256",
902
+ },
903
+ ],
904
+ stateMutability: "view",
905
+ type: "function",
906
+ },
907
+ {
908
+ inputs: [
909
+ {
910
+ internalType: "uint256",
911
+ name: "amountInMantissa",
912
+ type: "uint256",
913
+ },
914
+ {
915
+ internalType: "address",
916
+ name: "tokenAddressIn",
917
+ type: "address",
918
+ },
919
+ {
920
+ internalType: "address",
921
+ name: "tokenAddressOut",
922
+ type: "address",
923
+ },
924
+ ],
925
+ name: "getAmountOut",
926
+ outputs: [
927
+ {
928
+ internalType: "uint256",
929
+ name: "amountConvertedMantissa",
930
+ type: "uint256",
931
+ },
932
+ {
933
+ internalType: "uint256",
934
+ name: "amountOutMantissa",
935
+ type: "uint256",
936
+ },
937
+ ],
938
+ stateMutability: "view",
939
+ type: "function",
940
+ },
941
+ {
942
+ inputs: [
943
+ {
944
+ internalType: "uint256",
945
+ name: "amountOutMantissa",
946
+ type: "uint256",
947
+ },
948
+ {
949
+ internalType: "address",
950
+ name: "tokenAddressIn",
951
+ type: "address",
952
+ },
953
+ {
954
+ internalType: "address",
955
+ name: "tokenAddressOut",
956
+ type: "address",
957
+ },
958
+ ],
959
+ name: "getUpdatedAmountIn",
960
+ outputs: [
961
+ {
962
+ internalType: "uint256",
963
+ name: "amountConvertedMantissa",
964
+ type: "uint256",
965
+ },
966
+ {
967
+ internalType: "uint256",
968
+ name: "amountInMantissa",
969
+ type: "uint256",
970
+ },
971
+ ],
972
+ stateMutability: "nonpayable",
973
+ type: "function",
974
+ },
975
+ {
976
+ inputs: [
977
+ {
978
+ internalType: "uint256",
979
+ name: "amountInMantissa",
980
+ type: "uint256",
981
+ },
982
+ {
983
+ internalType: "address",
984
+ name: "tokenAddressIn",
985
+ type: "address",
986
+ },
987
+ {
988
+ internalType: "address",
989
+ name: "tokenAddressOut",
990
+ type: "address",
991
+ },
992
+ ],
993
+ name: "getUpdatedAmountOut",
994
+ outputs: [
995
+ {
996
+ internalType: "uint256",
997
+ name: "amountConvertedMantissa",
998
+ type: "uint256",
999
+ },
1000
+ {
1001
+ internalType: "uint256",
1002
+ name: "amountOutMantissa",
1003
+ type: "uint256",
1004
+ },
1005
+ ],
1006
+ stateMutability: "nonpayable",
1007
+ type: "function",
1008
+ },
1009
+ {
1010
+ inputs: [],
1011
+ name: "minAmountToConvert",
1012
+ outputs: [
1013
+ {
1014
+ internalType: "uint256",
1015
+ name: "",
1016
+ type: "uint256",
1017
+ },
1018
+ ],
1019
+ stateMutability: "view",
1020
+ type: "function",
1021
+ },
1022
+ {
1023
+ inputs: [],
1024
+ name: "owner",
1025
+ outputs: [
1026
+ {
1027
+ internalType: "address",
1028
+ name: "",
1029
+ type: "address",
1030
+ },
1031
+ ],
1032
+ stateMutability: "view",
1033
+ type: "function",
1034
+ },
1035
+ {
1036
+ inputs: [],
1037
+ name: "pauseConversion",
1038
+ outputs: [],
1039
+ stateMutability: "nonpayable",
1040
+ type: "function",
1041
+ },
1042
+ {
1043
+ inputs: [],
1044
+ name: "pendingOwner",
1045
+ outputs: [
1046
+ {
1047
+ internalType: "address",
1048
+ name: "",
1049
+ type: "address",
1050
+ },
1051
+ ],
1052
+ stateMutability: "view",
1053
+ type: "function",
1054
+ },
1055
+ {
1056
+ inputs: [],
1057
+ name: "priceOracle",
1058
+ outputs: [
1059
+ {
1060
+ internalType: "contract ResilientOracle",
1061
+ name: "",
1062
+ type: "address",
1063
+ },
1064
+ ],
1065
+ stateMutability: "view",
1066
+ type: "function",
1067
+ },
1068
+ {
1069
+ inputs: [],
1070
+ name: "renounceOwnership",
1071
+ outputs: [],
1072
+ stateMutability: "nonpayable",
1073
+ type: "function",
1074
+ },
1075
+ {
1076
+ inputs: [],
1077
+ name: "resumeConversion",
1078
+ outputs: [],
1079
+ stateMutability: "nonpayable",
1080
+ type: "function",
1081
+ },
1082
+ {
1083
+ inputs: [
1084
+ {
1085
+ internalType: "address",
1086
+ name: "accessControlManager_",
1087
+ type: "address",
1088
+ },
1089
+ ],
1090
+ name: "setAccessControlManager",
1091
+ outputs: [],
1092
+ stateMutability: "nonpayable",
1093
+ type: "function",
1094
+ },
1095
+ {
1096
+ inputs: [
1097
+ {
1098
+ internalType: "address",
1099
+ name: "tokenAddressIn",
1100
+ type: "address",
1101
+ },
1102
+ {
1103
+ internalType: "address",
1104
+ name: "tokenAddressOut",
1105
+ type: "address",
1106
+ },
1107
+ {
1108
+ components: [
1109
+ {
1110
+ internalType: "uint256",
1111
+ name: "incentive",
1112
+ type: "uint256",
1113
+ },
1114
+ {
1115
+ internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
1116
+ name: "conversionAccess",
1117
+ type: "uint8",
1118
+ },
1119
+ ],
1120
+ internalType: "struct IAbstractTokenConverter.ConversionConfig",
1121
+ name: "conversionConfig",
1122
+ type: "tuple",
1123
+ },
1124
+ ],
1125
+ name: "setConversionConfig",
1126
+ outputs: [],
1127
+ stateMutability: "nonpayable",
1128
+ type: "function",
1129
+ },
1130
+ {
1131
+ inputs: [
1132
+ {
1133
+ internalType: "address",
1134
+ name: "tokenAddressIn",
1135
+ type: "address",
1136
+ },
1137
+ {
1138
+ internalType: "address[]",
1139
+ name: "tokenAddressesOut",
1140
+ type: "address[]",
1141
+ },
1142
+ {
1143
+ components: [
1144
+ {
1145
+ internalType: "uint256",
1146
+ name: "incentive",
1147
+ type: "uint256",
1148
+ },
1149
+ {
1150
+ internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
1151
+ name: "conversionAccess",
1152
+ type: "uint8",
1153
+ },
1154
+ ],
1155
+ internalType: "struct IAbstractTokenConverter.ConversionConfig[]",
1156
+ name: "conversionConfigs",
1157
+ type: "tuple[]",
1158
+ },
1159
+ ],
1160
+ name: "setConversionConfigs",
1161
+ outputs: [],
1162
+ stateMutability: "nonpayable",
1163
+ type: "function",
1164
+ },
1165
+ {
1166
+ inputs: [
1167
+ {
1168
+ internalType: "contract IConverterNetwork",
1169
+ name: "converterNetwork_",
1170
+ type: "address",
1171
+ },
1172
+ ],
1173
+ name: "setConverterNetwork",
1174
+ outputs: [],
1175
+ stateMutability: "nonpayable",
1176
+ type: "function",
1177
+ },
1178
+ {
1179
+ inputs: [
1180
+ {
1181
+ internalType: "address",
1182
+ name: "destinationAddress_",
1183
+ type: "address",
1184
+ },
1185
+ ],
1186
+ name: "setDestination",
1187
+ outputs: [],
1188
+ stateMutability: "nonpayable",
1189
+ type: "function",
1190
+ },
1191
+ {
1192
+ inputs: [
1193
+ {
1194
+ internalType: "uint256",
1195
+ name: "minAmountToConvert_",
1196
+ type: "uint256",
1197
+ },
1198
+ ],
1199
+ name: "setMinAmountToConvert",
1200
+ outputs: [],
1201
+ stateMutability: "nonpayable",
1202
+ type: "function",
1203
+ },
1204
+ {
1205
+ inputs: [
1206
+ {
1207
+ internalType: "contract ResilientOracle",
1208
+ name: "priceOracle_",
1209
+ type: "address",
1210
+ },
1211
+ ],
1212
+ name: "setPriceOracle",
1213
+ outputs: [],
1214
+ stateMutability: "nonpayable",
1215
+ type: "function",
1216
+ },
1217
+ {
1218
+ inputs: [
1219
+ {
1220
+ internalType: "address",
1221
+ name: "tokenAddress",
1222
+ type: "address",
1223
+ },
1224
+ {
1225
+ internalType: "address",
1226
+ name: "to",
1227
+ type: "address",
1228
+ },
1229
+ {
1230
+ internalType: "uint256",
1231
+ name: "amount",
1232
+ type: "uint256",
1233
+ },
1234
+ ],
1235
+ name: "sweepToken",
1236
+ outputs: [],
1237
+ stateMutability: "nonpayable",
1238
+ type: "function",
1239
+ },
1240
+ {
1241
+ inputs: [
1242
+ {
1243
+ internalType: "address",
1244
+ name: "newOwner",
1245
+ type: "address",
1246
+ },
1247
+ ],
1248
+ name: "transferOwnership",
1249
+ outputs: [],
1250
+ stateMutability: "nonpayable",
1251
+ type: "function",
1252
+ },
1253
+ {
1254
+ inputs: [
1255
+ {
1256
+ internalType: "address",
1257
+ name: "comptroller",
1258
+ type: "address",
1259
+ },
1260
+ {
1261
+ internalType: "address",
1262
+ name: "asset",
1263
+ type: "address",
1264
+ },
1265
+ ],
1266
+ name: "updateAssetsState",
1267
+ outputs: [],
1268
+ stateMutability: "nonpayable",
1269
+ type: "function",
1270
+ },
1271
+ ];
1272
+ class AbstractTokenConverter__factory {
1273
+ static createInterface() {
1274
+ return new ethers_1.utils.Interface(_abi);
1275
+ }
1276
+ static connect(address, signerOrProvider) {
1277
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
1278
+ }
1279
+ }
1280
+ exports.AbstractTokenConverter__factory = AbstractTokenConverter__factory;
1281
+ AbstractTokenConverter__factory.abi = _abi;
1282
+ //# sourceMappingURL=AbstractTokenConverter__factory.js.map