Empty Contract

empty-contract@0.6.0 Contract ^0.20.0 e21511a880d2ca03c1ce1b8bd0c874f31799d743ae04cd9c96bdfcc646a3f9b3

This is an empty contract template to get you started.

Download Archive Open in Template Studio

Empty contract template

This is an empty contract template to get you started.

Template Text

Grammar

Write your contract template here
====

Sample

# Write your contract template here

Sample Data

{
    "$class": "org.accordproject.empty.EmptyContract",
    "contractId": "e33d9076-74c8-40d3-89f1-33f6b8ee2bd1"
}

Template Model

Model Dependencies

Template Logic

Find the full logic for this template on on GitHub.

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "eb0c2e12-ff3e-11e9-b361-efc0ae54bdd6"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "eb0c2e10-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:50.801-05:00"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "eb0c2e11-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:50.801-05:00"
}

Events Types

Type Sample JSON
org.accordproject.base.Event
{
    "abstract": "this is an abstract type"
}

Technical Integration

Please refer to the Cicero documentation for details and examples of how to integrate a call to a Cicero template into your application.

View the Latest code for this template on GitHub.