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.