Skip to content

SocketDotTech/cowswap-approve-and-bridge-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Approve and Bridge

Caution

This is a proof of concept, not a production-ready contract! It needs to be properly reviewed and audited before actually using it.

A helper contract to support the swap-and-bridge feature through CoW Protocol.

Each supported bridge has its own dedicated helper contract.

The helper contract is intended to be delegatecalled from a CoW Shed contract instance. See the forked tests in test/e2e/ for usage details.

Development

Build

forge build

Test

forge test

Format

forge fmt

Gas Snapshots

forge snapshot

Deploy

forge script script/Deploy.s.sol:DeployScript --rpc-url <your_rpc_url> --private-key <your_private_key>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published