CowSwap

From CryptoWiki

Revision as of 06:24, 27 December 2021 by wiki_crypto>Zeb.dyor
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Basics

History

Audits & Exploits

  • The GPv2/CowSwap Bug Bounty program rewards participating users with up to 50k for bug finds. Program information can be found here (9-2021).
  • Scored 90% on DeFi Safety (23-9-2021):

"Activity is 400 transactions a day on contract Gnosis Protocol: GPv2Settlement.

As per the SLOC, there is 73% commenting to code (CtC). GPv2/CowSwap has 97% code coverage according to the coveralls report. No formal verification could be found. Cowswap has been deployed to multiple testnets. One audit was released shortly after Cowswap's deployment, but was started beforehand. While the results are public it is very short at just 3 pages."

"Today is an important day as CowSwap will upgrade to audited smart contracts that include a tight integration with Balancer’s new vault architecture. This upgrade will mark the evolution of CowSwap from Alpha to its final stable version, its first stable and audited version."

  • From their FAQ (14-6-2021):

"CowSwap is in ongoing development, and that is why this is not a beta product but rather a proof-of-concept dapp for the community to test and leverage before the final version is released. The code has been carefully tested, peer-reviewed and fully audited."

Bugs/Exploits

Governance

Admin Key

"The documents detailing the planned decentralisation process clearly state the status of access controls. All the core executing contracts are immutable. No pause control can be used on the GPv2/CowSwap core executing smart contracts due to their immutability."

DAO

Treasury

Token

Launch

Token Allocation

Utility

  • From their FAQ (14-6-2021):

"There is currently no plan for a CowSwap specific token. At the moment the value is already captured by the GNO token, as CowSwap is built on top of Gnosis Protocol. If you are curious about how the value is captured, you can read this forum post."

Other Details

Stablecoin

Coin Distribution

Technology

"With 1712 commits and 72 branches, Cowswap's development history is beautifully rich and detailed."

Implementations

  • Built on: Ethereum, plus it relies on Gnosis Protocol v2’s network of solvers that match orders in five minute batches and then submits the solution on chain (4-6-2021).

How it works

  1. "First, you no longer publish a fee-paying transaction to the public mempool. Instead, you sign a transaction and submit it off-chain to the CowSwap relayer, which handles all the execution. For you, this means you can safely set a very low slippage tolerance because you only ever pay a fee if your trade succeeds.
  2. Second, and this gets us to real innovation, CowSwap looks for so-called “coincidents of wants” or CoWs before sending your order to the regular on-chain exchanges. For example, if one trader wants to buy ETH at a certain price and another wants to sell it, these two can be matched without paying any LP fees. Off-chain solvers can look at this orderbook and submit optimal matchings that among others, guarantee that all trades in a certain batch have to settle at the same uniform price. Because there’s no point in reordering trades that have the same price, this also eliminates MEV as well.
  3. Only after all coincidents have been exhausted, CowSwap sends the rest of the order to the on-chain exchanges via smart routers like 1Inch"
  • From their FAQ (14-6-2021):

"Each executed order has a fee which is captured by the protocol. Part of the fee is paid to solvers [on Gnosis Protocol v2] (entities which provide order settlement solutions) to incentivize their participation.

The fee consists of the "base cost to execute the trade" and the "protocol fee" (although it is only exposed to the user as one fee). As a user, you are only signing a message to submit your trade and the underlying solver will end up submitting the transaction for you. Essentially you are paying this "base cost to execute the trade" aka "gas costs" with your sell token and the cost is already included in your price estimation. The protocol is currently subsidizing a portion of the gas costs, while the protocol fee is currently switched off.

Note that you will only have to pay fees IF your trade is executed. No more gas-costs on any failed transactions!"

Fees

Upgrades

"Today is an important day as CowSwap will upgrade to audited smart contracts that include a tight integration with Balancer’s new vault architecture. This upgrade will mark the evolution of CowSwap from Alpha to its final stable version, its first stable and audited version."

Staking

Validator Stats

Liquidity Mining

Scaling

Interoperability

Other Details

Privacy Method

Compliance

Oracle Method

Their Other Projects

Roadmap

  • Can be found [Insert link here].

Usage

Projects that use or built on it

Competition

Pros and Cons

Pros

Cons

Team, Funding, Partnerships, etc.

Team

Funding

Partners

(:

Knowledge empowers all and will help us get closer to the decentralised world we all want to live in!

Making these free wiki pages is fun but takes a lot of effort and time.

If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.

ETH tip address: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31

Also check out CoinTr.ee for more content.