#![feature(absolute_path)]
extern crate dirs_next;
#[macro_use]
extern crate lazy_static;
pub mod clap_app;
pub mod client;
pub mod clmmpool;
pub mod command;
pub mod contract;
pub mod display;
pub mod error;
pub mod math;
pub mod program;
pub mod utils;
#[macro_export]
macro_rules! check_and_update_err {
($result: expr, $err: expr) => {
match $result.is_err() {
true => Err($err),
false => Ok($result.unwrap()),
}
};
}