ajibadeabd / multiSwap

MIT License
0 stars 0 forks source link

Uint #3

Open ezesundayeze opened 2 years ago

ezesundayeze commented 2 years ago

https://github.com/ajibadeabd/multiSwap/blob/cb04b55de2758a0fdebecbbac71e6288e7bdffb8/contracts/EthFarm.sol#L86

While Uint and uint256 are the same in solidity, it is considered the best practice to use uint256 to remind anyone looking at your code that your uint is uint256

If you are using the latest version of solidity you can also use uint8 for this operation as it might cost you less gas.