ajibadeabd / multiSwap

MIT License
0 stars 0 forks source link

String #6

Open ezesundayeze opened 2 years ago

ezesundayeze commented 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

ajibadeabd commented 2 years ago

Byte32

bytes32 you mean?? "cheaper to use bytes"? nice. will impelent that

ezesundayeze commented 2 years ago

Byte32

bytes32 you mean?? "cheaper to use bytes"? nice. will impelent that

yea, bytes32