The logic for a template is written as a set of Ergo functions. The Ergo functions are
invoked by the engine when transactions are received for processing and return a response. Both the
incoming requests and responses are modeled types.

Please visit https://docs.accordproject.org to learn more about how to create your own templates and how to use the Ergo domain specific language to describe the logic of a Smart Clause® template.