Module states

Source
Expand description

States.

Re-exports§

pub use deposit::Deposit;
pub use glv::Glv;
pub use glv::GlvDeposit;
pub use glv::GlvShift;
pub use glv::GlvWithdrawal;
pub use market::pool::PoolStorage;
pub use market::Market;
pub use market::OtherState;
pub use order::Order;
pub use order::OrderActionParams;
pub use order::UpdateOrderParams;
pub use position::Position;
pub use user::UserHeader;
pub use withdrawal::Withdrawal;
pub use oracle::*;
pub use roles::*;
pub use shift::*;
pub use store::*;
pub use token_config::*;

Modules§

common
Common types.
deposit
Deposit.
feature
Feature.
glv
GLV.
gt
GT.
market
This module defines the Market struct and its associated state.
oracle
Oracle.
order
Order.
position
Position.
roles
Roles.
shift
Shift.
store
Store.
token_config
Token Config.
user
User.
withdrawal
Withdrawal.

Structs§

MarketMeta
Market Metadata.

Enums§

MarketConfigKey
Market config keys.

Traits§

HasMarketMeta
Type that has market meta.
Seed
Data type that has SEED.

Type Aliases§

Amount
Factor
NonceBytes
Nonce Bytes.