CoW Swap's ERC1271 for DAOs (Buidl better tools for DAOs to manage or automate their treasury management)

Description

Number of Bounties:

This bounty will be distributed according to the amount and quality of submissions.

CoW Protocol is the only trading protocol designed with DAOs in mind. This is why it's the best way for DAOs to engage with it, since the world of possibilities that it has to offer is endless. Since ETH Denver is THEE conference of DAOs, we thought it was right to focus on enabling DAOs to go to their next level. With ERC-1271 integration into CoW Protocol, DAOs, smart contracts and the combination of both, are now able to sign messages as if they were EOAs (Externally Owned Accounts, like MetaMask). On CoW Swap, EOA users never pay for failed transactions because they sign messages to place their orders — but smart contracts don’t get these same benefits, since (before ERC-1271) they must place their order with an on-chain transaction (by calling the preSignature method). While this might have been a stopper in the past, using ERC1271 allows anyone to build any sort of tools that eases the management of DAO treasuries, their trading strategies, or even their buyback programs. We will award $7500 to the team that builds the most-creative demo of ERC-1271 automation tools for DAOs to be able to place orders on CoW Protocol – i.e. stop losses, Time Weighted Average Price (TWAP) orders, Good After Time (GAT) orders, etc. Attach a front end to the product and earn an extra $2500!

Acceptance criteria

Submit a working demo (making a swap on a testnet) with the corresponding github repo to check all the relevant code parts.

Rewards

10000 reward pool

Resources

CoW Hackathon Success Guide
https://cownation.notion.site/CoW-Hackathon-Success-Guide-170b7dedb090458a8ec21fef79b0c8cf
Docs
https://docs.cow.fi
SDK Docs
https://docs.cow.fi/cow-sdk
Smart Orders Repo
https://github.com/nlordell/dappcon-2022-smart-orders
Smart Orders How To
https://docs.cow.fi/tutorials/how-to-place-erc-1271-smart-contract-orders
Smart Orders Tutorial
https://cow-protocol.medium.com/tutorial-creating-smart-orders-on-cow-protocol-683a5f9f4763
Discord
https://discord.gg/cowprotocol
Bounty video
Judging video