Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/cow-amm/tutorials/cow-amm-deployer.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ The current factory contract addresses are the following:
- Base: [`0x03362f847B4fAbC12e1Ce98b6b59F94401E4588e`](https://basescan.org/address/0x03362f847b4fabc12e1ce98b6b59f94401e4588e#code)
- Avalanche: N/A
- Polygon: N/A
- Lens: N/A
- BNB: N/A
- Linea: N/A
- Plasma: N/A
Expand Down
1 change: 0 additions & 1 deletion docs/cow-amm/tutorials/cow-amm-for-solvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ The helper contracts are deployed here:
- [Base](https://basescan.org/address/0x467665d4ae90e7a99c9c9af785791058426d6ea0#code)
- Avalanche N/A
- Polygon N/A
- Lens N/A
- BNB N/A
- Linea N/A
- Plasma N/A
Expand Down
6 changes: 3 additions & 3 deletions docs/cow-protocol/reference/contracts/core/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ Take care when [signing](../core/signing-schemes), ensuring that the `EIP-712` d

| **Contracts** | **Address / Chains** |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [`GPv2Settlement`](core/settlement)<br />Upgradeable: No ❎<br />[GitHub](https://github.com/cowprotocol/contracts/blob/main/src/contracts/GPv2Settlement.sol) | `0x9008D19f58AAbD9eD0D60971565AA8510560ab41`<br />{explorerLinks(["Ethereum","Gnosis","Arbitrum One","Base","Avalanche","Polygon","Plasma","Lens","Linea","BNB","Ink","Sepolia"], "0x9008D19f58AAbD9eD0D60971565AA8510560ab41", {separator: <br />})} |
| [`GPv2AllowListAuthentication`](core/allowlist)<br />Upgradeable: Yes ⚠️<br />[GitHub](https://github.com/cowprotocol/contracts/blob/main/src/contracts/GPv2AllowListAuthentication.sol) | `0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE`<br />{explorerLinks(["Ethereum","Gnosis","Arbitrum One","Base","Avalanche","Polygon","Plasma","Lens","Linea","BNB","Ink","Sepolia"], "0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE", {separator: <br />})} |
| [`GPv2VaultRelayer`](core/vault-relayer)<br />Upgradeable: No ❎<br />[GitHub](https://github.com/cowprotocol/contracts/blob/main/src/contracts/GPv2VaultRelayer.sol) | `0xC92E8bdf79f0507f65a392b0ab4667716BFE0110`<br />{explorerLinks(["Ethereum","Gnosis","Arbitrum One","Base","Avalanche","Polygon","Plasma","Lens","Linea","BNB","Ink","Sepolia"], "0xC92E8bdf79f0507f65a392b0ab4667716BFE0110", {separator: <br />})} |
| [`GPv2Settlement`](core/settlement)<br />Upgradeable: No ❎<br />[GitHub](https://github.com/cowprotocol/contracts/blob/main/src/contracts/GPv2Settlement.sol) | `0x9008D19f58AAbD9eD0D60971565AA8510560ab41`<br />{explorerLinks(["Arbitrum One","Avalanche","Base","BNB","Ethereum","Gnosis","Ink","Linea","Optimism","Plasma","Polygon","Sepolia",], "0x9008D19f58AAbD9eD0D60971565AA8510560ab41", {separator: <br />})} |
| [`GPv2AllowListAuthentication`](core/allowlist)<br />Upgradeable: Yes ⚠️<br />[GitHub](https://github.com/cowprotocol/contracts/blob/main/src/contracts/GPv2AllowListAuthentication.sol) | `0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE`<br />{explorerLinks(["Arbitrum One","Avalanche","Base","BNB","Ethereum","Gnosis","Ink","Linea","Optimism","Plasma","Polygon","Sepolia",], "0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE", {separator: <br />})} |
| [`GPv2VaultRelayer`](core/vault-relayer)<br />Upgradeable: No ❎<br />[GitHub](https://github.com/cowprotocol/contracts/blob/main/src/contracts/GPv2VaultRelayer.sol) | `0xC92E8bdf79f0507f65a392b0ab4667716BFE0110`<br />{explorerLinks(["Arbitrum One","Avalanche","Base","BNB","Ethereum","Gnosis","Ink","Linea","Optimism","Plasma","Polygon","Sepolia",], "0xC92E8bdf79f0507f65a392b0ab4667716BFE0110", {separator: <br />})} |
Comment on lines +47 to +49
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify contract deployments on Optimism and Plasma

echo "Checking GPv2Settlement (0x9008D19f58AAbD9eD0D60971565AA8510560ab41):"
echo "Optimism:"
curl -s "https://api-optimistic.etherscan.io/api?module=contract&action=getabi&address=0x9008D19f58AAbD9eD0D60971565AA8510560ab41" | jq -r '.status, .message'

echo -e "\nPlasma:"
curl -s "https://api.plasmascan.to/api?module=contract&action=getabi&address=0x9008D19f58AAbD9eD0D60971565AA8510560ab41" | jq -r '.status, .message'

echo -e "\nChecking GPv2AllowListAuthentication (0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE):"
echo "Optimism:"
curl -s "https://api-optimistic.etherscan.io/api?module=contract&action=getabi&address=0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE" | jq -r '.status, .message'

echo -e "\nPlasma:"
curl -s "https://api.plasmascan.to/api?module=contract&action=getabi&address=0x2c4c28DDBdAc9C5E7055b4C863b72eA0149D8aFE" | jq -r '.status, .message'

echo -e "\nChecking GPv2VaultRelayer (0xC92E8bdf79f0507f65a392b0ab4667716BFE0110):"
echo "Optimism:"
curl -s "https://api-optimistic.etherscan.io/api?module=contract&action=getabi&address=0xC92E8bdf79f0507f65a392b0ab4667716BFE0110" | jq -r '.status, .message'

echo -e "\nPlasma:"
curl -s "https://api.plasmascan.to/api?module=contract&action=getabi&address=0xC92E8bdf79f0507f65a392b0ab4667716BFE0110" | jq -r '.status, .message'

Repository: cowprotocol/docs

Length of output: 391


Revert Optimism and Plasma additions pending deployment confirmation.

The chain list changes are structurally sound, but verification shows the contracts are not found on Optimism and Plasma explorer APIs. The documentation should only list chains where contracts are actually deployed to avoid misleading users.

Either confirm these contracts are deployed on Optimism and Plasma through deployment records, or remove those chains from the lists until deployment is confirmed.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/cow-protocol/reference/contracts/core/README.mdx` around lines 47 - 49,
The docs list Optimism and Plasma in the explorerLinks arrays for
GPv2Settlement, GPv2AllowListAuthentication, and GPv2VaultRelayer but those
deployments are not found; either verify deployment records and keep the
networks or remove "Optimism" and "Plasma" from the explorerLinks arrays for the
three entries (`GPv2Settlement`, `GPv2AllowListAuthentication`,
`GPv2VaultRelayer`) and update the corresponding explorerLinks invocation so
only confirmed networks remain visible, ensuring the displayed chain list
matches actual deployment evidence.


<details close>
<summary>Upgradeable allow-list</summary>
Expand Down
8 changes: 2 additions & 6 deletions docs/cow-protocol/reference/contracts/periphery/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ Peripheral contracts are those that are not necessary for CoW Protocol to functi

| Environment | Address | Networks |
| ------------------------ | -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Production (most chains) | `0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC` | {explorerLinks(["Ethereum","Gnosis","Arbitrum One","Base","Avalanche","Polygon","BNB","Linea","Plasma","Ink","Sepolia"], "0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC")}, but not Lens! |
| Staging (most chains) | `0x04501b9b1D52e67f6862d157E00D13419D2D6E95` | {explorerLinks(["Ethereum","Gnosis","Arbitrum One","Base","Avalanche","Polygon","BNB","Linea","Plasma","Ink","Sepolia"], "0x04501b9b1D52e67f6862d157E00D13419D2D6E95")}, but not Lens! |
| Production (Lens) | `0x5A5b8aE7a0b4C0EAf453d10DCcfbA413f07ebdC2` | {explorerLinks("Lens", "0x5A5b8aE7a0b4C0EAf453d10DCcfbA413f07ebdC2")} only! |
| Staging (Lens) | `0xFb337f8a725A142f65fb9ff4902d41cc901de222` | {explorerLinks("Lens", "0xFb337f8a725A142f65fb9ff4902d41cc901de222")} only! |
| Production (all chains) | `0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC` | {explorerLinks(["Ethereum","Gnosis","Arbitrum One","Base","Avalanche","Polygon","BNB","Linea","Plasma","Ink","Sepolia"], "0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC")} |
| Staging (all chains) | `0x04501b9b1D52e67f6862d157E00D13419D2D6E95` | {explorerLinks(["Ethereum","Gnosis","Arbitrum One","Base","Avalanche","Polygon","BNB","Linea","Plasma","Ink","Sepolia"], "0x04501b9b1D52e67f6862d157E00D13419D2D6E95")} |

:::warning

Expand Down Expand Up @@ -50,7 +48,6 @@ You should not assume that the HooksTrampoline contract address will remain fixe
"Ethereum",
"Gnosis",
"Ink",
"Lens",
"Linea",
"Optimism",
"Plasma",
Expand All @@ -77,7 +74,6 @@ You should not assume that the HooksTrampoline contract address will remain fixe
"Ethereum",
"Gnosis",
"Ink",
"Lens",
"Linea",
"Plasma",
"Polygon",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Vouching contracts:
- [Base](https://basescan.org/address/0xAAA4De096D02AE21729aA31D967E148D4e3Ae501)
- [Avalanche](https://snowtrace.io/address/0xAAA4De096D02AE21729aA31D967E148D4e3Ae501)
- [Polygon](https://polygonscan.com/address/0xAAA4De096D02AE21729aA31D967E148D4e3Ae501)
- [Lens](https://lenscan.io/address/0xAAA4De096D02AE21729aA31D967E148D4e3Ae501)
- [BNB](https://bscscan.com/address/0xAAA4De096D02AE21729aA31D967E148D4e3Ae501)
- [Linea](https://lineascan.build/address/0xAAA4De096D02AE21729aA31D967E148D4e3Ae501)
- [Plasma](https://plasmascan.to/address/0xAAA4De096D02AE21729aA31D967E148D4e3Ae501#code)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ The deadline for solutions depends on the network and is set as a specific numbe
- Base: 20 blocks
- Avalanche: 20 blocks
- Polygon: 20 blocks
- Lens: 40 blocks
- BNB: 40 blocks
- Linea: 20 blocks
- Plasma: 20 blocks
Expand Down Expand Up @@ -134,13 +133,6 @@ At CoW DAO's discretion, systematic violation of these rules may lead to penaliz
- **Base tokens**: [`WPOL`](https://polygonscan.com/address/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270), [`USDC`](https://polygonscan.com/address/0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359), [`USDT`](https://polygonscan.com/address/0xc2132d05d31c914a87c6611c10748aeb04b58e8f)
</details>

<details>
<summary>Lens chain baseline protocols and tokens</summary>

- **Protocols**: Uniswap v3
- **Base tokens**: [`WGHO`](https://explorer.lens.xyz/address/0x6bdc36e20d267ff0dd6097799f82e78907105e2f), [`USDC`](https://explorer.lens.xyz/address/0x88f08e304ec4f90d644cec3fb69b8ad414acf884), [`WETH`](https://explorer.lens.xyz/address/0xe5ecd226b3032910ceaa43ba92ee8232f8237553), [`BONSAI`](https://explorer.lens.xyz/address/0xb0588f9a9cade7cd5f194a5fe77acd6a58250f82)
</details>

<details>
<summary>BNB chain baseline protocols and tokens</summary>

Expand Down
2 changes: 0 additions & 2 deletions docs/cow-protocol/reference/core/auctions/rewards.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ The payment is capped from above and below using the function $$\textrm{cap}(x)
- Gnosis Chain: $$10 \;\textrm{xDAI}$$
- Avalanche: $$0.3 \;\textrm{AVAX}$$
- Polygon: $$30 \;\textrm{POL}$$
- Lens: $$10 \;\textrm{GHO}$$
- BNB: $$0.04 \;\textrm{BNB}$$
- Linea and Ink: $$0.0015 \;\textrm{ETH}$$
- Plasma: $$30 \;\textrm{XPL}$$
Expand Down Expand Up @@ -93,7 +92,6 @@ The current rewards for eligible quotes are as follows:
- Base Chain: $$\min\{0.00024 ~\textrm{ETH}, 6 ~\textrm{COW}\}$$,
- Avalanche-C Chain: $$\min\{0.006 ~\textrm{AVAX}, 6 ~\textrm{COW}\}$$,
- Polygon Chain: $$\min\{0.6 ~\textrm{POL}, 6 ~\textrm{COW}\}$$
- Lens Chain: $$\min\{0.15 ~\textrm{GHO}, 6 ~\textrm{COW}\}$$
- BNB Chain: $$\min\{0.001 ~\textrm{BNB}, 6 ~\textrm{COW}\}$$
- Linea: $$\min\{0.00003 ~\textrm{ETH}, 6 ~\textrm{COW}\}$$.
- Plasma: $$\min\{0.6 ~\textrm{XPL}, 6 ~\textrm{COW}\}$$.
Expand Down
2 changes: 0 additions & 2 deletions docs/cow-protocol/reference/core/signing_schemes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ For convenience, the domain separator is exposed as a public view function in th
"Ethereum",
"Gnosis",
"Ink",
"Lens",
"Linea",
"Plasma",
"Polygon",
Expand Down Expand Up @@ -133,7 +132,6 @@ For convenience, we also deployed a small helper contract that makes it easy to
- Arbitrum N/A
- Avalanche N/A
- Polygon N/A
- Lens N/A
- BNB N/A
- Linea N/A
- Plasma N/A
Expand Down
1 change: 0 additions & 1 deletion docs/cow-protocol/tutorials/cow-swap/custom-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ Native and wrapped tokens per chain:
- Base: [`WETH`](https://basescan.org/address/0x4200000000000000000000000000000000000006) - wrapped `ETH`
- Avalanche: [`WAVAX`](https://snowscan.xyz/address/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7) - wrapped `AVAX`
- Polygon: [`WPOL`](https://polygonscan.com/address/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270) - wrapped `POL`
- Lens: [`WGHO`](https://explorer.lens.xyz/address/0x6bdc36e20d267ff0dd6097799f82e78907105e2f) - wrapped `GHO`
- BNB: [`WBNB`](https://bscscan.com/address/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c) - wrapped `BNB`
- Linea: [`WETH`](https://lineascan.build/token/0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f) - wrapped `ETH`
- Plasma: [`WXPL`](https://plasmascan.to/token/0x6100E367285b01F48D07953803A2d8dCA5D19873) - wrapped `XPL`
Expand Down
2 changes: 0 additions & 2 deletions docs/cow-protocol/tutorials/solvers/local_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ Once the above are set up and running, one can then start testing their solver e
| <https://api.cow.fi/avalanche/api> | Avalanche | Production |
| <https://barn.api.cow.fi/polygon/api> | Polygon | Staging |
| <https://api.cow.fi/polygon/api> | Polygon | Production |
| <https://barn.api.cow.fi/lens/api> | Lens | Staging |
| <https://api.cow.fi/lens/api> | Lens | Production |
| <https://barn.api.cow.fi/bnb/api> | BNB | Staging |
| <https://api.cow.fi/bnb/api> | BNB | Production |
| <https://barn.api.cow.fi/linea/api> | Linea | Staging |
Expand Down
2 changes: 1 addition & 1 deletion docs/cow-protocol/tutorials/solvers/onboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ If you would like to secure your solver, you can set up a firewall and only acce
### Exposed Endpoint
The exposed endpoint provided must be of the following format: {base_url}/\${envName}/\${network} - for example: https://api.mysolver.io/staging/mainnet
envName values: shadow, staging, prod
supported networks: arbitrum-one, avalanche, base, bnb, lens, linea, mainnet, polygon, xdai (gnosis) and more are coming out!
supported networks: arbitrum-one, avalanche, base, bnb, mainnet, xdai (gnosis), ink, linea, plasma, optimism, polygon, sepolia, and more are coming out!

:::note
The `/solve` response sent to your solver is quite large. If you are using Nginx then the default request size will be too small and prevent you from receiving any auctions.
Expand Down
4 changes: 0 additions & 4 deletions docs/cow-protocol/tutorials/widget/widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const b: PartnerFee = {
[SupportedChainId.GNOSIS_CHAIN]: { [TradeType.SWAP]: 100, [TradeType.LIMIT]: 50, [TradeType.ADVANCED]: 30 },
[SupportedChainId.AVALANCHE]: { [TradeType.SWAP]: 100, [TradeType.LIMIT]: 50, [TradeType.ADVANCED]: 30 },
[SupportedChainId.POLYGON]: { [TradeType.SWAP]: 100, [TradeType.LIMIT]: 50, [TradeType.ADVANCED]: 30 },
[SupportedChainId.LENS]: { [TradeType.SWAP]: 100, [TradeType.LIMIT]: 50, [TradeType.ADVANCED]: 30 },
[SupportedChainId.BNB]: { [TradeType.SWAP]: 100, [TradeType.LIMIT]: 50, [TradeType.ADVANCED]: 30 },
[SupportedChainId.LINEA]: { [TradeType.SWAP]: 100, [TradeType.LIMIT]: 50, [TradeType.ADVANCED]: 30 },
[SupportedChainId.PLASMA]: { [TradeType.SWAP]: 100, [TradeType.LIMIT]: 50, [TradeType.ADVANCED]: 30 },
Expand All @@ -112,7 +111,6 @@ const c: PartnerFee = {
[SupportedChainId.GNOSIS_CHAIN]: '0x...c',
[SupportedChainId.AVALANCHE]: '0x...c',
[SupportedChainId.POLYGON]: '0x...c',
[SupportedChainId.LENS]: '0x...c',
[SupportedChainId.BNB]: '0x...c',
[SupportedChainId.LINEA]: '0x...c',
[SupportedChainId.PLASMA]: '0x...c',
Expand All @@ -125,7 +123,6 @@ const c: PartnerFee = {
[SupportedChainId.GNOSIS_CHAIN]: '0x...g',
[SupportedChainId.AVALANCHE]: '0x...x',
[SupportedChainId.POLYGON]: '0x...y',
[SupportedChainId.LENS]: '0x...y',
[SupportedChainId.BNB]: '0x...y',
[SupportedChainId.LINEA]: '0x...y',
[SupportedChainId.PLASMA]: '0x...y',
Expand All @@ -138,7 +135,6 @@ const c: PartnerFee = {
[SupportedChainId.GNOSIS_CHAIN]: '0x...k',
[SupportedChainId.AVALANCHE]: '0x...z',
[SupportedChainId.POLYGON]: '0x...t',
[SupportedChainId.LENS]: '0x...t',
[SupportedChainId.BNB]: '0x...t',
[SupportedChainId.LINEA]: '0x...t',
[SupportedChainId.PLASMA]: '0x...t',
Expand Down
2 changes: 0 additions & 2 deletions docs/governance/token.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ At the core of CoW Protocol lies the COW token, which serves as a governance tok
| Base | [`0xc694a91e6b071bf030a18bd3053a7fe09b6dae69`](https://basescan.org/token/0xc694a91e6b071bf030a18bd3053a7fe09b6dae69) [^bridgedTokens] |
| Polygon | [`0x2f4efd3aa42e15a1ec6114547151b63ee5d39958`](https://polygonscan.com/token/0x2f4efd3aa42e15a1ec6114547151b63ee5d39958) [^bridgedTokens] |
| Avalanche | N/A |
| Lens | N/A |
| BNB | [`0x5bfdaa3f7c28b9994b56135403bf1acea02595b0`](https://bscscan.com/token/0x5bfdaa3f7c28b9994b56135403bf1acea02595b0) [^stargateBridge] |
| Linea | N/A |
| Plasma | N/A |
Expand All @@ -41,7 +40,6 @@ At the core of CoW Protocol lies the COW token, which serves as a governance tok
| Base | N/A |
| Avalanche | N/A |
| Polygon | N/A |
| Lens | N/A |
| BNB | N/A |
| Linea | N/A |
| Plasma | N/A |
Expand Down
1 change: 0 additions & 1 deletion src/components/contract-addresses/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const explorerByChain = {
"Arbitrum One": "https://arbiscan.io",
"Avalanche": "https://snowscan.xyz",
"Polygon": "https://polygonscan.com",
"Lens": "https://explorer.lens.xyz",
"BNB": "https://bscscan.com",
"Linea": "https://lineascan.build",
"Plasma": "https://plasmascan.to",
Expand Down
Loading