CustomBond

Verified contract

Active on Ethereum with 337 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
-
variable spans 4 additional slots
ERC-20
Value $0.08
0x77d9a64e25e61f79d7d3f5449acf7841375115829f1e885bc638284937a52235
0x0e3cbfb75e833b21291beef0b74e9ea469508955fb86c2727e4fd5a3fd086549
0x76579177467948ed6ddf2fcc2ab575f80d07445dae83371093aaff8941e6a248
0x36a415f85e6cadd37456e4104f71350e84e6210bdf5bb1a3369bca3b359a7283
0x9db175382076f98692449218ed5df737c644425823de1cffc6827c1ba6653afd
0x52e5816903f37ed9e66b754a4a3fc7ca11dbcceb152afdfa490c6c913a0c5a93
0x9e52bb237798cc006e787a31956ecd92bd6be7cbe3e7d606a475928037bf6f2b
0x398a11e6f9c341d89741ec8f80194370479ba56a499e67af22b5a5c9f9c4946f
0x4779191e99a15f7f1a844780c062a09f920071888aada530b2e764a27144c9e0
0x4c758ff30a18993875408cdeb3068829d4d72dbe0b34dbe7bbb48a8cd2359815

Functions
Getter at block 21405565
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=true, rate=0, target=300000, buffer=135, lastBlock=13514367)
bondPrice(view returns (uint256 price_)
0
currentDebt(view returns (uint256)
0
currentOlympusFee(view returns (uint256 currentFee_)
33300
debtDecay(view returns (uint256 decay_)
7963303921061111869925
debtRatio(view returns (uint256 debtRatio_)
0
lastDecay(view returns (uint256)
13989181
maxPayout(view returns (uint256)
3987259823645344389628
policy(view returns (address)
0xb1748c79709f4ba2dd82834b8c82d4a505003f27
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebt)
(controlVariable=306375, vestingTerm=46200, minimumPrice=0, maxPayout=4, maxDebt=14000000000000000000000)
totalDebt(view returns (uint256)
7963303921061111869925
totalPayoutGiven(view returns (uint256)
369996524688706151103806
totalPrincipalBonded(view returns (uint256)
44665344220178212860482
 
trueBondPrice(view returns (uint256 price_)
Read-only
bondInfo(addressview returns (uint256 payoutuint256 vestinguint256 lastBlockuint256 truePricePaid)
payoutFor(uint256 _valueview returns (uint256)
pendingPayoutFor(address _depositorview returns (uint256 pendingPayout_)
percentVestedFor(address _depositorview returns (uint256 percentVested_)
State-modifying
changeOlympusTreasury(address _olympusTreasury
deposit(uint256 _amountuint256 _maxPriceaddress _depositorreturns (uint256)
initializeBond(uint256 _controlVariableuint256 _vestingTermuint256 _minimumPriceuint256 _maxPayoutuint256 _maxDebtuint256 _initialDebt
paySubsidy(returns (uint256 payoutSinceLastSubsidy_)
redeem(address _depositorreturns (uint256)
setAdjustment(bool _additionuint256 _incrementuint256 _targetuint256 _buffer
setBondTerms(uint8 _parameteruint256 _input
transferManagment(address _newOwner
Events
BondCreated(uint256 deposituint256 payoutuint256 expires
BondPriceChanged(uint256 internalPriceuint256 debtRatio
BondRedeemed(address recipientuint256 payoutuint256 remaining
ControlVariableAdjustment(uint256 initialBCVuint256 newBCVuint256 adjustmentbool addition
Constructor
constructor(address _customTreasuryaddress _payoutTokenaddress _principalTokenaddress _olympusTreasuryaddress _subsidyRouteraddress _initialOwneraddress _olympusDAOuint256[] _tierCeilingsuint256[] _fees
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.