From 2d19144bb51dc0bb67b816326c0b0bb79d1982a0 Mon Sep 17 00:00:00 2001 From: kylehoang92 Date: Wed, 18 Dec 2024 09:16:25 +0700 Subject: [PATCH] feat: add transfer_banners schema --- config.schema.json | 58 ++++++++++++++++++++++++++++++++++++++++++++ configs/mainnet.json | 1 + 2 files changed, 59 insertions(+) diff --git a/config.schema.json b/config.schema.json index 683a082..2f38796 100644 --- a/config.schema.json +++ b/config.schema.json @@ -515,6 +515,64 @@ "description": "Indicates whether or not to show APR tooltip on Spot Pools page" } } + }, + "transfer_banners": { + "type": "object", + "description": "Config parameters for deposit and withdraw screens", + "properties": { + "no_longer_supported_assets": { + "type": "array", + "description": "List of tokens are no longer supported", + "items": { + "type": "string" + } + }, + "temporary_disable_transfer_tokens": { + "type": "array", + "description": "List of tokens for which deposits and withdrawals have been temporarily disabled", + "items": { + "type": "object", + "required": ["token", "start"], + "patternProperties": { + "token": { + "type": "string" + }, + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + } + } + }, + "temporary_disable_bridges": { + "type": "array", + "description": "List of bridges for which deposits and withdrawals have been temporarily disabled", + "items": { + "type": "object", + "required": ["bridge", "chains", "start"], + "patternProperties": { + "bridge": { + "type": "string" + }, + "chains": { + "type": "array", + "description": "List of chains are temporary disabled", + "items": { + "type": "string" + } + }, + "start": { + "type": "integer" + }, + "end": { + "type": "integer" + } + } + } + } + } } } } diff --git a/configs/mainnet.json b/configs/mainnet.json index b6ae188..1a2044a 100644 --- a/configs/mainnet.json +++ b/configs/mainnet.json @@ -517,6 +517,7 @@ "temporary_disable_bridges": [ { "bridge": "brdg/641", + "chain": "Osmosis", "start": "2024-11-20T08:00:00Z", "end": "2024-12-20T08:00:00Z" }