ionsElement = document.getElementById('shareCalculations');
            const outcome1 = shareCalculationsElement.dataset.outcome1;
            const outcome2 = shareCalculationsElement.dataset.outcome2;
            const cost1 = parseFloat(shareCalculationsElement.dataset.cost1);
            const cost2 = parseFloat(shareCalculationsElement.dataset.cost2);

            try {
                const bet1 = await placeBet({
                    contractId: market1.id,
                    outcome: outcome1,
    