CustomBond

Verified contract

Active on Ethereum with 205 txns
Deployed by via 0xc19605c9 at 13754545
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
--
ERC-20
--
ERC-20
--
0x20dc83a6ede51b220f5a1b4789e1664018c9b88d5919db83dba0bad2d623b8fc
0x67742054eb4203119ca948551d11f2cee0ffe82de12eb95501be317466b3d175
0xe9a8b0f21428f56dc5949e4b437285e4ae86441ace8b5fa2dbe85ddfef5283f9
0xd354ffe2639066ebaf3b10824dcd0909072457dfb9634d3753dca988e0599719
0xc8a7bc48593fd7ea05403f5b4c5ddb0d9078aad3f9ee4dec57fc8e24230bbb43
0x0d32611bc0079ef7bff2a662251b1a22668cbb9007d676f81248a5165d83a130
0x0186aa3159c145a2a3e767a6c406be121b4a17aa81293e7e179753c7fd52b6ff
0xd0a3d1333daa97d904b10258bef27ed8808ecab9121f5065cee5c0411a42daed
0x10cf6189b9698b2991bed1a8f8bd5cf859f1015cffc9dbb77be5c5fee244acef
0xec37a842b053686fad12f6b5d89eb26b55008c346b6ace334221dfe020de9c78

Functions
Getter at block 21163866
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=false, rate=0, target=0, buffer=0, lastBlock=0)
bondPrice(view returns (uint256 price_)
0
currentDebt(view returns (uint256)
0
currentOlympusFee(view returns (uint256 currentFee_)
33300
debtDecay(view returns (uint256 decay_)
26390696882076200
debtRatio(view returns (uint256 debtRatio_)
0
lastDecay(view returns (uint256)
14386321
maxPayout(view returns (uint256)
40993474308957879594
policy(view returns (address)
0x0d5dc686d0a2abbfdafdfb4d0533e886517d4e83
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebt)
(controlVariable=224000, vestingTerm=46200, minimumPrice=0, maxPayout=8, maxDebt=189800000000000000)
totalDebt(view returns (uint256)
26390696882076200
totalPayoutGiven(view returns (uint256)
2262604860954358990680
totalPrincipalBonded(view returns (uint256)
908682410460359981
 
trueBondPrice(view returns (uint256 price_)
Read-only
bondInfo(addressview returns (uint256 payoutuint256 vestinguint256 lastBlockuint256 truePricePaid)
payoutFor(uint256 _valueview returns (uint256 _payoutuint256 _fee)
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 _principalTokenaddress _olympusTreasuryaddress _subsidyRouteraddress _initialOwneraddress _olympusDAOuint256[] _tierCeilingsuint256[] _feesbool _feeInPayout
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.