@pendle/core-v2 0.16.1-testnet → 0.16.1-testnet-daily
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +20 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP/Pendle3CrvAndTokenSY.sol → Pendle3CrvAndTokenSY.sol}/Pendle3CrvAndTokenSY.json +3 -3
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleConvex2TokensSY.sol/PendleConvex2TokensSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleConvex2TokensSY.sol/PendleConvex2TokensSY.json +1005 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{Pendle3CrvHelper.sol → base/Pendle3CrvHelper.sol}/Pendle3CrvHelper.json +3 -3
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol/PendleConvexLPSY.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +75 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +35 -4
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +65 -2
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +14 -7
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +89 -60
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +20 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -3
- package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
- package/contracts/offchain-helpers/RouterStatic.sol +1 -1
- package/deployments/43113-core.json +8 -8
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +4 -4
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +4 -4
- package/deployments/80001-core.json +10 -10
- package/package.json +1 -1
- package/typechain-types/IBooster.ts +9 -3
- package/typechain-types/ICrvPool.ts +4 -9
- package/typechain-types/PendleConvex2TokensSY.ts +1215 -0
- package/typechain-types/PendleMarketFactory.ts +21 -0
- package/typechain-types/PendleYieldContractFactory.ts +47 -2
- package/typechain-types/PendleYieldToken.ts +42 -0
- package/typechain-types/RouterStatic.ts +44 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +17 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +64 -1
- package/typechain-types/factories/IBooster__factory.ts +1 -1
- package/typechain-types/factories/ICrvPool__factory.ts +14 -7
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +1093 -0
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +19 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +74 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +38 -3
- package/typechain-types/factories/RouterStatic__factory.ts +30 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +31 -40
- package/typechain-types/index.ts +6 -14
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -182
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "MarketApproxPtInLib",
|
|
4
4
|
"sourceName": "contracts/router/base/MarketApproxLib.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122058579a9f6ea2a9557e214efe0263062f0be710b9b3dfd24385ee0c83550a4e4864736f6c63430008110033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122058579a9f6ea2a9557e214efe0263062f0be710b9b3dfd24385ee0c83550a4e4864736f6c63430008110033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "MarketApproxPtOutLib",
|
|
4
4
|
"sourceName": "contracts/router/base/MarketApproxLib.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206570bdaa9d8a554ebc9c6ae56c5c586e9bbca1c7b20dcd7b18c821e0c443ab9264736f6c63430008110033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206570bdaa9d8a554ebc9c6ae56c5c586e9bbca1c7b20dcd7b18c821e0c443ab9264736f6c63430008110033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -44,7 +44,7 @@ abstract contract PendleGaugeControllerBaseUpg is
|
|
|
44
44
|
uint128 incentiveEndsAt;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
uint128 internal constant WEEK = 1
|
|
47
|
+
uint128 internal constant WEEK = 1 days;
|
|
48
48
|
|
|
49
49
|
address public immutable pendle;
|
|
50
50
|
IPMarketFactory public immutable marketFactory;
|
|
@@ -49,7 +49,7 @@ abstract contract VotingControllerStorageUpg is IPVotingController {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
52
|
-
uint128 public constant WEEK = 1
|
|
52
|
+
uint128 public constant WEEK = 1 days;
|
|
53
53
|
uint128 public constant GOVERNANCE_PENDLE_VOTE = 10**24;
|
|
54
54
|
|
|
55
55
|
IPVeToken public immutable vePendle;
|
|
@@ -21,13 +21,13 @@ import "../libraries/WeekMath.sol";
|
|
|
21
21
|
* + No other transaction is allowed to write on sidechain storage
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
abstract contract VotingEscrowTokenBase is IPVeToken {
|
|
24
|
+
abstract contract VotingEscrowTokenBase is IPVeToken {
|
|
25
25
|
using VeBalanceLib for VeBalance;
|
|
26
26
|
using VeBalanceLib for LockedPosition;
|
|
27
27
|
|
|
28
|
-
uint128 public constant WEEK = 1
|
|
28
|
+
uint128 public constant WEEK = 1 days;
|
|
29
29
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
30
|
-
uint128 public constant MIN_LOCK_TIME = 1
|
|
30
|
+
uint128 public constant MIN_LOCK_TIME = 1 days;
|
|
31
31
|
|
|
32
32
|
VeBalance internal _totalSupply;
|
|
33
33
|
uint128 public lastSlopeChangeAppliedAt;
|
|
@@ -20,7 +20,7 @@ contract RouterStatic is Initializable, BoringOwnableUpgradeable, UUPSUpgradeabl
|
|
|
20
20
|
using VeBalanceLib for LockedPosition;
|
|
21
21
|
|
|
22
22
|
uint128 public constant MAX_LOCK_TIME = 104 weeks;
|
|
23
|
-
uint128 public constant MIN_LOCK_TIME = 1
|
|
23
|
+
uint128 public constant MIN_LOCK_TIME = 1 days;
|
|
24
24
|
|
|
25
25
|
struct TokenAmount {
|
|
26
26
|
address token;
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
"lzEndpoint": "0x93f54D755A063cE7bB9e6Ac47Eccc8e33411d706",
|
|
6
6
|
"treasury": "0x243b7CFD29AcAF9cDe98C1958902FAA3B1F095D5",
|
|
7
7
|
"PENDLE": "0xB7609dec1C926204c3B67345cbCd54bc4aa7a940",
|
|
8
|
-
"yieldContractFactory": "
|
|
9
|
-
"marketFactory": "
|
|
10
|
-
"router": "
|
|
11
|
-
"routerStatic": "
|
|
12
|
-
"vePendle": "
|
|
13
|
-
"senderEndpoint": "
|
|
14
|
-
"votingController": "
|
|
15
|
-
"gaugeController": "
|
|
8
|
+
"yieldContractFactory": "0xfD5EDf66bf3A2E5c2fBd5d4be243c5802e699b6a",
|
|
9
|
+
"marketFactory": "0x6aE219f9B761D8D94780FE0F3EC7Ab4151842dBD",
|
|
10
|
+
"router": "0x86E983e99402663bBd50eA6F7e77FaA9219305CC",
|
|
11
|
+
"routerStatic": "0xaB0Aa804291f7090F423D27e3eaEB5E4434CC731",
|
|
12
|
+
"vePendle": "0x8391B95F016FFE2a4c32F69B4363ca55470fDfe1",
|
|
13
|
+
"senderEndpoint": "0x8E7E8bdbaA68bDCcAFC3586d7fDa43bb1310Ec71",
|
|
14
|
+
"votingController": "0xD6d778846B2d4A013d44fAF346FcdFa34b58E222",
|
|
15
|
+
"gaugeController": "0x2324819386c3867494c7654Bdc0B6D93B6FecD13"
|
|
16
16
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"symbol": "SY-qiUSDC",
|
|
3
|
-
"SY": "
|
|
3
|
+
"SY": "0xFFc4208cC825baD56909C7fbff63BB43286D4c67",
|
|
4
4
|
"expiry": 1675382400,
|
|
5
|
-
"PT": "
|
|
6
|
-
"YT": "
|
|
7
|
-
"market": "
|
|
5
|
+
"PT": "0x7354104DCE0cED4Bbf6c7798a9D52Adb1340B1c0",
|
|
6
|
+
"YT": "0x869BD2A765c43a9811cc9a8B2ABCE5C78a0aa004",
|
|
7
|
+
"market": "0x3Ca64162AD9A6D25B37c67FF4b474cb925d2cCA9"
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"symbol": "SY-qiWETH",
|
|
3
|
-
"SY": "
|
|
3
|
+
"SY": "0xC4907BBd480F53Ae5dA80F723975F8c2125783eC",
|
|
4
4
|
"expiry": 1669852800,
|
|
5
|
-
"PT": "
|
|
6
|
-
"YT": "
|
|
7
|
-
"market": "
|
|
5
|
+
"PT": "0xa1da6AFaE358135b1e9E43aCF0C00d0E2A501F84",
|
|
6
|
+
"YT": "0x818dd5ad650B064A5314F6df60CDdC2a63272b58",
|
|
7
|
+
"market": "0xAc92B8B795f9DBb784e97fC69cDBF4167621D458"
|
|
8
8
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"deployer": "0x1FcCC097db89A86Bfc474A1028F93958295b1Fb7",
|
|
3
3
|
"network": 80001,
|
|
4
|
-
"splitter": "
|
|
4
|
+
"splitter": "0x335289ccb76C1A11aDB82E2aa2ab39a83DdcC49a",
|
|
5
5
|
"lzEndpoint": "0xf69186dfBa60DdB133E91E9A4B5673624293d8F8",
|
|
6
|
-
"treasury": "
|
|
7
|
-
"PENDLE": "
|
|
8
|
-
"yieldContractFactory": "
|
|
9
|
-
"marketFactory": "
|
|
10
|
-
"router": "
|
|
11
|
-
"routerStatic": "
|
|
12
|
-
"receiverEndpoint": "
|
|
13
|
-
"vePendle": "
|
|
14
|
-
"gaugeController": "
|
|
6
|
+
"treasury": "0xdC1b3B6b2091a3bB2c7439005A24F33a9A4f87Be",
|
|
7
|
+
"PENDLE": "0x7b5b5105dFBacc2A84d00406FEa5B454a73979a4",
|
|
8
|
+
"yieldContractFactory": "0xeC1AF9aA4801E44879c5cB800887478d98De37c0",
|
|
9
|
+
"marketFactory": "0xA91817a07A7A8020972E5115196f59E347C35b99",
|
|
10
|
+
"router": "0xa96527ddb4353559132db1CB347978fc552ce1FF",
|
|
11
|
+
"routerStatic": "0x00Da82d7B30D39B896380EDf460425F7556BfDb6",
|
|
12
|
+
"receiverEndpoint": "0xa0c3840e5FD27f3C51bda5f0b6a75738ddeB6062",
|
|
13
|
+
"vePendle": "0x1367c812418c67895C2474169F6753272be8B5f4",
|
|
14
|
+
"gaugeController": "0x98F5Ff866AAfF8A4109380CE2dC02CA6644AD81d"
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -120,7 +120,9 @@ export interface IBooster extends BaseContract {
|
|
|
120
120
|
poolInfo(
|
|
121
121
|
arg0: BigNumberish,
|
|
122
122
|
overrides?: CallOverrides
|
|
123
|
-
): Promise<
|
|
123
|
+
): Promise<
|
|
124
|
+
[string, string, string, string, string, boolean] & { lpToken: string }
|
|
125
|
+
>;
|
|
124
126
|
|
|
125
127
|
poolLength(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
126
128
|
|
|
@@ -154,7 +156,9 @@ export interface IBooster extends BaseContract {
|
|
|
154
156
|
poolInfo(
|
|
155
157
|
arg0: BigNumberish,
|
|
156
158
|
overrides?: CallOverrides
|
|
157
|
-
): Promise<
|
|
159
|
+
): Promise<
|
|
160
|
+
[string, string, string, string, string, boolean] & { lpToken: string }
|
|
161
|
+
>;
|
|
158
162
|
|
|
159
163
|
poolLength(overrides?: CallOverrides): Promise<BigNumber>;
|
|
160
164
|
|
|
@@ -188,7 +192,9 @@ export interface IBooster extends BaseContract {
|
|
|
188
192
|
poolInfo(
|
|
189
193
|
arg0: BigNumberish,
|
|
190
194
|
overrides?: CallOverrides
|
|
191
|
-
): Promise<
|
|
195
|
+
): Promise<
|
|
196
|
+
[string, string, string, string, string, boolean] & { lpToken: string }
|
|
197
|
+
>;
|
|
192
198
|
|
|
193
199
|
poolLength(overrides?: CallOverrides): Promise<BigNumber>;
|
|
194
200
|
|
|
@@ -29,7 +29,7 @@ export interface ICrvPoolInterface extends utils.Interface {
|
|
|
29
29
|
"calc_token_amount(uint256[3],bool)": FunctionFragment;
|
|
30
30
|
"calc_withdraw_one_coin(uint256,int128)": FunctionFragment;
|
|
31
31
|
"coins(uint256)": FunctionFragment;
|
|
32
|
-
"exchange(int128,int128,uint256,uint256
|
|
32
|
+
"exchange(int128,int128,uint256,uint256)": FunctionFragment;
|
|
33
33
|
"get_dy(int128,int128,uint256)": FunctionFragment;
|
|
34
34
|
"get_virtual_price()": FunctionFragment;
|
|
35
35
|
"remove_liquidity(uint256,uint256[],address)": FunctionFragment;
|
|
@@ -51,7 +51,7 @@ export interface ICrvPoolInterface extends utils.Interface {
|
|
|
51
51
|
encodeFunctionData(functionFragment: "coins", values: [BigNumberish]): string;
|
|
52
52
|
encodeFunctionData(
|
|
53
53
|
functionFragment: "exchange",
|
|
54
|
-
values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish
|
|
54
|
+
values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]
|
|
55
55
|
): string;
|
|
56
56
|
encodeFunctionData(
|
|
57
57
|
functionFragment: "get_dy",
|
|
@@ -179,7 +179,6 @@ export interface ICrvPool extends BaseContract {
|
|
|
179
179
|
j: BigNumberish,
|
|
180
180
|
dx: BigNumberish,
|
|
181
181
|
min_dy: BigNumberish,
|
|
182
|
-
_receiver: string,
|
|
183
182
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
184
183
|
): Promise<ContractTransaction>;
|
|
185
184
|
|
|
@@ -257,7 +256,6 @@ export interface ICrvPool extends BaseContract {
|
|
|
257
256
|
j: BigNumberish,
|
|
258
257
|
dx: BigNumberish,
|
|
259
258
|
min_dy: BigNumberish,
|
|
260
|
-
_receiver: string,
|
|
261
259
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
262
260
|
): Promise<ContractTransaction>;
|
|
263
261
|
|
|
@@ -289,7 +287,7 @@ export interface ICrvPool extends BaseContract {
|
|
|
289
287
|
_deposit_amount: [BigNumberish, BigNumberish],
|
|
290
288
|
_min_amount: BigNumberish,
|
|
291
289
|
overrides?: CallOverrides
|
|
292
|
-
): Promise<
|
|
290
|
+
): Promise<BigNumber>;
|
|
293
291
|
|
|
294
292
|
"add_liquidity(uint256[3],uint256)"(
|
|
295
293
|
_deposit_amount: [BigNumberish, BigNumberish, BigNumberish],
|
|
@@ -335,7 +333,6 @@ export interface ICrvPool extends BaseContract {
|
|
|
335
333
|
j: BigNumberish,
|
|
336
334
|
dx: BigNumberish,
|
|
337
335
|
min_dy: BigNumberish,
|
|
338
|
-
_receiver: string,
|
|
339
336
|
overrides?: CallOverrides
|
|
340
337
|
): Promise<BigNumber>;
|
|
341
338
|
|
|
@@ -360,7 +357,7 @@ export interface ICrvPool extends BaseContract {
|
|
|
360
357
|
i: BigNumberish,
|
|
361
358
|
_min_amount: BigNumberish,
|
|
362
359
|
overrides?: CallOverrides
|
|
363
|
-
): Promise<
|
|
360
|
+
): Promise<BigNumber>;
|
|
364
361
|
};
|
|
365
362
|
|
|
366
363
|
filters: {};
|
|
@@ -416,7 +413,6 @@ export interface ICrvPool extends BaseContract {
|
|
|
416
413
|
j: BigNumberish,
|
|
417
414
|
dx: BigNumberish,
|
|
418
415
|
min_dy: BigNumberish,
|
|
419
|
-
_receiver: string,
|
|
420
416
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
421
417
|
): Promise<BigNumber>;
|
|
422
418
|
|
|
@@ -498,7 +494,6 @@ export interface ICrvPool extends BaseContract {
|
|
|
498
494
|
j: BigNumberish,
|
|
499
495
|
dx: BigNumberish,
|
|
500
496
|
min_dy: BigNumberish,
|
|
501
|
-
_receiver: string,
|
|
502
497
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
503
498
|
): Promise<PopulatedTransaction>;
|
|
504
499
|
|