McdTokenConverter
Description
Action ID
SDK Action
const makerTokenConverterAction = new dfs.actions.maker.MakerTokenConverterAction(
tokenAddr,
from,
to,
amount
);Action Type
Input Parameters
/// @param tokenAddr Address of the token to convert
/// @param from Address where to pull the tokens from
/// @param to Address that will receive the converted tokens
/// @param amount Amount of tokens to convert
struct Params {
address tokenAddr;
address from;
address to;
uint256 amount;
}Return Value
Events and Logs
Last updated