Skip to content

AddressCalcs ​

Git Source

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

Functions ​

addressCalc ​

Computes the address of a contract based

solidity
function addressCalc(address deployedFrom_, uint256 nonce_) internal pure returns (address contract_);

Parameters

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

Returns

NameTypeDescription
contract_addressAddress of deployed contract