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
- Host: GitHub
- URL: https://github.com/cowprotocol/cowswap-banner
- Owner: cowprotocol
- License: gpl-3.0
- Created: 2023-05-04T09:22:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T14:05:44.000Z (over 1 year ago)
- Last Synced: 2024-12-12T15:20:35.809Z (over 1 year ago)
- Size: 53.7 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.

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