-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frank/prediction markets idl constants type (#198)
- Loading branch information
1 parent
018dec3
commit ae0c539
Showing
7 changed files
with
176 additions
and
10 deletions.
There are no files selected for viewing
Submodule protocol-v2
updated
59 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,3 +137,5 @@ | |
GOV_SPOT_MARKET_INDEX = 15 | ||
|
||
SWB_PRECISION = 10**12 | ||
|
||
MAX_PREDICTION_PRICE = PRICE_PRECISION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
git submodule update --remote --merge --recursive && | ||
cd protocol-v2/ && | ||
anchor build && | ||
cp target/idl/drift.json ../src/driftpy/idl/ | ||
cp target/idl/drift.json ../src/driftpy/idl/drift.json |