Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
Contract Deployer using opcodes
copy icon
Gnosis
• version 1.0.0
Deploy
Opcodes
create
create2
Audited

Contract Deployer using opcodes

Audited

Create Call -Allows to use the different create opcodes to deploy a contract. Built by Gnosis.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

Gnosis

Recent Use

🍞 0x6b9E downloaded
🥐 0xf594 downloaded

Last Publish

9/26/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
performCreate2(uint256,bytes32) :
This function performs a contract creation using the create2 opcode. It takes three parameters: value, deploymentData, and salt. The value parameter is the amount of Ether to be sent to the newly created contract. The deploymentData parameter is a byte array containing the code of the contract to be deployed. The salt parameter is a 32-byte value used to generate the address of the newly created contract.The function first calls the create2 opcode, passing in the value, deploymentData, and salt parameters. The create2 opcode takes the value, deploymentData, and salt parameters and uses them to generate a unique address for the newly created contract. The function then checks to make sure that the address generated is not the zero address, and if it is not, it emits a ContractCreation event with the address of the newly created contract. (autogenerated documentation)
performCreate(uint256) :
This function performs a contract creation. It takes two parameters, a uint256 value and a bytes memory deploymentData. The function uses assembly code to create a new contract, passing in the value and deploymentData parameters. The function then checks to make sure the new contract was created successfully, and emits a ContractCreation event with the address of the new contract. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i contract-deployer-using-opcodes
copy icon

Recent Use

🍞 0x6b9E downloaded
🥐 0xf594 downloaded

Last Publish

9/26/2022

Version

1.0.0

Creator

Gnosis

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.