Skip to content

CollateralState

Description

Source: contracts/CollateralState.sol

Variables

loans

Source

Type: mapping(address => struct ICollateralLoan.Loan[])

Constructor

constructor

Source

Details

Signature

constructor(address _owner, address _associatedContract)

Visibility

public

State Mutability

undefined

Restricted Functions

createLoan

Source

Details

Signature

createLoan(struct ICollateralLoan.Loan loan)

Visibility

public

State Mutability

undefined

Modifiers

updateLoan

Source

Details

Signature

updateLoan(struct ICollateralLoan.Loan loan)

Visibility

public

State Mutability

undefined

Modifiers

External Functions

getLoan

Source

Details

Signature

getLoan(address account, uint256 loanID) view returns (struct ICollateralLoan.Loan)

Visibility

external

State Mutability

undefined

getNumLoans

Source

Details

Signature

getNumLoans(address account) view returns (uint256 numLoans)

Visibility

external

State Mutability

undefined