UNPKG

ulysses-actions-sdk

Version:

An sdk for interacting with contracts using Ulysses Protocol

24 lines (23 loc) 1.35 kB
import { TCreateTalosStrategyVanillaParams } from 'talos-sdk'; import { IAction, IActionResult } from '../../../../utils/action'; /** * @title CreateTalosStrategyVanillaAction class * @notice Provides a set of function to encode calldata to create a Talos Vanilla Strategy using Talos Strategy Vanilla Factory contract. * @author MaiaDAO */ export declare class CreateTalosStrategyVanillaAction implements IAction<TCreateTalosStrategyVanillaParams, IActionResult<void>> { params: TCreateTalosStrategyVanillaParams; /** * Constructor for the CreateTalosVanillaStakedAction class. * @param params the parameters for the create Talos Strategy Vanilla action. * @returns a new instance of CreateTalosStrategyVanillaAction. * @notice the constructor is used to set the parameters for the create Talos Strategy Vanilla action. */ constructor(params: TCreateTalosStrategyVanillaParams); /** * Encodes the contract interaction calldata to create a Talos Strategy Vanilla. * @param params the parameters for the create Talos Strategy Vanilla action. * @returns the target contract, encoded calldata and message value to send onchain for the create Talos Strategy Vanilla action. */ encode(params: TCreateTalosStrategyVanillaParams): IActionResult<IActionResult<void>>; }