From ff8d3d61d97b26bab779ff0854d3a747a73ee03c Mon Sep 17 00:00:00 2001 From: trizin <25263018+trizin@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:59:06 +0300 Subject: [PATCH] declare hardcodedcontractdata --- src/mappings/utils/tokenUtils.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/mappings/utils/tokenUtils.ts b/src/mappings/utils/tokenUtils.ts index 7479a64..09331fa 100644 --- a/src/mappings/utils/tokenUtils.ts +++ b/src/mappings/utils/tokenUtils.ts @@ -130,6 +130,20 @@ export function getErc20TemplateId(address: Address): BigInt { return BigInt.zero() } +declare const hardCodedContractData: { + [key: string]: { + token: string; + secondsPerEpoch: i32; + secondsPerSubscription: i32; + truevalSubmitTimeout: i32; + stakeToken: string; + txId: string; + timestamp: i32; + block: i32; + eventIndex: i32; + }; +}; + const hardCodedContractData = { "0x18f54cc21b7a2fdd011bea06bba7801b280e3151": { "token": "0x18f54cc21b7a2fdd011bea06bba7801b280e3151",