UNPKG

576 BTypeScriptView Raw
1import { AnyAction } from '@wharfkit/antelope';
2import { type Client } from '../client';
3import { VAccount } from '../types';
4import { InitBatch } from '../types/campaign';
5export declare class ActionService {
6 private readonly client;
7 constructor(client: Client);
8 makeBatchAction: (initBatch: InitBatch, hash: string) => Promise<AnyAction>;
9 vTransferAction: (vacc: VAccount, batchPrice: number) => Promise<AnyAction>;
10 publishBatchAction: (batchId: number, numTasks: number) => AnyAction;
11 depositAction: (amount: number, vacc: VAccount) => AnyAction;
12}