UNPKG

@effectai/effect-js

Version:

Effect Network Javscript/Typescript SDK (for [https://effect.network](https://effect.network))

13 lines (12 loc) 576 B
import { AnyAction } from '@wharfkit/antelope'; import { type Client } from '../client'; import { VAccount } from '../types'; import { InitBatch } from '../types/campaign'; export declare class ActionService { private readonly client; constructor(client: Client); makeBatchAction: (initBatch: InitBatch, hash: string) => Promise<AnyAction>; vTransferAction: (vacc: VAccount, batchPrice: number) => Promise<AnyAction>; publishBatchAction: (batchId: number, numTasks: number) => AnyAction; depositAction: (amount: number, vacc: VAccount) => AnyAction; }