TokenBondDepository

Verified contract

Active on Ethereum with 305 txns
Deployed by via 0x8f6ed9e0 at 13895535
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
--
0x97c28522109f6d5bdc11b415227a18583d1f1c176bc3565f7004a92c9b1d0d44
0x1c8efb4a8a7e8b6c3d1e63ef1a54df46e2a4362181e0493e0a30e62678ea7933
0x8028cd23cbb5499c664cbc562cd4c3ef652b691297321a7e46a99d01a77ac6d4
0x52e2b04351e3b5b03af5a39f47a219743a587e90fb60870fed50462ee8eb3103
0x994cc7881f54cd3f142b5fe29b6f2a006e7f2b09d93ee7c0e3bdf87ef44f756c
0xbf7a8ff7af0c56e33b13b3a1acf56dc2b833f7c8b9c0876509dfae573f927a39
0x54afafc931c91b6674124a8445b137de1ae2893e3b6e263672c5fb8977ca358a
0x8c3fef95190ebe5093230f2957ddc59ac41232b9f53877ab6573c3cce3730525
0x8faecdcd2ef58b67d8b9a1c9db1a2441b328aced71b7999dc4b7b8058ef04317
0xef620f65e085bd43846f84434eacf7ccb1acb79e888e906908de4980aabae338

Functions
Getter at block 21281866
DAO(view returns (address)
0x726d658d23834a2289126267c331b3f0aa03c5ad
DMND(view returns (address)
0x144e3b02e08e644ffbb7ff652763f5b72ee22701
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=true, rate=0, target=80, buffer=0, lastBlock=13940850)
assetPrice(view returns (int256)
51261776
bondPrice(view returns (uint256 price_)
0
 
bondPriceInUSD(view returns (uint256 price_)
currentDebt(view returns (uint256)
0
debtDecay(view returns (uint256 decay_)
4515597716678
debtRatio(view returns (uint256 debtRatio_)
0
lastDecay(view returns (uint256)
14100144
maxPayout(view returns (uint256)
2763192242
partnerDAO(view returns (address)
0xd73911200f908714f886c0beefcfe1ac3108e1a3
policy(view returns (address)
0x557dfff10daaaa8922efaa5de23180873752e2bf
principle(view returns (address)
0xd533a949740bb3306d119cc777fa900ba034cd52
staking(view returns (address)
0x0000000000000000000000000000000000000000
stakingHelper(view returns (address)
0xe6333fce83a1c1ba4bff1661267bd256c94723fd
 
standardizedDebtRatio(view returns (uint256)
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 maxDebtuint256 feeuint256 feePartner)
(controlVariable=80, vestingTerm=33230, minimumPrice=0, maxPayout=1, maxDebt=500000000000000, fee=2000, feePartner=500)
totalDebt(view returns (uint256)
4515597716678
treasury(view returns (address)
0x82b9acb41118f1c48be24af4f16c4b7f561ff429
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 _DMNDaddress _principleaddress _treasuryaddress _DAOaddress _partnerDAOaddress _feed
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.