IwNFTFactory

Interface for wrapper contracts creation

SupportedERC

enum SupportedERC {
  ERC721,
  ERC1155
}

set721Beacon

function set721Beacon(address beacon) external

Set new beacon for ERC-721 contract

Parameters

Name
Type
Description

beacon

address

New beacon address

set1155Beacon

function set1155Beacon(address beacon) external

Set new beacon for ERC-1155 contract

Parameters

Name
Type
Description

beacon

address

New beacon address

create721WContract

Creates a new ERC-721 wrapper contract

Parameters

Name
Type
Description

oContract

address

Original contract address

Return Values

Name
Type
Description

[0]

address

Created contract address

create1155WContract

Creates a new ERC-1155 wrapper contract

Parameters

Name
Type
Description

oContract

address

Original contract address

Return Values

Name
Type
Description

[0]

address

Created contract address

SenderNotOperator

Triggered when transaction sender is not operator

wNFTBeaconChanged

Emitted when wrapper contract beacon changed

Parameters

Name
Type
Description

newBeacon

address

New beacon address

ercType

enum IwNFTFactory.SupportedERC

ERC standard associated to beacon

wNFTCreated

Emmited when wrapper contract is created

Parameters

Name
Type
Description

wContract

address

Wrapper contract address

oContract

address

Original contract address

ercType

enum IwNFTFactory.SupportedERC

ERC associated to beacon

Last updated