DepositToken
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "DepositToken"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DepositToken"
ABI
ABI objects
Getter at block 23872746 governor() view returns (address _governor)
VERSION() view returns (string)
1.3.0
collateralFactor() view returns (uint256)
0
decimals() view returns (uint8)
0
isActive() view returns (bool)
false
maxTotalSupply() view returns (uint256)
0
name() view returns (string)
pool() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
totalSupply() view returns (uint256)
0
underlying() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address, address) view returns (uint256)
balanceOf(address) view returns (uint256)
lockedBalanceOf(address account_) view returns (uint256 _lockedBalance)
quoteDepositIn(uint256 amountToDeposit_) view returns (uint256 _amount, uint256 _fee)
quoteDepositOut(uint256 amount_) view returns (uint256 _amountToDeposit, uint256 _fee)
quoteWithdrawIn(uint256 amountToWithdraw_) view returns (uint256 _amount, uint256 _fee)
quoteWithdrawOut(uint256 amount_) view returns (uint256 _amountToWithdraw, uint256 _fee)
unlockedBalanceOf(address account_) view returns (uint256 _unlockedBalance)
State-modifying
Events approve(address spender_, uint256 amount_) returns (bool)
decreaseAllowance(address spender_, uint256 subtractedValue_) returns (bool)
deposit(uint256 amount_, address onBehalfOf_) returns (uint256 _deposited, uint256 _fee)
flashWithdraw(address account_, uint256 amount_) returns (uint256 _withdrawn, uint256 _fee)
increaseAllowance(address spender_, uint256 addedValue_) returns (bool)
initialize(address underlying_, address pool_, string name_, string symbol_, uint8 decimals_, uint128 collateralFactor_, uint256 maxTotalSupply_)
seize(address from_, address to_, uint256 amount_)
sweep(address token_, address to_, uint256 amount_)
toggleIsActive()
transfer(address to_, uint256 amount_) returns (bool)
transferFrom(address sender_, address recipient_, uint256 amount_) returns (bool)
updateCollateralFactor(uint128 newCollateralFactor_)
updateMaxTotalSupply(uint256 newMaxTotalSupply_)
withdraw(uint256 amount_, address to_) returns (uint256 _withdrawn, uint256 _fee)
withdrawFrom(address from_, uint256 amount_) returns (uint256 _withdrawn, uint256 _fee)
Approval(address indexed owner, address indexed spender, uint256 value)
CollateralDeposited(address indexed from, address indexed account, uint256 amount, uint256 deposited, uint256 fee)
CollateralFactorUpdated(uint256 oldCollateralFactor, uint256 newCollateralFactor)
CollateralWithdrawn(address indexed account, address indexed to, uint256 amount, uint256 withdrawn, uint256 fee)
DepositTokenActiveUpdated(bool newActive)
Initialized(uint8 version)
MaxTotalSupplyUpdated(uint256 oldMaxTotalSupply, uint256 newMaxTotalSupply)
Transfer(address indexed from, address indexed to, uint256 value)
constructor()
fallback()
receive()
AmountExceedsAllowance()
AmountIsZero()
ApproveFromTheZeroAddress()
ApproveToTheZeroAddress()
BeneficiaryIsNull()
BurnAmountExceedsBalance()
BurnFromTheZeroAddress()
CollateralFactorTooHigh()
CollateralFactorTooLow()
CollateralIsInexistent()
DecimalsIsNull()
DecreasedAllowanceBelowZero()
DepositTokenIsInactive()
FallbackIsNotAllowed()
IsPaused()
IsShutdown()
MintToTheZeroAddress()
NewValueIsSameAsCurrent()
NotEnoughFreeBalance()
PoolAddressIsNull()
PoolIsNull()
ReceiveIsNotAllowed()
RecipientIsNull()
SenderIsNotGovernor()
SenderIsNotPool()
SenderIsNotSmartFarmingManager()
SurpassMaxDepositSupply()
SymbolIsNull()
TransferAmountExceedsBalance()
TransferFromTheZeroAddress()
TransferToTheZeroAddress()
UnderlyingAssetIsNull()