@contract.next
Predict the next contract address deployed by a given account.
Returns: address
Syntax
Section titled “Syntax”@contract.next(creator offset?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
creator |
address |
Deployer address |
[offset] |
number |
Nonce offset from current |
Examples
Section titled “Examples”# Predict next contract addressset $next @contract.next(0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d)See Also
Section titled “See Also”- @contract.codeAt — read deployed bytecode