Skip to content

Provide a way for a contract developer to explain typed data in natural language #2143

@davidyuk

Description

@davidyuk

The same as #1842, but for typed data

  entrypoint explain(td: typedData): string =
    let operation = String.concat("Perform a ", td.operation)
    let parameter = String.concat(" operation with parameter ", Int.to_str(td.parameter))
    String.concat(operation, parameter)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions