- Unlocked pragma Locking the pragma helps to ensure that contracts do not accidentally get deployed using, for example, an outdated compiler version that might introduce bugs that affect the contract system negatively. ex: pragma solidity ^0.8.4;
pragma solidity =0.8.4;