Please report issues and contribute improvements on GitHub!

Template empty-contract@0.4.1

Contract ^0.12.0 3a99473b72cdeee0a9b6ed354c03251a9bb7419784e241d1ebb9172e241e8b3f

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": "b6b23c06-8d72-4c07-83e0-b733a9ff8c46"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "919cb070-60ab-11e9-ba69-a3cec1fc66e2"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "919c8960-60ab-11e9-ba69-a3cec1fc66e2",
    "timestamp": "2019-04-17T00:56:01.014+00:00"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "919c8961-60ab-11e9-ba69-a3cec1fc66e2",
    "timestamp": "2019-04-17T00:56:01.014+00:00"
}

Events Types

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