@@ -28,9 +28,7 @@ pub enum PhoenixCLICommand {
2828 /// Get the full order book for a given market
2929 GetFullBook { market_pubkey : Pubkey } ,
3030 /// Get the market events that occured in a given transaction signature
31- GetTransaction {
32- signature : Signature ,
33- } ,
31+ GetTransaction { signature : Signature } ,
3432 /// Get the current status of a market
3533 GetMarketStatus { market_pubkey : Pubkey } ,
3634 /// Get the status and address of a seat for a given market and trader
@@ -47,11 +45,12 @@ pub enum PhoenixCLICommand {
4745 #[ clap( short, long, required = false ) ]
4846 trader_pubkey : Option < Pubkey > ,
4947 } ,
50- /// Send a transaction on chain to allocate a seat for the payer on the given market. This will cost ~.0018 SOL for rent.
51- /// Note that the seat will have to then be approved by the market authority.
48+ /// Send a transaction on chain to allocate a seat for the payer on the given market. This will cost ~.0018 SOL for rent.
49+ /// Note that the seat will have to then be approved by the market authority. Only relevant for permissioned markets.
50+ /// For permissionless markets (with an automated seat manager), you can claim a seat with the claim-seat CLI command.
5251 RequestSeat { market_pubkey : Pubkey } ,
5352 /// Mint tokens to a recipient for a given ticker string (for example SOL or USDC). Default amount is 100_000_000_000.
54- /// This is only for markets associated with the ellipsis token faucet.
53+ /// This is only for markets associated with the ellipsis token faucet.
5554 MintTokens {
5655 /// Ticker string, example: SOL
5756 mint_ticker : String ,
@@ -62,7 +61,7 @@ pub enum PhoenixCLICommand {
6261 amount : u64 ,
6362 } ,
6463 /// Mint both base and quote tokens to a recipient for a given market. Default amounts are 100_000_000_000 for base and 100_000_000 for quote.
65- /// This is only for markets associated with the ellipsis token faucet.
64+ /// This is only for markets associated with the ellipsis token faucet.
6665 MintTokensForMarket {
6766 market_pubkey : Pubkey ,
6867 /// Pubkey of the recipient of the tokens
@@ -74,4 +73,16 @@ pub enum PhoenixCLICommand {
7473 #[ clap( short, long, required = false , default_value = "100000000" ) ]
7574 quote_amount : u64 ,
7675 } ,
76+ /// For the given market, get the seat manager data fields, including authority, successor, and designated market makers.
77+ GetSeatManagerInfo { market_pubkey : Pubkey } ,
78+ /// On the given market, claim a maker seat for the public key of the keypair at the indicated file path.
79+ /// Indicate a different keypair file to use by specifying the file path with flag `-k`.
80+ ClaimSeat { market_pubkey : Pubkey } ,
81+ /// Evict a trader from the given market if that market's trader state is at capacity.
82+ /// If no trader is given, this function will greedily find a trader to evict.
83+ /// Note that eviction will not work if the market's trader state is not at capacity.
84+ EvictSeat {
85+ market_pubkey : Pubkey ,
86+ trader_to_evict : Option < Pubkey > ,
87+ } ,
7788}
0 commit comments