UNPKG

ulysses-actions-sdk

Version:

An sdk for interacting with contracts using Ulysses Protocol

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