CustomBond

Verified contract

Active on Ethereum with 657 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 $214,763.87
0x12a0a180b11fe9bd970493149864c68348f39de17c9c0c99199c6fe355563f48
0x16d12a3713fe0bed76ee3687c54b05de2af97e3e9786746cf8ad3aaa7de8cd51
0xcbcf52cace53e37f701dc4ac8843c3811bf8653742adb460b2ccb7d2ac1d521b
0x4520ae88c1dbeb00b07c3377b523c4698074aba57aefca73babdef7d6001d1d0
0xfb367388e5990f6fc65a41a355c6172acda7f43a5d4e0d2cf78482d548b6a246
0xe1ce41ea6feead68f28b78f0a2568ab22ad2afc09127d36e9143fd5601b7110e
0x1a695b04e20908cc126b0c6a3912f4b7d3d305492ecb39c6cad9ddfed18fb2af
0x571e0f202e9b31ec869d4be6bebc2937017641704a0d6f7ed3b4dfced6aab63b
0x430a3ca99bc0e8cbf1eebf4f28f952d2c1dd88fd571ec6c8c307cfdbd3e3d254
0xd08b3c0e781ae6711e9c58ed39e9131a52ed7fd6b62bc5980648d5489053392f

Functions
Getter at block 21304549
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=true, rate=0, target=60000, buffer=135, lastBlock=13723643)
bondPrice(view returns (uint256 price_)
0
currentDebt(view returns (uint256)
0
currentOlympusFee(view returns (uint256 currentFee_)
33300
debtDecay(view returns (uint256 decay_)
1157053967673511205655
debtRatio(view returns (uint256 debtRatio_)
0
lastDecay(view returns (uint256)
13927072
maxPayout(view returns (uint256)
36182443954248880376270
policy(view returns (address)
0x5a3a74b98ba529e0debd7cd552e9225cea55b37f
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebt)
(controlVariable=60500, vestingTerm=46200, minimumPrice=0, maxPayout=14, maxDebt=4000000000000000000000)
totalDebt(view returns (uint256)
1157053967673511205655
totalPayoutGiven(view returns (uint256)
4499808158862991146368514
totalPrincipalBonded(view returns (uint256)
20515336743250479219546
 
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.