Open ezesundayeze opened 2 years ago
Use Byte32 instead of strings. It's cheaper to use bytes, plus it will run an internal conversion, so it'll work perfectly.
https://github.com/ajibadeabd/multiSwap/blob/cb04b55de2758a0fdebecbbac71e6288e7bdffb8/contracts/EthFarm.sol#L14
Byte32
bytes32 you mean?? "cheaper to use bytes"? nice. will impelent that
Byte32 bytes32 you mean?? "cheaper to use bytes"? nice. will impelent that
yea, bytes32
Use Byte32 instead of strings. It's cheaper to use bytes, plus it will run an internal conversion, so it'll work perfectly.
https://github.com/ajibadeabd/multiSwap/blob/cb04b55de2758a0fdebecbbac71e6288e7bdffb8/contracts/EthFarm.sol#L14