OlympusBondDepositoryV2

Verified contract

Active on Ethereum with 1,710 txns
Deployed by via 0x661d53e1 at 13967178
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $95,020.24
ERC-20
Value $2
ERC-20
Value $0.22
ERC-20
--
ERC-20
--
ERC-20
--
 (#1)
ERC-1555
--
0x3438f31502e4a82cd27e18c465591a62e93daff0fe03844c54cf947aa73ff756
0xd5cbb4eccbbdd0dccd3e8cfad6f73e6e563e30a88b878472925bb5f13f100cd2
0x435ee5b4bec87eeb24422659b8a4a0fe1be538284e93107d3e207ebdc979cb34
0x952aa08d58727e935da20ee1e2b4848c228265929faf2d196468abc79b57e6b8
0xdc8eefc94ee55c6662af0e85af841b7c2026a7a2ad93c77e16824ce46c264506
0x75a1e3eb3cc545cd160212bc6fd15e05bc4f82ba7f2face51f434e2983a18fc8
0x96777baa70727d97589b5e26e5f2e2574ec31e70be8ab380579cf2be32dc0f2b
0x8fc51b9e5e00cea25bb67ed0591995210c6ed05b50a50e1409c170f1e5ab711c
0xdb91367c8a96b46c2e1ca67dd8f16474b2d4b202953510cdffc524246a4fb9d9
0x22c2c8cf7926c8daa7a0741eb384346eb59866d24a76583fc0df035426445ebb

Functions
Getter at block 21255117
authority(view returns (address)
0x1c21f8ea7e39e2ba00bc12d2968d63f4acb38b7a
daoReward(view returns (uint256)
10000
 
liveMarkets(view returns (uint256[])
refReward(view returns (uint256)
0
Read-only
adjustments(uint256view returns (uint64 changeuint48 lastAdjustmentuint48 timeToAdjustedbool active)
currentControlVariable(uint256 _idview returns (uint256)
currentDebt(uint256 _idview returns (uint256)
debtDecay(uint256 _idview returns (uint64)
debtRatio(uint256 _idview returns (uint256)
indexesFor(address _userview returns (uint256[])
isLive(uint256 _idview returns (bool)
liveMarketsFor(address _tokenview returns (uint256[])
marketPrice(uint256 _idview returns (uint256)
markets(uint256view returns (uint256 capacityaddress quoteTokenbool capacityInQuoteuint64 totalDebtuint64 maxPayoutuint64 solduint256 purchased)
marketsForQuote(addressuint256view returns (uint256)
metadata(uint256view returns (uint48 lastTuneuint48 lastDecayuint48 lengthuint48 depositIntervaluint48 tuneIntervaluint8 quoteDecimals)
notes(addressuint256view returns (uint256 payoutuint48 createduint48 matureduint48 redeemeduint48 marketID)
payoutFor(uint256 _amountuint256 _idview returns (uint256)
pendingFor(address _useruint256 _indexview returns (uint256 payout_bool matured_)
rewards(addressview returns (uint256)
terms(uint256view returns (bool fixedTermuint64 controlVariableuint48 vestinguint48 conclusionuint64 maxDebt)
whitelisted(addressview returns (bool)
State-modifying
close(uint256 _id
create(address _quoteTokenuint256[3] _marketbool[2] _booleansuint256[2] _termsuint32[2] _intervalsreturns (uint256 id_)
deposit(uint256 _iduint256 _amountuint256 _maxPriceaddress _useraddress _referralreturns (uint256 payout_uint256 expiry_uint256 index_)
getReward(
pullNote(address _fromuint256 _indexreturns (uint256 newIndex_)
pushNote(address _touint256 _index
redeem(address _useruint256[] _indexesbool _sendgOHMreturns (uint256 payout_)
redeemAll(address _userbool _sendgOHMreturns (uint256)
setAuthority(address _newAuthority
setRewards(uint256 _toFrontEnduint256 _toDAO
updateTreasury(
whitelist(address _operator
Events
AuthorityUpdated(address indexed authority
Bond(uint256 indexed iduint256 amountuint256 price
CloseMarket(uint256 indexed id
CreateMarket(uint256 indexed idaddress indexed baseTokenaddress indexed quoteTokenuint256 initialPrice
Tuned(uint256 indexed iduint64 oldControlVariableuint64 newControlVariable
Constructor
constructor(address _authorityaddress _ohmaddress _gohmaddress _stakingaddress _treasury
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.