RewardToken
State Variables
ION
bytes32 public constant ION = keccak256("ION");RewardTokenStorageLocation
bytes32 private constant RewardTokenStorageLocation = 0xdb3a0d63a7808d7d0422c40bb62354f42bff7602a547c329c1453dbcbeef4900;EIP712_REVISION
bytes private constant EIP712_REVISION = bytes("1");EIP712_DOMAIN
bytes32 private constant EIP712_DOMAIN =
keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");PERMIT_TYPEHASH
bytes32 public constant PERMIT_TYPEHASH =
keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");Functions
_getRewardTokenStorage
_initialize
_burn
Name
Type
Description
_burnNormalized
Name
Type
Description
_mint
Name
Type
Description
_mintNormalized
Name
Type
Description
_mintToTreasury
Name
Type
Description
approve
Name
Type
Description
_approve
Name
Type
Description
_spendAllowance
transfer
Name
Type
Description
transferFrom
Name
Type
Description
_transfer
permit
Name
Type
Description
allowance
Name
Type
Description
nonces
_useNonce
_setSupplyFactor
updateTreasury
Name
Type
Description
underlying
decimals
balanceOf
Name
Type
Description
balanceOfUnaccrued
normalizedBalanceOf
Name
Type
Description
name
symbol
treasury
totalSupplyUnaccrued
totalSupply
normalizedTotalSupplyUnaccrued
normalizedTotalSupply
supplyFactorUnaccrued
supplyFactor
calculateRewardAndDebtDistribution
Events
MintToTreasury
TreasuryUpdate
Errors
InvalidBurnAmount
InvalidMintAmount
InvalidUnderlyingAddress
InvalidTreasuryAddress
InvalidSender
Name
Type
Description
InvalidReceiver
Name
Type
Description
SelfTransfer
ERC2612ExpiredSignature
ERC2612InvalidSigner
InsufficientBalance
Name
Type
Description