PendleRouterV3

Verified contract

Proxy

Active on Ethereum with 220,150 txns
Deployed by via 0x646f6830 at 18810014
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
Value $1.21
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xbfc6fc593d832c795e4197c19a42d9d6779bc25c259a813dfa9b3400079de47a
0x49edada3e6ff57f8a744696bdaf08a9f3401ce6a8a5635f30a0d695c7b1a290c
0xfd6563c6d4e21db660ef26ad3200fd34d638a9f8f883e60800bdbeeb9ace42dd
0x5c592547b2c6f0f4db0b8abde2ad5b19b745e4b225e3ffcea02a3a7040746a46
0xc9be608d5e4fce166fe0af011e6875f72a35dceaa9904e533afa1323b5269df9
0xd1f11ba6e7343bd20f8d973650a3cddd7aac7fc43897b2ab02f42e879b72e17f
0x39fa18dfb411efabc085f60b012c5eed5818eb3fb2edd0f0887f0192a954142a
0x62fea759552fdc97ec6426ed0b736260c5b567b20ca940ca7eb706943d4d4c5b
0x4e42ee5a2aca6250ea1cf9b20f130e5f621d9bee2bf74e7ccccbea58ba12fd64
0x10e372525d1b2ebbc54eed5cb2e713447b298590ad4a8a160e9bd28f8568c1a5

