MockOlympusBondDepository

Verified contract

Active on Ethereum with 348 txns
Deployed by via 0xcd45f3c2 at 13707392
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
-
variable spans 4 additional slots
ERC-20
--
0x8935a4704fd51d682cf0fddaafad449a345de381241cf0836dae1e06da48bfd7
From
0x116132b660deb78f0658f05fa1e26a41e609ed383701f0bc6550fdadc5fd1228
0x59e5d1b1ddc73adea7c860442f1ce161c38b28b6b6a5aa462eac4000aa2179ff
From
0x36bd4c6c0c7d2b7d65cba14610127f736a6415c85da87a353dada0a98bfea0bc
0xa720ba51259dcecc1cc9e7988054cc51c6936ef8d0a540a1a9b2f6604350b52b
0xc921419ae78bd449e7ff63c44859de3da7324470756785f0f7b24c5f7c15882a
From
0x966f2cc8d4333eb8fac4df797ce825f617602358469878dce9a9b11b64ee4f95
From
0x1301fa6b47dee746019c13ffcb6633f79f3f314284496871aa24ffac9072e207
0xd552cb7c098129490571b7f968680b568343d6a37cfbfa3fb5740b495bb60ed2
From
0x99bb21ecd2d52be82a4620dda944dec3709d6cb77161e4d599a47f0be7debf84

Functions
Getter at block 21203945
DAO(view returns (address)
0xdb00139222c99e9098def2cebcd94bdcda8e7625
OHM(view returns (address)
0x8a14897ea5f668f36671678593fae44ae23b39fb
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=false, rate=0, target=25, buffer=0, lastBlock=13719824)
bondCalculator(view returns (address)
0x0000000000000000000000000000000000000000
bondPrice(view returns (uint256 price_)
100
bondPriceInUSD(view returns (uint256 price_)
1000000000000000000
currentDebt(view returns (uint256)
0
debtDecay(view returns (uint256 decay_)
127025817483790836
debtRatio(view returns (uint256 debtRatio_)
0
isLiquidityBond(view returns (bool)
false
lastDecay(view returns (uint256)
13932548
maxPayout(view returns (uint256)
362656702533213
policy(view returns (address)
0xdb00139222c99e9098def2cebcd94bdcda8e7625
principal(view returns (address)
0xb5b6c3816c66fa6bc5b189f49e5b088e2de5082a
staking(view returns (address)
0x0000000000000000000000000000000000000000
stakingHelper(view returns (address)
0x95deaf8dd30380acd6cc5e4e90e5eef94d258854
standardizedDebtRatio(view returns (uint256)
0
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 feeuint256 maxDebt)
(controlVariable=25, vestingTerm=33110, minimumPrice=0, maxPayout=1000, fee=0, maxDebt=0)
totalDebt(view returns (uint256)
127025817483790836
treasury(view returns (address)
0x56d595ea5591d264bc1ef9e073af66685f0bfd31
useHelper(view returns (bool)
true
Read-only
bondInfo(addressview returns (uint256 payoutuint256 vestinguint256 lastBlockuint256 pricePaid)
payoutFor(uint256 _valueview returns (uint256)
pendingPayoutFor(address _depositorview returns (uint256 pendingPayout_)
percentVestedFor(address _depositorview returns (uint256 percentVested_)
State-modifying
deposit(uint256 _amountuint256 _maxPriceaddress _depositorreturns (uint256)
initializeBondTerms(uint256 _controlVariableuint256 _vestingTermuint256 _minimumPriceuint256 _maxPayoutuint256 _feeuint256 _maxDebtuint256 _initialDebt
pullManagement(
pushManagement(address newOwner_
recoverLostToken(address _tokenreturns (bool)
redeem(address _recipientbool _stakereturns (uint256)
renounceManagement(
setAdjustment(bool _additionuint256 _incrementuint256 _targetuint256 _buffer
setBondTerms(uint8 _parameteruint256 _input
setStaking(address _stakingbool _helper
Events
BondCreated(uint256 deposituint256 indexed payoutuint256 indexed expiresuint256 indexed priceInUSD
BondPriceChanged(uint256 indexed priceInUSDuint256 indexed internalPriceuint256 indexed debtRatio
BondRedeemed(address indexed recipientuint256 payoutuint256 remaining
ControlVariableAdjustment(uint256 initialBCVuint256 newBCVuint256 adjustmentbool addition
OwnershipPulled(address indexed previousOwneraddress indexed newOwner
OwnershipPushed(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _OHMaddress _principaladdress _treasuryaddress _DAOaddress _bondCalculator
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.