Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

calculate_contract_address_from_udc

Returns the calculated contract address for contracts deployed through the UDC. Origin-independent deployments (deployed from zero) should pass Option::None as deployer_info.

Fully qualified path: openzeppelin_utils::deployments::calculate_contract_address_from_udc

pub fn calculate_contract_address_from_udc(
    salt: felt252,
    class_hash: ClassHash,
    constructor_calldata: Span<felt252>,
    deployer_info: Option<DeployerInfo>,
) -> ContractAddress