From 4b237903e344ab98fbbce5b24cf1b4f7444d772e Mon Sep 17 00:00:00 2001 From: trizin <25263018+trizin@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:38:40 +0300 Subject: [PATCH] fix convert --- src/mappings/utils/tokenUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mappings/utils/tokenUtils.ts b/src/mappings/utils/tokenUtils.ts index 536a57b..7479a64 100644 --- a/src/mappings/utils/tokenUtils.ts +++ b/src/mappings/utils/tokenUtils.ts @@ -372,7 +372,7 @@ export function createPredictContract(address: Address): PredictContract { predictContract.secondsPerEpoch = BigInt.fromI32(contractData.secondsPerEpoch) predictContract.secondsPerSubscription = BigInt.fromI32(contractData.secondsPerSubscription) predictContract.truevalSubmitTimeout = BigInt.fromI32(contractData.truevalSubmitTimeout) - predictContract.stakeToken = contractData.stakeToken + predictContract.stakeToken = Address.fromString(contractData.stakeToken) predictContract.txId = contractData.txId predictContract.timestamp = contractData.timestamp predictContract.block = contractData.block