const e=require(`../../event-service/solana/AbstractSolanaAccessTokenSnapshotService.cjs`);require(`../../event-service/index.cjs`);const t=require(`../SnapshotFetcherService.cjs`);var n=class extends e.AbstractSolanaAccessTokenSnapshotService{snapshotsService;constructor(e,t){super(e),this.snapshotsService=t}async fetchSnapshot(){let{chainId:e}=this.solanaBlockchainEventEmitter;this.snapshotsService||=new t.SnapshotFetcherService(e,this.solanaBlockchainEventEmitter.programId.toString());let n=await this.snapshotsService.getAccessTokens();return{latestBlockNumber:n.latestBlockNumber,merkleTree:n.merkleTree,senderAddresses:n.senderAddresses,senderAddressIndexMap:n.senderAddressIndexMap}}persistSnapshot(e){return Promise.resolve()}};exports.ClientSolanaAccessTokenSnapshotService=n;