An open API service indexing awesome lists of open source software.

https://github.com/cowprotocol/cowswap-banner

Repository that contains announcement texts (banners) for the CoW Swap UI
https://github.com/cowprotocol/cowswap-banner

Last synced: 8 months ago
JSON representation

Repository that contains announcement texts (banners) for the CoW Swap UI

Awesome Lists containing this project

README

          

# Deprecated

No longer in use for CoW Swap banner announcements.
Please refer to internal CoW Swap guidelines on how to update it using the CMS.

# CoW Swap Banner

This repository contains the text that is shown as an announcement/warning toast on the CoW Swap UI.

![image](https://user-images.githubusercontent.com/1200333/236169373-07b08e08-feff-4cd9-bf14-2113770ce146.png)

Announcements are network (Mainnet, Gnosis Chain, Arbitrum, Base, Sepolia) and environment (barn, prod) specific:

To change the text for all environments (barn & production), edit the file `announcements-{network_id}` in the top level folder and commit your change into the main branch.

To change the text only for production, edit and commit the file `announcements-{network_id}` in the top `/production` folder.
Respectively change `/barn/announcements-{network_id}` to only set a text in barn.

**If there is a text in both the top level file as well as in the environment specific subfolder file for a given network, the top level folders' text takes precedence.**

## Network IDs

- 1 = Mainnet
- 100 = Gnosis Chain
- 8453 = Base
- 42161 = Arbitrum One
- 11155111 = Sepolia