diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-31 06:39:58 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-31 06:39:58 +0800 |
commit | abaa39a5e24daa8a1a7ff5617a14d2f3088cb0e3 (patch) | |
tree | b40d6f01f0df15f9be5d74fc54999abdab3b7db3 /packages/instant/src/types.ts | |
parent | 05f059492bbc86d61946562ac8c116259ded3487 (diff) | |
download | dexon-0x-contracts-abaa39a5e24daa8a1a7ff5617a14d2f3088cb0e3.tar dexon-0x-contracts-abaa39a5e24daa8a1a7ff5617a14d2f3088cb0e3.tar.gz dexon-0x-contracts-abaa39a5e24daa8a1a7ff5617a14d2f3088cb0e3.tar.bz2 dexon-0x-contracts-abaa39a5e24daa8a1a7ff5617a14d2f3088cb0e3.tar.lz dexon-0x-contracts-abaa39a5e24daa8a1a7ff5617a14d2f3088cb0e3.tar.xz dexon-0x-contracts-abaa39a5e24daa8a1a7ff5617a14d2f3088cb0e3.tar.zst dexon-0x-contracts-abaa39a5e24daa8a1a7ff5617a14d2f3088cb0e3.zip |
Simulated Progress component working
Diffstat (limited to 'packages/instant/src/types.ts')
-rw-r--r-- | packages/instant/src/types.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/instant/src/types.ts b/packages/instant/src/types.ts index 722590165..4b63abdda 100644 --- a/packages/instant/src/types.ts +++ b/packages/instant/src/types.ts @@ -16,10 +16,17 @@ export enum OrderProcessState { FAILURE = 'Failure', } +// TODO: this is old, delete export interface OrderProgress { percentageDone: number; } +export interface SimulatedProgress { + startTimeUnix: number; + expectedEndTimeUnix: number; + ended: boolean; +} + interface OrderStatePreTx { processState: OrderProcessState.NONE | OrderProcessState.VALIDATING; } |