IRenfterErrors

Interface with possible Renfter errors

CollectionAlreadyWrapped

error CollectionAlreadyWrapped(address oContract, address wContract)

Triggered when collection oContract is already wrapped

Parameters

Name
Type
Description

oContract

address

Original contract address

wContract

address

Wrapper contract address

TokenAlreadyWrapped

error TokenAlreadyWrapped(address oContract, uint256 tokenId)

Triggered when token from oContract collection with tokenId is already wrapped

Parameters

Name
Type
Description

oContract

address

Original contract address

tokenId

uint256

Token identifier

NotERC721Compatible

Triggered when oContract is not compatible with ERC-721 standard

Parameters

Name
Type
Description

oContract

address

Original contract address

NotERC1155Compatible

Triggered when oContract is not compatible with ERC-1155 standard

Parameters

Name
Type
Description

oContract

address

Original contract address

InvalidPriceValue

Triggered when invalid price value has been passed for renting

Parameters

Name
Type
Description

pricePerDay

uint96

Invalid value passed

InvalidMaxDuration

Triggered when invalid maximum duration value has been passed for renting

Parameters

Name
Type
Description

maxDuration

uint64

Invalid value passed

WrapperNotExisting

Triggered when wrapper contract does not exist

Parameters

Name
Type
Description

wContract

address

Wrapper contract address

WrapperTokenNotExisting

Triggered when wrapper token does not exist

Parameters

Name
Type
Description

wContract

address

Wrapper contract address

tokenId

uint256

Token identifier

CollectionNotWrapped

Triggered when original collection is not wrapped

Parameters

Name
Type
Description

oContract

address

Original contract address

SenderNotOriginalTokenOwner

Triggered when transaction sender not original token owner

Parameters

Name
Type
Description

wContract

address

Wrapper contract address

tokenId

uint256

Token identifier

TokenRentInProgress

Triggered when token is in process

Parameters

Name
Type
Description

wContract

address

Wrapper contract address

tokenId

uint256

Token identifier

TokenNotOfferedForRenting

Triggered when token is not offered for renting

Parameters

Name
Type
Description

wContract

address

Wrapper contract address

tokenId

uint256

Token identifier

InvalidRentalDuration

Triggered when invalid rental duration is passed

Parameters

Name
Type
Description

duration

uint64

Passed duration

minDuration

uint64

Minimum defined duration

maxDuration

uint64

Maximum defined duration

ArraysNotSameSize

Triggered when comparing arrays not of the same size

Last updated