Skip to content

Commit 53c71f3

Browse files
authored
Update trampoline (#524)
# Description This PR updates the trampoline contract to the latest version. ## Additional networks The contract was deployed also to many new networks like Binance, Optimism, Lens, Polygon and Avalanche ## Bonus Adding all the periphery contracts in a single table with all the networks and relevant links made it a bit hard to mantain. Instead, I broke it down in sections, so it can be easier to read and maintain. Before: <img width="810" height="893" alt="image" src="https://github.com/user-attachments/assets/ca628896-990c-4086-b815-44b9ca65e4f9" /> After: <img width="1211" height="621" alt="image" src="https://github.com/user-attachments/assets/d64c13ee-173b-4e40-8895-ebc15e2f5e7a" /> ## Out of scope 1 There's a discussion on hooks, with a nice introduction to them with the goal of clarifying all aspects of them and properly defining the rules. I believe that after properly defining that, we could move some of that content to https://docs.cow.fi/ because the hooks page and hook trampoline page are insufficient. Out of scope also more improvements in the docs other than what I described in BONUS. # Test review the page Review page: https://docs-git-update-trampoline-cowswap.vercel.app/cow-protocol/reference/contracts/periphery For reference: https://docs.cow.fi/cow-protocol/reference/contracts/periphery
1 parent b9cb599 commit 53c71f3

File tree

1 file changed

+58
-6
lines changed
  • docs/cow-protocol/reference/contracts/periphery

1 file changed

+58
-6
lines changed

docs/cow-protocol/reference/contracts/periphery/README.mdx

Lines changed: 58 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,61 @@ CoW Protocol contracts are generally deployed to the same addresses on their res
1010

1111
:::
1212

13-
| **Contracts** | **Address / Chains** |
14-
|---|---|
15-
| [`EthFlow`](periphery/eth-flow)<br />Upgradeable: No ❎<br />[GitHub](https://github.com/cowprotocol/ethflowcontract/blob/main/src/CoWSwapEthFlow.sol) | Production: `0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC`<br />Staging: `0x04501b9b1D52e67f6862d157E00D13419D2D6E95`<br />- Ethereum mainnet ([production](https://etherscan.io/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [staging](https://etherscan.io/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95))<br />- Gnosis chain ([production](https://gnosisscan.io/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [staging](https://gnosisscan.io/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95))<br />- Arbitrum one ([production](https://arbiscan.io/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [staging](https://arbiscan.io/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95))<br />- Base ([production](https://basescan.org/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [staging](https://basescan.org/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95))<br />- Avalanche ([production](https://snowscan.xyz/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [staging](https://snowscan.xyz/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95))<br />- Polygon ([production](https://polygonscan.com/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [staging](https://polygonscan.com/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95))<br />- Sepolia ([production](https://sepolia.etherscan.io/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [staging](https://sepolia.etherscan.io/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95)) |
16-
| [`HooksTrampoline`](periphery/hooks-trampoline)<br />Upgradeable: No ❎<br />[GitHub](https://github.com/cowprotocol/hooks-trampoline/blob/main/src/HooksTrampoline.sol) | `0x01DcB88678aedD0C4cC9552B20F4718550250574`<br />- [Ethereum mainnet](https://etherscan.io/address/0x01DcB88678aedD0C4cC9552B20F4718550250574)<br />- [Gnosis chain](https://gnosisscan.io/address/0x01DcB88678aedD0C4cC9552B20F4718550250574)<br/>- [Arbitrum one](https://arbiscan.io/address/0x01DcB88678aedD0C4cC9552B20F4718550250574)<br/>- [Base](https://basescan.org/address/0x01DcB88678aedD0C4cC9552B20F4718550250574)<br/>- [Avalanche](https://snowscan.xyz/address/0x01DcB88678aedD0C4cC9552B20F4718550250574) <br/>- [Polygon](https://polygonscan.com/address/0x01DcB88678aedD0C4cC9552B20F4718550250574) |
17-
| [`ComposableCoW`](periphery/composable-cow)<br />Upgradeable: No ❎<br />[GitHub](https://github.com/cowprotocol/composable-cow/blob/main/src/ComposableCoW.sol) | `0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74`<br />- [Ethereum mainnet](https://etherscan.io/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74)<br />- [Gnosis chain](https://gnosisscan.io/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74)<br/>- [Arbitrum one](https://arbiscan.io/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74)<br/>- [Base](https://basescan.org/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74)<br/>- [Avalanche](https://snowscan.xyz/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74)<br/>- [Polygon](https://polygonscan.com/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74)<br/>- [Sepolia](https://sepolia.etherscan.io/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74) |
18-
| [`CoWUidGenerator`](periphery/cow-uid-generator)<br />Upgradeable: No ❎<br /> | `0xe84dcd8587287b997f51299430a396ad03aaec06` on the following networks:<br />- [Ethereum mainnet](https://etherscan.io/address/0xe84dcd8587287b997f51299430a396ad03aaec06)<br /><br />`0xCA51403B524dF7dA6f9D6BFc64895AD833b5d711` on the following networks:<br />- [Gnosis chain](https://gnosisscan.io/address/0xCA51403B524dF7dA6f9D6BFc64895AD833b5d711)<br/><br />`0x96ddDAC514d0799e34e3F642c5006852aD24CD68` on the following networks:<br />- [Base](https://basescan.org/address/0x96dddac514d0799e34e3f642c5006852ad24cd68) |
13+
### EthFlow
14+
15+
**Documentation**: [`EthFlow`](periphery/eth-flow)
16+
**Upgradeable**: No ❎
17+
**GitHub**: [CoWSwapEthFlow.sol](https://github.com/cowprotocol/ethflowcontract/blob/main/src/CoWSwapEthFlow.sol)
18+
19+
| Environment | Address | Networks |
20+
|-------------|---------|----------|
21+
| Production | `0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC` | [Mainnet](https://etherscan.io/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [Gnosis chain](https://gnosisscan.io/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [Arbitrum one](https://arbiscan.io/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [Base](https://basescan.org/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [Avalanche](https://snowscan.xyz/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [Polygon](https://polygonscan.com/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC), [Sepolia](https://sepolia.etherscan.io/address/0xbA3cB449bD2B4ADddBc894D8697F5170800EAdeC) |
22+
| Staging | `0x04501b9b1D52e67f6862d157E00D13419D2D6E95` | [Mainnet](https://etherscan.io/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95), [Gnosis chain](https://gnosisscan.io/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95), [Arbitrum one](https://arbiscan.io/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95), [Base](https://basescan.org/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95), [Avalanche](https://snowscan.xyz/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95), [Polygon](https://polygonscan.com/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95), [Sepolia](https://sepolia.etherscan.io/address/0x04501b9b1D52e67f6862d157E00D13419D2D6E95) |
23+
24+
### HooksTrampoline
25+
26+
**Documentation**: [`HooksTrampoline`](periphery/hooks-trampoline)
27+
**Upgradeable**: No ❎
28+
**GitHub**: [HooksTrampoline.sol](https://github.com/cowprotocol/hooks-trampoline/blob/main/src/HooksTrampoline.sol)
29+
30+
**Address**: `0x60bf78233f48ec42ee3f101b9a05ec7878728006`
31+
32+
**Networks**:
33+
[Mainnet](https://etherscan.io/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
34+
[Sepolia](https://sepolia.etherscan.io/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
35+
[Gnosis chain](https://gnosisscan.io/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
36+
[Base](https://basescan.org/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
37+
[Arbitrum one](https://arbiscan.io/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
38+
[Avalanche](https://snowscan.xyz/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
39+
[Polygon](https://polygonscan.com/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
40+
[Binance](https://bscscan.com/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
41+
[Optimism](https://optimistic.etherscan.io/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006),
42+
[Lens](https://explorer.lens.xyz/address/0x60bf78233f48ec42ee3f101b9a05ec7878728006)
43+
44+
### ComposableCoW
45+
46+
**Documentation**: [`ComposableCoW`](periphery/composable-cow)
47+
**Upgradeable**: No ❎
48+
**GitHub**: [ComposableCoW.sol](https://github.com/cowprotocol/composable-cow/blob/main/src/ComposableCoW.sol)
49+
50+
**Address**: `0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74`
51+
52+
**Networks**:
53+
[Mainnet](https://etherscan.io/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74),
54+
[Gnosis chain](https://gnosisscan.io/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74),
55+
[Arbitrum one](https://arbiscan.io/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74),
56+
[Base](https://basescan.org/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74),
57+
[Avalanche](https://snowscan.xyz/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74),
58+
[Polygon](https://polygonscan.com/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74),
59+
[Sepolia](https://sepolia.etherscan.io/address/0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74)
60+
61+
### CoWUidGenerator
62+
63+
**Documentation**: [`CoWUidGenerator`](periphery/cow-uid-generator)
64+
**Upgradeable**: No ❎
65+
66+
| Network | Address |
67+
|---------|---------|
68+
| [Mainnet](https://etherscan.io/address/0xe84dcd8587287b997f51299430a396ad03aaec06) | `0xe84DCd8587287B997F51299430A396AD03aAEC06` |
69+
| [Gnosis chain](https://gnosisscan.io/address/0xCA51403B524dF7dA6f9D6BFc64895AD833b5d711) | `0xCA51403B524dF7dA6f9D6BFc64895AD833b5d711` |
70+
| [Base](https://basescan.org/address/0x96dddac514d0799e34e3f642c5006852ad24cd68) | `0x96ddDAC514d0799e34e3F642c5006852aD24CD68` |

0 commit comments

Comments
 (0)