@gearbox-protocol/sdk 3.0.0-next.10 → 3.0.0-next.101

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 (502) hide show
  1. package/contracts/index.sol +32 -3
  2. package/lib/apy/curveAPY.js +2 -1
  3. package/lib/apy/index.d.ts +2 -2
  4. package/lib/apy/yearnAPY.js +1 -1
  5. package/lib/contracts/contractsRegister.d.ts +5 -2
  6. package/lib/contracts/contractsRegister.js +12 -0
  7. package/lib/core/assets.d.ts +2 -2
  8. package/lib/core/assets.js +4 -4
  9. package/lib/core/creditAccount.d.ts +72 -15
  10. package/lib/core/creditAccount.js +153 -62
  11. package/lib/core/creditAccount.spec.js +907 -16
  12. package/lib/core/creditManager.d.ts +19 -6
  13. package/lib/core/creditManager.js +66 -14
  14. package/lib/core/creditSession.d.ts +11 -1
  15. package/lib/core/creditSession.js +20 -2
  16. package/lib/core/endpoint.d.ts +10 -0
  17. package/lib/core/endpoint.js +26 -0
  18. package/lib/core/events.js +16 -16
  19. package/lib/core/gauge.d.ts +26 -0
  20. package/lib/core/gauge.js +63 -0
  21. package/lib/core/gaugeMath.d.ts +40 -0
  22. package/lib/core/gaugeMath.js +108 -0
  23. package/lib/core/gaugeMath.spec.js +388 -0
  24. package/lib/core/{pool/data.d.ts → pool.d.ts} +16 -8
  25. package/lib/core/{pool/data.js → pool.js} +43 -20
  26. package/lib/core/strategy.d.ts +15 -15
  27. package/lib/core/strategy.js +10 -26
  28. package/lib/core/trade.d.ts +11 -9
  29. package/lib/core/trade.js +36 -27
  30. package/lib/core/transactions.d.ts +110 -14
  31. package/lib/core/transactions.js +191 -108
  32. package/lib/index.d.ts +5 -0
  33. package/lib/index.js +5 -0
  34. package/lib/parsers/abstractParser.js +1 -2
  35. package/lib/parsers/convexBaseRewardPoolAdapterParser.js +10 -8
  36. package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
  37. package/lib/parsers/convexBoosterAdapterParser.js +6 -6
  38. package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
  39. package/lib/parsers/creditFacadeParser.d.ts +2 -1
  40. package/lib/parsers/creditFacadeParser.js +44 -5
  41. package/lib/parsers/creditFacadeParser.spec.js +3 -4
  42. package/lib/parsers/curveAdapterParser.js +10 -11
  43. package/lib/parsers/curveAdapterParser.spec.js +6 -2
  44. package/lib/parsers/lidoAdapterParser.js +3 -2
  45. package/lib/parsers/lidoAdapterParser.spec.js +2 -2
  46. package/lib/parsers/txParser.d.ts +1 -1
  47. package/lib/parsers/txParser.js +9 -3
  48. package/lib/parsers/uniV2AdapterParser.js +5 -4
  49. package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
  50. package/lib/parsers/uniV3AdapterParser.js +9 -7
  51. package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
  52. package/lib/parsers/wstETHAdapterParser.js +6 -4
  53. package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
  54. package/lib/parsers/yearnAdapterParser.spec.js +4 -4
  55. package/lib/parsers/yearnV2AdapterParser.js +13 -3
  56. package/lib/pathfinder/core.d.ts +8 -9
  57. package/lib/pathfinder/pathOptions.d.ts +2 -1
  58. package/lib/pathfinder/pathOptions.js +20 -1
  59. package/lib/pathfinder/pathOptions.spec.js +2 -2
  60. package/lib/pathfinder/pathfinder.d.ts +44 -16
  61. package/lib/pathfinder/pathfinder.js +58 -39
  62. package/lib/pathfinder/pathfinder.spec.js +7 -3
  63. package/lib/pathfinder/v1/core.d.ts +16 -0
  64. package/lib/pathfinder/v1/pathfinderv1.d.ts +46 -0
  65. package/lib/pathfinder/v1/pathfinderv1.js +155 -0
  66. package/lib/pathfinder/v1/pathfinderv1.spec.d.ts +1 -0
  67. package/lib/pathfinder/v1/pathfinderv1.spec.js +39 -0
  68. package/lib/payload/creditAccount.d.ts +3 -4
  69. package/lib/payload/creditManager.d.ts +3 -0
  70. package/lib/payload/creditSession.d.ts +11 -0
  71. package/lib/payload/gauge.d.ts +12 -0
  72. package/lib/payload/pool.d.ts +4 -0
  73. package/lib/types/CalldataExtractor.d.ts +44 -0
  74. package/lib/types/ERC20.d.ts +198 -0
  75. package/lib/types/FarmAccounting.d.ts +27 -0
  76. package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +171 -0
  77. package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +290 -0
  78. package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +308 -0
  79. package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +112 -0
  80. package/lib/types/IBalancerV2Vault.sol/index.d.ts +2 -0
  81. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +466 -0
  82. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js +2 -0
  83. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
  84. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js +2 -0
  85. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +27 -0
  86. package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.js +2 -0
  87. package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  88. package/lib/types/IBalancerV2VaultAdapter.sol/index.js +2 -0
  89. package/lib/types/IBotListV3.sol/IBotListV3.d.ts +286 -0
  90. package/lib/types/IBotListV3.sol/IBotListV3.js +2 -0
  91. package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +103 -0
  92. package/lib/types/IBotListV3.sol/IBotListV3Events.js +2 -0
  93. package/lib/types/IBotListV3.sol/index.d.ts +2 -0
  94. package/lib/types/IBotListV3.sol/index.js +2 -0
  95. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +216 -0
  96. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js +2 -0
  97. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +27 -0
  98. package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js +2 -0
  99. package/lib/types/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  100. package/lib/types/ICompoundV2_CTokenAdapter.sol/index.js +2 -0
  101. package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +128 -0
  102. package/lib/types/IContractsRegister.sol/IContractsRegister.js +2 -0
  103. package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +50 -0
  104. package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.js +2 -0
  105. package/lib/types/IContractsRegister.sol/index.d.ts +2 -0
  106. package/lib/types/IContractsRegister.sol/index.js +2 -0
  107. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.d.ts +504 -0
  108. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.js +2 -0
  109. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +82 -0
  110. package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.js +2 -0
  111. package/lib/types/IControllerTimelockV3.sol/index.d.ts +2 -0
  112. package/lib/types/IControllerTimelockV3.sol/index.js +2 -0
  113. package/lib/types/IConvexToken.d.ts +9 -1
  114. package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +46 -30
  115. package/lib/types/{IConvexV1BoosterAdapter.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts} +40 -21
  116. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js +2 -0
  117. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
  118. package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js +2 -0
  119. package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  120. package/lib/types/IConvexV1BoosterAdapter.sol/index.js +2 -0
  121. package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +7 -11
  122. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +58 -109
  123. package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +31 -35
  124. package/lib/types/ICreditFacadeV3Multicall.d.ts +91 -60
  125. package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +117 -97
  126. package/lib/types/ICurveV1Adapter.d.ts +41 -105
  127. package/lib/types/ICurveV1_2AssetsAdapter.d.ts +41 -105
  128. package/lib/types/ICurveV1_3AssetsAdapter.d.ts +41 -105
  129. package/lib/types/ICurveV1_4AssetsAdapter.d.ts +41 -105
  130. package/lib/types/IDaiLikePermit.d.ts +59 -0
  131. package/lib/types/IDaiLikePermit.js +2 -0
  132. package/lib/types/IDataCompressorV2_10.d.ts +26 -41
  133. package/lib/types/IDataCompressorV3_00.d.ts +123 -42
  134. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +339 -0
  135. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.js +2 -0
  136. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +61 -0
  137. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.js +2 -0
  138. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +27 -0
  139. package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.js +2 -0
  140. package/lib/types/IDegenNFTV2.sol/index.d.ts +3 -0
  141. package/lib/types/IDegenNFTV2.sol/index.js +2 -0
  142. package/lib/types/IERC165.d.ts +42 -0
  143. package/lib/types/IERC165.js +2 -0
  144. package/lib/types/IERC20Permit.d.ts +74 -0
  145. package/lib/types/IERC20Permit.js +2 -0
  146. package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
  147. package/lib/types/IERC20ZapperDeposits.js +2 -0
  148. package/lib/types/IERC4626Adapter.d.ts +238 -0
  149. package/lib/types/IERC4626Adapter.js +2 -0
  150. package/lib/types/IERC721.d.ts +220 -0
  151. package/lib/types/IERC721.js +2 -0
  152. package/lib/types/IERC721Metadata.d.ts +244 -0
  153. package/lib/types/IERC721Metadata.js +2 -0
  154. package/lib/types/IETHZapperDeposits.d.ts +66 -0
  155. package/lib/types/IETHZapperDeposits.js +2 -0
  156. package/lib/types/IFarmingPool.d.ts +318 -0
  157. package/lib/types/IFarmingPool.js +2 -0
  158. package/lib/types/IGasPricer.d.ts +44 -0
  159. package/lib/types/IGasPricer.js +2 -0
  160. package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +366 -0
  161. package/lib/types/IGaugeV3.sol/IGaugeV3.js +2 -0
  162. package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +114 -0
  163. package/lib/types/IGaugeV3.sol/IGaugeV3Events.js +2 -0
  164. package/lib/types/IGaugeV3.sol/index.d.ts +2 -0
  165. package/lib/types/IGaugeV3.sol/index.js +2 -0
  166. package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
  167. package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
  168. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
  169. package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
  170. package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
  171. package/lib/types/IGearStakingV3.sol/index.js +2 -0
  172. package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +285 -0
  173. package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.js +2 -0
  174. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +54 -0
  175. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.js +2 -0
  176. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +27 -0
  177. package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.js +2 -0
  178. package/lib/types/ILPPriceFeed.sol/index.d.ts +3 -0
  179. package/lib/types/ILPPriceFeed.sol/index.js +2 -0
  180. package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.d.ts → ILidoV1Adapter.d.ts} +13 -48
  181. package/lib/types/ILidoV1Adapter.js +2 -0
  182. package/lib/types/ILinearInterestRateModelV3.d.ts +120 -0
  183. package/lib/types/ILinearInterestRateModelV3.js +2 -0
  184. package/lib/types/IPermit2.d.ts +130 -0
  185. package/lib/types/IPermit2.js +2 -0
  186. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +473 -0
  187. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.js +2 -0
  188. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +113 -0
  189. package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.js +2 -0
  190. package/lib/types/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  191. package/lib/types/IPoolQuotaKeeperV3.sol/index.js +2 -0
  192. package/lib/types/IPoolV3.sol/IPoolV3.d.ts +43 -3
  193. package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
  194. package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
  195. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
  196. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.js +2 -0
  197. package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
  198. package/lib/types/IPriceFeed.sol/index.js +2 -0
  199. package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
  200. package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
  201. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
  202. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
  203. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts → IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts} +3 -3
  204. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
  205. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
  206. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
  207. package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
  208. package/lib/types/IPriceOracle.sol/index.js +2 -0
  209. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +272 -0
  210. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
  211. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +79 -0
  212. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
  213. package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
  214. package/lib/types/IPriceOracleV3.sol/index.js +2 -0
  215. package/lib/types/IRouter.d.ts +11 -1
  216. package/lib/types/IRouterV3.d.ts +281 -0
  217. package/lib/types/IRouterV3.js +2 -0
  218. package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +10 -9
  219. package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +27 -21
  220. package/lib/types/IVotingContractV3.d.ts +74 -0
  221. package/lib/types/IVotingContractV3.js +2 -0
  222. package/lib/types/IWETH.d.ts +197 -0
  223. package/lib/types/IWETH.js +2 -0
  224. package/lib/types/IYearnV2Adapter.d.ts +22 -22
  225. package/lib/types/IZapper.d.ts +56 -37
  226. package/lib/types/IZapperRegister.d.ts +62 -0
  227. package/lib/types/IZapperRegister.js +2 -0
  228. package/lib/types/IwstETHV1Adapter.d.ts +17 -17
  229. package/lib/types/NumericArrayLib.d.ts +27 -0
  230. package/lib/types/NumericArrayLib.js +2 -0
  231. package/lib/types/RedstoneConstants.d.ts +27 -0
  232. package/lib/types/RedstoneConstants.js +2 -0
  233. package/lib/types/RedstoneConsumerBase.d.ts +84 -0
  234. package/lib/types/RedstoneConsumerBase.js +2 -0
  235. package/lib/types/RedstoneConsumerNumericBase.d.ts +84 -0
  236. package/lib/types/RedstoneConsumerNumericBase.js +2 -0
  237. package/lib/types/RedstoneDefaultsLib.d.ts +27 -0
  238. package/lib/types/RedstoneDefaultsLib.js +2 -0
  239. package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts} +11 -11
  240. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.js +2 -0
  241. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +27 -0
  242. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.js +2 -0
  243. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +279 -0
  244. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.js +2 -0
  245. package/lib/types/RedstonePriceFeed.sol/index.d.ts +3 -0
  246. package/lib/types/RedstonePriceFeed.sol/index.js +2 -0
  247. package/lib/types/SafeERC20.d.ts +27 -0
  248. package/lib/types/SafeERC20.js +2 -0
  249. package/lib/types/factories/AddressProvider__factory.d.ts +1 -1
  250. package/lib/types/factories/AddressProvider__factory.js +1 -1
  251. package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +1 -1
  252. package/lib/types/factories/Balances.sol/BalanceOps__factory.js +1 -1
  253. package/lib/types/factories/CalldataExtractor__factory.d.ts +87 -0
  254. package/lib/types/factories/CalldataExtractor__factory.js +127 -0
  255. package/lib/types/factories/Claimable__factory.d.ts +1 -1
  256. package/lib/types/factories/Claimable__factory.js +1 -1
  257. package/lib/types/factories/ERC20__factory.d.ts +239 -0
  258. package/lib/types/factories/ERC20__factory.js +328 -0
  259. package/lib/types/factories/Errors__factory.d.ts +1 -1
  260. package/lib/types/factories/Errors__factory.js +1 -1
  261. package/lib/types/factories/FarmAccounting__factory.d.ts +33 -0
  262. package/lib/types/factories/FarmAccounting__factory.js +57 -0
  263. package/lib/types/factories/{IWERC20Zapper__factory.d.ts → IAaveV2_LendingPoolAdapter__factory.d.ts} +89 -69
  264. package/lib/types/factories/{IWERC20Zapper__factory.js → IAaveV2_LendingPoolAdapter__factory.js} +99 -75
  265. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +252 -0
  266. package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +341 -0
  267. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +78 -0
  268. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +111 -0
  269. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +360 -0
  270. package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +475 -0
  271. package/lib/types/factories/IBalancerV2Vault.sol/index.d.ts +2 -0
  272. package/lib/types/factories/IBalancerV2Vault.sol/index.js +10 -0
  273. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +23 -0
  274. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +38 -0
  275. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +12 -0
  276. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js → IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js} +4 -4
  277. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +514 -0
  278. package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +675 -0
  279. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
  280. package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.js +12 -0
  281. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +103 -0
  282. package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +138 -0
  283. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +315 -0
  284. package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +416 -0
  285. package/lib/types/factories/IBotListV3.sol/index.d.ts +2 -0
  286. package/lib/types/factories/IBotListV3.sol/index.js +10 -0
  287. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +196 -0
  288. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +267 -0
  289. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +16 -0
  290. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +30 -0
  291. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
  292. package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.js +10 -0
  293. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +28 -0
  294. package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +45 -0
  295. package/lib/types/factories/{IWETHZapper__factory.d.ts → IContractsRegister.sol/IContractsRegister__factory.d.ts} +64 -60
  296. package/lib/types/factories/{IWETHZapper__factory.js → IContractsRegister.sol/IContractsRegister__factory.js} +70 -65
  297. package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
  298. package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
  299. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +73 -0
  300. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +101 -0
  301. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +427 -0
  302. package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +556 -0
  303. package/lib/types/factories/IControllerTimelockV3.sol/index.d.ts +2 -0
  304. package/lib/types/factories/IControllerTimelockV3.sol/index.js +10 -0
  305. package/lib/types/factories/IConvexToken__factory.d.ts +10 -0
  306. package/lib/types/factories/IConvexToken__factory.js +13 -0
  307. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +38 -6
  308. package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +48 -6
  309. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +23 -0
  310. package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +38 -0
  311. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts} +26 -3
  312. package/lib/types/factories/{IConvexV1BoosterAdapter__factory.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js} +31 -2
  313. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
  314. package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.js +10 -0
  315. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +0 -4
  316. package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +0 -5
  317. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +19 -29
  318. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +21 -33
  319. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +21 -97
  320. package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +23 -119
  321. package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +77 -43
  322. package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +96 -54
  323. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +162 -158
  324. package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +200 -195
  325. package/lib/types/factories/ICurveV1Adapter__factory.d.ts +13 -71
  326. package/lib/types/factories/ICurveV1Adapter__factory.js +14 -91
  327. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +13 -71
  328. package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +14 -91
  329. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +13 -71
  330. package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +14 -91
  331. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +13 -71
  332. package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +14 -91
  333. package/lib/types/factories/IDaiLikePermit__factory.d.ts +46 -0
  334. package/lib/types/factories/IDaiLikePermit__factory.js +67 -0
  335. package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +56 -66
  336. package/lib/types/factories/IDataCompressorV2_10__factory.js +68 -82
  337. package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +321 -95
  338. package/lib/types/factories/IDataCompressorV3_00__factory.js +406 -119
  339. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +38 -0
  340. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +58 -0
  341. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +24 -0
  342. package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +39 -0
  343. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.d.ts → IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts} +190 -180
  344. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js → IDegenNFTV2.sol/IDegenNFTV2__factory.js} +212 -195
  345. package/lib/types/factories/IDegenNFTV2.sol/index.d.ts +3 -0
  346. package/lib/types/factories/IDegenNFTV2.sol/index.js +12 -0
  347. package/lib/types/factories/IERC165__factory.d.ts +22 -0
  348. package/lib/types/factories/IERC165__factory.js +38 -0
  349. package/lib/types/factories/IERC20Permit__factory.d.ts +66 -0
  350. package/lib/types/factories/IERC20Permit__factory.js +94 -0
  351. package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
  352. package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
  353. package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
  354. package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
  355. package/lib/types/factories/IERC721Metadata__factory.d.ts +262 -0
  356. package/lib/types/factories/IERC721Metadata__factory.js +349 -0
  357. package/lib/types/factories/IERC721__factory.d.ts +228 -0
  358. package/lib/types/factories/IERC721__factory.js +304 -0
  359. package/lib/types/factories/IETHZapperDeposits__factory.d.ts +40 -0
  360. package/lib/types/factories/IETHZapperDeposits__factory.js +62 -0
  361. package/lib/types/factories/IFarmingPool__factory.d.ts +299 -0
  362. package/lib/types/factories/IFarmingPool__factory.js +396 -0
  363. package/lib/types/factories/IGasPricer__factory.d.ts +22 -0
  364. package/lib/types/factories/IGasPricer__factory.js +38 -0
  365. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +118 -0
  366. package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +157 -0
  367. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +342 -0
  368. package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +448 -0
  369. package/lib/types/factories/IGaugeV3.sol/index.d.ts +2 -0
  370. package/lib/types/factories/IGaugeV3.sol/index.js +10 -0
  371. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.d.ts → IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts} +33 -63
  372. package/lib/types/factories/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js → IGearStakingV3.sol/IGearStakingV3Events__factory.js} +34 -70
  373. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +504 -0
  374. package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +660 -0
  375. package/lib/types/factories/IGearStakingV3.sol/index.d.ts +2 -0
  376. package/lib/types/factories/IGearStakingV3.sol/index.js +10 -0
  377. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +33 -0
  378. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +51 -0
  379. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +28 -0
  380. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +44 -0
  381. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +261 -0
  382. package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +344 -0
  383. package/lib/types/factories/ILPPriceFeed.sol/index.d.ts +3 -0
  384. package/lib/types/factories/ILPPriceFeed.sol/index.js +12 -0
  385. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts → ILidoV1Adapter__factory.d.ts} +7 -37
  386. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.js → ILidoV1Adapter__factory.js} +8 -46
  387. package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +98 -0
  388. package/lib/types/factories/ILinearInterestRateModelV3__factory.js +136 -0
  389. package/lib/types/factories/IPermit2__factory.d.ts +113 -0
  390. package/lib/types/factories/IPermit2__factory.js +155 -0
  391. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +103 -0
  392. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +140 -0
  393. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +441 -0
  394. package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +580 -0
  395. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.d.ts +2 -0
  396. package/lib/types/factories/IPoolQuotaKeeperV3.sol/index.js +10 -0
  397. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +62 -4
  398. package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +79 -4
  399. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +84 -0
  400. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +117 -0
  401. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +104 -0
  402. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +143 -0
  403. package/lib/types/factories/IPriceFeed.sol/index.d.ts +2 -0
  404. package/lib/types/factories/IPriceFeed.sol/index.js +10 -0
  405. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +23 -0
  406. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
  407. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
  408. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
  409. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +197 -0
  410. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
  411. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
  412. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +249 -0
  413. package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
  414. package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
  415. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +78 -0
  416. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +106 -0
  417. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +326 -0
  418. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +433 -0
  419. package/lib/types/factories/IPriceOracleV3.sol/index.d.ts +2 -0
  420. package/lib/types/factories/IPriceOracleV3.sol/index.js +10 -0
  421. package/lib/types/factories/IRouterV3__factory.d.ts +451 -0
  422. package/lib/types/factories/IRouterV3__factory.js +597 -0
  423. package/lib/types/factories/IRouter__factory.d.ts +14 -0
  424. package/lib/types/factories/IRouter__factory.js +19 -0
  425. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +5 -1
  426. package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +6 -1
  427. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +12 -4
  428. package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +14 -4
  429. package/lib/types/factories/IVotingContractV3__factory.d.ts +44 -0
  430. package/lib/types/factories/IVotingContractV3__factory.js +65 -0
  431. package/lib/types/factories/IWETH__factory.d.ts +194 -0
  432. package/lib/types/factories/IWETH__factory.js +260 -0
  433. package/lib/types/factories/IYearnV2Adapter__factory.d.ts +21 -13
  434. package/lib/types/factories/IYearnV2Adapter__factory.js +27 -15
  435. package/lib/types/factories/IZapperRegister__factory.d.ts +42 -0
  436. package/lib/types/factories/IZapperRegister__factory.js +64 -0
  437. package/lib/types/factories/IZapper__factory.d.ts +41 -11
  438. package/lib/types/factories/IZapper__factory.js +50 -11
  439. package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +12 -4
  440. package/lib/types/factories/IwstETHV1Adapter__factory.js +16 -4
  441. package/lib/types/factories/NumericArrayLib__factory.d.ts +25 -0
  442. package/lib/types/factories/NumericArrayLib__factory.js +47 -0
  443. package/lib/types/factories/RedstoneConstants__factory.d.ts +65 -0
  444. package/lib/types/factories/RedstoneConstants__factory.js +99 -0
  445. package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +164 -0
  446. package/lib/types/factories/RedstoneConsumerBase__factory.js +223 -0
  447. package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +164 -0
  448. package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +223 -0
  449. package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +45 -0
  450. package/lib/types/factories/RedstoneDefaultsLib__factory.js +74 -0
  451. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts} +6 -6
  452. package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js → RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js} +5 -5
  453. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +28 -0
  454. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +44 -0
  455. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +443 -0
  456. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +589 -0
  457. package/lib/types/factories/RedstonePriceFeed.sol/index.d.ts +3 -0
  458. package/lib/types/factories/RedstonePriceFeed.sol/index.js +12 -0
  459. package/lib/types/factories/SafeERC20__factory.d.ts +49 -0
  460. package/lib/types/factories/SafeERC20__factory.js +77 -0
  461. package/lib/types/factories/index.d.ts +44 -5
  462. package/lib/types/factories/index.js +74 -10
  463. package/lib/types/index.d.ts +173 -29
  464. package/lib/types/index.js +147 -30
  465. package/lib/utils/formatter.d.ts +0 -3
  466. package/lib/utils/formatter.js +1 -67
  467. package/lib/utils/math.d.ts +2 -0
  468. package/lib/utils/math.js +2 -0
  469. package/lib/utils/types.d.ts +1 -0
  470. package/lib/watchers/creditAccountWatcher.d.ts +3 -2
  471. package/lib/watchers/creditAccountWatcher.js +19 -13
  472. package/lib/watchers/creditAccountWatcher.spec.js +18 -18
  473. package/lib/watchers/creditManagerWatcher.d.ts +5 -3
  474. package/lib/watchers/creditManagerWatcher.js +32 -10
  475. package/lib/watchers/creditManagerWatcher.spec.js +12 -4
  476. package/package.json +13 -9
  477. package/contracts/IRouter.sol +0 -100
  478. package/lib/core/pool/index.d.ts +0 -1
  479. package/lib/core/pool/index.js +0 -17
  480. package/lib/core/strategy.spec.js +0 -62
  481. package/lib/types/ILidoV1Adapter.sol/index.d.ts +0 -3
  482. package/lib/types/IWERC20Zapper.d.ts +0 -142
  483. package/lib/types/IWETHZapper.d.ts +0 -138
  484. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
  485. package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
  486. package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  487. package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
  488. package/lib/types/factories/ILidoV1Adapter.sol/index.d.ts +0 -3
  489. package/lib/types/factories/ILidoV1Adapter.sol/index.js +0 -12
  490. package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
  491. package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
  492. /package/lib/core/{strategy.spec.d.ts → gaugeMath.spec.d.ts} +0 -0
  493. /package/lib/{types/IConvexV1BoosterAdapter.js → pathfinder/v1/core.js} +0 -0
  494. /package/lib/{types/ILidoV1Adapter.sol/ILidoV1Adapter.js → payload/gauge.js} +0 -0
  495. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → CalldataExtractor.js} +0 -0
  496. /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → ERC20.js} +0 -0
  497. /package/lib/types/{ILidoV1Adapter.sol/index.js → FarmAccounting.js} +0 -0
  498. /package/lib/types/{IWERC20Zapper.js → IAaveV2_LendingPoolAdapter.js} +0 -0
  499. /package/lib/types/{IWETHZapper.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
  500. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
  501. /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
  502. /package/lib/types/{IWithdrawalManagerV3.sol → IBalancerV2Vault.sol}/index.js +0 -0
@@ -0,0 +1,328 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ERC20__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "string",
13
+ name: "name_",
14
+ type: "string",
15
+ },
16
+ {
17
+ internalType: "string",
18
+ name: "symbol_",
19
+ type: "string",
20
+ },
21
+ ],
22
+ stateMutability: "nonpayable",
23
+ type: "constructor",
24
+ },
25
+ {
26
+ anonymous: false,
27
+ inputs: [
28
+ {
29
+ indexed: true,
30
+ internalType: "address",
31
+ name: "owner",
32
+ type: "address",
33
+ },
34
+ {
35
+ indexed: true,
36
+ internalType: "address",
37
+ name: "spender",
38
+ type: "address",
39
+ },
40
+ {
41
+ indexed: false,
42
+ internalType: "uint256",
43
+ name: "value",
44
+ type: "uint256",
45
+ },
46
+ ],
47
+ name: "Approval",
48
+ type: "event",
49
+ },
50
+ {
51
+ anonymous: false,
52
+ inputs: [
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "from",
57
+ type: "address",
58
+ },
59
+ {
60
+ indexed: true,
61
+ internalType: "address",
62
+ name: "to",
63
+ type: "address",
64
+ },
65
+ {
66
+ indexed: false,
67
+ internalType: "uint256",
68
+ name: "value",
69
+ type: "uint256",
70
+ },
71
+ ],
72
+ name: "Transfer",
73
+ type: "event",
74
+ },
75
+ {
76
+ inputs: [
77
+ {
78
+ internalType: "address",
79
+ name: "owner",
80
+ type: "address",
81
+ },
82
+ {
83
+ internalType: "address",
84
+ name: "spender",
85
+ type: "address",
86
+ },
87
+ ],
88
+ name: "allowance",
89
+ outputs: [
90
+ {
91
+ internalType: "uint256",
92
+ name: "",
93
+ type: "uint256",
94
+ },
95
+ ],
96
+ stateMutability: "view",
97
+ type: "function",
98
+ },
99
+ {
100
+ inputs: [
101
+ {
102
+ internalType: "address",
103
+ name: "spender",
104
+ type: "address",
105
+ },
106
+ {
107
+ internalType: "uint256",
108
+ name: "amount",
109
+ type: "uint256",
110
+ },
111
+ ],
112
+ name: "approve",
113
+ outputs: [
114
+ {
115
+ internalType: "bool",
116
+ name: "",
117
+ type: "bool",
118
+ },
119
+ ],
120
+ stateMutability: "nonpayable",
121
+ type: "function",
122
+ },
123
+ {
124
+ inputs: [
125
+ {
126
+ internalType: "address",
127
+ name: "account",
128
+ type: "address",
129
+ },
130
+ ],
131
+ name: "balanceOf",
132
+ outputs: [
133
+ {
134
+ internalType: "uint256",
135
+ name: "",
136
+ type: "uint256",
137
+ },
138
+ ],
139
+ stateMutability: "view",
140
+ type: "function",
141
+ },
142
+ {
143
+ inputs: [],
144
+ name: "decimals",
145
+ outputs: [
146
+ {
147
+ internalType: "uint8",
148
+ name: "",
149
+ type: "uint8",
150
+ },
151
+ ],
152
+ stateMutability: "view",
153
+ type: "function",
154
+ },
155
+ {
156
+ inputs: [
157
+ {
158
+ internalType: "address",
159
+ name: "spender",
160
+ type: "address",
161
+ },
162
+ {
163
+ internalType: "uint256",
164
+ name: "subtractedValue",
165
+ type: "uint256",
166
+ },
167
+ ],
168
+ name: "decreaseAllowance",
169
+ outputs: [
170
+ {
171
+ internalType: "bool",
172
+ name: "",
173
+ type: "bool",
174
+ },
175
+ ],
176
+ stateMutability: "nonpayable",
177
+ type: "function",
178
+ },
179
+ {
180
+ inputs: [
181
+ {
182
+ internalType: "address",
183
+ name: "spender",
184
+ type: "address",
185
+ },
186
+ {
187
+ internalType: "uint256",
188
+ name: "addedValue",
189
+ type: "uint256",
190
+ },
191
+ ],
192
+ name: "increaseAllowance",
193
+ outputs: [
194
+ {
195
+ internalType: "bool",
196
+ name: "",
197
+ type: "bool",
198
+ },
199
+ ],
200
+ stateMutability: "nonpayable",
201
+ type: "function",
202
+ },
203
+ {
204
+ inputs: [],
205
+ name: "name",
206
+ outputs: [
207
+ {
208
+ internalType: "string",
209
+ name: "",
210
+ type: "string",
211
+ },
212
+ ],
213
+ stateMutability: "view",
214
+ type: "function",
215
+ },
216
+ {
217
+ inputs: [],
218
+ name: "symbol",
219
+ outputs: [
220
+ {
221
+ internalType: "string",
222
+ name: "",
223
+ type: "string",
224
+ },
225
+ ],
226
+ stateMutability: "view",
227
+ type: "function",
228
+ },
229
+ {
230
+ inputs: [],
231
+ name: "totalSupply",
232
+ outputs: [
233
+ {
234
+ internalType: "uint256",
235
+ name: "",
236
+ type: "uint256",
237
+ },
238
+ ],
239
+ stateMutability: "view",
240
+ type: "function",
241
+ },
242
+ {
243
+ inputs: [
244
+ {
245
+ internalType: "address",
246
+ name: "to",
247
+ type: "address",
248
+ },
249
+ {
250
+ internalType: "uint256",
251
+ name: "amount",
252
+ type: "uint256",
253
+ },
254
+ ],
255
+ name: "transfer",
256
+ outputs: [
257
+ {
258
+ internalType: "bool",
259
+ name: "",
260
+ type: "bool",
261
+ },
262
+ ],
263
+ stateMutability: "nonpayable",
264
+ type: "function",
265
+ },
266
+ {
267
+ inputs: [
268
+ {
269
+ internalType: "address",
270
+ name: "from",
271
+ type: "address",
272
+ },
273
+ {
274
+ internalType: "address",
275
+ name: "to",
276
+ type: "address",
277
+ },
278
+ {
279
+ internalType: "uint256",
280
+ name: "amount",
281
+ type: "uint256",
282
+ },
283
+ ],
284
+ name: "transferFrom",
285
+ outputs: [
286
+ {
287
+ internalType: "bool",
288
+ name: "",
289
+ type: "bool",
290
+ },
291
+ ],
292
+ stateMutability: "nonpayable",
293
+ type: "function",
294
+ },
295
+ ];
296
+ const _bytecode = "0x60806040523480156200001157600080fd5b5060405162000e0f38038062000e0f83398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b1b80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610908565b60405180910390f35b6100ff6100fa36600461099d565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109c7565b6102ac565b604051601281526020016100e3565b6100ff61015136600461099d565b6102d0565b610113610164366004610a03565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d661031c565b6100ff6101a236600461099d565b61032b565b6100ff6101b536600461099d565b610401565b6101136101c8366004610a25565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a58565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a58565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b6000336102a081858561040f565b60019150505b92915050565b6000336102ba8582856105c2565b6102c5858585610699565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102a09082908690610317908790610aab565b61040f565b60606004805461020f90610a58565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156103f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102c5828686840361040f565b6000336102a0818585610699565b73ffffffffffffffffffffffffffffffffffffffff83166104b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff8216610554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106935781811015610686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b610693848484840361040f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661073c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff82166107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103eb565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610693565b600060208083528351808285015260005b8181101561093557858101830151858201604001528201610919565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461099857600080fd5b919050565b600080604083850312156109b057600080fd5b6109b983610974565b946020939093013593505050565b6000806000606084860312156109dc57600080fd5b6109e584610974565b92506109f360208501610974565b9150604084013590509250925092565b600060208284031215610a1557600080fd5b610a1e82610974565b9392505050565b60008060408385031215610a3857600080fd5b610a4183610974565b9150610a4f60208401610974565b90509250929050565b600181811c90821680610a6c57607f821691505b602082108103610aa5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b808201808211156102a6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212204f6c335da98a4d625432f1cf70d64eae94140c14fad4e6c939bad73f31edc29164736f6c63430008110033";
297
+ const isSuperArgs = (xs) => xs.length > 1;
298
+ class ERC20__factory extends ethers_1.ContractFactory {
299
+ constructor(...args) {
300
+ if (isSuperArgs(args)) {
301
+ super(...args);
302
+ }
303
+ else {
304
+ super(_abi, _bytecode, args[0]);
305
+ }
306
+ }
307
+ deploy(name_, symbol_, overrides) {
308
+ return super.deploy(name_, symbol_, overrides || {});
309
+ }
310
+ getDeployTransaction(name_, symbol_, overrides) {
311
+ return super.getDeployTransaction(name_, symbol_, overrides || {});
312
+ }
313
+ attach(address) {
314
+ return super.attach(address);
315
+ }
316
+ connect(signer) {
317
+ return super.connect(signer);
318
+ }
319
+ static bytecode = _bytecode;
320
+ static abi = _abi;
321
+ static createInterface() {
322
+ return new ethers_1.utils.Interface(_abi);
323
+ }
324
+ static connect(address, signerOrProvider) {
325
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
326
+ }
327
+ }
328
+ exports.ERC20__factory = ERC20__factory;
@@ -13,7 +13,7 @@ export declare class Errors__factory extends ContractFactory {
13
13
  }): TransactionRequest;
