CustomBond

Verified contract

Active on Ethereum with 154 txns
Deployed by via 0x55af9784 at 14031325
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
--
0xe1d37384e7084038670b1d923ae259b750fa125d2f82e1ff91ce6fcc9e4e5e5f
0x240000a794bd54a3502e60c5221a43ab164c06cc055c8d2adbfe89f1ce1ec8b1
0x15b84df9dbbc34563a1f04cdec5fd01a42d51f25d0e04242f1e7508401f42473
0xc588c8409ad853c38beb4d9e524ed10f5cc062fa38311927c6f36043c1587a80
0xbbd13f0d082b3cbb4a63044fd7a09763aea788cbbe475d6bf55050f3b92f6089
0x38d03366aec0811eaa1efdbbd4f4767a1737712018fa0a51e68b04d24720bf31
0x9d1a3180ca3d61ad46c2c3464ee3065501279ca6d5a54410b17c895453ad2549
0xd3f60356a63b500574c8369f8d4a908b3d215e56364432e445e452a861541182
0xce5f0b26577f751811953988e2c536f3d541fb28ceae2757c3798401eb17f363
0xe1a496473f7a6088b9e2c92c1712744fe3330f628f1edb7194d6cd5dd54a7745

Functions
Getter at block 21185746
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_)
1080902474345758742181
debtRatio(view returns (uint256 debtRatio_)
0
lastDecay(view returns (uint256)
14262604
maxPayout(view returns (uint256)
44000000000000000000000
policy(view returns (address)
0x4f4f6b428af559db1dbe3cb32e1e3500deffa799
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebt)
(controlVariable=38000, vestingTerm=46200, minimumPrice=0, maxPayout=44, maxDebt=4115600000000000000000)
totalDebt(view returns (uint256)
1080902474345758742181
totalPayoutGiven(view returns (uint256)
1387003936565951382439117
totalPrincipalBonded(view returns (uint256)
5713860131908105561470
 
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.