Skip to content

Query application contract for metadata #161

@guidanoli

Description

@guidanoli

The IApplication interface provides two view functions that could be called by the DaveConsensus contract to query key metadata:

  • getTemplateHash: the initial machine state hash
    • Also known as "template" hash
  • getDataAvailability: the data availability solution used by the application
    • The only currently supported option is the on-chain InputBox contract

This would remove the need to pass this information as construction arguments to the DaveConsensus contract, and require the application developer to pass the correct information during construction of the Application contract.

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