13 lines
314 B
TypeScript
13 lines
314 B
TypeScript
export enum RequestStatus {
|
|
REQUESTED = 'PENDING',
|
|
SUCCEEDED = 'SUCCESS',
|
|
FAILED = 'FAIL',
|
|
TIMEDOUT = 'TIMEDOUT'
|
|
}
|
|
export interface State {
|
|
gasEstimationStatus: RequestStatus | null;
|
|
getFromStatus: RequestStatus | null;
|
|
getNonceStatus: RequestStatus | null;
|
|
gasPriceStatus: RequestStatus | null;
|
|
}
|