multiversx_sc::types

Trait TxFrom

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

Marks the sender of any transaction.

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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