DOLA IOU

Verified contract

Active on Ethereum with 140 txns
Deployed by via 0xbec62d70 at 15457197
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $3,047.1
0xd93e0487450e2f55db01f22905945682bfa7d6db296bf917e42a390e68f4ae6a
0xe3227bf7a24a4dae71ab09b464ea870946da2b34290eacffa2afef4ec2b1bf44
0xc414cf568df2ed196956ba70f6944fc99ac68f232c539bd9385c7c5db18828e9
0x4daef2f72e1d85a95e44d67f6722b8233028b5aba6aa92f90c86f4d96d9ec00c
From
0xb25b07bf078b12375a94f1008b505befab63740959775038afb18e51c370184b
0xad5e85003422b0bdc3396659d8b8addf1a15bc28818016e5c0c6acf7d48ac2e8
0xa89f0118bbc35cf4942c19e868c98c5a9e65d58baf330025d4fde20c4ba15cf6
From
0xf3cd008a4f819bde11d8aa7688bfb96b4948ccb33d51bb1edd2e5137e02f217b
0xfaa5bd59daeae5fb55b5e450b13962730ac5496bfc9efcb60355ed00672009ff
0x8941569ad51c15db5ae89d28fdf424b8aab794cd3b68d15f5e38a297f062e037

Functions
Getter at block 21325453
DOLA(view returns (address)
0x865377367054516e17014ccded1e7d814edc9ce4
anBtc(view returns (address)
0x17786f3813e6ba35343211bd8fe18ec4de14f28b
anEth(view returns (address)
0x697b4acaa24430f254224eb794d2a85ba1fa1fb8
anYfi(view returns (address)
0xde2af899040536884e062d3a334f2dd36f34b4a4
cumDebt(view returns (uint256)
582937671198615390814102
cumDolaRepaid(view returns (uint256)
58400000000000000000000
decimals(view returns (uint8)
18
exchangeRateIncreasePerSecond(view returns (uint256)
951293759
exchangeRateMantissa(view returns (uint256)
1067585796196434451
governance(view returns (address)
0x926df14a23be491164dcf93f4c468a50ef659d5b
lastAccrueInterestTimestamp(view returns (uint256)
1733140679
name(view returns (string)
DOLA IOU
oracle(view returns (address)
0xe8929afd47064efd36a7fb51da3f8c5eb40c4cb4
outstandingDebt(view returns (uint256)
524537671198615390814102
owner(view returns (address)
0x9d5df30f475cea915b1ed4c0cca59255c897b61b
repaymentEpoch(view returns (uint256)
22
symbol(view returns (string)
DOLAIOU
totalSupply(view returns (uint256)
494195751392551903192835
treasury(view returns (address)
0x9d5df30f475cea915b1ed4c0cca59255c897b61b
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
balanceOfDola(address _addrview returns (uint256)
conversions(addressuint256view returns (uint256 lastEpochRedeemeduint256 dolaIOUAmountuint256 dolaIOUsRedeemed)
convertDolaIOUsToDola(uint256 dolaIOUsview returns (uint256)
convertDolaToDolaIOUs(uint256 dolaview returns (uint256)
getRedeemableDolaIOUsFor(address _addruint256 _conversionuint256 _epochview returns (uint256)
maxConvertPrice(addressview returns (uint256)
repayments(uint256view returns (uint256 epochuint256 dolaAmountuint256 pctDolaIOUsRedeemable)
transferWhitelist(addressview returns (bool)
State-modifying
accrueInterest(
approve(address spenderuint256 amountreturns (bool)
convert(address anTokenuint256 amountuint256 minOut
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
redeemAll(uint256 _conversion
redeemConversion(uint256 _conversionuint256 _endEpoch
redeemConversionDust(uint256 _conversion
repayment(uint256 amount
setExchangeRateIncrease(uint256 increasePerYear
setGovernance(address newGovernance
setMaxConvertPrice(address anTokenuint256 maxPrice
setOwner(address newOwner
setTreasury(address newTreasury
sweepTokens(address tokenuint256 amount
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
whitelistTransferFor(address whitelistedAddress
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Conversion(address indexed useraddress indexed anTokenuint256 epochuint256 dolaAmountuint256 underlyingAmount
NewAnnualExchangeRateIncrease(uint256 increase
NewGovernance(address governance
NewMaxConvertPrice(address anTokenuint256 maxPrice
NewOwner(address owner
NewTransferWhitelistAddress(address whitelistedAddr
NewTreasury(address treasury
Redemption(address indexed useruint256 dolaAmount
Repayment(uint256 dolaAmountuint256 epoch
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(uint256 initialIncreasePerYearaddress _owneraddress _treasuryaddress _governanceaddress _oracle
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ConversionDoesNotExist(
ConversionEpochNotEqualToCurrentEpoch(uint256 conversionEpochuint256 currentEpoch
ConversionHasNotBeenRedeemedBefore(
DolaAmountLessThanMinOut(uint256 minOutuint256 amount
InsufficientDebtToBeRepaid(uint256 repaymentuint256 debt
InsufficientDebtTokens(uint256 neededuint256 actual
InsufficientTreasuryFunds(uint256 neededuint256 actual
InvalidDebtToken(
OnlyGovernance(
OnlyOwner(
ThatEpochIsInTheFuture(
TransferToAddressNotWhitelisted(