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 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": "7212283a-6b9a-48ef-bc05-f3c63108740a"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "1c30fc51-8942-11e9-b9ba-87d1cf618bec"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "1c30d540-8942-11e9-b9ba-87d1cf618bec",
    "timestamp": "2019-06-07T12:34:24.532-04:00"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "1c30fc50-8942-11e9-b9ba-87d1cf618bec",
    "timestamp": "2019-06-07T12:34:24.533-04:00"
}

Events Types

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