ETH Price: $2,670.93 (+1.36%)

Contract

0x16dCfF55D6fb94B31709A63a27ac0918D72A4D12
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set160173302022-11-21 8:55:35641 days ago1669020935IN
0x16dCfF55...8D72A4D12
0 ETH0.0005640311.28648675
Set160173042022-11-21 8:50:11641 days ago1669020611IN
0x16dCfF55...8D72A4D12
0 ETH0.0005150410.29627644
Set160173022022-11-21 8:49:47641 days ago1669020587IN
0x16dCfF55...8D72A4D12
0 ETH0.0005178710.35037872
Set160173002022-11-21 8:49:23641 days ago1669020563IN
0x16dCfF55...8D72A4D12
0 ETH0.0005116210.24283712
Set160172982022-11-21 8:48:59641 days ago1669020539IN
0x16dCfF55...8D72A4D12
0 ETH0.0005262610.52066582
Set160172962022-11-21 8:48:35641 days ago1669020515IN
0x16dCfF55...8D72A4D12
0 ETH0.000490539.81577451
Set160172892022-11-21 8:47:11641 days ago1669020431IN
0x16dCfF55...8D72A4D12
0 ETH0.0005341810.65605032
Grant Role160172852022-11-21 8:46:23641 days ago1669020383IN
0x16dCfF55...8D72A4D12
0 ETH0.000621511.94553259
0x60806040159972262022-11-18 13:33:47643 days ago1668778427IN
 Create: ContractRegistry
0 ETH0.0152814313.00010826

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ContractRegistry

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : ContractRegistry.sol
//SPDX-License-Identifier: MIT

import "@openzeppelin/contracts/access/AccessControl.sol";

// File contracts/ContractRegistryInterface.sol

pragma solidity ^0.8.3;

interface ContractRegistryInterface {
  function get(string memory contractName) external view returns (address);
}


// File contracts/ContractRegistry.sol

pragma solidity ^0.8.3;

contract ContractRegistry is ContractRegistryInterface, AccessControl {
  bytes32 public constant MANAGER_ROLE = keccak256("MANAGER");
  event Set(string contractName, address contractAddress);

  mapping(string => address) contracts;
  
  function get(string calldata contractName) external view override(ContractRegistryInterface) returns (address) {
    address addy = contracts[contractName];
    require(addy != address(0), string(abi.encodePacked("ContractRegistry: missing contract - ", contractName)));
    return addy;
  }

  function set(string calldata contractName, address contractAddress) external onlyRole(MANAGER_ROLE) {
    contracts[contractName] = contractAddress;
    emit Set(contractName, contractAddress);
  }

  constructor(address adminAddress) {
    _setupRole(DEFAULT_ADMIN_ROLE, adminAddress);
  }
}

