module documentation

Transactions for client-owned accounts

Async Function create_and_init_market_maker_account_tx Generate a transaction that creates and initializes a new `MarketMakerDataAccount`
Async Function create_and_init_retail_account_tx Generate a transaction that creates and initializes a new `RetailDataAccount`
Async Function create_market_maker_account_ix Generate an instruction that creates a new `MarketMakerDataAccount`
Async Function create_retail_account_ix Generate an instruction that creates a new `RetailDataAccount`
Function _calculate_events_space Calculate space required to store `count` events
Function _calculate_orders_space Calculate space required to store `count` orders
async def create_and_init_market_maker_account_tx(dflow, owner, max_orders_supported, encryption_pub_key):

Generate a transaction that creates and initializes a new `MarketMakerDataAccount`

Parameters
dflow:ProgramUndocumented
owner:PublicKeyUndocumented
max_orders_supported:intUndocumented
encryption_pub_key:List[int]Undocumented
Returns
TransactionUndocumented
async def create_and_init_retail_account_tx(dflow, owner, max_orders_supported):

Generate a transaction that creates and initializes a new `RetailDataAccount`

Parameters
dflow:ProgramUndocumented
owner:PublicKeyUndocumented
max_orders_supported:intUndocumented
Returns
TransactionUndocumented
async def create_market_maker_account_ix(dflow, owner, max_orders_supported, encryption_pub_key):

Generate an instruction that creates a new `MarketMakerDataAccount`

Parameters
dflow:ProgramUndocumented
owner:PublicKeyUndocumented
max_orders_supported:intUndocumented
encryption_pub_key:List[int]Undocumented
Returns
TransactionInstructionUndocumented
async def create_retail_account_ix(dflow, owner, max_orders_supported):

Generate an instruction that creates a new `RetailDataAccount`

Parameters
dflow:ProgramUndocumented
owner:PublicKeyUndocumented
max_orders_supported:intUndocumented
Returns
TransactionInstructionUndocumented
def _calculate_events_space(count):

Calculate space required to store `count` events

Parameters
count:intUndocumented
Returns
intUndocumented
def _calculate_orders_space(count):

Calculate space required to store `count` orders

Parameters
count:intUndocumented
Returns
intUndocumented