multiversx_sc_scenario::imports

Trait TxFrom

Source
pub trait TxFrom<Env>
where Env: TxEnv,
{ // Required method fn resolve_address(&self, env: &Env) -> ManagedAddress<<Env as TxEnv>::Api>; }
Expand description

Marks the sender of any transaction.

Required Methods§

Source

fn resolve_address(&self, env: &Env) -> ManagedAddress<<Env as TxEnv>::Api>

Implementations on Foreign Types§

Source§

impl<Env> TxFrom<Env> for ()
where Env: TxEnv,

Source§

fn resolve_address(&self, env: &Env) -> ManagedAddress<<Env as TxEnv>::Api>

Implementors§

Source§

impl<Env> TxFrom<Env> for &AddressValue
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for &Address
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for &Bech32Address
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for &ManagedAddress<<Env as TxEnv>::Api>
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for AddressValue
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for Address
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for Bech32Address
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for ManagedAddress<<Env as TxEnv>::Api>
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for TestAddress<'_>
where Env: TxEnv,

Source§

impl<Env> TxFrom<Env> for TestSCAddress<'_>
where Env: TxEnv,

Source§

impl<P, Env> TxFrom<Env> for &ContractInfo<P>
where Env: TxEnv, P: ProxyObjNew,