diff --git a/protolib/util.proto b/protolib/util.proto index ccd36444..c61bed78 100644 --- a/protolib/util.proto +++ b/protolib/util.proto @@ -76,6 +76,24 @@ message SymmetricKey { } +message Offer +{ + enum OfferMode { + UNDEFINED = 0; + FOREVER_ACCESS = 1; + } + OfferMode offer_mode = 10; + string offer_id = 11; + map offer_price = 12; + +} + +message OfferCurrency +{ + double price = 1; + string address = 2; +} + // To be stuffed in extra field of transaction message OfferAcceptance { bytes offer_id = 1; // Identifier of the offer accepted @@ -89,3 +107,4 @@ message OfferAcceptance { bytes refund_addr_spec_hash = 5; } +