Verified contractPartialMIT
TroveManager
Address0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2
- Balance
0 ETH
- Transactions
1,684
- Compiler
solc 0.6.11
- Same code
1 more contract
Details
- Compiler
- solc 0.6.11+commit.5ef660b1
- Language
- solidity
- Optimization
- Yes, 100 runs
- EVM version
- istanbul
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 12,178,557
- Creation transaction
- 0x79140d0004…b2555d5690
Read61
- BETA() → (uint256)
- BOOTSTRAP_PERIOD() → (uint256)
- BORROWING_FEE_FLOOR() → (uint256)
- CCR() → (uint256)
- DECIMAL_PRECISION() → (uint256)
- LUSD_GAS_COMPENSATION() → (uint256)
- L_ETH() → (uint256)
- L_LUSDDebt() → (uint256)
- MAX_BORROWING_FEE() → (uint256)
- MCR() → (uint256)
- MINUTE_DECAY_FACTOR() → (uint256)
- MIN_NET_DEBT() → (uint256)
- NAME() → (string)
- PERCENT_DIVISOR() → (uint256)
- REDEMPTION_FEE_FLOOR() → (uint256)
- SECONDS_IN_ONE_MINUTE() → (uint256)
- TroveOwners(uint256) → (address)
- Troves(address) → (uint256,uint256,uint256,uint8,uint128)
- _100pct() → (uint256)
- activePool() → (address)
- baseRate() → (uint256)
- borrowerOperationsAddress() → (address)
- checkRecoveryMode(uint256) → (bool)
- defaultPool() → (address)
- getBorrowingFee(uint256) → (uint256)
- getBorrowingFeeWithDecay(uint256) → (uint256)
- getBorrowingRate() → (uint256)
- getBorrowingRateWithDecay() → (uint256)
- getCurrentICR(address,uint256) → (uint256)
- getEntireDebtAndColl(address) → (uint256,uint256,uint256,uint256)
- getEntireSystemColl() → (uint256)
- getEntireSystemDebt() → (uint256)
- getNominalICR(address) → (uint256)
- getPendingETHReward(address) → (uint256)
- getPendingLUSDDebtReward(address) → (uint256)
- getRedemptionFeeWithDecay(uint256) → (uint256)
- getRedemptionRate() → (uint256)
- getRedemptionRateWithDecay() → (uint256)
- getTCR(uint256) → (uint256)
- getTroveColl(address) → (uint256)
- getTroveDebt(address) → (uint256)
- getTroveFromTroveOwnersArray(uint256) → (address)
- getTroveOwnersCount() → (uint256)
- getTroveStake(address) → (uint256)
- getTroveStatus(address) → (uint256)
- hasPendingRewards(address) → (bool)
- isOwner() → (bool)
- lastETHError_Redistribution() → (uint256)
- lastFeeOperationTime() → (uint256)
- lastLUSDDebtError_Redistribution() → (uint256)
- lqtyStaking() → (address)
- lqtyToken() → (address)
- lusdToken() → (address)
- owner() → (address)
- priceFeed() → (address)
- rewardSnapshots(address) → (uint256,uint256)
- sortedTroves() → (address)
- stabilityPool() → (address)
- totalCollateralSnapshot() → (uint256)
- totalStakes() → (uint256)
- totalStakesSnapshot() → (uint256)
Write17
- addTroveOwnerToArray(address) → (uint256)
- applyPendingRewards(address)
- batchLiquidateTroves(address[])
- closeTrove(address)
- decayBaseRateFromBorrowing()
- decreaseTroveColl(address,uint256) → (uint256)
- decreaseTroveDebt(address,uint256) → (uint256)
- increaseTroveColl(address,uint256) → (uint256)
- increaseTroveDebt(address,uint256) → (uint256)
- liquidate(address)
- liquidateTroves(uint256)
- redeemCollateral(uint256,address,address,address,uint256,uint256,uint256)
- removeStake(address)
- setAddresses(address,address,address,address,address,address,address,address,address,address,address)
- setTroveStatus(address,uint256)
- updateStakeAndTotalStakes(address) → (uint256)
- updateTroveRewardSnapshots(address)
Events23
- ActivePoolAddressChanged(address)
- BaseRateUpdated(uint256)
- BorrowerOperationsAddressChanged(address)
- CollSurplusPoolAddressChanged(address)
- DefaultPoolAddressChanged(address)
- GasPoolAddressChanged(address)
- LQTYStakingAddressChanged(address)
- LQTYTokenAddressChanged(address)
- LTermsUpdated(uint256,uint256)
- LUSDTokenAddressChanged(address)
- LastFeeOpTimeUpdated(uint256)
- Liquidation(uint256,uint256,uint256,uint256)
- OwnershipTransferred(address,address)
- PriceFeedAddressChanged(address)
- Redemption(uint256,uint256,uint256,uint256)
- SortedTrovesAddressChanged(address)
- StabilityPoolAddressChanged(address)
- SystemSnapshotsUpdated(uint256,uint256)
- TotalStakesUpdated(uint256)
- TroveIndexUpdated(address,uint256)
- TroveLiquidated(address,uint256,uint256,uint8)
- TroveSnapshotsUpdated(uint256,uint256)
- TroveUpdated(address,uint256,uint256,uint256,uint8)
ABI as JSON
[
{
"name": "ActivePoolAddressChanged",
"type": "event",
"inputs": [
{
"name": "_activePoolAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "BaseRateUpdated",
"type": "event",
"inputs": [
{
"name": "_baseRate",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "BorrowerOperationsAddressChanged",
"type": "event",
"inputs": [
{
"name": "_newBorrowerOperationsAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "CollSurplusPoolAddressChanged",
"type": "event",
"inputs": [
{
"name": "_collSurplusPoolAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "DefaultPoolAddressChanged",
"type": "event",
"inputs": [
{
"name": "_defaultPoolAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "GasPoolAddressChanged",
"type": "event",
"inputs": [
{
"name": "_gasPoolAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "LQTYStakingAddressChanged",
"type": "event",
"inputs": [
{
"name": "_lqtyStakingAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "LQTYTokenAddressChanged",
"type": "event",
"inputs": [
{
"name": "_lqtyTokenAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "LTermsUpdated",
"type": "event",
"inputs": [
{
"name": "_L_ETH",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_L_LUSDDebt",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "LUSDTokenAddressChanged",
"type": "event",
"inputs": [
{
"name": "_newLUSDTokenAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "LastFeeOpTimeUpdated",
"type": "event",
"inputs": [
{
"name": "_lastFeeOpTime",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "Liquidation",
"type": "event",
"inputs": [
{
"name": "_liquidatedDebt",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_liquidatedColl",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_collGasCompensation",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_LUSDGasCompensation",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "PriceFeedAddressChanged",
"type": "event",
"inputs": [
{
"name": "_newPriceFeedAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Redemption",
"type": "event",
"inputs": [
{
"name": "_attemptedLUSDAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_actualLUSDAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_ETHSent",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_ETHFee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "SortedTrovesAddressChanged",
"type": "event",
"inputs": [
{
"name": "_sortedTrovesAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "StabilityPoolAddressChanged",
"type": "event",
"inputs": [
{
"name": "_stabilityPoolAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "SystemSnapshotsUpdated",
"type": "event",
"inputs": [
{
"name": "_totalStakesSnapshot",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_totalCollateralSnapshot",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "TotalStakesUpdated",
"type": "event",
"inputs": [
{
"name": "_newTotalStakes",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "TroveIndexUpdated",
"type": "event",
"inputs": [
{
"name": "_borrower",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "_newIndex",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "TroveLiquidated",
"type": "event",
"inputs": [
{
"name": "_borrower",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_debt",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_coll",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_operation",
"type": "uint8",
"indexed": false,
"internalType": "enum TroveManager.TroveManagerOperation"
}
],
"anonymous": false
},
{
"name": "TroveSnapshotsUpdated",
"type": "event",
"inputs": [
{
"name": "_L_ETH",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_L_LUSDDebt",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "TroveUpdated",
"type": "event",
"inputs": [
{
"name": "_borrower",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_debt",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_coll",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_stake",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "_operation",
"type": "uint8",
"indexed": false,
"internalType": "enum TroveManager.TroveManagerOperation"
}
],
"anonymous": false
},
{
"name": "BETA",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "BOOTSTRAP_PERIOD",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "BORROWING_FEE_FLOOR",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "CCR",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "DECIMAL_PRECISION",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "LUSD_GAS_COMPENSATION",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "L_ETH",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "L_LUSDDebt",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MAX_BORROWING_FEE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MCR",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MINUTE_DECAY_FACTOR",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MIN_NET_DEBT",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "NAME",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "PERCENT_DIVISOR",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "REDEMPTION_FEE_FLOOR",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "SECONDS_IN_ONE_MINUTE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "TroveOwners",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "Troves",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "debt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "coll",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "stake",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "status",
"type": "uint8",
"internalType": "enum TroveManager.Status"
},
{
"name": "arrayIndex",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "_100pct",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "activePool",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IActivePool"
}
],
"stateMutability": "view"
},
{
"name": "addTroveOwnerToArray",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "index",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "applyPendingRewards",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "baseRate",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "batchLiquidateTroves",
"type": "function",
"inputs": [
{
"name": "_troveArray",
"type": "address[]",
"internalType": "address[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "borrowerOperationsAddress",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "checkRecoveryMode",
"type": "function",
"inputs": [
{
"name": "_price",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "closeTrove",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "decayBaseRateFromBorrowing",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "decreaseTroveColl",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
},
{
"name": "_collDecrease",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "decreaseTroveDebt",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
},
{
"name": "_debtDecrease",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "defaultPool",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IDefaultPool"
}
],
"stateMutability": "view"
},
{
"name": "getBorrowingFee",
"type": "function",
"inputs": [
{
"name": "_LUSDDebt",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getBorrowingFeeWithDecay",
"type": "function",
"inputs": [
{
"name": "_LUSDDebt",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getBorrowingRate",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getBorrowingRateWithDecay",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getCurrentICR",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
},
{
"name": "_price",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getEntireDebtAndColl",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "debt",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "coll",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "pendingLUSDDebtReward",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "pendingETHReward",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getEntireSystemColl",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "entireSystemColl",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getEntireSystemDebt",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "entireSystemDebt",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getNominalICR",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getPendingETHReward",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getPendingLUSDDebtReward",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getRedemptionFeeWithDecay",
"type": "function",
"inputs": [
{
"name": "_ETHDrawn",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getRedemptionRate",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getRedemptionRateWithDecay",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getTCR",
"type": "function",
"inputs": [
{
"name": "_price",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getTroveColl",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getTroveDebt",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getTroveFromTroveOwnersArray",
"type": "function",
"inputs": [
{
"name": "_index",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "getTroveOwnersCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getTroveStake",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getTroveStatus",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "hasPendingRewards",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "increaseTroveColl",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
},
{
"name": "_collIncrease",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "increaseTroveDebt",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
},
{
"name": "_debtIncrease",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "isOwner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "lastETHError_Redistribution",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "lastFeeOperationTime",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "lastLUSDDebtError_Redistribution",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "liquidate",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "liquidateTroves",
"type": "function",
"inputs": [
{
"name": "_n",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "lqtyStaking",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ILQTYStaking"
}
],
"stateMutability": "view"
},
{
"name": "lqtyToken",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ILQTYToken"
}
],
"stateMutability": "view"
},
{
"name": "lusdToken",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ILUSDToken"
}
],
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "priceFeed",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IPriceFeed"
}
],
"stateMutability": "view"
},
{
"name": "redeemCollateral",
"type": "function",
"inputs": [
{
"name": "_LUSDamount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_firstRedemptionHint",
"type": "address",
"internalType": "address"
},
{
"name": "_upperPartialRedemptionHint",
"type": "address",
"internalType": "address"
},
{
"name": "_lowerPartialRedemptionHint",
"type": "address",
"internalType": "address"
},
{
"name": "_partialRedemptionHintNICR",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_maxIterations",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_maxFeePercentage",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "removeStake",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "rewardSnapshots",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "ETH",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "LUSDDebt",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "setAddresses",
"type": "function",
"inputs": [
{
"name": "_borrowerOperationsAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_activePoolAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_defaultPoolAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_stabilityPoolAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_gasPoolAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_collSurplusPoolAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_priceFeedAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_lusdTokenAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_sortedTrovesAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_lqtyTokenAddress",
"type": "address",
"internalType": "address"
},
{
"name": "_lqtyStakingAddress",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setTroveStatus",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
},
{
"name": "_num",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "sortedTroves",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ISortedTroves"
}
],
"stateMutability": "view"
},
{
"name": "stabilityPool",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IStabilityPool"
}
],
"stateMutability": "view"
},
{
"name": "totalCollateralSnapshot",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "totalStakes",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "totalStakesSnapshot",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "updateStakeAndTotalStakes",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "updateTroveRewardSnapshots",
"type": "function",
"inputs": [
{
"name": "_borrower",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.