pub trait AbiType {
const SIGNATURE: SignatureUnit;
const IS_DYNAMIC: bool;
const HEAD_WORDS: u32;
// Provided method
fn signature() -> &'static str { ... }
}
Expand description
Helper for type.
Required Associated Constants§
sourceconst SIGNATURE: SignatureUnit
const SIGNATURE: SignatureUnit
Signature for Ethereum ABI.
sourceconst IS_DYNAMIC: bool
const IS_DYNAMIC: bool
Is this a dynamic type, per spec.
sourceconst HEAD_WORDS: u32
const HEAD_WORDS: u32
How many AbiWords static data this type should occupy