TokenBondDepository

Verified contract

Active on Ethereum with 808 txns
Deployed by via 0x39bd2603 at 13758897
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 6 additional slots
-
variable spans 4 additional slots
ERC-20
--
0x75ae4a77d5f72f30532ae98833a83dcf7f9e3b4e4f39d8271b9bcb9e6157a210
0xc23a2f5d5c5fbec19a14f17b358677831549fc14b5d7a8d8de15ab98c6836a99
0xa9c6b2aba9bf3501952ebcdd1dc57f83f3400e1da5f6f779a3baf938780bb616
0x6dc450fc14c7f701e853e5847dafac06a4b897b932113e4cb1da7f1ed33de803
0x4f6a042f5d2e23d2c4b651148b9a1b9c5f6405440edb0e45b25ce93f41a01d22
0x1b0bc2da9e0d0f90805f00d58cd5ef66bb6105e2e4c65adb670351203fab4892
0x92c3a1d1500a847a5d855b5c7765e420b653fabe39619ad83c248f1f9b4c6528
0x7f74a4a43968cfcb880d17c9f070ebe501b5a66ec3dcdafa090caa7a2ed5879f
0x93c7c3bd7af335daad773a19ae2e918eabb9a006a46942afe36c3f1b50b7e0e7
0xdeda953875cdd8a542896b05dce2a2600e37e56dc2f408a56fdc25b336c34742

Functions
Getter at block 21178681
DAO(view returns (address)
0xde50fb295549eda934d222e7a24d5a8dd132444f
LOBI(view returns (address)
0xdec41db0c33f3f6f3cb615449c311ba22d418a8d
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=true, rate=2, target=150, buffer=0, lastBlock=14034857)
assetPrice(view returns (int256)
316082490000000
bondPrice(view returns (uint256 price_)
0
 
bondPriceInUSD(view returns (uint256 price_)
currentDebt(view returns (uint256)
0
debtDecay(view returns (uint256 decay_)
2763204011616
debtRatio(view returns (uint256 debtRatio_)
0
lastDecay(view returns (uint256)
14034857
maxPayout(view returns (uint256)
280618251347
partnerDAO(view returns (address)
0x245cc372c84b3645bf0ffe6538620b04a217988b
policy(view returns (address)
0xba9ebdc5054a206b3d54d7cb7e7a5abd2810f6fe
principle(view returns (address)
0x2e9d63788249371f1dfc918a52f8d799f4a38c94
staking(view returns (address)
0x0000000000000000000000000000000000000000
stakingHelper(view returns (address)
0x644d94da13af3ac88a9a0dcaaa108e474b9a9b5f
 
standardizedDebtRatio(view returns (uint256)
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebtuint256 feeuint256 feePartner)
(controlVariable=106, vestingTerm=33230, minimumPrice=0, maxPayout=150, maxDebt=1000000000000000, fee=5000, feePartner=110)
totalDebt(view returns (uint256)
2763204011616
treasury(view returns (address)
0x873ad91fa4f2aa0d557c0919ec3f6c9d240cdd05
useHelper(view returns (bool)
true
Read-only
bondInfo(addressview returns (uint256 payoutuint256 vestinguint256 lastBlockuint256 pricePaid)
payoutFor(uint256 _valueview returns (uint256)
pendingPayoutFor(address _depositorview returns (uint256 pendingPayout_)
percentVestedFor(address _depositorview returns (uint256 percentVested_)
State-modifying
deposit(uint256 _amountuint256 _maxPriceaddress _depositorreturns (uint256)
initializeBondTerms(uint256 _controlVariableuint256 _vestingTermuint256 _minimumPriceuint256 _maxPayoutuint256 _maxDebtuint256 _initialDebtuint256 _feeuint256 _feePartner
pullManagement(
pushManagement(address newOwner_
recoverLostToken(address _tokenreturns (bool)
redeem(address _recipientbool _stakereturns (uint256)
renounceManagement(
setAdjustment(bool _additionuint256 _incrementuint256 _targetuint256 _buffer
setBondTerms(uint8 _parameteruint256 _input
setDAOs(address _DAOaddress _partnerDAO
setStaking(address _stakingbool _helper
Events
BondCreated(uint256 deposituint256 indexed payoutuint256 indexed expiresuint256 indexed priceInUSD
BondPriceChanged(uint256 indexed priceInUSDuint256 indexed internalPriceuint256 indexed debtRatio
BondRedeemed(address indexed recipientuint256 payoutuint256 remaining
ControlVariableAdjustment(uint256 initialBCVuint256 newBCVuint256 adjustmentbool addition
OwnershipPulled(address indexed previousOwneraddress indexed newOwner
OwnershipPushed(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _LOBIaddress _principleaddress _treasuryaddress _DAOaddress _partnerDAOaddress _feed
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.