Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TierRouter
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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 0xDDfaA6F5E9ed78229660953439958636C9e26A34; } }
// 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); }
{ "remappings": [ "@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/", "@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/", "solady/=node_modules/solady/", "forge-std/=node_modules/forge-std/", "ds-test/=node_modules/ds-test/src/", "p256-verifier/=node_modules/p256-verifier/", "forge-safe/=node_modules/forge-safe/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "cancun", "viaIR": false, "libraries": {} }
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getProvider","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"}]
Contract Creation Code
608060405234801561000f575f80fd5b5060b68061001c5f395ff3fe6080604052348015600e575f80fd5b50600436106026575f3560e01c80635c42d07914602a575b5f80fd5b604e6035366004606a565b5073ddfaa6f5e9ed78229660953439958636c9e26a3490565b6040516001600160a01b03909116815260200160405180910390f35b5f602082840312156079575f80fd5b503591905056fea2646970667358221220269c28a597c052a65ae8359fbc9d4849be227aa1279326d3f64eafac7b7e1c3464736f6c63430008180033
Deployed Bytecode
0x6080604052348015600e575f80fd5b50600436106026575f3560e01c80635c42d07914602a575b5f80fd5b604e6035366004606a565b5073ddfaa6f5e9ed78229660953439958636c9e26a3490565b6040516001600160a01b03909116815260200160405180910390f35b5f602082840312156079575f80fd5b503591905056fea2646970667358221220269c28a597c052a65ae8359fbc9d4849be227aa1279326d3f64eafac7b7e1c3464736f6c63430008180033
Loading...
Loading
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.