From b91a4065257e1df0a7f6d3f8bc1cbe91a57aac00 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 11 Apr 2022 19:22:30 +0200 Subject: -finish first implementaation of exchange_api_contracts_get.c --- src/util/crypto_contract.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/util/crypto_contract.c') diff --git a/src/util/crypto_contract.c b/src/util/crypto_contract.c index 026eec311..30fdec789 100644 --- a/src/util/crypto_contract.c +++ b/src/util/crypto_contract.c @@ -24,6 +24,20 @@ #include "taler_exchange_service.h" +/** + * Different types of contracts supported. + */ +enum ContractFormats +{ + /** + * The encrypted contract represents a payment offer. The receiver + * can merge it into a reserve/account to accept the contract and + * obtain the payment. + */ + TALER_EXCHANGE_CONTRACT_PAYMENT_OFFER = 0 +}; + + /** * Nonce used for encryption, 24 bytes. */ -- cgit v1.2.3