diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2017-09-28 04:28:11 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2017-09-28 04:28:11 +0800 |
commit | 1d4506427fd3eb277f42c02887f33265dac6a783 (patch) | |
tree | 41824a855e0d168c8da0f92af6b870e4043088c3 /src/types.ts | |
parent | be12c5b5386410db9a1a28e86e944864c808c4c9 (diff) | |
download | dexon-sol-tools-1d4506427fd3eb277f42c02887f33265dac6a783.tar dexon-sol-tools-1d4506427fd3eb277f42c02887f33265dac6a783.tar.gz dexon-sol-tools-1d4506427fd3eb277f42c02887f33265dac6a783.tar.bz2 dexon-sol-tools-1d4506427fd3eb277f42c02887f33265dac6a783.tar.lz dexon-sol-tools-1d4506427fd3eb277f42c02887f33265dac6a783.tar.xz dexon-sol-tools-1d4506427fd3eb277f42c02887f33265dac6a783.tar.zst dexon-sol-tools-1d4506427fd3eb277f42c02887f33265dac6a783.zip |
Add OrderTransactionOpts to enable optional validation to exchange_wrapper
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 2d069f596..02230b0ab 100644 --- a/src/types.ts +++ b/src/types.ts @@ -452,3 +452,11 @@ export interface ValidateOrderFillableOpts { export interface MethodOpts { defaultBlock?: Web3.BlockParam; } + +/* + * shouldValidate: Flag indicating whether the library should make attempts to validate a transaction before + * broadcasting it. For example, order has a valid signature, maker has sufficient funds, etc. + */ +export interface OrderTransactionOpts { + shouldValidate: boolean; +} |