Please report issues and contribute improvements on GitHub!

Template empty-contract@0.3.0

Contract Ergo ^0.11.1 6568e8138c74aee006dd8f2b3d32b4662721b64f9a063bf99001a74252c49fbf

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": "5c3f7e42-2b70-4049-8451-28d02d795bc2"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "26ab8b40-4bae-11e9-8561-af645d56312b"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "26ab6430-4bae-11e9-8561-af645d56312b",
    "timestamp": "2019-03-21T07:51:35.667+00:00"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "26ab6431-4bae-11e9-8561-af645d56312b",
    "timestamp": "2019-03-21T07:51:35.667+00:00"
}

Events Types

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