pub trait PreTxCheckTrait {
type Error: From<StdError>;
// Required methods
fn pre_tx_check(
&self,
ctx: QueryCtx<'_>,
msgs: Vec<CosmosMsg>,
) -> Result<bool, Self::Error>;
fn contract_version(
&self,
ctx: QueryCtx<'_>,
) -> Result<ContractVersion, StdError>;
}Expand description
The trait for each authenticator contract