LenderCommitmentForwarder

Verified contract

Implementation

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

No balances found for "LenderCommitmentForwarder"

No transactions found for "LenderCommitmentForwarder"


Functions
Getter at block 20860169
_marketRegistry(view returns (address)
0x5e30357d5136bc4bfadba1ab341d0da09fe7a9f1
_tellerV2(view returns (address)
0x00182fdb0b880ee24d428e3cc39383717677c37e
getMarketRegistry(view returns (address)
0x5e30357d5136bc4bfadba1ab341d0da09fe7a9f1
getTellerV2(view returns (address)
0x00182fdb0b880ee24d428e3cc39383717677c37e
Read-only
commitmentPrincipalAccepted(uint256view returns (uint256)
commitments(uint256view returns (uint256 maxPrincipaluint32 expirationuint32 maxDurationuint16 minInterestRateaddress collateralTokenAddressuint256 collateralTokenIduint256 maxPrincipalPerCollateralAmountuint8 collateralTokenTypeaddress lenderuint256 marketIdaddress principalTokenAddress)
getCommitmentBorrowers(uint256 _commitmentIdview returns (address[] borrowers_)
getRequiredCollateral(uint256 _principalAmountuint256 _maxPrincipalPerCollateralAmountuint8 _collateralTokenTypeaddress _collateralTokenAddressaddress _principalTokenAddressview returns (uint256)
State-modifying
acceptCommitment(uint256 _commitmentIduint256 _principalAmountuint256 _collateralAmountuint256 _collateralTokenIdaddress _collateralTokenAddressuint16 _interestRateuint32 _loanDurationreturns (uint256 bidId)
acceptCommitmentWithProof(uint256 _commitmentIduint256 _principalAmountuint256 _collateralAmountuint256 _collateralTokenIdaddress _collateralTokenAddressuint16 _interestRateuint32 _loanDurationbytes32[] _merkleProofreturns (uint256 bidId)
addCommitmentBorrowers(uint256 _commitmentIdaddress[] _borrowerAddressList
createCommitment(struct LenderCommitmentForwarderCommitment _commitmentaddress[] _borrowerAddressListreturns (uint256 commitmentId_)
deleteCommitment(uint256 _commitmentId
getTellerV2MarketOwner(uint256 marketIdreturns (address)
removeCommitmentBorrowers(uint256 _commitmentIdaddress[] _borrowerAddressList
updateCommitment(uint256 _commitmentIdstruct LenderCommitmentForwarderCommitment _commitment
Events
CreatedCommitment(uint256 indexed commitmentIdaddress lenderuint256 marketIdaddress lendingTokenuint256 tokenAmount
DeletedCommitment(uint256 indexed commitmentId
ExercisedCommitment(uint256 indexed commitmentIdaddress borroweruint256 tokenAmountuint256 bidId
Initialized(uint8 version
UpdatedCommitment(uint256 indexed commitmentIdaddress lenderuint256 marketIdaddress lendingTokenuint256 tokenAmount
UpdatedCommitmentBorrowers(uint256 indexed commitmentId
Constructor
constructor(address _protocolAddressaddress _marketRegistry
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InsufficientBorrowerCollateral(uint256 requireduint256 actual
InsufficientCommitmentAllocation(uint256 allocateduint256 requested