demis1997 / Spot-Price-Oracle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To run this use anvil to fork with the following command:

anvil --fork-url https://mainnet.infura.io/v3/YOUR-API-KEY-HERE

and then use the following to test and view the logs: forge test -vv --rpc-url http://127.0.0.1:8545

GetSpotPrice.sol meets assesment requirements and uses the interface GetSpotPriceAndPool.sol is an extra implementation i did that does not use your interface.

About


Languages

Language:Solidity 62.4%Language:JavaScript 29.8%Language:Ruby 7.3%Language:Shell 0.2%Language:Python 0.2%Language:Makefile 0.1%Language:Nix 0.0%