Skip to content

Commit

Permalink
format and fix dex comment
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Dec 20, 2023
1 parent c77b3c3 commit 126a015
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions proto/neutron/dex/limit_order_tranche.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@ message LimitOrderTranche {
(gogoproto.nullable) = false,
(gogoproto.jsontag) = "total_taker_denom"
];
// GoodTilTime is represented as seconds since January 1, year 1, 00:00:00.00
// UTC LimitOrders with goodTilDate set are valid as long as blockTime <=
// goodTilDate
// JIT orders also use goodTilDate to handle deletion but represent a special
// case All JIT orders have a goodTilTime of 0 and an exception is made to
// still treat these orders as live Order deletion still functions the
// same and the orders will be deleted at the end of the block
// expiration_time is represented as an RFC 3339 formatted date.
// LimitOrders with expiration_time set are valid as long as blockTime <= expiration_time.
// JIT orders also use expiration_time to handle deletion, but represent a special case.
// All JIT orders have an expiration_time of 0, and an exception is made to
// still treat these orders as live. Order deletion still functions the
// same, and the orders will be deleted at the end of the block.
google.protobuf.Timestamp expiration_time = 6 [
(gogoproto.stdtime) = true,
(gogoproto.nullable) = true
Expand Down

0 comments on commit 126a015

Please sign in to comment.