ICommonActions
Functions
joinSystemCoins
Joins system coins into the safeEngine
function joinSystemCoins(address _coinJoin, address _dst, uint256 _wad) external;
Parameters
Name | Type | Description |
---|---|---|
_coinJoin | address | Address of the CoinJoin contract |
_dst | address | Address of the SAFE to join the coins into |
_wad | uint256 | Amount of coins to join [wad] |
exitSystemCoins
Exits system coins from the safeEngine
function exitSystemCoins(address _coinJoin, uint256 _coinsToExit) external;
Parameters
Name | Type | Description |
---|---|---|
_coinJoin | address | Address of the CoinJoin contract |
_coinsToExit | uint256 | Amount of coins to exit [rad] |
exitAllSystemCoins
Exits all system coins from the safeEngine
function exitAllSystemCoins(address _coinJoin) external;
Parameters
Name | Type | Description |
---|---|---|
_coinJoin | address | Address of the CoinJoin contract |
exitCollateral
Exits collateral tokens from the safeEngine
function exitCollateral(address _collateralJoin, uint256 _wad) external;
Parameters
Name | Type | Description |
---|---|---|
_collateralJoin | address | Address of the CollateralJoin contract |
_wad | uint256 | Amount of collateral tokens to exit [wad] |
Errors
OnlyDelegateCalls
Throws if the method is being directly called, without a delegate call
error OnlyDelegateCalls();