Skip to content

Commit

Permalink
Move offer messages to snowblossom
Browse files Browse the repository at this point in the history
  • Loading branch information
fireduck64 committed Aug 30, 2020
1 parent 36692b4 commit bfeab2e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions protolib/util.proto
Expand Up @@ -76,6 +76,24 @@ message SymmetricKey {
}


message Offer
{
enum OfferMode {
UNDEFINED = 0;
FOREVER_ACCESS = 1;
}
OfferMode offer_mode = 10;
string offer_id = 11;
map<string, OfferCurrency> 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
Expand All @@ -89,3 +107,4 @@ message OfferAcceptance {
bytes refund_addr_spec_hash = 5;
}


0 comments on commit bfeab2e

Please sign in to comment.