Skip to content

AssetController

AssetController

fallback

fallback() external

The fallback function is needed to ensure forward compatibility with Metahub. When introducing a new version of controller with additional external functions, it must be safe to call the those new functions on previous generation of controllers and it must not cause the transaction revert.

supportsInterface

function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)

_Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created.

This function call must use less than 30 000 gas._