AddressCalcs

implements calculation of address for contracts deployed through CREATE. Accepts contract deployed from which address & nonce

calcAddress

function calcAddress(address deployedFrom_, uint256 nonce_) internal pure returns (address contract_)

Computes the address of a contract based

Parameters

NameTypeDescription
deployedFrom_addressAddress from which the contract was deployed
nonce_uint256Nonce at which the contract was deployed

Return Values

NameTypeDescription
contract_addressAddress of deployed contract