commit 657f5135d0d8b8d5af2d6ed3c24738c86db7a54d parent df78b4db6eb5820cd3f2eab592c329777bbc28fd Author: Christian Blättler <blatc2@bfh.ch> Date: Fri, 15 Mar 2024 12:25:14 +0100 DD46: move token_types to top level to reduce duplication Diffstat:
| M | 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 @@ -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