From 0a5f54fa74296fc086f0ebd1be756634ce75449c Mon Sep 17 00:00:00 2001 From: sirpy Date: Tue, 3 Dec 2024 14:15:10 +0200 Subject: [PATCH] fix: typescript error --- packages/sdk-js/src/goodcollective/goodcollective.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sdk-js/src/goodcollective/goodcollective.ts b/packages/sdk-js/src/goodcollective/goodcollective.ts index 7519a78..0d31d86 100644 --- a/packages/sdk-js/src/goodcollective/goodcollective.ts +++ b/packages/sdk-js/src/goodcollective/goodcollective.ts @@ -15,7 +15,7 @@ import { HelperLibrary } from '@gooddollar/goodcollective-contracts/typechain-ty // import { StoreMemory } from '@web3-storage/w3up-client/stores/memory'; // import * as Proof from '@web3-storage/w3up-client/proof'; // import { Signer } from '@web3-storage/w3up-client/principal/ed25519'; -import { Multicall, ContractCallResults, ContractCallContext, CallContext } from 'ethereum-multicall'; +import { Multicall, ContractCallResults, ContractCallContext } from 'ethereum-multicall'; import { PoolSettingsStruct } from '@gooddollar/goodcollective-contracts/typechain-types/contracts/UBI/UBIPool.ts'; export type NFTData = ProvableNFT.NFTDataStruct; @@ -373,7 +373,7 @@ export class GoodCollectiveSDK { { reference: 'nextClaimAmount', methodName: 'estimateNextDailyUBI()', methodParameters: [] }, { reference: 'ubiSettings', methodName: 'ubiSettings()', methodParameters: [] }, { reference: 'status', methodName: 'status()', methodParameters: [] }, - ].filter((_) => _ !== undefined) as CallContext[], + ].filter((_) => _ !== undefined) as ContractCallContext['calls'], }, { reference: `pooldetails_${addr}`,