-
Notifications
You must be signed in to change notification settings - Fork 0
/
fungible-batch-methods.ts
44 lines (41 loc) · 1001 Bytes
/
fungible-batch-methods.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
export type FungibleTokenBatchMethods = {
batchTransfer(
args: Array<{
amount: bigint;
fee?: bigint;
fromSubaccount?: ArrayBuffer;
to: string;
memo?: ArrayBuffer;
createdAtTime?: bigint;
}>,
): Array<Promise<bigint | undefined>>;
batchTransferFrom(
args: Array<{
amount: bigint;
fee?: bigint;
spenderSubaccount?: ArrayBuffer;
from: string;
to: string;
memo?: ArrayBuffer;
createdAtTime?: bigint;
}>,
): Array<Promise<bigint | undefined>>;
batchApprove(
args: Array<{
amount: bigint;
fromSubaccount?: ArrayBuffer;
spender: string;
fee?: bigint;
expiresAt?: bigint;
memo?: ArrayBuffer;
createdAtTime?: bigint;
expectedAllowance?: bigint;
}>,
): Array<Promise<bigint | undefined>>;
batchAllowance(
args: Array<{
account: string;
spender: string;
}>,
): Promise<Array<{ allowance: bigint; expiresAt?: bigint }>>;
};