Module update_funding_state

Source
Expand description

Update funding state.

Structs§

UpdateFundingReport
Update Funding Report.
UpdateFundingState
Update Funding State Action.

Functions§

pack_to_funding_amount_per_size
Pack the value to funding amount per size with the given adjustment.
unpack_to_funding_amount_delta
Calculate the funding amount for a position and unpack with the given adjustment.