-
Notifications
You must be signed in to change notification settings - Fork 32
feat: add Avalanche and Polygon to the docs
#505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,8 @@ The current factory contract addresses are the following: | |
| - Gnosis Chain: [`0x703Bd8115E6F21a37BB5Df97f78614ca72Ad7624`](https://gnosisscan.io/address/0x703Bd8115E6F21a37BB5Df97f78614ca72Ad7624#code) | ||
| - Arbitrum One: [`0xE0e2Ba143EE5268DA87D529949a2521115987302`](https://arbiscan.io/address/0xe0e2ba143ee5268da87d529949a2521115987302#code) | ||
| - Base: [`0x03362f847B4fAbC12e1Ce98b6b59F94401E4588e`](https://basescan.org/address/0x03362f847b4fabc12e1ce98b6b59f94401e4588e#code) | ||
| - Avalanche: [`??`](https://snowtrace.io/address/??) | ||
| - Polygon: [`??`](https://polygonscan.com/address/??) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's make sure to NOT merge before this is addressed
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not available, confirmed by smartcontract team |
||
| - Sepolia Testnet: [`0x1E3D76AC2BB67a2D7e8395d3A624b30AA9056DF9`](https://sepolia.etherscan.io/address/0x1E3D76AC2BB67a2D7e8395d3A624b30AA9056DF9#code) | ||
|
|
||
| These contracts can be verified through [this](https://github.com/balancer/cow-amm) repository. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,8 @@ The helper contracts are deployed here: | |
| - [Arbitrum](https://arbiscan.io/address/0xdb2aeab529c035469e190310def9957ef0398ba8#code) | ||
| - [Gnosis](https://gnosisscan.io/address/0xdb2aeab529c035469e190310def9957ef0398ba8#code) | ||
| - [Base](https://basescan.org/address/0x467665d4ae90e7a99c9c9af785791058426d6ea0#code) | ||
| - [Avalanche](https://snowtrace.io/address/??) | ||
| - [Polygon](https://polygonscan.com/address/??) | ||
|
cowdan marked this conversation as resolved.
Outdated
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not available, confirmed by smartcontract team |
||
|
|
||
| ### Settling a custom order | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,8 @@ The deadline for solutions depends on the network and is set as a specific numbe | |
| - Arbitrum: 40 blocks | ||
| - Gnosis chain: 5 blocks | ||
| - Base: 20 blocks | ||
| - Avalanche: 20 blocks | ||
| - Polygon: 20 blocks | ||
|
Comment on lines
+43
to
+44
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you get these values from backend?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. confirmed by Solver team |
||
|
|
||
| ::: | ||
|
|
||
|
|
@@ -90,6 +92,20 @@ At CoW DAO's discretion, systematic violation of these rules may lead to penaliz | |
| - **Base tokens**: [`WETH`](https://basescan.org/address/0x420000000000000000000000000000000000000), [`USDC`](https://basescan.org/address/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913), [`DAI`](https://basescan.org/address/0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb) | ||
| </details> | ||
|
|
||
| <details> | ||
| <summary>Avalanche chain baseline protocols and tokens</summary> | ||
|
|
||
| - **Protocols**: ?? | ||
| - **Base tokens**: [`WAVAX`](https://snowtrace.io/address/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7), [`USDC`](https://snowtrace.io/address/0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e), [`USDT`](https://snowtrace.io/address/0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7) | ||
| </details> | ||
|
|
||
| <details> | ||
| <summary>Polygon chain baseline protocols and tokens</summary> | ||
|
|
||
| - **Protocols**: ?? | ||
| - **Base tokens**: [`WPOL`](https://snowtrace.io/address/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270), [`USDC`](https://polygonscan.com/address/0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359), [`USDT`](https://polygonscan.com/address/0xc2132d05d31c914a87c6611c10748aeb04b58e8f) | ||
| </details> | ||
|
cowdan marked this conversation as resolved.
|
||
|
|
||
| More details about how a certificate of an EBBO violation is computed, and what are the steps taken in case such a violation occurs can be found in [this](/cow-protocol/reference/core/auctions/ebbo-rules) section. | ||
|
|
||
| - Inflation of the score ([CIP-11](https://snapshot.org/#/cow.eth/proposal/0x16d8c681d52b24f1ccd854084e07a99fce6a7af1e25fd21ddae6534b411df870)). Using tokens for the sole purpose of inflating the score of a solution or maximizing the reward is forbidden (e.g., by creating fake tokens, or wash-trading with real tokens). | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,5 +85,7 @@ As specified in [CIP-27](https://snapshot.org/#/cow.eth/proposal/0x64e061568e86e | |
| - Arbitrum: $$\min\{0.0002 ~\textrm{ETH}, 6 ~\textrm{COW}\}$$, | ||
| - Gnosis Chain: $$\min\{0.15 ~\textrm{xDAI}, 6 ~\textrm{COW}\}$$, | ||
| - Base Chain: $$\min\{0.0002 ~\textrm{ETH}, 6 ~\textrm{COW}\}$$, | ||
| - Avalanche Chain: $$\min\{0.0002 ~\textrm{ETH}, 6 ~\textrm{COW}\}$$, | ||
| - Polygon Chain: $$\min\{0.0002 ~\textrm{ETH}, 6 ~\textrm{COW}\}$$, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Double check this with finance/solvers team
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lets not add this yet and lead it up to solvers team to update later. |
||
|
|
||
| where, again, the conversion from ETH and xDAI to COW is done by using an up-to-date price (specifically, the average ETH/xDAI/COW Dune prices of the past 24h before the payout are used to determine these exchange rates). | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,6 +39,8 @@ For convenience, the domain separator is exposed as a public view function in th | |
| * [Gnosis chain](https://gnosisscan.io/address/0x9008D19f58AAbD9eD0D60971565AA8510560ab41#readContract#F2) | ||
| * [Arbitrum one](https://arbiscan.io/address/0x9008D19f58AAbD9eD0D60971565AA8510560ab41#readContract#F2) | ||
| * [Base](https://basescan.org/address/0x9008D19f58AAbD9eD0D60971565AA8510560ab41#readContract#F2) | ||
| * [Avalanche](https://snowtrace.io/address/0x9008D19f58AAbD9eD0D60971565AA8510560ab41#readContract#F2) | ||
| * [Polygon](https://polygonscan.com/address/0x9008D19f58AAbD9eD0D60971565AA8510560ab41#readContract#F2) | ||
| * [Sepolia](https://sepolia.etherscan.io/address/0x9008D19f58AAbD9eD0D60971565AA8510560ab41#readContract#F2) | ||
|
|
||
| ::: | ||
|
|
@@ -119,6 +121,8 @@ For convenience, we also deployed a small helper contract that makes it easy to | |
|
|
||
| - [Mainnet](https://etherscan.io/address/0xe84dcd8587287b997f51299430a396ad03aaec06#readContract#F1) | ||
| - [Gnosis Chain](https://gnosisscan.io/address/0xCA51403B524dF7dA6f9D6BFc64895AD833b5d711#readContract#F1) | ||
| - [Avalanche](https://snowtrace.io/address/??) | ||
| - [Polygon](https://polygonscan.com/address/??) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same, double check
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not available, confirmed by smartcontract team |
||
| - [Sepolia](https://sepolia.etherscan.io/address/0x59Ffd6c1823F212D49887230f155A35451FdDbfa#readContract#F1) | ||
|
|
||
| ## Supported schemes | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,5 +54,9 @@ Once the above are set up and running, one can then start testing their solver e | |
| | <https://api.cow.fi/arbitrum_one/api> | Arbitrum One | Production | | ||
| | <https://barn.api.cow.fi/base/api> | Base | Staging | | ||
| | <https://api.cow.fi/base/api> | Base | Production | | ||
| | <https://barn.api.cow.fi/avax/api> | Avalanche | Staging | | ||
| | <https://api.cow.fi/avax/api> | Avalanche | Production | | ||
| | <https://barn.api.cow.fi/pol/api> | Polygon | Staging | | ||
| | <https://api.cow.fi/pol/api> | Polygon | Production | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Backend uses |
||
| | <https://barn.api.cow.fi/sepolia/api> | Sepolia | Staging | | ||
| | <https://api.cow.fi/sepolia/api> | Sepolia | Production | | ||
Uh oh!
There was an error while loading. Please reload this page.