Please report issues and contribute improvements on GitHub!

Template empty-contract@0.2.0

Contract Ergo ^0.10.0 421b57fdf6bb29803450af88e65181e9a1a90573901d7f554e98fd710902a254

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": "7900ac88-9e26-4853-93c2-9d4e5696f012"
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "dfa4ccc0-152a-11e9-8d02-47431788edc9"
}

Request Types

Type Sample JSON
org.accordproject.empty.EmptyRequest
{
    "$class": "org.accordproject.empty.EmptyRequest",
    "transactionId": "dfa4a5b0-152a-11e9-8d02-47431788edc9",
    "timestamp": "2019-01-10T22:55:49.643Z"
}

Response Types

Type Sample JSON
org.accordproject.empty.EmptyResponse
{
    "$class": "org.accordproject.empty.EmptyResponse",
    "transactionId": "dfa4a5b1-152a-11e9-8d02-47431788edc9",
    "timestamp": "2019-01-10T22:55:49.643Z"
}

Events Types

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