Struct cw_multi_test::Router [−][src]
pub struct Router<Bank, Custom, Wasm, Staking, Distr> {
pub bank: Bank,
pub custom: Custom,
pub staking: Staking,
pub distribution: Distr,
// some fields omitted
}
Fields
bank: Bank
custom: Custom
staking: Staking
distribution: Distr
Implementations
impl<BankT, CustomT, WasmT, StakingT, DistrT> Router<BankT, CustomT, WasmT, StakingT, DistrT> where
CustomT::ExecT: Clone + Debug + PartialEq + JsonSchema + DeserializeOwned + 'static,
CustomT::QueryT: CustomQuery + DeserializeOwned + 'static,
CustomT: Module,
WasmT: Wasm<CustomT::ExecT, CustomT::QueryT>,
BankT: Bank,
StakingT: Staking,
DistrT: Distribution,
impl<BankT, CustomT, WasmT, StakingT, DistrT> Router<BankT, CustomT, WasmT, StakingT, DistrT> where
CustomT::ExecT: Clone + Debug + PartialEq + JsonSchema + DeserializeOwned + 'static,
CustomT::QueryT: CustomQuery + DeserializeOwned + 'static,
CustomT: Module,
WasmT: Wasm<CustomT::ExecT, CustomT::QueryT>,
BankT: Bank,
StakingT: Staking,
DistrT: Distribution,
Trait Implementations
impl<BankT, CustomT, WasmT, StakingT, DistrT> CosmosRouter for Router<BankT, CustomT, WasmT, StakingT, DistrT> where
CustomT::ExecT: Debug + Clone + PartialEq + JsonSchema + DeserializeOwned + 'static,
CustomT::QueryT: CustomQuery + DeserializeOwned + 'static,
CustomT: Module,
WasmT: Wasm<CustomT::ExecT, CustomT::QueryT>,
BankT: Bank,
StakingT: Staking,
DistrT: Distribution,
impl<BankT, CustomT, WasmT, StakingT, DistrT> CosmosRouter for Router<BankT, CustomT, WasmT, StakingT, DistrT> where
CustomT::ExecT: Debug + Clone + PartialEq + JsonSchema + DeserializeOwned + 'static,
CustomT::QueryT: CustomQuery + DeserializeOwned + 'static,
CustomT: Module,
WasmT: Wasm<CustomT::ExecT, CustomT::QueryT>,
BankT: Bank,
StakingT: Staking,
DistrT: Distribution,
this is used by RouterQuerier
to actual implement the Querier
interface.
you most likely want to use router.querier(storage, block).wrap()
to get a
QuerierWrapper to interact with