🛠️SumInputs

Description

Action ID: 0xb49404ac

Helper action to sum up 2 inputs/return values

SDK Action

const sumInputsAction = new dfs.actions.basic.SumInputsAction(
    a,
    b,
);

Contract

This is a DFS STANDARD_ACTION.

Input:

    /// @param a First number to sum
    /// @param b Second number to sum
    struct Params {
        uint256 a;
        uint256 b;
    }

Return value:

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

Events:

Last updated