foundry_common::compile

Function contract_size

Source
fn contract_size<T: Artifact>(artifact: &T, initcode: bool) -> Option<usize>
Expand description

Returns the deployed or init size of the contract.