OlympusDAIDepository

Verified contract

Active on Ethereum with 1,052 txns
Deployed by via 0x17c3ce40 at 12280908
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $11,213.12
0xdb8ceb7d302c856c261b94b51258f3ef171e318f0f654fbdc9fd96b758ac0f40
0x9b12d1c7905dc569fdb50eecd5b28052ae21a7ef7146767c0d88f1e0dec4508c
0xc5f61d4e9f4fba444c1c12905ff092b83b105a7fc6faf2f14b39a589a4a0249e
0x57e495a8c1be1e379ad096004dd135973ac4a104660282861161698195247e3d
0x327a66ee8569592698e1ab2d80be6e4d5ca8fa5c56f1dde5c5857af6b25a2538
0xf0bf7a3f7c56cd7b445a454262f500438c626f58f74eb655ccac301d27f14ec8
0xfa5db380899e631a92a1fd7fbece32937743666bfdaa8fa6dd50b44fb75526ee
0xe963970e19e41fe00c6587a754921a4892140bbe0f23b826941346de393d251f
0x91cfad7be4ec917a6a39386075c12b131aeef207fa135659f51fdc25e08a30c1
0x020b71ea8792478ccacd29180fdd83b45089adf3902b933865f41459b1eb0d34

Functions
Getter at block 21287196
DAI(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
DAOShare(view returns (uint256)
20
DAOWallet(view returns (address)
0x245cc372c84b3645bf0ffe6538620b04a217988b
OHM(view returns (address)
0x383518188c0c6d7730d91b2c03a03c837814a899
bondControlVariable(view returns (uint256)
300
 
calculatePremium(view returns (uint256 _premium)
circulatingOHMContract(view returns (address)
0x0efff9199aa1ac3c3e34e957567c1be8bf295034
 
getMaxPayoutAmount(view returns (uint256)
maxPayoutPercent(view returns (uint256)
5
minPremium(view returns (uint256)
100
owner(view returns (address)
0x245cc372c84b3645bf0ffe6538620b04a217988b
stakingContract(view returns (address)
0xbe731507810c8747c3e01e62c676b1ca6f93242f
totalDebt(view returns (uint256)
104102736499765
treasury(view returns (address)
0x886ce997aa9ee4f8c2282e182ab72a705762399d
useCircForDebtRatio(view returns (bool)
true
vestingPeriodInBlocks(view returns (uint256)
33110
Read-only
calculateBondInterest(uint256 value_view returns (uint256 _interestDue)
calculatePendingPayout(address depositor_view returns (uint256)
calculatePercentVested(address depositor_view returns (uint256 _percentVested)
depositorInfo(addressview returns (uint256 valueuint256 payoutRemaininguint256 lastBlockuint256 vestingPeriod)
getDepositorInfo(address address_view returns (uint256 _valueuint256 _payoutRemaininguint256 _lastBlockuint256 _vestingPeriod)
State-modifying
deposit(uint256 amount_uint256 maxPremium_address depositor_returns (bool)
depositWithPermit(uint256 amount_uint256 maxPremium_address depositor_uint256 deadlineuint8 vbytes32 rbytes32 sreturns (bool)
redeem(returns (bool)
renounceOwnership(
setBondTerms(uint256 bondControlVariable_uint256 vestingPeriodInBlocks_uint256 minPremium_uint256 maxPayout_uint256 DAOShare_returns (bool)
toggleUseCircForDebtRatio(returns (bool)
transferOwnership(address newOwner_
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address DAI_address OHM_address treasury_address stakingContract_address DAOWallet_address circulatingOHMContract_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.