WrapEth
Action ID: 0x11135183
Wraps native Eth to WETH9 token
const wrapEthAction = new dfs.actions.basic.WrapEthAction(
amount,
);
This is a DFS STANDARD_ACTION.
Input:
/// @param amount Amount of ETH to wrap
struct Params {
uint256 amount;
}
Return value:
return bytes32(_wrapEth(inputData.amount));
Events:
Last modified 10mo ago