AsgardBondDepository

Verified contract

Active on Ethereum with 106 txns
Deployed by via 0xd4bb4c81 at 13043792
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
-
variable spans 4 additional slots
ERC-20
--
0x1eb85928ce2373feb30d3c91832a58b9088468e94608e80edc2ac8027785a3ec
0x77e91a42c502a429dae5f131861768d7ad9320d58ea7dfaa52f90517bd41952d
0xe920c5da3b5d44ee1dfad6e467476ac09c775e07796d7a2a52eefa68c0947a20
0xdec58d90cafc6871171631f6f5a753e85cdadae6cb56517fb31dc7557bcff577
0x30679fdff9e4f3549469011a81ff4da996c5badcde6825f0af19559482898770
0xfc6d5375eff7e063234a90821e1f45366212d34e5f53eb5a1ec86d4ee2c1d0d5
0x23cc5bd81dbeef77ef71769bdffe2532479bd857f619db92c3ee76c4349eb33a
0xa52bdf48969984ebaec093d3aa4bac9363409861cecf9a86ee0a53bca49b55f3
0xcef25dbd53387c553905c3ffceba829265964cb5efa24e289688a104f7be206e
0x0b36a30ce7b77d1e79264a91a2bf01fc43f840bbea0a967fb14062665a505855

Functions
Getter at block 20822257
ASG(view returns (address)
0x0dc5189ec8cde5732a01f0f592e927b304370551
DAO(view returns (address)
0xe3dfece2fc903a1280650c05ab471c0413607c1d
adjustment(view returns (bool adduint256 rateuint256 targetuint256 bufferuint256 lastBlock)
(add=false, rate=31, target=126, buffer=135, lastBlock=13065448)
bondCalculator(view returns (address)
0xa6ff76c8b7224f14455d27d895ff527640b1f8be
bondPrice(view returns (uint256 price_)
100
 
bondPriceInUSD(view returns (uint256 price_)
currentDebt(view returns (uint256)
0
debtDecay(view returns (uint256 decay_)
5566078619616
debtRatio(view returns (uint256 debtRatio_)
0
isLiquidityBond(view returns (bool)
true
lastDecay(view returns (uint256)
13065550
maxPayout(view returns (uint256)
0
policy(view returns (address)
0xb34a1922cccc0707b90d16724e0a0cec58b6a5c6
principle(view returns (address)
0x5a1abc007f031aa58238f45941d965ce6892fdff
staking(view returns (address)
0x0000000000000000000000000000000000000000
stakingHelper(view returns (address)
0x3a424dc0fc7afcc6e0fef1c8da46c856f2bae181
 
standardizedDebtRatio(view returns (uint256)
terms(view returns (uint256 controlVariableuint256 vestingTermuint256 minimumPriceuint256 maxPayoutuint256 feeuint256 maxDebt)
(controlVariable=281, vestingTerm=33110, minimumPrice=0, maxPayout=0, fee=0, maxDebt=50000000000000000000000)
totalDebt(view returns (uint256)
5566078619616
treasury(view returns (address)
0x9d5818af130705f95444d78a55b4f3d85cbfcc13
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 _feeuint256 _maxDebtuint256 _initialDebt
pullManagement(
pushManagement(address newOwner_
recoverLostToken(address _tokenreturns (bool)
redeem(address _recipientbool _stakereturns (uint256)
renounceManagement(
setAdjustment(bool _additionuint256 _incrementuint256 _targetuint256 _buffer
setBondTerms(uint8 _parameteruint256 _input
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 _ASGaddress _principleaddress _treasuryaddress _DAOaddress _bondCalculator
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.