diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-30 20:55:43 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-30 20:55:43 +0800 |
commit | 3e65ac018c145d9fb49ece6cb113ae577f84323b (patch) | |
tree | 49f3b63f898b78c2b210b56b01e96f62887161b0 /src/schemas | |
parent | dfcf49464b1a93b6e5df39289e9d14b2e60e62d2 (diff) | |
parent | 6b321ca1c70b9dcf188b2a112015386cba0ad5f2 (diff) | |
download | dexon-0x-contracts-3e65ac018c145d9fb49ece6cb113ae577f84323b.tar.gz dexon-0x-contracts-3e65ac018c145d9fb49ece6cb113ae577f84323b.tar.zst dexon-0x-contracts-3e65ac018c145d9fb49ece6cb113ae577f84323b.zip |
Merge branch 'master' into fillOrderAsync
Diffstat (limited to 'src/schemas')
-rw-r--r-- | src/schemas/token_schema.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/schemas/token_schema.ts b/src/schemas/token_schema.ts new file mode 100644 index 000000000..01702af68 --- /dev/null +++ b/src/schemas/token_schema.ts @@ -0,0 +1,12 @@ +export const tokenSchema = { + id: '/token', + properties: { + name: {type: 'string'}, + symbol: {type: 'string'}, + decimals: {type: 'number'}, + address: {type: 'string'}, + url: {type: 'string'}, + }, + required: ['name', 'symbol', 'decimals', 'address', 'url'], + type: 'object', +}; |