PositionManager
Verified contract
Active on
Ethereum with 1,339 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($24,638.64)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
wstETH | ERC-20 | 6.626193 | $3,718.37 |
$24,638.64 | |
IRPM | ERC-20 | 6.708063M | -- | -- | |
R Minter | ERC-20 | 5.299292M | -- | -- | |
R/CHAI-PSM | ERC-20 | 3.944772M | -- | -- | |
wcrETH | ERC-20 | 0.01 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20061229 | 5 months ago | | | 0 | 0.00035630829 | |
| 18745993 | a year ago | | | 0 | 0.0016969735 | |
| 18678625 | a year ago | | | 0 | 0.0023722327 | |
| 18654608 | a year ago | | | 0 | 0.00081191077 | |
| 18621391 | a year ago | | | 0 | 0.0043464177 | |
| 18585109 | a year ago | | | 0 | 0.0020117759 | |
| 18584435 | a year ago | | | 0 | 0.0035041015 | |
| 18571306 | a year ago | | | 0 | 0.0021793202 | |
| 18558051 | a year ago | | | 0 | 0.0014438560 | |
| 18556040 | a year ago | | | 0 | 0.0044985546 |
ABI
ABI objects
Getter at block 21223951
BETA() view returns (uint256)
2
MAX_BORROWING_RATE() view returns (uint256)
50000000000000000
MAX_BORROWING_SPREAD() view returns (uint256)
10000000000000000
MINUTE_DECAY_FACTOR() view returns (uint256)
999037758833783000
feeRecipient() view returns (address)
0xf41f9fc0b622eb112445fd7b32fc5190d0c0d3f4
owner() view returns (address)
0xab40a7e3cef4afb323ce23b6565012ac7c76bfef
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
rToken() view returns (address)
0x183015a9ba6ff60230fdeadc3f43b3d788b13e21
Read-only
baseRate(address collateralToken) view returns (uint256)
borrowingSpread(address collateralToken) view returns (uint256)
collateralEnabled(address collateralToken) view returns (bool)
collateralInfo(address collateralToken) view returns (address collateralToken, address debtToken, address priceFeed, address splitLiquidation, bool isEnabled, uint256 lastFeeOperationTime, uint256 borrowingSpread, uint256 baseRate, uint256 redemptionSpread, uint256 redemptionRebate)
collateralTokenForPosition(address position) view returns (address collateralToken)
getBorrowingFee(address collateralToken, uint256 debtAmount) view returns (uint256)
getBorrowingRate(address collateralToken) view returns (uint256)
getBorrowingRateWithDecay(address collateralToken) view returns (uint256)
getRedemptionFee(address collateralToken, uint256 collateralAmount, uint256 priceDeviation) view returns (uint256)
getRedemptionFeeWithDecay(address collateralToken, uint256 collateralAmount) view returns (uint256 redemptionFee)
getRedemptionRate(address collateralToken) view returns (uint256)
getRedemptionRateWithDecay(address collateralToken) view returns (uint256)
isDelegateWhitelisted(address position, address delegate) view returns (bool isWhitelisted)
lastFeeOperationTime(address collateralToken) view returns (uint256)
priceFeed(address collateralToken) view returns (address)
raftCollateralToken(address collateralToken) view returns (address)
raftDebtToken(address collateralToken) view returns (address)
redemptionRebate(address collateralToken) view returns (uint256)
redemptionSpread(address collateralToken) view returns (uint256)
splitLiquidationCollateral(address collateralToken) view returns (address)
State-modifying
Events acceptOwnership()
addCollateralToken(address collateralToken, address priceFeed, address newSplitLiquidationCollateral)
liquidate(address position)
managePosition(address collateralToken, address position, uint256 collateralChange, bool isCollateralIncrease, uint256 debtChange, bool isDebtIncrease, uint256 maxFeePercentage, struct ERC20PermitSignature permitSignature) returns (uint256 actualCollateralChange, uint256 actualDebtChange)
redeemCollateral(address collateralToken, uint256 debtAmount, uint256 maxFeePercentage)
renounceOwnership()
setBorrowingSpread(address collateralToken, uint256 newBorrowingSpread)
setCollateralEnabled(address collateralToken, bool isEnabled)
setFeeRecipient(address newFeeRecipient)
setRedemptionRebate(address collateralToken, uint256 newRedemptionRebate)
setRedemptionSpread(address collateralToken, uint256 newRedemptionSpread)
setSplitLiquidationCollateral(address collateralToken, address newSplitLiquidationCollateral)
transferOwnership(address newOwner)
whitelistDelegate(address delegate, bool whitelisted)
BaseRateUpdated(address collateralToken, uint256 baseRate)
BorrowingSpreadUpdated(uint256 borrowingSpread)
CollateralChanged(address indexed position, address indexed collateralToken, uint256 collateralAmount, bool isCollateralIncrease)
CollateralTokenAdded(address collateralToken, address raftCollateralToken, address raftDebtToken, address priceFeed)
CollateralTokenModified(address collateralToken, bool isEnabled)
DebtChanged(address indexed position, address indexed collateralToken, uint256 debtAmount, bool isDebtIncrease)
DelegateWhitelisted(address indexed position, address indexed delegate, bool whitelisted)
FeeRecipientChanged(address feeRecipient)
LastFeeOpTimeUpdated(address collateralToken, uint256 lastFeeOpTime)
Liquidation(address indexed liquidator, address indexed position, address indexed collateralToken, uint256 debtLiquidated, uint256 collateralLiquidated, uint256 collateralSentToLiquidator, uint256 collateralLiquidationFeePaid, bool isRedistribution)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PositionClosed(address indexed position)
PositionCreated(address indexed position, address indexed collateralToken)
PositionManagerDeployed(address rToken, address feeRecipient)
RBorrowingFeePaid(address collateralToken, address indexed position, uint256 feeAmount)
Redemption(address indexed redeemer, uint256 amount, uint256 collateralSent, uint256 fee, uint256 rebate)
RedemptionRebateUpdated(uint256 redemptionRebate)
RedemptionSpreadUpdated(address collateralToken, uint256 redemptionSpread)
SplitLiquidationCollateralChanged(address collateralToken, address indexed newSplitLiquidationCollateral)
constructor()
This contract contains no fallback and receive objects.
AmountIsZero()
BorrowingSpreadExceedsMaximum()
CannotLiquidateLastPosition()
CollateralTokenAddressCannotBeZero()
CollateralTokenAlreadyAdded()
CollateralTokenDisabled()
CollateralTokenNotAdded()
DelegateNotWhitelisted()
FeeEatsUpAllReturnedCollateral()
FeeExceedsMaxFee(uint256 fee, uint256 amount, uint256 maxFeePercentage)
InvalidDelegateAddress()
InvalidFeeRecipient()
InvalidMaxFeePercentage()
InvalidPosition()
MaxFeePercentageOutOfRange()
NetDebtBelowMinimum(uint256 netDebt)
NewICRLowerThanMCR(uint256 newICR)
NoCollateralOrDebtChange()
NothingToLiquidate()
PositionCollateralTokenMismatch()
PriceFeedAddressCannotBeZero()
RedemptionRebateExceedsMaximum()
RedemptionSpreadOutOfRange()
SplitLiquidationCollateralCannotBeZero()
TotalDebtCannotBeLowerThanMinDebt(address collateralToken, uint256 newTotalDebt)
WrongCollateralParamsForFullRepayment()