Closed rainbreak closed 8 years ago
This was a library before but changed to a contract because libraries can't hold non constant state. We want some constant state in the form of pre-computed byte arrays, but arrays cannot be constant at present in Solidity.
Once it is a library again we can use using for and a custom transaction struct to do all sorts of fancy things.
using for
Implemented.
This was a library before but changed to a contract because libraries can't hold non constant state. We want some constant state in the form of pre-computed byte arrays, but arrays cannot be constant at present in Solidity.