REDACTEDLPBondDepositoryRewardBased

Verified contract

Active on Ethereum with 1,955 txns
Deployed by via 0x8af1a4e7 at 13851183
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
--
0x925a79cc8640f4675bb104dea3e27cf9b87d565b069d5785214b80943dda4030
0xdcf6685df471fdc9b8e715e4e70803e445eea6ee1432f88b4beacbdff2d9d1d0
0xf459b11f8e117c209f7b309e5513782bf5d496b7efa87703ce19fbd57dfbee15
0x8fa13c4b6942ba2d5c4c8377ace5283cd682690d172595bb687e3785787ee3ca
0xfca9405ded1280643d08301b5bd8ca3df4bae9f38f35a05c5e3a6c6383737b3e
0xea86569d9643aaa342d58f376640efbbb07693df8ba785f1441bccbf98b1ae77
0xa0f14c7d56fec954b710040a33fa0ff76da2a69edaf700669ab95b0380860d62
0x597ef2908c97fba1066c16fea71ae67e9f40dc559e2805a20354344f49a05381
0x0df29e6a61a9b47bf7fa1ba45e11823af1f7aa946dc4ca4274d05e39d4b4476d
0x53d60d5c86cf60dc44773b7d672b366030b0447139e0e15c36444dd123500cfb

Functions
Getter at block 21326224
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=1, target=50, buffer=0, lastBlock=14037406)
bondCalculator(view returns (address)
0xa77b57445fa262cae325ded434df89302c93f59a
bondPrice(view returns (uint256 price_)
10000
 
bondPriceInUSD(view returns (uint256 price_)
currentDebt(view returns (uint256)
0
debtDecay(view returns (uint256 decay_)
25603831257891
debtRatio(view returns (uint256 debtRatio_)
0
isLiquidityBond(view returns (bool)
true
lastDecay(view returns (uint256)
14037406
maxPayout(view returns (uint256)
34714571351
policy(view returns (address)
0x20b92862dcb9976e0aa11fae766343b7317ab349
principal(view returns (address)
0xe9ab8038ee6dd4fcc7612997fe28d4e22019c4b4
staking(view returns (address)
0x0000000000000000000000000000000000000000
stakingHelper(view returns (address)
0xc0840ec5527d3e70d66ae6575642916f3fd18adf
 
standardizedDebtRatio(view returns (uint256)
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 feeuint256 titheuint256 maxDebt)
(controlVariable=49, vestingTerm=33110, minimumPrice=0, maxPayout=100, fee=9500, tithe=500, maxDebt=1000000000000000000000)
totalDebt(view returns (uint256)
25603831257891
treasury(view returns (address)
0x086c98855df3c78c6b481b6e1d47bef42e9ac36b
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 _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.