Skip to content

Commit

Permalink
feat: add expiration index
Browse files Browse the repository at this point in the history
  • Loading branch information
technicallyty committed Jan 26, 2022
1 parent 1bc8162 commit f5c3d3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proto/regen/ecocredit/v1beta1/marketplace/state.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ message SellOrder {
primary_key: {fields: "order_id"}
index: {id: 1 fields: "batch_denom"}
index: {id: 2 fields: "owner"}
index: {id: 3 fields: "expiration"}
};

// order_id is the unique ID of sell order.
Expand Down Expand Up @@ -50,6 +51,7 @@ message BuyOrder {
id: 2,
primary_key: {fields: "buy_order_id"}
index: {id: 1 fields: "buyer"}
index: {id: 2 fields: "expiration"}
};

// Selection defines a buy order selection.
Expand Down

0 comments on commit f5c3d3d

Please sign in to comment.