pub struct DecodedCall {
pub selector: String,
pub signature: String,
pub function_name: String,
pub parameters: Vec<DecodedParam>,
pub source: DecodeSource,
}Expand description
A decoded function call from transaction input data.
Fields§
§selector: String4-byte selector (e.g., “0xa9059cbb”).
signature: StringFunction signature (e.g., “transfer(address,uint256)”).
function_name: StringHuman-readable function name (e.g., “transfer”).
parameters: Vec<DecodedParam>Decoded parameters (if ABI available).
source: DecodeSourceWhether the decoding came from verified ABI or 4byte.directory.
Trait Implementations§
Source§impl Clone for DecodedCall
impl Clone for DecodedCall
Source§impl Debug for DecodedCall
impl Debug for DecodedCall
Source§impl<'de> Deserialize<'de> for DecodedCall
impl<'de> Deserialize<'de> for DecodedCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DecodedCall
impl RefUnwindSafe for DecodedCall
impl Send for DecodedCall
impl Sync for DecodedCall
impl Unpin for DecodedCall
impl UnsafeUnpin for DecodedCall
impl UnwindSafe for DecodedCall
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more