14
14
  attach(address: string): Errors;
15
15
  connect(signer: Signer): Errors__factory;
16
- static readonly bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220a391012b5f272f5267267c387ae5b43cae298bbf233ca529088cea08067a537c64736f6c63430008110033";
16
+ static readonly bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220e2e63073553c1bd2f25826276818268716ff6f417c7403be26db1261c98d1fe564736f6c63430008110033";
17
17
  static readonly abi: readonly [{
18
18
  readonly inputs: readonly [];
19
19
  readonly name: "ACL_CALLER_NOT_CONFIGURATOR";
@@ -436,7 +436,7 @@ const _abi = [
436
436
  type: "function",
437
437
  },
438
438
  ];
439
- const _bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220a391012b5f272f5267267c387ae5b43cae298bbf233ca529088cea08067a537c64736f6c63430008110033";
439
+ const _bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220e2e63073553c1bd2f25826276818268716ff6f417c7403be26db1261c98d1fe564736f6c63430008110033";
440
440
  const isSuperArgs = (xs) => xs.length > 1;
441
441
  class Errors__factory extends ethers_1.ContractFactory {
442
442
  constructor(...args) {
@@ -0,0 +1,33 @@
1
+ import { Signer, ContractFactory, Overrides } from "ethers";
2
+ import type { Provider, TransactionRequest } from "@ethersproject/providers";
3
+ import type { PromiseOrValue } from "../common";
4
+ import type { FarmAccounting, FarmAccountingInterface } from "../FarmAccounting";
5
+ type FarmAccountingConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class FarmAccounting__factory extends ContractFactory {
7
+ constructor(...args: FarmAccountingConstructorParams);
8
+ deploy(overrides?: Overrides & {
9
+ from?: PromiseOrValue<string>;
10
+ }): Promise<FarmAccounting>;
11
+ getDeployTransaction(overrides?: Overrides & {
12
+ from?: PromiseOrValue<string>;
13
+ }): TransactionRequest;
14
+ attach(address: string): FarmAccounting;
15
+ connect(signer: Signer): FarmAccounting__factory;
16
+ static readonly bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208a341149f7b9d5a73c18204c09ef25592fa4a244d87bfcb9ffc9ec06fffa114664736f6c63430008110033";
17
+ static readonly abi: readonly [{
18
+ readonly inputs: readonly [];
19
+ readonly name: "AmountTooLarge";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "DurationTooLarge";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "ZeroDuration";
28
+ readonly type: "error";
29
+ }];
30
+ static createInterface(): FarmAccountingInterface;
31
+ static connect(address: string, signerOrProvider: Signer | Provider): FarmAccounting;
32
+ }
33
+ export {};
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FarmAccounting__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "AmountTooLarge",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "DurationTooLarge",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "ZeroDuration",
22
+ type: "error",
23
+ },
24
+ ];
25
+ const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208a341149f7b9d5a73c18204c09ef25592fa4a244d87bfcb9ffc9ec06fffa114664736f6c63430008110033";
26
+ const isSuperArgs = (xs) => xs.length > 1;
27
+ class FarmAccounting__factory extends ethers_1.ContractFactory {
28
+ constructor(...args) {
29
+ if (isSuperArgs(args)) {
30
+ super(...args);
31
+ }
32
+ else {
33
+ super(_abi, _bytecode, args[0]);
34
+ }
35
+ }
36
+ deploy(overrides) {
37
+ return super.deploy(overrides || {});
38
+ }
39
+ getDeployTransaction(overrides) {
40
+ return super.getDeployTransaction(overrides || {});
41
+ }
42
+ attach(address) {
43
+ return super.attach(address);
44
+ }
45
+ connect(signer) {
46
+ return super.connect(signer);
47
+ }
48
+ static bytecode = _bytecode;
49
+ static abi = _abi;
50
+ static createInterface() {
51
+ return new ethers_1.utils.Interface(_abi);
52
+ }
53
+ static connect(address, signerOrProvider) {
54
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
55
+ }
56
+ }
57
+ exports.FarmAccounting__factory = FarmAccounting__factory;