Skip to content

Commit

Permalink
feat: announcement banner on deposit/withdraw screens
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehoang92 committed Dec 18, 2024
1 parent 889f7fb commit 3c89724
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 2 deletions.
59 changes: 59 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,65 @@
"description": "Indicates whether or not to show APR tooltip on Spot Pools page"
}
}
},
"transfer_banner": {
"type": "object",
"description": "Config parameters to show banner for deposit and withdraw screens",
"properties": {
"no_longer_supported_tokens": {
"type": "array",
"description": "List of tokens are no longer supported",
"items": {
"type": "string"
}
},
"temporary_disabled_transfer_tokens": {
"type": "object",
"description": "List of tokens for which deposits and withdrawals have been temporarily disabled",
"properties": {
".*": {
"type": "object",
"required": ["token", "start"],
"properties": {
"token": {
"type": "string"
},
"start": {
"type": "integer"
},
"end": {
"type": "integer"
}
}
}
}
},
"temporary_disabled_bridges": {
"type": "object",
"description": "List of bridges for which deposits and withdrawals have been temporarily disabled",
"properties": {
".*": {
"type": "object",
"required": ["chainIds", "start"],
"properties": {
"chainIds": {
"type": "array",
"description": "List of chains are temporary disabled",
"items": {
"type": "integer"
}
},
"start": {
"type": "integer"
},
"end": {
"type": "integer"
}
}
}
}
}
}
}
}
}
23 changes: 21 additions & 2 deletions configs/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -500,5 +500,24 @@
"label_denom": "brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f",
"target_denom": "brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f"
}
]
}
],
"transfer_banner": {
"no_longer_supported_tokens": [
"aave.1.2.06af06",
"ankr.1.6.fd0433"
],
"temporary_disabled_transfer_tokens": {
"aave.1.2.06af06": {
"start": "2024-11-20T08:00:00Z",
"end": "2024-12-20T08:00:00Z"
}
},
"temporary_disabled_bridges": {
"9a016ce184a22dbf6c17daa59eb7d3140dbd1c54": {
"chainIds": [2],
"start": "2024-11-20T08:00:00Z",
"end": "2024-12-20T08:00:00Z"
}
}
}
}

0 comments on commit 3c89724

Please sign in to comment.