forc_pkg

Function contract_id

Source
pub fn contract_id(
    bytecode: &[u8],
    storage_slots: Vec<StorageSlot>,
    salt: &Salt,
) -> ContractId
Expand description

Returns the ContractId of a built_package contract with specified salt.