Zonic Smart Contract Scheduled for Upgrade #1 (Feb 17th)

Zonic : NFT Marketplace for L2
ZonicApp
2 min readFeb 17, 2023

--

We have made two updates to our smart contract code as listed below:

  1. Added a check of the new owner address once the offered token (NFT) is transferred to the buyer’s wallet. This is to prevent an attacker from creating a smart contract that does not transfer the buyer an NFT once the sale is made.
  2. We discovered that the current method we use to transfer Eth once the sale is made, payable.transfer, would fail to call if the creator fee wallet set is a multisig one. Hence, we changed it to payable.call, which is the more preferable method to do the task.

The upgrade is scheduled to be deployed on February 17 at 10:00 A.M. (GMT), which is within the next 5 hours.

Please note that our marketplace’s smart contract is now being deployed as an upgradable proxy contract. We are aware that there is some risk of the smart contract being upgraded to a malicious one at any time, either by the admin or anyone if the private key is compromised. Hence, we have kept the private key encrypted and as safe as possible.

At some point in the near future, once every single feature in the plan is implemented, including bulk buy and offer, we will change the admin address to the blackholed one to prevent further upgrades in the future.

--

--