Skip to content

Add generic ContractInterface implementation for contracts built from only ComposableState #1

@nemonical

Description

@nemonical

Currently, to write a contract using freenet-scaffold, you need to both write the ComposableStates 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions