Refactored variable names to be concise.

This commit is contained in:
Filipe Soccol
2025-06-27 16:34:29 -03:00
parent cf61f5ecfd
commit 81c8b04c7a
6 changed files with 24 additions and 22 deletions

View File

@@ -38,7 +38,7 @@ const selectedDeposits = ref<ValidDeposit[]>();
import ChevronDown from "@/assets/chevronDown.svg";
import { useOnboard } from "@web3-onboard/vue";
import { getPixKey } from "@/blockchain/events";
import { getParticipantID } from "@/blockchain/events";
// Emits
const emit = defineEmits(["tokenBuy"]);
@@ -54,7 +54,7 @@ const emitConfirmButton = async (): Promise<void> => {
(d) => d.network === Number(networkName.value)
);
if (!deposit) return;
deposit.pixKey = await getPixKey(deposit.seller, deposit.token);
deposit.participantID = await getParticipantID(deposit.seller, deposit.token);
emit("tokenBuy", deposit, tokenValue.value);
};