From 3dbd38e9929a6b7fd5b83ff08defb2764bfaeb6f Mon Sep 17 00:00:00 2001 From: seandotau Date: Sun, 20 Aug 2023 11:36:05 +1000 Subject: [PATCH] Update arbitrum mappings file --- docs/quickstart/quickstart_chains/arbitrum.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/quickstart/quickstart_chains/arbitrum.md b/docs/quickstart/quickstart_chains/arbitrum.md index 141fec22f33..ef1fca98901 100644 --- a/docs/quickstart/quickstart_chains/arbitrum.md +++ b/docs/quickstart/quickstart_chains/arbitrum.md @@ -119,6 +119,9 @@ Mapping functions define how chain data is transformed into the optimised GraphQ Navigate to the default mapping function in the `src/mappings` directory. You will be able to see three exported functions: `handleBlock`, `handleLog`, and `handleTransaction`. Replace these functions with the following code: ```ts +import { Dividend, User } from "../types"; +import { ClaimDividendBatchLog } from "../types/abi-interfaces/WinrStakingAbi"; + async function checkGetUser(userID: string): Promise { let user = await User.get(userID.toLowerCase()); if (!user) {