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
Name | Type | Description |
---|---|---|
deployedFrom_ | address | Address from which the contract was deployed |
nonce_ | uint256 | Nonce at which the contract was deployed |
Return Values
Name | Type | Description |
---|---|---|
contract_ | address | Address of deployed contract |