Skip to main content

Calls

reclaimBlockedNfts

Withdraw blocked tokens, must be called by the destination defined in BlockedTokens Namespace
Type

setContractAddress

Namespace
Type

withdraw

Namespace
Type

Storage

blockedTokens

Namespace
Type

contractAddress

Namespace
Type

ethToRootNft

Namespace
Type

nextBlockedMintId

The next available BlockedMintId Namespace
Type

rootNftToErc721

Namespace
Type

Events

ContractAddressSet

The NFT-peg contract address was set Namespace
Type

ERC721Blocked

Bridged ERC721 tokens were unable to be minted due to collection limit being reached Namespace
Type

Erc721Deposit

An ERC721 deposit was made Namespace
Type

Erc721Mint

Bridged ERC721 tokens were minted Namespace
Type

Erc721Withdraw

An ERC721 withdraw was made Namespace
Type

Errors

ExceedsMaxAddresses

Send more addresses than are allowed Namespace

ExceedsMaxTokens

Sent more tokens than are allowed Namespace

ExceedsMaxVecLength

The length of the given vec exceeds the maximal allowed length limit Namespace

InvalidAbiEncoding

The abi data passed in could not be decoded Namespace

InvalidAbiPrefix

The prefix uint in the abi encoded data was invalid Namespace

NoBlockedTokensFound

No blocked tokens for the given id Namespace

NoCollectionFound

No collection info exists Namespace

NoMappedTokenExists

No mapped token was stored for bridging the token back to the bridged chain Namespace

NoPermissionToBridge

Tried to bridge a token that originates from Root, which is not yet supported Namespace

NotBlockedTokenDestination

Blocked tokens can only be reclaimed by the destination address Namespace

StateSyncDisabled

The state sync decoding feature is not implemented Namespace

TokenListLengthMismatch

Multiple tokens were passed from contract, but amounts were unqeual per each array Namespace

Constants

delayLength

Namespace
Type