"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@argent/x-shared"),r=require("react"),e=require("starknet"),o=(a,t)=>r.useMemo(()=>a&&t?[{contractAddress:a.address,entrypoint:"transfer",calldata:e.CallData.compile({recipient:t,amount:n.getUint256CalldataFromBN(a.balance)})}]:[],[a,t]);exports.useMaxAmountTransaction=o;
