Fork me on GitHub

Template empty-contract@0.1.0

Contract Ergo ^0.9.1 949992455c90b2d85ab1e5d8f95c93b098ccbaf289028d3c46c6d15e7476da0a

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.

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": "94cb7c7a-8b71-4c35-bfc4-1d23cecd9f2a"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "aafe5451-e15e-11e8-a452-73a4d9f836bb"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "aafe0630-e15e-11e8-a452-73a4d9f836bb",
    "timestamp": "2018-11-06T00:55:34.675Z"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "aafe5450-e15e-11e8-a452-73a4d9f836bb",
    "timestamp": "2018-11-06T00:55:34.677Z"
}

Events Types

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