Functions
Getter at block 21246563
facetAddresses(view returns (address[])
[0x00000000005BBB0EF59571E58418F9a4357b68A0, 0x7f51b16394255DCa3b784D1B1e7FcCE221014E39, 0xFf2097020e556648269377286b1B7fcf6987eede, 0x851fA6b758d5b70551089b466FbAf69381b0d06e, 0x32aC6aB61121D20BC08989BfD200095431c2E35d, 0x8086174bE8FC721CbF275545193a73f56FBF3384]
facets(view returns (struct IDiamondLoupeFacet[] facets_)
[(0x00000000005bbb0ef59571e58418f9a4357b68a0, [0x52ef6b2c, 0x7a0ed627, 0xadfca15e, 0xcdffacc6]), (0x7f51b16394255dca3b784d1b1e7fcce221014e39, [0x12599ac6, 0x2756ce06, 0x3dbe1c55, 0x4e390267, 0x58bda475, 0x60da0860, 0x6b77ac9e, 0x844384aa, 0x97ee279e, 0xb00f09d7, 0xb7d75b8b, 0xd13b4fdc]), (0xff2097020e556648269377286b1b7fcf6987eede, [0x05eb5327, 0x448b9b95, 0x7b8b4b95, 0x80c4d566, 0xc861a898, 0xed48907e]), (0x851fa6b758d5b70551089b466fbaf69381b0d06e, [0x2a50917c, 0x3346d3a3, 0x594a88cc, 0xc81f847a]), (0x32ac6ab61121d20bc08989bfd200095431c2e35d, [0xeb3a7d47, 0xfa483e72]), (0x8086174be8fc721cbf275545193a73f56fbf3384, [0x1a8631b2, 0x2d8f9d8d, 0x2e071dc6, 0x339748cb, 0x339a5572, 0x47f1de22, 0x5d3e105c, 0x60fc8466, 0xa89eba4a, 0xbd61951d, 0xd0f42385, 0xf7e375e8])]
Read-only
facetAddress(bytes4 sigview returns (address)
facetFunctionSelectors(address facetview returns (bytes4[] res)
State-modifying
addLiquidityDualSyAndPt(address receiveraddress marketuint256 netSyDesireduint256 netPtDesireduint256 minLpOutreturns (uint256 netLpOutuint256 netSyUseduint256 netPtUsed)
addLiquidityDualTokenAndPt(address receiveraddress marketstruct TokenInput inputuint256 netPtDesireduint256 minLpOutpayable returns (uint256 netLpOutuint256 netPtUseduint256 netSyInterm)
addLiquiditySinglePt(address receiveraddress marketuint256 netPtInuint256 minLpOutstruct ApproxParams guessPtSwapToSystruct LimitOrderData limitreturns (uint256 netLpOutuint256 netSyFee)
addLiquiditySingleSy(address receiveraddress marketuint256 netSyInuint256 minLpOutstruct ApproxParams guessPtReceivedFromSystruct LimitOrderData limitreturns (uint256 netLpOutuint256 netSyFee)
addLiquiditySingleSyKeepYt(address receiveraddress marketuint256 netSyInuint256 minLpOutuint256 minYtOutreturns (uint256 netLpOutuint256 netYtOutuint256 netSyMintPy)
addLiquiditySingleToken(address receiveraddress marketuint256 minLpOutstruct ApproxParams guessPtReceivedFromSystruct TokenInput inputstruct LimitOrderData limitpayable returns (uint256 netLpOutuint256 netSyFeeuint256 netSyInterm)
addLiquiditySingleTokenKeepYt(address receiveraddress marketuint256 minLpOutuint256 minYtOutstruct TokenInput inputpayable returns (uint256 netLpOutuint256 netYtOutuint256 netSyMintPyuint256 netSyInterm)
removeLiquidityDualSyAndPt(address receiveraddress marketuint256 netLpToRemoveuint256 minSyOutuint256 minPtOutreturns (uint256 netSyOutuint256 netPtOut)
removeLiquidityDualTokenAndPt(address receiveraddress marketuint256 netLpToRemovestruct TokenOutput outputuint256 minPtOutreturns (uint256 netTokenOutuint256 netPtOutuint256 netSyInterm)
removeLiquiditySinglePt(address receiveraddress marketuint256 netLpToRemoveuint256 minPtOutstruct ApproxParams guessPtReceivedFromSystruct LimitOrderData limitreturns (uint256 netPtOutuint256 netSyFee)
removeLiquiditySingleSy(address receiveraddress marketuint256 netLpToRemoveuint256 minSyOutstruct LimitOrderData limitreturns (uint256 netSyOutuint256 netSyFee)
removeLiquiditySingleToken(address receiveraddress marketuint256 netLpToRemovestruct TokenOutput outputstruct LimitOrderData limitreturns (uint256 netTokenOutuint256 netSyFeeuint256 netSyInterm)
Events
DiamondCut(struct IDiamondCutFacetCut[] _diamondCutaddress _initbytes _calldata
AddLiquidityDualSyAndPt(address indexed calleraddress indexed marketaddress indexed receiveruint256 netSyUseduint256 netPtUseduint256 netLpOut
AddLiquidityDualTokenAndPt(address indexed calleraddress indexed marketaddress indexed tokenInaddress receiveruint256 netTokenUseduint256 netPtUseduint256 netLpOutuint256 netSyInterm
AddLiquiditySinglePt(address indexed calleraddress indexed marketaddress indexed receiveruint256 netPtInuint256 netLpOut
AddLiquiditySingleSy(address indexed calleraddress indexed marketaddress indexed receiveruint256 netSyInuint256 netLpOut
AddLiquiditySingleSyKeepYt(address indexed calleraddress indexed marketaddress indexed receiveruint256 netSyInuint256 netSyMintPyuint256 netLpOutuint256 netYtOut
AddLiquiditySingleToken(address indexed calleraddress indexed marketaddress indexed tokenaddress receiveruint256 netTokenInuint256 netLpOutuint256 netSyInterm
AddLiquiditySingleTokenKeepYt(address indexed calleraddress indexed marketaddress indexed tokenaddress receiveruint256 netTokenInuint256 netLpOutuint256 netYtOutuint256 netSyMintPyuint256 netSyInterm
RemoveLiquidityDualSyAndPt(address indexed calleraddress indexed marketaddress indexed receiveruint256 netLpToRemoveuint256 netPtOutuint256 netSyOut
RemoveLiquidityDualTokenAndPt(address indexed calleraddress indexed marketaddress indexed tokenOutaddress receiveruint256 netLpToRemoveuint256 netPtOutuint256 netTokenOutuint256 netSyInterm
RemoveLiquiditySinglePt(address indexed calleraddress indexed marketaddress indexed receiveruint256 netLpToRemoveuint256 netPtOut
RemoveLiquiditySingleSy(address indexed calleraddress indexed marketaddress indexed receiveruint256 netLpToRemoveuint256 netSyOut
RemoveLiquiditySingleToken(address indexed calleraddress indexed marketaddress indexed tokenaddress receiveruint256 netLpToRemoveuint256 netTokenOutuint256 netSyInterm
Constructor
constructor(address _ACTION_ADD_REMOVE_LIQaddress _ACTION_SWAP_PTaddress _ACTION_SWAP_YTaddress _ACTION_MISCaddress _ACTION_CALLBACK
Fallback and receive
fallback(
receive(
Errors
RouterInvalidAction(bytes4 selector
ApproxFail(
ApproxParamsInvalid(uint256 guessMinuint256 guessMaxuint256 eps
MarketExchangeRateBelowOne(int256 exchangeRate
MarketExpired(
MarketProportionMustNotEqualOne(
MarketProportionTooHigh(int256 proportionint256 maxProportion
MarketRateScalarBelowZero(int256 rateScalar
MarketZeroAmountsInput(
MarketZeroAmountsOutput(
MarketZeroTotalPtOrTotalAsset(int256 totalPtint256 totalAsset
RouterInsufficientLpOut(uint256 actualLpOutuint256 requiredLpOut
RouterInsufficientPtOut(uint256 actualPtOutuint256 requiredPtOut
RouterInsufficientSyOut(uint256 actualSyOutuint256 requiredSyOut
RouterInsufficientTokenOut(uint256 actualTokenOutuint256 requiredTokenOut
RouterInsufficientYtOut(uint256 actualYtOutuint256 requiredYtOut
RouterNotAllSyUsed(uint256 netSyDesireduint256 netSyUsed