ICommonActions

Git Source

Functions

joinSystemCoins

Joins system coins into the safeEngine

function joinSystemCoins(address _coinJoin, address _dst, uint256 _wad) external;

Parameters

NameTypeDescription
_coinJoinaddressAddress of the CoinJoin contract
_dstaddressAddress of the SAFE to join the coins into
_waduint256Amount of coins to join [wad]

exitSystemCoins

Exits system coins from the safeEngine

function exitSystemCoins(address _coinJoin, uint256 _coinsToExit) external;

Parameters

NameTypeDescription
_coinJoinaddressAddress of the CoinJoin contract
_coinsToExituint256Amount of coins to exit [rad]

exitAllSystemCoins

Exits all system coins from the safeEngine

function exitAllSystemCoins(address _coinJoin) external;

Parameters

NameTypeDescription
_coinJoinaddressAddress of the CoinJoin contract

exitCollateral

Exits collateral tokens from the safeEngine

function exitCollateral(address _collateralJoin, uint256 _wad) external;

Parameters

NameTypeDescription
_collateralJoinaddressAddress of the CollateralJoin contract
_waduint256Amount of collateral tokens to exit [wad]

Errors

OnlyDelegateCalls

Throws if the method is being directly called, without a delegate call

error OnlyDelegateCalls();