Roadmap:
- fetch token information
- discover when contract was created
- fetch token liquidity pair
- [] fetch token swaps
- [] listen for swaps via socket
fetch token swaps process:
- input: token address
- get token liquidity pool address
- find out when the contract was created
- fetch swaps from the day it was created
- update datbase
- listen for swaps on socket
notes:
- handle edge cases for all functions
bugs:
- search address first transaction may take more than 1 try to get result (?)
- find a better way to incorporate api keys, especially in the etherscan search addrs first tx function