Migrate Code Mitigation

Why we kept Migrator code in MasterHunter.sol

https://bscscan.com/address/0x72F8fE2489A4d480957d5dF9924166e7a8DDaBBf#code

Allows easy movement of Liquidity Pairs when there is a need of smart contract upgrade in future.

For the same reason, even our Audit company Hacken didn’t comment on this

Though we kept for good intention, some users thought this will be dangerous and we decided to mitigate this by following way

We have disabled ‘Migrator code’ in our DEX smart contracts by disallowing setting the migrator address by owner and also disabled code to ‘reclaim LEON Ownership’

No one can call setMigrator function and that means no more migrate functionality (No way to move Liquidity Pairs).

This solution is far far better than timelock which some DEX projects implemented and also no disturbance to present dex deployed smart contracts.

MasterHunter.sol ownership is transferred to smart contract address 0xc1B66475598dabb3dBC627D040Fbc9E1161b4D8b

and it has only 7 Write functions
https://bscscan.com/address/0xc1b66475598dabb3dbc627d040fbc9e1161b4d8b#writeContract

Website: https://www.leonicornswap.com/
DEX: https://dex.leonicornswap.com/
Twitter: https://twitter.com/swapleonicorn
Telegram: https://t.me/leonicornswap

--

--

--

LEONICORN SWAP is a advance AMM with deflationary token model

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Staking on Terra: Delegate for Good

Peer-to-peer transactions are possible and make sense

Key Concepts of the Blockchain

How your Cow NFT makes you money in COWPARK.

Utility tokens: definition, difference from security tokens, and why this matters to regulators…

A blockchain is basically/essentially a digital ledger of transactions that is duplicated and…

English Forward and KEY Foundation Become Partners in Education

Arc Finance Value-added Protocol

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
LEONICORN SWAP

LEONICORN SWAP

LEONICORN SWAP is a advance AMM with deflationary token model

More from Medium

Exchange 2016 CU9: Virtual Directory errors (HTTP 500) and ASP.NET Event ID 1310

CS 371p Spring 2022: Guan Lin Wee (Week 2)

IMPORTANT ANNOUNCEMENT ON RELEASING NEW GAME FEATURES

WORKED ON BACKEND OF THE CLONE OF “1mg.com” (tata1mg)