Set properly the deposit call on smart-contract.

This commit is contained in:
Filipe Soccol 2025-05-21 11:34:08 -03:00
parent 75c02ed1b9
commit 8a1dab4764

View File

@ -65,7 +65,7 @@ const addDeposit = async (): Promise<any> => {
abi, abi,
functionName: "deposit", functionName: "deposit",
args: [ args: [
sellerId.id, user.networkId + "-" + sellerId.id,
toHex("", { size: 32 }), toHex("", { size: 32 }),
getTokenAddress(user.selectedToken.value), getTokenAddress(user.selectedToken.value),
parseEther(user.seller.value.offer.toString()), parseEther(user.seller.value.offer.toString()),