Skip to content

Commit

Permalink
fix: typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpy committed Dec 3, 2024
1 parent 2f8d18d commit 0a5f54f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sdk-js/src/goodcollective/goodcollective.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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}`,
Expand Down

0 comments on commit 0a5f54f

Please sign in to comment.