PendleMarketV3

Verified contract

Active on Ethereum with 662 txns
Deployed by via 0x28d3d16c at 20323930
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 65534 additional slots
ERC-20
Value $153,502.85
ERC-20
--
ERC-20
--
0xfb2a06ecaa59f3e6e23bbb882b40957dc4473237e67f946bd64fafc051df0bbe
0x5e95f9f265c18db250de742fe96f332b8cfedec200d530e614aa45cc34fc0caa
0xb684d4eb80a0695fc5b258d969af89069c12625894ba3c22e8f44185440ba9ad
0xbae44e3f3ef0c62f3d8d56f48cacda5e90b68a6a68117e1a84ada2ac6b97445a
0x25fe27602763cd992d90b38f8fabb267530f5a1d578b925694256d05d06a0075
0xd50df55663d023c1c233968bd93cd271782dfb16ff6c48cabc2f43e7064f8ff7
0x4b492a1d43e100af86b65e1572242dd61f49f42c6de6e51b1be90f8e2f85a83b
0x0a47ab0b1e1d574a75f4ec34a5e77818c264c5806ea6d4441ae09f973dd90100
0xcaa932dab9967d5e006a2cb1abb219cda97305326522f139dfa927d2ea311548
0xce0af29b2adc5698ff188095192ba280f657c1dbe42e9146837e4be7bafd321d

Functions
Getter at block 21245683
_storage(view returns (int128 totalPtint128 totalSyuint96 lastLnImpliedRateuint16 observationIndexuint16 observationCardinalityuint16 observationCardinalityNext)
(totalPt=59727385536622106821205127, totalSy=47427960564523241439484909, lastLnImpliedRate=219570151674434718, observationIndex=140, observationCardinality=190, observationCardinalityNext=190)
decimals(view returns (uint8)
18
expiry(view returns (uint256)
1735171200
factory(view returns (address)
0x3d75bd20c983edb5fd218a1b7e0024f1056c7a2f
getNonOverrideLnFeeRateRoot(view returns (uint80)
999500333000000
getRewardTokens(view returns (address[])
[0x808507121B80c02388fAd14726482e061B8da827]
isExpired(view returns (bool)
false
lastRewardBlock(view returns (uint256)
21245664
name(view returns (string)
Pendle Market
readTokens(view returns (address _SYaddress _PTaddress _YT)
(_SY=0xd288755556c235afffb6316702719c32bd8706e8, _PT=0xee9085fc268f6727d5d4293dbabccf901ffdcc29, _YT=0xbe05538f48d76504953c5d1068898c6642937427)
symbol(view returns (string)
PENDLE-LPT
totalActiveSupply(view returns (uint256)
22858406464953588104820048
totalSupply(view returns (uint256)
53312575988277486704100065
Read-only
activeBalance(addressview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
observations(uint256view returns (uint32 blockTimestampuint216 lnImpliedRateCumulativebool initialized)
observe(uint32[] secondsAgosview returns (uint216[] lnImpliedRateCumulative)
readState(address routerview returns (struct MarketState market)
rewardState(addressview returns (uint128 indexuint128 lastBalance)
userReward(addressaddressview returns (uint128 indexuint128 accrued)
State-modifying
approve(address spenderuint256 amountreturns (bool)
burn(address receiverSyaddress receiverPtuint256 netLpToBurnreturns (uint256 netSyOutuint256 netPtOut)
increaseObservationsCardinalityNext(uint16 cardinalityNext
mint(address receiveruint256 netSyDesireduint256 netPtDesiredreturns (uint256 netLpOutuint256 netSyUseduint256 netPtUsed)
redeemRewards(address userreturns (uint256[])
skim(
swapExactPtForSy(address receiveruint256 exactPtInbytes datareturns (uint256 netSyOutuint256 netSyFee)
swapSyForExactPt(address receiveruint256 exactPtOutbytes datareturns (uint256 netSyInuint256 netSyFee)
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Burn(address indexed receiverSyaddress indexed receiverPtuint256 netLpBurneduint256 netSyOutuint256 netPtOut
IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOlduint16 observationCardinalityNextNew
Mint(address indexed receiveruint256 netLpMinteduint256 netSyUseduint256 netPtUsed
RedeemRewards(address indexed useruint256[] rewardsOut
Swap(address indexed calleraddress indexed receiverint256 netPtOutint256 netSyOutuint256 netSyFeeuint256 netSyToReserve
Transfer(address indexed fromaddress indexed touint256 value
UpdateImpliedRate(uint256 indexed timestampuint256 lnLastImpliedRate
Constructor
constructor(address _PTint256 _scalarRootint256 _initialAnchoruint80 _lnFeeRateRootaddress _vePendleaddress _gaugeController
Fallback and receive

This contract contains no fallback and receive objects.

Errors
MarketExchangeRateBelowOne(int256 exchangeRate
MarketExpired(
MarketInsufficientPtForTrade(int256 currentAmountint256 requiredAmount
MarketInsufficientPtReceived(uint256 actualBalanceuint256 requiredBalance
MarketInsufficientSyReceived(uint256 actualBalanceuint256 requiredBalance
MarketProportionMustNotEqualOne(
MarketProportionTooHigh(int256 proportionint256 maxProportion
MarketRateScalarBelowZero(int256 rateScalar
MarketScalarRootBelowZero(int256 scalarRoot
MarketZeroAmountsInput(
MarketZeroAmountsOutput(
MarketZeroLnImpliedRate(
MarketZeroTotalPtOrTotalAsset(int256 totalPtint256 totalAsset