-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use env var for feed url * remove antipattern build step * do not export FillFeed in index as it is not compatible with client now * update fillFeed to use new import path * bump published version * move FillLogResult to types file to allow usage in client * fix broken type changes * version bump
- Loading branch information
1 parent
02bc255
commit e7caa7d
Showing
11 changed files
with
54 additions
and
40 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* FillLogResult is the message sent to subscribers of the FillFeed | ||
*/ | ||
export type FillLogResult = { | ||
/** Public key for the market as base58. */ | ||
market: string; | ||
/** Public key for the maker as base58. */ | ||
maker: string; | ||
/** Public key for the taker as base58. */ | ||
taker: string; | ||
/** Number of base atoms traded. */ | ||
baseAtoms: string; | ||
/** Number of quote atoms traded. */ | ||
quoteAtoms: string; | ||
/** Price as float. Quote atoms per base atom. */ | ||
price: number; | ||
/** Boolean to indicate which side the trade was. */ | ||
takerIsBuy: boolean; | ||
/** Boolean to indicate whether the maker side is global. */ | ||
isMakerGlobal: boolean; | ||
/** Sequential number for every order placed / matched wraps around at u64::MAX */ | ||
makerSequenceNumber: string; | ||
/** Sequential number for every order placed / matched wraps around at u64::MAX */ | ||
takerSequenceNumber: string; | ||
/** Slot number of the fill. */ | ||
slot: number; | ||
}; |
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
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