File 2 of 7 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 7 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 4 of 7 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 5 of 7 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 6 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 7 of 7 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev 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.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"adminAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"contractName","type":"string"},{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"}],"name":"Set","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"contractName","type":"string"}],"name":"get","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractName","type":"string"},{"internalType":"address","name":"contractAddress","type":"address"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001639380380620016398339818101604052810190620000379190620001e3565b6200004c6000801b826200005360201b60201c565b506200025d565b6200006582826200006960201b60201c565b5050565b6200007b82826200015a60201b60201c565b6200015657600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620000fb620001c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600081519050620001dd8162000243565b92915050565b600060208284031215620001f657600080fd5b60006200020684828501620001cc565b91505092915050565b60006200021c8262000223565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200024e816200020f565b81146200025a57600080fd5b50565b6113cc806200026d6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806391d148541161006657806391d148541461016b578063a217fddf1461019b578063a815ff15146101b9578063d547741f146101d5578063ec87621c146101f15761009e565b806301ffc9a7146100a3578063248a9ca3146100d35780632f2ff15d1461010357806336568abe1461011f578063693ec85e1461013b575b600080fd5b6100bd60048036038101906100b89190610c7d565b61020f565b6040516100ca9190610f6d565b60405180910390f35b6100ed60048036038101906100e89190610c18565b610289565b6040516100fa9190610f88565b60405180910390f35b61011d60048036038101906101189190610c41565b6102a8565b005b61013960048036038101906101349190610c41565b6102c9565b005b61015560048036038101906101509190610ca6565b61034c565b6040516101629190610f52565b60405180910390f35b61018560048036038101906101809190610c41565b610431565b6040516101929190610f6d565b60405180910390f35b6101a361049b565b6040516101b09190610f88565b60405180910390f35b6101d360048036038101906101ce9190610ceb565b6104a2565b005b6101ef60048036038101906101ea9190610c41565b61056c565b005b6101f961058d565b6040516102069190610f88565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806102825750610281826105b1565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b6102b182610289565b6102ba8161061b565b6102c4838361062f565b505050565b6102d161070f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461033e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033590611017565b60405180910390fd5b6103488282610717565b5050565b60008060018484604051610361929190610edb565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141584846040516020016103d6929190610ef4565b60405160208183030381529060405290610426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041d9190610fd5565b60405180910390fd5b508091505092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b7faf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c6104cc8161061b565b81600185856040516104df929190610edb565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f496595ced95720268cf8bc60bae3f35024ff2a130f73ac4e20f5c1eaca35db9984848460405161055e93929190610fa3565b60405180910390a150505050565b61057582610289565b61057e8161061b565b6105888383610717565b505050565b7faf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61062c8161062761070f565b6107f8565b50565b6106398282610431565b61070b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506106b061070f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b6107218282610431565b156107f457600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061079961070f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6108028282610431565b610891576108278173ffffffffffffffffffffffffffffffffffffffff166014610895565b6108358360001c6020610895565b604051602001610846929190610f18565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108889190610fd5565b60405180910390fd5b5050565b6060600060028360026108a891906110b4565b6108b2919061105e565b67ffffffffffffffff8111156108f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156109235781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110610981577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110610a0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002610a4b91906110b4565b610a55919061105e565b90505b6001811115610b41577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110610abd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110610afa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080610b3a906111ce565b9050610a58565b5060008414610b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7c90610ff7565b60405180910390fd5b8091505092915050565b600081359050610b9e81611351565b92915050565b600081359050610bb381611368565b92915050565b600081359050610bc88161137f565b92915050565b60008083601f840112610be057600080fd5b8235905067ffffffffffffffff811115610bf957600080fd5b602083019150836001820283011115610c1157600080fd5b9250929050565b600060208284031215610c2a57600080fd5b6000610c3884828501610ba4565b91505092915050565b60008060408385031215610c5457600080fd5b6000610c6285828601610ba4565b9250506020610c7385828601610b8f565b9150509250929050565b600060208284031215610c8f57600080fd5b6000610c9d84828501610bb9565b91505092915050565b60008060208385031215610cb957600080fd5b600083013567ffffffffffffffff811115610cd357600080fd5b610cdf85828601610bce565b92509250509250929050565b600080600060408486031215610d0057600080fd5b600084013567ffffffffffffffff811115610d1a57600080fd5b610d2686828701610bce565b93509350506020610d3986828701610b8f565b9150509250925092565b610d4c8161110e565b82525050565b610d5b81611120565b82525050565b610d6a8161112c565b82525050565b6000610d7c8385611042565b9350610d8983858461118c565b610d9283611227565b840190509392505050565b6000610da98385611053565b9350610db683858461118c565b82840190509392505050565b6000610dcd82611037565b610dd78185611042565b9350610de781856020860161119b565b610df081611227565b840191505092915050565b6000610e0682611037565b610e108185611053565b9350610e2081856020860161119b565b80840191505092915050565b6000610e39602083611042565b9150610e4482611238565b602082019050919050565b6000610e5c602583611053565b9150610e6782611261565b602582019050919050565b6000610e7f601783611053565b9150610e8a826112b0565b601782019050919050565b6000610ea2601183611053565b9150610ead826112d9565b601182019050919050565b6000610ec5602f83611042565b9150610ed082611302565b604082019050919050565b6000610ee8828486610d9d565b91508190509392505050565b6000610eff82610e4f565b9150610f0c828486610d9d565b91508190509392505050565b6000610f2382610e72565b9150610f2f8285610dfb565b9150610f3a82610e95565b9150610f468284610dfb565b91508190509392505050565b6000602082019050610f676000830184610d43565b92915050565b6000602082019050610f826000830184610d52565b92915050565b6000602082019050610f9d6000830184610d61565b92915050565b60006040820190508181036000830152610fbe818587610d70565b9050610fcd6020830184610d43565b949350505050565b60006020820190508181036000830152610fef8184610dc2565b905092915050565b6000602082019050818103600083015261101081610e2c565b9050919050565b6000602082019050818103600083015261103081610eb8565b9050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061106982611182565b915061107483611182565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156110a9576110a86111f8565b5b828201905092915050565b60006110bf82611182565b91506110ca83611182565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611103576111026111f8565b5b828202905092915050565b600061111982611162565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156111b957808201518184015260208101905061119e565b838111156111c8576000848401525b50505050565b60006111d982611182565b915060008214156111ed576111ec6111f8565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f436f6e747261637452656769737472793a206d697373696e6720636f6e74726160008201527f6374202d20000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61135a8161110e565b811461136557600080fd5b50565b6113718161112c565b811461137c57600080fd5b50565b61138881611136565b811461139357600080fd5b5056fea264697066735822122014db2a51f73f5008f8e2002d56c2928220d8f09a2c075c3f93699a6bf81cf0c964736f6c63430008030033000000000000000000000000cf3e2db15e4be7c83993b701a77737999b2b8ad3

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c806391d148541161006657806391d148541461016b578063a217fddf1461019b578063a815ff15146101b9578063d547741f146101d5578063ec87621c146101f15761009e565b806301ffc9a7146100a3578063248a9ca3146100d35780632f2ff15d1461010357806336568abe1461011f578063693ec85e1461013b575b600080fd5b6100bd60048036038101906100b89190610c7d565b61020f565b6040516100ca9190610f6d565b60405180910390f35b6100ed60048036038101906100e89190610c18565b610289565b6040516100fa9190610f88565b60405180910390f35b61011d60048036038101906101189190610c41565b6102a8565b005b61013960048036038101906101349190610c41565b6102c9565b005b61015560048036038101906101509190610ca6565b61034c565b6040516101629190610f52565b60405180910390f35b61018560048036038101906101809190610c41565b610431565b6040516101929190610f6d565b60405180910390f35b6101a361049b565b6040516101b09190610f88565b60405180910390f35b6101d360048036038101906101ce9190610ceb565b6104a2565b005b6101ef60048036038101906101ea9190610c41565b61056c565b005b6101f961058d565b6040516102069190610f88565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806102825750610281826105b1565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b6102b182610289565b6102ba8161061b565b6102c4838361062f565b505050565b6102d161070f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461033e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033590611017565b60405180910390fd5b6103488282610717565b5050565b60008060018484604051610361929190610edb565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141584846040516020016103d6929190610ef4565b60405160208183030381529060405290610426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161041d9190610fd5565b60405180910390fd5b508091505092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b7faf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c6104cc8161061b565b81600185856040516104df929190610edb565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f496595ced95720268cf8bc60bae3f35024ff2a130f73ac4e20f5c1eaca35db9984848460405161055e93929190610fa3565b60405180910390a150505050565b61057582610289565b61057e8161061b565b6105888383610717565b505050565b7faf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61062c8161062761070f565b6107f8565b50565b6106398282610431565b61070b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506106b061070f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b6107218282610431565b156107f457600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061079961070f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6108028282610431565b610891576108278173ffffffffffffffffffffffffffffffffffffffff166014610895565b6108358360001c6020610895565b604051602001610846929190610f18565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108889190610fd5565b60405180910390fd5b5050565b6060600060028360026108a891906110b4565b6108b2919061105e565b67ffffffffffffffff8111156108f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156109235781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110610981577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110610a0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002610a4b91906110b4565b610a55919061105e565b90505b6001811115610b41577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110610abd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110610afa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080610b3a906111ce565b9050610a58565b5060008414610b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7c90610ff7565b60405180910390fd5b8091505092915050565b600081359050610b9e81611351565b92915050565b600081359050610bb381611368565b92915050565b600081359050610bc88161137f565b92915050565b60008083601f840112610be057600080fd5b8235905067ffffffffffffffff811115610bf957600080fd5b602083019150836001820283011115610c1157600080fd5b9250929050565b600060208284031215610c2a57600080fd5b6000610c3884828501610ba4565b91505092915050565b60008060408385031215610c5457600080fd5b6000610c6285828601610ba4565b9250506020610c7385828601610b8f565b9150509250929050565b600060208284031215610c8f57600080fd5b6000610c9d84828501610bb9565b91505092915050565b60008060208385031215610cb957600080fd5b600083013567ffffffffffffffff811115610cd357600080fd5b610cdf85828601610bce565b92509250509250929050565b600080600060408486031215610d0057600080fd5b600084013567ffffffffffffffff811115610d1a57600080fd5b610d2686828701610bce565b93509350506020610d3986828701610b8f565b9150509250925092565b610d4c8161110e565b82525050565b610d5b81611120565b82525050565b610d6a8161112c565b82525050565b6000610d7c8385611042565b9350610d8983858461118c565b610d9283611227565b840190509392505050565b6000610da98385611053565b9350610db683858461118c565b82840190509392505050565b6000610dcd82611037565b610dd78185611042565b9350610de781856020860161119b565b610df081611227565b840191505092915050565b6000610e0682611037565b610e108185611053565b9350610e2081856020860161119b565b80840191505092915050565b6000610e39602083611042565b9150610e4482611238565b602082019050919050565b6000610e5c602583611053565b9150610e6782611261565b602582019050919050565b6000610e7f601783611053565b9150610e8a826112b0565b601782019050919050565b6000610ea2601183611053565b9150610ead826112d9565b601182019050919050565b6000610ec5602f83611042565b9150610ed082611302565b604082019050919050565b6000610ee8828486610d9d565b91508190509392505050565b6000610eff82610e4f565b9150610f0c828486610d9d565b91508190509392505050565b6000610f2382610e72565b9150610f2f8285610dfb565b9150610f3a82610e95565b9150610f468284610dfb565b91508190509392505050565b6000602082019050610f676000830184610d43565b92915050565b6000602082019050610f826000830184610d52565b92915050565b6000602082019050610f9d6000830184610d61565b92915050565b60006040820190508181036000830152610fbe818587610d70565b9050610fcd6020830184610d43565b949350505050565b60006020820190508181036000830152610fef8184610dc2565b905092915050565b6000602082019050818103600083015261101081610e2c565b9050919050565b6000602082019050818103600083015261103081610eb8565b9050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061106982611182565b915061107483611182565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156110a9576110a86111f8565b5b828201905092915050565b60006110bf82611182565b91506110ca83611182565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611103576111026111f8565b5b828202905092915050565b600061111982611162565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156111b957808201518184015260208101905061119e565b838111156111c8576000848401525b50505050565b60006111d982611182565b915060008214156111ed576111ec6111f8565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f436f6e747261637452656769737472793a206d697373696e6720636f6e74726160008201527f6374202d20000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61135a8161110e565b811461136557600080fd5b50565b6113718161112c565b811461137c57600080fd5b50565b61138881611136565b811461139357600080fd5b5056fea264697066735822122014db2a51f73f5008f8e2002d56c2928220d8f09a2c075c3f93699a6bf81cf0c964736f6c63430008030033

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

000000000000000000000000cf3e2db15e4be7c83993b701a77737999b2b8ad3

-----Decoded View---------------
Arg [0] : adminAddress (address): 0xCF3e2DB15E4be7c83993b701A77737999b2B8Ad3

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000cf3e2db15e4be7c83993b701a77737999b2b8ad3


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
[ Download: CSV Export  ]

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.