@gearbox-protocol/sdk 0.0.1
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.
- package/.idea/gearbox-sdk.iml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.prettierrc +10 -0
- package/README.md +4 -0
- package/lib/config.d.ts +1 -0
- package/lib/config.js +4 -0
- package/lib/core/constants.d.ts +17 -0
- package/lib/core/constants.js +36 -0
- package/lib/core/contracts.d.ts +64 -0
- package/lib/core/contracts.js +104 -0
- package/lib/core/contractsRegister.d.ts +2 -0
- package/lib/core/contractsRegister.js +43 -0
- package/lib/core/creditAccount.d.ts +35 -0
- package/lib/core/creditAccount.js +98 -0
- package/lib/core/creditCard.d.ts +13 -0
- package/lib/core/creditCard.js +2 -0
- package/lib/core/creditManager.d.ts +37 -0
- package/lib/core/creditManager.js +118 -0
- package/lib/core/creditOperation.d.ts +9 -0
- package/lib/core/creditOperation.js +2 -0
- package/lib/core/creditSession.d.ts +26 -0
- package/lib/core/creditSession.js +44 -0
- package/lib/core/errors.d.ts +26 -0
- package/lib/core/errors.js +74 -0
- package/lib/core/event.d.ts +42 -0
- package/lib/core/event.js +2 -0
- package/lib/core/eventOrTx.d.ts +36 -0
- package/lib/core/eventOrTx.js +97 -0
- package/lib/core/events.d.ts +369 -0
- package/lib/core/events.js +730 -0
- package/lib/core/history.d.ts +42 -0
- package/lib/core/history.js +2 -0
- package/lib/core/operations.d.ts +22 -0
- package/lib/core/operations.js +20 -0
- package/lib/core/oracles.d.ts +6 -0
- package/lib/core/oracles.js +2 -0
- package/lib/core/pool.d.ts +28 -0
- package/lib/core/pool.js +32 -0
- package/lib/core/swap.d.ts +4 -0
- package/lib/core/swap.js +8 -0
- package/lib/core/token.d.ts +3 -0
- package/lib/core/token.js +229 -0
- package/lib/core/tokenData.d.ts +28 -0
- package/lib/core/tokenData.js +58 -0
- package/lib/core/tokenDistributor.d.ts +12 -0
- package/lib/core/tokenDistributor.js +9 -0
- package/lib/core/trade.d.ts +35 -0
- package/lib/core/trade.js +62 -0
- package/lib/core/transactions.d.ts +127 -0
- package/lib/core/transactions.js +306 -0
- package/lib/index.d.ts +33 -0
- package/lib/index.js +47 -0
- package/lib/payload/creditAccount.d.ts +26 -0
- package/lib/payload/creditAccount.js +2 -0
- package/lib/payload/creditManager.d.ts +43 -0
- package/lib/payload/creditManager.js +2 -0
- package/lib/payload/creditSession.d.ts +23 -0
- package/lib/payload/creditSession.js +2 -0
- package/lib/payload/graphPayload.d.ts +9 -0
- package/lib/payload/graphPayload.js +2 -0
- package/lib/payload/pool.d.ts +17 -0
- package/lib/payload/pool.js +3 -0
- package/lib/payload/token.d.ts +5 -0
- package/lib/payload/token.js +2 -0
- package/lib/types/ACL.d.ts +491 -0
- package/lib/types/ACLTrait.d.ts +148 -0
- package/lib/types/ACLTraitTest.d.ts +209 -0
- package/lib/types/AbstractAccountMiner.d.ts +143 -0
- package/lib/types/AccountFactory.d.ts +716 -0
- package/lib/types/AccountMinerAuction.d.ts +391 -0
- package/lib/types/AccountMinerMock.d.ts +241 -0
- package/lib/types/AccountMinerNonReceivableTest.d.ts +127 -0
- package/lib/types/AccountMinerOwnFunds.d.ts +218 -0
- package/lib/types/AccountMining.d.ts +222 -0
- package/lib/types/AdaptersDeployer.d.ts +262 -0
- package/lib/types/AddressProvider.d.ts +912 -0
- package/lib/types/AggregatorV3Interface.d.ts +234 -0
- package/lib/types/ChainlinkPriceFeedMock.d.ts +215 -0
- package/lib/types/ContractsRegister.d.ts +398 -0
- package/lib/types/CoreDeployer.d.ts +394 -0
- package/lib/types/CreditAccount.d.ts +443 -0
- package/lib/types/CreditFilter.d.ts +1609 -0
- package/lib/types/CreditFilterMock.d.ts +1687 -0
- package/lib/types/CreditManager.d.ts +1285 -0
- package/lib/types/CreditManagerMockForFilter.d.ts +605 -0
- package/lib/types/CreditManagerMockForPoolTest.d.ts +204 -0
- package/lib/types/CurveMock.d.ts +298 -0
- package/lib/types/CurveV1Adapter.d.ts +349 -0
- package/lib/types/DataCompressor.d.ts +1331 -0
- package/lib/types/Deployer.d.ts +224 -0
- package/lib/types/DieselToken.d.ts +567 -0
- package/lib/types/ERC165.d.ts +116 -0
- package/lib/types/ERC20.d.ts +411 -0
- package/lib/types/ERC20BlockingMock.d.ts +568 -0
- package/lib/types/ERC721.d.ts +625 -0
- package/lib/types/Errors.d.ts +1854 -0
- package/lib/types/ExecutorMock.d.ts +140 -0
- package/lib/types/FlashLoanAttacker.d.ts +170 -0
- package/lib/types/FuzzHarness.d.ts +124 -0
- package/lib/types/GearBeta.d.ts +745 -0
- package/lib/types/GearToken.d.ts +888 -0
- package/lib/types/GenesisDeployer.d.ts +282 -0
- package/lib/types/IAccountFactory.d.ts +317 -0
- package/lib/types/IAccountMiner.d.ts +124 -0
- package/lib/types/IAppAddressProvider.d.ts +198 -0
- package/lib/types/IAppCreditManager.d.ts +408 -0
- package/lib/types/IAppERC20.d.ts +309 -0
- package/lib/types/IAppPoolService.d.ts +166 -0
- package/lib/types/ICreditAccount.d.ts +430 -0
- package/lib/types/ICreditAccountData.d.ts +347 -0
- package/lib/types/ICreditFilter.d.ts +1162 -0
- package/lib/types/ICreditManager.d.ts +971 -0
- package/lib/types/ICurvePool.d.ts +298 -0
- package/lib/types/IDataCompressor.d.ts +1231 -0
- package/lib/types/IERC165.d.ts +116 -0
- package/lib/types/IERC20.d.ts +294 -0
- package/lib/types/IERC721.d.ts +472 -0
- package/lib/types/IERC721Enumerable.d.ts +564 -0
- package/lib/types/IERC721Metadata.d.ts +523 -0
- package/lib/types/IERC721Receiver.d.ts +132 -0
- package/lib/types/IGearToken.d.ts +527 -0
- package/lib/types/IInterestRateModel.d.ts +121 -0
- package/lib/types/IMerkleDistributor.d.ts +190 -0
- package/lib/types/IPoolService.d.ts +772 -0
- package/lib/types/IPriceOracle.d.ts +211 -0
- package/lib/types/IQuoter.d.ts +269 -0
- package/lib/types/ISwapRouter.d.ts +404 -0
- package/lib/types/IUniswapV2Migrator.d.ts +134 -0
- package/lib/types/IUniswapV2Router01.d.ts +1119 -0
- package/lib/types/IUniswapV2Router02.d.ts +1432 -0
- package/lib/types/IUniswapV3SwapCallback.d.ts +127 -0
- package/lib/types/IWETH.d.ts +169 -0
- package/lib/types/IWETHGateway.d.ts +335 -0
- package/lib/types/IYVault.d.ts +558 -0
- package/lib/types/LeveragedActions.d.ts +772 -0
- package/lib/types/LinearInterestRateModel.d.ts +279 -0
- package/lib/types/MockPoolService.d.ts +1271 -0
- package/lib/types/Multicall2.d.ts +449 -0
- package/lib/types/Ownable.d.ts +169 -0
- package/lib/types/PathFinder.d.ts +379 -0
- package/lib/types/Pausable.d.ts +105 -0
- package/lib/types/PercentageMathTest.d.ts +154 -0
- package/lib/types/PoolDeployer.d.ts +282 -0
- package/lib/types/PoolService.d.ts +1174 -0
- package/lib/types/PriceOracle.d.ts +387 -0
- package/lib/types/Proxy.d.ts +78 -0
- package/lib/types/StepVesting.d.ts +411 -0
- package/lib/types/TestPoolService.d.ts +1294 -0
- package/lib/types/TokenDistributor.d.ts +640 -0
- package/lib/types/TokenFeeMock.d.ts +544 -0
- package/lib/types/TokenMock.d.ts +531 -0
- package/lib/types/TreasuryMock.d.ts +86 -0
- package/lib/types/UniswapRouterMock.d.ts +1520 -0
- package/lib/types/UniswapV2Adapter.d.ts +1463 -0
- package/lib/types/UniswapV3Adapter.d.ts +455 -0
- package/lib/types/VestingDeployer.d.ts +247 -0
- package/lib/types/WETHGateway.d.ts +376 -0
- package/lib/types/WETHMock.d.ts +433 -0
- package/lib/types/WadRayMathTest.d.ts +316 -0
- package/lib/types/YearnAdapter.d.ts +609 -0
- package/lib/types/YearnMock.d.ts +795 -0
- package/lib/types/YearnPriceFeed.d.ts +399 -0
- package/lib/types/commons.d.ts +16 -0
- package/lib/types/commons.js +5 -0
- package/lib/types/factories/ACLTraitTest__factory.d.ts +52 -0
- package/lib/types/factories/ACLTraitTest__factory.js +138 -0
- package/lib/types/factories/ACLTrait__factory.d.ts +31 -0
- package/lib/types/factories/ACLTrait__factory.js +75 -0
- package/lib/types/factories/ACL__factory.d.ts +45 -0
- package/lib/types/factories/ACL__factory.js +317 -0
- package/lib/types/factories/AbstractAccountMiner__factory.d.ts +30 -0
- package/lib/types/factories/AbstractAccountMiner__factory.js +61 -0
- package/lib/types/factories/AccountFactory__factory.d.ts +72 -0
- package/lib/types/factories/AccountFactory__factory.js +508 -0
- package/lib/types/factories/AccountMinerAuction__factory.js +304 -0
- package/lib/types/factories/AccountMinerMock__factory.js +196 -0
- package/lib/types/factories/AccountMinerNonReceivableTest__factory.js +84 -0
- package/lib/types/factories/AccountMinerOwnFunds__factory.js +181 -0
- package/lib/types/factories/AccountMining__factory.d.ts +56 -0
- package/lib/types/factories/AccountMining__factory.js +192 -0
- package/lib/types/factories/AdaptersDeployer__factory.d.ts +85 -0
- package/lib/types/factories/AdaptersDeployer__factory.js +202 -0
- package/lib/types/factories/AddressProvider__factory.d.ts +52 -0
- package/lib/types/factories/AddressProvider__factory.js +582 -0
- package/lib/types/factories/AggregatorV3Interface__factory.d.ts +22 -0
- package/lib/types/factories/AggregatorV3Interface__factory.js +133 -0
- package/lib/types/factories/ChainlinkPriceFeedMock__factory.d.ts +42 -0
- package/lib/types/factories/ChainlinkPriceFeedMock__factory.js +193 -0
- package/lib/types/factories/ContractsRegister__factory.d.ts +56 -0
- package/lib/types/factories/ContractsRegister__factory.js +310 -0
- package/lib/types/factories/CoreDeployer__factory.js +331 -0
- package/lib/types/factories/CreditAccount__factory.d.ts +32 -0
- package/lib/types/factories/CreditAccount__factory.js +262 -0
- package/lib/types/factories/CreditFilterMock__factory.d.ts +56 -0
- package/lib/types/factories/CreditFilterMock__factory.js +1083 -0
- package/lib/types/factories/CreditFilter__factory.d.ts +56 -0
- package/lib/types/factories/CreditFilter__factory.js +1047 -0
- package/lib/types/factories/CreditManagerMockForFilter__factory.d.ts +38 -0
- package/lib/types/factories/CreditManagerMockForFilter__factory.js +324 -0
- package/lib/types/factories/CreditManagerMockForPoolTest__factory.d.ts +48 -0
- package/lib/types/factories/CreditManagerMockForPoolTest__factory.js +131 -0
- package/lib/types/factories/CreditManager__factory.d.ts +77 -0
- package/lib/types/factories/CreditManager__factory.js +1030 -0
- package/lib/types/factories/CurveMock__factory.d.ts +42 -0
- package/lib/types/factories/CurveMock__factory.js +210 -0
- package/lib/types/factories/CurveV1Adapter__factory.d.ts +42 -0
- package/lib/types/factories/CurveV1Adapter__factory.js +254 -0
- package/lib/types/factories/DataCompressor__factory.d.ts +71 -0
- package/lib/types/factories/DataCompressor__factory.js +944 -0
- package/lib/types/factories/Deployer__factory.js +248 -0
- package/lib/types/factories/DieselToken__factory.d.ts +56 -0
- package/lib/types/factories/DieselToken__factory.js +432 -0
- package/lib/types/factories/ERC165__factory.d.ts +22 -0
- package/lib/types/factories/ERC165__factory.js +41 -0
- package/lib/types/factories/ERC20BlockingMock__factory.d.ts +56 -0
- package/lib/types/factories/ERC20BlockingMock__factory.js +429 -0
- package/lib/types/factories/ERC20__factory.d.ts +56 -0
- package/lib/types/factories/ERC20__factory.js +339 -0
- package/lib/types/factories/ERC721__factory.d.ts +56 -0
- package/lib/types/factories/ERC721__factory.js +468 -0
- package/lib/types/factories/Errors__factory.d.ts +28 -0
- package/lib/types/factories/Errors__factory.js +1015 -0
- package/lib/types/factories/ExecutorMock__factory.d.ts +38 -0
- package/lib/types/factories/ExecutorMock__factory.js +103 -0
- package/lib/types/factories/FlashLoanAttacker__factory.d.ts +48 -0
- package/lib/types/factories/FlashLoanAttacker__factory.js +117 -0
- package/lib/types/factories/FuzzHarness__factory.d.ts +38 -0
- package/lib/types/factories/FuzzHarness__factory.js +92 -0
- package/lib/types/factories/GearBeta__factory.d.ts +52 -0
- package/lib/types/factories/GearBeta__factory.js +527 -0
- package/lib/types/factories/GearToken__factory.d.ts +56 -0
- package/lib/types/factories/GearToken__factory.js +708 -0
- package/lib/types/factories/GenesisDeployer__factory.d.ts +108 -0
- package/lib/types/factories/GenesisDeployer__factory.js +231 -0
- package/lib/types/factories/IAccountFactory__factory.d.ts +35 -0
- package/lib/types/factories/IAccountFactory__factory.js +226 -0
- package/lib/types/factories/IAccountMiner__factory.d.ts +28 -0
- package/lib/types/factories/IAccountMiner__factory.js +48 -0
- package/lib/types/factories/IAppAddressProvider__factory.d.ts +18 -0
- package/lib/types/factories/IAppAddressProvider__factory.js +100 -0
- package/lib/types/factories/IAppCreditManager__factory.d.ts +42 -0
- package/lib/types/factories/IAppCreditManager__factory.js +204 -0
- package/lib/types/factories/IAppERC20__factory.d.ts +22 -0
- package/lib/types/factories/IAppERC20__factory.js +194 -0
- package/lib/types/factories/IAppPoolService__factory.d.ts +22 -0
- package/lib/types/factories/IAppPoolService__factory.js +69 -0
- package/lib/types/factories/ICreditAccountData__factory.d.ts +35 -0
- package/lib/types/factories/ICreditAccountData__factory.js +216 -0
- package/lib/types/factories/ICreditAccount__factory.d.ts +22 -0
- package/lib/types/factories/ICreditAccount__factory.js +218 -0
- package/lib/types/factories/ICreditFilter__factory.d.ts +35 -0
- package/lib/types/factories/ICreditFilter__factory.js +700 -0
- package/lib/types/factories/ICreditManager__factory.d.ts +56 -0
- package/lib/types/factories/ICreditManager__factory.js +720 -0
- package/lib/types/factories/ICurvePool__factory.d.ts +22 -0
- package/lib/types/factories/ICurvePool__factory.js +168 -0
- package/lib/types/factories/IDataCompressor__factory.d.ts +51 -0
- package/lib/types/factories/IDataCompressor__factory.js +826 -0
- package/lib/types/factories/IERC165__factory.d.ts +22 -0
- package/lib/types/factories/IERC165__factory.js +41 -0
- package/lib/types/factories/IERC20__factory.d.ts +35 -0
- package/lib/types/factories/IERC20__factory.js +205 -0
- package/lib/types/factories/IERC721Enumerable__factory.d.ts +35 -0
- package/lib/types/factories/IERC721Enumerable__factory.js +363 -0
- package/lib/types/factories/IERC721Metadata__factory.d.ts +35 -0
- package/lib/types/factories/IERC721Metadata__factory.js +352 -0
- package/lib/types/factories/IERC721Receiver__factory.d.ts +22 -0
- package/lib/types/factories/IERC721Receiver__factory.js +56 -0
- package/lib/types/factories/IERC721__factory.d.ts +35 -0
- package/lib/types/factories/IERC721__factory.js +307 -0
- package/lib/types/factories/IGearToken__factory.d.ts +35 -0
- package/lib/types/factories/IGearToken__factory.js +342 -0
- package/lib/types/factories/IInterestRateModel__factory.d.ts +22 -0
- package/lib/types/factories/IInterestRateModel__factory.js +46 -0
- package/lib/types/factories/IMerkleDistributor__factory.d.ts +35 -0
- package/lib/types/factories/IMerkleDistributor__factory.js +109 -0
- package/lib/types/factories/IPoolService__factory.d.ts +35 -0
- package/lib/types/factories/IPoolService__factory.js +580 -0
- package/lib/types/factories/IPriceOracle__factory.d.ts +35 -0
- package/lib/types/factories/IPriceOracle__factory.js +112 -0
- package/lib/types/factories/IQuoter__factory.d.ts +22 -0
- package/lib/types/factories/IQuoter__factory.js +148 -0
- package/lib/types/factories/ISwapRouter__factory.d.ts +27 -0
- package/lib/types/factories/ISwapRouter__factory.js +236 -0
- package/lib/types/factories/IUniswapV2Migrator__factory.d.ts +18 -0
- package/lib/types/factories/IUniswapV2Migrator__factory.js +55 -0
- package/lib/types/factories/IUniswapV2Router01__factory.d.ts +22 -0
- package/lib/types/factories/IUniswapV2Router01__factory.js +771 -0
- package/lib/types/factories/IUniswapV2Router02__factory.d.ts +22 -0
- package/lib/types/factories/IUniswapV2Router02__factory.js +973 -0
- package/lib/types/factories/IUniswapV3SwapCallback__factory.d.ts +18 -0
- package/lib/types/factories/IUniswapV3SwapCallback__factory.js +45 -0
- package/lib/types/factories/IWETHGateway__factory.d.ts +18 -0
- package/lib/types/factories/IWETHGateway__factory.js +150 -0
- package/lib/types/factories/IWETH__factory.d.ts +22 -0
- package/lib/types/factories/IWETH__factory.js +66 -0
- package/lib/types/factories/IYVault__factory.d.ts +35 -0
- package/lib/types/factories/IYVault__factory.js +411 -0
- package/lib/types/factories/LeveragedActions__factory.d.ts +84 -0
- package/lib/types/factories/LeveragedActions__factory.js +569 -0
- package/lib/types/factories/LinearInterestRateModel__factory.d.ts +42 -0
- package/lib/types/factories/LinearInterestRateModel__factory.js +209 -0
- package/lib/types/factories/MockPoolService__factory.d.ts +56 -0
- package/lib/types/factories/MockPoolService__factory.js +889 -0
- package/lib/types/factories/Multicall2__factory.d.ts +52 -0
- package/lib/types/factories/Multicall2__factory.js +364 -0
- package/lib/types/factories/Ownable__factory.d.ts +42 -0
- package/lib/types/factories/Ownable__factory.js +74 -0
- package/lib/types/factories/PathFinder__factory.d.ts +61 -0
- package/lib/types/factories/PathFinder__factory.js +302 -0
- package/lib/types/factories/Pausable__factory.d.ts +31 -0
- package/lib/types/factories/Pausable__factory.js +61 -0
- package/lib/types/factories/PercentageMathTest__factory.d.ts +32 -0
- package/lib/types/factories/PercentageMathTest__factory.js +101 -0
- package/lib/types/factories/PoolDeployer__factory.d.ts +113 -0
- package/lib/types/factories/PoolDeployer__factory.js +257 -0
- package/lib/types/factories/PoolService__factory.d.ts +56 -0
- package/lib/types/factories/PoolService__factory.js +873 -0
- package/lib/types/factories/PriceOracle__factory.d.ts +56 -0
- package/lib/types/factories/PriceOracle__factory.js +290 -0
- package/lib/types/factories/Proxy__factory.d.ts +13 -0
- package/lib/types/factories/Proxy__factory.js +30 -0
- package/lib/types/factories/StepVesting__factory.d.ts +52 -0
- package/lib/types/factories/StepVesting__factory.js +296 -0
- package/lib/types/factories/TestPoolService__factory.d.ts +56 -0
- package/lib/types/factories/TestPoolService__factory.js +932 -0
- package/lib/types/factories/TokenDistributor__factory.d.ts +82 -0
- package/lib/types/factories/TokenDistributor__factory.js +481 -0
- package/lib/types/factories/TokenFeeMock__factory.d.ts +56 -0
- package/lib/types/factories/TokenFeeMock__factory.js +427 -0
- package/lib/types/factories/TokenMock__factory.d.ts +56 -0
- package/lib/types/factories/TokenMock__factory.js +409 -0
- package/lib/types/factories/TreasuryMock__factory.d.ts +35 -0
- package/lib/types/factories/TreasuryMock__factory.js +70 -0
- package/lib/types/factories/UniswapRouterMock__factory.d.ts +32 -0
- package/lib/types/factories/UniswapRouterMock__factory.js +1046 -0
- package/lib/types/factories/UniswapV2Adapter__factory.d.ts +42 -0
- package/lib/types/factories/UniswapV2Adapter__factory.js +1059 -0
- package/lib/types/factories/UniswapV3Adapter__factory.d.ts +47 -0
- package/lib/types/factories/UniswapV3Adapter__factory.js +322 -0
- package/lib/types/factories/VestingDeployer__factory.js +216 -0
- package/lib/types/factories/WETHGateway__factory.d.ts +70 -0
- package/lib/types/factories/WETHGateway__factory.js +241 -0
- package/lib/types/factories/WETHMock__factory.d.ts +52 -0
- package/lib/types/factories/WETHMock__factory.js +355 -0
- package/lib/types/factories/WadRayMathTest__factory.d.ts +32 -0
- package/lib/types/factories/WadRayMathTest__factory.js +239 -0
- package/lib/types/factories/YearnAdapter__factory.d.ts +56 -0
- package/lib/types/factories/YearnAdapter__factory.js +497 -0
- package/lib/types/factories/YearnMock__factory.d.ts +56 -0
- package/lib/types/factories/YearnMock__factory.js +598 -0
- package/lib/types/factories/YearnPriceFeed__factory.d.ts +56 -0
- package/lib/types/factories/YearnPriceFeed__factory.js +350 -0
- package/lib/types/hardhat.d.ts +343 -0
- package/lib/types/index.d.ts +152 -0
- package/lib/types/index.js +156 -0
- package/lib/utils/events.d.ts +2 -0
- package/lib/utils/events.js +13 -0
- package/lib/utils/formatter.d.ts +13 -0
- package/lib/utils/formatter.js +125 -0
- package/lib/utils/loading.d.ts +1 -0
- package/lib/utils/loading.js +17 -0
- package/lib/utils/math.d.ts +6 -0
- package/lib/utils/math.js +44 -0
- package/lib/utils/multicall.d.ts +15 -0
- package/lib/utils/multicall.js +84 -0
- package/lib/utils/repeater.d.ts +1 -0
- package/lib/utils/repeater.js +72 -0
- package/lib/utils/validate.d.ts +1 -0
- package/lib/utils/validate.js +13 -0
- package/package.json +27 -0
- package/src/abi/adapters/YearnV2.sol/YearnAdapter.dbg.json +4 -0
- package/src/abi/adapters/YearnV2.sol/YearnAdapter.json +455 -0
- package/src/abi/core/ACL.sol/ACL.dbg.json +4 -0
- package/src/abi/core/ACL.sol/ACL.json +262 -0
- package/src/abi/core/ACLTrait.sol/ACLTrait.dbg.json +4 -0
- package/src/abi/core/ACLTrait.sol/ACLTrait.json +64 -0
- package/src/abi/core/AccountMining.sol/AccountMining.dbg.json +4 -0
- package/src/abi/core/AccountMining.sol/AccountMining.json +150 -0
- package/src/abi/core/AddressProvider.sol/AddressProvider.dbg.json +4 -0
- package/src/abi/core/AddressProvider.sol/AddressProvider.json +496 -0
- package/src/abi/core/ContractsRegister.sol/ContractsRegister.dbg.json +4 -0
- package/src/abi/core/ContractsRegister.sol/ContractsRegister.json +255 -0
- package/src/abi/credit/LeverageActions.sol/LeveragedActions.dbg.json +4 -0
- package/src/abi/credit/LeverageActions.sol/LeveragedActions.json +514 -0
- package/src/abi/deployer/AdaptersDeployer.sol/AdaptersDeployer.dbg.json +4 -0
- package/src/abi/deployer/AdaptersDeployer.sol/AdaptersDeployer.json +160 -0
- package/src/abi/deployer/GenesisDeployer.sol/GenesisDeployer.dbg.json +4 -0
- package/src/abi/deployer/GenesisDeployer.sol/GenesisDeployer.json +189 -0
- package/src/abi/deployer/PoolDeployer.sol/PoolDeployer.dbg.json +4 -0
- package/src/abi/deployer/PoolDeployer.sol/PoolDeployer.json +215 -0
- package/src/abi/fuzzing/FuzzHarness.sol/FuzzHarness.dbg.json +4 -0
- package/src/abi/fuzzing/FuzzHarness.sol/FuzzHarness.json +50 -0
- package/src/abi/integrations/yearn/IYVault.sol/IYVault.dbg.json +4 -0
- package/src/abi/integrations/yearn/IYVault.sol/IYVault.json +400 -0
- package/src/abi/interfaces/IGearToken.sol/IGearToken.dbg.json +4 -0
- package/src/abi/interfaces/IGearToken.sol/IGearToken.json +331 -0
- package/src/abi/interfaces/IMerkleDistributor.sol/IMerkleDistributor.dbg.json +4 -0
- package/src/abi/interfaces/IMerkleDistributor.sol/IMerkleDistributor.json +98 -0
- package/src/abi/mocks/core/ACLTraitTest.sol/ACLTraitTest.dbg.json +4 -0
- package/src/abi/mocks/core/ACLTraitTest.sol/ACLTraitTest.json +96 -0
- package/src/abi/mocks/credit/ExecutorMock.sol/ExecutorMock.dbg.json +4 -0
- package/src/abi/mocks/credit/ExecutorMock.sol/ExecutorMock.json +61 -0
- package/src/abi/mocks/integrations/CurveMock.sol/CurveMock.dbg.json +4 -0
- package/src/abi/mocks/integrations/CurveMock.sol/CurveMock.json +168 -0
- package/src/abi/mocks/integrations/YearnMock.sol/YearnMock.dbg.json +4 -0
- package/src/abi/mocks/integrations/YearnMock.sol/YearnMock.json +556 -0
- package/src/abi/mocks/oracles/ChainlinkPriceFeedMock.sol/ChainlinkPriceFeedMock.dbg.json +4 -0
- package/src/abi/mocks/oracles/ChainlinkPriceFeedMock.sol/ChainlinkPriceFeedMock.json +151 -0
- package/src/abi/mocks/pool/CreditManagerMockForPoolTest.sol/CreditManagerMockForPoolTest.dbg.json +4 -0
- package/src/abi/mocks/pool/CreditManagerMockForPoolTest.sol/CreditManagerMockForPoolTest.json +89 -0
- package/src/abi/mocks/tokens/ERC20Blocking.sol/ERC20BlockingMock.dbg.json +4 -0
- package/src/abi/mocks/tokens/ERC20Blocking.sol/ERC20BlockingMock.json +387 -0
- package/src/abi/mocks/tokens/ERC20Fee.sol/TokenFeeMock.dbg.json +4 -0
- package/src/abi/mocks/tokens/ERC20Fee.sol/TokenFeeMock.json +385 -0
- package/src/abi/oracles/YearnPriceFeed.sol/YearnPriceFeed.dbg.json +4 -0
- package/src/abi/oracles/YearnPriceFeed.sol/YearnPriceFeed.json +321 -0
- package/src/abi/support/PathFinder.sol/PathFinder.dbg.json +4 -0
- package/src/abi/support/PathFinder.sol/PathFinder.json +189 -0
- package/src/abi/tokens/GearNFT.sol/GearBeta.dbg.json +4 -0
- package/src/abi/tokens/GearNFT.sol/GearBeta.json +485 -0
- package/src/abi/tokens/TokenDistributor.sol/TokenDistributor.dbg.json +4 -0
- package/src/abi/tokens/TokenDistributor.sol/TokenDistributor.json +439 -0
- package/src/abi/tokens/Vesting.sol/StepVesting.dbg.json +4 -0
- package/src/abi/tokens/Vesting.sol/StepVesting.json +254 -0
- package/src/config.ts +1 -0
- package/src/core/constants.ts +44 -0
- package/src/core/contracts.ts +151 -0
- package/src/core/contractsRegister.ts +51 -0
- package/src/core/creditAccount.ts +105 -0
- package/src/core/creditCard.ts +15 -0
- package/src/core/creditManager.ts +171 -0
- package/src/core/creditOperation.ts +9 -0
- package/src/core/creditSession.ts +67 -0
- package/src/core/errors.ts +45 -0
- package/src/core/eventOrTx.ts +94 -0
- package/src/core/events.ts +1167 -0
- package/src/core/history.ts +55 -0
- package/src/core/operations.ts +35 -0
- package/src/core/oracles.ts +7 -0
- package/src/core/pool.ts +60 -0
- package/src/core/swap.ts +4 -0
- package/src/core/token.ts +275 -0
- package/src/core/tokenData.ts +84 -0
- package/src/core/tokenDistributor.ts +14 -0
- package/src/core/trade.ts +83 -0
- package/src/core/transactions.ts +407 -0
- package/src/index.ts +42 -0
- package/src/payload/creditAccount.ts +29 -0
- package/src/payload/creditManager.ts +46 -0
- package/src/payload/creditSession.ts +24 -0
- package/src/payload/graphPayload.ts +10 -0
- package/src/payload/pool.ts +20 -0
- package/src/payload/token.ts +5 -0
- package/src/types/ACL.d.ts +491 -0
- package/src/types/ACLTrait.d.ts +148 -0
- package/src/types/ACLTraitTest.d.ts +209 -0
- package/src/types/AccountFactory.d.ts +716 -0
- package/src/types/AccountMining.d.ts +222 -0
- package/src/types/AddressProvider.d.ts +912 -0
- package/src/types/AggregatorV3Interface.d.ts +234 -0
- package/src/types/ChainlinkPriceFeedMock.d.ts +215 -0
- package/src/types/ContractsRegister.d.ts +398 -0
- package/src/types/CreditAccount.d.ts +443 -0
- package/src/types/CreditFilter.d.ts +1609 -0
- package/src/types/CreditFilterMock.d.ts +1687 -0
- package/src/types/CreditManager.d.ts +1285 -0
- package/src/types/CreditManagerMockForFilter.d.ts +605 -0
- package/src/types/CreditManagerMockForPoolTest.d.ts +204 -0
- package/src/types/CurveMock.d.ts +298 -0
- package/src/types/CurveV1Adapter.d.ts +349 -0
- package/src/types/DataCompressor.d.ts +1331 -0
- package/src/types/DieselToken.d.ts +567 -0
- package/src/types/ERC165.d.ts +116 -0
- package/src/types/ERC20.d.ts +411 -0
- package/src/types/ERC20BlockingMock.d.ts +568 -0
- package/src/types/ERC721.d.ts +625 -0
- package/src/types/Errors.d.ts +1854 -0
- package/src/types/ExecutorMock.d.ts +140 -0
- package/src/types/FlashLoanAttacker.d.ts +170 -0
- package/src/types/FuzzHarness.d.ts +124 -0
- package/src/types/GearBeta.d.ts +745 -0
- package/src/types/GearToken.d.ts +888 -0
- package/src/types/IAccountFactory.d.ts +317 -0
- package/src/types/IAccountMiner.d.ts +124 -0
- package/src/types/IAppAddressProvider.d.ts +198 -0
- package/src/types/IAppCreditManager.d.ts +408 -0
- package/src/types/IAppERC20.d.ts +309 -0
- package/src/types/IAppPoolService.d.ts +166 -0
- package/src/types/ICreditAccount.d.ts +430 -0
- package/src/types/ICreditFilter.d.ts +1162 -0
- package/src/types/ICreditManager.d.ts +971 -0
- package/src/types/ICurvePool.d.ts +298 -0
- package/src/types/IDataCompressor.d.ts +1231 -0
- package/src/types/IERC165.d.ts +116 -0
- package/src/types/IERC20.d.ts +294 -0
- package/src/types/IERC721.d.ts +472 -0
- package/src/types/IERC721Enumerable.d.ts +564 -0
- package/src/types/IERC721Metadata.d.ts +523 -0
- package/src/types/IERC721Receiver.d.ts +132 -0
- package/src/types/IGearToken.d.ts +527 -0
- package/src/types/IInterestRateModel.d.ts +121 -0
- package/src/types/IMerkleDistributor.d.ts +190 -0
- package/src/types/IPoolService.d.ts +772 -0
- package/src/types/IPriceOracle.d.ts +211 -0
- package/src/types/IQuoter.d.ts +269 -0
- package/src/types/ISwapRouter.d.ts +404 -0
- package/src/types/IUniswapV2Migrator.d.ts +134 -0
- package/src/types/IUniswapV2Router01.d.ts +1119 -0
- package/src/types/IUniswapV2Router02.d.ts +1432 -0
- package/src/types/IUniswapV3SwapCallback.d.ts +127 -0
- package/src/types/IWETH.d.ts +169 -0
- package/src/types/IWETHGateway.d.ts +335 -0
- package/src/types/IYVault.d.ts +558 -0
- package/src/types/LeveragedActions.d.ts +772 -0
- package/src/types/LinearInterestRateModel.d.ts +279 -0
- package/src/types/MockPoolService.d.ts +1271 -0
- package/src/types/Multicall2.d.ts +449 -0
- package/src/types/Ownable.d.ts +169 -0
- package/src/types/PathFinder.d.ts +379 -0
- package/src/types/Pausable.d.ts +105 -0
- package/src/types/PercentageMathTest.d.ts +154 -0
- package/src/types/PoolService.d.ts +1174 -0
- package/src/types/PriceOracle.d.ts +387 -0
- package/src/types/StepVesting.d.ts +411 -0
- package/src/types/TestPoolService.d.ts +1294 -0
- package/src/types/TokenDistributor.d.ts +640 -0
- package/src/types/TokenFeeMock.d.ts +544 -0
- package/src/types/TokenMock.d.ts +531 -0
- package/src/types/TreasuryMock.d.ts +86 -0
- package/src/types/UniswapRouterMock.d.ts +1520 -0
- package/src/types/UniswapV2Adapter.d.ts +1463 -0
- package/src/types/UniswapV3Adapter.d.ts +455 -0
- package/src/types/WETHGateway.d.ts +376 -0
- package/src/types/WETHMock.d.ts +433 -0
- package/src/types/WadRayMathTest.d.ts +316 -0
- package/src/types/YearnAdapter.d.ts +609 -0
- package/src/types/YearnMock.d.ts +795 -0
- package/src/types/YearnPriceFeed.d.ts +399 -0
- package/src/types/commons.d.ts +16 -0
- package/src/types/commons.js +5 -0
- package/src/types/commons.ts +37 -0
- package/src/types/factories/ACLTraitTest__factory.ts +137 -0
- package/src/types/factories/ACLTrait__factory.ts +76 -0
- package/src/types/factories/ACL__factory.ts +308 -0
- package/src/types/factories/AccountFactory__factory.ts +510 -0
- package/src/types/factories/AccountMining__factory.ts +214 -0
- package/src/types/factories/AddressProvider__factory.ts +579 -0
- package/src/types/factories/AggregatorV3Interface__factory.ts +141 -0
- package/src/types/factories/ChainlinkPriceFeedMock__factory.ts +209 -0
- package/src/types/factories/ContractsRegister__factory.ts +312 -0
- package/src/types/factories/CreditAccount__factory.ts +256 -0
- package/src/types/factories/CreditFilterMock__factory.ts +1092 -0
- package/src/types/factories/CreditFilter__factory.ts +1053 -0
- package/src/types/factories/CreditManagerMockForFilter__factory.ts +325 -0
- package/src/types/factories/CreditManagerMockForPoolTest__factory.ts +137 -0
- package/src/types/factories/CreditManager__factory.ts +1063 -0
- package/src/types/factories/CurveMock__factory.ts +206 -0
- package/src/types/factories/CurveV1Adapter__factory.ts +263 -0
- package/src/types/factories/DataCompressor__factory.ts +946 -0
- package/src/types/factories/DieselToken__factory.ts +449 -0
- package/src/types/factories/ERC165__factory.ts +39 -0
- package/src/types/factories/ERC20BlockingMock__factory.ts +434 -0
- package/src/types/factories/ERC20__factory.ts +334 -0
- package/src/types/factories/ERC721__factory.ts +463 -0
- package/src/types/factories/Errors__factory.ts +1006 -0
- package/src/types/factories/ExecutorMock__factory.ts +97 -0
- package/src/types/factories/FlashLoanAttacker__factory.ts +119 -0
- package/src/types/factories/FuzzHarness__factory.ts +94 -0
- package/src/types/factories/GearBeta__factory.ts +521 -0
- package/src/types/factories/GearToken__factory.ts +704 -0
- package/src/types/factories/IAccountFactory__factory.ts +230 -0
- package/src/types/factories/IAccountMiner__factory.ts +49 -0
- package/src/types/factories/IAppAddressProvider__factory.ts +104 -0
- package/src/types/factories/IAppCreditManager__factory.ts +208 -0
- package/src/types/factories/IAppERC20__factory.ts +195 -0
- package/src/types/factories/IAppPoolService__factory.ts +73 -0
- package/src/types/factories/ICreditAccount__factory.ts +222 -0
- package/src/types/factories/ICreditFilter__factory.ts +701 -0
- package/src/types/factories/ICreditManager__factory.ts +724 -0
- package/src/types/factories/ICurvePool__factory.ts +169 -0
- package/src/types/factories/IDataCompressor__factory.ts +830 -0
- package/src/types/factories/IERC165__factory.ts +42 -0
- package/src/types/factories/IERC20__factory.ts +203 -0
- package/src/types/factories/IERC721Enumerable__factory.ts +367 -0
- package/src/types/factories/IERC721Metadata__factory.ts +356 -0
- package/src/types/factories/IERC721Receiver__factory.ts +60 -0
- package/src/types/factories/IERC721__factory.ts +308 -0
- package/src/types/factories/IGearToken__factory.ts +343 -0
- package/src/types/factories/IInterestRateModel__factory.ts +50 -0
- package/src/types/factories/IMerkleDistributor__factory.ts +113 -0
- package/src/types/factories/IPoolService__factory.ts +581 -0
- package/src/types/factories/IPriceOracle__factory.ts +113 -0
- package/src/types/factories/IQuoter__factory.ts +149 -0
- package/src/types/factories/ISwapRouter__factory.ts +237 -0
- package/src/types/factories/IUniswapV2Migrator__factory.ts +59 -0
- package/src/types/factories/IUniswapV2Router01__factory.ts +775 -0
- package/src/types/factories/IUniswapV2Router02__factory.ts +977 -0
- package/src/types/factories/IUniswapV3SwapCallback__factory.ts +53 -0
- package/src/types/factories/IWETHGateway__factory.ts +151 -0
- package/src/types/factories/IWETH__factory.ts +64 -0
- package/src/types/factories/IYVault__factory.ts +412 -0
- package/src/types/factories/LeveragedActions__factory.ts +571 -0
- package/src/types/factories/LinearInterestRateModel__factory.ts +237 -0
- package/src/types/factories/MockPoolService__factory.ts +891 -0
- package/src/types/factories/Multicall2__factory.ts +358 -0
- package/src/types/factories/Ownable__factory.ts +75 -0
- package/src/types/factories/PathFinder__factory.ts +301 -0
- package/src/types/factories/Pausable__factory.ts +62 -0
- package/src/types/factories/PercentageMathTest__factory.ts +98 -0
- package/src/types/factories/PoolService__factory.ts +898 -0
- package/src/types/factories/PriceOracle__factory.ts +289 -0
- package/src/types/factories/StepVesting__factory.ts +290 -0
- package/src/types/factories/TestPoolService__factory.ts +960 -0
- package/src/types/factories/TokenDistributor__factory.ts +483 -0
- package/src/types/factories/TokenFeeMock__factory.ts +439 -0
- package/src/types/factories/TokenMock__factory.ts +407 -0
- package/src/types/factories/TreasuryMock__factory.ts +64 -0
- package/src/types/factories/UniswapRouterMock__factory.ts +1043 -0
- package/src/types/factories/UniswapV2Adapter__factory.ts +1064 -0
- package/src/types/factories/UniswapV3Adapter__factory.ts +327 -0
- package/src/types/factories/WETHGateway__factory.ts +240 -0
- package/src/types/factories/WETHMock__factory.ts +349 -0
- package/src/types/factories/WadRayMathTest__factory.ts +236 -0
- package/src/types/factories/YearnAdapter__factory.ts +499 -0
- package/src/types/factories/YearnMock__factory.ts +594 -0
- package/src/types/factories/YearnPriceFeed__factory.ts +378 -0
- package/src/types/hardhat.d.ts +343 -0
- package/src/types/index.d.ts +174 -0
- package/src/types/index.js +178 -0
- package/src/types/index.ts +156 -0
- package/src/utils/events.ts +10 -0
- package/src/utils/formatter.ts +138 -0
- package/src/utils/loading.ts +9 -0
- package/src/utils/math.ts +42 -0
- package/src/utils/multicall.ts +54 -0
- package/src/utils/repeater.ts +18 -0
- package/src/utils/validate.ts +8 -0
- package/tsconfig.json +62 -0
|
@@ -0,0 +1,1006 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
+
import type { Errors, ErrorsInterface } from "../Errors";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "ACL_CALLER_NOT_CONFIGURATOR",
|
|
13
|
+
outputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "string",
|
|
16
|
+
name: "",
|
|
17
|
+
type: "string",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "ACL_CALLER_NOT_PAUSABLE_ADMIN",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "string",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "string",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [],
|
|
38
|
+
name: "AF_CANT_CLOSE_CREDIT_ACCOUNT_IN_THE_SAME_BLOCK",
|
|
39
|
+
outputs: [
|
|
40
|
+
{
|
|
41
|
+
internalType: "string",
|
|
42
|
+
name: "",
|
|
43
|
+
type: "string",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
stateMutability: "view",
|
|
47
|
+
type: "function",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [],
|
|
51
|
+
name: "AF_CREDIT_ACCOUNT_NOT_IN_STOCK",
|
|
52
|
+
outputs: [
|
|
53
|
+
{
|
|
54
|
+
internalType: "string",
|
|
55
|
+
name: "",
|
|
56
|
+
type: "string",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
stateMutability: "view",
|
|
60
|
+
type: "function",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [],
|
|
64
|
+
name: "AF_EXTERNAL_ACCOUNTS_ARE_FORBIDDEN",
|
|
65
|
+
outputs: [
|
|
66
|
+
{
|
|
67
|
+
internalType: "string",
|
|
68
|
+
name: "",
|
|
69
|
+
type: "string",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
stateMutability: "view",
|
|
73
|
+
type: "function",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [],
|
|
77
|
+
name: "AF_MINING_IS_FINISHED",
|
|
78
|
+
outputs: [
|
|
79
|
+
{
|
|
80
|
+
internalType: "string",
|
|
81
|
+
name: "",
|
|
82
|
+
type: "string",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
stateMutability: "view",
|
|
86
|
+
type: "function",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [],
|
|
90
|
+
name: "AS_ADDRESS_NOT_FOUND",
|
|
91
|
+
outputs: [
|
|
92
|
+
{
|
|
93
|
+
internalType: "string",
|
|
94
|
+
name: "",
|
|
95
|
+
type: "string",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
stateMutability: "view",
|
|
99
|
+
type: "function",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [],
|
|
103
|
+
name: "CA_CONNECTED_CREDIT_MANAGER_ONLY",
|
|
104
|
+
outputs: [
|
|
105
|
+
{
|
|
106
|
+
internalType: "string",
|
|
107
|
+
name: "",
|
|
108
|
+
type: "string",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
stateMutability: "view",
|
|
112
|
+
type: "function",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "CA_FACTORY_ONLY",
|
|
117
|
+
outputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "string",
|
|
120
|
+
name: "",
|
|
121
|
+
type: "string",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
stateMutability: "view",
|
|
125
|
+
type: "function",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
inputs: [],
|
|
129
|
+
name: "CF_ADAPTERS_ONLY",
|
|
130
|
+
outputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "string",
|
|
133
|
+
name: "",
|
|
134
|
+
type: "string",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
stateMutability: "view",
|
|
138
|
+
type: "function",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
inputs: [],
|
|
142
|
+
name: "CF_ADAPTER_CAN_BE_USED_ONLY_ONCE",
|
|
143
|
+
outputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "string",
|
|
146
|
+
name: "",
|
|
147
|
+
type: "string",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
stateMutability: "view",
|
|
151
|
+
type: "function",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [],
|
|
155
|
+
name: "CF_CONTRACT_IS_NOT_IN_ALLOWED_LIST",
|
|
156
|
+
outputs: [
|
|
157
|
+
{
|
|
158
|
+
internalType: "string",
|
|
159
|
+
name: "",
|
|
160
|
+
type: "string",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
stateMutability: "view",
|
|
164
|
+
type: "function",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
inputs: [],
|
|
168
|
+
name: "CF_CREDIT_MANAGERS_ONLY",
|
|
169
|
+
outputs: [
|
|
170
|
+
{
|
|
171
|
+
internalType: "string",
|
|
172
|
+
name: "",
|
|
173
|
+
type: "string",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
stateMutability: "view",
|
|
177
|
+
type: "function",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
inputs: [],
|
|
181
|
+
name: "CF_CREDIT_MANAGER_IS_ALREADY_SET",
|
|
182
|
+
outputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "string",
|
|
185
|
+
name: "",
|
|
186
|
+
type: "string",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
stateMutability: "view",
|
|
190
|
+
type: "function",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [],
|
|
194
|
+
name: "CF_FAST_CHECK_NOT_COVERED_COLLATERAL_DROP",
|
|
195
|
+
outputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "string",
|
|
198
|
+
name: "",
|
|
199
|
+
type: "string",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
stateMutability: "view",
|
|
203
|
+
type: "function",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
inputs: [],
|
|
207
|
+
name: "CF_INCORRECT_CHI_THRESHOLD",
|
|
208
|
+
outputs: [
|
|
209
|
+
{
|
|
210
|
+
internalType: "string",
|
|
211
|
+
name: "",
|
|
212
|
+
type: "string",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
stateMutability: "view",
|
|
216
|
+
type: "function",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
inputs: [],
|
|
220
|
+
name: "CF_INCORRECT_FAST_CHECK",
|
|
221
|
+
outputs: [
|
|
222
|
+
{
|
|
223
|
+
internalType: "string",
|
|
224
|
+
name: "",
|
|
225
|
+
type: "string",
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
stateMutability: "view",
|
|
229
|
+
type: "function",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
inputs: [],
|
|
233
|
+
name: "CF_INCORRECT_LIQUIDATION_THRESHOLD",
|
|
234
|
+
outputs: [
|
|
235
|
+
{
|
|
236
|
+
internalType: "string",
|
|
237
|
+
name: "",
|
|
238
|
+
type: "string",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
stateMutability: "view",
|
|
242
|
+
type: "function",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
inputs: [],
|
|
246
|
+
name: "CF_INCORRECT_PRICEFEED",
|
|
247
|
+
outputs: [
|
|
248
|
+
{
|
|
249
|
+
internalType: "string",
|
|
250
|
+
name: "",
|
|
251
|
+
type: "string",
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
stateMutability: "view",
|
|
255
|
+
type: "function",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
inputs: [],
|
|
259
|
+
name: "CF_NON_TOKEN_CONTRACT",
|
|
260
|
+
outputs: [
|
|
261
|
+
{
|
|
262
|
+
internalType: "string",
|
|
263
|
+
name: "",
|
|
264
|
+
type: "string",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
stateMutability: "view",
|
|
268
|
+
type: "function",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
inputs: [],
|
|
272
|
+
name: "CF_OPERATION_LOW_HEALTH_FACTOR",
|
|
273
|
+
outputs: [
|
|
274
|
+
{
|
|
275
|
+
internalType: "string",
|
|
276
|
+
name: "",
|
|
277
|
+
type: "string",
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
stateMutability: "view",
|
|
281
|
+
type: "function",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
inputs: [],
|
|
285
|
+
name: "CF_SOME_LIQUIDATION_THRESHOLD_MORE_THAN_NEW_ONE",
|
|
286
|
+
outputs: [
|
|
287
|
+
{
|
|
288
|
+
internalType: "string",
|
|
289
|
+
name: "",
|
|
290
|
+
type: "string",
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
stateMutability: "view",
|
|
294
|
+
type: "function",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
inputs: [],
|
|
298
|
+
name: "CF_TOKEN_IS_NOT_ALLOWED",
|
|
299
|
+
outputs: [
|
|
300
|
+
{
|
|
301
|
+
internalType: "string",
|
|
302
|
+
name: "",
|
|
303
|
+
type: "string",
|
|
304
|
+
},
|
|
305
|
+
],
|
|
306
|
+
stateMutability: "view",
|
|
307
|
+
type: "function",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
inputs: [],
|
|
311
|
+
name: "CF_TOO_MUCH_ALLOWED_TOKENS",
|
|
312
|
+
outputs: [
|
|
313
|
+
{
|
|
314
|
+
internalType: "string",
|
|
315
|
+
name: "",
|
|
316
|
+
type: "string",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
stateMutability: "view",
|
|
320
|
+
type: "function",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
inputs: [],
|
|
324
|
+
name: "CF_TRANSFER_IS_NOT_ALLOWED",
|
|
325
|
+
outputs: [
|
|
326
|
+
{
|
|
327
|
+
internalType: "string",
|
|
328
|
+
name: "",
|
|
329
|
+
type: "string",
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
stateMutability: "view",
|
|
333
|
+
type: "function",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
inputs: [],
|
|
337
|
+
name: "CF_UNDERLYING_TOKEN_FILTER_CONFLICT",
|
|
338
|
+
outputs: [
|
|
339
|
+
{
|
|
340
|
+
internalType: "string",
|
|
341
|
+
name: "",
|
|
342
|
+
type: "string",
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
stateMutability: "view",
|
|
346
|
+
type: "function",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
inputs: [],
|
|
350
|
+
name: "CM_CANT_CLOSE_WITH_LOSS",
|
|
351
|
+
outputs: [
|
|
352
|
+
{
|
|
353
|
+
internalType: "string",
|
|
354
|
+
name: "",
|
|
355
|
+
type: "string",
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
stateMutability: "view",
|
|
359
|
+
type: "function",
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
inputs: [],
|
|
363
|
+
name: "CM_CAN_LIQUIDATE_WITH_SUCH_HEALTH_FACTOR",
|
|
364
|
+
outputs: [
|
|
365
|
+
{
|
|
366
|
+
internalType: "string",
|
|
367
|
+
name: "",
|
|
368
|
+
type: "string",
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
stateMutability: "view",
|
|
372
|
+
type: "function",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
inputs: [],
|
|
376
|
+
name: "CM_CAN_UPDATE_WITH_SUCH_HEALTH_FACTOR",
|
|
377
|
+
outputs: [
|
|
378
|
+
{
|
|
379
|
+
internalType: "string",
|
|
380
|
+
name: "",
|
|
381
|
+
type: "string",
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
stateMutability: "view",
|
|
385
|
+
type: "function",
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
inputs: [],
|
|
389
|
+
name: "CM_INCORRECT_AMOUNT",
|
|
390
|
+
outputs: [
|
|
391
|
+
{
|
|
392
|
+
internalType: "string",
|
|
393
|
+
name: "",
|
|
394
|
+
type: "string",
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
stateMutability: "view",
|
|
398
|
+
type: "function",
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
inputs: [],
|
|
402
|
+
name: "CM_INCORRECT_FEES",
|
|
403
|
+
outputs: [
|
|
404
|
+
{
|
|
405
|
+
internalType: "string",
|
|
406
|
+
name: "",
|
|
407
|
+
type: "string",
|
|
408
|
+
},
|
|
409
|
+
],
|
|
410
|
+
stateMutability: "view",
|
|
411
|
+
type: "function",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
inputs: [],
|
|
415
|
+
name: "CM_INCORRECT_NEW_OWNER",
|
|
416
|
+
outputs: [
|
|
417
|
+
{
|
|
418
|
+
internalType: "string",
|
|
419
|
+
name: "",
|
|
420
|
+
type: "string",
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
stateMutability: "view",
|
|
424
|
+
type: "function",
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
inputs: [],
|
|
428
|
+
name: "CM_INCORRECT_PARAMS",
|
|
429
|
+
outputs: [
|
|
430
|
+
{
|
|
431
|
+
internalType: "string",
|
|
432
|
+
name: "",
|
|
433
|
+
type: "string",
|
|
434
|
+
},
|
|
435
|
+
],
|
|
436
|
+
stateMutability: "view",
|
|
437
|
+
type: "function",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
inputs: [],
|
|
441
|
+
name: "CM_MAX_LEVERAGE_IS_TOO_HIGH",
|
|
442
|
+
outputs: [
|
|
443
|
+
{
|
|
444
|
+
internalType: "string",
|
|
445
|
+
name: "",
|
|
446
|
+
type: "string",
|
|
447
|
+
},
|
|
448
|
+
],
|
|
449
|
+
stateMutability: "view",
|
|
450
|
+
type: "function",
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
inputs: [],
|
|
454
|
+
name: "CM_NO_OPEN_ACCOUNT",
|
|
455
|
+
outputs: [
|
|
456
|
+
{
|
|
457
|
+
internalType: "string",
|
|
458
|
+
name: "",
|
|
459
|
+
type: "string",
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
stateMutability: "view",
|
|
463
|
+
type: "function",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
inputs: [],
|
|
467
|
+
name: "CM_TARGET_CONTRACT_iS_NOT_ALLOWED",
|
|
468
|
+
outputs: [
|
|
469
|
+
{
|
|
470
|
+
internalType: "string",
|
|
471
|
+
name: "",
|
|
472
|
+
type: "string",
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
stateMutability: "view",
|
|
476
|
+
type: "function",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
inputs: [],
|
|
480
|
+
name: "CM_TRANSFER_FAILED",
|
|
481
|
+
outputs: [
|
|
482
|
+
{
|
|
483
|
+
internalType: "string",
|
|
484
|
+
name: "",
|
|
485
|
+
type: "string",
|
|
486
|
+
},
|
|
487
|
+
],
|
|
488
|
+
stateMutability: "view",
|
|
489
|
+
type: "function",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
inputs: [],
|
|
493
|
+
name: "CM_WETH_GATEWAY_ONLY",
|
|
494
|
+
outputs: [
|
|
495
|
+
{
|
|
496
|
+
internalType: "string",
|
|
497
|
+
name: "",
|
|
498
|
+
type: "string",
|
|
499
|
+
},
|
|
500
|
+
],
|
|
501
|
+
stateMutability: "view",
|
|
502
|
+
type: "function",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
inputs: [],
|
|
506
|
+
name: "CM_ZERO_ADDRESS_OR_USER_HAVE_ALREADY_OPEN_CREDIT_ACCOUNT",
|
|
507
|
+
outputs: [
|
|
508
|
+
{
|
|
509
|
+
internalType: "string",
|
|
510
|
+
name: "",
|
|
511
|
+
type: "string",
|
|
512
|
+
},
|
|
513
|
+
],
|
|
514
|
+
stateMutability: "view",
|
|
515
|
+
type: "function",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
inputs: [],
|
|
519
|
+
name: "CR_CREDIT_MANAGER_ALREADY_ADDED",
|
|
520
|
+
outputs: [
|
|
521
|
+
{
|
|
522
|
+
internalType: "string",
|
|
523
|
+
name: "",
|
|
524
|
+
type: "string",
|
|
525
|
+
},
|
|
526
|
+
],
|
|
527
|
+
stateMutability: "view",
|
|
528
|
+
type: "function",
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
inputs: [],
|
|
532
|
+
name: "CR_POOL_ALREADY_ADDED",
|
|
533
|
+
outputs: [
|
|
534
|
+
{
|
|
535
|
+
internalType: "string",
|
|
536
|
+
name: "",
|
|
537
|
+
type: "string",
|
|
538
|
+
},
|
|
539
|
+
],
|
|
540
|
+
stateMutability: "view",
|
|
541
|
+
type: "function",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
inputs: [],
|
|
545
|
+
name: "INCORRECT_ARRAY_LENGTH",
|
|
546
|
+
outputs: [
|
|
547
|
+
{
|
|
548
|
+
internalType: "string",
|
|
549
|
+
name: "",
|
|
550
|
+
type: "string",
|
|
551
|
+
},
|
|
552
|
+
],
|
|
553
|
+
stateMutability: "view",
|
|
554
|
+
type: "function",
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
inputs: [],
|
|
558
|
+
name: "INCORRECT_PARAMETER",
|
|
559
|
+
outputs: [
|
|
560
|
+
{
|
|
561
|
+
internalType: "string",
|
|
562
|
+
name: "",
|
|
563
|
+
type: "string",
|
|
564
|
+
},
|
|
565
|
+
],
|
|
566
|
+
stateMutability: "view",
|
|
567
|
+
type: "function",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
inputs: [],
|
|
571
|
+
name: "INCORRECT_PATH_LENGTH",
|
|
572
|
+
outputs: [
|
|
573
|
+
{
|
|
574
|
+
internalType: "string",
|
|
575
|
+
name: "",
|
|
576
|
+
type: "string",
|
|
577
|
+
},
|
|
578
|
+
],
|
|
579
|
+
stateMutability: "view",
|
|
580
|
+
type: "function",
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
inputs: [],
|
|
584
|
+
name: "LA_HAS_VALUE_WITH_TOKEN_TRANSFER",
|
|
585
|
+
outputs: [
|
|
586
|
+
{
|
|
587
|
+
internalType: "string",
|
|
588
|
+
name: "",
|
|
589
|
+
type: "string",
|
|
590
|
+
},
|
|
591
|
+
],
|
|
592
|
+
stateMutability: "view",
|
|
593
|
+
type: "function",
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
inputs: [],
|
|
597
|
+
name: "LA_INCORRECT_VALUE",
|
|
598
|
+
outputs: [
|
|
599
|
+
{
|
|
600
|
+
internalType: "string",
|
|
601
|
+
name: "",
|
|
602
|
+
type: "string",
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
stateMutability: "view",
|
|
606
|
+
type: "function",
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
inputs: [],
|
|
610
|
+
name: "LA_LOWER_THAN_AMOUNT_MIN",
|
|
611
|
+
outputs: [
|
|
612
|
+
{
|
|
613
|
+
internalType: "string",
|
|
614
|
+
name: "",
|
|
615
|
+
type: "string",
|
|
616
|
+
},
|
|
617
|
+
],
|
|
618
|
+
stateMutability: "view",
|
|
619
|
+
type: "function",
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
inputs: [],
|
|
623
|
+
name: "LA_TOKEN_OUT_IS_NOT_COLLATERAL",
|
|
624
|
+
outputs: [
|
|
625
|
+
{
|
|
626
|
+
internalType: "string",
|
|
627
|
+
name: "",
|
|
628
|
+
type: "string",
|
|
629
|
+
},
|
|
630
|
+
],
|
|
631
|
+
stateMutability: "view",
|
|
632
|
+
type: "function",
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
inputs: [],
|
|
636
|
+
name: "LA_UNKNOWN_LP_INTERFACE",
|
|
637
|
+
outputs: [
|
|
638
|
+
{
|
|
639
|
+
internalType: "string",
|
|
640
|
+
name: "",
|
|
641
|
+
type: "string",
|
|
642
|
+
},
|
|
643
|
+
],
|
|
644
|
+
stateMutability: "view",
|
|
645
|
+
type: "function",
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
inputs: [],
|
|
649
|
+
name: "LA_UNKNOWN_SWAP_INTERFACE",
|
|
650
|
+
outputs: [
|
|
651
|
+
{
|
|
652
|
+
internalType: "string",
|
|
653
|
+
name: "",
|
|
654
|
+
type: "string",
|
|
655
|
+
},
|
|
656
|
+
],
|
|
657
|
+
stateMutability: "view",
|
|
658
|
+
type: "function",
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
inputs: [],
|
|
662
|
+
name: "MATH_ADDITION_OVERFLOW",
|
|
663
|
+
outputs: [
|
|
664
|
+
{
|
|
665
|
+
internalType: "string",
|
|
666
|
+
name: "",
|
|
667
|
+
type: "string",
|
|
668
|
+
},
|
|
669
|
+
],
|
|
670
|
+
stateMutability: "view",
|
|
671
|
+
type: "function",
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
inputs: [],
|
|
675
|
+
name: "MATH_DIVISION_BY_ZERO",
|
|
676
|
+
outputs: [
|
|
677
|
+
{
|
|
678
|
+
internalType: "string",
|
|
679
|
+
name: "",
|
|
680
|
+
type: "string",
|
|
681
|
+
},
|
|
682
|
+
],
|
|
683
|
+
stateMutability: "view",
|
|
684
|
+
type: "function",
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
inputs: [],
|
|
688
|
+
name: "MATH_MULTIPLICATION_OVERFLOW",
|
|
689
|
+
outputs: [
|
|
690
|
+
{
|
|
691
|
+
internalType: "string",
|
|
692
|
+
name: "",
|
|
693
|
+
type: "string",
|
|
694
|
+
},
|
|
695
|
+
],
|
|
696
|
+
stateMutability: "view",
|
|
697
|
+
type: "function",
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
inputs: [],
|
|
701
|
+
name: "NOT_IMPLEMENTED",
|
|
702
|
+
outputs: [
|
|
703
|
+
{
|
|
704
|
+
internalType: "string",
|
|
705
|
+
name: "",
|
|
706
|
+
type: "string",
|
|
707
|
+
},
|
|
708
|
+
],
|
|
709
|
+
stateMutability: "view",
|
|
710
|
+
type: "function",
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
inputs: [],
|
|
714
|
+
name: "POOL_CANT_ADD_CREDIT_MANAGER_TWICE",
|
|
715
|
+
outputs: [
|
|
716
|
+
{
|
|
717
|
+
internalType: "string",
|
|
718
|
+
name: "",
|
|
719
|
+
type: "string",
|
|
720
|
+
},
|
|
721
|
+
],
|
|
722
|
+
stateMutability: "view",
|
|
723
|
+
type: "function",
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
inputs: [],
|
|
727
|
+
name: "POOL_CONNECTED_CREDIT_MANAGERS_ONLY",
|
|
728
|
+
outputs: [
|
|
729
|
+
{
|
|
730
|
+
internalType: "string",
|
|
731
|
+
name: "",
|
|
732
|
+
type: "string",
|
|
733
|
+
},
|
|
734
|
+
],
|
|
735
|
+
stateMutability: "view",
|
|
736
|
+
type: "function",
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
inputs: [],
|
|
740
|
+
name: "POOL_INCOMPATIBLE_CREDIT_ACCOUNT_MANAGER",
|
|
741
|
+
outputs: [
|
|
742
|
+
{
|
|
743
|
+
internalType: "string",
|
|
744
|
+
name: "",
|
|
745
|
+
type: "string",
|
|
746
|
+
},
|
|
747
|
+
],
|
|
748
|
+
stateMutability: "view",
|
|
749
|
+
type: "function",
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
inputs: [],
|
|
753
|
+
name: "POOL_INCORRECT_WITHDRAW_FEE",
|
|
754
|
+
outputs: [
|
|
755
|
+
{
|
|
756
|
+
internalType: "string",
|
|
757
|
+
name: "",
|
|
758
|
+
type: "string",
|
|
759
|
+
},
|
|
760
|
+
],
|
|
761
|
+
stateMutability: "view",
|
|
762
|
+
type: "function",
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
inputs: [],
|
|
766
|
+
name: "POOL_MORE_THAN_EXPECTED_LIQUIDITY_LIMIT",
|
|
767
|
+
outputs: [
|
|
768
|
+
{
|
|
769
|
+
internalType: "string",
|
|
770
|
+
name: "",
|
|
771
|
+
type: "string",
|
|
772
|
+
},
|
|
773
|
+
],
|
|
774
|
+
stateMutability: "view",
|
|
775
|
+
type: "function",
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
inputs: [],
|
|
779
|
+
name: "PO_AGGREGATOR_DECIMALS_SHOULD_BE_18",
|
|
780
|
+
outputs: [
|
|
781
|
+
{
|
|
782
|
+
internalType: "string",
|
|
783
|
+
name: "",
|
|
784
|
+
type: "string",
|
|
785
|
+
},
|
|
786
|
+
],
|
|
787
|
+
stateMutability: "view",
|
|
788
|
+
type: "function",
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
inputs: [],
|
|
792
|
+
name: "PO_PRICE_FEED_DOESNT_EXIST",
|
|
793
|
+
outputs: [
|
|
794
|
+
{
|
|
795
|
+
internalType: "string",
|
|
796
|
+
name: "",
|
|
797
|
+
type: "string",
|
|
798
|
+
},
|
|
799
|
+
],
|
|
800
|
+
stateMutability: "view",
|
|
801
|
+
type: "function",
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
inputs: [],
|
|
805
|
+
name: "PO_TOKENS_WITH_DECIMALS_MORE_18_ISNT_ALLOWED",
|
|
806
|
+
outputs: [
|
|
807
|
+
{
|
|
808
|
+
internalType: "string",
|
|
809
|
+
name: "",
|
|
810
|
+
type: "string",
|
|
811
|
+
},
|
|
812
|
+
],
|
|
813
|
+
stateMutability: "view",
|
|
814
|
+
type: "function",
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
inputs: [],
|
|
818
|
+
name: "REGISTERED_CREDIT_ACCOUNT_MANAGERS_ONLY",
|
|
819
|
+
outputs: [
|
|
820
|
+
{
|
|
821
|
+
internalType: "string",
|
|
822
|
+
name: "",
|
|
823
|
+
type: "string",
|
|
824
|
+
},
|
|
825
|
+
],
|
|
826
|
+
stateMutability: "view",
|
|
827
|
+
type: "function",
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
inputs: [],
|
|
831
|
+
name: "REGISTERED_POOLS_ONLY",
|
|
832
|
+
outputs: [
|
|
833
|
+
{
|
|
834
|
+
internalType: "string",
|
|
835
|
+
name: "",
|
|
836
|
+
type: "string",
|
|
837
|
+
},
|
|
838
|
+
],
|
|
839
|
+
stateMutability: "view",
|
|
840
|
+
type: "function",
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
inputs: [],
|
|
844
|
+
name: "TD_CONTRIBUTOR_IS_NOT_REGISTERED",
|
|
845
|
+
outputs: [
|
|
846
|
+
{
|
|
847
|
+
internalType: "string",
|
|
848
|
+
name: "",
|
|
849
|
+
type: "string",
|
|
850
|
+
},
|
|
851
|
+
],
|
|
852
|
+
stateMutability: "view",
|
|
853
|
+
type: "function",
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
inputs: [],
|
|
857
|
+
name: "TD_INCORRECT_WEIGHTS",
|
|
858
|
+
outputs: [
|
|
859
|
+
{
|
|
860
|
+
internalType: "string",
|
|
861
|
+
name: "",
|
|
862
|
+
type: "string",
|
|
863
|
+
},
|
|
864
|
+
],
|
|
865
|
+
stateMutability: "view",
|
|
866
|
+
type: "function",
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
inputs: [],
|
|
870
|
+
name: "TD_NON_ZERO_BALANCE_AFTER_DISTRIBUTION",
|
|
871
|
+
outputs: [
|
|
872
|
+
{
|
|
873
|
+
internalType: "string",
|
|
874
|
+
name: "",
|
|
875
|
+
type: "string",
|
|
876
|
+
},
|
|
877
|
+
],
|
|
878
|
+
stateMutability: "view",
|
|
879
|
+
type: "function",
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
inputs: [],
|
|
883
|
+
name: "TD_WALLET_IS_ALREADY_CONNECTED_TO_VC",
|
|
884
|
+
outputs: [
|
|
885
|
+
{
|
|
886
|
+
internalType: "string",
|
|
887
|
+
name: "",
|
|
888
|
+
type: "string",
|
|
889
|
+
},
|
|
890
|
+
],
|
|
891
|
+
stateMutability: "view",
|
|
892
|
+
type: "function",
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
inputs: [],
|
|
896
|
+
name: "WG_DESTINATION_IS_NOT_WETH_COMPATIBLE",
|
|
897
|
+
outputs: [
|
|
898
|
+
{
|
|
899
|
+
internalType: "string",
|
|
900
|
+
name: "",
|
|
901
|
+
type: "string",
|
|
902
|
+
},
|
|
903
|
+
],
|
|
904
|
+
stateMutability: "view",
|
|
905
|
+
type: "function",
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
inputs: [],
|
|
909
|
+
name: "WG_NOT_ENOUGH_FUNDS",
|
|
910
|
+
outputs: [
|
|
911
|
+
{
|
|
912
|
+
internalType: "string",
|
|
913
|
+
name: "",
|
|
914
|
+
type: "string",
|
|
915
|
+
},
|
|
916
|
+
],
|
|
917
|
+
stateMutability: "view",
|
|
918
|
+
type: "function",
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
inputs: [],
|
|
922
|
+
name: "WG_RECEIVE_IS_NOT_ALLOWED",
|
|
923
|
+
outputs: [
|
|
924
|
+
{
|
|
925
|
+
internalType: "string",
|
|
926
|
+
name: "",
|
|
927
|
+
type: "string",
|
|
928
|
+
},
|
|
929
|
+
],
|
|
930
|
+
stateMutability: "view",
|
|
931
|
+
type: "function",
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
inputs: [],
|
|
935
|
+
name: "YPF_INCORRECT_LIMITER_PARAMETERS",
|
|
936
|
+
outputs: [
|
|
937
|
+
{
|
|
938
|
+
internalType: "string",
|
|
939
|
+
name: "",
|
|
940
|
+
type: "string",
|
|
941
|
+
},
|
|
942
|
+
],
|
|
943
|
+
stateMutability: "view",
|
|
944
|
+
type: "function",
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
inputs: [],
|
|
948
|
+
name: "YPF_PRICE_PER_SHARE_OUT_OF_RANGE",
|
|
949
|
+
outputs: [
|
|
950
|
+
{
|
|
951
|
+
internalType: "string",
|
|
952
|
+
name: "",
|
|
953
|
+
type: "string",
|
|
954
|
+
},
|
|
955
|
+
],
|
|
956
|
+
stateMutability: "view",
|
|
957
|
+
type: "function",
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
inputs: [],
|
|
961
|
+
name: "ZERO_ADDRESS_IS_NOT_ALLOWED",
|
|
962
|
+
outputs: [
|
|
963
|
+
{
|
|
964
|
+
internalType: "string",
|
|
965
|
+
name: "",
|
|
966
|
+
type: "string",
|
|
967
|
+
},
|
|
968
|
+
],
|
|
969
|
+
stateMutability: "view",
|
|
970
|
+
type: "function",
|
|
971
|
+
},
|
|
972
|
+
];
|
|
973
|
+
|
|
974
|
+
const _bytecode =
|
|
975
|
+
"0x613adb610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106104485760003560e01c806376d9ebb811610240578063b3d5b5d611610145578063d1a65a38116100cd578063e8b1475711610091578063e8b147571461279c578063ea2c3a001461281f578063ebbd977f146128a2578063fe32e65d14612925578063ff2a04e3146129a857610448565b8063d1a65a381461250d578063de10ab9a14612590578063de63cd4014612613578063e13bde4c14612696578063e7f3be0c1461271957610448565b8063bdc36a0211610114578063bdc36a021461227e578063bdcb257614612301578063beea5ec214612384578063c02e57ef14612407578063ccbf92781461248a57610448565b8063b3d5b5d614612072578063b4fcfee3146120f5578063b563b30014612178578063b5cdcbac146121fb57610448565b806399a98c99116101c8578063a988ac6011610197578063a988ac6014611de3578063abc3d25414611e66578063ac75713914611ee9578063ad37d10b14611f6c578063b28bfe9914611fef57610448565b806399a98c9914611bd75780639f4f3eeb14611c5a578063a27c037014611cdd578063a424981214611d6057610448565b80638dcf31841161020f5780638dcf3184146119485780638ea76e22146119cb57806393f7dc3c14611a4e57806394391a4a14611ad1578063944f5d2a14611b5457610448565b806376d9ebb81461173c57806383168a9b146117bf57806387f88ef4146118425780638aed8b2c146118c557610448565b80632c9448141161035157806352be8a64116102d957806361fb3dc41161029d57806361fb3dc4146114ad57806369c3ae16146115305780636b3c35aa146115b35780636c863867146116365780636f92ed92146116b957610448565b806352be8a641461121e57806353278911146112a15780635a7afe48146113245780635fd6824d146113a757806361b2ef2b1461142a57610448565b8063428cf70511610320578063428cf70514610f8f5780634349e3d81461101257806343f6e4ab14611095578063447d8e421461111857806347985f2b1461119b57610448565b80632c94481414610d835780633647c9f914610e065780633df46fe514610e895780633f3153b214610f0c57610448565b80631dd371f8116103d45780632325ac93116103a35780632325ac9314610af45780632357f36214610b775780632438b32214610bfa578063277fa84f14610c7d57806328432c2214610d0057610448565b80631dd371f8146108e85780631e4dfd831461096b5780631fac3a13146109ee578063202a591b14610a7157610448565b80630c9409e71161041b5780630c9409e7146106595780630f5ee482146106dc578063119427c51461075f578063148e3b3d146107e2578063159eee9f1461086557610448565b8063012f82221461044d578063029d2344146104d05780630a2b1d3a146105535780630afeee97146105d6575b600080fd5b610455612a2b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561049557808201518184015260208101905061047a565b50505050905090810190601f1680156104c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104d8612a64565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105185780820151818401526020810190506104fd565b50505050905090810190601f1680156105455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61055b612a9d565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561059b578082015181840152602081019050610580565b50505050905090810190601f1680156105c85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105de612ad6565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561061e578082015181840152602081019050610603565b50505050905090810190601f16801561064b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610661612b0f565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156106a1578082015181840152602081019050610686565b50505050905090810190601f1680156106ce5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6106e4612b48565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610724578082015181840152602081019050610709565b50505050905090810190601f1680156107515780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610767612b81565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107a757808201518184015260208101905061078c565b50505050905090810190601f1680156107d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107ea612bba565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561082a57808201518184015260208101905061080f565b50505050905090810190601f1680156108575780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61086d612bf3565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156108ad578082015181840152602081019050610892565b50505050905090810190601f1680156108da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6108f0612c2c565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610930578082015181840152602081019050610915565b50505050905090810190601f16801561095d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610973612c65565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109b3578082015181840152602081019050610998565b50505050905090810190601f1680156109e05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6109f6612c9e565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a36578082015181840152602081019050610a1b565b50505050905090810190601f168015610a635780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610a79612cd7565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ab9578082015181840152602081019050610a9e565b50505050905090810190601f168015610ae65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610afc612d10565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b3c578082015181840152602081019050610b21565b50505050905090810190601f168015610b695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610b7f612d49565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bbf578082015181840152602081019050610ba4565b50505050905090810190601f168015610bec5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c02612d82565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c42578082015181840152602081019050610c27565b50505050905090810190601f168015610c6f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c85612dbb565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610cc5578082015181840152602081019050610caa565b50505050905090810190601f168015610cf25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610d08612df4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610d48578082015181840152602081019050610d2d565b50505050905090810190601f168015610d755780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610d8b612e2d565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610dcb578082015181840152602081019050610db0565b50505050905090810190601f168015610df85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610e0e612e66565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610e4e578082015181840152602081019050610e33565b50505050905090810190601f168015610e7b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610e91612e9f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ed1578082015181840152602081019050610eb6565b50505050905090810190601f168015610efe5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610f14612ed8565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610f54578082015181840152602081019050610f39565b50505050905090810190601f168015610f815780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610f97612f11565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610fd7578082015181840152602081019050610fbc565b50505050905090810190601f1680156110045780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61101a612f4a565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561105a57808201518184015260208101905061103f565b50505050905090810190601f1680156110875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61109d612f83565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156110dd5780820151818401526020810190506110c2565b50505050905090810190601f16801561110a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611120612fbc565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611160578082015181840152602081019050611145565b50505050905090810190601f16801561118d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6111a3612ff5565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156111e35780820151818401526020810190506111c8565b50505050905090810190601f1680156112105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61122661302e565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561126657808201518184015260208101905061124b565b50505050905090810190601f1680156112935780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6112a9613067565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156112e95780820151818401526020810190506112ce565b50505050905090810190601f1680156113165780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61132c6130a0565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561136c578082015181840152602081019050611351565b50505050905090810190601f1680156113995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6113af6130d9565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156113ef5780820151818401526020810190506113d4565b50505050905090810190601f16801561141c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611432613112565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611472578082015181840152602081019050611457565b50505050905090810190601f16801561149f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6114b561314b565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156114f55780820151818401526020810190506114da565b50505050905090810190601f1680156115225780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611538613184565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561157857808201518184015260208101905061155d565b50505050905090810190601f1680156115a55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6115bb6131bd565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156115fb5780820151818401526020810190506115e0565b50505050905090810190601f1680156116285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61163e6131f6565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561167e578082015181840152602081019050611663565b50505050905090810190601f1680156116ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6116c161322f565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156117015780820151818401526020810190506116e6565b50505050905090810190601f16801561172e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611744613268565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611784578082015181840152602081019050611769565b50505050905090810190601f1680156117b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6117c76132a1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156118075780820151818401526020810190506117ec565b50505050905090810190601f1680156118345780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61184a6132da565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561188a57808201518184015260208101905061186f565b50505050905090810190601f1680156118b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6118cd613313565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561190d5780820151818401526020810190506118f2565b50505050905090810190601f16801561193a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61195061334c565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611990578082015181840152602081019050611975565b50505050905090810190601f1680156119bd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6119d3613385565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611a135780820151818401526020810190506119f8565b50505050905090810190601f168015611a405780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611a566133be565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611a96578082015181840152602081019050611a7b565b50505050905090810190601f168015611ac35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611ad96133f7565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611b19578082015181840152602081019050611afe565b50505050905090810190601f168015611b465780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611b5c613430565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611b9c578082015181840152602081019050611b81565b50505050905090810190601f168015611bc95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611bdf613469565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611c1f578082015181840152602081019050611c04565b50505050905090810190601f168015611c4c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611c626134a2565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611ca2578082015181840152602081019050611c87565b50505050905090810190601f168015611ccf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611ce56134db565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611d25578082015181840152602081019050611d0a565b50505050905090810190601f168015611d525780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611d68613514565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611da8578082015181840152602081019050611d8d565b50505050905090810190601f168015611dd55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611deb61354d565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611e2b578082015181840152602081019050611e10565b50505050905090810190601f168015611e585780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611e6e613586565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611eae578082015181840152602081019050611e93565b50505050905090810190601f168015611edb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611ef16135bf565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611f31578082015181840152602081019050611f16565b50505050905090810190601f168015611f5e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611f746135f8565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611fb4578082015181840152602081019050611f99565b50505050905090810190601f168015611fe15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b611ff7613631565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561203757808201518184015260208101905061201c565b50505050905090810190601f1680156120645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61207a61366a565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156120ba57808201518184015260208101905061209f565b50505050905090810190601f1680156120e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6120fd6136a3565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561213d578082015181840152602081019050612122565b50505050905090810190601f16801561216a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6121806136dc565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156121c05780820151818401526020810190506121a5565b50505050905090810190601f1680156121ed5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b612203613715565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015612243578082015181840152602081019050612228565b50505050905090810190601f1680156122705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61228661374e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156122c65780820151818401526020810190506122ab565b50505050905090810190601f1680156122f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b612309613787565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561234957808201518184015260208101905061232e565b50505050905090810190601f1680156123765780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61238c6137c0565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156123cc5780820151818401526020810190506123b1565b50505050905090810190601f1680156123f95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61240f6137f9565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561244f578082015181840152602081019050612434565b50505050905090810190601f16801561247c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b612492613832565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156124d25780820151818401526020810190506124b7565b50505050905090810190601f1680156124ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61251561386b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561255557808201518184015260208101905061253a565b50505050905090810190601f1680156125825780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6125986138a4565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156125d85780820151818401526020810190506125bd565b50505050905090810190601f1680156126055780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61261b6138dd565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561265b578082015181840152602081019050612640565b50505050905090810190601f1680156126885780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61269e613916565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156126de5780820151818401526020810190506126c3565b50505050905090810190601f16801561270b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61272161394f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015612761578082015181840152602081019050612746565b50505050905090810190601f16801561278e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6127a4613988565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156127e45780820151818401526020810190506127c9565b50505050905090810190601f1680156128115780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6128276139c1565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561286757808201518184015260208101905061284c565b50505050905090810190601f1680156128945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6128aa6139fa565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156128ea5780820151818401526020810190506128cf565b50505050905090810190601f1680156129175780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61292d613a33565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561296d578082015181840152602081019050612952565b50505050905090810190601f16801561299a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6129b0613a6c565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156129f05780820151818401526020810190506129d5565b50505050905090810190601f168015612a1d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6040518060400160405280600381526020017f4c4133000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f595032000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f4c4135000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434632000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434644000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434647000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434634000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d37000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f595031000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434642000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f504f30000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d31000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d32000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f4c4134000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d41000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f4c4132000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d42000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f4c4136000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d33000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434645000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434630000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434631000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434646000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434636000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f504f31000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434639000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d35000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d36000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f4c4131000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d34000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434641000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d43000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434635000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f504f32000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d39000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434637000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434638000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d38000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434d45000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434643000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f434633000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6040518060400160405280600381526020017f43413100000000000000000000000000000000000000000000000000000000008152508156fea26469706673582212204fce7d361ab3237745139dedf8c4978490c25fea91274293eb20aae5d6d3629364736f6c63430007060033";
|
|
976
|
+
|
|
977
|
+
export class Errors__factory extends ContractFactory {
|
|
978
|
+
constructor(signer?: Signer) {
|
|
979
|
+
super(_abi, _bytecode, signer);
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
deploy(
|
|
983
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
984
|
+
): Promise<Errors> {
|
|
985
|
+
return super.deploy(overrides || {}) as Promise<Errors>;
|
|
986
|
+
}
|
|
987
|
+
getDeployTransaction(
|
|
988
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
989
|
+
): TransactionRequest {
|
|
990
|
+
return super.getDeployTransaction(overrides || {});
|
|
991
|
+
}
|
|
992
|
+
attach(address: string): Errors {
|
|
993
|
+
return super.attach(address) as Errors;
|
|
994
|
+
}
|
|
995
|
+
connect(signer: Signer): Errors__factory {
|
|
996
|
+
return super.connect(signer) as Errors__factory;
|
|
997
|
+
}
|
|
998
|
+
static readonly bytecode = _bytecode;
|
|
999
|
+
static readonly abi = _abi;
|
|
1000
|
+
static createInterface(): ErrorsInterface {
|
|
1001
|
+
return new utils.Interface(_abi) as ErrorsInterface;
|
|
1002
|
+
}
|
|
1003
|
+
static connect(address: string, signerOrProvider: Signer | Provider): Errors {
|
|
1004
|
+
return new Contract(address, _abi, signerOrProvider) as Errors;
|
|
1005
|
+
}
|
|
1006
|
+
}
|