Skip to content

Autonomy-Network/uniV2-limits-stops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uniV2-limit-stop

Autonomy Network is a protocol for decentralised automation. The Autonomy contracts themselves can be found here.

In order to automate something with a condition using Autonomy, that condition needs to be codified in a wrapper contract around the target contract. This repo is an example of that - used in production to add limit orders and stop losses to UniswapV2. Only 1 instance of this contract needs to be deployed per blockchain, since it can be used for limits and stops to anything that fits the UniswapV2 interface - such as any UniswapV2 fork, which most DEXes are.

This repo uses brownie (v1.15.2) to test. These tests use the real Ethereum mainnet to test, so you'll need an API code from someone like Infura or Alchemy. To run these tests, use brownie test --network mainnet-fork.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published