TroveManager

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x86249821 at 18029857
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
20 additional variables

No balances found for "TroveManager"

No transactions found for "TroveManager"


Functions
Getter at block 21257796
BOOTSTRAP_PERIOD(view returns (uint256)
1209600
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
MAX_INTEREST_RATE_IN_BPS(view returns (uint256)
400
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
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 debtuint16 minting)
(debt=0, minting=0)
getBorrowingRate(view returns (uint256)
0
 
getBorrowingRateWithDecay(view returns (uint256)
getEntireSystemColl(view returns (uint256)
0
getEntireSystemDebt(view returns (uint256)
0
getRedemptionRate(view returns (uint256)
0
 
getRedemptionRateWithDecay(view returns (uint256)
getTotalActiveCollateral(view returns (uint256)
0
getTotalActiveDebt(view returns (uint256)
0
getTroveOwnersCount(view returns (uint256)
0
getWeek(view returns (uint256 week)
67
getWeekAndDay(view returns (uint256uint256)
(67, 3)
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
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(addressview returns (uint256 debtuint256 colluint256 stakeuint8 statusuint128 arrayIndexuint256 activeInterestIndex)
accountLatestMint(addressview returns (uint32 amountuint32 weekuint32 day)
claimableReward(address accountview returns (uint256)
dailyMintReward(uint256view returns (uint256)
getBorrowingFee(uint256 _debtview returns (uint256)
getBorrowingFeeWithDecay(uint256 _debtview returns (uint256)
getCurrentICR(address _borroweruint256 _priceview returns (uint256)
getEntireDebtAndColl(address _borrowerview returns (uint256 debtuint256 colluint256 pendingDebtRewarduint256 pendingCollateralReward)
getNominalICR(address _borrowerview returns (uint256)
getPendingCollAndDebtRewards(address _borrowerview returns (uint256uint256)
getRedemptionFeeWithDecay(uint256 _collateralDrawnview returns (uint256)
getTotalMints(uint256 weekview returns (uint32[7])
getTroveCollAndDebt(address _borrowerview returns (uint256 colluint256 debt)
getTroveFromTroveOwnersArray(uint256 _indexview returns (address)
getTroveStake(address _borrowerview returns (uint256)
getTroveStatus(address _borrowerview returns (uint256)
hasPendingRewards(address _borrowerview returns (bool)
rewardIntegralFor(addressview returns (uint256)
rewardSnapshots(addressview returns (uint256 collateraluint256 debt)
surplusBalances(addressview returns (uint256)
State-modifying
addCollateralSurplus(address borroweruint256 collSurplus
applyPendingRewards(address _borrowerreturns (uint256 colluint256 debt)
claimCollateral(address _receiver
claimReward(address receiverreturns (uint256)
closeTrove(address _borroweraddress _receiveruint256 collAmountuint256 debtAmount
closeTroveByLiquidation(address _borrower
collectInterests(
decayBaseRateAndGetBorrowingFee(uint256 _debtreturns (uint256)
decreaseDebtAndSendCollateral(address accountuint256 debtuint256 coll
fetchPrice(returns (uint256)
finalizeLiquidation(address _liquidatoruint256 _debtuint256 _colluint256 _collSurplusuint256 _debtGasCompuint256 _collGasComp
getEntireSystemBalances(returns (uint256uint256uint256)
movePendingTroveRewardsToActiveBalances(uint256 _debtuint256 _collateral
notifyRegisteredId(uint256[] _assignedIdsreturns (bool)
openTrove(address _borroweruint256 _collateralAmountuint256 _compositeDebtuint256 NICRaddress _upperHintaddress _lowerHintbool _isRecoveryModereturns (uint256 stakeuint256 arrayIndex)
redeemCollateral(uint256 _debtAmountaddress _firstRedemptionHintaddress _upperPartialRedemptionHintaddress _lowerPartialRedemptionHintuint256 _partialRedemptionHintNICRuint256 _maxIterationsuint256 _maxFeePercentage
setAddresses(address _priceFeedAddressaddress _sortedTrovesAddressaddress _collateralToken
setParameters(uint256 _minuteDecayFactoruint256 _redemptionFeeFlooruint256 _maxRedemptionFeeuint256 _borrowingFeeFlooruint256 _maxBorrowingFeeuint256 _interestRateInBPSuint256 _maxSystemDebtuint256 _MCR
setPaused(bool _paused
setPriceFeed(address _priceFeedAddress
startSunset(
updateBalances(
updateTroveFromAdjustment(bool _isRecoveryModebool _isDebtIncreaseuint256 _debtChangeuint256 _netDebtChangebool _isCollIncreaseuint256 _collChangeaddress _upperHintaddress _lowerHintaddress _borroweraddress _receiverreturns (uint256uint256uint256)
vaultClaimReward(address claimantaddressreturns (uint256)
Events
BaseRateUpdated(uint256 _baseRate
CollateralSent(address _touint256 _amount
LTermsUpdated(uint256 _L_collateraluint256 _L_debt
LastFeeOpTimeUpdated(uint256 _lastFeeOpTime
Redemption(uint256 _attemptedDebtAmountuint256 _actualDebtAmountuint256 _collateralSentuint256 _collateralFee
RewardClaimed(address indexed accountaddress indexed recipientuint256 claimed
SystemSnapshotsUpdated(uint256 _totalStakesSnapshotuint256 _totalCollateralSnapshot
TotalStakesUpdated(uint256 _newTotalStakes
TroveIndexUpdated(address _borroweruint256 _newIndex
TroveSnapshotsUpdated(uint256 _L_collateraluint256 _L_debt
TroveUpdated(address indexed _borroweruint256 _debtuint256 _colluint256 _stakeuint8 _operation
Constructor
constructor(address _prismaCoreaddress _gasPoolAddressaddress _debtTokenAddressaddress _borrowerOperationsAddressaddress _vaultaddress _liquidationManageruint256 _gasCompensation
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.