Skip to main content

ITWRegistry

Methods

add

function add(address _deployer, address _deployment, uint256 _chainId) external nonpayable

Add a deployment for a deployer.

Parameters

NameTypeDescription
_deployeraddressundefined
_deploymentaddressundefined
_chainIduint256undefined

count

function count(address _deployer) external view returns (uint256 deploymentCount)

Get the total number of deployments for a deployer.

Parameters

NameTypeDescription
_deployeraddressundefined

Returns

NameTypeDescription
deploymentCountuint256undefined

getAll

function getAll(address _deployer) external view returns (struct ITWRegistry.Deployment[] allDeployments)

Get all deployments for a deployer.

Parameters

NameTypeDescription
_deployeraddressundefined

Returns

NameTypeDescription
allDeploymentsITWRegistry.Deployment[]undefined

remove

function remove(address _deployer, address _deployment, uint256 _chainId) external nonpayable

Remove a deployment for a deployer.

Parameters

NameTypeDescription
_deployeraddressundefined
_deploymentaddressundefined
_chainIduint256undefined

Events

Added

event Added(address indexed deployer, address indexed deployment, uint256 indexed chainId)

Parameters

NameTypeDescription
deployer indexedaddressundefined
deployment indexedaddressundefined
chainId indexeduint256undefined

Deleted

event Deleted(address indexed deployer, address indexed deployment, uint256 indexed chainId)

Parameters

NameTypeDescription
deployer indexedaddressundefined
deployment indexedaddressundefined
chainId indexeduint256undefined