Empty Contract

empty-contract@0.5.1 Contract ^0.13.0 b95affa9098934d0d52a5a55a2f30e657c8b54b0be18c8cb449950e8d82252ea

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": "55f62201-0b39-4f68-b2c4-fcc3380431fb"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "28647071-b399-11e9-a415-2f2abeed0243"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "28644960-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:20.054-04:00"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "28647070-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:20.055-04:00"
}

Events Types

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