Hello , i wanted to ask why when i check every Lock Liquidity Smart Contract it had a proxy inside is that a for security reasons or is it only for solidity bug fixes in the future ? also how can i build something like unicrypt liquidity lock token where users can lock their liquidity to be able to keep their investors safe ?
The purpose of a proxy is allowing you to upgrade the implementation of your contract:
- Without changing the actual contract which your users interact with
- Without having to migrate (copy) all the stored data to the new contract
The reasons for upgrading your contract may include:
- Fixing a bug
- Adding a new feature
- Removing an existing feature
- Improving performance (reducing gas cost)
1 Like
this is cool , i need to learn about proxies , looks interesting to learn , do you have an example for liquidity lock smart contract i wanted to study this type of smart contract because it can give me some experience , thank you