PendleMarketV3

Verified contract

Active on Ethereum with 224 txns
Deployed by via 0xfc4f66b4 at 20115781
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 $100.18
ERC-20
--
ERC-20
--
0xff1e5cc9490697f2a43c5a4fdae11e5ba44326bd645f5e0a7a294f4bd0ed7fdf
0xa1b067d7dac9ad65c2917929a4099733507585df48d5549e578f9df8722cb40c
0x76ac615c04a37abd624d08da98c4c69b600ce52fdcfd4a656ac2e8723befb3c6
0xb7a2af42287e4d209e738c2a38682ff3a40d1dd128e3ead65b8afc3a43933109
0x83e11f3a16df7bfae429a426fe1f43566e8a999e9178fa5e942ad0b69b0803d0
0xe5d2bd87787955e4822599374f6e8193f2a9d461dfc7eed97b0dd439c7f1e936
0xda3642e81f51cedbe74e166b242f6d6da00bf711fe06c55b7d5cb747464f826d
0x9fc3c44ec9fef0e21b68d4a02e05ab8332519d374cdd8d85adbcdd7dfe0a3fba
0x70abd305259af41ba3371ed96c532771a47fc209ef9410ac5e75924b383fa3e2
0x80ef8696cb5015185b1b23ae4b01ff99726bd149cbf8f261386fc5a18a71239c

Functions
Getter at block 21300078
DOMAIN_SEPARATOR(view returns (bytes32)
0x15ee1e85873c3fee363eb1915ba73257d412184f75d290ea6037f10b35011659
_storage(view returns (int128 totalPtint128 totalSyuint96 lastLnImpliedRateuint16 observationIndexuint16 observationCardinalityuint16 observationCardinalityNext)
(totalPt=3828983279582812045, totalSy=9994264084749951278, lastLnImpliedRate=106543833345043608, observationIndex=0, observationCardinality=1, observationCardinalityNext=1)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Pendle Market, version=1, chainId=1, verifyingContract=0xe1f19cbda26b6418b0c8e1ee978a533184496066, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
expiry(view returns (uint256)
1721865600
factory(view returns (address)
0x1a6fcc85557bc4fb7b534ed835a03ef056552d52
getNonOverrideLnFeeRateRoot(view returns (uint80)
999500333000000
getRewardTokens(view returns (address[])
[0x808507121B80c02388fAd14726482e061B8da827]
isExpired(view returns (bool)
true
lastRewardBlock(view returns (uint256)
21256838
name(view returns (string)
Pendle Market
readTokens(view returns (address _SYaddress _PTaddress _YT)
(_SY=0xac0047886a985071476a1186be89222659970d65, _PT=0xe146e7018b3fb588c4efbc2f211e8bb8d8c31c81, _YT=0x9c73e0a1fa310e2bdc95af1145b9d8daa87bd9c0)
symbol(view returns (string)
PENDLE-LPT
totalActiveSupply(view returns (uint256)
2799548059084208085
totalSupply(view returns (uint256)
6994555632879281418
Read-only
activeBalance(addressview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
nonces(address ownerview 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)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
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
EIP712DomainChanged(
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
InvalidShortString(
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
StringTooLong(string str