Empty clause template
This is an empty clause template to get you started.
This is an empty clause template to get you started.
This is an empty clause template to get you started.
# Write your clause template here
Write your clause template here
====
{
"$class": "org.accordproject.empty.EmptyClause",
"clauseId": "623195c0-00a2-409b-96dc-57e812a93526"
}
namespace org.accordproject.empty
import org.accordproject.cicero.contract.* from https://models.accordproject.org/cicero/contract.cto
import org.accordproject.cicero.runtime.* from https://models.accordproject.org/cicero/runtime.cto
// Template model
asset EmptyClause extends AccordClause {
}
// Request
transaction EmptyRequest extends Request {
}
// Response
transaction EmptyResponse extends Response {
}
Find the full logic for this template on on GitHub.
Type | Sample JSON |
---|---|
org.accordproject.cicero.contract.AccordContractState |
|
Type | Sample JSON |
---|---|
org.accordproject.empty.EmptyRequest |
|
Type | Sample JSON |
---|---|
org.accordproject.empty.EmptyResponse |
|
Type | Sample JSON |
---|---|
org.accordproject.base.Event |
|
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 GitHub.