Trait pallet_circuit::threevm::Erc20Mapping
pub trait Erc20Mapping {
// Required methods
fn encode_evm_address(v: TokenId) -> Option<H160>;
fn decode_evm_address(v: H160) -> Option<TokenId>;
}
Required Methods§
fn encode_evm_address(v: TokenId) -> Option<H160>
fn encode_evm_address(v: TokenId) -> Option<H160>
Encode the AssetId to EvmAddress.
fn decode_evm_address(v: H160) -> Option<TokenId>
fn decode_evm_address(v: H160) -> Option<TokenId>
Decode the AssetId from EvmAddress.