pub fn require_version<T: LayoutContract>(
account: &AccountView,
) -> ProgramResultExpand description
Require the account’s version byte matches the layout contract’s VERSION.
pub fn require_version<T: LayoutContract>(
account: &AccountView,
) -> ProgramResultRequire the account’s version byte matches the layout contract’s VERSION.