pub(crate) trait CommonCreateInput {
// Required methods
fn caller(&self) -> Address;
fn gas_limit(&self) -> u64;
fn value(&self) -> U256;
fn init_code(&self) -> Bytes;
fn scheme(&self) -> Option<CreateScheme>;
fn set_caller(&mut self, caller: Address);
fn log_debug(&self, cheatcode: &mut Cheatcodes, scheme: &CreateScheme);
fn allow_cheatcodes(
&self,
cheatcodes: &mut Cheatcodes,
ecx: &'_ mut InnerEvmContext<&'_ mut (dyn DatabaseExt + '_)>,
) -> Address;
fn computed_created_address(&self) -> Option<Address>;
}
Expand description
Common behaviour of legacy and EOF create inputs.