LenderCommitmentForwarder
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
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
Balances ($0.00)
No balances found for "LenderCommitmentForwarder"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LenderCommitmentForwarder"
ABI
ABI objects
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(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)
getCommitmentBorrowers(uint256 _commitmentId) view returns (address[] borrowers_)
getRequiredCollateral(uint256 _principalAmount, uint256 _maxPrincipalPerCollateralAmount, uint8 _collateralTokenType, address _collateralTokenAddress, address _principalTokenAddress) view returns (uint256)
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)
addCommitmentBorrowers(uint256 _commitmentId, address[] _borrowerAddressList)
createCommitment(struct LenderCommitmentForwarderCommitment _commitment, address[] _borrowerAddressList) returns (uint256 commitmentId_)
deleteCommitment(uint256 _commitmentId)
getTellerV2MarketOwner(uint256 marketId) returns (address)
removeCommitmentBorrowers(uint256 _commitmentId, address[] _borrowerAddressList)
updateCommitment(uint256 _commitmentId, struct LenderCommitmentForwarderCommitment _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)
Initialized(uint8 version)
UpdatedCommitment(uint256 indexed commitmentId, address lender, uint256 marketId, address lendingToken, uint256 tokenAmount)
UpdatedCommitmentBorrowers(uint256 indexed commitmentId)
constructor(address _protocolAddress, address _marketRegistry)
This contract contains no fallback and receive objects.
InsufficientBorrowerCollateral(uint256 required, uint256 actual)
InsufficientCommitmentAllocation(uint256 allocated, uint256 requested)