Module types

Module types 

Source
Expand description

Core types for the Balancer maths library

Structs§

AddLiquidityInput
Input for add liquidity operations
AddLiquidityResult
Result of an add liquidity operation
BasePoolState
Base pool state shared by all pool types
RemoveLiquidityInput
Input for remove liquidity operations
RemoveLiquidityResult
Result of a remove liquidity operation
SwapInput
Input for swap operations
SwapParams
Swap parameters
SwapResult
Result of a swap operation

Enums§

AddLiquidityKind
Kind of add liquidity operation
PoolState
Pool state - can be any specific pool type
PoolStateOrBuffer
Union type for pool states - can be either a normal pool or a buffer pool
RemoveLiquidityKind
Kind of remove liquidity operation
Rounding
Rounding direction for mathematical operations
SwapKind
Kind of swap operation

Traits§

HookStateBase
Base hook state trait