PendleRouter

Verified contract

Proxy

Active on Ethereum with 15,213 txns
Deployed by via 0x03a477be at 16675278
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
Value $0
ERC-20
Value $0
0xa54d05f2394d3774d5a3c7801b99011a5fc3f01533bd246ad7544cef945834f5
0x29b98c2fc59edd312d65cb403ee94fbc38240c946dee72188c9868eb05f3b3d7
0x7fb32c900d875ae1a6b3981ac101949bcb40283d892b5be72b73f6261f3e556a
0x7581908416b799c9bdf28d7e11b6c018e064f6df71009e647494fb296c2f038e
0xae72de72f75622b3161cd7e72c7b600eb6e2d78316073b8fd0cca8f0dd3cb592
0xf3e0460536e956b22d2b8c2de80487dc14cb786bc6e9d75c111a646ea325dc34
0x3adf66a59cf18e051ff21def425d236d0f0ebc05949c3b8b4ed783c350e37861
0x29045db013d540d2dd88ce046b98d2013885d1b70880128c571033fa49945a29
0x68d9220f90b4a7d31feb5adfda354f8e35edede7b3bd85c727204a354fae4a9c
0x354bd48830117bfb4cc48bc4cfa42900e7025a8a5cb22a7e0326aac153047558

Functions
Getter at block 21275797
facetAddresses(view returns (address[])
[0xFc0617465474a6b1CA0E37ec4E67B3EEFf93bc63, 0xf7A646fe5EBa40A2619b894f3D85d682198b99bf, 0x55F3474b876aaE57B8988C164c574348451b9A39, 0x0c6981Ada752AF1cCF8F48bCf723286dCcde3166, 0x0fB9eCfd253dd9090BbCeE6E0beCE971c50aDf4A, 0x0000000001E4ef00d069e71d6bA041b0A16F7eA0]
facets(view returns (struct IDiamondLoupeFacet[] facets_)
[(0xfc0617465474a6b1ca0e37ec4e67b3eeff93bc63, [0x97ee279e, 0xcb591eb2, 0x3af1f329, 0x409c7a89, 0x015491d1, 0xb7d75b8b, 0xe6eaba01, 0x694ab559, 0x178d29d3, 0x690807ad, 0xdfbc814e, 0x844384aa]), (0xf7a646fe5eba40a2619b894f3d85d682198b99bf, [0x1a8631b2, 0x46eb2db6, 0x443e6512, 0xf7e375e8, 0x339748cb, 0x527df199, 0x85b29936]), (0x55f3474b876aae57b8988c164c574348451b9a39, [0x2032aecd, 0xb85f50ba, 0x83c71b69, 0xa5f9931b, 0xdd371acd, 0x6b8bdf32]), (0x0c6981ada752af1ccf8f48bcf723286dccde3166, [0xfa483e72, 0xc861a898, 0x448b9b95, 0xfdd71f43, 0xc4a9c7de, 0x357d6540, 0xd6308fa4, 0xbf1bd434, 0xe15cc098]), (0x0fb9ecfd253dd9090bbcee6e0bece971c50adf4a, [0xacdb32df, 0xd617b03b]), (0x0000000001e4ef00d069e71d6ba041b0a16f7ea0, [0xcdffacc6, 0x52ef6b2c, 0xadfca15e, 0x7a0ed627])]
Read-only
facetAddress(bytes4 sigview returns (address)
facetFunctionSelectors(address facetview returns (bytes4[] res)
State-modifying
swapExactPtForSy(address receiveraddress marketuint256 exactPtInuint256 minSyOutreturns (uint256 netSyOutuint256 netSyFee)
swapExactPtForToken(address receiveraddress marketuint256 exactPtInstruct TokenOutput outputreturns (uint256 netTokenOutuint256 netSyFee)
swapExactSyForPt(address receiveraddress marketuint256 exactSyInuint256 minPtOutstruct ApproxParams guessPtOutreturns (uint256 netPtOutuint256 netSyFee)
swapExactTokenForPt(address receiveraddress marketuint256 minPtOutstruct ApproxParams guessPtOutstruct TokenInput inputpayable returns (uint256 netPtOutuint256 netSyFee)
swapPtForExactSy(address receiveraddress marketuint256 exactSyOutuint256 maxPtInstruct ApproxParams guessPtInreturns (uint256 netPtInuint256 netSyFee)
swapSyForExactPt(address receiveraddress marketuint256 exactPtOutuint256 maxSyInreturns (uint256 netSyInuint256 netSyFee)
Events
DiamondCut(struct IDiamondCutFacetCut[] _diamondCutaddress _initbytes _calldata
SwapPtAndSy(address indexed calleraddress indexed marketaddress indexed receiverint256 netPtToAccountint256 netSyToAccount
SwapPtAndToken(address indexed calleraddress indexed marketaddress indexed tokenaddress receiverint256 netPtToAccountint256 netTokenToAccount
Constructor
constructor(address _ACTION_MINT_REDEEMaddress _ACTION_ADD_REMOVE_LIQaddress _ACTION_SWAP_PTaddress _ACTION_SWAP_YTaddress _ACTION_MISC
Fallback and receive
fallback(
receive(
Errors
RouterInvalidAction(bytes4 selector
RouterInvalidFacet(address facet
ApproxFail(
ApproxParamsInvalid(uint256 guessMinuint256 guessMaxuint256 eps
MarketExchangeRateBelowOne(int256 exchangeRate
MarketExpired(
MarketInsufficientPtForTrade(int256 currentAmountint256 requiredAmount
MarketProportionMustNotEqualOne(
MarketProportionTooHigh(int256 proportionint256 maxProportion
MarketRateScalarBelowZero(int256 rateScalar
MarketZeroLnImpliedRate(
MarketZeroTotalPtOrTotalAsset(int256 totalPtint256 totalAsset
RouterExceededLimitPtIn(uint256 actualPtInuint256 limitPtIn
RouterExceededLimitSyIn(uint256 actualSyInuint256 limitSyIn
RouterInsufficientPtOut(uint256 actualPtOutuint256 requiredPtOut
RouterInsufficientSyOut(uint256 actualSyOutuint256 requiredSyOut
RouterInsufficientTokenOut(uint256 actualTokenOutuint256 requiredTokenOut