From bc5c8e73385cb157049782c1fe4915c6f21fb7b8 Mon Sep 17 00:00:00 2001 From: Michael Wang <44713145+mzywang@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:03:37 -0500 Subject: [PATCH] add virtual token --- src/mappings/pricing.ts | 1 + subgraph.yaml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/mappings/pricing.ts b/src/mappings/pricing.ts index 55e7eed0..1b2454f6 100644 --- a/src/mappings/pricing.ts +++ b/src/mappings/pricing.ts @@ -21,6 +21,7 @@ let WHITELIST: string[] = [ '0x4200000000000000000000000000000000000006', // WETH '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913', // USDC '0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca', // USDbC + '0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b', // VIRTUAL ] const STABLECOINS: string[] = [ diff --git a/subgraph.yaml b/subgraph.yaml index 0682da2d..a0bd66f4 100644 --- a/subgraph.yaml +++ b/subgraph.yaml @@ -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