Skip to content

Commit

Permalink
feat: add context property to wager ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Nov 2, 2023
1 parent 6c234c0 commit 0ee0f87
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 22 deletions.
2 changes: 2 additions & 0 deletions proto/sge/bet/ticket.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ message WagerTicketPayload {
repeated BetOddsCompact all_odds = 3;
// meta is metadata for bet placement
MetaData meta = 4 [ (gogoproto.nullable) = false ];
// context contains the data from services and just for processing purpose.
string context = 5;
}
97 changes: 75 additions & 22 deletions x/bet/types/ticket.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ee0f87

Please sign in to comment.