feat: add UUSD and UBQ tokens for Ethereum and Gnosis#1407
feat: add UUSD and UBQ tokens for Ethereum and Gnosis#1407sungdark wants to merge 1 commit intocowprotocol:mainfrom
Conversation
Add Ubiquity Dollar (UUSD) and Ubiquity (UBQ) tokens for Ethereum Mainnet (chainId 1) and Gnosis Chain (chainId 100). Addresses: - UUSD on Ethereum: 0xb6919Ef2ee4aFC163BC954C5678e2BB570c2D103 - UBQ on Ethereum: 0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0 - UUSD on Gnosis: 0xc6ed4f520f6a4e4dc27273509239b7f8a68d2068 - UBQ on Gnosis: 0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0 Refs: - devpool-directory/devpool-directory#5850 - ubiquity/ubiquity-dollar#984
|
I have read the CLA Document and I hereby sign the CLA sungdark seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
📝 WalkthroughWalkthroughUpdated one existing token entry in the CowSwap token list by correcting its symbol and name encoding. Added four new token entries for UUSD and UBQ tokens across different blockchain networks to the tokens array. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This repo contains the implementation for adding UUSD and UBQ tokens to popular DeFi services. Token Addresses: - UUSD on Ethereum: 0xb6919Ef2ee4aFC163BC954C5678e2BB570c2D103 - UUSD on Gnosis: 0xc6ed4f520f6a4e4dc27273509239b7f8a68d2068 - UBQ on Ethereum: 0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0 - UBQ on Gnosis: 0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0 PRs Created: - Uniswap: Uniswap/default-token-list#2415 - CoW Swap: cowprotocol/token-lists#1407 Existing Submissions Being Monitored: - CoW Swap Issues: #797 (UUSD), #798 (UBQ) - MetaMask PRs: #1413 (UUSD), #1414 (UBQ) Refs: - devpool-directory/devpool-directory#5850 - ubiquity/ubiquity-dollar#984
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
src/public/CowSwap.json (1)
2157-2165: Align logoURI references with repository convention.The two Ubiquity token entries (lines 2157, 2165, 2173, 2181) use mutable GitHub development branch paths, which deviate from the established pattern in this file. Of 270 logoURI entries, 266+ use the stable
https://files.cow.fi/token-lists/images/...host. Replace the development branch references with either:
- Commit SHA pinning:
https://raw.githubusercontent.com/ubiquity/ubiquity-dollar/<commit-sha>/packages/dapp/public/tokens-icons/{usdc,ubq}.png- Or migrate to the repository's standard immutable host
♻️ Suggested replacement
- "logoURI": "https://raw.githubusercontent.com/ubiquity/ubiquity-dollar/development/packages/dapp/public/tokens-icons/usdc.png" + "logoURI": "https://raw.githubusercontent.com/ubiquity/ubiquity-dollar/<commit-sha>/packages/dapp/public/tokens-icons/usdc.png" - "logoURI": "https://raw.githubusercontent.com/ubiquity/ubiquity-dollar/development/packages/dapp/public/tokens-icons/ubq.png" + "logoURI": "https://raw.githubusercontent.com/ubiquity/ubiquity-dollar/<commit-sha>/packages/dapp/public/tokens-icons/ubq.png"🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/public/CowSwap.json` around lines 2157 - 2165, Two token entries use mutable GitHub development branch URLs in their logoURI fields (e.g., the object with "address": "0xb6919Ef2ee4aFC163BC954C5678e2BB570c2D103", "symbol": "UUSD") which deviates from the repository’s stable pattern; update those logoURI values to the immutable host used elsewhere (e.g., https://files.cow.fi/token-lists/images/...) or pin to a commit SHA in the raw.githubusercontent.com path (for example replace the development branch segment with a specific <commit-sha>) so the logoURI for the UUSD (and the adjacent Ubiquity token entries) use the same immutable URL convention as the rest of the file.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/public/CowSwap.json`:
- Around line 2168-2181: The UBQ token is duplicated with chainId 100 pointing
to address 0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0 which cannot be verified
for Gnosis; either remove the Gnosis Chain entry or replace it with a verified
Gnosis address for symbol "UBQ" (address 0x4e38D8...a9a0, chainId 100) in
src/public/CowSwap.json, ensuring only confirmed addresses remain and the
remaining mainnet entry (chainId 1) for "UBQ" is left intact.
---
Nitpick comments:
In `@src/public/CowSwap.json`:
- Around line 2157-2165: Two token entries use mutable GitHub development branch
URLs in their logoURI fields (e.g., the object with "address":
"0xb6919Ef2ee4aFC163BC954C5678e2BB570c2D103", "symbol": "UUSD") which deviates
from the repository’s stable pattern; update those logoURI values to the
immutable host used elsewhere (e.g.,
https://files.cow.fi/token-lists/images/...) or pin to a commit SHA in the
raw.githubusercontent.com path (for example replace the development branch
segment with a specific <commit-sha>) so the logoURI for the UUSD (and the
adjacent Ubiquity token entries) use the same immutable URL convention as the
rest of the file.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
| "address": "0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0", | ||
| "symbol": "UBQ", | ||
| "name": "Ubiquity", | ||
| "decimals": 18, | ||
| "chainId": 1, | ||
| "logoURI": "https://raw.githubusercontent.com/ubiquity/ubiquity-dollar/development/packages/dapp/public/tokens-icons/ubq.png" | ||
| }, | ||
| { | ||
| "address": "0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0", | ||
| "symbol": "UBQ", | ||
| "name": "Ubiquity", | ||
| "decimals": 18, | ||
| "chainId": 100, | ||
| "logoURI": "https://raw.githubusercontent.com/ubiquity/ubiquity-dollar/development/packages/dapp/public/tokens-icons/ubq.png" |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
What are the verified contract addresses, symbol, name, and decimals for Ubiquity (UBQ) on Ethereum mainnet (chainId 1) and Gnosis Chain (chainId 100)?
💡 Result:
Ethereum mainnet (chainId 1): - Contract address: 0x4e38d89362f7e5db0096ce44ebd021c3962aa9a0 - Symbol: UBQ - Name: Ubiquity - Decimals: 18 Gnosis Chain (chainId 100): No verified contract address found in authoritative sources such as official docs, Etherscan/Blockscout, or GitHub repositories. Searches did not surface any confirmed deployment on Gnosis Chain. It may not be deployed there, or documentation is unavailable.
Citations:
- 1: https://etherscan.io/token/0x4e38d89362f7e5db0096ce44ebd021c3962aa9a0
- 2: https://dao.ubq.fi/ubq-token
- 3: https://dexscreener.com/ethereum/0xeb340142d971f0304fe275a499447b4f82e9c3e6
- 4: https://ubq.fi/
- 5: https://github.com/orgs/ubiquity/repositories
Remove or verify the Gnosis Chain (chainId 100) UBQ entry — the contract address cannot be verified in authoritative sources.
The Ethereum mainnet address (0x4e38d89362f7e5db0096ce44ebd021c3962aa9a0) is confirmed correct across Etherscan and official Ubiquity documentation. However, the same address on Gnosis Chain (lines 2176-2181) does not appear in any verified sources—no deployment is documented on Etherscan, Blockscout, official repositories, or Ubiquity's official channels. Either remove this entry or replace it with a verified Gnosis Chain address if one exists.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@src/public/CowSwap.json` around lines 2168 - 2181, The UBQ token is
duplicated with chainId 100 pointing to address
0x4e38D89362f7e5db0096CE44ebD021c3962aA9a0 which cannot be verified for Gnosis;
either remove the Gnosis Chain entry or replace it with a verified Gnosis
address for symbol "UBQ" (address 0x4e38D8...a9a0, chainId 100) in
src/public/CowSwap.json, ensuring only confirmed addresses remain and the
remaining mainnet entry (chainId 1) for "UBQ" is left intact.
Summary
Add Ubiquity Dollar (UUSD) and Ubiquity (UBQ) governance token to the CoW Swap default token list for both Ethereum Mainnet and Gnosis Chain.
Token Details
UUSD (Ubiquity Dollar)
UBQ (Ubiquity Governance Token)
Background
Ubiquity DAO is a decentralized protocol that provides crypto-native financial services. Adding UUSD and UBQ to the CoW Swap token list will enable users to easily trade these tokens through the CoW Swap interface.
References
UUSDandUBQtokens to popular services devpool-directory/devpool-directory#5850UUSDandUBQtokens to popular services ubiquity/ubiquity-dollar#984UUSDtoETHEREUM#797 (UUSD), [AddToken]UBQtoETHEREUM#798 (UBQ)Summary by CodeRabbit
New Features
Bug Fixes