@gearbox-protocol/sdk 0.0.2
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,483 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
TokenDistributor,
|
|
9
|
+
TokenDistributorInterface,
|
|
10
|
+
} from "../TokenDistributor";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "contract AddressProvider",
|
|
17
|
+
name: "addressProvider",
|
|
18
|
+
type: "address",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
stateMutability: "nonpayable",
|
|
22
|
+
type: "constructor",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
anonymous: false,
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
indexed: true,
|
|
29
|
+
internalType: "address",
|
|
30
|
+
name: "holder",
|
|
31
|
+
type: "address",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
indexed: true,
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "vestingContract",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
indexed: false,
|
|
41
|
+
internalType: "enum TokenDistributor.VotingPower",
|
|
42
|
+
name: "votingPower",
|
|
43
|
+
type: "uint8",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
name: "NewVestingContract",
|
|
47
|
+
type: "event",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
anonymous: false,
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
indexed: false,
|
|
54
|
+
internalType: "uint256",
|
|
55
|
+
name: "weightA",
|
|
56
|
+
type: "uint256",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
indexed: false,
|
|
60
|
+
internalType: "uint256",
|
|
61
|
+
name: "weightB",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
name: "NewWeights",
|
|
66
|
+
type: "event",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
anonymous: false,
|
|
70
|
+
inputs: [
|
|
71
|
+
{
|
|
72
|
+
indexed: false,
|
|
73
|
+
internalType: "address",
|
|
74
|
+
name: "account",
|
|
75
|
+
type: "address",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: "Paused",
|
|
79
|
+
type: "event",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
anonymous: false,
|
|
83
|
+
inputs: [
|
|
84
|
+
{
|
|
85
|
+
indexed: false,
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "account",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "Unpaused",
|
|
92
|
+
type: "event",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
anonymous: false,
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
indexed: true,
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "vestingContract",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
indexed: true,
|
|
105
|
+
internalType: "address",
|
|
106
|
+
name: "prevHolder",
|
|
107
|
+
type: "address",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
indexed: true,
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "newHolder",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
name: "VestingContractHolderUpdate",
|
|
117
|
+
type: "event",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
inputs: [
|
|
121
|
+
{
|
|
122
|
+
internalType: "address",
|
|
123
|
+
name: "holder",
|
|
124
|
+
type: "address",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
name: "balanceOf",
|
|
128
|
+
outputs: [
|
|
129
|
+
{
|
|
130
|
+
internalType: "uint256",
|
|
131
|
+
name: "",
|
|
132
|
+
type: "uint256",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
stateMutability: "view",
|
|
136
|
+
type: "function",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [],
|
|
140
|
+
name: "contributorsList",
|
|
141
|
+
outputs: [
|
|
142
|
+
{
|
|
143
|
+
internalType: "address[]",
|
|
144
|
+
name: "",
|
|
145
|
+
type: "address[]",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
stateMutability: "view",
|
|
149
|
+
type: "function",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
inputs: [],
|
|
153
|
+
name: "countContributors",
|
|
154
|
+
outputs: [
|
|
155
|
+
{
|
|
156
|
+
internalType: "uint256",
|
|
157
|
+
name: "",
|
|
158
|
+
type: "uint256",
|
|
159
|
+
},
|
|
160
|
+
],
|
|
161
|
+
stateMutability: "view",
|
|
162
|
+
type: "function",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
inputs: [],
|
|
166
|
+
name: "defaultWeightA",
|
|
167
|
+
outputs: [
|
|
168
|
+
{
|
|
169
|
+
internalType: "uint256",
|
|
170
|
+
name: "",
|
|
171
|
+
type: "uint256",
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
stateMutability: "view",
|
|
175
|
+
type: "function",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
inputs: [],
|
|
179
|
+
name: "defaultWeightB",
|
|
180
|
+
outputs: [
|
|
181
|
+
{
|
|
182
|
+
internalType: "uint256",
|
|
183
|
+
name: "",
|
|
184
|
+
type: "uint256",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
stateMutability: "view",
|
|
188
|
+
type: "function",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
inputs: [
|
|
192
|
+
{
|
|
193
|
+
components: [
|
|
194
|
+
{
|
|
195
|
+
components: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "address",
|
|
198
|
+
name: "holder",
|
|
199
|
+
type: "address",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
internalType: "uint256",
|
|
203
|
+
name: "amount",
|
|
204
|
+
type: "uint256",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
internalType: "bool",
|
|
208
|
+
name: "isCompany",
|
|
209
|
+
type: "bool",
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
internalType: "struct TokenDistributor.TokenShare[]",
|
|
213
|
+
name: "contributorsA",
|
|
214
|
+
type: "tuple[]",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
components: [
|
|
218
|
+
{
|
|
219
|
+
internalType: "address",
|
|
220
|
+
name: "holder",
|
|
221
|
+
type: "address",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
internalType: "uint256",
|
|
225
|
+
name: "amount",
|
|
226
|
+
type: "uint256",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
internalType: "bool",
|
|
230
|
+
name: "isCompany",
|
|
231
|
+
type: "bool",
|
|
232
|
+
},
|
|
233
|
+
],
|
|
234
|
+
internalType: "struct TokenDistributor.TokenShare[]",
|
|
235
|
+
name: "contributorsB",
|
|
236
|
+
type: "tuple[]",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
internalType: "uint256",
|
|
240
|
+
name: "treasuryAmount",
|
|
241
|
+
type: "uint256",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
internalType: "address",
|
|
245
|
+
name: "accountMiner",
|
|
246
|
+
type: "address",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
internalType: "uint256",
|
|
250
|
+
name: "accountsToBeMined",
|
|
251
|
+
type: "uint256",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "testersAirdrop",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
internalType: "uint256",
|
|
260
|
+
name: "airdropAmount",
|
|
261
|
+
type: "uint256",
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
internalType: "struct TokenDistributor.TokenDistributionOpts",
|
|
265
|
+
name: "opts",
|
|
266
|
+
type: "tuple",
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
name: "distributeTokens",
|
|
270
|
+
outputs: [],
|
|
271
|
+
stateMutability: "nonpayable",
|
|
272
|
+
type: "function",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
inputs: [],
|
|
276
|
+
name: "gearToken",
|
|
277
|
+
outputs: [
|
|
278
|
+
{
|
|
279
|
+
internalType: "contract GearToken",
|
|
280
|
+
name: "",
|
|
281
|
+
type: "address",
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
stateMutability: "view",
|
|
285
|
+
type: "function",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
inputs: [],
|
|
289
|
+
name: "masterVestingContract",
|
|
290
|
+
outputs: [
|
|
291
|
+
{
|
|
292
|
+
internalType: "address",
|
|
293
|
+
name: "",
|
|
294
|
+
type: "address",
|
|
295
|
+
},
|
|
296
|
+
],
|
|
297
|
+
stateMutability: "view",
|
|
298
|
+
type: "function",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
inputs: [],
|
|
302
|
+
name: "pause",
|
|
303
|
+
outputs: [],
|
|
304
|
+
stateMutability: "nonpayable",
|
|
305
|
+
type: "function",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
inputs: [],
|
|
309
|
+
name: "paused",
|
|
310
|
+
outputs: [
|
|
311
|
+
{
|
|
312
|
+
internalType: "bool",
|
|
313
|
+
name: "",
|
|
314
|
+
type: "bool",
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
stateMutability: "view",
|
|
318
|
+
type: "function",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
inputs: [],
|
|
322
|
+
name: "steps",
|
|
323
|
+
outputs: [
|
|
324
|
+
{
|
|
325
|
+
internalType: "uint256",
|
|
326
|
+
name: "",
|
|
327
|
+
type: "uint256",
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
stateMutability: "view",
|
|
331
|
+
type: "function",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
inputs: [],
|
|
335
|
+
name: "unpause",
|
|
336
|
+
outputs: [],
|
|
337
|
+
stateMutability: "nonpayable",
|
|
338
|
+
type: "function",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
inputs: [],
|
|
342
|
+
name: "updateContributors",
|
|
343
|
+
outputs: [],
|
|
344
|
+
stateMutability: "nonpayable",
|
|
345
|
+
type: "function",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
inputs: [
|
|
349
|
+
{
|
|
350
|
+
internalType: "address",
|
|
351
|
+
name: "prevOwner",
|
|
352
|
+
type: "address",
|
|
353
|
+
},
|
|
354
|
+
],
|
|
355
|
+
name: "updateVestingHolder",
|
|
356
|
+
outputs: [],
|
|
357
|
+
stateMutability: "nonpayable",
|
|
358
|
+
type: "function",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
inputs: [
|
|
362
|
+
{
|
|
363
|
+
internalType: "uint256",
|
|
364
|
+
name: "_weightA",
|
|
365
|
+
type: "uint256",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
internalType: "uint256",
|
|
369
|
+
name: "_weightB",
|
|
370
|
+
type: "uint256",
|
|
371
|
+
},
|
|
372
|
+
],
|
|
373
|
+
name: "updateVotingWeights",
|
|
374
|
+
outputs: [],
|
|
375
|
+
stateMutability: "nonpayable",
|
|
376
|
+
type: "function",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
inputs: [
|
|
380
|
+
{
|
|
381
|
+
internalType: "address",
|
|
382
|
+
name: "",
|
|
383
|
+
type: "address",
|
|
384
|
+
},
|
|
385
|
+
],
|
|
386
|
+
name: "vestingContracts",
|
|
387
|
+
outputs: [
|
|
388
|
+
{
|
|
389
|
+
internalType: "address",
|
|
390
|
+
name: "contractAddress",
|
|
391
|
+
type: "address",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
internalType: "enum TokenDistributor.VotingPower",
|
|
395
|
+
name: "votingPower",
|
|
396
|
+
type: "uint8",
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
stateMutability: "view",
|
|
400
|
+
type: "function",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
inputs: [],
|
|
404
|
+
name: "vestingContractsList",
|
|
405
|
+
outputs: [
|
|
406
|
+
{
|
|
407
|
+
internalType: "address[]",
|
|
408
|
+
name: "",
|
|
409
|
+
type: "address[]",
|
|
410
|
+
},
|
|
411
|
+
],
|
|
412
|
+
stateMutability: "view",
|
|
413
|
+
type: "function",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
inputs: [],
|
|
417
|
+
name: "weightA",
|
|
418
|
+
outputs: [
|
|
419
|
+
{
|
|
420
|
+
internalType: "uint256",
|
|
421
|
+
name: "",
|
|
422
|
+
type: "uint256",
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
stateMutability: "view",
|
|
426
|
+
type: "function",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
inputs: [],
|
|
430
|
+
name: "weightB",
|
|
431
|
+
outputs: [
|
|
432
|
+
{
|
|
433
|
+
internalType: "uint256",
|
|
434
|
+
name: "",
|
|
435
|
+
type: "uint256",
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
stateMutability: "view",
|
|
439
|
+
type: "function",
|
|
440
|
+
},
|
|
441
|
+
];
|
|
442
|
+
|
|
443
|
+
const _bytecode =
|
|
444
|
+
"0x60806040523480156200001157600080fd5b5060405162004d3d38038062004d3d833981810160405281019062000037919062000503565b8060008060006101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a300000000000000000000000000000000000000000000000000000000000008152509062000163576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620001275780820151818401526020810190506200010a565b50505050905090810190601f168015620001555780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508073ffffffffffffffffffffffffffffffffffffffff1663087376956040518163ffffffff1660e01b815260040160206040518083038186803b158015620001ab57600080fd5b505afa158015620001c0573d6000803e3d6000fd5b505050506040513d6020811015620001d757600080fd5b8101908080519060200190929190505050600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550508073ffffffffffffffffffffffffffffffffffffffff1663affd92436040518163ffffffff1660e01b815260040160206040518083038186803b1580156200027057600080fd5b505afa15801562000285573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ab9190620004d7565b600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166326c74fc36040518163ffffffff1660e01b815260040160206040518083038186803b1580156200033257600080fd5b505afa15801562000347573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200036d9190620004d7565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003c36109c46104e2620003ca60201b60201c565b50620006bb565b6127108211158015620003dd5750818111155b6040518060400160405280600381526020017f54443200000000000000000000000000000000000000000000000000000000008152509062000457576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044e919062000581565b60405180910390fd5b5081600781905550806008819055507f6a8a78d89b95966fb2420f2d0a39d94f0a67fce96042359cae9e4d8c8828027b6007546008546040516200049d929190620005a5565b60405180910390a15050565b600081519050620004ba8162000687565b92915050565b600081519050620004d181620006a1565b92915050565b600060208284031215620004ea57600080fd5b6000620004fa84828501620004a9565b91505092915050565b6000602082840312156200051657600080fd5b60006200052684828501620004c0565b91505092915050565b60006200053c82620005d2565b620005488185620005dd565b93506200055a81856020860162000640565b620005658162000676565b840191505092915050565b6200057b8162000636565b82525050565b600060208201905081810360008301526200059d81846200052f565b905092915050565b6000604082019050620005bc600083018562000570565b620005cb602083018462000570565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000620005fb8262000616565b9050919050565b60006200060f82620005ee565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200066057808201518184015260208101905062000643565b8381111562000670576000848401525b50505050565b6000601f19601f8301169050919050565b6200069281620005ee565b81146200069e57600080fd5b50565b620006ac8162000602565b8114620006b857600080fd5b50565b61467280620006cb6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80638456cb59116100ad578063d22cb29e11610071578063d22cb29e146102b1578063d77395cf146102cd578063f3417767146102eb578063f42b68bb14610307578063fe3f50951461032557610121565b80638456cb591461024357806399c1a8ec1461024d578063bc5432a81461026b578063c9f0c81114610289578063ca2f8c21146102a757610121565b806345f02a5b116100f457806345f02a5b1461019b57806349a3218d146101b95780635c975abb146101d757806360192799146101f557806370a082311461021357610121565b806302d424f7146101265780630bb0ffeb1461014257806337915874146101605780633f4ba83a14610191575b600080fd5b610140600480360381019061013b9190612af3565b610343565b005b61014a6104f2565b6040516101579190612dd6565b60405180910390f35b61017a600480360381019061017591906129bc565b610503565b604051610188929190612c71565b60405180910390f35b610199610554565b005b6101a36106ff565b6040516101b09190612cc3565b60405180910390f35b6101c16107d8565b6040516101ce9190612d00565b60405180910390f35b6101df6107fe565b6040516101ec9190612ce5565b60405180910390f35b6101fd610814565b60405161020a9190612dd6565b60405180910390f35b61022d600480360381019061022891906129bc565b61081a565b60405161023a9190612dd6565b60405180910390f35b61024b610bd5565b005b610255610d80565b6040516102629190612dd6565b60405180910390f35b610273610d86565b6040516102809190612c56565b60405180910390f35b610291610dac565b60405161029e9190612cc3565b60405180910390f35b6102af610ee7565b005b6102cb60048036038101906102c691906129bc565b610fe8565b005b6102d56114dd565b6040516102e29190612dd6565b60405180910390f35b61030560048036038101906103009190612a60565b6114e3565b005b61030f611bac565b60405161031c9190612dd6565b60405180910390f35b61032d611bb2565b60405161033a9190612dd6565b60405180910390f35b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635f259aba336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156103cc57600080fd5b505afa1580156103e0573d6000803e3d6000fd5b505050506040513d60208110156103f657600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c3200000000000000000000000000000000000000000000000000000000815250906104e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156104a857808201518184015260208101905061048d565b50505050905090810190601f1680156104d55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506104ee8282611bb8565b5050565b60006104fe6005611c91565b905090565b60046020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16905082565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d4eb5db0336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156105dd57600080fd5b505afa1580156105f1573d6000803e3d6000fd5b505050506040513d602081101561060757600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c3100000000000000000000000000000000000000000000000000000000815250906106f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156106b957808201518184015260208101905061069e565b50505050905090810190601f1680156106e65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506106fd611ca6565b565b6060600061070d6005611c91565b67ffffffffffffffff8111801561072357600080fd5b506040519080825280602002602001820160405280156107525781602001602082028036833780820191505090505b50905060005b6107626005611c91565b8110156107d05761077d816005611d9090919063ffffffff16565b82828151811061078957fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080600101915050610758565b508091505090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900460ff16905090565b61271081565b6000806000600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1660028111156108dd57fe5b60028111156108e857fe5b815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614158015610949575060028081111561093657fe5b8160200151600281111561094657fe5b14155b15610b0f576000816000015173ffffffffffffffffffffffffffffffffffffffff1663f7260d3e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561099a57600080fd5b505afa1580156109ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d291906129e5565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b0d57610b0a612710610afc60006002811115610a1e57fe5b85602001516002811115610a2e57fe5b14610a3b57600854610a3f565b6007545b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a0823187600001516040518263ffffffff1660e01b8152600401610a9e9190612c56565b60206040518083038186803b158015610ab657600080fd5b505afa158015610aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aee9190612aca565b611daa90919063ffffffff16565b611e3090919063ffffffff16565b92505b505b610bcc600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401610b6d9190612c56565b60206040518083038186803b158015610b8557600080fd5b505afa158015610b99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbd9190612aca565b83611eb990919063ffffffff16565b92505050919050565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633a41ec64336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610c5e57600080fd5b505afa158015610c72573d6000803e3d6000fd5b505050506040513d6020811015610c8857600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525090610d75576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d3a578082015181840152602081019050610d1f565b50505050905090810190601f168015610d675780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50610d7e611f41565b565b60075481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000610dba6005611c91565b67ffffffffffffffff81118015610dd057600080fd5b50604051908082528060200260200182016040528015610dff5781602001602082028036833780820191505090505b50905060005b610e0f6005611c91565b811015610edf5760046000610e2e836005611d9090919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828281518110610e9857fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080600101915050610e05565b508091505090565b6000610ef36005611c91565b67ffffffffffffffff81118015610f0957600080fd5b50604051908082528060200260200182016040528015610f385781602001602082028036833780820191505090505b50905060005b8151811015610fae57610f5b816005611d9090919063ffffffff16565b828281518110610f6757fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080600101915050610f3e565b5060005b8151811015610fe457610fd7828281518110610fca57fe5b6020026020010151610fe8565b8080600101915050610fb2565b5050565b610ffc81600561202c90919063ffffffff16565b6040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525090611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a9190612db4565b60405180910390fd5b506000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff16600281111561113457fe5b600281111561113f57fe5b8152505090506000816000015173ffffffffffffffffffffffffffffffffffffffff1663f7260d3e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561119157600080fd5b505afa1580156111a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c991906129e5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146114d857600073ffffffffffffffffffffffffffffffffffffffff16600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525090611307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fe9190612db4565b60405180910390fd5b50600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549060ff0219169055505061139983600561205c90919063ffffffff16565b5081600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff0219169083600281111561144557fe5b021790555090505061146181600561208c90919063ffffffff16565b508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff167f829f502d3a7684a001c9a89e909d033441d133b8c9dba3670db08d00f24907f460405160405180910390a45b505050565b6109c481565b600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635f259aba336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561156c57600080fd5b505afa158015611580573d6000803e3d6000fd5b505050506040513d602081101561159657600080fd5b81019080805190602001909291905050506040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525090611683576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561164857808201518184015260208101905061162d565b50505050905090810190601f1680156116755780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060005b8180600001906116979190612e1a565b90508110156116e7576116da8280600001906116b39190612e1a565b838181106116bd57fe5b9050606002018036038101906116d39190612aa1565b60006120bc565b8080600101915050611687565b5060005b8180602001906116fb9190612e1a565b90508110156117895761177c8280602001906117179190612e1a565b8381811061172157fe5b9050606002018036038101906117379190612aa1565b8380602001906117479190612e1a565b8481811061175157fe5b90506060020160400160208101906117699190612a0e565b611774576001611777565b60025b6120bc565b80806001019150506116eb565b50600081606001602081019061179f91906129bc565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684604001356040518363ffffffff1660e01b8152600401611824929190612c9a565b602060405180830381600087803b15801561183e57600080fd5b505af1158015611852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118769190612a37565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8360a00160208101906118c891906129bc565b8460c001356040518363ffffffff1660e01b81526004016118ea929190612c9a565b602060405180830381600087803b15801561190457600080fd5b505af1158015611918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061193c9190612a37565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83606001602081019061198e91906129bc565b84608001358473ffffffffffffffffffffffffffffffffffffffff1663aa8c217c6040518163ffffffff1660e01b815260040160206040518083038186803b1580156119d957600080fd5b505afa1580156119ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a119190612aca565b026040518363ffffffff1660e01b8152600401611a2f929190612c9a565b602060405180830381600087803b158015611a4957600080fd5b505af1158015611a5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a819190612a37565b506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611adf9190612c56565b60206040518083038186803b158015611af757600080fd5b505afa158015611b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2f9190612aca565b146040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525090611ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9e9190612db4565b60405180910390fd5b505050565b60085481565b6104e281565b6127108211158015611bca5750818111155b6040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525090611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c389190612db4565b60405180910390fd5b5081600781905550806008819055507f6a8a78d89b95966fb2420f2d0a39d94f0a67fce96042359cae9e4d8c8828027b600754600854604051611c85929190612df1565b60405180910390a15050565b6000611c9f82600001612597565b9050919050565b611cae6107fe565b611d20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d636125a8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000611d9f83600001836125b0565b60001c905092915050565b600080831415611dbd5760009050611e2a565b6000828402905082848281611dce57fe5b0414611e25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061461c6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611ea7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611eb057fe5b04905092915050565b600080828401905083811015611f37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611f496107fe565b15611fbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611fff6125a8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000612054836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612633565b905092915050565b6000612084836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612656565b905092915050565b60006120b4836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61273e565b905092915050565b6120d48260000151600561202c90919063ffffffff16565b156040518060400160405280600381526020017f54443100000000000000000000000000000000000000000000000000000000008152509061214c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121439190612db4565b60405180910390fd5b50600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561220e576040516121b0906128b6565b604051809103906000f0801580156121cc573d6000803e3d6000fd5b50600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60008061221b6005611c91565b146122505761224b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127ae565b612274565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90508073ffffffffffffffffffffffffffffffffffffffff1663848ff684600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426301e13380612710600060028111156122cb57fe5b8860028111156122d757fe5b146122f357600260036301e1338002816122ed57fe5b046122f9565b6301e133805b8161230057fe5b0460006127108a602001518161231257fe5b046127108b600001516040518963ffffffff1660e01b815260040161233e989796959493929190612d1b565b600060405180830381600087803b15801561235857600080fd5b505af115801561236c573d6000803e3d6000fd5b505050506123888360000151600561208c90919063ffffffff16565b5060405180604001604052808273ffffffffffffffffffffffffffffffffffffffff1681526020018360028111156123bc57fe5b81525060046000856000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff0219169083600281111561246d57fe5b0217905550905050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8285602001516040518363ffffffff1660e01b81526004016124d6929190612c9a565b602060405180830381600087803b1580156124f057600080fd5b505af1158015612504573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125289190612a37565b508073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff167f141a859bba971f036a34fe6daea60ddd05b0e7caa1d46ceb031eeb4225fad3f08460405161258a9190612d99565b60405180910390a3505050565b600081600001805490509050919050565b600033905090565b600081836000018054905011612611576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806145fa6022913960400191505060405180910390fd5b82600001828154811061262057fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6000808360010160008481526020019081526020016000205490506000811461273257600060018203905060006001866000018054905003905060008660000182815481106126a157fe5b90600052602060002001549050808760000184815481106126be57fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806126f657fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050612738565b60009150505b92915050565b600061274a8383612633565b6127a35782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506127a8565b600090505b92915050565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f0915050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f455243313136373a20637265617465206661696c65640000000000000000000081525060200191505060405180910390fd5b919050565b61159c8061305e83390190565b6000813590506128d281613018565b92915050565b6000815190506128e781613018565b92915050565b6000813590506128fc8161302f565b92915050565b6000815190506129118161302f565b92915050565b600060e0828403121561292957600080fd5b81905092915050565b60006060828403121561294457600080fd5b61294e6060612e71565b9050600061295e848285016128c3565b600083015250602061297284828501612992565b6020830152506040612986848285016128ed565b60408301525092915050565b6000813590506129a181613046565b92915050565b6000815190506129b681613046565b92915050565b6000602082840312156129ce57600080fd5b60006129dc848285016128c3565b91505092915050565b6000602082840312156129f757600080fd5b6000612a05848285016128d8565b91505092915050565b600060208284031215612a2057600080fd5b6000612a2e848285016128ed565b91505092915050565b600060208284031215612a4957600080fd5b6000612a5784828501612902565b91505092915050565b600060208284031215612a7257600080fd5b600082013567ffffffffffffffff811115612a8c57600080fd5b612a9884828501612917565b91505092915050565b600060608284031215612ab357600080fd5b6000612ac184828501612932565b91505092915050565b600060208284031215612adc57600080fd5b6000612aea848285016129a7565b91505092915050565b60008060408385031215612b0657600080fd5b6000612b1485828601612992565b9250506020612b2585828601612992565b9150509250929050565b6000612b3b8383612b47565b60208301905092915050565b612b5081612ef7565b82525050565b612b5f81612ef7565b82525050565b6000612b7082612eb2565b612b7a8185612ed5565b9350612b8583612ea2565b8060005b83811015612bb6578151612b9d8882612b2f565b9750612ba883612ec8565b925050600181019050612b89565b5085935050505092915050565b612bcc81612f09565b82525050565b612bdb81612f52565b82525050565b612bea81612f76565b82525050565b612bf981612f9a565b82525050565b612c0881612fac565b82525050565b6000612c1982612ebd565b612c238185612ee6565b9350612c33818560208601612fbe565b612c3c81612ff3565b840191505092915050565b612c5081612f48565b82525050565b6000602082019050612c6b6000830184612b56565b92915050565b6000604082019050612c866000830185612b56565b612c936020830184612bf0565b9392505050565b6000604082019050612caf6000830185612b56565b612cbc6020830184612c47565b9392505050565b60006020820190508181036000830152612cdd8184612b65565b905092915050565b6000602082019050612cfa6000830184612bc3565b92915050565b6000602082019050612d156000830184612bd2565b92915050565b600061010082019050612d31600083018b612be1565b612d3e602083018a612c47565b612d4b6040830189612c47565b612d586060830188612c47565b612d656080830187612bff565b612d7260a0830186612c47565b612d7f60c0830185612c47565b612d8c60e0830184612b56565b9998505050505050505050565b6000602082019050612dae6000830184612bf0565b92915050565b60006020820190508181036000830152612dce8184612c0e565b905092915050565b6000602082019050612deb6000830184612c47565b92915050565b6000604082019050612e066000830185612c47565b612e136020830184612c47565b9392505050565b60008083356001602003843603038112612e3357600080fd5b80840192508235915067ffffffffffffffff821115612e5157600080fd5b602083019250606082023603831315612e6957600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff82111715612e9857612e97612ff1565b5b8060405250919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000612f0282612f28565b9050919050565b60008115159050919050565b6000819050612f2382613004565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612f5d82612f64565b9050919050565b6000612f6f82612f28565b9050919050565b6000612f8182612f88565b9050919050565b6000612f9382612f28565b9050919050565b6000612fa582612f15565b9050919050565b6000612fb782612f48565b9050919050565b60005b83811015612fdc578082015181840152602081019050612fc1565b83811115612feb576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b6003811061301557613014612ff1565b5b50565b61302181612ef7565b811461302c57600080fd5b50565b61303881612f09565b811461304357600080fd5b50565b61304f81612f48565b811461305a57600080fd5b5056fe608060405234801561001057600080fd5b5061157c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80635d1fbf5411610097578063d85349f711610066578063d85349f7146102ff578063e834a8341461031d578063f7260d3e1461033b578063fc0c546a1461036f576100f5565b80635d1fbf54146101de578063718da7ee146101fc578063848ff68414610240578063af38d757146102e1576100f5565b806348a0d754116100d357806348a0d754146101545780634a4e5776146101725780634e71d92d146101905780635c19a95c1461019a576100f5565b80631989488b146100fa5780631f2698ab14610118578063460ad43914610136575b600080fd5b6101026103a3565b6040518082815260200191505060405180910390f35b6101206103a9565b6040518082815260200191505060405180910390f35b61013e6103af565b6040518082815260200191505060405180910390f35b61015c6103b5565b6040518082815260200191505060405180910390f35b61017a6103d8565b6040518082815260200191505060405180910390f35b6101986103de565b005b6101dc600480360360208110156101b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610518565b005b6101e661078f565b6040518082815260200191505060405180910390f35b61023e6004803603602081101561021257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610795565b005b6102df600480360361010081101561025757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a37565b005b6102e9610d30565b6040518082815260200191505060405180910390f35b610307610ddb565b6040518082815260200191505060405180910390f35b610325610de1565b6040518082815260200191505060405180910390f35b610343610de7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610377610e0d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60065481565b60015481565b60055481565b60006103d36009546103c5610d30565b610e3390919063ffffffff16565b905090565b60045481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b60006104ab6103b5565b90506104c281600954610eb690919063ffffffff16565b6009819055506105153382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f3e9092919063ffffffff16565b50565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a30000000000000000000000000000000000000000000000000000000000000815250906106e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156106ad578082015181840152602081019050610692565b50505050905090810190601f1680156106da5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c19a95c826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561077457600080fd5b505af1158015610788573d6000803e3d6000fd5b5050505050565b60075481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f6163636573732064656e6965640000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525090610965576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561092a57808201518184015260208101905061090f565b50505050905090810190601f1680156109575780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b507fd36aafedb017e43b79d3cf6aa1987d3fbb9fff33e1738c71dbf6b2abaadbded0600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a180600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060019054906101000a900460ff1680610a565750610a55610fe0565b5b80610a6c575060008054906101000a900460ff16155b610ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806114ce602e913960400191505060405180910390fd5b60008060019054906101000a900460ff161590508015610b11576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b600073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614158015610b7b5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b6040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525090610c57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c1c578082015181840152602081019050610c01565b50505050905090810190601f168015610c495780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5088600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555087600181905550866003819055508560048190555084600581905550836006819055508260078190555081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508015610d255760008060016101000a81548160ff0219169083151502179055505b505050505050505050565b6000610d49600354600154610eb690919063ffffffff16565b421015610d595760009050610dd8565b6000610d84610d75600354600154610eb690919063ffffffff16565b42610e3390919063ffffffff16565b90506000610da8600754610da360045485610ff190919063ffffffff16565b61107a565b9050610dd3610dc26006548361109390919063ffffffff16565b600554610eb690919063ffffffff16565b925050505b90565b60035481565b60095481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600082821115610eab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015610f34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b610fdb8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611119565b505050565b6000610feb30611208565b15905090565b6000808211611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161107157fe5b04905092915050565b6000818310611089578161108b565b825b905092915050565b6000808314156110a65760009050611113565b60008284029050828482816110b757fe5b041461110e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806114fc6021913960400191505060405180910390fd5b809150505b92915050565b600061117b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661121b9092919063ffffffff16565b90506000815111156112035780806020019051602081101561119c57600080fd5b8101908080519060200190929190505050611202576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061151d602a913960400191505060405180910390fd5b5b505050565b600080823b905060008111915050919050565b606061122a8484600085611233565b90509392505050565b60608247101561128e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806114a86026913960400191505060405180910390fd5b61129785611208565b611309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106113585780518252602082019150602081019050602083039250611335565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146113ba576040519150601f19603f3d011682016040523d82523d6000602084013e6113bf565b606091505b50915091506113cf8282866113db565b92505050949350505050565b606083156113eb578290506114a0565b6000835111156113fe5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561146557808201518184015260208101905061144a565b50505050905090810190601f1680156114925780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201844d6c5ba041755d9a359a85f047dc2a1bc6591de63d540c463f21ee5aa599864736f6c63430007060033456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220e3c590a488dbc96ab65a3345ffe3a40a2849e51fd2026571cb969dc05900899464736f6c63430007060033";
|
|
445
|
+
|
|
446
|
+
export class TokenDistributor__factory extends ContractFactory {
|
|
447
|
+
constructor(signer?: Signer) {
|
|
448
|
+
super(_abi, _bytecode, signer);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
deploy(
|
|
452
|
+
addressProvider: string,
|
|
453
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
454
|
+
): Promise<TokenDistributor> {
|
|
455
|
+
return super.deploy(
|
|
456
|
+
addressProvider,
|
|
457
|
+
overrides || {}
|
|
458
|
+
) as Promise<TokenDistributor>;
|
|
459
|
+
}
|
|
460
|
+
getDeployTransaction(
|
|
461
|
+
addressProvider: string,
|
|
462
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
463
|
+
): TransactionRequest {
|
|
464
|
+
return super.getDeployTransaction(addressProvider, overrides || {});
|
|
465
|
+
}
|
|
466
|
+
attach(address: string): TokenDistributor {
|
|
467
|
+
return super.attach(address) as TokenDistributor;
|
|
468
|
+
}
|
|
469
|
+
connect(signer: Signer): TokenDistributor__factory {
|
|
470
|
+
return super.connect(signer) as TokenDistributor__factory;
|
|
471
|
+
}
|
|
472
|
+
static readonly bytecode = _bytecode;
|
|
473
|
+
static readonly abi = _abi;
|
|
474
|
+
static createInterface(): TokenDistributorInterface {
|
|
475
|
+
return new utils.Interface(_abi) as TokenDistributorInterface;
|
|
476
|
+
}
|
|
477
|
+
static connect(
|
|
478
|
+
address: string,
|
|
479
|
+
signerOrProvider: Signer | Provider
|
|
480
|
+
): TokenDistributor {
|
|
481
|
+
return new Contract(address, _abi, signerOrProvider) as TokenDistributor;
|
|
482
|
+
}
|
|
483
|
+
}
|