@pendle/core-v2 0.7.1-beta-2 → 0.8.0-beta
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/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +33 -17
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +33 -17
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +33 -17
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +33 -17
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +33 -17
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +31 -15
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +31 -15
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.json +0 -26
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.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 +125 -111
- 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/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.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 +77 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +51 -20
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +72 -93
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +3 -3
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +2 -2
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +48 -83
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +30 -4
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +8 -92
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +31 -2
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +2 -2
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
- 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/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +2 -2
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol +16 -12
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol +3 -3
- package/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol +20 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol +20 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol +20 -0
- package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol +29 -2
- package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +63 -41
- package/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol +0 -7
- package/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
- package/contracts/core/LiquidityMining/PendleGauge.sol +24 -8
- package/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +47 -96
- package/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +86 -73
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +17 -16
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +1 -1
- package/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -4
- package/contracts/core/Market/PendleMarket.sol +32 -62
- package/contracts/core/PendleRouter.sol +1 -1
- package/contracts/core/YieldContracts/InterestManagerYT.sol +11 -8
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +18 -12
- package/contracts/core/YieldContracts/PendleYieldToken.sol +167 -140
- package/contracts/core/actions/ActionCallback.sol +11 -10
- package/contracts/core/actions/ActionCore.sol +84 -22
- package/contracts/core/actions/ActionYT.sol +33 -15
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +4 -15
- package/contracts/core/actions/base/ActionSCYAndPYBase.sol +20 -50
- package/contracts/core/actions/base/ActionSCYAndYTBase.sol +2 -12
- package/contracts/interfaces/IPActionCore.sol +72 -1
- package/contracts/interfaces/IPActionYT.sol +15 -0
- package/contracts/interfaces/IPMarket.sol +7 -26
- package/contracts/interfaces/IPVeToken.sol +0 -2
- package/contracts/interfaces/IPVotingEscrow.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +6 -2
- package/contracts/interfaces/IPYieldToken.sol +21 -11
- package/contracts/interfaces/ISuperComposableYield.sol +22 -28
- package/contracts/interfaces/IYearnVault.sol +8 -0
- package/contracts/libraries/RewardManager.sol +9 -6
- package/contracts/libraries/RewardManagerAbstract.sol +6 -8
- package/contracts/libraries/SCY/SCYIndex.sol +10 -0
- package/contracts/libraries/VeBalanceLib.sol +0 -1
- package/contracts/libraries/helpers/ArrayLib.sol +11 -0
- package/contracts/libraries/helpers/TokenHelper.sol +6 -5
- package/contracts/libraries/math/MarketApproxLib.sol +91 -36
- package/contracts/libraries/math/Math.sol +2 -4
- package/contracts/offchain-helpers/RouterStatic.sol +2 -2
- package/deployments/43113-core.json +11 -11
- package/deployments/43113-markets/benqi-market-0xF3150c14F776c50C9D397054d38979c7B77FC41D.json +7 -0
- package/deployments/80001-core.json +10 -10
- package/deployments/80001-markets/benqi-market-0x150b6eb90Bf636eC0c4328d13d1e1d4adDBAF904.json +7 -0
- package/package.json +2 -2
- package/typechain-types/ActionCore.ts +8 -8
- package/typechain-types/CelerReceiver.ts +267 -0
- package/typechain-types/CelerSender.ts +164 -0
- package/typechain-types/IPActionCore.ts +8 -8
- package/typechain-types/IPAllAction.ts +8 -8
- package/typechain-types/IPMarket.ts +66 -109
- package/typechain-types/IPVotingEscrowController.ts +154 -0
- package/typechain-types/IPYieldContractFactory.ts +34 -0
- package/typechain-types/IPYieldToken.ts +12 -112
- package/typechain-types/ISuperComposableYield.ts +54 -10
- package/typechain-types/PendleAaveV3SCY.ts +54 -29
- package/typechain-types/PendleBtrflyScy.ts +56 -58
- package/typechain-types/PendleERC4626SCY.ts +54 -29
- package/typechain-types/PendleGauge.ts +0 -32
- package/typechain-types/PendleGaugeController.ts +282 -0
- package/typechain-types/PendleGaugeControllerMainchain.ts +346 -0
- package/typechain-types/PendleGaugeControllerSidechain.ts +460 -0
- package/typechain-types/PendleJoeLpSCY.ts +56 -58
- package/typechain-types/PendleMarket.ts +169 -140
- package/typechain-types/PendlePrincipalToken.ts +104 -0
- package/typechain-types/PendleQiTokenSCY.ts +54 -29
- package/typechain-types/PendleVotingController.ts +865 -0
- package/typechain-types/PendleWstEthSCY.ts +54 -29
- package/typechain-types/PendleYearnVaultSCY.ts +54 -29
- package/typechain-types/PendleYieldContractFactory.ts +66 -19
- package/typechain-types/PendleYieldToken.ts +122 -158
- package/typechain-types/SCYBase.ts +54 -29
- package/typechain-types/SCYBaseWithRewards.ts +54 -29
- package/typechain-types/VotingControllerStorage.ts +410 -0
- package/typechain-types/VotingEscrowController.ts +154 -0
- package/typechain-types/VotingEscrowToken.ts +335 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +2 -2
- package/typechain-types/factories/ActionYT__factory.ts +1 -1
- package/typechain-types/factories/CelerReceiver__factory.ts +140 -0
- package/typechain-types/factories/CelerSender__factory.ts +67 -0
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/IPActionCore__factory.ts +1 -1
- package/typechain-types/factories/IPAllAction__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +48 -83
- package/typechain-types/factories/IPVotingEscrowController__factory.ts +80 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +30 -4
- package/typechain-types/factories/IPYieldToken__factory.ts +6 -90
- package/typechain-types/factories/ISuperComposableYield__factory.ts +31 -2
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +32 -16
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +52 -28
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +32 -16
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +269 -0
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +328 -0
- package/typechain-types/factories/PendleGaugeController__factory.ts +149 -0
- package/typechain-types/factories/PendleGauge__factory.ts +0 -26
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
- package/typechain-types/factories/PendleJoeLpSCY__factory.ts +34 -28
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +124 -110
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +76 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +32 -16
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingController__factory.ts +584 -0
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +32 -16
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +32 -16
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +54 -19
- package/typechain-types/factories/PendleYieldToken__factory.ts +70 -91
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +31 -15
- package/typechain-types/factories/SCYBase__factory.ts +31 -15
- package/typechain-types/factories/VotingControllerStorage__factory.ts +298 -0
- package/typechain-types/factories/VotingEscrowController__factory.ts +80 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowToken__factory.ts +225 -0
- package/typechain-types/hardhat.d.ts +0 -27
- package/typechain-types/index.ts +0 -6
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleBtrflySCY.sol/PendleBtrflyScy.json +0 -635
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleJoeLpSCY.sol/PendleJoeLpSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleJoeLpSCY.sol/PendleJoeLpSCY.json +0 -653
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +0 -67
- package/build/artifacts/contracts/libraries/solmate/Bytes32AddressLib.sol/Bytes32AddressLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/solmate/Bytes32AddressLib.sol/Bytes32AddressLib.json +0 -10
- package/contracts/SuperComposableYield/SCY-implementations/PendleBtrflySCY.sol +0 -123
- package/contracts/SuperComposableYield/SCY-implementations/PendleJoeLpSCY.sol +0 -245
- package/contracts/interfaces/IPMarketAddRemoveCallback.sol +0 -18
- package/contracts/libraries/solmate/Bytes32AddressLib.sol +0 -14
- package/deployments/43113-markets/benqi-market.json +0 -7
- package/deployments/80001-markets/benqi-market.json +0 -7
|
@@ -1,635 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "PendleBtrflyScy",
|
|
4
|
-
"sourceName": "contracts/SuperComposableYield/SCY-implementations/PendleBtrflySCY.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "string",
|
|
10
|
-
"name": "_name",
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "string",
|
|
15
|
-
"name": "_symbol",
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "address",
|
|
20
|
-
"name": "_wxBTRFLY",
|
|
21
|
-
"type": "address"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"stateMutability": "nonpayable",
|
|
25
|
-
"type": "constructor"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"anonymous": false,
|
|
29
|
-
"inputs": [
|
|
30
|
-
{
|
|
31
|
-
"indexed": true,
|
|
32
|
-
"internalType": "address",
|
|
33
|
-
"name": "owner",
|
|
34
|
-
"type": "address"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"indexed": true,
|
|
38
|
-
"internalType": "address",
|
|
39
|
-
"name": "spender",
|
|
40
|
-
"type": "address"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"indexed": false,
|
|
44
|
-
"internalType": "uint256",
|
|
45
|
-
"name": "value",
|
|
46
|
-
"type": "uint256"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"name": "Approval",
|
|
50
|
-
"type": "event"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"anonymous": false,
|
|
54
|
-
"inputs": [
|
|
55
|
-
{
|
|
56
|
-
"indexed": true,
|
|
57
|
-
"internalType": "address",
|
|
58
|
-
"name": "user",
|
|
59
|
-
"type": "address"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"indexed": false,
|
|
63
|
-
"internalType": "address[]",
|
|
64
|
-
"name": "rewardTokens",
|
|
65
|
-
"type": "address[]"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"indexed": false,
|
|
69
|
-
"internalType": "uint256[]",
|
|
70
|
-
"name": "rewardAmounts",
|
|
71
|
-
"type": "uint256[]"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"name": "ClaimRewards",
|
|
75
|
-
"type": "event"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"anonymous": false,
|
|
79
|
-
"inputs": [
|
|
80
|
-
{
|
|
81
|
-
"indexed": true,
|
|
82
|
-
"internalType": "address",
|
|
83
|
-
"name": "caller",
|
|
84
|
-
"type": "address"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"indexed": true,
|
|
88
|
-
"internalType": "address",
|
|
89
|
-
"name": "receiver",
|
|
90
|
-
"type": "address"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"indexed": true,
|
|
94
|
-
"internalType": "address",
|
|
95
|
-
"name": "tokenIn",
|
|
96
|
-
"type": "address"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"indexed": false,
|
|
100
|
-
"internalType": "uint256",
|
|
101
|
-
"name": "amountDeposited",
|
|
102
|
-
"type": "uint256"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"indexed": false,
|
|
106
|
-
"internalType": "uint256",
|
|
107
|
-
"name": "amountScyOut",
|
|
108
|
-
"type": "uint256"
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"name": "Deposit",
|
|
112
|
-
"type": "event"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"anonymous": false,
|
|
116
|
-
"inputs": [
|
|
117
|
-
{
|
|
118
|
-
"indexed": true,
|
|
119
|
-
"internalType": "address",
|
|
120
|
-
"name": "caller",
|
|
121
|
-
"type": "address"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"indexed": true,
|
|
125
|
-
"internalType": "address",
|
|
126
|
-
"name": "receiver",
|
|
127
|
-
"type": "address"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"indexed": true,
|
|
131
|
-
"internalType": "address",
|
|
132
|
-
"name": "tokenOut",
|
|
133
|
-
"type": "address"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"indexed": false,
|
|
137
|
-
"internalType": "uint256",
|
|
138
|
-
"name": "amountScyToRedeem",
|
|
139
|
-
"type": "uint256"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"indexed": false,
|
|
143
|
-
"internalType": "uint256",
|
|
144
|
-
"name": "amountTokenOut",
|
|
145
|
-
"type": "uint256"
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
"name": "Redeem",
|
|
149
|
-
"type": "event"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"anonymous": false,
|
|
153
|
-
"inputs": [
|
|
154
|
-
{
|
|
155
|
-
"indexed": true,
|
|
156
|
-
"internalType": "address",
|
|
157
|
-
"name": "from",
|
|
158
|
-
"type": "address"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"indexed": true,
|
|
162
|
-
"internalType": "address",
|
|
163
|
-
"name": "to",
|
|
164
|
-
"type": "address"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"indexed": false,
|
|
168
|
-
"internalType": "uint256",
|
|
169
|
-
"name": "value",
|
|
170
|
-
"type": "uint256"
|
|
171
|
-
}
|
|
172
|
-
],
|
|
173
|
-
"name": "Transfer",
|
|
174
|
-
"type": "event"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"inputs": [],
|
|
178
|
-
"name": "BTRFLY",
|
|
179
|
-
"outputs": [
|
|
180
|
-
{
|
|
181
|
-
"internalType": "address",
|
|
182
|
-
"name": "",
|
|
183
|
-
"type": "address"
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
"stateMutability": "view",
|
|
187
|
-
"type": "function"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"inputs": [
|
|
191
|
-
{
|
|
192
|
-
"internalType": "address",
|
|
193
|
-
"name": "",
|
|
194
|
-
"type": "address"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
"name": "accruedRewards",
|
|
198
|
-
"outputs": [
|
|
199
|
-
{
|
|
200
|
-
"internalType": "uint256[]",
|
|
201
|
-
"name": "rewardAmounts",
|
|
202
|
-
"type": "uint256[]"
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"stateMutability": "view",
|
|
206
|
-
"type": "function"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"inputs": [
|
|
210
|
-
{
|
|
211
|
-
"internalType": "address",
|
|
212
|
-
"name": "owner",
|
|
213
|
-
"type": "address"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"internalType": "address",
|
|
217
|
-
"name": "spender",
|
|
218
|
-
"type": "address"
|
|
219
|
-
}
|
|
220
|
-
],
|
|
221
|
-
"name": "allowance",
|
|
222
|
-
"outputs": [
|
|
223
|
-
{
|
|
224
|
-
"internalType": "uint256",
|
|
225
|
-
"name": "",
|
|
226
|
-
"type": "uint256"
|
|
227
|
-
}
|
|
228
|
-
],
|
|
229
|
-
"stateMutability": "view",
|
|
230
|
-
"type": "function"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"inputs": [
|
|
234
|
-
{
|
|
235
|
-
"internalType": "address",
|
|
236
|
-
"name": "spender",
|
|
237
|
-
"type": "address"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"internalType": "uint256",
|
|
241
|
-
"name": "amount",
|
|
242
|
-
"type": "uint256"
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
"name": "approve",
|
|
246
|
-
"outputs": [
|
|
247
|
-
{
|
|
248
|
-
"internalType": "bool",
|
|
249
|
-
"name": "",
|
|
250
|
-
"type": "bool"
|
|
251
|
-
}
|
|
252
|
-
],
|
|
253
|
-
"stateMutability": "nonpayable",
|
|
254
|
-
"type": "function"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
"inputs": [],
|
|
258
|
-
"name": "assetInfo",
|
|
259
|
-
"outputs": [
|
|
260
|
-
{
|
|
261
|
-
"internalType": "enum ISuperComposableYield.AssetType",
|
|
262
|
-
"name": "assetType",
|
|
263
|
-
"type": "uint8"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"internalType": "address",
|
|
267
|
-
"name": "assetAddress",
|
|
268
|
-
"type": "address"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"internalType": "uint8",
|
|
272
|
-
"name": "assetDecimals",
|
|
273
|
-
"type": "uint8"
|
|
274
|
-
}
|
|
275
|
-
],
|
|
276
|
-
"stateMutability": "view",
|
|
277
|
-
"type": "function"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"inputs": [
|
|
281
|
-
{
|
|
282
|
-
"internalType": "address",
|
|
283
|
-
"name": "account",
|
|
284
|
-
"type": "address"
|
|
285
|
-
}
|
|
286
|
-
],
|
|
287
|
-
"name": "balanceOf",
|
|
288
|
-
"outputs": [
|
|
289
|
-
{
|
|
290
|
-
"internalType": "uint256",
|
|
291
|
-
"name": "",
|
|
292
|
-
"type": "uint256"
|
|
293
|
-
}
|
|
294
|
-
],
|
|
295
|
-
"stateMutability": "view",
|
|
296
|
-
"type": "function"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"inputs": [
|
|
300
|
-
{
|
|
301
|
-
"internalType": "address",
|
|
302
|
-
"name": "",
|
|
303
|
-
"type": "address"
|
|
304
|
-
}
|
|
305
|
-
],
|
|
306
|
-
"name": "claimRewards",
|
|
307
|
-
"outputs": [
|
|
308
|
-
{
|
|
309
|
-
"internalType": "uint256[]",
|
|
310
|
-
"name": "rewardAmounts",
|
|
311
|
-
"type": "uint256[]"
|
|
312
|
-
}
|
|
313
|
-
],
|
|
314
|
-
"stateMutability": "nonpayable",
|
|
315
|
-
"type": "function"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"inputs": [],
|
|
319
|
-
"name": "decimals",
|
|
320
|
-
"outputs": [
|
|
321
|
-
{
|
|
322
|
-
"internalType": "uint8",
|
|
323
|
-
"name": "",
|
|
324
|
-
"type": "uint8"
|
|
325
|
-
}
|
|
326
|
-
],
|
|
327
|
-
"stateMutability": "view",
|
|
328
|
-
"type": "function"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"inputs": [
|
|
332
|
-
{
|
|
333
|
-
"internalType": "address",
|
|
334
|
-
"name": "receiver",
|
|
335
|
-
"type": "address"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"internalType": "address",
|
|
339
|
-
"name": "tokenIn",
|
|
340
|
-
"type": "address"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"internalType": "uint256",
|
|
344
|
-
"name": "amountTokenToPull",
|
|
345
|
-
"type": "uint256"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"internalType": "uint256",
|
|
349
|
-
"name": "minSharesOut",
|
|
350
|
-
"type": "uint256"
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
"name": "deposit",
|
|
354
|
-
"outputs": [
|
|
355
|
-
{
|
|
356
|
-
"internalType": "uint256",
|
|
357
|
-
"name": "amountSharesOut",
|
|
358
|
-
"type": "uint256"
|
|
359
|
-
}
|
|
360
|
-
],
|
|
361
|
-
"stateMutability": "payable",
|
|
362
|
-
"type": "function"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"inputs": [],
|
|
366
|
-
"name": "exchangeRate",
|
|
367
|
-
"outputs": [
|
|
368
|
-
{
|
|
369
|
-
"internalType": "uint256",
|
|
370
|
-
"name": "",
|
|
371
|
-
"type": "uint256"
|
|
372
|
-
}
|
|
373
|
-
],
|
|
374
|
-
"stateMutability": "view",
|
|
375
|
-
"type": "function"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"inputs": [],
|
|
379
|
-
"name": "getBaseTokens",
|
|
380
|
-
"outputs": [
|
|
381
|
-
{
|
|
382
|
-
"internalType": "address[]",
|
|
383
|
-
"name": "res",
|
|
384
|
-
"type": "address[]"
|
|
385
|
-
}
|
|
386
|
-
],
|
|
387
|
-
"stateMutability": "view",
|
|
388
|
-
"type": "function"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"inputs": [],
|
|
392
|
-
"name": "getRewardTokens",
|
|
393
|
-
"outputs": [
|
|
394
|
-
{
|
|
395
|
-
"internalType": "address[]",
|
|
396
|
-
"name": "rewardTokens",
|
|
397
|
-
"type": "address[]"
|
|
398
|
-
}
|
|
399
|
-
],
|
|
400
|
-
"stateMutability": "view",
|
|
401
|
-
"type": "function"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"inputs": [
|
|
405
|
-
{
|
|
406
|
-
"internalType": "address",
|
|
407
|
-
"name": "token",
|
|
408
|
-
"type": "address"
|
|
409
|
-
}
|
|
410
|
-
],
|
|
411
|
-
"name": "isValidBaseToken",
|
|
412
|
-
"outputs": [
|
|
413
|
-
{
|
|
414
|
-
"internalType": "bool",
|
|
415
|
-
"name": "",
|
|
416
|
-
"type": "bool"
|
|
417
|
-
}
|
|
418
|
-
],
|
|
419
|
-
"stateMutability": "view",
|
|
420
|
-
"type": "function"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"inputs": [],
|
|
424
|
-
"name": "name",
|
|
425
|
-
"outputs": [
|
|
426
|
-
{
|
|
427
|
-
"internalType": "string",
|
|
428
|
-
"name": "",
|
|
429
|
-
"type": "string"
|
|
430
|
-
}
|
|
431
|
-
],
|
|
432
|
-
"stateMutability": "view",
|
|
433
|
-
"type": "function"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"inputs": [
|
|
437
|
-
{
|
|
438
|
-
"internalType": "address",
|
|
439
|
-
"name": "receiver",
|
|
440
|
-
"type": "address"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"internalType": "uint256",
|
|
444
|
-
"name": "amountSharesToPull",
|
|
445
|
-
"type": "uint256"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"internalType": "address",
|
|
449
|
-
"name": "tokenOut",
|
|
450
|
-
"type": "address"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"internalType": "uint256",
|
|
454
|
-
"name": "minTokenOut",
|
|
455
|
-
"type": "uint256"
|
|
456
|
-
}
|
|
457
|
-
],
|
|
458
|
-
"name": "redeem",
|
|
459
|
-
"outputs": [
|
|
460
|
-
{
|
|
461
|
-
"internalType": "uint256",
|
|
462
|
-
"name": "amountTokenOut",
|
|
463
|
-
"type": "uint256"
|
|
464
|
-
}
|
|
465
|
-
],
|
|
466
|
-
"stateMutability": "nonpayable",
|
|
467
|
-
"type": "function"
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"inputs": [],
|
|
471
|
-
"name": "rewardIndexesCurrent",
|
|
472
|
-
"outputs": [
|
|
473
|
-
{
|
|
474
|
-
"internalType": "uint256[]",
|
|
475
|
-
"name": "indexes",
|
|
476
|
-
"type": "uint256[]"
|
|
477
|
-
}
|
|
478
|
-
],
|
|
479
|
-
"stateMutability": "nonpayable",
|
|
480
|
-
"type": "function"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"inputs": [],
|
|
484
|
-
"name": "rewardIndexesStored",
|
|
485
|
-
"outputs": [
|
|
486
|
-
{
|
|
487
|
-
"internalType": "uint256[]",
|
|
488
|
-
"name": "indexes",
|
|
489
|
-
"type": "uint256[]"
|
|
490
|
-
}
|
|
491
|
-
],
|
|
492
|
-
"stateMutability": "view",
|
|
493
|
-
"type": "function"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"inputs": [],
|
|
497
|
-
"name": "symbol",
|
|
498
|
-
"outputs": [
|
|
499
|
-
{
|
|
500
|
-
"internalType": "string",
|
|
501
|
-
"name": "",
|
|
502
|
-
"type": "string"
|
|
503
|
-
}
|
|
504
|
-
],
|
|
505
|
-
"stateMutability": "view",
|
|
506
|
-
"type": "function"
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
"inputs": [],
|
|
510
|
-
"name": "totalSupply",
|
|
511
|
-
"outputs": [
|
|
512
|
-
{
|
|
513
|
-
"internalType": "uint256",
|
|
514
|
-
"name": "",
|
|
515
|
-
"type": "uint256"
|
|
516
|
-
}
|
|
517
|
-
],
|
|
518
|
-
"stateMutability": "view",
|
|
519
|
-
"type": "function"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"inputs": [
|
|
523
|
-
{
|
|
524
|
-
"internalType": "address",
|
|
525
|
-
"name": "to",
|
|
526
|
-
"type": "address"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"internalType": "uint256",
|
|
530
|
-
"name": "amount",
|
|
531
|
-
"type": "uint256"
|
|
532
|
-
}
|
|
533
|
-
],
|
|
534
|
-
"name": "transfer",
|
|
535
|
-
"outputs": [
|
|
536
|
-
{
|
|
537
|
-
"internalType": "bool",
|
|
538
|
-
"name": "",
|
|
539
|
-
"type": "bool"
|
|
540
|
-
}
|
|
541
|
-
],
|
|
542
|
-
"stateMutability": "nonpayable",
|
|
543
|
-
"type": "function"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"inputs": [
|
|
547
|
-
{
|
|
548
|
-
"internalType": "address",
|
|
549
|
-
"name": "from",
|
|
550
|
-
"type": "address"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"internalType": "address",
|
|
554
|
-
"name": "to",
|
|
555
|
-
"type": "address"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"internalType": "uint256",
|
|
559
|
-
"name": "amount",
|
|
560
|
-
"type": "uint256"
|
|
561
|
-
}
|
|
562
|
-
],
|
|
563
|
-
"name": "transferFrom",
|
|
564
|
-
"outputs": [
|
|
565
|
-
{
|
|
566
|
-
"internalType": "bool",
|
|
567
|
-
"name": "",
|
|
568
|
-
"type": "bool"
|
|
569
|
-
}
|
|
570
|
-
],
|
|
571
|
-
"stateMutability": "nonpayable",
|
|
572
|
-
"type": "function"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"inputs": [],
|
|
576
|
-
"name": "wxBTRFLY",
|
|
577
|
-
"outputs": [
|
|
578
|
-
{
|
|
579
|
-
"internalType": "address",
|
|
580
|
-
"name": "",
|
|
581
|
-
"type": "address"
|
|
582
|
-
}
|
|
583
|
-
],
|
|
584
|
-
"stateMutability": "view",
|
|
585
|
-
"type": "function"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"inputs": [],
|
|
589
|
-
"name": "xBTRFLY",
|
|
590
|
-
"outputs": [
|
|
591
|
-
{
|
|
592
|
-
"internalType": "address",
|
|
593
|
-
"name": "",
|
|
594
|
-
"type": "address"
|
|
595
|
-
}
|
|
596
|
-
],
|
|
597
|
-
"stateMutability": "view",
|
|
598
|
-
"type": "function"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"inputs": [],
|
|
602
|
-
"name": "yieldToken",
|
|
603
|
-
"outputs": [
|
|
604
|
-
{
|
|
605
|
-
"internalType": "address",
|
|
606
|
-
"name": "",
|
|
607
|
-
"type": "address"
|
|
608
|
-
}
|
|
609
|
-
],
|
|
610
|
-
"stateMutability": "view",
|
|
611
|
-
"type": "function"
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
"inputs": [],
|
|
615
|
-
"name": "yieldTokenReserve",
|
|
616
|
-
"outputs": [
|
|
617
|
-
{
|
|
618
|
-
"internalType": "uint256",
|
|
619
|
-
"name": "",
|
|
620
|
-
"type": "uint256"
|
|
621
|
-
}
|
|
622
|
-
],
|
|
623
|
-
"stateMutability": "view",
|
|
624
|
-
"type": "function"
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
"stateMutability": "payable",
|
|
628
|
-
"type": "receive"
|
|
629
|
-
}
|
|
630
|
-
],
|
|
631
|
-
"bytecode": "0x6101206040523480156200001257600080fd5b50604051620026613803806200266183398101604081905262000035916200040f565b8282828282601260036200004a84826200051a565b5060046200005983826200051a565b5060ff166080525050600280546001600160f81b0316600160f81b1790556001600160a01b0390811660a05283169150620000cc90505760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b60448201526064015b60405180910390fd5b6001600160a01b0381166101008190526040805163022443c160e41b815290516322443c10916004808201926020929091908290030181865afa15801562000118573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013e9190620005e6565b6001600160a01b031660c0816001600160a01b031681525050610100516001600160a01b031663df776f766040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000199573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bf9190620005e6565b6001600160a01b031660e05260c05161010051620001e1919060001962000204565b620001fb60e051610100516000196200020460201b60201c565b5050506200064d565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291516000928392908716916200026291906200060b565b6000604051808303816000865af19150503d8060008114620002a1576040519150601f19603f3d011682016040523d82523d6000602084013e620002a6565b606091505b5091509150818015620002d4575080511580620002d4575080806020019051810190620002d4919062000629565b620003115760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401620000c3565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200034b57818101518382015260200162000331565b838111156200035b576000848401525b50505050565b600082601f8301126200037357600080fd5b81516001600160401b038082111562000390576200039062000318565b604051601f8301601f19908116603f01168101908282118183101715620003bb57620003bb62000318565b81604052838152866020858801011115620003d557600080fd5b620003e88460208301602089016200032e565b9695505050505050565b80516001600160a01b03811681146200040a57600080fd5b919050565b6000806000606084860312156200042557600080fd5b83516001600160401b03808211156200043d57600080fd5b6200044b8783880162000361565b945060208601519150808211156200046257600080fd5b50620004718682870162000361565b9250506200048260408501620003f2565b90509250925092565b600181811c90821680620004a057607f821691505b602082108103620004c157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200051557600081815260208120601f850160051c81016020861015620004f05750805b601f850160051c820191505b818110156200051157828155600101620004fc565b5050505b505050565b81516001600160401b0381111562000536576200053662000318565b6200054e816200054784546200048b565b84620004c7565b602080601f8311600181146200058657600084156200056d5750858301515b600019600386901b1c1916600185901b17855562000511565b600085815260208120601f198616915b82811015620005b75788860151825594840194600190910190840162000596565b5085821015620005d65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620005f957600080fd5b6200060482620003f2565b9392505050565b600082516200061f8184602087016200032e565b9190910192915050565b6000602082840312156200063c57600080fd5b815180151581146200060457600080fd5b60805160a05160c05160e05161010051611f4a620007176000396000818161038e015281816107c501528181610a3e01528181610b0e01528181610e6701528181610ef401528181610f87015281816113d10152818161145e01526114ab015260008181610486015281816109ea01528181610ad201528181610ea7015261141101526000818161022f0152818161085401528181610875015281816109960152610a9701526000818161032101528181610e0d0152611113015260006102900152611f4a6000f3fe60806040526004361061012a5760003560e01c806305593d671461013657806306fdde031461015f578063095ea7b314610181578063128fced1146101b157806318160ddd146101ec57806320e8c5651461020a57806322443c101461021d57806323b872dd1461025e578063313ce5671461027e5780633ba0b9a9146102c457806370a08231146102d957806376d5de851461030f57806395d89b4114610343578063a40bee5014610358578063a6ba93ec1461037c578063a9059cbb146103b0578063bed64c2f146103d0578063c4f59f9b146103f2578063c9c0c08214610413578063da88ecb414610433578063dd62ed3e14610454578063df776f7614610474578063ef5cfb8c146101b1578063f3f094a1146104a8578063f8b2f9911461043357600080fd5b3661013157005b600080fd5b34801561014257600080fd5b5061014c60055481565b6040519081526020015b60405180910390f35b34801561016b57600080fd5b506101746104c8565b6040516101569190611acd565b34801561018d57600080fd5b506101a161019c366004611b1c565b61055a565b6040519015158152602001610156565b3480156101bd57600080fd5b506101df6101cc366004611b46565b5060408051600081526020810190915290565b6040516101569190611b61565b3480156101f857600080fd5b506002546001600160f81b031661014c565b61014c610218366004611ba5565b610574565b34801561022957600080fd5b506102517f000000000000000000000000000000000000000000000000000000000000000081565b6040516101569190611be7565b34801561026a57600080fd5b506101a1610279366004611bfb565b610727565b34801561028a57600080fd5b506102b27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610156565b3480156102d057600080fd5b5061014c6107a5565b3480156102e557600080fd5b5061014c6102f4366004611b46565b6001600160a01b031660009081526020819052604090205490565b34801561031b57600080fd5b506102517f000000000000000000000000000000000000000000000000000000000000000081565b34801561034f57600080fd5b5061017461083d565b34801561036457600080fd5b5061036d61084c565b60405161015693929190611c37565b34801561038857600080fd5b506102517f000000000000000000000000000000000000000000000000000000000000000081565b3480156103bc57600080fd5b506101a16103cb366004611b1c565b610900565b3480156103dc57600080fd5b506103e5610972565b6040516101569190611c79565b3480156103fe57600080fd5b506040805160008152602081019091526103e5565b34801561041f57600080fd5b506101a161042e366004611b46565b610a93565b34801561043f57600080fd5b506040805160008152602081019091526101df565b34801561046057600080fd5b5061014c61046f366004611cba565b610b47565b34801561048057600080fd5b506102517f000000000000000000000000000000000000000000000000000000000000000081565b3480156104b457600080fd5b5061014c6104c3366004611ced565b610b72565b6060600380546104d790611d31565b80601f016020809104026020016040519081016040528092919081815260200182805461050390611d31565b80156105505780601f1061052557610100808354040283529160200191610550565b820191906000526020600020905b81548152906001019060200180831161053357829003601f168201915b5050505050905090565b600033610568818585610cac565b60019150505b92915050565b600254600090600119600160f81b90910460ff16016105ae5760405162461bcd60e51b81526004016105a590611d6b565b60405180910390fd5b600280546001600160f81b0316600160f91b1790556105cc84610a93565b61060f5760405162461bcd60e51b815260206004820152601460248201527329a1ac9d1024b73b30b634b2103a37b5b2b724b760611b60448201526064016105a5565b6001600160a01b03841661066157821561065c5760405162461bcd60e51b815260206004820152600e60248201526d0c6c2dc4ee840e0ead8d840cae8d60931b60448201526064016105a5565b610672565b821561067257610672843385610dd1565b600061067d85610e09565b90506106898582610e63565b9150828210156106ab5760405162461bcd60e51b81526004016105a590611da2565b6106b58683611004565b60408051828152602081018490526001600160a01b03808816929089169133917f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5991015b60405180910390a45061070a61110e565b600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff16016107585760405162461bcd60e51b81526004016105a590611d6b565b600280546001600160f81b0316600160f91b1790553361077985828561113c565b6107848585856111b6565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b60405163d9f7e9a760e01b8152670de0b6b3a764000060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d9f7e9a790602401602060405180830381865afa158015610814573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108389190611dcc565b905090565b6060600480546104d790611d31565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f59190611de5565b925092509250909192565b600254600090600119600160f81b90910460ff16016109315760405162461bcd60e51b81526004016105a590611d6b565b600280546001600160f81b0316600160f91b179055336109528185856111b6565b6001915050600280546001600160f81b0316600160f81b17905592915050565b604080516003808252608082019092526060916020820183803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106109c8576109c8611e08565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610a1c57610a1c611e08565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600281518110610a7057610a70611e08565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610b0657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b8061056e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254600090600119600160f81b90910460ff1601610ba35760405162461bcd60e51b81526004016105a590611d6b565b600280546001600160f81b0316600160f91b179055610bc183610a93565b610c055760405162461bcd60e51b815260206004820152601560248201527414d0d64e881a5b9d985b1a59081d1bdad95b93dd5d605a1b60448201526064016105a5565b8315610c1657610c163330866111b6565b6000610c2130610e09565b9050610c2d84826113cd565b915082821015610c4f5760405162461bcd60e51b81526004016105a590611da2565b610c5930826114e2565b610c6484878461164f565b60408051828152602081018490526001600160a01b03808716929089169133917faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c91016106f9565b6001600160a01b038316610d0e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a5565b6001600160a01b038216610d6f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b801580610de557506001600160a01b038316155b15610def57505050565b610e046001600160a01b038416833084611713565b505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614610e4d5761056e8261177e565b600554610e598361177e565b61056e9190611e34565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610ea557508061056e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610f7157604051631077c0f960e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906320ef81f2906024015b6020604051808303816000875af1158015610f46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6a9190611dcc565b905061056e565b604051630969ad2960e31b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634b4d6948906024015b6020604051808303816000875af1158015610fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffd9190611dcc565b9392505050565b6001600160a01b03821661105a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105a5565b61106381611808565b6002805460009061107e9084906001600160f81b0316611e4b565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546110d69190611e76565b90915550506040518181526001600160a01b03831690600090600080516020611ef58339815191529060200160405180910390a35050565b6111377f000000000000000000000000000000000000000000000000000000000000000061177e565b600555565b60006111488484610b47565b905060001981146111b057818110156111a35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105a5565b6111b08484848403610cac565b50505050565b6001600160a01b03831661121a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105a5565b6001600160a01b03821661127c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105a5565b816001600160a01b0316836001600160a01b0316036112d75760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016105a5565b6001600160a01b0383166000908152602081905260409020548181101561134f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105a5565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611386908490611e76565b92505081905550826001600160a01b0316846001600160a01b0316600080516020611ef5833981519152846040516113c091815260200190565b60405180910390a36111b0565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361140f57508061056e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036114955760405163e09ae5f760e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e09ae5f790602401610f27565b604051634a97344b60e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634a97344b90602401610fba565b6001600160a01b0382166115425760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105a5565b6001600160a01b038216600090815260208190526040902054818110156115b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105a5565b6001600160a01b038316600090815260208190526040902082820390556115dc82611808565b600280546000906115f79084906001600160f81b0316611e8e565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020611ef583398151915284604051610dc491815260200190565b8060000361165c57505050565b6001600160a01b0383166116ff576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146116b7576040519150601f19603f3d011682016040523d82523d6000602084013e6116bc565b606091505b50509050806111b05760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016105a5565b610e046001600160a01b038416838361181e565b6040516001600160a01b03808516602483015283166044820152606481018290526111b09085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261184e565b60006001600160a01b03821615611801576040516370a0823160e01b81526001600160a01b038316906370a08231906117bb903090600401611be7565b602060405180830381865afa1580156117d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117fc9190611dcc565b61056e565b4792915050565b6000600160f81b821061181a57600080fd5b5090565b6040516001600160a01b038316602482015260448101829052610e0490849063a9059cbb60e01b90606401611747565b60006118a3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119209092919063ffffffff16565b805190915015610e0457808060200190518101906118c19190611eb6565b610e045760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105a5565b606061192f8484600085611937565b949350505050565b6060824710156119985760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016105a5565b6001600160a01b0385163b6119ef5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105a5565b600080866001600160a01b03168587604051611a0b9190611ed8565b60006040518083038185875af1925050503d8060008114611a48576040519150601f19603f3d011682016040523d82523d6000602084013e611a4d565b606091505b5091509150611a5d828286611a68565b979650505050505050565b60608315611a77575081610ffd565b825115611a875782518084602001fd5b8160405162461bcd60e51b81526004016105a59190611acd565b60005b83811015611abc578181015183820152602001611aa4565b838111156111b05750506000910152565b6020815260008251806020840152611aec816040850160208701611aa1565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611b1757600080fd5b919050565b60008060408385031215611b2f57600080fd5b611b3883611b00565b946020939093013593505050565b600060208284031215611b5857600080fd5b610ffd82611b00565b6020808252825182820181905260009190848201906040850190845b81811015611b9957835183529284019291840191600101611b7d565b50909695505050505050565b60008060008060808587031215611bbb57600080fd5b611bc485611b00565b9350611bd260208601611b00565b93969395505050506040820135916060013590565b6001600160a01b0391909116815260200190565b600080600060608486031215611c1057600080fd5b611c1984611b00565b9250611c2760208501611b00565b9150604084013590509250925092565b6060810160028510611c5957634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b6020808252825182820181905260009190848201906040850190845b81811015611b995783516001600160a01b031683529284019291840191600101611c95565b60008060408385031215611ccd57600080fd5b611cd683611b00565b9150611ce460208401611b00565b90509250929050565b60008060008060808587031215611d0357600080fd5b611d0c85611b00565b935060208501359250611d2160408601611b00565b9396929550929360600135925050565b600181811c90821680611d4557607f821691505b602082108103611d6557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526010908201526f1a5b9cdd59999a58da595b9d081bdd5d60821b604082015260600190565b600060208284031215611dde57600080fd5b5051919050565b600060208284031215611df757600080fd5b815160ff81168114610ffd57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611e4657611e46611e1e565b500390565b60006001600160f81b03828116848216808303821115611e6d57611e6d611e1e565b01949350505050565b60008219821115611e8957611e89611e1e565b500190565b60006001600160f81b0383811690831681811015611eae57611eae611e1e565b039392505050565b600060208284031215611ec857600080fd5b81518015158114610ffd57600080fd5b60008251611eea818460208701611aa1565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203f306ef7e03bfd41e8c9c51a171526b20b65a1c80818e73ed1213b71882827d464736f6c634300080f0033",
|
|
632
|
-
"deployedBytecode": "0x60806040526004361061012a5760003560e01c806305593d671461013657806306fdde031461015f578063095ea7b314610181578063128fced1146101b157806318160ddd146101ec57806320e8c5651461020a57806322443c101461021d57806323b872dd1461025e578063313ce5671461027e5780633ba0b9a9146102c457806370a08231146102d957806376d5de851461030f57806395d89b4114610343578063a40bee5014610358578063a6ba93ec1461037c578063a9059cbb146103b0578063bed64c2f146103d0578063c4f59f9b146103f2578063c9c0c08214610413578063da88ecb414610433578063dd62ed3e14610454578063df776f7614610474578063ef5cfb8c146101b1578063f3f094a1146104a8578063f8b2f9911461043357600080fd5b3661013157005b600080fd5b34801561014257600080fd5b5061014c60055481565b6040519081526020015b60405180910390f35b34801561016b57600080fd5b506101746104c8565b6040516101569190611acd565b34801561018d57600080fd5b506101a161019c366004611b1c565b61055a565b6040519015158152602001610156565b3480156101bd57600080fd5b506101df6101cc366004611b46565b5060408051600081526020810190915290565b6040516101569190611b61565b3480156101f857600080fd5b506002546001600160f81b031661014c565b61014c610218366004611ba5565b610574565b34801561022957600080fd5b506102517f000000000000000000000000000000000000000000000000000000000000000081565b6040516101569190611be7565b34801561026a57600080fd5b506101a1610279366004611bfb565b610727565b34801561028a57600080fd5b506102b27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610156565b3480156102d057600080fd5b5061014c6107a5565b3480156102e557600080fd5b5061014c6102f4366004611b46565b6001600160a01b031660009081526020819052604090205490565b34801561031b57600080fd5b506102517f000000000000000000000000000000000000000000000000000000000000000081565b34801561034f57600080fd5b5061017461083d565b34801561036457600080fd5b5061036d61084c565b60405161015693929190611c37565b34801561038857600080fd5b506102517f000000000000000000000000000000000000000000000000000000000000000081565b3480156103bc57600080fd5b506101a16103cb366004611b1c565b610900565b3480156103dc57600080fd5b506103e5610972565b6040516101569190611c79565b3480156103fe57600080fd5b506040805160008152602081019091526103e5565b34801561041f57600080fd5b506101a161042e366004611b46565b610a93565b34801561043f57600080fd5b506040805160008152602081019091526101df565b34801561046057600080fd5b5061014c61046f366004611cba565b610b47565b34801561048057600080fd5b506102517f000000000000000000000000000000000000000000000000000000000000000081565b3480156104b457600080fd5b5061014c6104c3366004611ced565b610b72565b6060600380546104d790611d31565b80601f016020809104026020016040519081016040528092919081815260200182805461050390611d31565b80156105505780601f1061052557610100808354040283529160200191610550565b820191906000526020600020905b81548152906001019060200180831161053357829003601f168201915b5050505050905090565b600033610568818585610cac565b60019150505b92915050565b600254600090600119600160f81b90910460ff16016105ae5760405162461bcd60e51b81526004016105a590611d6b565b60405180910390fd5b600280546001600160f81b0316600160f91b1790556105cc84610a93565b61060f5760405162461bcd60e51b815260206004820152601460248201527329a1ac9d1024b73b30b634b2103a37b5b2b724b760611b60448201526064016105a5565b6001600160a01b03841661066157821561065c5760405162461bcd60e51b815260206004820152600e60248201526d0c6c2dc4ee840e0ead8d840cae8d60931b60448201526064016105a5565b610672565b821561067257610672843385610dd1565b600061067d85610e09565b90506106898582610e63565b9150828210156106ab5760405162461bcd60e51b81526004016105a590611da2565b6106b58683611004565b60408051828152602081018490526001600160a01b03808816929089169133917f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5991015b60405180910390a45061070a61110e565b600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff16016107585760405162461bcd60e51b81526004016105a590611d6b565b600280546001600160f81b0316600160f91b1790553361077985828561113c565b6107848585856111b6565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b60405163d9f7e9a760e01b8152670de0b6b3a764000060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d9f7e9a790602401602060405180830381865afa158015610814573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108389190611dcc565b905090565b6060600480546104d790611d31565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f59190611de5565b925092509250909192565b600254600090600119600160f81b90910460ff16016109315760405162461bcd60e51b81526004016105a590611d6b565b600280546001600160f81b0316600160f91b179055336109528185856111b6565b6001915050600280546001600160f81b0316600160f81b17905592915050565b604080516003808252608082019092526060916020820183803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106109c8576109c8611e08565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610a1c57610a1c611e08565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600281518110610a7057610a70611e08565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610b0657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b8061056e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254600090600119600160f81b90910460ff1601610ba35760405162461bcd60e51b81526004016105a590611d6b565b600280546001600160f81b0316600160f91b179055610bc183610a93565b610c055760405162461bcd60e51b815260206004820152601560248201527414d0d64e881a5b9d985b1a59081d1bdad95b93dd5d605a1b60448201526064016105a5565b8315610c1657610c163330866111b6565b6000610c2130610e09565b9050610c2d84826113cd565b915082821015610c4f5760405162461bcd60e51b81526004016105a590611da2565b610c5930826114e2565b610c6484878461164f565b60408051828152602081018490526001600160a01b03808716929089169133917faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c91016106f9565b6001600160a01b038316610d0e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a5565b6001600160a01b038216610d6f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b801580610de557506001600160a01b038316155b15610def57505050565b610e046001600160a01b038416833084611713565b505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614610e4d5761056e8261177e565b600554610e598361177e565b61056e9190611e34565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610ea557508061056e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610f7157604051631077c0f960e11b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906320ef81f2906024015b6020604051808303816000875af1158015610f46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6a9190611dcc565b905061056e565b604051630969ad2960e31b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634b4d6948906024015b6020604051808303816000875af1158015610fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffd9190611dcc565b9392505050565b6001600160a01b03821661105a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105a5565b61106381611808565b6002805460009061107e9084906001600160f81b0316611e4b565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546110d69190611e76565b90915550506040518181526001600160a01b03831690600090600080516020611ef58339815191529060200160405180910390a35050565b6111377f000000000000000000000000000000000000000000000000000000000000000061177e565b600555565b60006111488484610b47565b905060001981146111b057818110156111a35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105a5565b6111b08484848403610cac565b50505050565b6001600160a01b03831661121a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105a5565b6001600160a01b03821661127c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105a5565b816001600160a01b0316836001600160a01b0316036112d75760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016105a5565b6001600160a01b0383166000908152602081905260409020548181101561134f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105a5565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611386908490611e76565b92505081905550826001600160a01b0316846001600160a01b0316600080516020611ef5833981519152846040516113c091815260200190565b60405180910390a36111b0565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361140f57508061056e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036114955760405163e09ae5f760e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e09ae5f790602401610f27565b604051634a97344b60e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634a97344b90602401610fba565b6001600160a01b0382166115425760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105a5565b6001600160a01b038216600090815260208190526040902054818110156115b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105a5565b6001600160a01b038316600090815260208190526040902082820390556115dc82611808565b600280546000906115f79084906001600160f81b0316611e8e565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020611ef583398151915284604051610dc491815260200190565b8060000361165c57505050565b6001600160a01b0383166116ff576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146116b7576040519150601f19603f3d011682016040523d82523d6000602084013e6116bc565b606091505b50509050806111b05760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016105a5565b610e046001600160a01b038416838361181e565b6040516001600160a01b03808516602483015283166044820152606481018290526111b09085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261184e565b60006001600160a01b03821615611801576040516370a0823160e01b81526001600160a01b038316906370a08231906117bb903090600401611be7565b602060405180830381865afa1580156117d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117fc9190611dcc565b61056e565b4792915050565b6000600160f81b821061181a57600080fd5b5090565b6040516001600160a01b038316602482015260448101829052610e0490849063a9059cbb60e01b90606401611747565b60006118a3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119209092919063ffffffff16565b805190915015610e0457808060200190518101906118c19190611eb6565b610e045760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105a5565b606061192f8484600085611937565b949350505050565b6060824710156119985760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016105a5565b6001600160a01b0385163b6119ef5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105a5565b600080866001600160a01b03168587604051611a0b9190611ed8565b60006040518083038185875af1925050503d8060008114611a48576040519150601f19603f3d011682016040523d82523d6000602084013e611a4d565b606091505b5091509150611a5d828286611a68565b979650505050505050565b60608315611a77575081610ffd565b825115611a875782518084602001fd5b8160405162461bcd60e51b81526004016105a59190611acd565b60005b83811015611abc578181015183820152602001611aa4565b838111156111b05750506000910152565b6020815260008251806020840152611aec816040850160208701611aa1565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114611b1757600080fd5b919050565b60008060408385031215611b2f57600080fd5b611b3883611b00565b946020939093013593505050565b600060208284031215611b5857600080fd5b610ffd82611b00565b6020808252825182820181905260009190848201906040850190845b81811015611b9957835183529284019291840191600101611b7d565b50909695505050505050565b60008060008060808587031215611bbb57600080fd5b611bc485611b00565b9350611bd260208601611b00565b93969395505050506040820135916060013590565b6001600160a01b0391909116815260200190565b600080600060608486031215611c1057600080fd5b611c1984611b00565b9250611c2760208501611b00565b9150604084013590509250925092565b6060810160028510611c5957634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b6020808252825182820181905260009190848201906040850190845b81811015611b995783516001600160a01b031683529284019291840191600101611c95565b60008060408385031215611ccd57600080fd5b611cd683611b00565b9150611ce460208401611b00565b90509250929050565b60008060008060808587031215611d0357600080fd5b611d0c85611b00565b935060208501359250611d2160408601611b00565b9396929550929360600135925050565b600181811c90821680611d4557607f821691505b602082108103611d6557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526010908201526f1a5b9cdd59999a58da595b9d081bdd5d60821b604082015260600190565b600060208284031215611dde57600080fd5b5051919050565b600060208284031215611df757600080fd5b815160ff81168114610ffd57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611e4657611e46611e1e565b500390565b60006001600160f81b03828116848216808303821115611e6d57611e6d611e1e565b01949350505050565b60008219821115611e8957611e89611e1e565b500190565b60006001600160f81b0383811690831681811015611eae57611eae611e1e565b039392505050565b600060208284031215611ec857600080fd5b81518015158114610ffd57600080fd5b60008251611eea818460208701611aa1565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203f306ef7e03bfd41e8c9c51a171526b20b65a1c80818e73ed1213b71882827d464736f6c634300080f0033",
|
|
633
|
-
"linkReferences": {},
|
|
634
|
-
"deployedLinkReferences": {}
|
|
635
|
-
}
|