require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../types/circom-data.types.cjs`),t=require(`../../functions/web3/functionCalls/transactCallDirectTron.cjs`),n=require(`./prepareDepositOnChainUtxosZkProof.cjs`);let r=require(`ethers`);var i=async(i,a,o,s,c,l)=>{let{zkCallData:u,circomData:d,dimData:f,totalAmount:p,utxoAmounts:m,hinkalWrapperAddress:h,hinkalWrapperABI:g}=await n.prepareDepositOnChainUtxosZkProof(i,a,o,s,c,{hookData:{...e.defaultHookData,preHookMetadata:r.ethers.hexlify(r.ethers.toUtf8Bytes(JSON.stringify({orderId:l})))}});return{unsignedTx:await t.buildTronUnsignedTransactTransaction(i,a,p,o,u,d,f,h,g),utxoAmounts:m}};exports.hinkalPalTronDepositPrepare=i;