← Back to home

CAT

CAT allows you to observe the historical price margins of ERC20 tokens between Ethereum Mainnet and Matic chain (and QuickSwap). This is going to be the port of similar project I did for Mainnet-xDAI at https://github.com/makoto/xdai-arb-graph a

Screenshots

CAT screenshot 1
CAT screenshot 2
CAT screenshot 3

Problem Statement

With the rise of Ethereum high gas price, making any transaction is becoming harder and harder. This started giving opportunities for layer 2/side chain providers to bring liquidity. The more tokens cross chains there will be artibrage opportunities across DEXes but it is hard to find out where opportunities lie.CAT provides 2 basic functions.Shows daily price gap of tokens between Ethereum and MaticSimulate maximum profit

Solution

The historical data is mostly taken via GraphProtocol subgraphhttps://graph.ginete.in/subgraphs/name/matic/quickswaphttps://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2https://api.thegraph.com/subgraphs/name/maticnetwork/mainnet-root-subgraphsTo get aToken -> maToken specific address mapping I called smartcontract of Aavegotchi ATokenRootChainManager.sol contract functions

Hackathon

MarketMake

2024

Contributors