Type Alias evm_coder::types::String

source ·
pub type String = String;

Trait Implementations§

source§

impl AbiDecode for String

source§

fn dec(input: &mut AbiDecoder<'_>) -> Result<Self>

source§

fn abi_decode(input: &[u8]) -> Result<Self>

source§

fn abi_decode_call(input: &[u8]) -> Result<(Bytes4, Self)>

source§

impl AbiEncode for String

source§

fn enc(&self, out: &mut AbiEncoder)

source§

fn abi_encode(&self) -> Vec<u8>

source§

fn abi_encode_call(&self, selector: Bytes4) -> Vec<u8>

source§

impl AbiType for String

source§

const SIGNATURE: SignatureUnit = <&str>::SIGNATURE

Signature for Ethereum ABI.
source§

const HEAD_WORDS: u32 = 1u32

How many AbiWords static data this type should occupy
source§

const IS_DYNAMIC: bool = true

Is this a dynamic type, per spec.
source§

fn signature() -> &'static str

Signature as str.