Function precompile_utils::solidity::codec::encode_with_selector
source · pub fn encode_with_selector<T: Codec>(selector: u32, value: T) -> Vec<u8> ⓘ
Expand description
Encode the value as the arguments of a Solidity function with given selector.
If T
is a tuple each member represents an argument of the function.