$ yarn
$ yarn prepare:selected network
$ yarn codegen
$ make up
$ make create-local
$ make deploy-local
Testing: http://localhost:8000/subgraphs/name/abracadabra-subgraph/graphql
Popsicle Finance works on networks such as Ethereum
and Arbitrum
.
You can see the configurations for each network here ./deployments/*.json
;
PopsicleV3Optimizer
└── events
└── Deposit(indexed address,indexed address,uint256,uint256,uint256)
└── CollectFees(uint256,uint256,uint256,uint256)
└── Withdraw(indexed address,indexed address,uint256,uint256,uint256)
Set the authorization code that links your account on thegraph.com:
yarn auth <access-token>
Deploy the subgraph to the TheGraph Studio:
yarn deploy <subgraph-name>