aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 23:13:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 23:13:09 +0800
commitae14b0a71d70f057efb9cbd4d180aca76a3ad5d1 (patch)
tree6771adf85c08e20739a4a3d881175f2fbeddce6d
parent3c7ebe2697f728b6f90d837cc202e5c1ed1a2182 (diff)
downloaddexon-sol-tools-ae14b0a71d70f057efb9cbd4d180aca76a3ad5d1.tar.gz
dexon-sol-tools-ae14b0a71d70f057efb9cbd4d180aca76a3ad5d1.tar.zst
dexon-sol-tools-ae14b0a71d70f057efb9cbd4d180aca76a3ad5d1.zip
Reuse ECSignature
-rw-r--r--packages/website/ts/types.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts
index c1fb7111f..2526ca669 100644
--- a/packages/website/ts/types.ts
+++ b/packages/website/ts/types.ts
@@ -1,3 +1,4 @@
+import { ECSignature } from '0x.js';
import { BigNumber } from '@0xproject/utils';
import * as _ from 'lodash';
@@ -34,11 +35,8 @@ export interface SideToAssetToken {
[side: string]: AssetToken;
}
-export interface SignatureData {
+export interface SignatureData extends ECSignature {
hash: string;
- r: string;
- s: string;
- v: number;
}
export interface HashData {