@swaptoshi/dex-module
Version:
Klayr decentralized exchange (dex) on-chain module
23 lines (22 loc) • 759 B
TypeScript
import { Modules, StateMachine } from 'klayr-framework';
import { TreasurifyParams } from '../types';
export declare class TreasurifyCommand extends Modules.BaseCommand {
verify(_context: StateMachine.CommandVerifyContext<TreasurifyParams>): Promise<StateMachine.VerificationResult>;
execute(_context: StateMachine.CommandExecuteContext<TreasurifyParams>): Promise<void>;
schema: {
$id: string;
type: string;
properties: {
address: {
dataType: string;
format: string;
fieldNumber: number;
};
token: {
dataType: string;
format: string;
fieldNumber: number;
};
};
};
}