summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Blättler <blatc2@bfh.ch>2024-03-15 12:25:14 +0100
committerChristian Blättler <blatc2@bfh.ch>2024-03-15 12:25:14 +0100
commit657f5135d0d8b8d5af2d6ed3c24738c86db7a54d (patch)
tree1c692d55c74f6ef7940e2643d906086a9b092445
parentdf78b4db6eb5820cd3f2eab592c329777bbc28fd (diff)
downloaddocs-657f5135d0d8b8d5af2d6ed3c24738c86db7a54d.tar.gz
docs-657f5135d0d8b8d5af2d6ed3c24738c86db7a54d.tar.bz2
docs-657f5135d0d8b8d5af2d6ed3c24738c86db7a54d.zip
DD46: move token_types to top level to reduce duplication
-rw-r--r--design-documents/046-mumimo-contracts.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/design-documents/046-mumimo-contracts.rst b/design-documents/046-mumimo-contracts.rst
index 7d234110..714b5822 100644
--- a/design-documents/046-mumimo-contracts.rst
+++ b/design-documents/046-mumimo-contracts.rst
@@ -209,6 +209,10 @@ The contract terms v1 will have the following structure:
// signing the deposit confirmation.
choices: ContractChoice[];
+ // Map from authority labels to meta data about the
+ // respective token authority.
+ token_types: { [authority_label: string]: TokenAuthority };
+
// Extra data that is only interpreted by the merchant frontend.
// Useful when the merchant needs to store extra information on a
// contract without storing it separately in their database.
@@ -234,10 +238,6 @@ The contract terms v1 will have the following structure:
// once the contract is paid.
outputs: ContractOutput[];
- // Map from authority labels to meta data about the
- // respective token authority.
- token_types: { [authority_label: string]: TokenAuthority };
-
}
.. ts:def:: ContractInput