🛠️SubInputs

Description

Action ID: 0x2f36fd35

Helper action to subtract 2 inputs/return values

SDK Action

const subInputsAction = new dfs.actions.basic.SubInputsAction(
    a,
    b,
);

Contract

This is a DFS STANDARD_ACTION.

Input:

    /// @param a The minuend
    /// @param b The subtrahend
    struct Params {
        uint256 a;
        uint256 b;
    }

Return value:

return bytes32(_subInputs(inputData.a, inputData.b));

Events:

Last updated