WeightedRateCollectionPool

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x815d3655 at 20643155
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 7 additional slots
-
variable spans 1 additional slot

No balances found for "WeightedRateCollectionPool"

No transactions found for "WeightedRateCollectionPool"


Functions
Getter at block 20799318
ABSOLUTE_TICK_LIMIT_SPACING_BASIS_POINTS(view returns (uint256)
1000
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)
2.14
INTEREST_RATE_MODEL_NAME(pure returns (string)
WeightedInterestRateModel
INTEREST_RATE_MODEL_VERSION(pure returns (string)
2.0
RATIO_TICK_LIMIT_SPACING_BASIS_POINTS(view returns (uint256)
500
admin(view returns (address)
0x0000000000000000000000000000000000000000
 
adminFeeBalance(view returns (uint256)
adminFeeRate(view returns (uint32)
0
collateralLiquidator(view returns (address)
0xe0194f47040e2424b8a65cb5f7112a5dbe1f93bf
collateralToken(view returns (address)
0x0000000000000000000000000000000000000000
collateralTokens(view returns (address[])
[0x0000000000000000000000000000000000000000]
collateralWrappers(view returns (address[])
[0xc4dC9eF8763433aAe26635bc5a09e362605fAd18, 0x9607bae77A28b344EF3Dc66a14cE94ab3AfeF884, 0x0000000000000000000000000000000000000000]
currencyToken(view returns (address)
0x0000000000000000000000000000000000000001
delegationRegistry(view returns (address)
0x00000000000076a84fef008cdabe6409d2fe638b
delegationRegistryV2(view returns (address)
0x00000000000000447e69651d841bd8d104bed493
durations(view returns (uint64[])
[]
feeShare(view returns (address recipientuint16 split)
(recipient=0x0000000000000000000000000000000000000000, split=0)
getERC20DepositTokenImplementation(view returns (address)
0x962506a7bce350a44852a2aaf42c7bdc0651b8f4
priceOracle(view returns (address)
0x0000000000000000000000000000000000000000
rates(view returns (uint64[])
[]
Read-only
decodeLoanReceipt(bytes loanReceiptpure returns (struct LoanReceiptLoanReceiptV2)
depositSharePrice(uint128 tickview returns (uint256)
depositToken(uint128 tickview returns (address)
deposits(address accountuint128 tickview returns (uint128 sharesuint128 redemptionId)
liquidityNode(uint128 tickview returns (struct ILiquidityNodeInfo)
liquidityNodeWithAccrual(uint128 tickview returns (struct ILiquidityNodeInfostruct ILiquidityAccrualInfo)
liquidityNodes(uint128 startTickuint128 endTickview returns (struct ILiquidityNodeInfo[])
loans(bytes32 receiptHashview returns (uint8)
price(address collateralTokenaddress currencyTokenuint256[] tokenIdsuint256[] tokenIdQuantitiesbytes oracleContextview returns (uint256)
quote(uint256 principaluint64 durationaddress collateralTokenuint256 collateralTokenIduint128[] ticksbytes optionsview returns (uint256)
redemptionAvailable(address accountuint128 tickuint128 redemptionIdview returns (uint256uint256uint256)
redemptionSharePrice(uint128 tickview returns (uint256)
redemptions(address accountuint128 tickuint128 redemptionIdview returns (uint128 pendinguint128 indexuint128 target)
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 dstTickuint128 redemptionIduint256 minSharesreturns (uint256uint256uint256)
redeem(uint128 tickuint256 sharesreturns (uint128)
refinance(bytes encodedLoanReceiptuint256 principaluint64 durationuint256 maxRepaymentuint128[] ticksbytes optionsreturns (uint256)
repay(bytes encodedLoanReceiptreturns (uint256)
setAdminFee(uint32 rateaddress feeShareRecipientuint16 feeShareSplit
setRates(uint64[] rates_
tokenize(uint128 tickreturns (address)
transfer(address fromaddress touint128 tickuint256 shares
withdraw(uint128 tickuint128 redemptionIdreturns (uint256uint256)
withdrawAdminFees(address recipient
Events
AdminFeeShareTransferred(address indexed feeShareRecipientuint256 feeShareAmount
AdminFeeUpdated(uint32 rateaddress indexed feeShareRecipientuint16 feeShareSplit
AdminFeesWithdrawn(address indexed recipientuint256 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
RatesUpdated(uint64[] rates
Redeemed(address indexed accountuint128 indexed tickuint128 indexed redemptionIduint256 shares
TokenCreated(address indexed instanceaddress indexed implementationuint128 indexed tick
Transferred(address indexed fromaddress indexed touint128 indexed tickuint256 shares
Withdrawn(address indexed accountuint128 indexed tickuint128 indexed redemptionIduint256 sharesuint256 amount
Constructor
constructor(address collateralLiquidatoraddress delegateRegistryV1address delegateRegistryV2address erc20DepositTokenImplementationaddress[] collateralWrappers
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InactiveLiquidity(
InsufficientLiquidity(
InsufficientShares(
InsufficientTickSpacing(
InvalidBorrowOptions(
InvalidCaller(
InvalidCollateralFilterParameters(
InvalidInterestRateModelParameters(
InvalidLoanReceipt(
InvalidParameters(
InvalidRedemptionStatus(
InvalidTick(
LoanNotExpired(
RepaymentTooHigh(
UnsupportedCollateral(uint256 index
UnsupportedLoanDuration(