Struct agnostic_orderbook::instruction::create_market::Params [−][src]
pub struct Params { pub caller_authority: Pubkey, pub callback_info_len: u64, pub callback_id_len: u64, pub min_base_order_size: u64, }
Expand description
The required arguments for a create_market instruction.
Fields
The caller authority will be the required signer for all market instructions.
In practice, it will almost always be a program-derived address..
callback_info_len: u64
Callback information can be used by the caller to attach specific information to all orders.
An example of this would be to store a public key to uniquely identify the owner of a particular order. This example would thus require a value of 32
callback_id_len: u64
The prefix length of callback information which is used to identify self-trading
min_base_order_size: u64
The minimum order size that can be inserted into the orderbook after matching.