1 | import { Client } from '../client';
|
2 | import { Checksum256 } from '@wharfkit/antelope';
|
3 | import { VAccount } from '../types/user';
|
4 | import { TransactResult } from '@wharfkit/session';
|
5 | import { AtomicAsset } from '../types/campaign';
|
6 | export declare class VAccountService {
|
7 | private client;
|
8 | constructor(client: Client);
|
9 | vtransfer(from_id: number, to_id: number, quantity: string): Promise<TransactResult>;
|
10 | open(): Promise<TransactResult>;
|
11 | /**
|
12 | * Get vAccount row of the configured account and token contract
|
13 | * @returns {Promise<VAccount>}
|
14 | */
|
15 | get(): Promise<VAccount>;
|
16 | |
17 |
|
18 |
|
19 | getAll(): Promise<VAccount[]>;
|
20 | |
21 |
|
22 |
|
23 |
|
24 | getAvatarAsset(account: string): Promise<AtomicAsset>;
|
25 | |
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | getPendingPayout: (accountId: number) => Promise<any>;
|
32 | |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 | payout(): Promise<TransactResult>;
|
39 | |
40 |
|
41 |
|
42 | generateCheckSumForVAccount(): {
|
43 | conf: any;
|
44 | keycs: Checksum256;
|
45 | };
|
46 | }
|