@pendle/core-v2 0.6.3 → 0.6.5
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/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +482 -0
- package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.json +10 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.json +77 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.json +90 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +543 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +628 -0
- package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +333 -0
- package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +837 -0
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +239 -0
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +439 -0
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +230 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +765 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.json +10 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +761 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +636 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +618 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +618 -0
- package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +339 -0
- package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +808 -0
- package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +246 -0
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +58 -0
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +714 -0
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.json +55 -0
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +485 -0
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json +10 -0
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json +185 -0
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +210 -0
- package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +4 -0
- package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.json +10 -0
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.json +213 -0
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +87 -0
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +59 -0
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.json +44 -0
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.json +662 -0
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.json +760 -0
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +519 -0
- package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.json +55 -0
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +270 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +822 -0
- package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.json +259 -0
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +24 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +670 -0
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +67 -0
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +96 -0
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +34 -0
- package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.json +334 -0
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +24 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +204 -0
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +206 -0
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +595 -0
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.json +258 -0
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.json +207 -0
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +92 -0
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.json +252 -0
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +119 -0
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.json +62 -0
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +62 -0
- package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +10 -0
- package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +10 -0
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +10 -0
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +10 -0
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +10 -0
- package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +10 -0
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +10 -0
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +10 -0
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +4 -0
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +87 -0
- package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +4 -0
- package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.json +37 -0
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +4 -0
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.json +24 -0
- package/deployments/kovan.json +31 -0
- package/package.json +4 -2
- package/typechain-types/ActionCallback.ts +5 -5
- package/typechain-types/ActionCore.ts +280 -232
- package/typechain-types/{ActionSCYAndPYBase.ts → ActionSCYAndYOBase.ts} +54 -54
- package/typechain-types/ActionSCYAndYTBase.ts +49 -49
- package/typechain-types/ActionYT.ts +140 -92
- package/typechain-types/AggregatorV2V3Interface.ts +380 -0
- package/typechain-types/BenqiChainlinkOracle.ts +362 -0
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BoringOwnableUpg.ts +194 -0
- package/typechain-types/BoringOwnableUpgData.ts +100 -0
- package/typechain-types/Comptroller.ts +2860 -0
- package/typechain-types/ComptrollerErrorReporter.ts +70 -0
- package/typechain-types/ComptrollerInterface.ts +881 -0
- package/typechain-types/ComptrollerVXStorage.ts +781 -0
- package/typechain-types/CrosschainContract.ts +113 -0
- package/typechain-types/CrosschainReceiver.ts +347 -0
- package/typechain-types/CrosschainSender.ts +210 -0
- package/typechain-types/EIP20Interface.ts +337 -0
- package/typechain-types/EIP20NonStandardInterface.ts +298 -0
- package/typechain-types/ERC20Burnable.ts +473 -0
- package/typechain-types/ERC20Locker.ts +91 -0
- package/typechain-types/ERC20Premined.ts +473 -0
- package/typechain-types/ERC20PresetFixedSupply.ts +473 -0
- package/typechain-types/EpochController.ts +195 -0
- package/typechain-types/FundKeeper.ts +347 -0
- package/typechain-types/GaugeTypeControllerAbstract.ts +546 -0
- package/typechain-types/GaugeTypeControllerCrosschain.ts +733 -0
- package/typechain-types/GaugeTypeControllerMainchain.ts +604 -0
- package/typechain-types/IGaugeController.ts +99 -0
- package/typechain-types/ILiquidYieldToken.ts +639 -0
- package/typechain-types/ILiquidYieldTokenWrap.ts +790 -0
- package/typechain-types/IMessageBus.ts +543 -0
- package/typechain-types/IMessageReceiverApp.ts +110 -0
- package/typechain-types/IPActionCore.ts +231 -183
- package/typechain-types/IPActionYT.ts +91 -43
- package/typechain-types/IPAllAction.ts +322 -204
- package/typechain-types/IPFlashCallback.ts +115 -0
- package/typechain-types/IPLiquidYieldToken.ts +641 -0
- package/typechain-types/IPMarket.ts +55 -55
- package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
- package/typechain-types/IPMarketCallback.ts +107 -0
- package/typechain-types/IPMarketFactory.ts +3 -3
- package/typechain-types/IPMarketSwapCallback.ts +5 -5
- package/typechain-types/{IPPrincipalToken.ts → IPOwnershipToken.ts} +5 -5
- package/typechain-types/IPRouterCore.ts +769 -0
- package/typechain-types/IPRouterRedeem.ts +155 -0
- package/typechain-types/IPRouterStatic.ts +49 -529
- package/typechain-types/IPRouterYT.ts +489 -0
- package/typechain-types/IPYieldContractFactory.ts +19 -19
- package/typechain-types/IPYieldToken.ts +29 -29
- package/typechain-types/IPermissionsV2.ts +87 -0
- package/typechain-types/IRainbowBridge.ts +91 -0
- package/typechain-types/ISCYRewardIndex.ts +695 -0
- package/typechain-types/ISuperComposableYield.ts +0 -13
- package/typechain-types/IVEPendleToken.ts +121 -0
- package/typechain-types/IXPendle.ts +114 -0
- package/typechain-types/InterestRateModel.ts +178 -0
- package/typechain-types/JumpRateModel.ts +347 -0
- package/typechain-types/LYTBase.ts +721 -0
- package/typechain-types/LYTBaseWithRewards.ts +806 -0
- package/typechain-types/LYTWrap.ts +872 -0
- package/typechain-types/LYTWrapWithRewards.ts +979 -0
- package/typechain-types/LiquidityMining.ts +468 -0
- package/typechain-types/Maximillion.ts +145 -0
- package/typechain-types/Ownable.ts +160 -0
- package/typechain-types/PendleAaveV3LYT.ts +808 -0
- package/typechain-types/PendleAaveV3SCY.ts +0 -13
- package/typechain-types/PendleBaseToken.ts +1 -1
- package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
- package/typechain-types/PendleBenQiErc20SCY.ts +20 -14
- package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
- package/typechain-types/PendleBtrflyLYT.ts +781 -0
- package/typechain-types/PendleBtrflyScy.ts +20 -14
- package/typechain-types/PendleGauge.ts +469 -0
- package/typechain-types/PendleGovernanceManager.ts +5 -5
- package/typechain-types/PendleJoeSwapHelper.ts +92 -0
- package/typechain-types/PendleLYTMockYT.ts +894 -0
- package/typechain-types/PendleLiquidYieldToken.ts +814 -0
- package/typechain-types/PendleLiquidYieldTokenBase.ts +941 -0
- package/typechain-types/PendleMarket.ts +105 -102
- package/typechain-types/PendleMarketFactory.ts +8 -48
- package/typechain-types/{PendlePrincipalToken.ts → PendleOwnershipToken.ts} +6 -15
- package/typechain-types/PendleRouter01.ts +184 -0
- package/typechain-types/PendleRouter02.ts +564 -0
- package/typechain-types/PendleRouter03.ts +224 -0
- package/typechain-types/PendleRouterBase.ts +126 -0
- package/typechain-types/PendleRouterCore.ts +328 -0
- package/typechain-types/PendleRouterCoreUpg.ts +798 -0
- package/typechain-types/PendleRouterLytAndForge.ts +331 -0
- package/typechain-types/PendleRouterMarketBase.ts +82 -0
- package/typechain-types/PendleRouterOT.ts +463 -0
- package/typechain-types/PendleRouterProxy.ts +335 -0
- package/typechain-types/PendleRouterRawTokenOT.ts +865 -0
- package/typechain-types/PendleRouterRawTokenYT.ts +520 -0
- package/typechain-types/{ActionRedeem.ts → PendleRouterRedeemUpg.ts} +5 -5
- package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +98 -0
- package/typechain-types/PendleRouterStaticUpg.ts +399 -0
- package/typechain-types/PendleRouterYT.ts +227 -0
- package/typechain-types/PendleRouterYTBaseUpg.ts +134 -0
- package/typechain-types/PendleRouterYTUpg.ts +537 -0
- package/typechain-types/PendleStEthSCY.ts +23 -15
- package/typechain-types/PendleYTLYTBenqi.ts +863 -0
- package/typechain-types/PendleYearnVaultLYT.ts +723 -0
- package/typechain-types/PendleYearnVaultScy.ts +23 -15
- package/typechain-types/PendleYieldContractFactory.ts +28 -28
- package/typechain-types/PendleYieldToken.ts +30 -30
- package/typechain-types/PermissionsV2.ts +87 -0
- package/typechain-types/PermlessAbstract.ts +57 -0
- package/typechain-types/PglStakingContract.ts +662 -0
- package/typechain-types/PglStakingContractProxy.ts +256 -0
- package/typechain-types/PglStakingContractProxyStorage.ts +136 -0
- package/typechain-types/PglStakingContractStorage.ts +397 -0
- package/typechain-types/PriceOracle.ts +116 -0
- package/typechain-types/ProtocolFakeUser.ts +105 -0
- package/typechain-types/Qi.ts +760 -0
- package/typechain-types/QiAvax.ts +1720 -0
- package/typechain-types/QiDelegateInterface.ts +145 -0
- package/typechain-types/QiDelegationStorage.ts +82 -0
- package/typechain-types/QiDelegatorInterface.ts +149 -0
- package/typechain-types/QiErc20.ts +1846 -0
- package/typechain-types/QiErc20Delegate.ts +1926 -0
- package/typechain-types/QiErc20Delegator.ts +1885 -0
- package/typechain-types/QiErc20Interface.ts +382 -0
- package/typechain-types/QiErc20Storage.ts +79 -0
- package/typechain-types/QiToken.ts +1475 -0
- package/typechain-types/QiTokenInterface.ts +1419 -0
- package/typechain-types/QiTokenSaleDistributor.ts +771 -0
- package/typechain-types/QiTokenSaleDistributorProxy.ts +256 -0
- package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +136 -0
- package/typechain-types/QiTokenSaleDistributorStorage.ts +401 -0
- package/typechain-types/QiTokenStorage.ts +311 -0
- package/typechain-types/ReentrancyGuard.ts +52 -0
- package/typechain-types/RouterStatic.ts +50 -530
- package/typechain-types/SCYBase.ts +0 -13
- package/typechain-types/SCYBaseWithRewards.ts +0 -13
- package/typechain-types/SingleGaugeTypeController.ts +478 -0
- package/typechain-types/TokenErrorReporter.ts +70 -0
- package/typechain-types/Unitroller.ts +356 -0
- package/typechain-types/UnitrollerAdminStorage.ts +143 -0
- package/typechain-types/VePendle.ts +1156 -0
- package/typechain-types/VePendleCrosschain.ts +969 -0
- package/typechain-types/VePendleToken.ts +688 -0
- package/typechain-types/VotingController.ts +883 -0
- package/typechain-types/WETH9.ts +414 -0
- package/typechain-types/WhitePaperInterestRateModel.ts +304 -0
- package/typechain-types/XPendle.ts +618 -0
- package/typechain-types/factories/ActionCallback__factory.ts +2 -2
- package/typechain-types/factories/ActionCore__factory.ts +91 -127
- package/typechain-types/factories/{ActionSCYAndPYBase__factory.ts → ActionSCYAndYOBase__factory.ts} +20 -20
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
- package/typechain-types/factories/ActionYT__factory.ts +68 -104
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +288 -0
- package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +311 -0
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnableUpgData__factory.ts +94 -0
- package/typechain-types/factories/BoringOwnableUpg__factory.ts +139 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +149 -0
- package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +93 -0
- package/typechain-types/factories/ComptrollerInterface__factory.ts +595 -0
- package/typechain-types/factories/ComptrollerVXStorage__factory.ts +610 -0
- package/typechain-types/factories/Comptroller__factory.ts +2189 -0
- package/typechain-types/factories/CrosschainContract__factory.ts +52 -0
- package/typechain-types/factories/CrosschainReceiver__factory.ts +187 -0
- package/typechain-types/factories/CrosschainSender__factory.ts +104 -0
- package/typechain-types/factories/EIP20Interface__factory.ts +248 -0
- package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +213 -0
- package/typechain-types/factories/ERC20Burnable__factory.ts +324 -0
- package/typechain-types/factories/ERC20Locker__factory.ts +73 -0
- package/typechain-types/factories/ERC20Premined__factory.ts +393 -0
- package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +422 -0
- package/typechain-types/factories/EpochController__factory.ts +170 -0
- package/typechain-types/factories/FundKeeper__factory.ts +212 -0
- package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +387 -0
- package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +522 -0
- package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +431 -0
- package/typechain-types/factories/IGaugeController__factory.ts +45 -0
- package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +533 -0
- package/typechain-types/factories/ILiquidYieldToken__factory.ts +429 -0
- package/typechain-types/factories/IMessageBus__factory.ts +396 -0
- package/typechain-types/factories/IMessageReceiverApp__factory.ts +55 -0
- package/typechain-types/factories/IPActionCore__factory.ts +78 -114
- package/typechain-types/factories/IPActionYT__factory.ts +54 -90
- package/typechain-types/factories/IPAllAction__factory.ts +138 -210
- package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
- package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
- package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +14 -14
- package/typechain-types/factories/{IPPrincipalToken__factory.ts → IPOwnershipToken__factory.ts} +8 -8
- package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
- package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
- package/typechain-types/factories/IPRouterStatic__factory.ts +10 -626
- package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
- package/typechain-types/factories/IPermissionsV2__factory.ts +39 -0
- package/typechain-types/factories/IRainbowBridge__factory.ts +76 -0
- package/typechain-types/factories/ISCYRewardIndex__factory.ts +465 -0
- package/typechain-types/factories/ISuperComposableYield__factory.ts +0 -13
- package/typechain-types/factories/IVEPendleToken__factory.ts +71 -0
- package/typechain-types/factories/IXPendle__factory.ts +61 -0
- package/typechain-types/factories/InterestRateModel__factory.ts +108 -0
- package/typechain-types/factories/JumpRateModel__factory.ts +334 -0
- package/typechain-types/factories/LYTBaseWithRewards__factory.ts +530 -0
- package/typechain-types/factories/LYTBase__factory.ts +474 -0
- package/typechain-types/factories/LYTWrapWithRewards__factory.ts +643 -0
- package/typechain-types/factories/LYTWrap__factory.ts +574 -0
- package/typechain-types/factories/LiquidityMining__factory.ts +367 -0
- package/typechain-types/factories/Maximillion__factory.ts +125 -0
- package/typechain-types/factories/Ownable__factory.ts +75 -0
- package/typechain-types/factories/PendleAaveV3LYT__factory.ts +657 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -24
- package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
- package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
- package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +15 -25
- package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
- package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +15 -25
- package/typechain-types/factories/PendleGauge__factory.ts +383 -0
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
- package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +52 -0
- package/typechain-types/factories/PendleLYTMockYT__factory.ts +732 -0
- package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +603 -0
- package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +510 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +3 -29
- package/typechain-types/factories/PendleMarket__factory.ts +54 -59
- package/typechain-types/factories/PendleOwnershipToken__factory.ts +527 -0
- package/typechain-types/factories/PendleRouter01__factory.ts +152 -0
- package/typechain-types/factories/PendleRouter02__factory.ts +438 -0
- package/typechain-types/factories/PendleRouter03__factory.ts +190 -0
- package/typechain-types/factories/PendleRouterBase__factory.ts +68 -0
- package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +635 -0
- package/typechain-types/factories/PendleRouterCore__factory.ts +268 -0
- package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +294 -0
- package/typechain-types/factories/PendleRouterMarketBase__factory.ts +43 -0
- package/typechain-types/factories/PendleRouterOT__factory.ts +372 -0
- package/typechain-types/factories/PendleRouterProxy__factory.ts +285 -0
- package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +697 -0
- package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +431 -0
- package/typechain-types/factories/{ActionRedeem__factory.ts → PendleRouterRedeemUpg__factory.ts} +26 -19
- package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +56 -0
- package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +315 -0
- package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +66 -0
- package/typechain-types/factories/PendleRouterYTUpg__factory.ts +422 -0
- package/typechain-types/factories/PendleRouterYT__factory.ts +184 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleStEthSCY__factory.ts +17 -27
- package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
- package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +16 -26
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
- package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
- package/typechain-types/factories/PermissionsV2__factory.ts +36 -0
- package/typechain-types/factories/PermlessAbstract__factory.ts +30 -0
- package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +130 -0
- package/typechain-types/factories/PglStakingContractProxy__factory.ts +187 -0
- package/typechain-types/factories/PglStakingContractStorage__factory.ts +309 -0
- package/typechain-types/factories/PglStakingContract__factory.ts +446 -0
- package/typechain-types/factories/PriceOracle__factory.ts +59 -0
- package/typechain-types/factories/ProtocolFakeUser__factory.ts +87 -0
- package/typechain-types/factories/QiAvax__factory.ts +1471 -0
- package/typechain-types/factories/QiDelegateInterface__factory.ts +65 -0
- package/typechain-types/factories/QiDelegationStorage__factory.ts +79 -0
- package/typechain-types/factories/QiDelegatorInterface__factory.ts +89 -0
- package/typechain-types/factories/QiErc20Delegate__factory.ts +1563 -0
- package/typechain-types/factories/QiErc20Delegator__factory.ts +1648 -0
- package/typechain-types/factories/QiErc20Interface__factory.ts +239 -0
- package/typechain-types/factories/QiErc20Storage__factory.ts +79 -0
- package/typechain-types/factories/QiErc20__factory.ts +1515 -0
- package/typechain-types/factories/QiTokenInterface__factory.ts +1182 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +124 -0
- package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +171 -0
- package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +289 -0
- package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +480 -0
- package/typechain-types/factories/QiTokenStorage__factory.ts +274 -0
- package/typechain-types/factories/QiToken__factory.ts +1219 -0
- package/typechain-types/factories/Qi__factory.ts +648 -0
- package/typechain-types/factories/ReentrancyGuard__factory.ts +69 -0
- package/typechain-types/factories/RouterStatic__factory.ts +13 -629
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +0 -13
- package/typechain-types/factories/SCYBase__factory.ts +0 -13
- package/typechain-types/factories/SingleGaugeTypeController__factory.ts +341 -0
- package/typechain-types/factories/TokenErrorReporter__factory.ts +89 -0
- package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +128 -0
- package/typechain-types/factories/Unitroller__factory.ts +305 -0
- package/typechain-types/factories/VePendleCrosschain__factory.ts +727 -0
- package/typechain-types/factories/VePendleToken__factory.ts +494 -0
- package/typechain-types/factories/VePendle__factory.ts +800 -0
- package/typechain-types/factories/VotingController__factory.ts +610 -0
- package/typechain-types/factories/WETH9__factory.ts +342 -0
- package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +281 -0
- package/typechain-types/factories/XPendle__factory.ts +473 -0
- package/typechain-types/hardhat.d.ts +20 -20
- package/typechain-types/index.ts +8 -8
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +0 -540
package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json
ADDED
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "SCYBase",
|
|
4
|
+
"sourceName": "contracts/SuperComposableYield/implementations/SCYBase.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"anonymous": false,
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"indexed": true,
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "owner",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"indexed": true,
|
|
17
|
+
"internalType": "address",
|
|
18
|
+
"name": "spender",
|
|
19
|
+
"type": "address"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"indexed": false,
|
|
23
|
+
"internalType": "uint256",
|
|
24
|
+
"name": "value",
|
|
25
|
+
"type": "uint256"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"name": "Approval",
|
|
29
|
+
"type": "event"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"indexed": true,
|
|
36
|
+
"internalType": "address",
|
|
37
|
+
"name": "from",
|
|
38
|
+
"type": "address"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"indexed": true,
|
|
42
|
+
"internalType": "address",
|
|
43
|
+
"name": "to",
|
|
44
|
+
"type": "address"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"indexed": false,
|
|
48
|
+
"internalType": "uint256",
|
|
49
|
+
"name": "value",
|
|
50
|
+
"type": "uint256"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"name": "Transfer",
|
|
54
|
+
"type": "event"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"anonymous": false,
|
|
58
|
+
"inputs": [
|
|
59
|
+
{
|
|
60
|
+
"indexed": false,
|
|
61
|
+
"internalType": "uint256",
|
|
62
|
+
"name": "scyIndex",
|
|
63
|
+
"type": "uint256"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"name": "UpdateScyIndex",
|
|
67
|
+
"type": "event"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"inputs": [
|
|
71
|
+
{
|
|
72
|
+
"internalType": "address",
|
|
73
|
+
"name": "owner",
|
|
74
|
+
"type": "address"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"internalType": "address",
|
|
78
|
+
"name": "spender",
|
|
79
|
+
"type": "address"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"name": "allowance",
|
|
83
|
+
"outputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "uint256",
|
|
86
|
+
"name": "",
|
|
87
|
+
"type": "uint256"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"stateMutability": "view",
|
|
91
|
+
"type": "function"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [
|
|
95
|
+
{
|
|
96
|
+
"internalType": "address",
|
|
97
|
+
"name": "spender",
|
|
98
|
+
"type": "address"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"internalType": "uint256",
|
|
102
|
+
"name": "amount",
|
|
103
|
+
"type": "uint256"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"name": "approve",
|
|
107
|
+
"outputs": [
|
|
108
|
+
{
|
|
109
|
+
"internalType": "bool",
|
|
110
|
+
"name": "",
|
|
111
|
+
"type": "bool"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"stateMutability": "nonpayable",
|
|
115
|
+
"type": "function"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"inputs": [],
|
|
119
|
+
"name": "assetDecimals",
|
|
120
|
+
"outputs": [
|
|
121
|
+
{
|
|
122
|
+
"internalType": "uint8",
|
|
123
|
+
"name": "",
|
|
124
|
+
"type": "uint8"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"stateMutability": "view",
|
|
128
|
+
"type": "function"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"inputs": [
|
|
132
|
+
{
|
|
133
|
+
"internalType": "address",
|
|
134
|
+
"name": "account",
|
|
135
|
+
"type": "address"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"name": "balanceOf",
|
|
139
|
+
"outputs": [
|
|
140
|
+
{
|
|
141
|
+
"internalType": "uint256",
|
|
142
|
+
"name": "",
|
|
143
|
+
"type": "uint256"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"stateMutability": "view",
|
|
147
|
+
"type": "function"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"inputs": [],
|
|
151
|
+
"name": "decimals",
|
|
152
|
+
"outputs": [
|
|
153
|
+
{
|
|
154
|
+
"internalType": "uint8",
|
|
155
|
+
"name": "",
|
|
156
|
+
"type": "uint8"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"stateMutability": "view",
|
|
160
|
+
"type": "function"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"inputs": [
|
|
164
|
+
{
|
|
165
|
+
"internalType": "address",
|
|
166
|
+
"name": "spender",
|
|
167
|
+
"type": "address"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"internalType": "uint256",
|
|
171
|
+
"name": "subtractedValue",
|
|
172
|
+
"type": "uint256"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"name": "decreaseAllowance",
|
|
176
|
+
"outputs": [
|
|
177
|
+
{
|
|
178
|
+
"internalType": "bool",
|
|
179
|
+
"name": "",
|
|
180
|
+
"type": "bool"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"stateMutability": "nonpayable",
|
|
184
|
+
"type": "function"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"inputs": [],
|
|
188
|
+
"name": "getBaseTokens",
|
|
189
|
+
"outputs": [
|
|
190
|
+
{
|
|
191
|
+
"internalType": "address[]",
|
|
192
|
+
"name": "res",
|
|
193
|
+
"type": "address[]"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"stateMutability": "view",
|
|
197
|
+
"type": "function"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"inputs": [],
|
|
201
|
+
"name": "getRewardTokens",
|
|
202
|
+
"outputs": [
|
|
203
|
+
{
|
|
204
|
+
"internalType": "address[]",
|
|
205
|
+
"name": "",
|
|
206
|
+
"type": "address[]"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"stateMutability": "view",
|
|
210
|
+
"type": "function"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"inputs": [
|
|
214
|
+
{
|
|
215
|
+
"internalType": "address",
|
|
216
|
+
"name": "spender",
|
|
217
|
+
"type": "address"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"internalType": "uint256",
|
|
221
|
+
"name": "addedValue",
|
|
222
|
+
"type": "uint256"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"name": "increaseAllowance",
|
|
226
|
+
"outputs": [
|
|
227
|
+
{
|
|
228
|
+
"internalType": "bool",
|
|
229
|
+
"name": "",
|
|
230
|
+
"type": "bool"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"stateMutability": "nonpayable",
|
|
234
|
+
"type": "function"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"inputs": [
|
|
238
|
+
{
|
|
239
|
+
"internalType": "address",
|
|
240
|
+
"name": "token",
|
|
241
|
+
"type": "address"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"name": "isValidBaseToken",
|
|
245
|
+
"outputs": [
|
|
246
|
+
{
|
|
247
|
+
"internalType": "bool",
|
|
248
|
+
"name": "",
|
|
249
|
+
"type": "bool"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"stateMutability": "view",
|
|
253
|
+
"type": "function"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"inputs": [
|
|
257
|
+
{
|
|
258
|
+
"internalType": "address",
|
|
259
|
+
"name": "receiver",
|
|
260
|
+
"type": "address"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"internalType": "address",
|
|
264
|
+
"name": "baseTokenIn",
|
|
265
|
+
"type": "address"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"internalType": "uint256",
|
|
269
|
+
"name": "amountBaseToPull",
|
|
270
|
+
"type": "uint256"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"internalType": "uint256",
|
|
274
|
+
"name": "minAmountScyOut",
|
|
275
|
+
"type": "uint256"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"name": "mint",
|
|
279
|
+
"outputs": [
|
|
280
|
+
{
|
|
281
|
+
"internalType": "uint256",
|
|
282
|
+
"name": "amountScyOut",
|
|
283
|
+
"type": "uint256"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"stateMutability": "nonpayable",
|
|
287
|
+
"type": "function"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"inputs": [
|
|
291
|
+
{
|
|
292
|
+
"internalType": "address",
|
|
293
|
+
"name": "receiver",
|
|
294
|
+
"type": "address"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"internalType": "address",
|
|
298
|
+
"name": "baseTokenIn",
|
|
299
|
+
"type": "address"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"internalType": "uint256",
|
|
303
|
+
"name": "minAmountScyOut",
|
|
304
|
+
"type": "uint256"
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"name": "mintNoPull",
|
|
308
|
+
"outputs": [
|
|
309
|
+
{
|
|
310
|
+
"internalType": "uint256",
|
|
311
|
+
"name": "",
|
|
312
|
+
"type": "uint256"
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"stateMutability": "nonpayable",
|
|
316
|
+
"type": "function"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"inputs": [],
|
|
320
|
+
"name": "name",
|
|
321
|
+
"outputs": [
|
|
322
|
+
{
|
|
323
|
+
"internalType": "string",
|
|
324
|
+
"name": "",
|
|
325
|
+
"type": "string"
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"stateMutability": "view",
|
|
329
|
+
"type": "function"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"inputs": [
|
|
333
|
+
{
|
|
334
|
+
"internalType": "address",
|
|
335
|
+
"name": "receiver",
|
|
336
|
+
"type": "address"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"internalType": "address",
|
|
340
|
+
"name": "baseTokenOut",
|
|
341
|
+
"type": "address"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"internalType": "uint256",
|
|
345
|
+
"name": "amountScyToPull",
|
|
346
|
+
"type": "uint256"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"internalType": "uint256",
|
|
350
|
+
"name": "minAmountBaseOut",
|
|
351
|
+
"type": "uint256"
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
"name": "redeem",
|
|
355
|
+
"outputs": [
|
|
356
|
+
{
|
|
357
|
+
"internalType": "uint256",
|
|
358
|
+
"name": "amountBaseOut",
|
|
359
|
+
"type": "uint256"
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"stateMutability": "nonpayable",
|
|
363
|
+
"type": "function"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"inputs": [
|
|
367
|
+
{
|
|
368
|
+
"internalType": "address",
|
|
369
|
+
"name": "receiver",
|
|
370
|
+
"type": "address"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"internalType": "address",
|
|
374
|
+
"name": "baseTokenOut",
|
|
375
|
+
"type": "address"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"internalType": "uint256",
|
|
379
|
+
"name": "minAmountBaseOut",
|
|
380
|
+
"type": "uint256"
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"name": "redeemNoPull",
|
|
384
|
+
"outputs": [
|
|
385
|
+
{
|
|
386
|
+
"internalType": "uint256",
|
|
387
|
+
"name": "",
|
|
388
|
+
"type": "uint256"
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"stateMutability": "nonpayable",
|
|
392
|
+
"type": "function"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"inputs": [
|
|
396
|
+
{
|
|
397
|
+
"internalType": "address",
|
|
398
|
+
"name": "user",
|
|
399
|
+
"type": "address"
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"name": "redeemReward",
|
|
403
|
+
"outputs": [
|
|
404
|
+
{
|
|
405
|
+
"internalType": "uint256[]",
|
|
406
|
+
"name": "outAmounts",
|
|
407
|
+
"type": "uint256[]"
|
|
408
|
+
}
|
|
409
|
+
],
|
|
410
|
+
"stateMutability": "nonpayable",
|
|
411
|
+
"type": "function"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"inputs": [],
|
|
415
|
+
"name": "scyIndexCurrent",
|
|
416
|
+
"outputs": [
|
|
417
|
+
{
|
|
418
|
+
"internalType": "uint256",
|
|
419
|
+
"name": "res",
|
|
420
|
+
"type": "uint256"
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"stateMutability": "nonpayable",
|
|
424
|
+
"type": "function"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"inputs": [],
|
|
428
|
+
"name": "scyIndexStored",
|
|
429
|
+
"outputs": [
|
|
430
|
+
{
|
|
431
|
+
"internalType": "uint256",
|
|
432
|
+
"name": "res",
|
|
433
|
+
"type": "uint256"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"stateMutability": "view",
|
|
437
|
+
"type": "function"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"inputs": [],
|
|
441
|
+
"name": "symbol",
|
|
442
|
+
"outputs": [
|
|
443
|
+
{
|
|
444
|
+
"internalType": "string",
|
|
445
|
+
"name": "",
|
|
446
|
+
"type": "string"
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"stateMutability": "view",
|
|
450
|
+
"type": "function"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"inputs": [],
|
|
454
|
+
"name": "totalSupply",
|
|
455
|
+
"outputs": [
|
|
456
|
+
{
|
|
457
|
+
"internalType": "uint256",
|
|
458
|
+
"name": "",
|
|
459
|
+
"type": "uint256"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"stateMutability": "view",
|
|
463
|
+
"type": "function"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"inputs": [
|
|
467
|
+
{
|
|
468
|
+
"internalType": "address",
|
|
469
|
+
"name": "to",
|
|
470
|
+
"type": "address"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"internalType": "uint256",
|
|
474
|
+
"name": "amount",
|
|
475
|
+
"type": "uint256"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"name": "transfer",
|
|
479
|
+
"outputs": [
|
|
480
|
+
{
|
|
481
|
+
"internalType": "bool",
|
|
482
|
+
"name": "",
|
|
483
|
+
"type": "bool"
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"stateMutability": "nonpayable",
|
|
487
|
+
"type": "function"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"inputs": [
|
|
491
|
+
{
|
|
492
|
+
"internalType": "address",
|
|
493
|
+
"name": "from",
|
|
494
|
+
"type": "address"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"internalType": "address",
|
|
498
|
+
"name": "to",
|
|
499
|
+
"type": "address"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"internalType": "uint256",
|
|
503
|
+
"name": "amount",
|
|
504
|
+
"type": "uint256"
|
|
505
|
+
}
|
|
506
|
+
],
|
|
507
|
+
"name": "transferFrom",
|
|
508
|
+
"outputs": [
|
|
509
|
+
{
|
|
510
|
+
"internalType": "bool",
|
|
511
|
+
"name": "",
|
|
512
|
+
"type": "bool"
|
|
513
|
+
}
|
|
514
|
+
],
|
|
515
|
+
"stateMutability": "nonpayable",
|
|
516
|
+
"type": "function"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"inputs": [],
|
|
520
|
+
"name": "updateGlobalReward",
|
|
521
|
+
"outputs": [],
|
|
522
|
+
"stateMutability": "nonpayable",
|
|
523
|
+
"type": "function"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"inputs": [
|
|
527
|
+
{
|
|
528
|
+
"internalType": "address",
|
|
529
|
+
"name": "user",
|
|
530
|
+
"type": "address"
|
|
531
|
+
}
|
|
532
|
+
],
|
|
533
|
+
"name": "updateUserReward",
|
|
534
|
+
"outputs": [],
|
|
535
|
+
"stateMutability": "nonpayable",
|
|
536
|
+
"type": "function"
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"bytecode": "0x",
|
|
540
|
+
"deployedBytecode": "0x",
|
|
541
|
+
"linkReferences": {},
|
|
542
|
+
"deployedLinkReferences": {}
|
|
543
|
+
}
|