Skip to content

CollateralEth

Description

Source: contracts/CollateralEth.sol

Architecture

Inheritance Graph

graph TD CollateralEth[CollateralEth] --> Collateral[Collateral] Collateral[Collateral] --> Owned[Owned] Collateral[Collateral] --> MixinSystemSettings[MixinSystemSettings] MixinSystemSettings[MixinSystemSettings] --> MixinResolver[MixinResolver]

Variables

pendingWithdrawals

Source

Type: mapping(address => uint256)

Constructor

constructor

Source

Details

Signature

(contract CollateralState _state, address _owner, address _manager, address _resolver, bytes32 _collateralKey, uint256 _minCratio, uint256 _minCollateral)

Visibility

public

State Mutability

nonpayable

External Functions

claim

Source

Details

Signature

claim(uint256 amount)

Visibility

external

State Mutability

nonpayable

Requires

Modifiers

close

Source

Details

Signature

close(uint256 id)

Visibility

external

State Mutability

nonpayable

deposit

Source

Details

Signature

deposit(address borrower, uint256 id)

Visibility

external

State Mutability

payable

draw

Source

Details

Signature

draw(uint256 id, uint256 amount)

Visibility

external

State Mutability

nonpayable

liquidate

Source

Details

Signature

liquidate(address borrower, uint256 id, uint256 amount)

Visibility

external

State Mutability

nonpayable

open

Source

Details

Signature

open(uint256 amount, bytes32 currency)

Visibility

external

State Mutability

payable

repay

Source

Details

Signature

repay(address account, uint256 id, uint256 amount)

Visibility

external

State Mutability

nonpayable

withdraw

Source

Details

Signature

withdraw(uint256 id, uint256 withdrawAmount)

Visibility

external

State Mutability

nonpayable