Loading [Contrib]/a11y/accessibility-menu.js
Skip to content

ICollateralUtil¶

Description¶

Source: contracts/interfaces/ICollateralUtil.sol

Views¶

collateralRedeemed¶

Source

Details

Signature

collateralRedeemed(bytes32 currency, uint256 amount, bytes32 collateralKey) view returns (uint256 collateral)

Visibility

external

State Mutability

view

getCollateralRatio¶

Source

Details

Signature

getCollateralRatio(struct ICollateralLoan.Loan loan, bytes32 collateralKey) view returns (uint256 cratio)

Visibility

external

State Mutability

view

liquidationAmount¶

Source

Details

Signature

liquidationAmount(struct ICollateralLoan.Loan loan, uint256 minCratio, bytes32 collateralKey) view returns (uint256 amount)

Visibility

external

State Mutability

view

maxLoan¶

Source

Details

Signature

maxLoan(uint256 amount, bytes32 currency, uint256 minCratio, bytes32 collateralKey) view returns (uint256 max)

Visibility

external

State Mutability

view