For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Events and Logs

Last updated