ERC20Collateral
Last updated
Was this helpful?
Last updated
Was this helpful?
Inherits:
Implements collateral using an ERC20 token.
Deposits ERC20 tokens as collateral.
Parameters
amount
uint256
The amount of tokens to deposit.
Withdraws ERC20 tokens from collateral.
Parameters
amount
uint256
The amount of tokens to withdraw.