├── .gitignore ├── README.md ├── package.json ├── src ├── arbitrage.ts ├── bellman-ford.ts ├── constants.ts ├── dex_queries │ ├── sushiswap.ts │ └── uniswap.ts ├── graph_library │ ├── Comparator.ts │ ├── Graph.ts │ ├── GraphEdge.ts │ ├── GraphVertex.ts │ ├── LinkedList.ts │ └── LinkedListNode.ts ├── program.ts └── utils.ts ├── tsconfig.json └── uniV3_calls.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | package-lock.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/package.json -------------------------------------------------------------------------------- /src/arbitrage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/arbitrage.ts -------------------------------------------------------------------------------- /src/bellman-ford.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/bellman-ford.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/dex_queries/sushiswap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/dex_queries/sushiswap.ts -------------------------------------------------------------------------------- /src/dex_queries/uniswap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/dex_queries/uniswap.ts -------------------------------------------------------------------------------- /src/graph_library/Comparator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/graph_library/Comparator.ts -------------------------------------------------------------------------------- /src/graph_library/Graph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/graph_library/Graph.ts -------------------------------------------------------------------------------- /src/graph_library/GraphEdge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/graph_library/GraphEdge.ts -------------------------------------------------------------------------------- /src/graph_library/GraphVertex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/graph_library/GraphVertex.ts -------------------------------------------------------------------------------- /src/graph_library/LinkedList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/graph_library/LinkedList.ts -------------------------------------------------------------------------------- /src/graph_library/LinkedListNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/graph_library/LinkedListNode.ts -------------------------------------------------------------------------------- /src/program.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/program.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/benleim/pathfinder/HEAD/tsconfig.json -------------------------------------------------------------------------------- /uniV3_calls.js: -------------------------------------------------------------------------------- 1 | /** 2 | * TODO: Logic for interacting with UniV3 on-chain 3 | */ --------------------------------------------------------------------------------