ulysses-actions-sdk
Version:
An sdk for interacting with contracts using Ulysses Protocol
24 lines (23 loc) • 1.22 kB
TypeScript
import { SupportedChainId } from 'maia-core-sdk';
import { IAction, IActionResult } from '../../../../utils/action';
/**
* @title DecrementAllGaugesAllBoostAction class
* @notice Provides a set of function to encode calldata for the decrement all gauge all boost action in bHermesBoost contract.
* @author MaiaDAO
*/
export declare class DecrementAllGaugesAllBoostAction implements IAction<any, IActionResult<void>> {
params: any;
chainId?: SupportedChainId;
/**
* Constructor for the DecrementAllGaugesAllBoostAction class.
* @returns a new instance of DecrementAllGaugesAllBoostAction.
* @notice the constructor is used to set the parameters for the decrement all gauge all boost action in bHermesBoost.
*/
constructor(params: any, chainId?: SupportedChainId);
/**
* Encodes the contract interaction calldata to decrement all boost from all attached gauges in bHermesBoost.
* @param _params no parameters required, input is ignored.
* @returns the target contract, encoded calldata and message value to send onchain for the decrement all gauge all boost action.
*/
encode(_params: any): IActionResult<IActionResult<void>>;
}