WeightedRateCollectionPool
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
Balances ($0.00)
No balances found for "WeightedRateCollectionPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "WeightedRateCollectionPool"
ABI
ABI objects
Getter at block 21211106
BORROWER_SURPLUS_SPLIT_BASIS_POINTS() view returns (uint256)
9500
COLLATERAL_FILTER_NAME() pure returns (string)
CollectionCollateralFilter
COLLATERAL_FILTER_VERSION() pure returns (string)
1.0
IMPLEMENTATION_NAME() pure returns (string)
WeightedRateCollectionPool
IMPLEMENTATION_VERSION() pure returns (string)
1.4
INTEREST_RATE_MODEL_NAME() pure returns (string)
WeightedInterestRateModel
INTEREST_RATE_MODEL_VERSION() pure returns (string)
1.0
TICK_LIMIT_SPACING_BASIS_POINTS() view returns (uint256)
1000
admin() view returns (address)
0x0000000000000000000000000000000000000000
adminFeeBalance() view returns (uint256)
0
adminFeeRate() view returns (uint32)
0
collateralLiquidator() view returns (address)
0xe0194f47040e2424b8a65cb5f7112a5dbe1f93bf
collateralToken() view returns (address)
0x0000000000000000000000000000000000000000
collateralWrappers() view returns (address[])
[0xc4dC9eF8763433aAe26635bc5a09e362605fAd18, 0x5f264625E6400102A2f5e9a5D6e006C7A6d41285, 0x0000000000000000000000000000000000000000]
currencyToken() view returns (address)
0x0000000000000000000000000000000000000000
delegationRegistry() view returns (address)
0x00000000000076a84fef008cdabe6409d2fe638b
durations() view returns (uint64[])
[]
rates() view returns (uint64[])
[]
Read-only
decodeLoanReceipt(bytes loanReceipt) pure returns (struct LoanReceiptLoanReceiptV1)
deposits(address account, uint128 tick) view returns (struct PoolDeposit)
liquidityNode(uint128 tick) view returns (struct ILiquidityNodeInfo)
liquidityNodes(uint128 startTick, uint128 endTick) view returns (struct ILiquidityNodeInfo[])
loans(bytes32 receiptHash) view returns (uint8)
quote(uint256 principal, uint64 duration, address collateralToken, uint256[] collateralTokenIds, uint128[] ticks, bytes options) view returns (uint256)
quoteRefinance(bytes encodedLoanReceipt, uint256 principal, uint64 duration, uint128[] ticks) view returns (int256, uint256)
redemptionAvailable(address account, uint128 tick) view returns (uint256 shares, uint256 amount)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events borrow(uint256 principal, uint64 duration, address collateralToken, uint256 collateralTokenId, uint256 maxRepayment, uint128[] ticks, bytes options) returns (uint256)
deposit(uint128 tick, uint256 amount, uint256 minShares) returns (uint256)
initialize(bytes params)
liquidate(bytes encodedLoanReceipt)
multicall(bytes[] data) returns (bytes[] results)
onCollateralLiquidated(bytes encodedLoanReceipt, uint256 proceeds)
rebalance(uint128 srcTick, uint128 dstTick, uint256 minShares) returns (uint256, uint256, uint256)
redeem(uint128 tick, uint256 shares)
refinance(bytes encodedLoanReceipt, uint256 principal, uint64 duration, uint256 maxRepayment, uint128[] ticks) returns (uint256)
repay(bytes encodedLoanReceipt) returns (uint256)
setAdminFeeRate(uint32 rate)
withdraw(uint128 tick) returns (uint256, uint256)
withdrawAdminFees(address recipient, uint256 amount)
AdminFeeRateUpdated(uint256 rate)
AdminFeesWithdrawn(address indexed account, uint256 amount)
CollateralLiquidated(bytes32 indexed loanReceiptHash, uint256 proceeds, uint256 borrowerProceeds)
Deposited(address indexed account, uint128 indexed tick, uint256 amount, uint256 shares)
LoanLiquidated(bytes32 indexed loanReceiptHash)
LoanOriginated(bytes32 indexed loanReceiptHash, bytes loanReceipt)
LoanRepaid(bytes32 indexed loanReceiptHash, uint256 repayment)
Redeemed(address indexed account, uint128 indexed tick, uint256 shares)
Withdrawn(address indexed account, uint128 indexed tick, uint256 shares, uint256 amount)
constructor(address collateralLiquidator_, address delegationRegistry_, address[] collateralWrappers, struct WeightedInterestRateModelParameters parameters)
This contract contains no fallback and receive objects.
InactiveLiquidity()
InsufficientLiquidity()
InsufficientShares()
InsufficientTickSpacing()
InsufficientUtilization()
InvalidAddress()
InvalidBorrowOptions()
InvalidCaller()
InvalidLoanReceipt()
InvalidParameters()
InvalidReceiptEncoding()
InvalidRedemptionStatus()
InvalidTick()
LoanNotExpired()
ParameterOutOfBounds()
RepaymentTooHigh()
UnsupportedCollateral(uint256 index)
UnsupportedLoanDuration()