const { Personal, xAuto, xVault } = await setupSdk(privateKey, chainId, protocolName);
if (protocolName === 'xAuto') {
const receipt = await xAuto.withdraw("BUSD", totalBUSDAdmount)
block: receipt.blockNumber,
gasUsed: receipt.gasUsed,
tnxHash: receipt.transactionHash
if (protocolName === 'xVault') {
const receipt = await xVault.withdraw("BUSD", totalBUSDAdmount)
block: receipt.blockNumber,
gasUsed: receipt.gasUsed,
tnxHash: receipt.transactionHash