gleeth/ethereum/contract
Types
pub type ParamType {
UInt256
Address
String
Bool
Bytes32
}
Constructors
-
UInt256 -
Address -
String -
Bool -
Bytes32
Values
pub fn build_call_data(
contract_call: ContractCall,
) -> Result(String, types.GleethError)
pub fn encode_parameters(
parameters: List(Parameter),
) -> Result(String, types.GleethError)
pub fn generate_function_selector(
function_name: String,
param_types: List(ParamType),
) -> Result(String, types.GleethError)
pub fn parse_parameter(
param_str: String,
) -> Result(Parameter, types.GleethError)