ICollateralEth¶
Description¶
Source: contracts/interfaces/ICollateralEth.sol
External Functions¶
claim
¶
Details
Signature
claim(uint256 amount)
Visibility
external
State Mutability
``
close
¶
Details
Signature
close(uint256 id) returns (uint256 amount, uint256 collateral)
Visibility
external
State Mutability
``
deposit
¶
Details
Signature
deposit(address borrower, uint256 id) payable returns (uint256 principal, uint256 collateral)
Visibility
external
State Mutability
payable
draw
¶
Details
Signature
draw(uint256 id, uint256 amount) returns (uint256 principal, uint256 collateral)
Visibility
external
State Mutability
``
liquidate
¶
Details
Signature
liquidate(address borrower, uint256 id, uint256 amount)
Visibility
external
State Mutability
``
open
¶
Details
Signature
open(uint256 amount, bytes32 currency) payable returns (uint256 id)
Visibility
external
State Mutability
payable
repay
¶
Details
Signature
repay(address borrower, uint256 id, uint256 amount) returns (uint256 principal, uint256 collateral)
Visibility
external
State Mutability
``
withdraw
¶
Details
Signature
withdraw(uint256 id, uint256 amount) returns (uint256 principal, uint256 collateral)
Visibility
external
State Mutability
``