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
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.
The historical data is mostly taken via GraphProtocol subgraph
https://graph.ginete.in/subgraphs/name/matic/quickswap
https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2
https://api.thegraph.com/subgraphs/name/maticnetwork/mainnet-root-subgraphs
To get aToken -> maToken specific address mapping I called smartcontract of Aavegotchi ATokenRootChainManager.sol contract functions