UpdateSub

Description

Updates users sub information on SubStorage contract

Notes

User can only change his own subscriptions

Action ID

0xa985d903

SDK Action

const updateSubAction = new dfs.actions.basic.UpdateSubAction(
    subId,
    sub
);

Action Type

STANDARD_ACTION

Input Parameters

    /// @param subId Id of the Subscription
    /// @param sub Object that represents the updated sub
    struct Params {
        uint256 subId;
        StrategyModel.StrategySub sub;
    }

Return Value

return (bytes32(inputData.subId));

Events and Logs

Last updated

Was this helpful?