The contracts for the ZK Data Hub are split in two versions:
- Axiom V1: The first version of the data hub, supporting Axiom V1 proofs.
- Axiom V2: The up to date version of the data hub, supporting Axiom V2 proofs.
The UniV3 TWAP oracle is implemented in the UniswapV3TwapOracle.sol contract.
$ forge build
$ forge test
$ forge fmt
$ forge snapshot
$ anvil
source .env
forge script script/deploy/UniswapV3TwapOracleDeploy.s.sol --rpc-url $GOERLI_RPC_URL --broadcast --verify
$ cast <subcommand>
$ forge --help
$ anvil --help
$ cast --help