Skip to content

AddressCalcs ​

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

addressCalc ​

solidity
function addressCalc(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