@pendle/core-v2 0.9.2-beta → 0.9.4-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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.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/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- 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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- 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/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- 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/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- 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/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +35 -19
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- 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/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.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 +33 -17
- 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 +33 -17
- 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/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/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- 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/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.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/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.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 +48 -9
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol +1 -1
- package/contracts/core/PendleRouter.sol +2 -2
- package/contracts/core/actions/ActionCore.sol +18 -13
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +15 -15
- package/contracts/interfaces/IPActionCore.sol +12 -11
- package/contracts/offchain-helpers/RouterStatic.sol +17 -10
- package/deployments/43113-benqi.json +2 -2
- package/deployments/43113-core.json +1 -1
- package/deployments/43113-markets/benqi-market-95E744.json +7 -0
- package/deployments/43113-markets/benqi-market-D91a3F.json +7 -0
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +95 -84
- package/typechain-types/IPActionCore.ts +95 -84
- package/typechain-types/IPAllAction.ts +95 -84
- package/typechain-types/RouterStatic.ts +86 -31
- package/typechain-types/factories/ActionCore__factory.ts +34 -18
- package/typechain-types/factories/IPActionCore__factory.ts +33 -17
- package/typechain-types/factories/IPAllAction__factory.ts +33 -17
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +47 -8
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"indexed": false,
|
|
29
29
|
"internalType": "uint256",
|
|
30
|
-
"name": "
|
|
30
|
+
"name": "scyUsed",
|
|
31
31
|
"type": "uint256"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"type": "uint256"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
"name": "
|
|
46
|
+
"name": "AddLiquidityDualScyAndPt",
|
|
47
47
|
"type": "event"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -67,10 +67,16 @@
|
|
|
67
67
|
"name": "receiver",
|
|
68
68
|
"type": "address"
|
|
69
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"indexed": false,
|
|
72
|
+
"internalType": "address",
|
|
73
|
+
"name": "tokenIn",
|
|
74
|
+
"type": "address"
|
|
75
|
+
},
|
|
70
76
|
{
|
|
71
77
|
"indexed": false,
|
|
72
78
|
"internalType": "uint256",
|
|
73
|
-
"name": "
|
|
79
|
+
"name": "tokenUsed",
|
|
74
80
|
"type": "uint256"
|
|
75
81
|
},
|
|
76
82
|
{
|
|
@@ -86,7 +92,7 @@
|
|
|
86
92
|
"type": "uint256"
|
|
87
93
|
}
|
|
88
94
|
],
|
|
89
|
-
"name": "
|
|
95
|
+
"name": "AddLiquidityDualTokenAndPt",
|
|
90
96
|
"type": "event"
|
|
91
97
|
},
|
|
92
98
|
{
|
|
@@ -402,7 +408,7 @@
|
|
|
402
408
|
{
|
|
403
409
|
"indexed": false,
|
|
404
410
|
"internalType": "uint256",
|
|
405
|
-
"name": "
|
|
411
|
+
"name": "netlpIn",
|
|
406
412
|
"type": "uint256"
|
|
407
413
|
},
|
|
408
414
|
{
|
|
@@ -515,7 +521,7 @@
|
|
|
515
521
|
},
|
|
516
522
|
{
|
|
517
523
|
"internalType": "uint256",
|
|
518
|
-
"name": "
|
|
524
|
+
"name": "scyDesired",
|
|
519
525
|
"type": "uint256"
|
|
520
526
|
},
|
|
521
527
|
{
|
|
@@ -529,7 +535,7 @@
|
|
|
529
535
|
"type": "uint256"
|
|
530
536
|
}
|
|
531
537
|
],
|
|
532
|
-
"name": "
|
|
538
|
+
"name": "addLiquidityDualScyAndPt",
|
|
533
539
|
"outputs": [
|
|
534
540
|
{
|
|
535
541
|
"internalType": "uint256",
|
|
@@ -538,7 +544,7 @@
|
|
|
538
544
|
},
|
|
539
545
|
{
|
|
540
546
|
"internalType": "uint256",
|
|
541
|
-
"name": "
|
|
547
|
+
"name": "scyUsed",
|
|
542
548
|
"type": "uint256"
|
|
543
549
|
},
|
|
544
550
|
{
|
|
@@ -562,9 +568,14 @@
|
|
|
562
568
|
"name": "market",
|
|
563
569
|
"type": "address"
|
|
564
570
|
},
|
|
571
|
+
{
|
|
572
|
+
"internalType": "address",
|
|
573
|
+
"name": "tokenIn",
|
|
574
|
+
"type": "address"
|
|
575
|
+
},
|
|
565
576
|
{
|
|
566
577
|
"internalType": "uint256",
|
|
567
|
-
"name": "
|
|
578
|
+
"name": "tokenDesired",
|
|
568
579
|
"type": "uint256"
|
|
569
580
|
},
|
|
570
581
|
{
|
|
@@ -578,7 +589,7 @@
|
|
|
578
589
|
"type": "uint256"
|
|
579
590
|
}
|
|
580
591
|
],
|
|
581
|
-
"name": "
|
|
592
|
+
"name": "addLiquidityDualTokenAndPt",
|
|
582
593
|
"outputs": [
|
|
583
594
|
{
|
|
584
595
|
"internalType": "uint256",
|
|
@@ -587,7 +598,7 @@
|
|
|
587
598
|
},
|
|
588
599
|
{
|
|
589
600
|
"internalType": "uint256",
|
|
590
|
-
"name": "
|
|
601
|
+
"name": "tokenUsed",
|
|
591
602
|
"type": "uint256"
|
|
592
603
|
},
|
|
593
604
|
{
|
|
@@ -1179,7 +1190,7 @@
|
|
|
1179
1190
|
},
|
|
1180
1191
|
{
|
|
1181
1192
|
"internalType": "uint256",
|
|
1182
|
-
"name": "
|
|
1193
|
+
"name": "scyOutMin",
|
|
1183
1194
|
"type": "uint256"
|
|
1184
1195
|
},
|
|
1185
1196
|
{
|
|
@@ -1188,11 +1199,11 @@
|
|
|
1188
1199
|
"type": "uint256"
|
|
1189
1200
|
}
|
|
1190
1201
|
],
|
|
1191
|
-
"name": "
|
|
1202
|
+
"name": "removeLiquidityDualScyAndPt",
|
|
1192
1203
|
"outputs": [
|
|
1193
1204
|
{
|
|
1194
1205
|
"internalType": "uint256",
|
|
1195
|
-
"name": "
|
|
1206
|
+
"name": "netScyOut",
|
|
1196
1207
|
"type": "uint256"
|
|
1197
1208
|
},
|
|
1198
1209
|
{
|
|
@@ -1221,9 +1232,14 @@
|
|
|
1221
1232
|
"name": "lpToRemove",
|
|
1222
1233
|
"type": "uint256"
|
|
1223
1234
|
},
|
|
1235
|
+
{
|
|
1236
|
+
"internalType": "address",
|
|
1237
|
+
"name": "tokenOut",
|
|
1238
|
+
"type": "address"
|
|
1239
|
+
},
|
|
1224
1240
|
{
|
|
1225
1241
|
"internalType": "uint256",
|
|
1226
|
-
"name": "
|
|
1242
|
+
"name": "tokenOutMin",
|
|
1227
1243
|
"type": "uint256"
|
|
1228
1244
|
},
|
|
1229
1245
|
{
|
|
@@ -1232,11 +1248,11 @@
|
|
|
1232
1248
|
"type": "uint256"
|
|
1233
1249
|
}
|
|
1234
1250
|
],
|
|
1235
|
-
"name": "
|
|
1251
|
+
"name": "removeLiquidityDualTokenAndPt",
|
|
1236
1252
|
"outputs": [
|
|
1237
1253
|
{
|
|
1238
1254
|
"internalType": "uint256",
|
|
1239
|
-
"name": "
|
|
1255
|
+
"name": "netTokenOut",
|
|
1240
1256
|
"type": "uint256"
|
|
1241
1257
|
},
|
|
1242
1258
|
{
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"indexed": false,
|
|
29
29
|
"internalType": "uint256",
|
|
30
|
-
"name": "
|
|
30
|
+
"name": "scyUsed",
|
|
31
31
|
"type": "uint256"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"type": "uint256"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
"name": "
|
|
46
|
+
"name": "AddLiquidityDualScyAndPt",
|
|
47
47
|
"type": "event"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -67,10 +67,16 @@
|
|
|
67
67
|
"name": "receiver",
|
|
68
68
|
"type": "address"
|
|
69
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"indexed": false,
|
|
72
|
+
"internalType": "address",
|
|
73
|
+
"name": "tokenIn",
|
|
74
|
+
"type": "address"
|
|
75
|
+
},
|
|
70
76
|
{
|
|
71
77
|
"indexed": false,
|
|
72
78
|
"internalType": "uint256",
|
|
73
|
-
"name": "
|
|
79
|
+
"name": "tokenUsed",
|
|
74
80
|
"type": "uint256"
|
|
75
81
|
},
|
|
76
82
|
{
|
|
@@ -86,7 +92,7 @@
|
|
|
86
92
|
"type": "uint256"
|
|
87
93
|
}
|
|
88
94
|
],
|
|
89
|
-
"name": "
|
|
95
|
+
"name": "AddLiquidityDualTokenAndPt",
|
|
90
96
|
"type": "event"
|
|
91
97
|
},
|
|
92
98
|
{
|
|
@@ -402,7 +408,7 @@
|
|
|
402
408
|
{
|
|
403
409
|
"indexed": false,
|
|
404
410
|
"internalType": "uint256",
|
|
405
|
-
"name": "
|
|
411
|
+
"name": "netlpIn",
|
|
406
412
|
"type": "uint256"
|
|
407
413
|
},
|
|
408
414
|
{
|
|
@@ -583,7 +589,7 @@
|
|
|
583
589
|
},
|
|
584
590
|
{
|
|
585
591
|
"internalType": "uint256",
|
|
586
|
-
"name": "
|
|
592
|
+
"name": "scyDesired",
|
|
587
593
|
"type": "uint256"
|
|
588
594
|
},
|
|
589
595
|
{
|
|
@@ -597,7 +603,7 @@
|
|
|
597
603
|
"type": "uint256"
|
|
598
604
|
}
|
|
599
605
|
],
|
|
600
|
-
"name": "
|
|
606
|
+
"name": "addLiquidityDualScyAndPt",
|
|
601
607
|
"outputs": [
|
|
602
608
|
{
|
|
603
609
|
"internalType": "uint256",
|
|
@@ -606,7 +612,7 @@
|
|
|
606
612
|
},
|
|
607
613
|
{
|
|
608
614
|
"internalType": "uint256",
|
|
609
|
-
"name": "
|
|
615
|
+
"name": "scyUsed",
|
|
610
616
|
"type": "uint256"
|
|
611
617
|
},
|
|
612
618
|
{
|
|
@@ -630,9 +636,14 @@
|
|
|
630
636
|
"name": "market",
|
|
631
637
|
"type": "address"
|
|
632
638
|
},
|
|
639
|
+
{
|
|
640
|
+
"internalType": "address",
|
|
641
|
+
"name": "tokenIn",
|
|
642
|
+
"type": "address"
|
|
643
|
+
},
|
|
633
644
|
{
|
|
634
645
|
"internalType": "uint256",
|
|
635
|
-
"name": "
|
|
646
|
+
"name": "tokenDesired",
|
|
636
647
|
"type": "uint256"
|
|
637
648
|
},
|
|
638
649
|
{
|
|
@@ -646,7 +657,7 @@
|
|
|
646
657
|
"type": "uint256"
|
|
647
658
|
}
|
|
648
659
|
],
|
|
649
|
-
"name": "
|
|
660
|
+
"name": "addLiquidityDualTokenAndPt",
|
|
650
661
|
"outputs": [
|
|
651
662
|
{
|
|
652
663
|
"internalType": "uint256",
|
|
@@ -655,7 +666,7 @@
|
|
|
655
666
|
},
|
|
656
667
|
{
|
|
657
668
|
"internalType": "uint256",
|
|
658
|
-
"name": "
|
|
669
|
+
"name": "tokenUsed",
|
|
659
670
|
"type": "uint256"
|
|
660
671
|
},
|
|
661
672
|
{
|
|
@@ -1247,7 +1258,7 @@
|
|
|
1247
1258
|
},
|
|
1248
1259
|
{
|
|
1249
1260
|
"internalType": "uint256",
|
|
1250
|
-
"name": "
|
|
1261
|
+
"name": "scyOutMin",
|
|
1251
1262
|
"type": "uint256"
|
|
1252
1263
|
},
|
|
1253
1264
|
{
|
|
@@ -1256,11 +1267,11 @@
|
|
|
1256
1267
|
"type": "uint256"
|
|
1257
1268
|
}
|
|
1258
1269
|
],
|
|
1259
|
-
"name": "
|
|
1270
|
+
"name": "removeLiquidityDualScyAndPt",
|
|
1260
1271
|
"outputs": [
|
|
1261
1272
|
{
|
|
1262
1273
|
"internalType": "uint256",
|
|
1263
|
-
"name": "
|
|
1274
|
+
"name": "netScyOut",
|
|
1264
1275
|
"type": "uint256"
|
|
1265
1276
|
},
|
|
1266
1277
|
{
|
|
@@ -1289,9 +1300,14 @@
|
|
|
1289
1300
|
"name": "lpToRemove",
|
|
1290
1301
|
"type": "uint256"
|
|
1291
1302
|
},
|
|
1303
|
+
{
|
|
1304
|
+
"internalType": "address",
|
|
1305
|
+
"name": "tokenOut",
|
|
1306
|
+
"type": "address"
|
|
1307
|
+
},
|
|
1292
1308
|
{
|
|
1293
1309
|
"internalType": "uint256",
|
|
1294
|
-
"name": "
|
|
1310
|
+
"name": "tokenOutMin",
|
|
1295
1311
|
"type": "uint256"
|
|
1296
1312
|
},
|
|
1297
1313
|
{
|
|
@@ -1300,11 +1316,11 @@
|
|
|
1300
1316
|
"type": "uint256"
|
|
1301
1317
|
}
|
|
1302
1318
|
],
|
|
1303
|
-
"name": "
|
|
1319
|
+
"name": "removeLiquidityDualTokenAndPt",
|
|
1304
1320
|
"outputs": [
|
|
1305
1321
|
{
|
|
1306
1322
|
"internalType": "uint256",
|
|
1307
|
-
"name": "
|
|
1323
|
+
"name": "netTokenOut",
|
|
1308
1324
|
"type": "uint256"
|
|
1309
1325
|
},
|
|
1310
1326
|
{
|