From 050ac7c2f96ff55777994e042aecca5e71239905 Mon Sep 17 00:00:00 2001 From: Tempe Techie <95053628+tempe-techie@users.noreply.github.com> Date: Mon, 2 Oct 2023 09:57:56 +0200 Subject: [PATCH] new minter contract, free domains disabled --- src/App.vue | 2 -- src/store/modules/tld.ts | 8 ++------ src/views/Home.vue | 4 +--- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/App.vue b/src/App.vue index 02428e5..021900a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -108,7 +108,6 @@ export default { watch: { address(newVal, oldVal) { if (newVal) { - this.checkUserDomainBalance(); this.setUserData(); this.fetchUserDomainNames(true); this.checkIfAdmin(); @@ -121,7 +120,6 @@ export default { } if (this.chainId >= 1) { - this.checkUserDomainBalance(); this.setUserData(); this.setNetworkData(); this.fetchUserDomainNames(true); diff --git a/src/store/modules/tld.ts b/src/store/modules/tld.ts index b2fcec1..bdb0dda 100644 --- a/src/store/modules/tld.ts +++ b/src/store/modules/tld.ts @@ -18,7 +18,7 @@ export default { tldContract: null, tldChainId: 324, tldChainName: "zkSync Era", - minterAddress: "0x346F859312527e5B2f34C22b645015e8764c0B14", // TODO + minterAddress: "0x0453B90095E756427392980B7a6430d0dbD5611b", // TODO minterContract: null, minterLoadingData: false, minterPaused: true, @@ -74,11 +74,7 @@ export default { return state.minterTldPrice4; }, getMinterTldPrice5(state) { - if (isActivated.value && state.balance > 0) { - return state.minterTldPrice5; - } else { - return 0; - } + return state.minterTldPrice5; }, getReferralFee(state) { return state.referralFee; diff --git a/src/views/Home.vue b/src/views/Home.vue index b146863..75cdbf9 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -117,8 +117,7 @@