McdDsrWithdraw
Description
Action for withdrawing DAI from Maker DSR
Action ID
0x546cac0c
SDK Action
const makerDsrWithdrawAction = new dfs.actions.maker.MakerDsrWithdrawAction(
amount,
to
);
Action Type
STANDARD_ACTION
Input Parameters
/// @param amount Amount of DAI to withdraw from DSR
/// @param to Address that will receive the withdrawn DAI
struct Params {
uint256 amount;
address to;
}
Return Value
return bytes32(withdrawn);
Events and Logs
emit ActionEvent("McdDsrWithdraw", logData);
logger.logActionDirectEvent("McdDsrWithdraw", logData);
bytes memory logData = abi.encode(params);
Last updated
Was this helpful?