TroveManager
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
28
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
22 additional
variables
Balances ($0.00)
No balances found for "TroveManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "TroveManager"
ABI
ABI objects
Getter at block 21203080
CCR() view returns (uint256)
1500000000000000000
DEBT_GAS_COMPENSATION() view returns (uint256)
200000000000000000000
DECIMAL_PRECISION() view returns (uint256)
1000000000000000000
L_collateral() view returns (uint256)
0
L_debt() view returns (uint256)
0
MCR() view returns (uint256)
0
PERCENT_DIVISOR() view returns (uint256)
200
PRISMA_CORE() view returns (address)
0x5d17ea085f2ff5da3e6979d5d26f1dbab664ccf8
SUNSETTING_INTEREST_RATE() view returns (uint256)
15854895991882293252
activeInterestIndex() view returns (uint256)
0
baseRate() view returns (uint256)
0
bootstrapPeriod() view returns (uint256)
0
borrowerOperationsAddress() view returns (address)
0x72c590349535ad52e6953744cb2a36b409542719
borrowingFeeFloor() view returns (uint256)
0
collateralToken() view returns (address)
0x0000000000000000000000000000000000000000
debtToken() view returns (address)
0x4591dbff62656e7859afe5e45f6f47d3669fbb28
defaultedCollateral() view returns (uint256)
0
defaultedDebt() view returns (uint256)
0
emissionId() view returns (uint16 debt, uint16 minting)
(debt=0, minting=0)
getBorrowingRate() view returns (uint256)
0
getBorrowingRateWithDecay() view returns (uint256)
0
getEntireSystemColl() view returns (uint256)
0
getEntireSystemDebt() view returns (uint256)
0
getInterestRateInBps() view returns (uint256)
0
getRedemptionRate() view returns (uint256)
0
getRedemptionRateWithDecay() view returns (uint256)
0
getTotalActiveCollateral() view returns (uint256)
0
getTotalActiveDebt() view returns (uint256)
0
getTroveOwnersCount() view returns (uint256)
0
getWeek() view returns (uint256 week)
66
getWeekAndDay() view returns (uint256, uint256)
(66, 2)
guardian() view returns (address)
0x7a28a80dce1733944db5dc50dc2c5147ec993c5a
interestPayable() view returns (uint256)
0
interestRate() view returns (uint256)
0
lastActiveIndexUpdate() view returns (uint256)
0
lastCollateralError_Redistribution() view returns (uint256)
0
lastDebtError_Redistribution() view returns (uint256)
0
lastFeeOperationTime() view returns (uint256)
0
lastUpdate() view returns (uint32)
0
liquidationManager() view returns (address)
0x5de309dfd7f94e9e2a18cb6ba61ca305abf8e9e2
maxBorrowingFee() view returns (uint256)
0
maxRedemptionFee() view returns (uint256)
0
maxSystemDebt() view returns (uint256)
0
minuteDecayFactor() view returns (uint256)
0
owner() view returns (address)
0xc53baaaa8595a7a2e7fee71db7291b939f696734
paused() view returns (bool)
false
periodFinish() view returns (uint32)
0
priceFeed() view returns (address)
0x0000000000000000000000000000000000000000
redemptionFeeFloor() view returns (uint256)
0
redemptionFeesRebate() view returns (uint16)
0
rewardIntegral() view returns (uint256)
0
rewardRate() view returns (uint128)
0
sortedTroves() view returns (address)
0x0000000000000000000000000000000000000000
sunsetting() view returns (bool)
false
systemDeploymentTime() view returns (uint256)
0
totalCollateralSnapshot() view returns (uint256)
0
totalStakes() view returns (uint256)
0
totalStakesSnapshot() view returns (uint256)
0
vault() view returns (address)
0x06bdf212c290473dcacea9793890c5024c7eb02c
Read-only
Troves(address) view returns (uint256 debt, uint256 coll, uint256 stake, uint8 status, uint128 arrayIndex, uint256 activeInterestIndex)
accountLatestMint(address) view returns (uint32 amount, uint32 week, uint32 day)
claimableReward(address account) view returns (uint256)
dailyMintReward(uint256) view returns (uint256)
getBorrowingFee(uint256 _debt) view returns (uint256)
getBorrowingFeeWithDecay(uint256 _debt) view returns (uint256)
getCurrentICR(address _borrower, uint256 _price) view returns (uint256)
getEntireDebtAndColl(address _borrower) view returns (uint256 debt, uint256 coll, uint256 pendingDebtReward, uint256 pendingCollateralReward)
getNominalICR(address _borrower) view returns (uint256)
getPendingCollAndDebtRewards(address _borrower) view returns (uint256, uint256)
getRedemptionFeeWithDecay(uint256 _collateralDrawn) view returns (uint256)
getTotalMints(uint256 week) view returns (uint32[7])
getTroveCollAndDebt(address _borrower) view returns (uint256 coll, uint256 debt)
getTroveFromTroveOwnersArray(uint256 _index) view returns (address)
getTroveStake(address _borrower) view returns (uint256)
getTroveStatus(address _borrower) view returns (uint256)
hasPendingRewards(address _borrower) view returns (bool)
rewardIntegralFor(address) view returns (uint256)
rewardSnapshots(address) view returns (uint256 collateral, uint256 debt)
surplusBalances(address) view returns (uint256)
State-modifying
Events addCollateralSurplus(address borrower, uint256 collSurplus)
applyPendingRewards(address _borrower) returns (uint256 coll, uint256 debt)
claimCollateral(address _receiver)
claimReward(address receiver) returns (uint256)
closeTrove(address _borrower, address _receiver, uint256 collAmount, uint256 debtAmount)
closeTroveByLiquidation(address _borrower)
collectInterests()
decayBaseRateAndGetBorrowingFee(uint256 _debt) returns (uint256)
decreaseDebtAndSendCollateral(address account, uint256 debt, uint256 coll)
fetchPrice() returns (uint256)
finalizeLiquidation(address _liquidator, uint256 _debt, uint256 _coll, uint256 _collSurplus, uint256 _debtGasComp, uint256 _collGasComp)
getEntireSystemBalances() returns (uint256, uint256, uint256)
movePendingTroveRewardsToActiveBalances(uint256 _debt, uint256 _collateral)
notifyRegisteredId(uint256[] _assignedIds) returns (bool)
openTrove(address _borrower, uint256 _collateralAmount, uint256 _compositeDebt, uint256 NICR, address _upperHint, address _lowerHint, bool _isRecoveryMode) returns (uint256 stake, uint256 arrayIndex)
redeemCollateral(uint256 _debtAmount, address _firstRedemptionHint, address _upperPartialRedemptionHint, address _lowerPartialRedemptionHint, uint256 _partialRedemptionHintNICR, uint256 _maxIterations, uint256 _maxFeePercentage)
setAddresses(address _priceFeedAddress, address _sortedTrovesAddress, address _collateralToken)
setParameters(uint256 _minuteDecayFactor, uint256 _redemptionFeeFloor, uint256 _maxRedemptionFee, uint256 _borrowingFeeFloor, uint256 _maxBorrowingFee, uint256 _interestRateInBPS, uint256 _maxSystemDebt, uint256 _MCR)
setPaused(bool _paused)
setPriceFeed(address _priceFeedAddress)
setRedemptionFeesRebate(uint16 _redemptionFeesRebate)
setRedemptionsCallback(address redemptionsCallback)
startSunset()
updateBalances()
updateTroveFromAdjustment(bool _isRecoveryMode, bool _isDebtIncrease, uint256 _debtChange, uint256 _netDebtChange, bool _isCollIncrease, uint256 _collChange, address _upperHint, address _lowerHint, address _borrower, address _receiver) returns (uint256, uint256, uint256)
vaultClaimReward(address claimant, address) returns (uint256)
BaseRateUpdated(uint256 _baseRate)
CollateralSent(address _to, uint256 _amount)
LTermsUpdated(uint256 _L_collateral, uint256 _L_debt)
LastFeeOpTimeUpdated(uint256 _lastFeeOpTime)
Redemption(uint256 _attemptedDebtAmount, uint256 _actualDebtAmount, uint256 _collateralSent, uint256 _collateralFee)
RedemptionFeesRebateSet(uint16 redemptionFeesRebate)
RewardClaimed(address indexed account, address indexed recipient, uint256 claimed)
SystemSnapshotsUpdated(uint256 _totalStakesSnapshot, uint256 _totalCollateralSnapshot)
TotalStakesUpdated(uint256 _newTotalStakes)
TroveIndexUpdated(address _borrower, uint256 _newIndex)
TroveSnapshotsUpdated(uint256 _L_collateral, uint256 _L_debt)
TroveUpdated(address indexed _borrower, uint256 _debt, uint256 _coll, uint256 _stake, uint8 _operation)
constructor(address _prismaCore, address _gasPoolAddress, address _debtTokenAddress, address _borrowerOperationsAddress, address _vault, address _liquidationManager, uint256 _gasCompensation, uint256 _bootstrapPeriod)
This contract contains no fallback and receive objects.
This contract contains no error objects.