multiversx_sc_snippets::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<'a, Env> TxFrom<Env> for TestAddress<'a>
where Env: TxEnv,

source§

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

source§

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

source§

impl<Env> TxFrom<Env> for &AddressValue
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 Address
where Env: TxEnv,

source§

impl<Env> TxFrom<Env> for AddressValue
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<P, Env> TxFrom<Env> for &ContractInfo<P>
where Env: TxEnv, P: ProxyObjNew,