Please report issues and contribute improvements on GitHub!

Template empty-contract@0.4.0

Contract ^0.12.0 23ea86ace9361c16f4b1d71729bc293d7aeee94cb38f3275a8a7e38bd14da719

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": "29971d67-2f55-4873-b185-3d3fb967aefd"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "c669d372-575d-11e9-9ffa-db0629e5d319"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "c669d370-575d-11e9-9ffa-db0629e5d319",
    "timestamp": "2019-04-05T00:46:28.391-04:00"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "c669d371-575d-11e9-9ffa-db0629e5d319",
    "timestamp": "2019-04-05T00:46:28.391-04:00"
}

Events Types

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