CreateSub
Last updated
Action to create a new subscription
Notes
Gives user's wallet permission if needed and registers a new sub
0xf41e543f
const createSubAction = new dfs.actions.basic.CreateSubAction(
sub
);STANDARD_ACTION
/// @param _sub Subscription struct of the user (is not stored on chain, only the hash)
struct Params {
StrategyModel.StrategySub sub;
}Last updated
return (bytes32(subId));