ETH Price: $3,221.67 (+2.83%)

Contract

0xa0113fC5967707bF44d33CF9611D66726c7449B5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Registry

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
paris EvmVersion, GNU GPLv3 license
File 1 of 1 : Registry.sol
// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.4;

/// @title Registry
/// @notice Allows registering Infernet contracts for inter-contract discovery
/// @dev Requires deploy-time decleration of contract addresses
/// @dev Immutable with no upgradeability; used only for discovery
contract Registry {
    /*//////////////////////////////////////////////////////////////
                               IMMUTABLE
    //////////////////////////////////////////////////////////////*/

    /// @notice Coordinator address
    address public immutable COORDINATOR;

    /// @notice Inbox address
    address public immutable INBOX;

    /// @notice Reader address
    address public immutable READER;

    /// @notice Fee registry address
    address public immutable FEE;

    /// @notice Wallet factory address
    address public immutable WALLET_FACTORY;

    /*//////////////////////////////////////////////////////////////
                              CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    /// @notice Initializes new Registry
    /// @dev Requires pre-computing expected deployed addresses
    /// @param coordinator Coordinator address
    /// @param inbox Inbox address
    /// @param reader Reader address
    /// @param fee Fee registry address
    /// @param walletFactory Wallet factory address
    constructor(address coordinator, address inbox, address reader, address fee, address walletFactory) {
        COORDINATOR = coordinator;
        INBOX = inbox;
        READER = reader;
        FEE = fee;
        WALLET_FACTORY = walletFactory;
    }
}

Settings
{
  "remappings": [
    "solady/=lib/solady/src/",
    "forge-std/=lib/forge-std/src/",
    "weird-erc20/=lib/weird-erc20/src/",
    "ds-test/=lib/forge-std/lib/ds-test/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": true,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"coordinator","type":"address"},{"internalType":"address","name":"inbox","type":"address"},{"internalType":"address","name":"reader","type":"address"},{"internalType":"address","name":"fee","type":"address"},{"internalType":"address","name":"walletFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"COORDINATOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INBOX","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"READER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WALLET_FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

610120346100c657601f6103b438819003918201601f19168301916001600160401b038311848410176100cb5780849260a0946040528339810103126100c657610048816100e1565b90610055602082016100e1565b610061604083016100e1565b9061007a6080610073606086016100e1565b94016100e1565b9360805260a05260c05260e0526101009081526040516102be91826100f68339608051826101f2015260a05182610114015260c05182610183015260e0518260a2015251816102600152f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036100c65756fe608080604052600436101561001357600080fd5b600090813560e01c9081630e2009f414610216575080633b2bcbf1146101a7578063698eec4414610138578063b7010697146100c95763c57981b51461005857600080fd5b346100c657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c657602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b80fd5b50346100c657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c657602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346100c657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c657602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346100c657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c657602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b90503461028457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102845760209073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b5080fdfea2646970667358221220f5f5a10d573f781d347f29f5d74acf19f21a13c95851411e93980d526eff627664736f6c63430008130033000000000000000000000000033ce63d2895cc9e2227163c148a4d2e6e8e49fc0000000000000000000000008f126c0106e3d4a9b6f51db6fef3becfa714604c000000000000000000000000d2e459bdb2563a48f2db4acdd8590abc2d6452e1000000000000000000000000e2f36c4e23d67f81fe0b278e80ee85cf0cca3c8d000000000000000000000000b3b2ea1c1297c67d982203bb6d320ad9ddd5de07

Deployed Bytecode

0x608080604052600436101561001357600080fd5b600090813560e01c9081630e2009f414610216575080633b2bcbf1146101a7578063698eec4414610138578063b7010697146100c95763c57981b51461005857600080fd5b346100c657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c657602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e2f36c4e23d67f81fe0b278e80ee85cf0cca3c8d168152f35b80fd5b50346100c657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c657602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000008f126c0106e3d4a9b6f51db6fef3becfa714604c168152f35b50346100c657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c657602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000d2e459bdb2563a48f2db4acdd8590abc2d6452e1168152f35b50346100c657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100c657602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000033ce63d2895cc9e2227163c148a4d2e6e8e49fc168152f35b90503461028457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102845760209073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b3b2ea1c1297c67d982203bb6d320ad9ddd5de07168152f35b5080fdfea2646970667358221220f5f5a10d573f781d347f29f5d74acf19f21a13c95851411e93980d526eff627664736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000033ce63d2895cc9e2227163c148a4d2e6e8e49fc0000000000000000000000008f126c0106e3d4a9b6f51db6fef3becfa714604c000000000000000000000000d2e459bdb2563a48f2db4acdd8590abc2d6452e1000000000000000000000000e2f36c4e23d67f81fe0b278e80ee85cf0cca3c8d000000000000000000000000b3b2ea1c1297c67d982203bb6d320ad9ddd5de07

-----Decoded View---------------
Arg [0] : coordinator (address): 0x033Ce63d2895cC9E2227163C148A4D2E6e8E49fc
Arg [1] : inbox (address): 0x8f126c0106E3D4a9B6f51db6fef3BeCFa714604c
Arg [2] : reader (address): 0xd2e459BDB2563a48F2dB4Acdd8590AbC2d6452E1
Arg [3] : fee (address): 0xe2F36C4E23D67F81fE0B278E80ee85Cf0ccA3c8d
Arg [4] : walletFactory (address): 0xb3b2eA1C1297C67d982203bB6d320ad9DDD5de07

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000033ce63d2895cc9e2227163c148a4d2e6e8e49fc
Arg [1] : 0000000000000000000000008f126c0106e3d4a9b6f51db6fef3becfa714604c
Arg [2] : 000000000000000000000000d2e459bdb2563a48f2db4acdd8590abc2d6452e1
Arg [3] : 000000000000000000000000e2f36c4e23d67f81fe0b278e80ee85cf0cca3c8d
Arg [4] : 000000000000000000000000b3b2ea1c1297c67d982203bb6d320ad9ddd5de07


Deployed Bytecode Sourcemap

302:1324:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;758:28;302:1324;;;;;;;;;;;;;;;;;;;;;;;615:30;302:1324;;;;;;;;;;;;;;;;;;;;683:31;302:1324;;;;;;;;;;;;;;;;;;;;542:36;302:1324;;;;;;;;;;;;;;;;;;832:39;302:1324;832:39;302:1324;;;;;;;

Swarm Source

ipfs://f5f5a10d573f781d347f29f5d74acf19f21a13c95851411e93980d526eff6276

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.