Structs§
- Balances
- GetAmount
OutResult - GetAmountOutResult struct represents the result of getting the amount out of a trading pair
- Price
- Represents a price as a fraction in the token_in -> token_out direction. With units [token_out/token_in].
- Trade
- Represents a trade between two tokens at a given price on a pool.
Traits§
- Protocol
Sim - ProtocolSim trait This trait defines the methods that a protocol state must implement in order to be used in the trade simulation.