UNPKG

@swaptoshi/dex-module

Version:

Klayr decentralized exchange (dex) on-chain module

22 lines (21 loc) 753 B
import { Modules, StateMachine } from 'klayr-framework'; import { CollectTreasuryParams } from '../types'; export declare class CollectTreasuryCommand extends Modules.BaseCommand { verify(_context: StateMachine.CommandVerifyContext<CollectTreasuryParams>): Promise<StateMachine.VerificationResult>; execute(_context: StateMachine.CommandExecuteContext<CollectTreasuryParams>): Promise<void>; schema: { $id: string; type: string; properties: { poolAddress: { dataType: string; format: string; fieldNumber: number; }; tokenId: { dataType: string; fieldNumber: number; }; }; }; }