🛠️UpdateSub

Description

Action ID: 0xa985d903

Updates users sub information on SubStorage contract

SDK Action

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

Contract

This is a DFS STANDARD_ACTION.

User can only change his own subscriptions

Input:

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

Return value:

Events:

Last updated