DepositToken

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc35c7352 at 18314490
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots

No balances found for "DepositToken"

No transactions found for "DepositToken"


Functions
Getter at block 20900575
VERSION(view returns (string)
1.3.0
collateralFactor(view returns (uint256)
0
decimals(view returns (uint8)
0
 
governor(view returns (address _governor)
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(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
lockedBalanceOf(address account_view returns (uint256 _lockedBalance)
quoteDepositIn(uint256 amountToDeposit_view returns (uint256 _amountuint256 _fee)
quoteDepositOut(uint256 amount_view returns (uint256 _amountToDeposituint256 _fee)
quoteWithdrawIn(uint256 amountToWithdraw_view returns (uint256 _amountuint256 _fee)
quoteWithdrawOut(uint256 amount_view returns (uint256 _amountToWithdrawuint256 _fee)
unlockedBalanceOf(address account_view returns (uint256 _unlockedBalance)
State-modifying
approve(address spender_uint256 amount_returns (bool)
decreaseAllowance(address spender_uint256 subtractedValue_returns (bool)
deposit(uint256 amount_address onBehalfOf_returns (uint256 _depositeduint256 _fee)
flashWithdraw(address account_uint256 amount_returns (uint256 _withdrawnuint256 _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 _withdrawnuint256 _fee)
withdrawFrom(address from_uint256 amount_returns (uint256 _withdrawnuint256 _fee)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
CollateralDeposited(address indexed fromaddress indexed accountuint256 amountuint256 depositeduint256 fee
CollateralFactorUpdated(uint256 oldCollateralFactoruint256 newCollateralFactor
CollateralWithdrawn(address indexed accountaddress indexed touint256 amountuint256 withdrawnuint256 fee
DepositTokenActiveUpdated(bool newActive
Initialized(uint8 version
MaxTotalSupplyUpdated(uint256 oldMaxTotalSupplyuint256 newMaxTotalSupply
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(
Fallback and receive
fallback(
receive(
Errors
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(