LenderCommitmentForwarderAlpha
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "LenderCommitmentForwarderAlpha"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LenderCommitmentForwarderAlpha"
ABI
ABI objects
Getter at block 21183920
_marketRegistry() view returns (address)
0x5e30357d5136bc4bfadba1ab341d0da09fe7a9f1
_tellerV2() view returns (address)
0x00182fdb0b880ee24d428e3cc39383717677c37e
getMarketRegistry() view returns (address)
0x5e30357d5136bc4bfadba1ab341d0da09fe7a9f1
getTellerV2() view returns (address)
0x00182fdb0b880ee24d428e3cc39383717677c37e
Read-only
commitmentPrincipalAccepted(uint256) view returns (uint256)
commitments(uint256) view returns (uint256 maxPrincipal, uint32 expiration, uint32 maxDuration, uint16 minInterestRate, address collateralTokenAddress, uint256 collateralTokenId, uint256 maxPrincipalPerCollateralAmount, uint8 collateralTokenType, address lender, uint256 marketId, address principalTokenAddress)
getAllCommitmentUniswapPoolRoutes(uint256 commitmentId) view returns (struct ILenderCommitmentForwarder_U1PoolRouteConfig[])
getCommitmentAcceptedPrincipal(uint256 _commitmentId) view returns (uint256)
getCommitmentBorrowers(uint256 _commitmentId) view returns (address[] borrowers_)
getCommitmentCollateralTokenAddress(uint256 _commitmentId) view returns (address)
getCommitmentLender(uint256 _commitmentId) view returns (address)
getCommitmentMarketId(uint256 _commitmentId) view returns (uint256)
getCommitmentMaxPrincipal(uint256 _commitmentId) view returns (uint256)
getCommitmentPoolOracleLtvRatio(uint256 commitmentId) view returns (uint16)
getCommitmentPrincipalTokenAddress(uint256 _commitmentId) view returns (address)
getCommitmentUniswapPoolRoute(uint256 commitmentId, uint256 index) view returns (struct ILenderCommitmentForwarder_U1PoolRouteConfig)
getRequiredCollateral(uint256 _principalAmount, uint256 _maxPrincipalPerCollateralAmount, uint8 _collateralTokenType) view returns (uint256)
getUniswapPriceRatioForPool(struct ILenderCommitmentForwarder_U1PoolRouteConfig _poolRouteConfig) view returns (uint256 priceRatio)
getUniswapPriceRatioForPoolRoutes(struct ILenderCommitmentForwarder_U1PoolRouteConfig[] poolRoutes) view returns (uint256 priceRatio)
getUniswapV3PoolAddress(address _principalTokenAddress, address _collateralTokenAddress, uint24 _uniswapPoolFee) view returns (address)
hasExtension(address account, address extension) view returns (bool)
State-modifying
Events acceptCommitment(uint256 _commitmentId, uint256 _principalAmount, uint256 _collateralAmount, uint256 _collateralTokenId, address _collateralTokenAddress, uint16 _interestRate, uint32 _loanDuration) returns (uint256 bidId)
acceptCommitmentWithProof(uint256 _commitmentId, uint256 _principalAmount, uint256 _collateralAmount, uint256 _collateralTokenId, address _collateralTokenAddress, uint16 _interestRate, uint32 _loanDuration, bytes32[] _merkleProof) returns (uint256 bidId)
acceptCommitmentWithRecipient(uint256 _commitmentId, uint256 _principalAmount, uint256 _collateralAmount, uint256 _collateralTokenId, address _collateralTokenAddress, address _recipient, uint16 _interestRate, uint32 _loanDuration) returns (uint256 bidId)
acceptCommitmentWithRecipientAndProof(uint256 _commitmentId, uint256 _principalAmount, uint256 _collateralAmount, uint256 _collateralTokenId, address _collateralTokenAddress, address _recipient, uint16 _interestRate, uint32 _loanDuration, bytes32[] _merkleProof) returns (uint256 bidId)
addCommitmentBorrowers(uint256 _commitmentId, address[] _borrowerAddressList)
addExtension(address extension)
createCommitmentWithUniswap(struct ILenderCommitmentForwarder_U1Commitment _commitment, address[] _borrowerAddressList, struct ILenderCommitmentForwarder_U1PoolRouteConfig[] _poolRoutes, uint16 _poolOracleLtvRatio) returns (uint256 commitmentId_)
deleteCommitment(uint256 _commitmentId)
getTellerV2MarketOwner(uint256 marketId) returns (address)
removeCommitmentBorrowers(uint256 _commitmentId, address[] _borrowerAddressList)
revokeExtension(address extension)
updateCommitment(uint256 _commitmentId, struct ILenderCommitmentForwarder_U1Commitment _commitment)
CreatedCommitment(uint256 indexed commitmentId, address lender, uint256 marketId, address lendingToken, uint256 tokenAmount)
DeletedCommitment(uint256 indexed commitmentId)
ExercisedCommitment(uint256 indexed commitmentId, address borrower, uint256 tokenAmount, uint256 bidId)
ExtensionAdded(address extension, address sender)
ExtensionRevoked(address extension, address sender)
Initialized(uint8 version)
UpdatedCommitment(uint256 indexed commitmentId, address lender, uint256 marketId, address lendingToken, uint256 tokenAmount)
UpdatedCommitmentBorrowers(uint256 indexed commitmentId)
constructor(address _tellerV2, address _marketRegistry, address _uniswapV3Factory)
This contract contains no fallback and receive objects.
InsufficientBorrowerCollateral(uint256 required, uint256 actual)
InsufficientCommitmentAllocation(uint256 allocated, uint256 requested)