Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add virtual token #178

Draft
wants to merge 1 commit into
base: 04-17-update_network_to_base
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/mappings/pricing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ let WHITELIST: string[] = [
'0x4200000000000000000000000000000000000006', // WETH
'0x833589fcd6edb6e08f4c7c32d4f71b54bda02913', // USDC
'0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca', // USDbC
'0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b', // VIRTUAL
]

const STABLECOINS: string[] = [
Expand Down
5 changes: 5 additions & 0 deletions subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ description: Uniswap is a decentralized protocol for automated token exchange on
repository: https://github.com/Uniswap/uniswap-v2-subgraph
schema:
file: ./schema.graphql
features:
- grafting
graft:
base: Qmf9xghXpYYNf3upz6p77kzeEcKszFWY2ETED87PpuinYm
block: 11817009
dataSources:
- kind: ethereum/contract
name: Factory
Expand Down