aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-15 08:32:41 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-15 08:32:41 +0800
commit9099ef4ee554a44f46d9de128333b7ad231fa61a (patch)
tree20b64fbd8c12fcb7da30be0478d579914a081704 /src/schemas
parentc4dfda9485a091b6867db4342b9620330058b0ad (diff)
downloaddexon-sol-tools-9099ef4ee554a44f46d9de128333b7ad231fa61a.tar
dexon-sol-tools-9099ef4ee554a44f46d9de128333b7ad231fa61a.tar.gz
dexon-sol-tools-9099ef4ee554a44f46d9de128333b7ad231fa61a.tar.bz2
dexon-sol-tools-9099ef4ee554a44f46d9de128333b7ad231fa61a.tar.lz
dexon-sol-tools-9099ef4ee554a44f46d9de128333b7ad231fa61a.tar.xz
dexon-sol-tools-9099ef4ee554a44f46d9de128333b7ad231fa61a.tar.zst
dexon-sol-tools-9099ef4ee554a44f46d9de128333b7ad231fa61a.zip
Remove url from token registry
Diffstat (limited to 'src/schemas')
-rw-r--r--src/schemas/token_schema.ts13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/schemas/token_schema.ts b/src/schemas/token_schema.ts
index 1236e07c1..e9e359fdf 100644
--- a/src/schemas/token_schema.ts
+++ b/src/schemas/token_schema.ts
@@ -5,18 +5,7 @@ export const tokenSchema = {
symbol: {type: 'string'},
decimals: {type: 'number'},
address: {$ref: '/addressSchema'},
- url: {
- oneOf: [
- {
- type: 'string',
- format: 'uri',
- },
- {
- enum: [''],
- },
- ],
- },
},
- required: ['name', 'symbol', 'decimals', 'address', 'url'],
+ required: ['name', 'symbol', 'decimals', 'address'],
type: 'object',
};