require(`../../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../functions/utils/amounts.utils.cjs`),t=require(`../../functions/pre-transaction/solana.cjs`);let n=require(`@solana/web3.js`);var r=async(r,i,a,o)=>{for(let s=0;s<a.length;s+=1){let c=t.getTokenLimitStorageAccountPublicKey(r.programId,i,new n.PublicKey(a[s]));if(!await r.provider.connection.getAccountInfo(c,`confirmed`))continue;let l=BigInt((await r.account.tokenLimitStorageAccount.fetch(c,`confirmed`)).amountLimit.toString());if(l!==0n&&e.absBigInt(o[s])>l)return!0}return!1};exports.hinkalCheckSolanaTokenRegistry=r;