Fork me on GitHub

Template empty-contract@0.1.1

Contract Ergo ^0.9.1 11c03318110bbaddab797330b5220bb83065211fa4b71705f89957e7822fd8bb

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": "e3c6cc3e-7ab4-4817-9398-77bddedb65b8"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "25284811-ee63-11e8-90b2-8532f3de0ed9"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "25282100-ee63-11e8-90b2-8532f3de0ed9",
    "timestamp": "2018-11-22T14:30:22.736Z"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "25284810-ee63-11e8-90b2-8532f3de0ed9",
    "timestamp": "2018-11-22T14:30:22.737Z"
}

Events Types

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