NFTCompanyFactory

Contract that mints NFTs of various templates/extensions.

addTemplate

Adds a new template/extension so that NFTs of the type become mintable.

Params:

Name

Type

Description

name

string

Name of the template/extension

template

address

Address of the template/extension

mint

Mints a new NFT of the given template/extension.

Params:

Name

Type

Description

name

string

Name of the template/extension

Returns:

Name

Type

Description

vault

address

Address of the new NFT contract

mintWithSalt

Mints a new NFT of the given template/extension. Takes a salt for deterministic deployment.

Params:

Name

Type

Description

name

string

Name of the template/extension

salt

bytes32

Random salt

Returns:

Name

Type

Description

vault

address

Address of the new NFT contract

‚Äč