IContractDeployer
Methods
deployInstance
Deploys an instance of a published contract directly.
Parameters
publisher
address
The address of the publisher.
contractBytecode
bytes
The bytecode of the contract to deploy.
constructorArgs
bytes
The encoded constructor args to deploy the contract with.
salt
bytes32
The salt to use in the CREATE2 contract deployment.
value
uint256
The native token value to pass to the contract on deployment.
publishMetadataUri
string
The publish metadata URI for the contract to deploy.
Returns
deployedAddress
address
The address of the contract deployed.
deployInstanceProxy
Deploys a clone pointing to an implementation of a published contract.
Parameters
publisher
address
The address of the publisher.
implementation
address
The contract implementation for the clone to point to.
initializeData
bytes
The encoded function call to initialize the contract with.
salt
bytes32
The salt to use in the CREATE2 contract deployment.
value
uint256
The native token value to pass to the contract on deployment.
publishMetadataUri
string
The publish metadata URI and for the contract to deploy.
Returns
deployedAddress
address
The address of the contract deployed.
getContractDeployer
Parameters
_contract
address
undefined
Returns
_0
address
undefined
Events
ContractDeployed
Emitted when a contract is deployed.
Parameters
deployer indexed
address
undefined
publisher indexed
address
undefined
deployedContract
address
undefined
Paused
Emitted when the registry is paused.
Parameters
isPaused
bool
undefined
Last updated