CollateralState¶
Description¶
Source: contracts/CollateralState.sol
Variables¶
loans
¶
Type: mapping(address => struct ICollateralLoan.Loan[])
Constructor¶
constructor
¶
Details
Signature
constructor(address _owner, address _associatedContract)
Visibility
public
State Mutability
``
Views¶
getLoan
¶
Details
Signature
getLoan(address account, uint256 loanID) view returns (struct ICollateralLoan.Loan)
Visibility
external
State Mutability
view
getNumLoans
¶
Details
Signature
getNumLoans(address account) view returns (uint256 numLoans)
Visibility
external
State Mutability
view
Restricted Functions¶
createLoan
¶
Details
Signature
createLoan(struct ICollateralLoan.Loan loan)
Visibility
public
State Mutability
``
Modifiers
updateLoan
¶
Details
Signature
updateLoan(struct ICollateralLoan.Loan loan)
Visibility
public
State Mutability
``
Modifiers