agsol_common/
lib.rs

1mod account_state;
2mod locked_item;
3mod max_len_btree;
4mod max_len_string;
5mod max_len_vec;
6mod max_serialized_len;
7mod signer_pda;
8mod timelock;
9
10pub use account_state::AccountState;
11pub use locked_item::LockedItem;
12pub use max_len_btree::MaxLenBTreeMap;
13pub use max_len_string::MaxLenString;
14pub use max_len_vec::MaxLenVec;
15pub use max_serialized_len::MaxSerializedLen;
16pub use signer_pda::{SignerPda, SignerPdaError};
17pub use timelock::{Timelock, TimelockError};
18
19#[cfg(any(test, feature = "derive"))]
20#[allow(unused_imports)]
21#[macro_use]
22extern crate agsol_common_derive;
23#[cfg(any(test, feature = "derive"))]
24pub use agsol_common_derive::*;
25
26const CONTENTS_FULL: &str = "contents full";
27type MaxLenResult = Result<(), &'static str>;