MyCrypto/common/reducers/transaction/network/typings.ts

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;
}