Expand description
The prelude contains all commonly used components of the crate. All programs should include it via use vipers::prelude::*;
.
Re-exports
pub use super::assert_is_zero_token_account;
pub use super::assert_keys_eq;
pub use super::assert_keys_neq;
pub use super::invariant;
pub use super::try_or_err;
pub use super::unwrap_bump;
pub use super::unwrap_checked;
pub use super::unwrap_int;
pub use super::unwrap_opt;
pub use super::unwrap_opt_block;
pub use super::unwrap_or_err;
pub use super::Validate;
Structs
A comparable error: an error that can be compared (via equality) to other errors.
Enums
Vipers validation error.
Traits
Defines the Pubkey of an account, fetching it as a reference.
Conversions into a CmpError.