-
Notifications
You must be signed in to change notification settings - Fork 261
Expand file tree
/
Copy pathflowArgs.ts
More file actions
41 lines (38 loc) · 1.25 KB
/
flowArgs.ts
File metadata and controls
41 lines (38 loc) · 1.25 KB
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
import {type BaseSuperTokenMutation, type NothingString} from '../../../argTypes';
/**
* Create a flow of the token of this class.
*/
export interface FlowCreateMutation extends BaseSuperTokenMutation {
/** The sender of the flow. Signer is used when left empty. */
senderAddress?: string;
/** The receiver of the flow. */
receiverAddress: string;
/** The specified flow rate. */
flowRateWei: string;
/** Extra user data provided. */
userDataBytes: string | NothingString;
}
/**
* Update a flow of the token of this class.
*/
export interface FlowUpdateMutation extends BaseSuperTokenMutation {
/** The sender of the flow. If not specified then signer address is used. */
senderAddress?: string;
/** The receiver of the flow. */
receiverAddress: string;
/** The specified flow rate. */
flowRateWei: string;
/** Extra user data provided. */
userDataBytes: string | NothingString;
}
/**
* Delete a flow of the token of this class.
*/
export interface FlowDeleteMutation extends BaseSuperTokenMutation {
/** The sender of the flow. */
senderAddress?: string;
/** The receiver of the flow. */
receiverAddress: string;
/** Extra user data provided. */
userDataBytes: string | NothingString;
}