Template empty-contract@0.5.0

Contract ^0.13.0 106636063de0c05b05e7bc11001dd8508e082756e6af9bb518a79811ed44e1b1

This is an empty contract template to get you started.

Download Archive Open in Template Studio Open in VSCode Web

Empty contract template

This is an empty contract template to get you started.

Sample

            # Write your contract template here

          

Model Dependencies

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 on GitHub.

Sample Instance

{
    "$class": "org.accordproject.empty.EmptyContract",
    "contractId": "4f030ff5-49ca-40d3-bfce-8f03e8427da4"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "72585b60-9cce-11e9-9a6f-d5f6456622aa"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "72583450-9cce-11e9-9a6f-d5f6456622aa",
    "timestamp": "2019-07-02T09:36:50.709-04:00"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "72583451-9cce-11e9-9a6f-d5f6456622aa",
    "timestamp": "2019-07-02T09:36:50.709-04:00"
}

Events Types

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