Skip to content

Commit

Permalink
added same format to the return types
Browse files Browse the repository at this point in the history
added same format to the return types for predictDeterministicAddress
  • Loading branch information
count-sum authored Mar 4, 2023
1 parent 3d795ce commit f79f64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/3. Solidity 201/OZ Clones.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It also includes functions to predict the addresses of clones deployed using the

2. `cloneDeterministic(address implementation, bytes32 salt)``address instance`: Deploys and returns the address of a clone that mimics the behaviour of implementation. This function uses the create2 opcode and a salt to deterministically deploy the clone. Using the same implementation and salt multiple times will revert, since the clones cannot be deployed twice at the same address.

3. `predictDeterministicAddress(address implementation, bytes32 salt, address deployer)` → address predicted: Computes the address of a clone deployed using Clones.cloneDeterministic.
3. `predictDeterministicAddress(address implementation, bytes32 salt, address deployer)``address predicted`: Computes the address of a clone deployed using Clones.cloneDeterministic.

4. `predictDeterministicAddress(address implementation, bytes32 salt)``address predicted`: Computes the address of a clone deployed using Clones.cloneDeterministic.
___
Expand All @@ -28,4 +28,4 @@ ___
## References
- [Youtube Reference](https://youtu.be/0kx8M4u5980?t=836)
___
## Tags
## Tags

0 comments on commit f79f64c

Please sign in to comment.