Crate gmsol_utils

Source

Re-exports§

pub use self::init_space::InitSpace;
pub use self::price::Price;
pub use bitmaps;
pub use paste;
pub use static_assertions;

Modules§

action
Definitions related to action.
chunk_by
A slice::chunk_by implementation, copied from std.
config
Definitions related to global configurations.
dynamic_access
Utils for dynamic access to an array of zero copy types.
fixed_map
Fixed-size zero copy map.
fixed_str
Fixed str.
flags
Zero-copy flags.
glv
Definitions related to GLV.
gt
Utils for GT.
init_space
Definition for InitSpace.
instructioninstruction
Definitions related to instructions.
market
Definitions related to market.
oracle
Oracle utils.
order
Definitions related to order.
price
Utils for price representation.
pubkey
Pubkey utils.
role
Definitions related to roles.
swap
Swap parameters.
token_config
Definitions related to token config.

Macros§

fixed_map
flags
impl_fixed_map
impl_flags

Enums§

GeneralError
General-purpose errors.

Functions§

to_seed
Convert a string to a seed.