import { multicall } from '../../utils' ; export const author = 'bonustrack' ; export const version = '0.1.0' ; const abi = [ 'function isVerifiedUser(address _user) external view returns (bool)' ] ; export async function strategy ( space , network , provider , addresses , options , snapshot ) { const blockTag = typeof snapshot === 'number' ? snapshot : 'latest' ; const response = await multicall ( network , provider , abi , addresses . map ( ( address ) => [ options . registry , 'isVerifiedUser' , [ address ] ] ) , { blockTag } ) ; return Object . fromEntries ( response . map ( ( value , i ) => [ addresses [ i ] , value [ 0 ] ? 1 : 0 ] ) ) ; }