CustomBond

Verified contract

Active on Ethereum with 197 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
--
0xc1322cef81d108d360df1e1e31052c06b1a799365e1fd3a2751da172cc320ac9
0xeb5fe5ed6a5e875bd83dd60a62b6e749c7dee2d7e15d5cc8df69a6eb2e71306e
From
0x343e58558bb1fea2a9c41fd601501cd7fe7815307f24c351d7d8350a053bff8f
0xd6d0280f89c1b34e5dfb2b498af47386d83bf479605b473a45d1b200e6db48b5
0x65e41f7d759370e479597afa1c3710ef961c4ed74b3e91b91d4de6222bbf9ba6
0x40223f1eedb4a3db46983d45dafc830accb49a9d217695ee0788ff1ea23e608e
0x10438e7192dea2de21088cca63bd74e69993b48eddcf1f2627086600f1c0b588
0xacb1ea28a98715fb026f17f1dc52b1d30ff895dcc67ce35f6184122eb7599ff5
0xe70e6eab89ec429abd9b4993b1d871242183e2d66bf9972d45d82daa9c96075d
0x3969ab3c5e5c4e3e35aef56f57096fcb87756a47c8be82a627731631d47770fc

Functions
Getter at block 21284023
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_)
301285012661485861
debtRatio(view returns (uint256 debtRatio_)
0
lastDecay(view returns (uint256)
14388886
maxPayout(view returns (uint256)
41041237667338699440
policy(view returns (address)
0x0d5dc686d0a2abbfdafdfb4d0533e886517d4e83
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebt)
(controlVariable=224000, vestingTerm=46200, minimumPrice=0, maxPayout=8, maxDebt=2178000000000000000)
totalDebt(view returns (uint256)
301285012661485861
totalPayoutGiven(view returns (uint256)
2263252797075893934317
totalPrincipalBonded(view returns (uint256)
9997699080371321020
 
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.