Skip to content

Commit

Permalink
add custom rule price data
Browse files Browse the repository at this point in the history
  • Loading branch information
pdp2121 committed Nov 14, 2024
1 parent 90288ff commit cea7f45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shared/transactions/oracle_set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ components:
Not included if the last update transaction didn't include the BaseAsset/QuoteAsset pair.
minimum: 0
maximum: 10
x-custom-validation:
mutualPresence:
- field1: AssetPrice
field2: Scale

OracleSetErrorCode:
$id: OracleSetErrorCode
Expand Down

0 comments on commit cea7f45

Please sign in to comment.