YToken

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xe57996da at 14254008
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "YToken"

No transactions found for "YToken"


Functions
Getter at block 23875779
DOMAIN_SEPARATOR(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EIP712_REVISION(view returns (bytes)
0x31
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
POOL(view returns (address)
0x5425afd90bd1aad68d5badcb80390101a2750bc5
RESERVE_TREASURY_ADDRESS(view returns (address)
0x0000000000000000000000000000000000000000
UNDERLYING_ASSET_ADDRESS(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
0
getIncentivesController(view returns (address)
0x0000000000000000000000000000000000000000
name(view returns (string)
YTOKEN_IMPL
scaledTotalSupply(view returns (uint256)
0
symbol(view returns (string)
YTOKEN_IMPL
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address userview returns (uint256)
getPreviousIndex(address userview returns (uint256)
getScaledUserBalanceAndSupply(address userview returns (uint256uint256)
nonces(address ownerview returns (uint256)
scaledBalanceOf(address userview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
burn(address fromaddress receiverOfUnderlyinguint256 amountuint256 index
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
handleRepayment(address useraddress onBehalfOfuint256 amount
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address initializingPooladdress treasuryaddress underlyingAssetaddress incentivesControlleruint8 yTokenDecimalsstring yTokenNamestring yTokenSymbolbytes
mint(address calleraddress onBehalfOfuint256 amountuint256 indexreturns (bool)
mintToTreasury(uint256 amountuint256 index
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
rescueTokens(address tokenaddress touint256 amount
setIncentivesController(address controller
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOnLiquidation(address fromaddress touint256 value
transferUnderlyingTo(address targetuint256 amount
Events
Approval(address indexed owneraddress indexed spenderuint256 value
BalanceTransfer(address indexed fromaddress indexed touint256 valueuint256 index
Burn(address indexed fromaddress indexed targetuint256 valueuint256 balanceIncreaseuint256 index
Initialized(address indexed underlyingAssetaddress indexed pooladdress treasuryaddress incentivesControlleruint8 yTokenDecimalsstring yTokenNamestring yTokenSymbolbytes params
Initialized(uint64 version
Mint(address indexed calleraddress indexed onBehalfOfuint256 valueuint256 balanceIncreaseuint256 index
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(address pool
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
InvalidInitialization(
NotInitializing(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token