NFT Bridge - Methods
📝 WRITE
OWNER ONLY
setFeeSets the Lock transaction fee in Wei. The fee is charged in the blockchain coin only for NFTs on the original blockchain.transferOwneshipChanges the contract owner address.changeFeeReceiverChanges the address for fees collected.changeOracleChanges the Oracle address.
PUBLIC
newERC721For the creation of a ShadowNFTContract and its association with the originalNFTContract of the ERC721 standard. In this transaction, a contract of the ERC721 standard will be deployed and the address associated.newERC1155For the creation of a ShadowNFTContract and its linking to the originalNFTContract of the ERC1155 standard. In this transaction, a contract of the ERC1155 standard will be deployed and the address linked. The transaction is called with the following parameters: - name - associated title - metadataURI - originalBlockchain - originalContractAddress - destinationBlockchain - signedMessagelockTo make the NFT untransferable. This method is called for the NFT in the originalContract, the NFT will be stored in the contract. If this method is called for the NFT in the shadowContract, the NFT will be burned. This transaction is called with the following parameters: - metadataURI - originalBlockchain - originalContractAddress - destinationBlockchain - signedMessage
claimTo make the NFT transferable. Can only be called to transfer the locked NFT data by the wallet that performed the Lock transaction on the original blockchain. If called for the originalNFT on the original blockchain, the NFT will be transferred to this address. If called for the shadowNFT, the NFT will be minted and transferred to the owner address. This transaction is called with the following parameters: - lockId - originBlockchain - originalContractAdress - ownerAddress - ID amount - claimOriginal - signedMessage
🔎 READ
getNFTContractAddressByOrigin-getNFTContractAddressByOrigin - {originalAddress, originBlockchain}. If a shadowNFTContract exists method returns the address. If it does not exist, the method returns the “execution reverted” error.
✅ Successfully Passed Audit by ABDK Consulting
Last updated

