aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/globals.d.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-25 17:27:27 +0800
committerFabio Berger <me@fabioberger.com>2017-05-25 17:27:27 +0800
commit0b8ddc1ee18c6d52fbc72177e8c5e180f9106708 (patch)
treea9d6204be88ecdb724742ab1a2fdabe24ffc8e29 /src/ts/globals.d.ts
parentd23dbf53fd3689613f28d576d03ccfdce94b6646 (diff)
downloaddexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar
dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.gz
dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.bz2
dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.lz
dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.xz
dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.zst
dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.zip
Add schema validation and assertion, create ECSignature schema
Diffstat (limited to 'src/ts/globals.d.ts')
-rw-r--r--src/ts/globals.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ts/globals.d.ts b/src/ts/globals.d.ts
index 0f7391b39..659638a1e 100644
--- a/src/ts/globals.d.ts
+++ b/src/ts/globals.d.ts
@@ -2,6 +2,10 @@ declare type ETHPublicKey = string;
declare type ETHAddressHex = string;
declare type ETHAddressBuff = Buffer;
+declare interface Schema {
+ id: string;
+}
+
declare module 'ethereumjs-util' {
const toBuffer: (data: string) => Buffer;
const hashPersonalMessage: (msg: Buffer) => Buffer;