Skip to main content

CloberCreate1

CloberCreate1

Utility functions regarding the vanilla CREATE operation.

computeAddress

function computeAddress(address origin, uint64 nonce) external pure returns (address)

Computes the address of the contract with the origin address and nonce value.

Parameters

NameTypeDescription
originaddressThe origin address from which the contract address is derived.
nonceuint64The nonce value to use in the contract address computation.

Return Values

NameTypeDescription
[0]addressThe computed contract address.