@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,944 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
var __extends = (this && this.__extends) || (function () {
|
|
6
|
+
var extendStatics = function (d, b) {
|
|
7
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
10
|
+
return extendStatics(d, b);
|
|
11
|
+
};
|
|
12
|
+
return function (d, b) {
|
|
13
|
+
if (typeof b !== "function" && b !== null)
|
|
14
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
19
|
+
})();
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.DataCompressor__factory = void 0;
|
|
22
|
+
var ethers_1 = require("ethers");
|
|
23
|
+
var _abi = [
|
|
24
|
+
{
|
|
25
|
+
inputs: [
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "_addressProvider",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
stateMutability: "nonpayable",
|
|
33
|
+
type: "constructor",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [],
|
|
37
|
+
name: "WETHToken",
|
|
38
|
+
outputs: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
stateMutability: "view",
|
|
46
|
+
type: "function",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
inputs: [],
|
|
50
|
+
name: "addressProvider",
|
|
51
|
+
outputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "contract AddressProvider",
|
|
54
|
+
name: "",
|
|
55
|
+
type: "address",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
stateMutability: "view",
|
|
59
|
+
type: "function",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [
|
|
63
|
+
{
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "_creditManager",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
internalType: "address",
|
|
70
|
+
name: "token",
|
|
71
|
+
type: "address",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
internalType: "uint256",
|
|
75
|
+
name: "amount",
|
|
76
|
+
type: "uint256",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256",
|
|
80
|
+
name: "borrowedAmount",
|
|
81
|
+
type: "uint256",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
name: "calcExpectedAtOpenHf",
|
|
85
|
+
outputs: [
|
|
86
|
+
{
|
|
87
|
+
internalType: "uint256",
|
|
88
|
+
name: "",
|
|
89
|
+
type: "uint256",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
stateMutability: "view",
|
|
93
|
+
type: "function",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "_creditManager",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "borrower",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
internalType: "uint256[]",
|
|
109
|
+
name: "balances",
|
|
110
|
+
type: "uint256[]",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
name: "calcExpectedHf",
|
|
114
|
+
outputs: [
|
|
115
|
+
{
|
|
116
|
+
internalType: "uint256",
|
|
117
|
+
name: "",
|
|
118
|
+
type: "uint256",
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
stateMutability: "view",
|
|
122
|
+
type: "function",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [],
|
|
126
|
+
name: "contractsRegister",
|
|
127
|
+
outputs: [
|
|
128
|
+
{
|
|
129
|
+
internalType: "contract ContractsRegister",
|
|
130
|
+
name: "",
|
|
131
|
+
type: "address",
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
stateMutability: "view",
|
|
135
|
+
type: "function",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
inputs: [
|
|
139
|
+
{
|
|
140
|
+
internalType: "address",
|
|
141
|
+
name: "_creditManager",
|
|
142
|
+
type: "address",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "_allowedContract",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
name: "getAdapter",
|
|
151
|
+
outputs: [
|
|
152
|
+
{
|
|
153
|
+
internalType: "address",
|
|
154
|
+
name: "",
|
|
155
|
+
type: "address",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
stateMutability: "view",
|
|
159
|
+
type: "function",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
internalType: "address",
|
|
165
|
+
name: "_creditManager",
|
|
166
|
+
type: "address",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
internalType: "address",
|
|
170
|
+
name: "borrower",
|
|
171
|
+
type: "address",
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
name: "getCreditAccountData",
|
|
175
|
+
outputs: [
|
|
176
|
+
{
|
|
177
|
+
components: [
|
|
178
|
+
{
|
|
179
|
+
internalType: "address",
|
|
180
|
+
name: "addr",
|
|
181
|
+
type: "address",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
internalType: "address",
|
|
185
|
+
name: "borrower",
|
|
186
|
+
type: "address",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
internalType: "bool",
|
|
190
|
+
name: "inUse",
|
|
191
|
+
type: "bool",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
internalType: "address",
|
|
195
|
+
name: "creditManager",
|
|
196
|
+
type: "address",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
internalType: "address",
|
|
200
|
+
name: "underlyingToken",
|
|
201
|
+
type: "address",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
internalType: "uint256",
|
|
205
|
+
name: "borrowedAmountPlusInterest",
|
|
206
|
+
type: "uint256",
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
internalType: "uint256",
|
|
210
|
+
name: "totalValue",
|
|
211
|
+
type: "uint256",
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
internalType: "uint256",
|
|
215
|
+
name: "healthFactor",
|
|
216
|
+
type: "uint256",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
internalType: "uint256",
|
|
220
|
+
name: "borrowRate",
|
|
221
|
+
type: "uint256",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
components: [
|
|
225
|
+
{
|
|
226
|
+
internalType: "address",
|
|
227
|
+
name: "token",
|
|
228
|
+
type: "address",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
internalType: "uint256",
|
|
232
|
+
name: "balance",
|
|
233
|
+
type: "uint256",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
internalType: "bool",
|
|
237
|
+
name: "isAllowed",
|
|
238
|
+
type: "bool",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
internalType: "struct DataTypes.TokenBalance[]",
|
|
242
|
+
name: "balances",
|
|
243
|
+
type: "tuple[]",
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
internalType: "struct DataTypes.CreditAccountData",
|
|
247
|
+
name: "",
|
|
248
|
+
type: "tuple",
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
stateMutability: "view",
|
|
252
|
+
type: "function",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
inputs: [
|
|
256
|
+
{
|
|
257
|
+
internalType: "address",
|
|
258
|
+
name: "creditManager",
|
|
259
|
+
type: "address",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
internalType: "address",
|
|
263
|
+
name: "borrower",
|
|
264
|
+
type: "address",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
name: "getCreditAccountDataExtended",
|
|
268
|
+
outputs: [
|
|
269
|
+
{
|
|
270
|
+
components: [
|
|
271
|
+
{
|
|
272
|
+
internalType: "address",
|
|
273
|
+
name: "addr",
|
|
274
|
+
type: "address",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
internalType: "address",
|
|
278
|
+
name: "borrower",
|
|
279
|
+
type: "address",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
internalType: "bool",
|
|
283
|
+
name: "inUse",
|
|
284
|
+
type: "bool",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
internalType: "address",
|
|
288
|
+
name: "creditManager",
|
|
289
|
+
type: "address",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
internalType: "address",
|
|
293
|
+
name: "underlyingToken",
|
|
294
|
+
type: "address",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
internalType: "uint256",
|
|
298
|
+
name: "borrowedAmountPlusInterest",
|
|
299
|
+
type: "uint256",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
internalType: "uint256",
|
|
303
|
+
name: "totalValue",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
internalType: "uint256",
|
|
308
|
+
name: "healthFactor",
|
|
309
|
+
type: "uint256",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
internalType: "uint256",
|
|
313
|
+
name: "borrowRate",
|
|
314
|
+
type: "uint256",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
components: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "address",
|
|
320
|
+
name: "token",
|
|
321
|
+
type: "address",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
internalType: "uint256",
|
|
325
|
+
name: "balance",
|
|
326
|
+
type: "uint256",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
internalType: "bool",
|
|
330
|
+
name: "isAllowed",
|
|
331
|
+
type: "bool",
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
internalType: "struct DataTypes.TokenBalance[]",
|
|
335
|
+
name: "balances",
|
|
336
|
+
type: "tuple[]",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
internalType: "uint256",
|
|
340
|
+
name: "repayAmount",
|
|
341
|
+
type: "uint256",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
internalType: "uint256",
|
|
345
|
+
name: "liquidationAmount",
|
|
346
|
+
type: "uint256",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
internalType: "bool",
|
|
350
|
+
name: "canBeClosed",
|
|
351
|
+
type: "bool",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
internalType: "uint256",
|
|
355
|
+
name: "borrowedAmount",
|
|
356
|
+
type: "uint256",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
internalType: "uint256",
|
|
360
|
+
name: "cumulativeIndexAtOpen",
|
|
361
|
+
type: "uint256",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
internalType: "uint256",
|
|
365
|
+
name: "since",
|
|
366
|
+
type: "uint256",
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
internalType: "struct DataTypes.CreditAccountDataExtended",
|
|
370
|
+
name: "",
|
|
371
|
+
type: "tuple",
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
stateMutability: "view",
|
|
375
|
+
type: "function",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
inputs: [
|
|
379
|
+
{
|
|
380
|
+
internalType: "address",
|
|
381
|
+
name: "borrower",
|
|
382
|
+
type: "address",
|
|
383
|
+
},
|
|
384
|
+
],
|
|
385
|
+
name: "getCreditAccountList",
|
|
386
|
+
outputs: [
|
|
387
|
+
{
|
|
388
|
+
components: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "addr",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
internalType: "address",
|
|
396
|
+
name: "borrower",
|
|
397
|
+
type: "address",
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
internalType: "bool",
|
|
401
|
+
name: "inUse",
|
|
402
|
+
type: "bool",
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
internalType: "address",
|
|
406
|
+
name: "creditManager",
|
|
407
|
+
type: "address",
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
internalType: "address",
|
|
411
|
+
name: "underlyingToken",
|
|
412
|
+
type: "address",
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
internalType: "uint256",
|
|
416
|
+
name: "borrowedAmountPlusInterest",
|
|
417
|
+
type: "uint256",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
internalType: "uint256",
|
|
421
|
+
name: "totalValue",
|
|
422
|
+
type: "uint256",
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
internalType: "uint256",
|
|
426
|
+
name: "healthFactor",
|
|
427
|
+
type: "uint256",
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
internalType: "uint256",
|
|
431
|
+
name: "borrowRate",
|
|
432
|
+
type: "uint256",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
components: [
|
|
436
|
+
{
|
|
437
|
+
internalType: "address",
|
|
438
|
+
name: "token",
|
|
439
|
+
type: "address",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
internalType: "uint256",
|
|
443
|
+
name: "balance",
|
|
444
|
+
type: "uint256",
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
internalType: "bool",
|
|
448
|
+
name: "isAllowed",
|
|
449
|
+
type: "bool",
|
|
450
|
+
},
|
|
451
|
+
],
|
|
452
|
+
internalType: "struct DataTypes.TokenBalance[]",
|
|
453
|
+
name: "balances",
|
|
454
|
+
type: "tuple[]",
|
|
455
|
+
},
|
|
456
|
+
],
|
|
457
|
+
internalType: "struct DataTypes.CreditAccountData[]",
|
|
458
|
+
name: "",
|
|
459
|
+
type: "tuple[]",
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
stateMutability: "view",
|
|
463
|
+
type: "function",
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
inputs: [
|
|
467
|
+
{
|
|
468
|
+
internalType: "address",
|
|
469
|
+
name: "_creditManager",
|
|
470
|
+
type: "address",
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
internalType: "address",
|
|
474
|
+
name: "borrower",
|
|
475
|
+
type: "address",
|
|
476
|
+
},
|
|
477
|
+
],
|
|
478
|
+
name: "getCreditManagerData",
|
|
479
|
+
outputs: [
|
|
480
|
+
{
|
|
481
|
+
components: [
|
|
482
|
+
{
|
|
483
|
+
internalType: "address",
|
|
484
|
+
name: "addr",
|
|
485
|
+
type: "address",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
internalType: "bool",
|
|
489
|
+
name: "hasAccount",
|
|
490
|
+
type: "bool",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
internalType: "address",
|
|
494
|
+
name: "underlyingToken",
|
|
495
|
+
type: "address",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
internalType: "bool",
|
|
499
|
+
name: "isWETH",
|
|
500
|
+
type: "bool",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
internalType: "bool",
|
|
504
|
+
name: "canBorrow",
|
|
505
|
+
type: "bool",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
internalType: "uint256",
|
|
509
|
+
name: "borrowRate",
|
|
510
|
+
type: "uint256",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
internalType: "uint256",
|
|
514
|
+
name: "minAmount",
|
|
515
|
+
type: "uint256",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
internalType: "uint256",
|
|
519
|
+
name: "maxAmount",
|
|
520
|
+
type: "uint256",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
internalType: "uint256",
|
|
524
|
+
name: "maxLeverageFactor",
|
|
525
|
+
type: "uint256",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
internalType: "uint256",
|
|
529
|
+
name: "availableLiquidity",
|
|
530
|
+
type: "uint256",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
internalType: "address[]",
|
|
534
|
+
name: "allowedTokens",
|
|
535
|
+
type: "address[]",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
components: [
|
|
539
|
+
{
|
|
540
|
+
internalType: "address",
|
|
541
|
+
name: "allowedContract",
|
|
542
|
+
type: "address",
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
internalType: "address",
|
|
546
|
+
name: "adapter",
|
|
547
|
+
type: "address",
|
|
548
|
+
},
|
|
549
|
+
],
|
|
550
|
+
internalType: "struct DataTypes.ContractAdapter[]",
|
|
551
|
+
name: "adapters",
|
|
552
|
+
type: "tuple[]",
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
internalType: "struct DataTypes.CreditManagerData",
|
|
556
|
+
name: "",
|
|
557
|
+
type: "tuple",
|
|
558
|
+
},
|
|
559
|
+
],
|
|
560
|
+
stateMutability: "view",
|
|
561
|
+
type: "function",
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
inputs: [
|
|
565
|
+
{
|
|
566
|
+
internalType: "address",
|
|
567
|
+
name: "borrower",
|
|
568
|
+
type: "address",
|
|
569
|
+
},
|
|
570
|
+
],
|
|
571
|
+
name: "getCreditManagersList",
|
|
572
|
+
outputs: [
|
|
573
|
+
{
|
|
574
|
+
components: [
|
|
575
|
+
{
|
|
576
|
+
internalType: "address",
|
|
577
|
+
name: "addr",
|
|
578
|
+
type: "address",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
internalType: "bool",
|
|
582
|
+
name: "hasAccount",
|
|
583
|
+
type: "bool",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
internalType: "address",
|
|
587
|
+
name: "underlyingToken",
|
|
588
|
+
type: "address",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
internalType: "bool",
|
|
592
|
+
name: "isWETH",
|
|
593
|
+
type: "bool",
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
internalType: "bool",
|
|
597
|
+
name: "canBorrow",
|
|
598
|
+
type: "bool",
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
internalType: "uint256",
|
|
602
|
+
name: "borrowRate",
|
|
603
|
+
type: "uint256",
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
internalType: "uint256",
|
|
607
|
+
name: "minAmount",
|
|
608
|
+
type: "uint256",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
internalType: "uint256",
|
|
612
|
+
name: "maxAmount",
|
|
613
|
+
type: "uint256",
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
internalType: "uint256",
|
|
617
|
+
name: "maxLeverageFactor",
|
|
618
|
+
type: "uint256",
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
internalType: "uint256",
|
|
622
|
+
name: "availableLiquidity",
|
|
623
|
+
type: "uint256",
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
internalType: "address[]",
|
|
627
|
+
name: "allowedTokens",
|
|
628
|
+
type: "address[]",
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
components: [
|
|
632
|
+
{
|
|
633
|
+
internalType: "address",
|
|
634
|
+
name: "allowedContract",
|
|
635
|
+
type: "address",
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
internalType: "address",
|
|
639
|
+
name: "adapter",
|
|
640
|
+
type: "address",
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
internalType: "struct DataTypes.ContractAdapter[]",
|
|
644
|
+
name: "adapters",
|
|
645
|
+
type: "tuple[]",
|
|
646
|
+
},
|
|
647
|
+
],
|
|
648
|
+
internalType: "struct DataTypes.CreditManagerData[]",
|
|
649
|
+
name: "",
|
|
650
|
+
type: "tuple[]",
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
stateMutability: "view",
|
|
654
|
+
type: "function",
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
inputs: [
|
|
658
|
+
{
|
|
659
|
+
internalType: "address",
|
|
660
|
+
name: "_pool",
|
|
661
|
+
type: "address",
|
|
662
|
+
},
|
|
663
|
+
],
|
|
664
|
+
name: "getPoolData",
|
|
665
|
+
outputs: [
|
|
666
|
+
{
|
|
667
|
+
components: [
|
|
668
|
+
{
|
|
669
|
+
internalType: "address",
|
|
670
|
+
name: "addr",
|
|
671
|
+
type: "address",
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
internalType: "bool",
|
|
675
|
+
name: "isWETH",
|
|
676
|
+
type: "bool",
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
internalType: "address",
|
|
680
|
+
name: "underlyingToken",
|
|
681
|
+
type: "address",
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
internalType: "address",
|
|
685
|
+
name: "dieselToken",
|
|
686
|
+
type: "address",
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
internalType: "uint256",
|
|
690
|
+
name: "linearCumulativeIndex",
|
|
691
|
+
type: "uint256",
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
internalType: "uint256",
|
|
695
|
+
name: "availableLiquidity",
|
|
696
|
+
type: "uint256",
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
internalType: "uint256",
|
|
700
|
+
name: "expectedLiquidity",
|
|
701
|
+
type: "uint256",
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
internalType: "uint256",
|
|
705
|
+
name: "expectedLiquidityLimit",
|
|
706
|
+
type: "uint256",
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
internalType: "uint256",
|
|
710
|
+
name: "totalBorrowed",
|
|
711
|
+
type: "uint256",
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
internalType: "uint256",
|
|
715
|
+
name: "depositAPY_RAY",
|
|
716
|
+
type: "uint256",
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
internalType: "uint256",
|
|
720
|
+
name: "borrowAPY_RAY",
|
|
721
|
+
type: "uint256",
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
internalType: "uint256",
|
|
725
|
+
name: "dieselRate_RAY",
|
|
726
|
+
type: "uint256",
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
internalType: "uint256",
|
|
730
|
+
name: "withdrawFee",
|
|
731
|
+
type: "uint256",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
internalType: "uint256",
|
|
735
|
+
name: "cumulativeIndex_RAY",
|
|
736
|
+
type: "uint256",
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
internalType: "uint256",
|
|
740
|
+
name: "timestampLU",
|
|
741
|
+
type: "uint256",
|
|
742
|
+
},
|
|
743
|
+
],
|
|
744
|
+
internalType: "struct DataTypes.PoolData",
|
|
745
|
+
name: "",
|
|
746
|
+
type: "tuple",
|
|
747
|
+
},
|
|
748
|
+
],
|
|
749
|
+
stateMutability: "view",
|
|
750
|
+
type: "function",
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
inputs: [],
|
|
754
|
+
name: "getPoolsList",
|
|
755
|
+
outputs: [
|
|
756
|
+
{
|
|
757
|
+
components: [
|
|
758
|
+
{
|
|
759
|
+
internalType: "address",
|
|
760
|
+
name: "addr",
|
|
761
|
+
type: "address",
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
internalType: "bool",
|
|
765
|
+
name: "isWETH",
|
|
766
|
+
type: "bool",
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
internalType: "address",
|
|
770
|
+
name: "underlyingToken",
|
|
771
|
+
type: "address",
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
internalType: "address",
|
|
775
|
+
name: "dieselToken",
|
|
776
|
+
type: "address",
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
internalType: "uint256",
|
|
780
|
+
name: "linearCumulativeIndex",
|
|
781
|
+
type: "uint256",
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
internalType: "uint256",
|
|
785
|
+
name: "availableLiquidity",
|
|
786
|
+
type: "uint256",
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
internalType: "uint256",
|
|
790
|
+
name: "expectedLiquidity",
|
|
791
|
+
type: "uint256",
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
internalType: "uint256",
|
|
795
|
+
name: "expectedLiquidityLimit",
|
|
796
|
+
type: "uint256",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
internalType: "uint256",
|
|
800
|
+
name: "totalBorrowed",
|
|
801
|
+
type: "uint256",
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
internalType: "uint256",
|
|
805
|
+
name: "depositAPY_RAY",
|
|
806
|
+
type: "uint256",
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
internalType: "uint256",
|
|
810
|
+
name: "borrowAPY_RAY",
|
|
811
|
+
type: "uint256",
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
internalType: "uint256",
|
|
815
|
+
name: "dieselRate_RAY",
|
|
816
|
+
type: "uint256",
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
internalType: "uint256",
|
|
820
|
+
name: "withdrawFee",
|
|
821
|
+
type: "uint256",
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
internalType: "uint256",
|
|
825
|
+
name: "cumulativeIndex_RAY",
|
|
826
|
+
type: "uint256",
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
internalType: "uint256",
|
|
830
|
+
name: "timestampLU",
|
|
831
|
+
type: "uint256",
|
|
832
|
+
},
|
|
833
|
+
],
|
|
834
|
+
internalType: "struct DataTypes.PoolData[]",
|
|
835
|
+
name: "",
|
|
836
|
+
type: "tuple[]",
|
|
837
|
+
},
|
|
838
|
+
],
|
|
839
|
+
stateMutability: "view",
|
|
840
|
+
type: "function",
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
inputs: [
|
|
844
|
+
{
|
|
845
|
+
internalType: "address[]",
|
|
846
|
+
name: "addr",
|
|
847
|
+
type: "address[]",
|
|
848
|
+
},
|
|
849
|
+
],
|
|
850
|
+
name: "getTokenData",
|
|
851
|
+
outputs: [
|
|
852
|
+
{
|
|
853
|
+
components: [
|
|
854
|
+
{
|
|
855
|
+
internalType: "address",
|
|
856
|
+
name: "addr",
|
|
857
|
+
type: "address",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
internalType: "string",
|
|
861
|
+
name: "symbol",
|
|
862
|
+
type: "string",
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
internalType: "uint8",
|
|
866
|
+
name: "decimals",
|
|
867
|
+
type: "uint8",
|
|
868
|
+
},
|
|
869
|
+
],
|
|
870
|
+
internalType: "struct DataTypes.TokenInfo[]",
|
|
871
|
+
name: "",
|
|
872
|
+
type: "tuple[]",
|
|
873
|
+
},
|
|
874
|
+
],
|
|
875
|
+
stateMutability: "view",
|
|
876
|
+
type: "function",
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
inputs: [
|
|
880
|
+
{
|
|
881
|
+
internalType: "address",
|
|
882
|
+
name: "_creditManager",
|
|
883
|
+
type: "address",
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
internalType: "address",
|
|
887
|
+
name: "borrower",
|
|
888
|
+
type: "address",
|
|
889
|
+
},
|
|
890
|
+
],
|
|
891
|
+
name: "hasOpenedCreditAccount",
|
|
892
|
+
outputs: [
|
|
893
|
+
{
|
|
894
|
+
internalType: "bool",
|
|
895
|
+
name: "",
|
|
896
|
+
type: "bool",
|
|
897
|
+
},
|
|
898
|
+
],
|
|
899
|
+
stateMutability: "view",
|
|
900
|
+
type: "function",
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
inputs: [],
|
|
904
|
+
name: "version",
|
|
905
|
+
outputs: [
|
|
906
|
+
{
|
|
907
|
+
internalType: "uint256",
|
|
908
|
+
name: "",
|
|
909
|
+
type: "uint256",
|
|
910
|
+
},
|
|
911
|
+
],
|
|
912
|
+
stateMutability: "view",
|
|
913
|
+
type: "function",
|
|
914
|
+
},
|
|
915
|
+
];
|
|
916
|
+
var _bytecode = "0x60c06040523480156200001157600080fd5b506040516200639e3803806200639e8339818101604052810190620000379190620002f1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525090620000e2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000d991906200035e565b60405180910390fd5b50806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c513c9bb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200018a57600080fd5b505afa1580156200019f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c59190620002f1565b73ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c252f916040518163ffffffff1660e01b815260040160206040518083038186803b1580156200026257600080fd5b505afa15801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d9190620002f1565b73ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505062000433565b600081519050620002eb8162000419565b92915050565b6000602082840312156200030457600080fd5b60006200031484828501620002da565b91505092915050565b60006200032a8262000382565b6200033681856200038d565b935062000348818560208601620003d2565b620003538162000408565b840191505092915050565b600060208201905081810360008301526200037a81846200031d565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000620003ab82620003b2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620003f2578082015181840152602081019050620003d5565b8381111562000402576000848401525b50505050565b6000601f19601f8301169050919050565b62000424816200039e565b81146200043057600080fd5b50565b60805160601c60a05160601c615ef6620004a8600039806112a752806120a15280612948525080610b1352806115ba5280611c3b5280611d3e52806120c852806122fd528061232b52806123d25280612580528061262752806131db52806132de5280613b505280613d0d5250615ef66000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806354fd4d5011610097578063b816903911610066578063b8169039146102eb578063ba3b73451461031b578063bf2eb19e1461034b578063fc9914cb1461037b57610100565b806354fd4d501461024f5780637a0c7b211461026d578063a80deda31461028b578063b10b074e146102bb57610100565b80632954018c116100d35780632954018c146101b357806339595cf8146101d15780634b2f336d146102015780634c472fc91461021f57610100565b80630dbd616d1461010557806313d21cdf14610135578063191482d4146101655780631bcd8fc014610195575b600080fd5b61011f600480360381019061011a919061482f565b6103ab565b60405161012c9190615a10565b60405180910390f35b61014f600480360381019061014a91906147dd565b610b08565b60405161015c9190615a54565b60405180910390f35b61017f600480360381019061017a919061482f565b6115af565b60405161018c91906159ee565b60405180910390f35b61019d611c35565b6040516101aa9190615917565b60405180910390f35b6101bb611e1e565b6040516101c89190615976565b60405180910390f35b6101eb60048036038101906101e691906148d2565b611e42565b6040516101f89190615a70565b60405180910390f35b61020961209f565b604051610216919061582f565b60405180910390f35b6102396004803603810190610234919061482f565b6120c3565b604051610246919061582f565b60405180910390f35b6102576122f6565b6040516102649190615a70565b60405180910390f35b6102756122fb565b6040516102829190615991565b60405180910390f35b6102a560048036038101906102a091906147dd565b61231f565b6040516102b291906158d3565b60405180910390f35b6102d560048036038101906102d0919061482f565b6127a1565b6040516102e29190615a32565b60405180910390f35b610305600480360381019061030091906147dd565b6131d5565b60405161031291906158f5565b60405180910390f35b6103356004803603810190610330919061486b565b6133c1565b6040516103429190615a70565b60405180910390f35b61036560048036038101906103609190614998565b61394c565b6040516103729190615939565b60405180910390f35b6103956004803603810190610390919061482f565b613b4b565b6040516103a2919061595b565b60405180910390f35b6103b361422a565b6000806103bf85613d07565b9150915060008273ffffffffffffffffffffffffffffffffffffffff1663e958b704866040518263ffffffff1660e01b81526004016103fe919061582f565b60206040518083038186803b15801561041657600080fd5b505afa15801561042a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044e9190614806565b905061045861422a565b85816020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505086816060019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508273ffffffffffffffffffffffffffffffffffffffff16632495a5996040518163ffffffff1660e01b815260040160206040518083038186803b15801561054657600080fd5b505afa15801561055a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057e9190614806565b816080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508273ffffffffffffffffffffffffffffffffffffffff1663c7de38a6836040518263ffffffff1660e01b81526004016105ee919061582f565b60206040518083038186803b15801561060657600080fd5b505afa15801561061a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063e9190614a6c565b8160c00181815250508273ffffffffffffffffffffffffffffffffffffffff1663dfd59465836040518263ffffffff1660e01b8152600401610680919061582f565b60206040518083038186803b15801561069857600080fd5b505afa1580156106ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d09190614a6c565b8160e001818152505060008473ffffffffffffffffffffffffffffffffffffffff1663570a7af26040518163ffffffff1660e01b815260040160206040518083038186803b15801561072157600080fd5b505afa158015610735573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107599190614806565b90508073ffffffffffffffffffffffffffffffffffffffff166345d31f9d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107a157600080fd5b505afa1580156107b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d99190614a6c565b8261010001818152505060008473ffffffffffffffffffffffffffffffffffffffff166320a05ff76040518163ffffffff1660e01b815260040160206040518083038186803b15801561082b57600080fd5b505afa15801561083f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108639190614a6c565b90508067ffffffffffffffff8111801561087c57600080fd5b506040519080825280602002602001820160405280156108b657816020015b6108a36142d7565b81526020019060019003908161089b5790505b5083610120018190525060005b81811015610a66576108d36142d7565b8673ffffffffffffffffffffffffffffffffffffffff1663af0a650287846040518363ffffffff1660e01b815260040161090e929190615873565b60806040518083038186803b15801561092657600080fd5b505afa15801561093a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095e9190614935565b9050508260000183602001828152508273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050508673ffffffffffffffffffffffffffffffffffffffff1663f9eaee0d82600001516040518263ffffffff1660e01b81526004016109dc919061582f565b60206040518083038186803b1580156109f457600080fd5b505afa158015610a08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2c91906149d9565b816040019015159081151581525050808561012001518381518110610a4d57fe5b60200260200101819052505080806001019150506108c3565b508473ffffffffffffffffffffffffffffffffffffffff16633192195c856040518263ffffffff1660e01b8152600401610aa0919061582f565b60206040518083038186803b158015610ab857600080fd5b505afa158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af09190614a6c565b8360a001818152505082965050505050505092915050565b610b10614310565b817f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635b16ebb7826040518263ffffffff1660e01b8152600401610b6a919061582f565b60206040518083038186803b158015610b8257600080fd5b505afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba91906149d9565b6040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525090610c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2891906159ac565b60405180910390fd5b50610c3a614310565b600084905084826000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1663fe14112d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610cbd57600080fd5b505afa158015610cd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf59190614a6c565b8260c00181815250508073ffffffffffffffffffffffffffffffffffffffff1663ef8d96036040518163ffffffff1660e01b815260040160206040518083038186803b158015610d4457600080fd5b505afa158015610d58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7c9190614a6c565b8260e00181815250508073ffffffffffffffffffffffffffffffffffffffff1663743753596040518163ffffffff1660e01b815260040160206040518083038186803b158015610dcb57600080fd5b505afa158015610ddf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e039190614a6c565b8260a00181815250508073ffffffffffffffffffffffffffffffffffffffff16634c19386c6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e5257600080fd5b505afa158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8a9190614a6c565b826101000181815250508073ffffffffffffffffffffffffffffffffffffffff1663788c6bfe6040518163ffffffff1660e01b815260040160206040518083038186803b158015610eda57600080fd5b505afa158015610eee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f129190614a6c565b826101600181815250508073ffffffffffffffffffffffffffffffffffffffff16630fce70fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f6257600080fd5b505afa158015610f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9a9190614a6c565b8260800181815250508073ffffffffffffffffffffffffffffffffffffffff166345d31f9d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe957600080fd5b505afa158015610ffd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110219190614a6c565b826101400181815250508073ffffffffffffffffffffffffffffffffffffffff16632495a5996040518163ffffffff1660e01b815260040160206040518083038186803b15801561107157600080fd5b505afa158015611085573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a99190614806565b826040019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff166336dda7d56040518163ffffffff1660e01b815260040160206040518083038186803b15801561112657600080fd5b505afa15801561113a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115e9190614806565b826060019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1663788c6bfe6040518163ffffffff1660e01b815260040160206040518083038186803b1580156111db57600080fd5b505afa1580156111ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112139190614a6c565b826101600181815250508073ffffffffffffffffffffffffffffffffffffffff1663e941fa786040518163ffffffff1660e01b815260040160206040518083038186803b15801561126357600080fd5b505afa158015611277573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129b9190614a6c565b826101800181815250507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16826040015173ffffffffffffffffffffffffffffffffffffffff16148260200190151590811515815250508073ffffffffffffffffffffffffffffffffffffffff1663609ae3176040518163ffffffff1660e01b815260040160206040518083038186803b15801561134d57600080fd5b505afa158015611361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113859190614a6c565b826101c00181815250508073ffffffffffffffffffffffffffffffffffffffff1663dbcb313b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156113d557600080fd5b505afa1580156113e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140d9190614a6c565b826101a00181815250506000826060015173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561146357600080fd5b505afa158015611477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149b9190614a6c565b905060008273ffffffffffffffffffffffffffffffffffffffff16635427c938836040518263ffffffff1660e01b81526004016114d89190615a70565b60206040518083038186803b1580156114f057600080fd5b505afa158015611504573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115289190614a6c565b9050600081146115915761158c8161157e611553876101800151612710613eb590919063ffffffff16565b611570886101000151896101400151613f3890919063ffffffff16565b613fbe90919063ffffffff16565b61411990919063ffffffff16565b611598565b8361014001515b846101200181815250508395505050505050919050565b6115b76143ca565b827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636fbc6f6b826040518263ffffffff1660e01b8152600401611611919061582f565b60206040518083038186803b15801561162957600080fd5b505afa15801561163d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166191906149d9565b6040518060400160405280600281526020017f4350000000000000000000000000000000000000000000000000000000000000815250906116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf91906159ac565b60405180910390fd5b506116e16143ca565b60006116ed86866103ab565b90508060000151826000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508060200151826020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508060600151826060019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508060800151826080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508060a001518260a00181815250508060c001518260c00181815250508060e001518260e00181815250508061010001518261010001818152505080610120015182610120018190525060008673ffffffffffffffffffffffffffffffffffffffff1663e958b704876040518263ffffffff1660e01b8152600401611863919061582f565b60206040518083038186803b15801561187b57600080fd5b505afa15801561188f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b39190614806565b90508073ffffffffffffffffffffffffffffffffffffffff16631afbb7a46040518163ffffffff1660e01b815260040160206040518083038186803b1580156118fb57600080fd5b505afa15801561190f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119339190614a6c565b836101a00181815250508073ffffffffffffffffffffffffffffffffffffffff166317d11a156040518163ffffffff1660e01b815260040160206040518083038186803b15801561198357600080fd5b505afa158015611997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bb9190614a6c565b836101c00181815250508073ffffffffffffffffffffffffffffffffffffffff16633dc54b406040518163ffffffff1660e01b815260040160206040518083038186803b158015611a0b57600080fd5b505afa158015611a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a439190614a6c565b836101e00181815250508673ffffffffffffffffffffffffffffffffffffffff16633ce073558760006040518363ffffffff1660e01b8152600401611a8992919061584a565b60206040518083038186803b158015611aa157600080fd5b505afa158015611ab5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad99190614a6c565b836101400181815250508673ffffffffffffffffffffffffffffffffffffffff16633ce073558760016040518363ffffffff1660e01b8152600401611b1f92919061584a565b60206040518083038186803b158015611b3757600080fd5b505afa158015611b4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6f9190614a6c565b8361016001818152505060008773ffffffffffffffffffffffffffffffffffffffff1663996329f8838560c0015160006040518463ffffffff1660e01b8152600401611bbd9392919061589c565b60a06040518083038186803b158015611bd557600080fd5b505afa158015611be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0d9190614a95565b5050925050506000811184610180019015159081151581525050839550505050505092915050565b606060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663b4ac68606040518163ffffffff1660e01b815260040160206040518083038186803b158015611c9f57600080fd5b505afa158015611cb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd79190614a6c565b905060008167ffffffffffffffff81118015611cf257600080fd5b50604051908082528060200260200182016040528015611d2c57816020015b611d19614310565b815260200190600190039081611d115790505b50905060005b82811015611e155760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ac4afa38836040518263ffffffff1660e01b8152600401611d959190615a70565b60206040518083038186803b158015611dad57600080fd5b505afa158015611dc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de59190614806565b9050611df081610b08565b838381518110611dfc57fe5b6020026020010181905250508080600101915050611d32565b50809250505090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000611e5087613d07565b9150915060008173ffffffffffffffffffffffffffffffffffffffff16632630c12f6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e9c57600080fd5b505afa158015611eb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed49190614806565b9050600061207c8373ffffffffffffffffffffffffffffffffffffffff1663783274388a6040518263ffffffff1660e01b8152600401611f14919061582f565b60206040518083038186803b158015611f2c57600080fd5b505afa158015611f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f649190614a6c565b8373ffffffffffffffffffffffffffffffffffffffff1663b66102df8a8c8973ffffffffffffffffffffffffffffffffffffffff16632495a5996040518163ffffffff1660e01b815260040160206040518083038186803b158015611fc857600080fd5b505afa158015611fdc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120009190614806565b6040518463ffffffff1660e01b815260040161201e93929190615a8b565b60206040518083038186803b15801561203657600080fd5b505afa15801561204a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206e9190614a6c565b613f3890919063ffffffff16565b9050612091868261411990919063ffffffff16565b945050505050949350505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636fbc6f6b826040518263ffffffff1660e01b815260040161211f919061582f565b60206040518083038186803b15801561213757600080fd5b505afa15801561214b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216f91906149d9565b6040518060400160405280600281526020017f4350000000000000000000000000000000000000000000000000000000000000815250906121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd91906159ac565b60405180910390fd5b508373ffffffffffffffffffffffffffffffffffffffff1663f93f515b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561222d57600080fd5b505afa158015612241573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122659190614a02565b73ffffffffffffffffffffffffffffffffffffffff1663fdd57645846040518263ffffffff1660e01b815260040161229d919061582f565b60206040518083038186803b1580156122b557600080fd5b505afa1580156122c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ed9190614806565b91505092915050565b600181565b7f000000000000000000000000000000000000000000000000000000000000000081565b6060600080600090505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c29277cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561238f57600080fd5b505afa1580156123a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c79190614a6c565b8110156125205760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631e16e4fc836040518263ffffffff1660e01b81526004016124299190615a70565b60206040518083038186803b15801561244157600080fd5b505afa158015612455573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124799190614806565b90508073ffffffffffffffffffffffffffffffffffffffff1663256ac915866040518263ffffffff1660e01b81526004016124b4919061582f565b60206040518083038186803b1580156124cc57600080fd5b505afa1580156124e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250491906149d9565b156125125782806001019350505b508080600101915050612329565b5060008167ffffffffffffffff8111801561253a57600080fd5b5060405190808252806020026020018201604052801561257457816020015b61256161422a565b8152602001906001900390816125595790505b5090506000915060005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c29277cd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156125e457600080fd5b505afa1580156125f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261c9190614a6c565b8110156127965760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631e16e4fc836040518263ffffffff1660e01b815260040161267e9190615a70565b60206040518083038186803b15801561269657600080fd5b505afa1580156126aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ce9190614806565b90508073ffffffffffffffffffffffffffffffffffffffff1663256ac915876040518263ffffffff1660e01b8152600401612709919061582f565b60206040518083038186803b15801561272157600080fd5b505afa158015612735573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275991906149d9565b156127885761276881876103ab565b83858151811061277457fe5b602002602001018190525083806001019450505b50808060010191505061257e565b508092505050919050565b6127a96144a3565b6000806127b585613d07565b915091506127c16144a3565b85816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508273ffffffffffffffffffffffffffffffffffffffff1663256ac915866040518263ffffffff1660e01b8152600401612832919061582f565b60206040518083038186803b15801561284a57600080fd5b505afa15801561285e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288291906149d9565b8160200190151590811515815250508173ffffffffffffffffffffffffffffffffffffffff16632495a5996040518163ffffffff1660e01b815260040160206040518083038186803b1580156128d757600080fd5b505afa1580156128eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061290f9190614806565b816040019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16816040015173ffffffffffffffffffffffffffffffffffffffff161481606001901515908115158152505060008373ffffffffffffffffffffffffffffffffffffffff1663570a7af26040518163ffffffff1660e01b815260040160206040518083038186803b1580156129f057600080fd5b505afa158015612a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a289190614806565b90508073ffffffffffffffffffffffffffffffffffffffff16632e97ca21886040518263ffffffff1660e01b8152600401612a63919061582f565b60206040518083038186803b158015612a7b57600080fd5b505afa158015612a8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab391906149d9565b8260800190151590811515815250508073ffffffffffffffffffffffffffffffffffffffff166345d31f9d6040518163ffffffff1660e01b815260040160206040518083038186803b158015612b0857600080fd5b505afa158015612b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b409190614a6c565b8260a00181815250508073ffffffffffffffffffffffffffffffffffffffff1663743753596040518163ffffffff1660e01b815260040160206040518083038186803b158015612b8f57600080fd5b505afa158015612ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc79190614a6c565b826101200181815250508373ffffffffffffffffffffffffffffffffffffffff16639b2cb5d86040518163ffffffff1660e01b815260040160206040518083038186803b158015612c1757600080fd5b505afa158015612c2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c4f9190614a6c565b8260c00181815250508373ffffffffffffffffffffffffffffffffffffffff16635f48f3936040518163ffffffff1660e01b815260040160206040518083038186803b158015612c9e57600080fd5b505afa158015612cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd69190614a6c565b8260e00181815250508373ffffffffffffffffffffffffffffffffffffffff1663b2c53a6c6040518163ffffffff1660e01b815260040160206040518083038186803b158015612d2557600080fd5b505afa158015612d39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d5d9190614a6c565b8261010001818152505060008373ffffffffffffffffffffffffffffffffffffffff166320a05ff76040518163ffffffff1660e01b815260040160206040518083038186803b158015612daf57600080fd5b505afa158015612dc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612de79190614a6c565b90508067ffffffffffffffff81118015612e0057600080fd5b50604051908082528060200260200182016040528015612e2f5781602001602082028036833780820191505090505b5083610140018190525060005b81811015612f25578473ffffffffffffffffffffffffffffffffffffffff16635e5f2e26826040518263ffffffff1660e01b8152600401612e7d9190615a70565b60206040518083038186803b158015612e9557600080fd5b505afa158015612ea9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ecd9190614806565b8461014001518281518110612ede57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080600101915050612e3c565b5060008473ffffffffffffffffffffffffffffffffffffffff166350e036ff6040518163ffffffff1660e01b815260040160206040518083038186803b158015612f6e57600080fd5b505afa158015612f82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa69190614a6c565b90508067ffffffffffffffff81118015612fbf57600080fd5b50604051908082528060200260200182016040528015612ff957816020015b612fe6614536565b815260200190600190039081612fde5790505b5084610160018190525060005b818110156131c557613016614536565b8673ffffffffffffffffffffffffffffffffffffffff16635094cb4f836040518263ffffffff1660e01b815260040161304f9190615a70565b60206040518083038186803b15801561306757600080fd5b505afa15801561307b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061309f9190614806565b816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508673ffffffffffffffffffffffffffffffffffffffff1663fdd5764582600001516040518263ffffffff1660e01b8152600401613113919061582f565b60206040518083038186803b15801561312b57600080fd5b505afa15801561313f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131639190614806565b816020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508086610160015183815181106131ac57fe5b6020026020010181905250508080600101915050613006565b5083965050505050505092915050565b606060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c29277cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561323f57600080fd5b505afa158015613253573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132779190614a6c565b905060008167ffffffffffffffff8111801561329257600080fd5b506040519080825280602002602001820160405280156132cc57816020015b6132b96144a3565b8152602001906001900390816132b15790505b50905060005b828110156133b65760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631e16e4fc836040518263ffffffff1660e01b81526004016133359190615a70565b60206040518083038186803b15801561334d57600080fd5b505afa158015613361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133859190614806565b905061339181876127a1565b83838151811061339d57fe5b60200260200101819052505080806001019150506132d2565b508092505050919050565b60008060006133cf86613d07565b9150915060008273ffffffffffffffffffffffffffffffffffffffff1663e958b704876040518263ffffffff1660e01b815260040161340e919061582f565b60206040518083038186803b15801561342657600080fd5b505afa15801561343a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061345e9190614806565b905060008273ffffffffffffffffffffffffffffffffffffffff16632630c12f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156134a857600080fd5b505afa1580156134bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134e09190614806565b905060008373ffffffffffffffffffffffffffffffffffffffff166320a05ff76040518163ffffffff1660e01b815260040160206040518083038186803b15801561352a57600080fd5b505afa15801561353e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135629190614a6c565b9050808751146135a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359e906159ce565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16632495a5996040518163ffffffff1660e01b815260040160206040518083038186803b1580156135f057600080fd5b505afa158015613604573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136289190614806565b905060005b838110156138a0576138916138828873ffffffffffffffffffffffffffffffffffffffff1663783274388a73ffffffffffffffffffffffffffffffffffffffff16635e5f2e26866040518263ffffffff1660e01b81526004016136909190615a70565b60206040518083038186803b1580156136a857600080fd5b505afa1580156136bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136e09190614806565b6040518263ffffffff1660e01b81526004016136fc919061582f565b60206040518083038186803b15801561371457600080fd5b505afa158015613728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061374c9190614a6c565b8773ffffffffffffffffffffffffffffffffffffffff1663b66102df8e868151811061377457fe5b60200260200101518c73ffffffffffffffffffffffffffffffffffffffff16635e5f2e26886040518263ffffffff1660e01b81526004016137b59190615a70565b60206040518083038186803b1580156137cd57600080fd5b505afa1580156137e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138059190614806565b886040518463ffffffff1660e01b815260040161382493929190615a8b565b60206040518083038186803b15801561383c57600080fd5b505afa158015613850573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138749190614a6c565b613f3890919063ffffffff16565b846141a290919063ffffffff16565b9250808060010191505061362d565b5061393c8673ffffffffffffffffffffffffffffffffffffffff16633192195c876040518263ffffffff1660e01b81526004016138dd919061582f565b60206040518083038186803b1580156138f557600080fd5b505afa158015613909573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061392d9190614a6c565b8361411990919063ffffffff16565b9750505050505050509392505050565b60606000825167ffffffffffffffff8111801561396857600080fd5b506040519080825280602002602001820160405280156139a257816020015b61398f61457c565b8152602001906001900390816139875790505b50905060005b8351811015613b415760405180606001604052808583815181106139c857fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1681526020018583815181106139f757fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015613a4457600080fd5b505afa158015613a58573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190613a819190614a2b565b8152602001858381518110613a9257fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015613adf57600080fd5b505afa158015613af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b179190614b0c565b60ff16815250828281518110613b2957fe5b602002602001018190525080806001019150506139a8565b5080915050919050565b6000827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636fbc6f6b826040518263ffffffff1660e01b8152600401613ba7919061582f565b60206040518083038186803b158015613bbf57600080fd5b505afa158015613bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bf791906149d9565b6040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525090613c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c6591906159ac565b60405180910390fd5b5060008490508073ffffffffffffffffffffffffffffffffffffffff1663256ac915856040518263ffffffff1660e01b8152600401613cad919061582f565b60206040518083038186803b158015613cc557600080fd5b505afa158015613cd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cfd91906149d9565b9250505092915050565b600080827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636fbc6f6b826040518263ffffffff1660e01b8152600401613d64919061582f565b60206040518083038186803b158015613d7c57600080fd5b505afa158015613d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613db491906149d9565b6040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525090613e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e2291906159ac565b60405180910390fd5b508392508273ffffffffffffffffffffffffffffffffffffffff1663f93f515b6040518163ffffffff1660e01b815260040160206040518083038186803b158015613e7557600080fd5b505afa158015613e89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ead9190614a02565b915050915091565b600082821115613f2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080831415613f4b5760009050613fb8565b6000828402905082848281613f5c57fe5b0414613fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180615ea06021913960400191505060405180910390fd5b809150505b92915050565b600080831480613fce5750600082145b15613fdc5760009050614113565b81600261271081613fe957fe5b047fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038161401357fe5b048311156040518060400160405280600281526020017f4d31000000000000000000000000000000000000000000000000000000000000815250906140f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156140b857808201518184015260208101905061409d565b50505050905090810190601f1680156140e55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5061271060026127108161410357fe5b04838502018161410f57fe5b0490505b92915050565b6000808211614190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161419957fe5b04905092915050565b600080828401905083811015614220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b604051806101400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001606081525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000151581525090565b604051806101e00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b604051806102000160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600081526020016060815260200160008152602001600081526020016000151581526020016000815260200160008152602001600081525090565b604051806101800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600015158152602001600015158152602001600081526020016000815260200160008152602001600081526020016000815260200160608152602001606081525090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152602001600060ff1681525090565b60006145c96145c484615af3565b615ac2565b905080838252602082019050828560208602820111156145e857600080fd5b60005b8581101561461857816145fe88826146cc565b8452602084019350602083019250506001810190506145eb565b5050509392505050565b600061463561463084615b1f565b615ac2565b9050808382526020820190508285602086028201111561465457600080fd5b60005b85811015614684578161466a888261479e565b845260208401935060208301925050600181019050614657565b5050509392505050565b60006146a161469c84615b4b565b615ac2565b9050828152602081018484840111156146b957600080fd5b6146c4848285615de6565b509392505050565b6000813590506146db81615e2c565b92915050565b6000815190506146f081615e2c565b92915050565b600082601f83011261470757600080fd5b81356147178482602086016145b6565b91505092915050565b600082601f83011261473157600080fd5b8135614741848260208601614622565b91505092915050565b60008151905061475981615e43565b92915050565b60008151905061476e81615e5a565b92915050565b600082601f83011261478557600080fd5b815161479584826020860161468e565b91505092915050565b6000813590506147ad81615e71565b92915050565b6000815190506147c281615e71565b92915050565b6000815190506147d781615e88565b92915050565b6000602082840312156147ef57600080fd5b60006147fd848285016146cc565b91505092915050565b60006020828403121561481857600080fd5b6000614826848285016146e1565b91505092915050565b6000806040838503121561484257600080fd5b6000614850858286016146cc565b9250506020614861858286016146cc565b9150509250929050565b60008060006060848603121561488057600080fd5b600061488e868287016146cc565b935050602061489f868287016146cc565b925050604084013567ffffffffffffffff8111156148bc57600080fd5b6148c886828701614720565b9150509250925092565b600080600080608085870312156148e857600080fd5b60006148f6878288016146cc565b9450506020614907878288016146cc565b93505060406149188782880161479e565b92505060606149298782880161479e565b91505092959194509250565b6000806000806080858703121561494b57600080fd5b6000614959878288016146e1565b945050602061496a878288016147b3565b935050604061497b878288016147b3565b925050606061498c878288016147b3565b91505092959194509250565b6000602082840312156149aa57600080fd5b600082013567ffffffffffffffff8111156149c457600080fd5b6149d0848285016146f6565b91505092915050565b6000602082840312156149eb57600080fd5b60006149f98482850161474a565b91505092915050565b600060208284031215614a1457600080fd5b6000614a228482850161475f565b91505092915050565b600060208284031215614a3d57600080fd5b600082015167ffffffffffffffff811115614a5757600080fd5b614a6384828501614774565b91505092915050565b600060208284031215614a7e57600080fd5b6000614a8c848285016147b3565b91505092915050565b600080600080600060a08688031215614aad57600080fd5b6000614abb888289016147b3565b9550506020614acc888289016147b3565b9450506040614add888289016147b3565b9350506060614aee888289016147b3565b9250506080614aff888289016147b3565b9150509295509295909350565b600060208284031215614b1e57600080fd5b6000614b2c848285016147c8565b91505092915050565b6000614b418383614bd2565b60208301905092915050565b6000614b598383614fb5565b60408301905092915050565b6000614b71838361513c565b905092915050565b6000614b8583836152f0565b905092915050565b6000614b998383615506565b6101e08301905092915050565b6000614bb28383615770565b60608301905092915050565b6000614bca83836157b2565b905092915050565b614bdb81615d37565b82525050565b614bea81615d37565b82525050565b6000614bfb82615beb565b614c058185615c9e565b9350614c1083615b7b565b8060005b83811015614c41578151614c288882614b35565b9750614c3383615c43565b925050600181019050614c14565b5085935050505092915050565b6000614c5982615bf6565b614c638185615caf565b9350614c6e83615b8b565b8060005b83811015614c9f578151614c868882614b4d565b9750614c9183615c50565b925050600181019050614c72565b5085935050505092915050565b6000614cb782615c01565b614cc18185615cc0565b935083602082028501614cd385615b9b565b8060005b85811015614d0f5784840389528151614cf08582614b65565b9450614cfb83615c5d565b925060208a01995050600181019050614cd7565b50829750879550505050505092915050565b6000614d2c82615c0c565b614d368185615cd1565b935083602082028501614d4885615bab565b8060005b85811015614d845784840389528151614d658582614b79565b9450614d7083615c6a565b925060208a01995050600181019050614d4c565b50829750879550505050505092915050565b6000614da182615c17565b614dab8185615ce2565b9350614db683615bbb565b8060005b83811015614de7578151614dce8882614b8d565b9750614dd983615c77565b925050600181019050614dba565b5085935050505092915050565b6000614dff82615c22565b614e098185615cf3565b9350614e1483615bcb565b8060005b83811015614e45578151614e2c8882614ba6565b9750614e3783615c84565b925050600181019050614e18565b5085935050505092915050565b6000614e5d82615c2d565b614e678185615d04565b935083602082028501614e7985615bdb565b8060005b85811015614eb55784840389528151614e968582614bbe565b9450614ea183615c91565b925060208a01995050600181019050614e7d565b50829750879550505050505092915050565b614ed081615d49565b82525050565b614edf81615d49565b82525050565b614eee81615d9e565b82525050565b614efd81615dc2565b82525050565b6000614f0e82615c38565b614f188185615d15565b9350614f28818560208601615de6565b614f3181615e1b565b840191505092915050565b6000614f4782615c38565b614f518185615d26565b9350614f61818560208601615de6565b614f6a81615e1b565b840191505092915050565b6000614f82601783615d26565b91507f496e636f72726563742062616c616e6365732073697a650000000000000000006000830152602082019050919050565b604082016000820151614fcb6000850182614bd2565b506020820151614fde6020850182614bd2565b50505050565b600061020083016000830151614ffd6000860182614bd2565b5060208301516150106020860182614bd2565b5060408301516150236040860182614ec7565b5060608301516150366060860182614bd2565b5060808301516150496080860182614bd2565b5060a083015161505c60a0860182615802565b5060c083015161506f60c0860182615802565b5060e083015161508260e0860182615802565b50610100830151615097610100860182615802565b506101208301518482036101208601526150b18282614df4565b9150506101408301516150c8610140860182615802565b506101608301516150dd610160860182615802565b506101808301516150f2610180860182614ec7565b506101a08301516151076101a0860182615802565b506101c083015161511c6101c0860182615802565b506101e08301516151316101e0860182615802565b508091505092915050565b6000610140830160008301516151556000860182614bd2565b5060208301516151686020860182614bd2565b50604083015161517b6040860182614ec7565b50606083015161518e6060860182614bd2565b5060808301516151a16080860182614bd2565b5060a08301516151b460a0860182615802565b5060c08301516151c760c0860182615802565b5060e08301516151da60e0860182615802565b506101008301516151ef610100860182615802565b506101208301518482036101208601526152098282614df4565b9150508091505092915050565b60006101408301600083015161522f6000860182614bd2565b5060208301516152426020860182614bd2565b5060408301516152556040860182614ec7565b5060608301516152686060860182614bd2565b50608083015161527b6080860182614bd2565b5060a083015161528e60a0860182615802565b5060c08301516152a160c0860182615802565b5060e08301516152b460e0860182615802565b506101008301516152c9610100860182615802565b506101208301518482036101208601526152e38282614df4565b9150508091505092915050565b6000610180830160008301516153096000860182614bd2565b50602083015161531c6020860182614ec7565b50604083015161532f6040860182614bd2565b5060608301516153426060860182614ec7565b5060808301516153556080860182614ec7565b5060a083015161536860a0860182615802565b5060c083015161537b60c0860182615802565b5060e083015161538e60e0860182615802565b506101008301516153a3610100860182615802565b506101208301516153b8610120860182615802565b506101408301518482036101408601526153d28282614bf0565b9150506101608301518482036101608601526153ee8282614c4e565b9150508091505092915050565b6000610180830160008301516154146000860182614bd2565b5060208301516154276020860182614ec7565b50604083015161543a6040860182614bd2565b50606083015161544d6060860182614ec7565b5060808301516154606080860182614ec7565b5060a083015161547360a0860182615802565b5060c083015161548660c0860182615802565b5060e083015161549960e0860182615802565b506101008301516154ae610100860182615802565b506101208301516154c3610120860182615802565b506101408301518482036101408601526154dd8282614bf0565b9150506101608301518482036101608601526154f98282614c4e565b9150508091505092915050565b6101e08201600082015161551d6000850182614bd2565b5060208201516155306020850182614ec7565b5060408201516155436040850182614bd2565b5060608201516155566060850182614bd2565b5060808201516155696080850182615802565b5060a082015161557c60a0850182615802565b5060c082015161558f60c0850182615802565b5060e08201516155a260e0850182615802565b506101008201516155b7610100850182615802565b506101208201516155cc610120850182615802565b506101408201516155e1610140850182615802565b506101608201516155f6610160850182615802565b5061018082015161560b610180850182615802565b506101a08201516156206101a0850182615802565b506101c08201516156356101c0850182615802565b50505050565b6101e0820160008201516156526000850182614bd2565b5060208201516156656020850182614ec7565b5060408201516156786040850182614bd2565b50606082015161568b6060850182614bd2565b50608082015161569e6080850182615802565b5060a08201516156b160a0850182615802565b5060c08201516156c460c0850182615802565b5060e08201516156d760e0850182615802565b506101008201516156ec610100850182615802565b50610120820151615701610120850182615802565b50610140820151615716610140850182615802565b5061016082015161572b610160850182615802565b50610180820151615740610180850182615802565b506101a08201516157556101a0850182615802565b506101c082015161576a6101c0850182615802565b50505050565b6060820160008201516157866000850182614bd2565b5060208201516157996020850182615802565b5060408201516157ac6040850182614ec7565b50505050565b60006060830160008301516157ca6000860182614bd2565b50602083015184820360208601526157e28282614f03565b91505060408301516157f76040860182615820565b508091505092915050565b61580b81615d87565b82525050565b61581a81615d87565b82525050565b61582981615d91565b82525050565b60006020820190506158446000830184614be1565b92915050565b600060408201905061585f6000830185614be1565b61586c6020830184614ed6565b9392505050565b60006040820190506158886000830185614be1565b6158956020830184615811565b9392505050565b60006060820190506158b16000830186614be1565b6158be6020830185615811565b6158cb6040830184614ed6565b949350505050565b600060208201905081810360008301526158ed8184614cac565b905092915050565b6000602082019050818103600083015261590f8184614d21565b905092915050565b600060208201905081810360008301526159318184614d96565b905092915050565b600060208201905081810360008301526159538184614e52565b905092915050565b60006020820190506159706000830184614ed6565b92915050565b600060208201905061598b6000830184614ee5565b92915050565b60006020820190506159a66000830184614ef4565b92915050565b600060208201905081810360008301526159c68184614f3c565b905092915050565b600060208201905081810360008301526159e781614f75565b9050919050565b60006020820190508181036000830152615a088184614fe4565b905092915050565b60006020820190508181036000830152615a2a8184615216565b905092915050565b60006020820190508181036000830152615a4c81846153fb565b905092915050565b60006101e082019050615a6a600083018461563b565b92915050565b6000602082019050615a856000830184615811565b92915050565b6000606082019050615aa06000830186615811565b615aad6020830185614be1565b615aba6040830184614be1565b949350505050565b6000604051905081810181811067ffffffffffffffff82111715615ae957615ae8615e19565b5b8060405250919050565b600067ffffffffffffffff821115615b0e57615b0d615e19565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615b3a57615b39615e19565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615b6657615b65615e19565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000615d4282615d67565b9050919050565b60008115159050919050565b6000615d6082615d37565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000615da982615db0565b9050919050565b6000615dbb82615d67565b9050919050565b6000615dcd82615dd4565b9050919050565b6000615ddf82615d67565b9050919050565b60005b83811015615e04578082015181840152602081019050615de9565b83811115615e13576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b615e3581615d37565b8114615e4057600080fd5b50565b615e4c81615d49565b8114615e5757600080fd5b50565b615e6381615d55565b8114615e6e57600080fd5b50565b615e7a81615d87565b8114615e8557600080fd5b50565b615e9181615d91565b8114615e9c57600080fd5b5056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212200ad158fab81d005c37e0bc210bd47040e26a5a19b21cdef465cc20194f518c4164736f6c63430007060033";
|
|
917
|
+
var DataCompressor__factory = /** @class */ (function (_super) {
|
|
918
|
+
__extends(DataCompressor__factory, _super);
|
|
919
|
+
function DataCompressor__factory(signer) {
|
|
920
|
+
return _super.call(this, _abi, _bytecode, signer) || this;
|
|
921
|
+
}
|
|
922
|
+
DataCompressor__factory.prototype.deploy = function (_addressProvider, overrides) {
|
|
923
|
+
return _super.prototype.deploy.call(this, _addressProvider, overrides || {});
|
|
924
|
+
};
|
|
925
|
+
DataCompressor__factory.prototype.getDeployTransaction = function (_addressProvider, overrides) {
|
|
926
|
+
return _super.prototype.getDeployTransaction.call(this, _addressProvider, overrides || {});
|
|
927
|
+
};
|
|
928
|
+
DataCompressor__factory.prototype.attach = function (address) {
|
|
929
|
+
return _super.prototype.attach.call(this, address);
|
|
930
|
+
};
|
|
931
|
+
DataCompressor__factory.prototype.connect = function (signer) {
|
|
932
|
+
return _super.prototype.connect.call(this, signer);
|
|
933
|
+
};
|
|
934
|
+
DataCompressor__factory.createInterface = function () {
|
|
935
|
+
return new ethers_1.utils.Interface(_abi);
|
|
936
|
+
};
|
|
937
|
+
DataCompressor__factory.connect = function (address, signerOrProvider) {
|
|
938
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
939
|
+
};
|
|
940
|
+
DataCompressor__factory.bytecode = _bytecode;
|
|
941
|
+
DataCompressor__factory.abi = _abi;
|
|
942
|
+
return DataCompressor__factory;
|
|
943
|
+
}(ethers_1.ContractFactory));
|
|
944
|
+
exports.DataCompressor__factory = DataCompressor__factory;
|