CustomBond

Verified contract

Active on Ethereum with 489 txns
Deployed by via 0xbb9bb15d at 13754315
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
--
0x47473d7337a900e02225a46d42790e093fa1dc770f6875ea3a2ab58fa4c5336d
0xa2ddb1c12e76de1d4514c380426c236d478032cba856d311678976fa7cbe67ec
0xaa966ea1949f0f48f6fd264df91873cddac5a4e1dc9c1c27294744201567cd35
0x94950ac55d9eb9ac25c2cfbfbc11ea5d89fa99a3c5a45210579405e03cea37c2
0xfe3b4c3714e1fb3fc895f0695723ab378d9e9f0a1f5a4b64b339408f73a777a6
0xe6a77710468baeba44881bc58be7d97e4f69b7d32490c92e7556077371ed50a2
0xae6e1b2700464524b77cc80f622abb622f8d640231a3f969820068b3243c7dab
0x021525f696cf8fc04ca2e18450613cdddee2f2531c506b3694979521642ccde9
0x4d9eba61748a38b5fda9049ad143b59cfacd5b85e8b53ca4271dd2118ce4cc1d
0x7ddc8f0baf5537f13eb475a956039f31197f98077aa786b71a0bf8a3026ba264

Functions
Getter at block 21276309
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=false, rate=0, target=24600, buffer=200, lastBlock=13849125)
bondPrice(view returns (uint256 price_)
0
currentDebt(view returns (uint256)
0
currentOlympusFee(view returns (uint256 currentFee_)
33300
debtDecay(view returns (uint256 decay_)
208549880730245126390
debtRatio(view returns (uint256 debtRatio_)
0
lastDecay(view returns (uint256)
14390257
maxPayout(view returns (uint256)
225726807170362846920
policy(view returns (address)
0x0d5dc686d0a2abbfdafdfb4d0533e886517d4e83
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebt)
(controlVariable=24592, vestingTerm=33000, minimumPrice=0, maxPayout=44, maxDebt=1053200000000000000000)
totalDebt(view returns (uint256)
208549880730245126390
totalPayoutGiven(view returns (uint256)
26474021760844493442942
totalPrincipalBonded(view returns (uint256)
5344484747404511932717
 
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.