DebtToken

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7ef5f6d4 at 20878510
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 "DebtToken"

No transactions found for "DebtToken"


Functions
Getter at block 21226158
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 _storeduint256 _current)
(_stored=0, _current=0)
 
governor(view returns (address _governor)
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(addressaddresspure returns (uint256)
balanceOf(address account_view returns (uint256)
quoteIssueIn(uint256 amountToIssue_view returns (uint256 _amountuint256 _fee)
quoteIssueOut(uint256 amount_view returns (uint256 _amountToIssueuint256 _fee)
quoteRepayIn(uint256 amountToRepay_view returns (uint256 _amountuint256 _fee)
quoteRepayOut(uint256 amount_view returns (uint256 _amountToRepayuint256 _fee)
State-modifying
accrueInterest(
approve(addressuint256returns (bool)
burn(address from_uint256 amount_
collectPendingInterestFee(
flashIssue(address to_uint256 amount_returns (uint256 _issueduint256 _fee)
initialize(string name_string symbol_address pool_address syntheticToken_uint256 interestRate_uint256 maxTotalSupply_
issue(uint256 amount_address to_returns (uint256 _issueduint256 _fee)
mint(address to_uint256 amount_
repay(address onBehalfOf_uint256 amount_returns (uint256 _repaiduint256 _fee)
repayAll(address onBehalfOf_returns (uint256 _repaiduint256 _fee)
sweep(address token_address to_uint256 amount_
toggleIsActive(
transfer(addressuint256returns (bool)
transferFrom(addressaddressuint256returns (bool)
updateInterestRate(uint256 newInterestRate_
updateMaxTotalSupply(uint256 newMaxTotalSupply_
Events
Approval(address indexed owneraddress indexed spenderuint256 value
DebtRepaid(address indexed payeraddress indexed accountuint256 amountuint256 repaiduint256 fee
DebtTokenActiveUpdated(bool newActive
Initialized(uint8 version
InterestRateUpdated(uint256 oldInterestRateuint256 newInterestRate
MaxTotalSupplyUpdated(uint256 oldMaxTotalSupplyuint256 newMaxTotalSupply
SyntheticTokenIssued(address indexed accountaddress indexed touint256 amountuint256 issueduint256 fee
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(
Fallback and receive
fallback(
receive(
Errors
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(