Trait polytone_evm::evm::EvmAddressLike

source ·
pub trait EvmAddressLike { }
Expand description

Marks either String or valid EVM Address.

String is used in unverified types, such as messages and query responses. Addr is used in verified types, which are to be stored in blockchain state.

This trait is intended to be used as a generic in type definitions.

Implementations on Foreign Types§

source§

impl EvmAddressLike for String

source§

impl EvmAddressLike for Address

source§

impl EvmAddressLike for HexBinary

Implementors§