ITWMultichainRegistry

Methods

add

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

Add a deployment for a deployer.

Parameters

Name
Type
Description

_deployer

address

undefined

_deployment

address

undefined

_chainId

uint256

undefined

metadataUri

string

undefined

count

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

Get the total number of deployments for a deployer.

Parameters

Name
Type
Description

_deployer

address

undefined

Returns

Name
Type
Description

deploymentCount

uint256

undefined

getAll

Get all deployments for a deployer.

Parameters

Name
Type
Description

_deployer

address

undefined

Returns

Name
Type
Description

allDeployments

ITWMultichainRegistry.Deployment[]

undefined

getMetadataUri

Returns the metadata IPFS URI for a deployment on a given chain if previously registered via add().

Parameters

Name
Type
Description

_chainId

uint256

undefined

_deployment

address

undefined

Returns

Name
Type
Description

metadataUri

string

undefined

remove

Remove a deployment for a deployer.

Parameters

Name
Type
Description

_deployer

address

undefined

_deployment

address

undefined

_chainId

uint256

undefined

Events

Added

Parameters

Name
Type
Description

deployer indexed

address

undefined

deployment indexed

address

undefined

chainId indexed

uint256

undefined

metadataUri

string

undefined

Deleted

Parameters

Name
Type
Description

deployer indexed

address

undefined

deployment indexed

address

undefined

chainId indexed

uint256

undefined

Last updated