aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/schemas/portal_token_metadata.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/schemas/portal_token_metadata.ts')
-rw-r--r--packages/website/ts/schemas/portal_token_metadata.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/website/ts/schemas/portal_token_metadata.ts b/packages/website/ts/schemas/portal_token_metadata.ts
new file mode 100644
index 000000000..0455c2ac1
--- /dev/null
+++ b/packages/website/ts/schemas/portal_token_metadata.ts
@@ -0,0 +1,10 @@
+export const portalTokenMetadataSchema = {
+ id: '/PortalTokenMetadata',
+ properties: {
+ name: { type: 'string' },
+ symbol: { type: 'string' },
+ decimals: { type: 'number' },
+ },
+ required: ['name', 'symbol', 'decimals'],
+ type: 'object',
+};