Types
Common
BattleKey
Info struct containing a pool's specifications
Params:
Fee
Info struct representing the fee ratios used in a battle
Params:
GrowthX128
Info struct tracking the cumulative amounts of fees and deltas of collateral, Spear and Shield tokens involved in transactions
Params:
Owed
Info struct tracking the amounts of fees and deltas of collateral, Spear and Shield tokens that are owed to a position
Params:
TickInfo
Info struct tracking the state of a tick
Params:
PositionInfo
Info struct tracking the state of a position
Params:
Enums
LiquidityType
Tracks the type of liquidity used by the LP
Outcome
Tracks the status of a battle
TradeType
Tracks the type of trade
TradeTypes
TradeCache
Represents cached trade information
Params:
TradeState
Represents the state of the trade
Params:
StepComputations
Info struct used in computing the result of swapping some amount in, or amount out, given the parameters of the swap.
Params:
Last updated