DebtToken
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
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 "DebtToken"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "DebtToken"
ABI
ABI objects
Getter at block 21226158 governor() view returns (address _governor)
SECONDS_PER_YEAR() view returns (uint256)
31557600
VERSION() view returns (string)
1.3.1
debtIndex() view returns (uint256)
0
decimals() view returns (uint8)
0
getPendingInterestFee() view returns (uint256 _stored, uint256 _current)
(_stored=0, _current=0)
interestRate() view returns (uint256)
0
interestRatePerSecond() view returns (uint256)
0
isActive() view returns (bool)
false
lastTimestampAccrued() view returns (uint256)
0
maxTotalSupply() view returns (uint256)
0
name() view returns (string)
pool() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
syntheticToken() view returns (address)
0x0000000000000000000000000000000000000000
totalSupply() view returns (uint256)
0
Read-only
allowance(address, address) pure returns (uint256)
balanceOf(address account_) view returns (uint256)
quoteIssueIn(uint256 amountToIssue_) view returns (uint256 _amount, uint256 _fee)
quoteIssueOut(uint256 amount_) view returns (uint256 _amountToIssue, uint256 _fee)
quoteRepayIn(uint256 amountToRepay_) view returns (uint256 _amount, uint256 _fee)
quoteRepayOut(uint256 amount_) view returns (uint256 _amountToRepay, uint256 _fee)
State-modifying
Events accrueInterest()
approve(address, uint256) returns (bool)
burn(address from_, uint256 amount_)
collectPendingInterestFee()
flashIssue(address to_, uint256 amount_) returns (uint256 _issued, uint256 _fee)
initialize(string name_, string symbol_, address pool_, address syntheticToken_, uint256 interestRate_, uint256 maxTotalSupply_)
issue(uint256 amount_, address to_) returns (uint256 _issued, uint256 _fee)
mint(address to_, uint256 amount_)
repay(address onBehalfOf_, uint256 amount_) returns (uint256 _repaid, uint256 _fee)
repayAll(address onBehalfOf_) returns (uint256 _repaid, uint256 _fee)
sweep(address token_, address to_, uint256 amount_)
toggleIsActive()
transfer(address, uint256) returns (bool)
transferFrom(address, address, uint256) returns (bool)
updateInterestRate(uint256 newInterestRate_)
updateMaxTotalSupply(uint256 newMaxTotalSupply_)
Approval(address indexed owner, address indexed spender, uint256 value)
DebtRepaid(address indexed payer, address indexed account, uint256 amount, uint256 repaid, uint256 fee)
DebtTokenActiveUpdated(bool newActive)
Initialized(uint8 version)
InterestRateUpdated(uint256 oldInterestRate, uint256 newInterestRate)
MaxTotalSupplyUpdated(uint256 oldMaxTotalSupply, uint256 newMaxTotalSupply)
SyntheticTokenIssued(address indexed account, address indexed to, uint256 amount, uint256 issued, uint256 fee)
Transfer(address indexed from, address indexed to, uint256 value)
constructor()
fallback()
receive()
AllowanceNotSupported()
AmountIsZero()
ApprovalNotSupported()
BurnAmountExceedsBalance()
BurnFromNullAddress()
DebtLowerThanTheFloor()
DebtTokenInactive()
FallbackIsNotAllowed()
IsShutdown()
MintToNullAddress()
NameIsNull()
NewValueIsSameAsCurrent()
NotEnoughCollateral()
PoolAddressIsNull()
PoolIsNull()
ReceiveIsNotAllowed()
RemainingDebtIsLowerThanTheFloor()
SenderIsNotGovernor()
SenderIsNotPool()
SenderIsNotSmartFarmingManager()
SurpassMaxDebtSupply()
SymbolIsNull()
SyntheticDoesNotExist()
SyntheticIsInactive()
SyntheticIsNull()
TransferNotSupported()