You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define the contracts required for the bridge to fulfill Cadence-native contracts into EVM
abstractcontractCrossVMBridgeFulfillmentisERC721, ICrossVMBridgeFulfillment {
/** * Sets the bridge EVM address such that only the bridge COA can call the privileged methods */constructor(addressvmBridge)
/** * Modifier restricting access to the designated VM bridge EVM address */modifier onlyVMBridge()
/** * Returns the designated VM bridge’s EVM address */function getVMBridgeAddress() publicviewreturns (address)
/** * Fulfills the bridge request, minting (if non-existent) or transferring (if escrowed) the NFT with given ID to * the provided address */function fulfillToEVM(addressto, uint256id, bytesdata) external onlyVMBridge
/** * ERC165 - Allows a caller to determine the contract conforms to the `ICrossVMFulfillment` interface */function supportsInterface(bytes4interfaceId) publicviewvirtualreturns (bool)
}
The text was updated successfully, but these errors were encountered:
Description
Define the contracts required for the bridge to fulfill Cadence-native contracts into EVM
The text was updated successfully, but these errors were encountered: