ETH Price: $2,414.05 (-0.15%)

Contract Diff Checker

Contract Name:
TierRouter

Contract Source Code:

// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import "./ITierRouter.sol";

/// @title TierRouter
/// @dev Labeled in AddressResolver as "tier_router"
/// @custom:security-contact [email protected]
contract TierRouter is ITierRouter {
    /// @inheritdoc ITierRouter
    function getProvider(uint256 /*_blockId*/ ) external pure returns (address) {
        return 0x4cffe56C947E26D07C14020499776DB3e9AE3a23;
    }
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

/// @title ITierRouter
/// @notice Defines interface to return an ITierProvider
/// @custom:security-contact [email protected]
interface ITierRouter {
    /// @dev Returns the address of the TierProvider for a given block.
    /// @param blockId ID of the block.
    /// @return The address of the corresponding TierProvider.
    function getProvider(uint256 blockId) external view returns (address);
}

Please enter a contract address above to load the contract details and source code.

Context size (optional):