Crate kabu_types_entities

Source

Re-exportsยง

pub use account_nonce_balance::AccountNonceAndBalanceState;
pub use account_nonce_balance::AccountNonceAndBalances;
pub use pool_id::PoolId;

Modulesยง

account_nonce_balance
block_history ๐Ÿ”’
calculation_result ๐Ÿ”’
datafetcher ๐Ÿ”’
keystore ๐Ÿ”’
latest_block ๐Ÿ”’
market ๐Ÿ”’
market_state ๐Ÿ”’
mock_pool ๐Ÿ”’
pool ๐Ÿ”’
pool_config
pool_id
pool_loader ๐Ÿ”’
private
required_state
signers ๐Ÿ”’
strategy_config
swap ๐Ÿ”’
swap_direction ๐Ÿ”’
swap_encoder ๐Ÿ”’
swap_error ๐Ÿ”’
swap_line ๐Ÿ”’
swap_path ๐Ÿ”’
swap_path_builder ๐Ÿ”’
swap_step ๐Ÿ”’
tips
token ๐Ÿ”’

Structsยง

BlockHistory
BlockHistoryEntry
BlockHistoryManager
CalculationResult
DataFetcher
EstimationError
KeyStore
LatestBlock
Market
The market struct contains all the pools and tokens. It keeps track if a pool is disabled or not and the swap paths.
MarketState
MockPool
PoolLoaders
PoolWrapper
SwapDirection
SwapError
SwapLine
SwapPath
SwapPaths
SwapStep
Token
TxSignerEth
TxSigners

Enumsยง

FetchState
PoolClass
PoolProtocol
PreswapRequirement
Swap
SwapAmountType

Traitsยง

BlockHistoryState
LoomTxSigner
Pool
PoolAbiEncoder
PoolLoader
SwapEncoder

Functionsยง

build_swap_path_vec
get_protocol_by_factory

Type Aliasesยง

TokenWrapper