REDACTEDBondDepositoryRewardBased

Verified contract

Active on Ethereum with 894 txns
Deployed by via 0x0792efc6 at 13890081
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 6 additional slots
-
variable spans 4 additional slots
ERC-20
--
0x0959b3fdfbb4f0cd7b17b2c0f45810eb0b249ee6fe83adabf0f5d0b71f81c402
0x66b138a3463667992d3c25734c7376603388b6263857bc74e8535f0f9435009f
0x3e50d2ce479f83f44254ad7d2a8bdc5a577df3a2adcd8b94b22290796edc3577
0xe4ef71455fe4b0d43b04fb025076dced0c02988e96dbc74a54a588dc0f0b3c70
0x1f3532930309ac1ab9047362858980fb1292ef505efde67c73d8ace5eeb636f2
0xf8f3bea5841cc37ccfe81caef8d731744d2bf2a2ea163f7233bad4a0b05d9dad
0x493325cf1e7fc3b97fb7afe7cdcad44b59b0946771257eddc05c5af9102fe54d
0x1711c97c1bb7b17d6db156123d9f94882f9db8f0fb7cd50dc53800f5a1ea31b4
0x5c94b3048166fcb35e7ead1eede6caeefb62ba5e0a2dc7f80708dec5f2fed519
0xc7364f1d424c1684005a4f3cd342385b8a2d295096a06a3f53ca20bb2ff40479

Functions
Getter at block 20913693
BTRFLY(view returns (address)
0xc0d4ceb216b3ba9c3701b291766fdcba977cec3a
DAO(view returns (address)
0xa52fd396891e7a74b641a2cb1a6999fcf56b077e
OLYMPUSDAO(view returns (address)
0x245cc372c84b3645bf0ffe6538620b04a217988b
OLYMPUSTreasury(view returns (address)
0x31f8cc382c9898b273eff4e0b7626a6987c846e8
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=true, rate=8, target=1400, buffer=0, lastBlock=14043879)
bondCalculator(view returns (address)
0x0000000000000000000000000000000000000000
bondPrice(view returns (uint256 price_)
3
bondPriceInUSD(view returns (uint256 price_)
30000000000000000
currentDebt(view returns (uint256)
0
debtDecay(view returns (uint256 decay_)
835114049114366
debtRatio(view returns (uint256 debtRatio_)
0
isLiquidityBond(view returns (bool)
false
lastDecay(view returns (uint256)
14043879
maxPayout(view returns (uint256)
35359245929
policy(view returns (address)
0x20b92862dcb9976e0aa11fae766343b7317ab349
principal(view returns (address)
0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b
staking(view returns (address)
0x0000000000000000000000000000000000000000
stakingHelper(view returns (address)
0x0000000000000000000000000000000000000000
standardizedDebtRatio(view returns (uint256)
0
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 feeuint256 titheuint256 maxDebt)
(controlVariable=547, vestingTerm=33110, minimumPrice=0, maxPayout=100, fee=9500, tithe=500, maxDebt=100000000000000000000000)
totalDebt(view returns (uint256)
835114049114366
treasury(view returns (address)
0x086c98855df3c78c6b481b6e1d47bef42e9ac36b
useHelper(view returns (bool)
false
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 _titheuint256 _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
setOLYMPUSTreasury(address _newTreasury
setStaking(address _stakingbool _helper
Events
BondCreated(uint256 deposituint256 indexed payoutuint256 indexed expiresuint256 indexed nativePrice
BondPriceChanged(uint256 indexed nativePriceuint256 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 _BTRFLYaddress _principaladdress _treasuryaddress _DAOaddress _bondCalculatoraddress _OLYMPUSDAOaddress _OLYMPUSTreasury
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.