Expand description
Core types for the Balancer maths library
Structs§
- AddLiquidity
Input - Input for add liquidity operations
- AddLiquidity
Result - Result of an add liquidity operation
- Base
Pool State - Base pool state shared by all pool types
- Remove
Liquidity Input - Input for remove liquidity operations
- Remove
Liquidity Result - Result of a remove liquidity operation
- Swap
Input - Input for swap operations
- Swap
Params - Swap parameters
- Swap
Result - Result of a swap operation
Enums§
- AddLiquidity
Kind - Kind of add liquidity operation
- Pool
State - Pool state - can be any specific pool type
- Pool
State OrBuffer - Union type for pool states - can be either a normal pool or a buffer pool
- Remove
Liquidity Kind - Kind of remove liquidity operation
- Rounding
- Rounding direction for mathematical operations
- Swap
Kind - Kind of swap operation
Traits§
- Hook
State Base - Base hook state trait