Currently, to write a contract using freenet-scaffold
, you need to both write the ComposableState
s and the ContractInterface
impl. If the contract has only a single root composableState
, this impl will be the same every time. I think it would be a good idea to provide a standard Contract<T: CompostbleState>
to remove the boilerplate.