Struct cw_multi_test::BankKeeper
source · [−]pub struct BankKeeper {}
Implementations
sourceimpl BankKeeper
impl BankKeeper
Trait Implementations
sourceimpl Default for BankKeeper
impl Default for BankKeeper
sourcefn default() -> BankKeeper
fn default() -> BankKeeper
Returns the “default value” for a type. Read more
sourceimpl Module for BankKeeper
impl Module for BankKeeper
type ExecT = BankMsg
type QueryT = BankQuery
type SudoT = BankSudo
sourcefn execute<ExecC, QueryC>(
&self,
_api: &dyn Api,
storage: &mut dyn Storage,
_router: &dyn CosmosRouter<ExecC = ExecC, QueryC = QueryC>,
_block: &BlockInfo,
sender: Addr,
msg: BankMsg
) -> AnyResult<AppResponse>
fn execute<ExecC, QueryC>(
&self,
_api: &dyn Api,
storage: &mut dyn Storage,
_router: &dyn CosmosRouter<ExecC = ExecC, QueryC = QueryC>,
_block: &BlockInfo,
sender: Addr,
msg: BankMsg
) -> AnyResult<AppResponse>
execute runs any ExecT message, which can be called by any external actor or smart contract Read more
sourcefn sudo<ExecC, QueryC>(
&self,
api: &dyn Api,
storage: &mut dyn Storage,
_router: &dyn CosmosRouter<ExecC = ExecC, QueryC = QueryC>,
_block: &BlockInfo,
msg: BankSudo
) -> AnyResult<AppResponse>
fn sudo<ExecC, QueryC>(
&self,
api: &dyn Api,
storage: &mut dyn Storage,
_router: &dyn CosmosRouter<ExecC = ExecC, QueryC = QueryC>,
_block: &BlockInfo,
msg: BankSudo
) -> AnyResult<AppResponse>
sudo runs privileged actions, like minting tokens, or governance proposals. This allows modules to have full access to these privileged actions, that cannot be triggered by smart contracts. Read more
fn query(
&self,
api: &dyn Api,
storage: &dyn Storage,
_querier: &dyn Querier,
_block: &BlockInfo,
request: BankQuery
) -> AnyResult<Binary>
impl Bank for BankKeeper
Auto Trait Implementations
impl RefUnwindSafe for BankKeeper
impl Send for BankKeeper
impl Sync for BankKeeper
impl Unpin for BankKeeper
impl UnwindSafe for BankKeeper
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more