Skip to content

CollateralState

Description

Source: contracts/CollateralState.sol

Architecture

Libraries

Inheritance Graph

graph TD CollateralState[CollateralState] --> State[State] State[State] --> Owned[Owned]

Variables

loans

Source

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

Constructor

constructor

Source

Details

Signature

(address _owner, address _associatedContract)

Visibility

public

State Mutability

nonpayable

Views

getLoan

Source

Details

Signature

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

Visibility

external

State Mutability

view

getNumLoans

Source

Details

Signature

getNumLoans(address account) returns (uint256)

Visibility

external

State Mutability

view

Restricted Functions

createLoan

Source

Details

Signature

createLoan(struct ICollateralLoan.Loan loan)

Visibility

public

State Mutability

nonpayable

Modifiers

updateLoan

Source

Details

Signature

updateLoan(struct ICollateralLoan.Loan loan)

Visibility

public

State Mutability

nonpayable

Modifiers