Skip to content

ControlCplusControlV/Arbitrage-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrage-Example

There were just no good up to date Uniswap V2 Arbitrage Examples so I made one

Test via

forge test --fork-url <RPC Node endpoint here>

Notes on Effiency

  • Rewrite in Yul+ since the repayment math does need to be safe but solidity safemath is horrible in effiency
  • getPair can be derived inside the contract through a function like this but including factory init code hash is confusing for people

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published