Function constructor_data

Source
pub fn constructor_data(bytecode_hex: &str, args: Option<Vec<u8>>) -> Vec<u8> 
Expand description

Append contract bytecode and encoded arguments for use in deployment

§Arguments

  • bytecode_hex - &str Contract bytecode hex
  • args - Option<Vec<u8>> ABI encoded constructor arguments