From 657f5135d0d8b8d5af2d6ed3c24738c86db7a54d Mon Sep 17 00:00:00 2001 From: Christian Blättler Date: Fri, 15 Mar 2024 12:25:14 +0100 Subject: DD46: move token_types to top level to reduce duplication --- design-documents/046-mumimo-contracts.rst | 8 ++++---- 1 file 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 -- cgit v1.2.3