diff --git a/src/utils/smart_contract_files/P2PIX.json b/src/utils/smart_contract_files/P2PIX.json index 4f9f7ec..34e712f 100644 --- a/src/utils/smart_contract_files/P2PIX.json +++ b/src/utils/smart_contract_files/P2PIX.json @@ -270,25 +270,6 @@ "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "_addr", - "type": "address" - } - ], - "name": "_castAddrToKey", - "outputs": [ - { - "internalType": "uint256", - "name": "_key", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, { "inputs": [ { diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index ca8dbcd..a45b568 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -32,10 +32,6 @@ const confirmBuyClick = async ({ selectedDeposit, tokenValue }: any) => { const depositId = selectedDeposit.depositID; pixTarget.value = selectedDeposit.pixKey; tokenAmount.value = tokenValue; - // depositId is BigNumber type object - tokenAmount.value = tokenValue; - - pixTarget.value = String(depositDetail?.pixTarget); // Makes lock with deposit ID and the Amount if (depositDetail) {