@pendle/core-v2 0.16.5-testnet-daily → 0.16.6-testnet
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/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +7 -3
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +27 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +28 -2
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +25 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +22 -20
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +28 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +28 -2
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +28 -2
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +28 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +28 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -3
- package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
- package/contracts/core/BulkSeller/BulkSeller.sol +11 -2
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +2 -0
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +1 -1
- package/contracts/core/libraries/Errors.sol +6 -0
- package/contracts/interfaces/IPBulkSellerFactory.sol +2 -0
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +21 -3
- package/contracts/offchain-helpers/RouterStatic.sol +1 -1
- package/contracts/router/base/MarketApproxLib.sol +6 -3
- package/deployments/43113-core.json +9 -9
- package/deployments/43113-markets/QIWBTC-3RD-FEB.json +11 -0
- package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +9 -0
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +4 -4
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +5 -4
- package/deployments/43113-testenv.json +2 -1
- package/deployments/80001-core.json +11 -11
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/package.json +1 -1
- package/typechain-types/AccessControlUpgradeable.ts +369 -0
- package/typechain-types/BulkSeller.ts +5 -4
- package/typechain-types/BulkSellerFactory.ts +21 -0
- package/typechain-types/BulkSellerOffchain.ts +60 -0
- package/typechain-types/ContextUpgradeable.ts +68 -0
- package/typechain-types/ERC165Upgradeable.ts +113 -0
- package/typechain-types/IAccessControlUpgradeable.ts +305 -0
- package/typechain-types/IERC165Upgradeable.ts +102 -0
- package/typechain-types/ILooksStaking.ts +27 -0
- package/typechain-types/IPBulkSellerFactory.ts +21 -0
- package/typechain-types/Pausable.ts +101 -0
- package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
- package/typechain-types/PendleLooksStakingSY.ts +1256 -0
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +27 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +27 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +27 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +27 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +26 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +21 -19
- package/typechain-types/factories/BulkSeller__factory.ts +6 -2
- package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/typechain-types/factories/Errors__factory.ts +27 -1
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/typechain-types/factories/ILooksStaking__factory.ts +7 -0
- package/typechain-types/factories/IPBulkSellerFactory__factory.ts +25 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +1 -1
- package/typechain-types/factories/MarketMathStatic__factory.ts +27 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pausable__factory.ts +62 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +145 -39
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1078 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +117 -0
- package/typechain-types/index.ts +24 -0
|
@@ -358,8 +358,8 @@
|
|
|
358
358
|
"type": "receive"
|
|
359
359
|
}
|
|
360
360
|
],
|
|
361
|
-
"bytecode": "0x610180604052306080523480156200001657600080fd5b50604051620018aa380380620018aa8339810160408190526200003991620001e3565b600154600160a81b900460ff161580801562000060575060018054600160a01b900460ff16105b806200009657506200007d30620001b760201b62000d3d1760201c565b15801562000096575060018054600160a01b900460ff16145b620000fe5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b17905580156200012c576001805460ff60a81b1916600160a81b1790555b6001600160a01b0380891660a05287811660c05286811660e0528581166101005284811661012052838116610140528216610160528015620001a9576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505062000278565b6001600160a01b03163b151590565b80516001600160a01b0381168114620001de57600080fd5b919050565b600080600080600080600060e0888a031215620001ff57600080fd5b6200020a88620001c6565b96506200021a60208901620001c6565b95506200022a60408901620001c6565b94506200023a60608901620001c6565b93506200024a60808901620001c6565b92506200025a60a08901620001c6565b91506200026a60c08901620001c6565b905092959891949750929550565b60805160a05160c05160e051610100516101205161014051610160516115806200032a6000396000818161024e0152610bc60152600081816102eb0152610b870152600081816102970152610b4801526000818160ea0152610aed01526000818161013b0152610a270152600081816101fa015261096001526000818161031f015261082d015260008181610482015281816104c2015281816105f50152818161063501526106b101526115806000f3fe6080604052600436106100c75760003560e01c806305b91e12146100d857806306ddc9a614610129578063078dfbe71461015d5780633659cfe61461017d5780634e71e0c81461019d5780634f1ef286146101b257806352d1902d146101c5578063552407d2146101e857806376e1df481461021c5780637c868aa11461023c5780638129fc1c1461027057806386df0976146102855780638da5cb5b146102b9578063a25228c9146102d9578063b06cc6b01461030d578063e30c397814610341576100ce565b366100ce57005b6100d6610361565b005b3480156100e457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561016957600080fd5b506100d661017836600461122f565b610373565b34801561018957600080fd5b506100d6610198366004611272565b610478565b3480156101a957600080fd5b506100d6610540565b6100d66101c03660046112a3565b6105eb565b3480156101d157600080fd5b506101da6106a4565b604051908152602001610120565b3480156101f457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561022857600080fd5b5061010c610237366004611364565b610752565b34801561024857600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561027c57600080fd5b506100d6610c0f565b34801561029157600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102c557600080fd5b5060005461010c906001600160a01b031681565b3480156102e557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561031957600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561034d57600080fd5b5060015461010c906001600160a01b031681565b61037161036c610d4c565b610d68565b565b6000546001600160a01b031633146103a65760405162461bcd60e51b815260040161039d9061138e565b60405180910390fd5b8115610457576001600160a01b0383161515806103c05750805b6104045760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161039d565b600080546040516001600160a01b038087169392169160008051602061150483398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104c05760405162461bcd60e51b815260040161039d906113c3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104f2610d8c565b6001600160a01b0316146105185760405162461bcd60e51b815260040161039d906113fd565b61052181610da8565b6040805160008082526020820190925261053d91839190610dd2565b50565b6001546001600160a01b031633811461059b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161039d565b600080546040516001600160a01b038085169392169160008051602061150483398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106335760405162461bcd60e51b815260040161039d906113c3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610665610d8c565b6001600160a01b03161461068b5760405162461bcd60e51b815260040161039d906113fd565b61069482610da8565b6106a082826001610dd2565b5050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461073f5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161039d565b506000805160206114e483398151915290565b60006001600160e01b031982166346fd07b160e01b148061078357506001600160e01b031982166316dfd9d360e31b145b8061079e57506001600160e01b03198216637298779b60e01b145b806107b957506001600160e01b031982166359be67bf60e01b145b806107d457506001600160e01b03198216630d4318d960e11b145b806107ef57506001600160e01b0319821663339748cb60e01b145b8061080a57506001600160e01b03198216631efc6ebd60e31b145b8061082557506001600160e01b03198216635b8c874f60e01b145b1561085157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216634bf713cf60e11b148061088057506001600160e01b03198216630cf8553560e31b145b8061089b57506001600160e01b03198216633af1f32960e01b145b806108b657506001600160e01b0319821663409c7a8960e01b145b806108d157506001600160e01b03198216635b67cdad60e01b145b806108ec57506001600160e01b0319821663b7d75b8b60e01b145b8061090757506001600160e01b0319821663522e181160e11b145b8061092257506001600160e01b0319821663694ab55960e01b145b8061093d57506001600160e01b0319821663178d29d360e01b145b8061095857506001600160e01b0319821663942244eb60e01b145b1561098457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216632032aecd60e01b14806109b357506001600160e01b0319821663dd371acd60e01b145b806109ce57506001600160e01b031982166335c5ef9960e11b145b806109e957506001600160e01b031982166383c71b6960e01b145b80610a0457506001600160e01b03198216631b7077d560e01b145b80610a1f57506001600160e01b031982166359d697d560e11b145b15610a4b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821662d5f59560e61b1480610a7957506001600160e01b03198216632fc6f50d60e21b145b80610a9457506001600160e01b0319821663fdd71f4360e01b145b80610aaf57506001600160e01b0319821663a000aaa960e01b145b80610aca57506001600160e01b03198216630abbc79d60e41b145b80610ae557506001600160e01b03198216631c2b981360e31b145b15610b1157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b1480610b4057506001600160e01b0319821663448b9b9560e01b145b15610b6c57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6302dbe0c760e11b6001600160e01b0319831601610bab57507f0000000000000000000000000000000000000000000000000000000000000000919050565b637dbecb7760e01b6001600160e01b0319831601610bea57507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b03198316600482015260240161039d565b600154600160a81b900460ff1615808015610c35575060018054600160a01b900460ff16105b80610c5c5750610c4430610d3d565b158015610c5c575060018054600160a01b900460ff16145b610cbf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161039d565b6001805460ff60a01b1916600160a01b1790558015610cec576001805460ff60a81b1916600160a81b1790555b610cf4610f3d565b801561053d576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b6001600160a01b03163b151590565b6000610d636000356001600160e01b031916610752565b905090565b3660008037600080366000845af43d6000803e808015610d87573d6000f35b3d6000fd5b6000805160206114e4833981519152546001600160a01b031690565b6000546001600160a01b0316331461053d5760405162461bcd60e51b815260040161039d9061138e565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e055761047383610fbe565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e5f575060408051601f3d908101601f19168201909252610e5c91810190611437565b60015b610ec25760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161039d565b6000805160206114e48339815191528114610f315760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161039d565b50610473838383611058565b600154600160a81b900460ff16610faa5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161039d565b600080546001600160a01b03191633179055565b610fc781610d3d565b6110295760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161039d565b6000805160206114e483398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61106183611083565b60008251118061106e5750805b156104735761107d83836110c3565b50505050565b61108c81610fbe565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110e88383604051806060016040528060278152602001611524602791396110ef565b9392505050565b60606110fa84610d3d565b6111555760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161039d565b600080856001600160a01b0316856040516111709190611474565b600060405180830381855af49150503d80600081146111ab576040519150601f19603f3d011682016040523d82523d6000602084013e6111b0565b606091505b50915091506111c08282866111ca565b9695505050505050565b606083156111d95750816110e8565b8251156111e95782518084602001fd5b8160405162461bcd60e51b815260040161039d9190611490565b80356001600160a01b038116811461121a57600080fd5b919050565b8035801515811461121a57600080fd5b60008060006060848603121561124457600080fd5b61124d84611203565b925061125b6020850161121f565b91506112696040850161121f565b90509250925092565b60006020828403121561128457600080fd5b6110e882611203565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156112b657600080fd5b6112bf83611203565b915060208301356001600160401b03808211156112db57600080fd5b818501915085601f8301126112ef57600080fd5b8135818111156113015761130161128d565b604051601f8201601f19908116603f011681019083821181831017156113295761132961128d565b8160405282815288602084870101111561134257600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561137657600080fd5b81356001600160e01b0319811681146110e857600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201526000805160206114c483398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206114c483398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60006020828403121561144957600080fd5b5051919050565b60005b8381101561146b578181015183820152602001611453565b50506000910152565b60008251611486818460208701611450565b9190910192915050565b60208152600082518060208401526114af816040850160208701611450565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122075a1316b9592992482c80e1438c2fdcaddadfa8ad231d51068bf7803a132289164736f6c63430008110033",
|
|
362
|
-
"deployedBytecode": "0x6080604052600436106100c75760003560e01c806305b91e12146100d857806306ddc9a614610129578063078dfbe71461015d5780633659cfe61461017d5780634e71e0c81461019d5780634f1ef286146101b257806352d1902d146101c5578063552407d2146101e857806376e1df481461021c5780637c868aa11461023c5780638129fc1c1461027057806386df0976146102855780638da5cb5b146102b9578063a25228c9146102d9578063b06cc6b01461030d578063e30c397814610341576100ce565b366100ce57005b6100d6610361565b005b3480156100e457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561016957600080fd5b506100d661017836600461122f565b610373565b34801561018957600080fd5b506100d6610198366004611272565b610478565b3480156101a957600080fd5b506100d6610540565b6100d66101c03660046112a3565b6105eb565b3480156101d157600080fd5b506101da6106a4565b604051908152602001610120565b3480156101f457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561022857600080fd5b5061010c610237366004611364565b610752565b34801561024857600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561027c57600080fd5b506100d6610c0f565b34801561029157600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102c557600080fd5b5060005461010c906001600160a01b031681565b3480156102e557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561031957600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561034d57600080fd5b5060015461010c906001600160a01b031681565b61037161036c610d4c565b610d68565b565b6000546001600160a01b031633146103a65760405162461bcd60e51b815260040161039d9061138e565b60405180910390fd5b8115610457576001600160a01b0383161515806103c05750805b6104045760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161039d565b600080546040516001600160a01b038087169392169160008051602061150483398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104c05760405162461bcd60e51b815260040161039d906113c3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104f2610d8c565b6001600160a01b0316146105185760405162461bcd60e51b815260040161039d906113fd565b61052181610da8565b6040805160008082526020820190925261053d91839190610dd2565b50565b6001546001600160a01b031633811461059b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161039d565b600080546040516001600160a01b038085169392169160008051602061150483398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106335760405162461bcd60e51b815260040161039d906113c3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610665610d8c565b6001600160a01b03161461068b5760405162461bcd60e51b815260040161039d906113fd565b61069482610da8565b6106a082826001610dd2565b5050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461073f5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161039d565b506000805160206114e483398151915290565b60006001600160e01b031982166346fd07b160e01b148061078357506001600160e01b031982166316dfd9d360e31b145b8061079e57506001600160e01b03198216637298779b60e01b145b806107b957506001600160e01b031982166359be67bf60e01b145b806107d457506001600160e01b03198216630d4318d960e11b145b806107ef57506001600160e01b0319821663339748cb60e01b145b8061080a57506001600160e01b03198216631efc6ebd60e31b145b8061082557506001600160e01b03198216635b8c874f60e01b145b1561085157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216634bf713cf60e11b148061088057506001600160e01b03198216630cf8553560e31b145b8061089b57506001600160e01b03198216633af1f32960e01b145b806108b657506001600160e01b0319821663409c7a8960e01b145b806108d157506001600160e01b03198216635b67cdad60e01b145b806108ec57506001600160e01b0319821663b7d75b8b60e01b145b8061090757506001600160e01b0319821663522e181160e11b145b8061092257506001600160e01b0319821663694ab55960e01b145b8061093d57506001600160e01b0319821663178d29d360e01b145b8061095857506001600160e01b0319821663942244eb60e01b145b1561098457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216632032aecd60e01b14806109b357506001600160e01b0319821663dd371acd60e01b145b806109ce57506001600160e01b031982166335c5ef9960e11b145b806109e957506001600160e01b031982166383c71b6960e01b145b80610a0457506001600160e01b03198216631b7077d560e01b145b80610a1f57506001600160e01b031982166359d697d560e11b145b15610a4b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821662d5f59560e61b1480610a7957506001600160e01b03198216632fc6f50d60e21b145b80610a9457506001600160e01b0319821663fdd71f4360e01b145b80610aaf57506001600160e01b0319821663a000aaa960e01b145b80610aca57506001600160e01b03198216630abbc79d60e41b145b80610ae557506001600160e01b03198216631c2b981360e31b145b15610b1157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b1480610b4057506001600160e01b0319821663448b9b9560e01b145b15610b6c57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6302dbe0c760e11b6001600160e01b0319831601610bab57507f0000000000000000000000000000000000000000000000000000000000000000919050565b637dbecb7760e01b6001600160e01b0319831601610bea57507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b03198316600482015260240161039d565b600154600160a81b900460ff1615808015610c35575060018054600160a01b900460ff16105b80610c5c5750610c4430610d3d565b158015610c5c575060018054600160a01b900460ff16145b610cbf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161039d565b6001805460ff60a01b1916600160a01b1790558015610cec576001805460ff60a81b1916600160a81b1790555b610cf4610f3d565b801561053d576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b6001600160a01b03163b151590565b6000610d636000356001600160e01b031916610752565b905090565b3660008037600080366000845af43d6000803e808015610d87573d6000f35b3d6000fd5b6000805160206114e4833981519152546001600160a01b031690565b6000546001600160a01b0316331461053d5760405162461bcd60e51b815260040161039d9061138e565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e055761047383610fbe565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e5f575060408051601f3d908101601f19168201909252610e5c91810190611437565b60015b610ec25760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161039d565b6000805160206114e48339815191528114610f315760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161039d565b50610473838383611058565b600154600160a81b900460ff16610faa5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161039d565b600080546001600160a01b03191633179055565b610fc781610d3d565b6110295760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161039d565b6000805160206114e483398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61106183611083565b60008251118061106e5750805b156104735761107d83836110c3565b50505050565b61108c81610fbe565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110e88383604051806060016040528060278152602001611524602791396110ef565b9392505050565b60606110fa84610d3d565b6111555760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161039d565b600080856001600160a01b0316856040516111709190611474565b600060405180830381855af49150503d80600081146111ab576040519150601f19603f3d011682016040523d82523d6000602084013e6111b0565b606091505b50915091506111c08282866111ca565b9695505050505050565b606083156111d95750816110e8565b8251156111e95782518084602001fd5b8160405162461bcd60e51b815260040161039d9190611490565b80356001600160a01b038116811461121a57600080fd5b919050565b8035801515811461121a57600080fd5b60008060006060848603121561124457600080fd5b61124d84611203565b925061125b6020850161121f565b91506112696040850161121f565b90509250925092565b60006020828403121561128457600080fd5b6110e882611203565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156112b657600080fd5b6112bf83611203565b915060208301356001600160401b03808211156112db57600080fd5b818501915085601f8301126112ef57600080fd5b8135818111156113015761130161128d565b604051601f8201601f19908116603f011681019083821181831017156113295761132961128d565b8160405282815288602084870101111561134257600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561137657600080fd5b81356001600160e01b0319811681146110e857600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201526000805160206114c483398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206114c483398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60006020828403121561144957600080fd5b5051919050565b60005b8381101561146b578181015183820152602001611453565b50506000910152565b60008251611486818460208701611450565b9190910192915050565b60208152600082518060208401526114af816040850160208701611450565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122075a1316b9592992482c80e1438c2fdcaddadfa8ad231d51068bf7803a132289164736f6c63430008110033",
|
|
361
|
+
"bytecode": "0x610180604052306080523480156200001657600080fd5b50604051620018aa380380620018aa8339810160408190526200003991620001e3565b600154600160a81b900460ff161580801562000060575060018054600160a01b900460ff16105b806200009657506200007d30620001b760201b62000d3d1760201c565b15801562000096575060018054600160a01b900460ff16145b620000fe5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b17905580156200012c576001805460ff60a81b1916600160a81b1790555b6001600160a01b0380891660a05287811660c05286811660e0528581166101005284811661012052838116610140528216610160528015620001a9576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505062000278565b6001600160a01b03163b151590565b80516001600160a01b0381168114620001de57600080fd5b919050565b600080600080600080600060e0888a031215620001ff57600080fd5b6200020a88620001c6565b96506200021a60208901620001c6565b95506200022a60408901620001c6565b94506200023a60608901620001c6565b93506200024a60808901620001c6565b92506200025a60a08901620001c6565b91506200026a60c08901620001c6565b905092959891949750929550565b60805160a05160c05160e051610100516101205161014051610160516115806200032a6000396000818161024e0152610bc60152600081816102eb0152610b870152600081816102970152610b4801526000818160ea0152610aed01526000818161013b0152610a270152600081816101fa015261096001526000818161031f015261082d015260008181610482015281816104c2015281816105f50152818161063501526106b101526115806000f3fe6080604052600436106100c75760003560e01c806305b91e12146100d857806306ddc9a614610129578063078dfbe71461015d5780633659cfe61461017d5780634e71e0c81461019d5780634f1ef286146101b257806352d1902d146101c5578063552407d2146101e857806376e1df481461021c5780637c868aa11461023c5780638129fc1c1461027057806386df0976146102855780638da5cb5b146102b9578063a25228c9146102d9578063b06cc6b01461030d578063e30c397814610341576100ce565b366100ce57005b6100d6610361565b005b3480156100e457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561016957600080fd5b506100d661017836600461122f565b610373565b34801561018957600080fd5b506100d6610198366004611272565b610478565b3480156101a957600080fd5b506100d6610540565b6100d66101c03660046112a3565b6105eb565b3480156101d157600080fd5b506101da6106a4565b604051908152602001610120565b3480156101f457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561022857600080fd5b5061010c610237366004611364565b610752565b34801561024857600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561027c57600080fd5b506100d6610c0f565b34801561029157600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102c557600080fd5b5060005461010c906001600160a01b031681565b3480156102e557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561031957600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561034d57600080fd5b5060015461010c906001600160a01b031681565b61037161036c610d4c565b610d68565b565b6000546001600160a01b031633146103a65760405162461bcd60e51b815260040161039d9061138e565b60405180910390fd5b8115610457576001600160a01b0383161515806103c05750805b6104045760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161039d565b600080546040516001600160a01b038087169392169160008051602061150483398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104c05760405162461bcd60e51b815260040161039d906113c3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104f2610d8c565b6001600160a01b0316146105185760405162461bcd60e51b815260040161039d906113fd565b61052181610da8565b6040805160008082526020820190925261053d91839190610dd2565b50565b6001546001600160a01b031633811461059b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161039d565b600080546040516001600160a01b038085169392169160008051602061150483398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106335760405162461bcd60e51b815260040161039d906113c3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610665610d8c565b6001600160a01b03161461068b5760405162461bcd60e51b815260040161039d906113fd565b61069482610da8565b6106a082826001610dd2565b5050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461073f5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161039d565b506000805160206114e483398151915290565b60006001600160e01b031982166346fd07b160e01b148061078357506001600160e01b031982166316dfd9d360e31b145b8061079e57506001600160e01b03198216637298779b60e01b145b806107b957506001600160e01b031982166359be67bf60e01b145b806107d457506001600160e01b03198216630d4318d960e11b145b806107ef57506001600160e01b0319821663339748cb60e01b145b8061080a57506001600160e01b03198216631efc6ebd60e31b145b8061082557506001600160e01b03198216635b8c874f60e01b145b1561085157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216634bf713cf60e11b148061088057506001600160e01b03198216630cf8553560e31b145b8061089b57506001600160e01b03198216633af1f32960e01b145b806108b657506001600160e01b0319821663409c7a8960e01b145b806108d157506001600160e01b03198216635b67cdad60e01b145b806108ec57506001600160e01b0319821663b7d75b8b60e01b145b8061090757506001600160e01b0319821663522e181160e11b145b8061092257506001600160e01b0319821663694ab55960e01b145b8061093d57506001600160e01b0319821663178d29d360e01b145b8061095857506001600160e01b0319821663942244eb60e01b145b1561098457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216632032aecd60e01b14806109b357506001600160e01b0319821663dd371acd60e01b145b806109ce57506001600160e01b031982166335c5ef9960e11b145b806109e957506001600160e01b031982166383c71b6960e01b145b80610a0457506001600160e01b03198216631b7077d560e01b145b80610a1f57506001600160e01b031982166359d697d560e11b145b15610a4b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821662d5f59560e61b1480610a7957506001600160e01b03198216632fc6f50d60e21b145b80610a9457506001600160e01b0319821663fdd71f4360e01b145b80610aaf57506001600160e01b0319821663a000aaa960e01b145b80610aca57506001600160e01b03198216630abbc79d60e41b145b80610ae557506001600160e01b03198216631c2b981360e31b145b15610b1157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b1480610b4057506001600160e01b0319821663448b9b9560e01b145b15610b6c57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6302dbe0c760e11b6001600160e01b0319831601610bab57507f0000000000000000000000000000000000000000000000000000000000000000919050565b637dbecb7760e01b6001600160e01b0319831601610bea57507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b03198316600482015260240161039d565b600154600160a81b900460ff1615808015610c35575060018054600160a01b900460ff16105b80610c5c5750610c4430610d3d565b158015610c5c575060018054600160a01b900460ff16145b610cbf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161039d565b6001805460ff60a01b1916600160a01b1790558015610cec576001805460ff60a81b1916600160a81b1790555b610cf4610f3d565b801561053d576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b6001600160a01b03163b151590565b6000610d636000356001600160e01b031916610752565b905090565b3660008037600080366000845af43d6000803e808015610d87573d6000f35b3d6000fd5b6000805160206114e4833981519152546001600160a01b031690565b6000546001600160a01b0316331461053d5760405162461bcd60e51b815260040161039d9061138e565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e055761047383610fbe565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e5f575060408051601f3d908101601f19168201909252610e5c91810190611437565b60015b610ec25760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161039d565b6000805160206114e48339815191528114610f315760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161039d565b50610473838383611058565b600154600160a81b900460ff16610faa5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161039d565b600080546001600160a01b03191633179055565b610fc781610d3d565b6110295760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161039d565b6000805160206114e483398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61106183611083565b60008251118061106e5750805b156104735761107d83836110c3565b50505050565b61108c81610fbe565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110e88383604051806060016040528060278152602001611524602791396110ef565b9392505050565b60606110fa84610d3d565b6111555760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161039d565b600080856001600160a01b0316856040516111709190611474565b600060405180830381855af49150503d80600081146111ab576040519150601f19603f3d011682016040523d82523d6000602084013e6111b0565b606091505b50915091506111c08282866111ca565b9695505050505050565b606083156111d95750816110e8565b8251156111e95782518084602001fd5b8160405162461bcd60e51b815260040161039d9190611490565b80356001600160a01b038116811461121a57600080fd5b919050565b8035801515811461121a57600080fd5b60008060006060848603121561124457600080fd5b61124d84611203565b925061125b6020850161121f565b91506112696040850161121f565b90509250925092565b60006020828403121561128457600080fd5b6110e882611203565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156112b657600080fd5b6112bf83611203565b915060208301356001600160401b03808211156112db57600080fd5b818501915085601f8301126112ef57600080fd5b8135818111156113015761130161128d565b604051601f8201601f19908116603f011681019083821181831017156113295761132961128d565b8160405282815288602084870101111561134257600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561137657600080fd5b81356001600160e01b0319811681146110e857600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201526000805160206114c483398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206114c483398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60006020828403121561144957600080fd5b5051919050565b60005b8381101561146b578181015183820152602001611453565b50506000910152565b60008251611486818460208701611450565b9190910192915050565b60208152600082518060208401526114af816040850160208701611450565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122078b1c5518ac3c3009af6603964ebdaa882df62e00459e74f20cedcdf7007d89264736f6c63430008110033",
|
|
362
|
+
"deployedBytecode": "0x6080604052600436106100c75760003560e01c806305b91e12146100d857806306ddc9a614610129578063078dfbe71461015d5780633659cfe61461017d5780634e71e0c81461019d5780634f1ef286146101b257806352d1902d146101c5578063552407d2146101e857806376e1df481461021c5780637c868aa11461023c5780638129fc1c1461027057806386df0976146102855780638da5cb5b146102b9578063a25228c9146102d9578063b06cc6b01461030d578063e30c397814610341576100ce565b366100ce57005b6100d6610361565b005b3480156100e457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561013557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561016957600080fd5b506100d661017836600461122f565b610373565b34801561018957600080fd5b506100d6610198366004611272565b610478565b3480156101a957600080fd5b506100d6610540565b6100d66101c03660046112a3565b6105eb565b3480156101d157600080fd5b506101da6106a4565b604051908152602001610120565b3480156101f457600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561022857600080fd5b5061010c610237366004611364565b610752565b34801561024857600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561027c57600080fd5b506100d6610c0f565b34801561029157600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102c557600080fd5b5060005461010c906001600160a01b031681565b3480156102e557600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561031957600080fd5b5061010c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561034d57600080fd5b5060015461010c906001600160a01b031681565b61037161036c610d4c565b610d68565b565b6000546001600160a01b031633146103a65760405162461bcd60e51b815260040161039d9061138e565b60405180910390fd5b8115610457576001600160a01b0383161515806103c05750805b6104045760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161039d565b600080546040516001600160a01b038087169392169160008051602061150483398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036104c05760405162461bcd60e51b815260040161039d906113c3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104f2610d8c565b6001600160a01b0316146105185760405162461bcd60e51b815260040161039d906113fd565b61052181610da8565b6040805160008082526020820190925261053d91839190610dd2565b50565b6001546001600160a01b031633811461059b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161039d565b600080546040516001600160a01b038085169392169160008051602061150483398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036106335760405162461bcd60e51b815260040161039d906113c3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610665610d8c565b6001600160a01b03161461068b5760405162461bcd60e51b815260040161039d906113fd565b61069482610da8565b6106a082826001610dd2565b5050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461073f5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161039d565b506000805160206114e483398151915290565b60006001600160e01b031982166346fd07b160e01b148061078357506001600160e01b031982166316dfd9d360e31b145b8061079e57506001600160e01b03198216637298779b60e01b145b806107b957506001600160e01b031982166359be67bf60e01b145b806107d457506001600160e01b03198216630d4318d960e11b145b806107ef57506001600160e01b0319821663339748cb60e01b145b8061080a57506001600160e01b03198216631efc6ebd60e31b145b8061082557506001600160e01b03198216635b8c874f60e01b145b1561085157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216634bf713cf60e11b148061088057506001600160e01b03198216630cf8553560e31b145b8061089b57506001600160e01b03198216633af1f32960e01b145b806108b657506001600160e01b0319821663409c7a8960e01b145b806108d157506001600160e01b03198216635b67cdad60e01b145b806108ec57506001600160e01b0319821663b7d75b8b60e01b145b8061090757506001600160e01b0319821663522e181160e11b145b8061092257506001600160e01b0319821663694ab55960e01b145b8061093d57506001600160e01b0319821663178d29d360e01b145b8061095857506001600160e01b0319821663942244eb60e01b145b1561098457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216632032aecd60e01b14806109b357506001600160e01b0319821663dd371acd60e01b145b806109ce57506001600160e01b031982166335c5ef9960e11b145b806109e957506001600160e01b031982166383c71b6960e01b145b80610a0457506001600160e01b03198216631b7077d560e01b145b80610a1f57506001600160e01b031982166359d697d560e11b145b15610a4b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821662d5f59560e61b1480610a7957506001600160e01b03198216632fc6f50d60e21b145b80610a9457506001600160e01b0319821663fdd71f4360e01b145b80610aaf57506001600160e01b0319821663a000aaa960e01b145b80610aca57506001600160e01b03198216630abbc79d60e41b145b80610ae557506001600160e01b03198216631c2b981360e31b145b15610b1157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b1480610b4057506001600160e01b0319821663448b9b9560e01b145b15610b6c57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6302dbe0c760e11b6001600160e01b0319831601610bab57507f0000000000000000000000000000000000000000000000000000000000000000919050565b637dbecb7760e01b6001600160e01b0319831601610bea57507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b03198316600482015260240161039d565b600154600160a81b900460ff1615808015610c35575060018054600160a01b900460ff16105b80610c5c5750610c4430610d3d565b158015610c5c575060018054600160a01b900460ff16145b610cbf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161039d565b6001805460ff60a01b1916600160a01b1790558015610cec576001805460ff60a81b1916600160a81b1790555b610cf4610f3d565b801561053d576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b6001600160a01b03163b151590565b6000610d636000356001600160e01b031916610752565b905090565b3660008037600080366000845af43d6000803e808015610d87573d6000f35b3d6000fd5b6000805160206114e4833981519152546001600160a01b031690565b6000546001600160a01b0316331461053d5760405162461bcd60e51b815260040161039d9061138e565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e055761047383610fbe565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610e5f575060408051601f3d908101601f19168201909252610e5c91810190611437565b60015b610ec25760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161039d565b6000805160206114e48339815191528114610f315760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161039d565b50610473838383611058565b600154600160a81b900460ff16610faa5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161039d565b600080546001600160a01b03191633179055565b610fc781610d3d565b6110295760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161039d565b6000805160206114e483398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61106183611083565b60008251118061106e5750805b156104735761107d83836110c3565b50505050565b61108c81610fbe565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606110e88383604051806060016040528060278152602001611524602791396110ef565b9392505050565b60606110fa84610d3d565b6111555760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161039d565b600080856001600160a01b0316856040516111709190611474565b600060405180830381855af49150503d80600081146111ab576040519150601f19603f3d011682016040523d82523d6000602084013e6111b0565b606091505b50915091506111c08282866111ca565b9695505050505050565b606083156111d95750816110e8565b8251156111e95782518084602001fd5b8160405162461bcd60e51b815260040161039d9190611490565b80356001600160a01b038116811461121a57600080fd5b919050565b8035801515811461121a57600080fd5b60008060006060848603121561124457600080fd5b61124d84611203565b925061125b6020850161121f565b91506112696040850161121f565b90509250925092565b60006020828403121561128457600080fd5b6110e882611203565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156112b657600080fd5b6112bf83611203565b915060208301356001600160401b03808211156112db57600080fd5b818501915085601f8301126112ef57600080fd5b8135818111156113015761130161128d565b604051601f8201601f19908116603f011681019083821181831017156113295761132961128d565b8160405282815288602084870101111561134257600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561137657600080fd5b81356001600160e01b0319811681146110e857600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201526000805160206114c483398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206114c483398151915260408201526b6163746976652070726f787960a01b606082015260800190565b60006020828403121561144957600080fd5b5051919050565b60005b8381101561146b578181015183820152602001611453565b50506000910152565b60008251611486818460208701611450565b9190910192915050565b60208152600082518060208401526114af816040850160208701611450565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122078b1c5518ac3c3009af6603964ebdaa882df62e00459e74f20cedcdf7007d89264736f6c63430008110033",
|
|
363
363
|
"linkReferences": {},
|
|
364
364
|
"deployedLinkReferences": {}
|
|
365
365
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "MarketApproxPtInLib",
|
|
4
4
|
"sourceName": "contracts/router/base/MarketApproxLib.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b2f899033e2c1e2b093357bdd81a26548ab040baf7c95618ec03f33296e281ef64736f6c63430008110033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b2f899033e2c1e2b093357bdd81a26548ab040baf7c95618ec03f33296e281ef64736f6c63430008110033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "MarketApproxPtOutLib",
|
|
4
4
|
"sourceName": "contracts/router/base/MarketApproxLib.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122020b42fc1e4efe2beb2d7fb6d9f56632b4a3753454003d7ffbdcec17e0f773ddf64736f6c63430008110033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122020b42fc1e4efe2beb2d7fb6d9f56632b4a3753454003d7ffbdcec17e0f773ddf64736f6c63430008110033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -44,7 +44,7 @@ abstract contract PendleGaugeControllerBaseUpg is
|
|
|
44
44
|
uint128 incentiveEndsAt;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
uint128 internal constant WEEK = 1
|
|
47
|
+
uint128 internal constant WEEK = 1 weeks;
|
|
48
48
|
|
|
49
49
|
address public immutable pendle;
|
|
50
50
|
IPMarketFactory public immutable marketFactory;
|
|
@@ -49,7 +49,7 @@ abstract contract VotingControllerStorageUpg is IPVotingController {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
52
|
-
uint128 public constant WEEK = 1
|
|
52
|
+
uint128 public constant WEEK = 1 weeks;
|
|
53
53
|
uint128 public constant GOVERNANCE_PENDLE_VOTE = 10**24;
|
|
54
54
|
|
|
55
55
|
IPVeToken public immutable vePendle;
|
|
@@ -21,13 +21,13 @@ import "../libraries/WeekMath.sol";
|
|
|
21
21
|
* + No other transaction is allowed to write on sidechain storage
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
abstract contract VotingEscrowTokenBase is IPVeToken {
|
|
24
|
+
abstract contract VotingEscrowTokenBase is IPVeToken {
|
|
25
25
|
using VeBalanceLib for VeBalance;
|
|
26
26
|
using VeBalanceLib for LockedPosition;
|
|
27
27
|
|
|
28
|
-
uint128 public constant WEEK = 1
|
|
28
|
+
uint128 public constant WEEK = 1 weeks;
|
|
29
29
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
30
|
-
uint128 public constant MIN_LOCK_TIME = 1
|
|
30
|
+
uint128 public constant MIN_LOCK_TIME = 1 weeks;
|
|
31
31
|
|
|
32
32
|
VeBalance internal _totalSupply;
|
|
33
33
|
uint128 public lastSlopeChangeAppliedAt;
|
|
@@ -155,7 +155,7 @@ contract BulkSeller is IPBulkSeller, Initializable, TokenHelper, ReentrancyGuard
|
|
|
155
155
|
|
|
156
156
|
// ----------------- BulkSeller management -----------------
|
|
157
157
|
|
|
158
|
-
function increaseReserve(uint256 netTokenIn, uint256 netSyIn) external onlyMaintainer {
|
|
158
|
+
function increaseReserve(uint256 netTokenIn, uint256 netSyIn) external payable onlyMaintainer {
|
|
159
159
|
BulkSellerState memory state = readState();
|
|
160
160
|
|
|
161
161
|
state.totalToken += netTokenIn;
|
|
@@ -240,11 +240,20 @@ contract BulkSeller is IPBulkSeller, Initializable, TokenHelper, ReentrancyGuard
|
|
|
240
240
|
|
|
241
241
|
function _depositToken(uint256 netTokenDeposit) internal returns (uint256 netSyFromToken) {
|
|
242
242
|
_safeApprove(token, SY, netTokenDeposit);
|
|
243
|
-
|
|
243
|
+
uint256 nativeToDeposit = token == NATIVE ? netTokenDeposit : 0;
|
|
244
|
+
return
|
|
245
|
+
IStandardizedYield(SY).deposit{ value: nativeToDeposit }(
|
|
246
|
+
address(this),
|
|
247
|
+
token,
|
|
248
|
+
netTokenDeposit,
|
|
249
|
+
0
|
|
250
|
+
);
|
|
244
251
|
}
|
|
245
252
|
|
|
246
253
|
function _redeemSy(uint256 netSyRedeem) internal returns (uint256 netTokenFromSy) {
|
|
247
254
|
_transferOut(SY, SY, netSyRedeem);
|
|
248
255
|
return IStandardizedYield(SY).redeem(address(this), netSyRedeem, token, 0, true);
|
|
249
256
|
}
|
|
257
|
+
|
|
258
|
+
receive() external payable {}
|
|
250
259
|
}
|
|
@@ -21,6 +21,12 @@ library Errors {
|
|
|
21
21
|
// APPROX
|
|
22
22
|
error ApproxFail();
|
|
23
23
|
error ApproxParamsInvalid(uint256 guessMin, uint256 guessMax, uint256 eps);
|
|
24
|
+
error ApproxBinarySearchInputInvalid(
|
|
25
|
+
uint256 approxGuessMin,
|
|
26
|
+
uint256 approxGuessMax,
|
|
27
|
+
uint256 minGuessMin,
|
|
28
|
+
uint256 maxGuessMax
|
|
29
|
+
);
|
|
24
30
|
|
|
25
31
|
// MARKET + MARKET MATH CORE
|
|
26
32
|
error MarketExpired();
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
pragma solidity 0.8.17;
|
|
3
3
|
|
|
4
4
|
interface IPBulkSellerFactory {
|
|
5
|
+
event BulkSellerCreated(address indexed token, address indexed sy, address indexed bulk);
|
|
6
|
+
|
|
5
7
|
event UpgradedBeacon(address indexed implementation);
|
|
6
8
|
|
|
7
9
|
function get(address token, address SY) external view returns (address);
|
|
@@ -3,6 +3,7 @@ pragma solidity 0.8.17;
|
|
|
3
3
|
|
|
4
4
|
import "../core/BulkSeller/BulkSellerMathCore.sol";
|
|
5
5
|
import "../core/BulkSeller/BulkSeller.sol";
|
|
6
|
+
import "hardhat/console.sol";
|
|
6
7
|
|
|
7
8
|
// upgradable bla bla
|
|
8
9
|
contract BulkSellerOffchain {
|
|
@@ -20,17 +21,34 @@ contract BulkSellerOffchain {
|
|
|
20
21
|
address token = bulk.token();
|
|
21
22
|
|
|
22
23
|
{
|
|
23
|
-
uint256 hypoTotalToken = state.totalToken +
|
|
24
|
-
state.calcSwapExactSyForToken(state.totalSy);
|
|
24
|
+
uint256 hypoTotalToken = state.totalToken + state.totalSy.mulDown(state.rateSyToToken);
|
|
25
25
|
uint256 netSyFromToken = IStandardizedYield(SY).previewDeposit(token, hypoTotalToken);
|
|
26
26
|
|
|
27
27
|
rateTokenToSy = netSyFromToken.divDown(hypoTotalToken);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
{
|
|
31
|
-
uint256 hypoTotalSy = state.totalSy + state.
|
|
31
|
+
uint256 hypoTotalSy = state.totalSy + state.totalToken.mulDown(state.rateTokenToSy);
|
|
32
32
|
uint256 netTokenFromSy = IStandardizedYield(SY).previewRedeem(token, hypoTotalSy);
|
|
33
|
+
rateSyToToken = netTokenFromSy.divDown(hypoTotalSy);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
33
36
|
|
|
37
|
+
function calcCurrentRatesWithAmount(
|
|
38
|
+
IPBulkSeller bulk,
|
|
39
|
+
uint256 hypoTotalToken,
|
|
40
|
+
uint256 hypoTotalSy
|
|
41
|
+
) external view returns (uint256 rateTokenToSy, uint256 rateSyToToken) {
|
|
42
|
+
address SY = bulk.SY();
|
|
43
|
+
address token = bulk.token();
|
|
44
|
+
|
|
45
|
+
{
|
|
46
|
+
uint256 netSyFromToken = IStandardizedYield(SY).previewDeposit(token, hypoTotalToken);
|
|
47
|
+
rateTokenToSy = netSyFromToken.divDown(hypoTotalToken);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
{
|
|
51
|
+
uint256 netTokenFromSy = IStandardizedYield(SY).previewRedeem(token, hypoTotalSy);
|
|
34
52
|
rateSyToToken = netTokenFromSy.divDown(hypoTotalSy);
|
|
35
53
|
}
|
|
36
54
|
}
|
|
@@ -22,7 +22,7 @@ contract RouterStatic is Initializable, BoringOwnableUpgradeable, UUPSUpgradeabl
|
|
|
22
22
|
using VeBalanceLib for LockedPosition;
|
|
23
23
|
|
|
24
24
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
25
|
-
uint128 public constant MIN_LOCK_TIME = 1
|
|
25
|
+
uint128 public constant MIN_LOCK_TIME = 1 weeks;
|
|
26
26
|
|
|
27
27
|
struct TokenAmount {
|
|
28
28
|
address token;
|
|
@@ -575,7 +575,7 @@ library MarketApproxPtOutLib {
|
|
|
575
575
|
{
|
|
576
576
|
uint256 netSyRemaining = a.totalSyIn - netSyIn;
|
|
577
577
|
uint256 newTotalPt = a.market.totalPt.Uint() - guess;
|
|
578
|
-
uint256 netTotalSy =
|
|
578
|
+
uint256 netTotalSy = a.market.totalSy.Uint() + netSyIn - netSyFee;
|
|
579
579
|
|
|
580
580
|
// it is desired that
|
|
581
581
|
// netPtFromSwap / newTotalPt = netSyRemaining / netTotalSy
|
|
@@ -683,11 +683,14 @@ library MarketApproxPtOutLib {
|
|
|
683
683
|
uint256 minGuessMin,
|
|
684
684
|
uint256 maxGuessMax
|
|
685
685
|
) internal pure returns (ApproxParamsPtOut memory res) {
|
|
686
|
+
if (_approx.guessMin > _approx.guessMax || _approx.eps > Math.ONE)
|
|
687
|
+
revert Errors.ApproxParamsInvalid(_approx.guessMin, _approx.guessMax, _approx.eps);
|
|
688
|
+
|
|
686
689
|
res.guessMin = Math.max(_approx.guessMin, minGuessMin);
|
|
687
690
|
res.guessMax = Math.min(_approx.guessMax, maxGuessMax);
|
|
688
691
|
|
|
689
|
-
if (res.guessMin > res.guessMax
|
|
690
|
-
revert Errors.
|
|
692
|
+
if (res.guessMin > res.guessMax)
|
|
693
|
+
revert Errors.ApproxBinarySearchInputInvalid(_approx.guessMin, _approx.guessMax, minGuessMin, maxGuessMax);
|
|
691
694
|
|
|
692
695
|
res.guessOffchain = _approx.guessOffchain;
|
|
693
696
|
res.maxIteration = _approx.maxIteration;
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
"lzEndpoint": "0x93f54D755A063cE7bB9e6Ac47Eccc8e33411d706",
|
|
6
6
|
"treasury": "0x243b7CFD29AcAF9cDe98C1958902FAA3B1F095D5",
|
|
7
7
|
"PENDLE": "0xB7609dec1C926204c3B67345cbCd54bc4aa7a940",
|
|
8
|
-
"yieldContractFactory": "
|
|
9
|
-
"marketFactory": "
|
|
10
|
-
"bulkSellerFactory": "
|
|
11
|
-
"router": "
|
|
12
|
-
"routerStatic": "
|
|
13
|
-
"vePendle": "
|
|
14
|
-
"senderEndpoint": "
|
|
15
|
-
"votingController": "
|
|
16
|
-
"gaugeController": "
|
|
8
|
+
"yieldContractFactory": "0xC39Efc7bb273B75B75471167Cb0EB4D3D41398a8",
|
|
9
|
+
"marketFactory": "0xa28B2445C8e1751733e75e6794971AEEA4806F45",
|
|
10
|
+
"bulkSellerFactory": "0x9f45D5A34CC9Bcb3AB4ee464bE768E30B5e627f8",
|
|
11
|
+
"router": "0x129be7922B733b0F06cb4f0f47B6b4a12710a312",
|
|
12
|
+
"routerStatic": "0x699665c3fA37FF59cACd913EAaB56CEFA66C339E",
|
|
13
|
+
"vePendle": "0x74E578b27aD53f23387b9Dcb7902F7Def6D4dB7c",
|
|
14
|
+
"senderEndpoint": "0xa87c479d77040d1c5433b9cD3b88b2B562A7cb10",
|
|
15
|
+
"votingController": "0x0b24c845feF83f8403EEF3922F3B53a05182512A",
|
|
16
|
+
"gaugeController": "0xf0cFb8781F17d51523922Ace5eB69a4b42e35a15"
|
|
17
17
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY qiWBTC",
|
|
3
|
+
"SY": "0xBd46368e71fa12a556D6f7006C7682582381e9E1",
|
|
4
|
+
"PT": "0xf3Ef7B4d88641AC51c4c969b3231FCfE439BB149",
|
|
5
|
+
"YT": "0x3218A427E95FFA1759bdf0dC457077CC97d8D39C",
|
|
6
|
+
"market": "0x6D8fdd70682a99e7EcF31cd9094e0a84Bd3BEA55",
|
|
7
|
+
"expiry": 1675382400,
|
|
8
|
+
"bulkSeller": "0xdE86349b3eDc87c77AA7c2A1531194b5Eb4f7180",
|
|
9
|
+
"scalarRoot": "62000000000000000000",
|
|
10
|
+
"initAnchor": "1012600000000000000"
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"symbol": "SY-qiAVAX",
|
|
3
|
+
"SY": "0x7bd149FFD976F366af864B2F9585016FD0386A3F",
|
|
4
|
+
"expiry": 1675382400,
|
|
5
|
+
"PT": "0x9156bf2494F7DaaBAE2Ec919513217Dc9a2535aD",
|
|
6
|
+
"YT": "0x12CBF941d14823160e606BdaA7eA4f351251A9cF",
|
|
7
|
+
"market": "0x94f1997DA3ea57875ab97747d2bF744c6895A0AD",
|
|
8
|
+
"bulkSeller": "0xc64c1A2DCbA6bB38DA23a4C2b9Ca76005508719A"
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"symbol": "SY-qiUSDC",
|
|
3
|
-
"SY": "
|
|
3
|
+
"SY": "0x922FD937e7C59E58F2E425260fb21Ddc8486BcDE",
|
|
4
4
|
"expiry": 1675382400,
|
|
5
|
-
"PT": "
|
|
6
|
-
"YT": "
|
|
7
|
-
"market": "
|
|
5
|
+
"PT": "0x3cBf269875C4eFf9374AF93e736f3c3487cEA993",
|
|
6
|
+
"YT": "0x8700D3bb93E21dEAcB84c006106B3b914Cca32e2",
|
|
7
|
+
"market": "0x20A564b60A21c107eAC5FbFea54D4Aad6db452A1"
|
|
8
8
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"symbol": "SY-qiWETH",
|
|
3
|
-
"SY": "
|
|
3
|
+
"SY": "0xF82E799c78B53c814dBf101431cC24F121Fa1098",
|
|
4
4
|
"expiry": 1669852800,
|
|
5
|
-
"PT": "
|
|
6
|
-
"YT": "
|
|
7
|
-
"market": "
|
|
5
|
+
"PT": "0xEAa59b2532D7e49b6f8CAC1b4AdAb6a6F868C7eB",
|
|
6
|
+
"YT": "0xb899c25fF3c73127F0B96aDAb9997a703C3Fd88D",
|
|
7
|
+
"market": "0xA9905Bd9d4813a78c4F9Ed4Ba285b49DE50F7406",
|
|
8
|
+
"bulkSeller": "0x6A9908669a0D751EE2d8706155eC7CbB0291f09E"
|
|
8
9
|
}
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"WETH": "0x1e2e40697603CA5b5ffc102c9D7A3310EA3f2Aa3",
|
|
11
11
|
"qiUSDC": "0xEE3a174F1478198fBc669132B1e2cc13B5686F94",
|
|
12
12
|
"qiWETH": "0xE5710EC5e4CeB255fb14d2c2BFC93E64d0c30A2c",
|
|
13
|
-
"qiAVAX": "0xf9aEd3b927dce44C6d53B334Cb759f4D230D9b9c"
|
|
13
|
+
"qiAVAX": "0xf9aEd3b927dce44C6d53B334Cb759f4D230D9b9c",
|
|
14
|
+
"qiWBTC": "0xb847E93A481E50E6C289ff9559A8405aD225210B"
|
|
14
15
|
},
|
|
15
16
|
"benqi": {
|
|
16
17
|
"comptroller": "0x4Af3e9CA6f86E655C01f03C13519BcAF867286EE",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"deployer": "0x1FcCC097db89A86Bfc474A1028F93958295b1Fb7",
|
|
3
3
|
"network": 80001,
|
|
4
|
-
"splitter": "
|
|
4
|
+
"splitter": "0x07D39E2025Fd0B1F0065FE39172df246f063BB15",
|
|
5
5
|
"lzEndpoint": "0xf69186dfBa60DdB133E91E9A4B5673624293d8F8",
|
|
6
|
-
"treasury": "
|
|
7
|
-
"PENDLE": "
|
|
8
|
-
"yieldContractFactory": "
|
|
9
|
-
"marketFactory": "
|
|
10
|
-
"bulkSellerFactory": "
|
|
11
|
-
"router": "
|
|
12
|
-
"routerStatic": "
|
|
13
|
-
"receiverEndpoint": "
|
|
14
|
-
"vePendle": "
|
|
15
|
-
"gaugeController": "
|
|
6
|
+
"treasury": "0x47F77E3fAC652E05FFEB7E8E1cEf69E775628B24",
|
|
7
|
+
"PENDLE": "0x5FDA5b3b05B2884F9f028550069B9D321E84814A",
|
|
8
|
+
"yieldContractFactory": "0x8B3C5BD39E6B82272eCf0d6828D458536dc44dea",
|
|
9
|
+
"marketFactory": "0xf963474FAe462B06B026DE500f605B3578B66c66",
|
|
10
|
+
"bulkSellerFactory": "0xcdFfe971e3dE61f94450C56e140E3b2E0d7597CF",
|
|
11
|
+
"router": "0x60e5F58005b326ecA0cf9c96528781567973d7B0",
|
|
12
|
+
"routerStatic": "0xf159EC6647659eD86a67eb0B1131595c2EE086c2",
|
|
13
|
+
"receiverEndpoint": "0x57D55237374b0D1AFdac5E25F16A4EE5C57A627c",
|
|
14
|
+
"vePendle": "0x89Cec94a14FAB1cb27C1A5cd32af05ef448d9829",
|
|
15
|
+
"gaugeController": "0x8a6c59A80aA3Bbf32E7b3F0C359Eb528Cf6f7288"
|
|
16
16
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"symbol": "SY-qiUSDC",
|
|
3
|
+
"SY": "0x95867d15D0a6F77E32c684022D97e882A71Bd630",
|
|
4
|
+
"expiry": 1675382400,
|
|
5
|
+
"PT": "0x9d9381D466e46525eDDac3a3dC71EC64C3c3d87c",
|
|
6
|
+
"YT": "0xa693a38f9261Ee45040EB2b8125D8B718b83f491",
|
|
7
|
+
"market": "0x90326785175652D74a0AA35Af8fb86819513D939"
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"symbol": "SY-qiWETH",
|
|
3
|
+
"SY": "0x501E089e6BD6b78e6E435C15118E52c665931850",
|
|
4
|
+
"expiry": 1669852800,
|
|
5
|
+
"PT": "0x5a6049e6dB4032Dfa7A27b4071DB6C4a5A9A4707",
|
|
6
|
+
"YT": "0x885AdC68FC7F5715A32eb03eA1c6F17F396c715A",
|
|
7
|
+
"market": "0xc86283109a074E8021a50717e3d86D3f78184b18"
|
|
8
|
+
}
|
package/package.json
CHANGED