WeightedRateCollectionPool

Verified contract

Implementation

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

No balances found for "WeightedRateCollectionPool"

No transactions found for "WeightedRateCollectionPool"


Functions
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 loanReceiptpure returns (struct LoanReceiptLoanReceiptV1)
deposits(address accountuint128 tickview returns (struct PoolDeposit)
liquidityNode(uint128 tickview returns (struct ILiquidityNodeInfo)
liquidityNodes(uint128 startTickuint128 endTickview returns (struct ILiquidityNodeInfo[])
loans(bytes32 receiptHashview returns (uint8)
quote(uint256 principaluint64 durationaddress collateralTokenuint256[] collateralTokenIdsuint128[] ticksbytes optionsview returns (uint256)
quoteRefinance(bytes encodedLoanReceiptuint256 principaluint64 durationuint128[] ticksview returns (int256uint256)
redemptionAvailable(address accountuint128 tickview returns (uint256 sharesuint256 amount)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
borrow(uint256 principaluint64 durationaddress collateralTokenuint256 collateralTokenIduint256 maxRepaymentuint128[] ticksbytes optionsreturns (uint256)
deposit(uint128 tickuint256 amountuint256 minSharesreturns (uint256)
initialize(bytes params
liquidate(bytes encodedLoanReceipt
multicall(bytes[] datareturns (bytes[] results)
onCollateralLiquidated(bytes encodedLoanReceiptuint256 proceeds
rebalance(uint128 srcTickuint128 dstTickuint256 minSharesreturns (uint256uint256uint256)
redeem(uint128 tickuint256 shares
refinance(bytes encodedLoanReceiptuint256 principaluint64 durationuint256 maxRepaymentuint128[] ticksreturns (uint256)
repay(bytes encodedLoanReceiptreturns (uint256)
setAdminFeeRate(uint32 rate
withdraw(uint128 tickreturns (uint256uint256)
withdrawAdminFees(address recipientuint256 amount
Events
AdminFeeRateUpdated(uint256 rate
AdminFeesWithdrawn(address indexed accountuint256 amount
CollateralLiquidated(bytes32 indexed loanReceiptHashuint256 proceedsuint256 borrowerProceeds
Deposited(address indexed accountuint128 indexed tickuint256 amountuint256 shares
LoanLiquidated(bytes32 indexed loanReceiptHash
LoanOriginated(bytes32 indexed loanReceiptHashbytes loanReceipt
LoanRepaid(bytes32 indexed loanReceiptHashuint256 repayment
Redeemed(address indexed accountuint128 indexed tickuint256 shares
Withdrawn(address indexed accountuint128 indexed tickuint256 sharesuint256 amount
Constructor
constructor(address collateralLiquidator_address delegationRegistry_address[] collateralWrappersstruct WeightedInterestRateModelParameters parameters
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InactiveLiquidity(
InsufficientLiquidity(
InsufficientShares(
InsufficientTickSpacing(
InsufficientUtilization(
InvalidAddress(
InvalidBorrowOptions(
InvalidCaller(
InvalidLoanReceipt(
InvalidParameters(
InvalidReceiptEncoding(
InvalidRedemptionStatus(
InvalidTick(
LoanNotExpired(
ParameterOutOfBounds(
RepaymentTooHigh(
UnsupportedCollateral(uint256 index
UnsupportedLoanDuration(