penumbra_sdk_dex::lp

Module position

Source

Structs§

Id
A hash of a Position.
Position
Encapsulates the immutable parts of the position (phi/nonce), along with the mutable parts (state/reserves).

Enums§

State
The state of a position.

Constants§

MAX_FEE_BPS
A trading function’s fee (spread) must be at most 50% (5000 bps)
MAX_RESERVE_AMOUNT
Reserve amounts for positions must be at most 80 bits wide.