[Solidity] Compress input in smart contract

Yi-Cyuan Chen
JOYSO
Published in
May 7, 2018

We moved! Find the content on the new site! 👈

In the process of developing JOYSO, because we want to be able to achieve matching function, we have implemented a function that can input multiple orders. As more and more features are added to our function and more and more arguments are required to ensure contractual fairness, such as miners’ fees, taker’s fee, maker’s fee and payment method of fee. We encounter to the variable too much and can not compile, and a lot of data consumed gas has also become a problem.

…

--

--