POL Price: $0.381712 (-5.89%)
 

Sponsored

Transaction Hash
Method
Block
From
To
Set Name611396802024-08-28 11:37:1618 days ago1724845036IN
0x35d5f254...b9aBE453A
0 POL0.0060571230.00000011
Set Name606836222024-08-17 3:00:3730 days ago1723863637IN
0x35d5f254...b9aBE453A
0 POL0.0073123230.00000003
Set Name600245292024-07-31 10:49:0546 days ago1722422945IN
0x35d5f254...b9aBE453A
0 POL0.0056736630.00000003
Set Name600231592024-07-31 9:58:4646 days ago1722419926IN
0x35d5f254...b9aBE453A
0 POL0.0058847332
Set Name597841972024-07-25 8:11:0252 days ago1721895062IN
0x35d5f254...b9aBE453A
0 POL0.0053783430.00000003
Set Name571542822024-05-19 17:52:54119 days ago1716141174IN
0x35d5f254...b9aBE453A
0 POL0.0072944840
Set Name566835802024-05-07 12:46:25131 days ago1715085985IN
0x35d5f254...b9aBE453A
0 POL0.0061955532
Set Name566835452024-05-07 12:44:47131 days ago1715085887IN
0x35d5f254...b9aBE453A
0 POL0.0065062732
Set Name566834922024-05-07 12:42:15131 days ago1715085735IN
0x35d5f254...b9aBE453A
0 POL0.0059926530.00000006
Set Name564871462024-05-02 7:59:40136 days ago1714636780IN
0x35d5f254...b9aBE453A
0 POL0.005692330.95357574
Set Name564867782024-05-02 7:45:02136 days ago1714635902IN
0x35d5f254...b9aBE453A
0 POL0.0060688431.85091458
Set Name559169282024-04-17 5:35:05151 days ago1713332105IN
0x35d5f254...b9aBE453A
0 POL0.02477007130
Set Name559165652024-04-17 5:21:37151 days ago1713331297IN
0x35d5f254...b9aBE453A
0 POL0.0162633284
Set Name559164482024-04-17 5:17:29151 days ago1713331049IN
0x35d5f254...b9aBE453A
0 POL0.0177014790
Set Name558916912024-04-16 13:29:35152 days ago1713274175IN
0x35d5f254...b9aBE453A
0 POL0.05034762254
Set Name558915982024-04-16 13:25:45152 days ago1713273945IN
0x35d5f254...b9aBE453A
0 POL0.03481289177
Set Name558914552024-04-16 13:20:41152 days ago1713273641IN
0x35d5f254...b9aBE453A
0 POL0.03349901169
Set Name558911462024-04-16 13:09:45152 days ago1713272985IN
0x35d5f254...b9aBE453A
0 POL0.03562221184
Set Name558911462024-04-16 13:09:45152 days ago1713272985IN
0x35d5f254...b9aBE453A
0 POL0.02888175148
Set Name558910232024-04-16 13:04:51152 days ago1713272691IN
0x35d5f254...b9aBE453A
0 POL0.02400937125
Set Name558910132024-04-16 13:04:31152 days ago1713272671IN
0x35d5f254...b9aBE453A
0 POL0.02452356120
Set Name558909542024-04-16 13:02:25152 days ago1713272545IN
0x35d5f254...b9aBE453A
0 POL0.02362054122
Set Name558908932024-04-16 13:00:15152 days ago1713272415IN
0x35d5f254...b9aBE453A
0 POL0.02266485118
Set Name558907502024-04-16 12:55:11152 days ago1713272111IN
0x35d5f254...b9aBE453A
0 POL0.02671831138
Set Name558904742024-04-16 12:45:25152 days ago1713271525IN
0x35d5f254...b9aBE453A
0 POL0.02682625135
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LuchaNames

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : LuchaNames.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

interface ILuchaSplitter {
	function burn(address user, uint256 amount) external;
	function splitPayment(address from, uint256 amount) external;
}

interface ILuchaMirror {
	function ownerOf(uint256 tokenId) external view returns (address);
}

contract LuchaNames is AccessControl, Pausable, ReentrancyGuard {
	using SafeMath for uint256;

	ILuchaMirror public luchaMirror;
	ILuchaSplitter public luchaSplitter;

	uint256 public nameFee;
	uint256 public renameFee;

	bool internal namesMigrated;

	struct MigratedName {
    uint256 id;
    string name;
  }

	mapping(address => mapping(uint256 => string)) public names;
	mapping(address => mapping(string => bool)) public nameExists;
	mapping(address => mapping(address => bool)) public addressBlacklist;

	event NameSet(
		address indexed originContract,
		address indexed sender,
		uint256 id,
		string name
	);

	bytes32 public constant FEES_MANAGER_ROLE = keccak256("FEES_MANAGER_ROLE");

	constructor(address _luchaMirror, address _luchaSplitter) {
		luchaMirror = ILuchaMirror(_luchaMirror);
		luchaSplitter = ILuchaSplitter(_luchaSplitter);

		_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
		_setupRole(FEES_MANAGER_ROLE, msg.sender);
	}

	modifier notBlacklisted(address originContract) {
		require(!addressBlacklist[originContract][msg.sender], "Address blacklisted");
		_;
	}

	function getName(address originContract, uint256 id) external view returns (string memory) {
		return names[originContract][id];
	}

	function setName(address originContract, uint256 id, string memory name) external notBlacklisted(originContract) whenNotPaused nonReentrant {
		require(_validateName(name), "Name contains invalid characters");
		_processName(originContract, id, name);
	}

	function _validateName(string memory name) private pure returns (bool) {
		bytes memory b = bytes(name);

		require(b.length > 0 && b.length <= 32, "Name must be between 1-32 characters");
		require(b[0] != 0x20, "Name cannot contain leading space");
		require(b[b.length.sub(1)] != 0x20, "Name cannot contain trailing space");

		uint256 spaces = 0;
		bytes1 lastChar = b[0];

		for (uint i; i < b.length; i++) {
			bytes1 char = b[i];

			if (char == 0x20) {
				spaces = spaces.add(1);
				if (lastChar == 0x20) return false; // Cannot contain continous spaces
			} 

			if (!(char >= 0x41 && char <= 0x5A) && // A-Z
					!(char >= 0x61 && char <= 0x7A) && // a-z
					!(char == 0x20) //space
			) return false;

			lastChar = char;
		}

		require(spaces < 5, "Name must be 5 words or less");

		return true;
	}

	function _processName(address originContract, uint256 id, string memory name) private {
		require(luchaMirror.ownerOf(id) == msg.sender, "Caller must be token owner");
		require(!nameExists[originContract][_toLowerCase(name)], "Name already exists");

		if (bytes(names[originContract][id]).length == 0) {
			luchaSplitter.splitPayment(msg.sender, nameFee);
		} else {
			string memory prevName = names[originContract][id];
			nameExists[originContract][_toLowerCase(prevName)] = false;

			luchaSplitter.splitPayment(msg.sender, renameFee);
		}

		names[originContract][id] = name;
		nameExists[originContract][_toLowerCase(name)] = true;

		emit NameSet(originContract, msg.sender, id, name);
	}

	function _toLowerCase(string memory name) private pure returns (string memory) {
		bytes memory bytesName = bytes(name);
		bytes memory lowerCase = new bytes(bytesName.length);

		for (uint i = 0; i < bytesName.length; i++) {
				if ((uint8(bytesName[i]) >= 65) && (uint8(bytesName[i]) <= 90)) {
					lowerCase[i] = bytes1(uint8(bytesName[i]) + 32);
				} else {
					lowerCase[i] = bytesName[i];
				}
		}
		return string(abi.encodePacked(lowerCase));
	}

	function blacklistName(address originContract, uint256 id) external onlyRole(DEFAULT_ADMIN_ROLE) {
		names[originContract][id] = "";
	}

	function blacklistAddress (address originContract, address _address, bool _bool) external onlyRole(DEFAULT_ADMIN_ROLE) {
		addressBlacklist[originContract][_address] = _bool;
	}

	function setNamingFees(uint256 newNameFee, uint256 newRenameFee) external onlyRole(FEES_MANAGER_ROLE) {
		nameFee = newNameFee;
		renameFee = newRenameFee;
	}

	function updateMirror(address newMirror) external onlyRole(DEFAULT_ADMIN_ROLE) {
		require(newMirror != address(0), "Bad mirror address");
		luchaMirror = ILuchaMirror(newMirror);
	}

	function migrateNames(address originContract, MigratedName[] calldata migratedNames) external onlyRole(DEFAULT_ADMIN_ROLE) {
		require(!namesMigrated, "Names already migrated");

		for (uint256 i = 0; i < migratedNames.length; i++) {
			names[originContract][migratedNames[i].id] = migratedNames[i].name;
			nameExists[originContract][_toLowerCase(migratedNames[i].name)] = true;
		}
	}

	function setNamesMigrated() external onlyRole(DEFAULT_ADMIN_ROLE) {
		namesMigrated = true;
	}

	function pause() external onlyRole(DEFAULT_ADMIN_ROLE) {
		_pause();
	}

	function unpause() external onlyRole(DEFAULT_ADMIN_ROLE) {
		_unpause();
	}
}

File 2 of 10 : AccessControl.sol
// SPDX-License-Identifier: MIT

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, _msgSender());
        _;
    }

    /**
     * @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 override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @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 {
        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 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.
     */
    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.
     */
    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 granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    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.
     *
     * [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}.
     * ====
     */
    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);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 10 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 10 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 10 : IAccessControl.sol
// SPDX-License-Identifier: MIT

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 7 of 10 : Context.sol
// SPDX-License-Identifier: MIT

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 8 of 10 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }
}

File 9 of 10 : ERC165.sol
// SPDX-License-Identifier: MIT

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 10 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT

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":"_luchaMirror","type":"address"},{"internalType":"address","name":"_luchaSplitter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"originContract","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEES_MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"addressBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"originContract","type":"address"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_bool","type":"bool"}],"name":"blacklistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"originContract","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"blacklistName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"originContract","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"luchaMirror","outputs":[{"internalType":"contract ILuchaMirror","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"luchaSplitter","outputs":[{"internalType":"contract ILuchaSplitter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"originContract","type":"address"},{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"internalType":"struct LuchaNames.MigratedName[]","name":"migratedNames","type":"tuple[]"}],"name":"migrateNames","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"string","name":"","type":"string"}],"name":"nameExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"names","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renameFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"originContract","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setNamesMigrated","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNameFee","type":"uint256"},{"internalType":"uint256","name":"newRenameFee","type":"uint256"}],"name":"setNamingFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMirror","type":"address"}],"name":"updateMirror","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162003bea38038062003bea8339818101604052810190620000379190620002bb565b6000600160006101000a81548160ff021916908315150217905550600160028190555081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000f16000801b336200012b60201b60201c565b620001237f0a12058624d2cac0254f96fdd1650ac397644194b2e575febdb2477da219fcfe336200012b60201b60201c565b50506200034a565b6200013d82826200014160201b60201c565b5050565b6200015382826200023260201b60201c565b6200022e57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001d36200029c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600081519050620002b58162000330565b92915050565b60008060408385031215620002cf57600080fd5b6000620002df85828601620002a4565b9250506020620002f285828601620002a4565b9150509250929050565b6000620003098262000310565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200033b81620002fc565b81146200034757600080fd5b50565b613890806200035a6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80638456cb59116100de578063bb605eb511610097578063d547741f11610071578063d547741f1461044b578063d63334c614610467578063e1090cff14610483578063eb5209d3146104b35761018e565b8063bb605eb5146103df578063bcac8e0a1461040f578063cc076c261461042d5761018e565b80638456cb5914610309578063867786b11461031357806391d1485414610343578063a217fddf14610373578063b3a2f78a14610391578063b914d7ab146103af5761018e565b80632f2ff15d1161014b5780633f4ba83a116101255780633f4ba83a146102a557806346bc9d41146102af5780635c975abb146102cd5780637b9ed097146102eb5761018e565b80632f2ff15d1461025157806336568abe1461026d5780633811fb03146102895761018e565b806301ffc9a71461019357806311e975bb146101c35780631b07a0a3146101cd5780631c9d05e9146101e9578063248a9ca3146102055780632644804314610235575b600080fd5b6101ad60048036038101906101a891906129c4565b6104cf565b6040516101ba91906130a2565b60405180910390f35b6101cb610549565b005b6101e760048036038101906101e29190612810565b61057c565b005b61020360048036038101906101fe91906129ed565b610827565b005b61021f600480360381019061021a919061295f565b61086c565b60405161022c91906130bd565b60405180910390f35b61024f600480360381019061024a9190612733565b61088b565b005b61026b60048036038101906102669190612988565b610955565b005b61028760048036038101906102829190612988565b61097e565b005b6102a3600480360381019061029e91906127c1565b610a01565b005b6102ad610ab0565b005b6102b7610ad0565b6040516102c49190613310565b60405180910390f35b6102d5610ad6565b6040516102e291906130a2565b60405180910390f35b6102f3610aed565b60405161030091906130bd565b60405180910390f35b610311610b11565b005b61032d60048036038101906103289190612868565b610b31565b60405161033a91906130a2565b60405180910390f35b61035d60048036038101906103589190612988565b610b76565b60405161036a91906130a2565b60405180910390f35b61037b610be0565b60405161038891906130bd565b60405180910390f35b610399610be7565b6040516103a691906130d8565b60405180910390f35b6103c960048036038101906103c491906128bc565b610c0d565b6040516103d6919061310e565b60405180910390f35b6103f960048036038101906103f49190612785565b610cba565b60405161040691906130a2565b60405180910390f35b610417610ce9565b6040516104249190613310565b60405180910390f35b610435610cef565b60405161044291906130f3565b60405180910390f35b61046560048036038101906104609190612988565b610d15565b005b610481600480360381019061047c91906128bc565b610d3e565b005b61049d600480360381019061049891906128bc565b610dcc565b6040516104aa919061310e565b60405180910390f35b6104cd60048036038101906104c891906128f8565b610eaf565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054257506105418261106f565b5b9050919050565b6000801b61055e816105596110d9565b6110e1565b6001600760006101000a81548160ff02191690831515021790555050565b6000801b6105918161058c6110d9565b6110e1565b600760009054906101000a900460ff16156105e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d890613250565b60405180910390fd5b60005b8383905081101561082057838382818110610628577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061063a91906133b2565b8060200190610649919061335b565b600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008787868181106106c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020028101906106d591906133b2565b60000135815260200190815260200160002091906106f49291906124da565b506001600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206107db868685818110610772577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061078491906133b2565b8060200190610793919061335b565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061117e565b6040516107e8919061300d565b908152602001604051809103902060006101000a81548160ff021916908315150217905550808061081890613700565b9150506105e4565b5050505050565b7f0a12058624d2cac0254f96fdd1650ac397644194b2e575febdb2477da219fcfe610859816108546110d9565b6110e1565b8260058190555081600681905550505050565b6000806000838152602001908152602001600020600101549050919050565b6000801b6108a08161089b6110d9565b6110e1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090790613270565b60405180910390fd5b81600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61095e8261086c565b61096f8161096a6110d9565b6110e1565b610979838361145f565b505050565b6109866110d9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ea906132f0565b60405180910390fd5b6109fd828261153f565b5050565b6000801b610a1681610a116110d9565b6110e1565b81600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b6000801b610ac581610ac06110d9565b6110e1565b610acd611620565b50565b60055481565b6000600160009054906101000a900460ff16905090565b7f0a12058624d2cac0254f96fdd1650ac397644194b2e575febdb2477da219fcfe81565b6000801b610b2681610b216110d9565b6110e1565b610b2e6116c2565b50565b6009602052816000526040600020818051602081018201805184825260208301602085012081835280955050505050506000915091509054906101000a900460ff1681565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6008602052816000526040600020602052806000526040600020600091509150508054610c39906136ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610c65906136ce565b8015610cb25780601f10610c8757610100808354040283529160200191610cb2565b820191906000526020600020905b815481529060010190602001808311610c9557829003601f168201915b505050505081565b600a6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60065481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d1e8261086c565b610d2f81610d2a6110d9565b6110e1565b610d39838361153f565b505050565b6000801b610d5381610d4e6110d9565b6110e1565b60405180602001604052806000815250600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000209080519060200190610dc6929190612560565b50505050565b6060600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208054610e29906136ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610e55906136ce565b8015610ea25780601f10610e7757610100808354040283529160200191610ea2565b820191906000526020600020905b815481529060010190602001808311610e8557829003601f168201915b5050505050905092915050565b82600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f71906131f0565b60405180910390fd5b610f82610ad6565b15610fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb9906131b0565b60405180910390fd5b600280541415611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe906132b0565b60405180910390fd5b6002808190555061101782611764565b611056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104d906132d0565b60405180910390fd5b611061848484611bb7565b600160028190555050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6110eb8282610b76565b61117a576111108173ffffffffffffffffffffffffffffffffffffffff1660146121b4565b61111e8360001c60206121b4565b60405160200161112f929190613024565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611171919061310e565b60405180910390fd5b5050565b606060008290506000815167ffffffffffffffff8111156111c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111fa5781602001600182028036833780820191505090505b50905060005b8251811015611435576041838281518110611244577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156112ad5750605a838281518110611299577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b156113755760208382815181106112ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61130591906134ca565b60f81b828281518110611341577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611422565b8281815181106113ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b8282815181106113f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b808061142d90613700565b915050611200565b50806040516020016114479190612ff6565b60405160208183030381529060405292505050919050565b6114698282610b76565b61153b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114e06110d9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6115498282610b76565b1561161c57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115c16110d9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611628610ad6565b611667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165e90613150565b60405180910390fd5b6000600160006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116ab6110d9565b6040516116b8919061305e565b60405180910390a1565b6116ca610ad6565b1561170a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611701906131b0565b60405180910390fd5b60018060006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861174d6110d9565b60405161175a919061305e565b60405180910390a1565b6000808290506000815111801561177d57506020815111155b6117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613170565b60405180910390fd5b602060f81b816000815181106117fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611869576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611860906131d0565b60405180910390fd5b602060f81b81611884600184516124ae90919063ffffffff16565b815181106118bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192090613230565b60405180910390fd5b60008082600081518110611966577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b8351811015611b665760008482815181106119ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611a4857611a096001856124c490919063ffffffff16565b9350602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611a4757600095505050505050611bb2565b5b604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611aa45750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b158015611b0a5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611b085750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611b3c5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611b4f57600095505050505050611bb2565b809250508080611b5e90613700565b915050611976565b5060058210611baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba190613290565b60405180910390fd5b600193505050505b919050565b3373ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401611c299190613310565b60206040518083038186803b158015611c4157600080fd5b505afa158015611c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c79919061275c565b73ffffffffffffffffffffffffffffffffffffffff1614611ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc690613190565b60405180910390fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611d178261117e565b604051611d24919061300d565b908152602001604051809103902060009054906101000a900460ff1615611d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7790613210565b60405180910390fd5b6000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208054611ddd906136ce565b90501415611e7b57600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633c441567336005546040518363ffffffff1660e01b8152600401611e44929190613079565b600060405180830381600087803b158015611e5e57600080fd5b505af1158015611e72573d6000803e3d6000fd5b50505050612067565b6000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208054611ed8906136ce565b80601f0160208091040260200160405190810160405280929190818152602001828054611f04906136ce565b8015611f515780601f10611f2657610100808354040283529160200191611f51565b820191906000526020600020905b815481529060010190602001808311611f3457829003601f168201915b505050505090506000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611fa28361117e565b604051611faf919061300d565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633c441567336006546040518363ffffffff1660e01b8152600401612033929190613079565b600060405180830381600087803b15801561204d57600080fd5b505af1158015612061573d6000803e3d6000fd5b50505050505b80600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002090805190602001906120cb929190612560565b506001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206121168361117e565b604051612123919061300d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f9ed7dd1335d956122d42c053cd6d214200cff05d5dc31837b463326d180a47f084846040516121a792919061332b565b60405180910390a3505050565b6060600060028360026121c79190613501565b6121d19190613474565b67ffffffffffffffff811115612210577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122425781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106122a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061232a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261236a9190613501565b6123749190613474565b90505b6001811115612460577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106123dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612419577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612459906136a4565b9050612377565b50600084146124a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249b90613130565b60405180910390fd5b8091505092915050565b600081836124bc919061355b565b905092915050565b600081836124d29190613474565b905092915050565b8280546124e6906136ce565b90600052602060002090601f016020900481019282612508576000855561254f565b82601f1061252157803560ff191683800117855561254f565b8280016001018555821561254f579182015b8281111561254e578235825591602001919060010190612533565b5b50905061255c91906125e6565b5090565b82805461256c906136ce565b90600052602060002090601f01602090048101928261258e57600085556125d5565b82601f106125a757805160ff19168380011785556125d5565b828001600101855582156125d5579182015b828111156125d45782518255916020019190600101906125b9565b5b5090506125e291906125e6565b5090565b5b808211156125ff5760008160009055506001016125e7565b5090565b600061261661261184613407565b6133d6565b90508281526020810184848401111561262e57600080fd5b612639848285613662565b509392505050565b600081359050612650816137e7565b92915050565b600081519050612665816137e7565b92915050565b60008083601f84011261267d57600080fd5b8235905067ffffffffffffffff81111561269657600080fd5b6020830191508360208202830111156126ae57600080fd5b9250929050565b6000813590506126c4816137fe565b92915050565b6000813590506126d981613815565b92915050565b6000813590506126ee8161382c565b92915050565b600082601f83011261270557600080fd5b8135612715848260208601612603565b91505092915050565b60008135905061272d81613843565b92915050565b60006020828403121561274557600080fd5b600061275384828501612641565b91505092915050565b60006020828403121561276e57600080fd5b600061277c84828501612656565b91505092915050565b6000806040838503121561279857600080fd5b60006127a685828601612641565b92505060206127b785828601612641565b9150509250929050565b6000806000606084860312156127d657600080fd5b60006127e486828701612641565b93505060206127f586828701612641565b9250506040612806868287016126b5565b9150509250925092565b60008060006040848603121561282557600080fd5b600061283386828701612641565b935050602084013567ffffffffffffffff81111561285057600080fd5b61285c8682870161266b565b92509250509250925092565b6000806040838503121561287b57600080fd5b600061288985828601612641565b925050602083013567ffffffffffffffff8111156128a657600080fd5b6128b2858286016126f4565b9150509250929050565b600080604083850312156128cf57600080fd5b60006128dd85828601612641565b92505060206128ee8582860161271e565b9150509250929050565b60008060006060848603121561290d57600080fd5b600061291b86828701612641565b935050602061292c8682870161271e565b925050604084013567ffffffffffffffff81111561294957600080fd5b612955868287016126f4565b9150509250925092565b60006020828403121561297157600080fd5b600061297f848285016126ca565b91505092915050565b6000806040838503121561299b57600080fd5b60006129a9858286016126ca565b92505060206129ba85828601612641565b9150509250929050565b6000602082840312156129d657600080fd5b60006129e4848285016126df565b91505092915050565b60008060408385031215612a0057600080fd5b6000612a0e8582860161271e565b9250506020612a1f8582860161271e565b9150509250929050565b612a328161358f565b82525050565b612a41816135a1565b82525050565b612a50816135ad565b82525050565b6000612a6182613437565b612a6b818561344d565b9350612a7b818560208601613671565b80840191505092915050565b612a908161361a565b82525050565b612a9f8161363e565b82525050565b6000612ab082613442565b612aba8185613458565b9350612aca818560208601613671565b612ad3816137d6565b840191505092915050565b6000612ae982613442565b612af38185613469565b9350612b03818560208601613671565b80840191505092915050565b6000612b1c602083613458565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000612b5c601483613458565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000612b9c602483613458565b91507f4e616d65206d757374206265206265747765656e20312d33322063686172616360008301527f74657273000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c02601a83613458565b91507f43616c6c6572206d75737420626520746f6b656e206f776e65720000000000006000830152602082019050919050565b6000612c42601083613458565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000612c82602183613458565b91507f4e616d652063616e6e6f7420636f6e7461696e206c656164696e67207370616360008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612ce8601383613458565b91507f4164647265737320626c61636b6c6973746564000000000000000000000000006000830152602082019050919050565b6000612d28601383613458565b91507f4e616d6520616c726561647920657869737473000000000000000000000000006000830152602082019050919050565b6000612d68602283613458565b91507f4e616d652063616e6e6f7420636f6e7461696e20747261696c696e672073706160008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612dce601683613458565b91507f4e616d657320616c7265616479206d69677261746564000000000000000000006000830152602082019050919050565b6000612e0e601283613458565b91507f426164206d6972726f72206164647265737300000000000000000000000000006000830152602082019050919050565b6000612e4e601783613469565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000612e8e601c83613458565b91507f4e616d65206d757374206265203520776f726473206f72206c657373000000006000830152602082019050919050565b6000612ece601f83613458565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000612f0e602083613458565b91507f4e616d6520636f6e7461696e7320696e76616c696420636861726163746572736000830152602082019050919050565b6000612f4e601183613469565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000612f8e602f83613458565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b612ff081613603565b82525050565b60006130028284612a56565b915081905092915050565b60006130198284612ade565b915081905092915050565b600061302f82612e41565b915061303b8285612ade565b915061304682612f41565b91506130528284612ade565b91508190509392505050565b60006020820190506130736000830184612a29565b92915050565b600060408201905061308e6000830185612a29565b61309b6020830184612fe7565b9392505050565b60006020820190506130b76000830184612a38565b92915050565b60006020820190506130d26000830184612a47565b92915050565b60006020820190506130ed6000830184612a87565b92915050565b60006020820190506131086000830184612a96565b92915050565b600060208201905081810360008301526131288184612aa5565b905092915050565b6000602082019050818103600083015261314981612b0f565b9050919050565b6000602082019050818103600083015261316981612b4f565b9050919050565b6000602082019050818103600083015261318981612b8f565b9050919050565b600060208201905081810360008301526131a981612bf5565b9050919050565b600060208201905081810360008301526131c981612c35565b9050919050565b600060208201905081810360008301526131e981612c75565b9050919050565b6000602082019050818103600083015261320981612cdb565b9050919050565b6000602082019050818103600083015261322981612d1b565b9050919050565b6000602082019050818103600083015261324981612d5b565b9050919050565b6000602082019050818103600083015261326981612dc1565b9050919050565b6000602082019050818103600083015261328981612e01565b9050919050565b600060208201905081810360008301526132a981612e81565b9050919050565b600060208201905081810360008301526132c981612ec1565b9050919050565b600060208201905081810360008301526132e981612f01565b9050919050565b6000602082019050818103600083015261330981612f81565b9050919050565b60006020820190506133256000830184612fe7565b92915050565b60006040820190506133406000830185612fe7565b81810360208301526133528184612aa5565b90509392505050565b6000808335600160200384360303811261337457600080fd5b80840192508235915067ffffffffffffffff82111561339257600080fd5b6020830192506001820236038313156133aa57600080fd5b509250929050565b6000823560016040038336030381126133ca57600080fd5b80830191505092915050565b6000604051905081810181811067ffffffffffffffff821117156133fd576133fc6137a7565b5b8060405250919050565b600067ffffffffffffffff821115613422576134216137a7565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061347f82613603565b915061348a83613603565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134bf576134be613749565b5b828201905092915050565b60006134d58261360d565b91506134e08361360d565b92508260ff038211156134f6576134f5613749565b5b828201905092915050565b600061350c82613603565b915061351783613603565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135505761354f613749565b5b828202905092915050565b600061356682613603565b915061357183613603565b92508282101561358457613583613749565b5b828203905092915050565b600061359a826135e3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006136258261362c565b9050919050565b6000613637826135e3565b9050919050565b600061364982613650565b9050919050565b600061365b826135e3565b9050919050565b82818337600083830152505050565b60005b8381101561368f578082015181840152602081019050613674565b8381111561369e576000848401525b50505050565b60006136af82613603565b915060008214156136c3576136c2613749565b5b600182039050919050565b600060028204905060018216806136e657607f821691505b602082108114156136fa576136f9613778565b5b50919050565b600061370b82613603565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561373e5761373d613749565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6137f08161358f565b81146137fb57600080fd5b50565b613807816135a1565b811461381257600080fd5b50565b61381e816135ad565b811461382957600080fd5b50565b613835816135b7565b811461384057600080fd5b50565b61384c81613603565b811461385757600080fd5b5056fea264697066735822122059dfbc4208da268d38e9d818c9d2f47b24e1743771ba1d4c4b06dbea33d2e56e64736f6c634300080000330000000000000000000000004b7668714388772ea29abf26c8b589a0b3374ee9000000000000000000000000d2d391d4f260414144cf188063e09b01e8826098

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80638456cb59116100de578063bb605eb511610097578063d547741f11610071578063d547741f1461044b578063d63334c614610467578063e1090cff14610483578063eb5209d3146104b35761018e565b8063bb605eb5146103df578063bcac8e0a1461040f578063cc076c261461042d5761018e565b80638456cb5914610309578063867786b11461031357806391d1485414610343578063a217fddf14610373578063b3a2f78a14610391578063b914d7ab146103af5761018e565b80632f2ff15d1161014b5780633f4ba83a116101255780633f4ba83a146102a557806346bc9d41146102af5780635c975abb146102cd5780637b9ed097146102eb5761018e565b80632f2ff15d1461025157806336568abe1461026d5780633811fb03146102895761018e565b806301ffc9a71461019357806311e975bb146101c35780631b07a0a3146101cd5780631c9d05e9146101e9578063248a9ca3146102055780632644804314610235575b600080fd5b6101ad60048036038101906101a891906129c4565b6104cf565b6040516101ba91906130a2565b60405180910390f35b6101cb610549565b005b6101e760048036038101906101e29190612810565b61057c565b005b61020360048036038101906101fe91906129ed565b610827565b005b61021f600480360381019061021a919061295f565b61086c565b60405161022c91906130bd565b60405180910390f35b61024f600480360381019061024a9190612733565b61088b565b005b61026b60048036038101906102669190612988565b610955565b005b61028760048036038101906102829190612988565b61097e565b005b6102a3600480360381019061029e91906127c1565b610a01565b005b6102ad610ab0565b005b6102b7610ad0565b6040516102c49190613310565b60405180910390f35b6102d5610ad6565b6040516102e291906130a2565b60405180910390f35b6102f3610aed565b60405161030091906130bd565b60405180910390f35b610311610b11565b005b61032d60048036038101906103289190612868565b610b31565b60405161033a91906130a2565b60405180910390f35b61035d60048036038101906103589190612988565b610b76565b60405161036a91906130a2565b60405180910390f35b61037b610be0565b60405161038891906130bd565b60405180910390f35b610399610be7565b6040516103a691906130d8565b60405180910390f35b6103c960048036038101906103c491906128bc565b610c0d565b6040516103d6919061310e565b60405180910390f35b6103f960048036038101906103f49190612785565b610cba565b60405161040691906130a2565b60405180910390f35b610417610ce9565b6040516104249190613310565b60405180910390f35b610435610cef565b60405161044291906130f3565b60405180910390f35b61046560048036038101906104609190612988565b610d15565b005b610481600480360381019061047c91906128bc565b610d3e565b005b61049d600480360381019061049891906128bc565b610dcc565b6040516104aa919061310e565b60405180910390f35b6104cd60048036038101906104c891906128f8565b610eaf565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054257506105418261106f565b5b9050919050565b6000801b61055e816105596110d9565b6110e1565b6001600760006101000a81548160ff02191690831515021790555050565b6000801b6105918161058c6110d9565b6110e1565b600760009054906101000a900460ff16156105e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d890613250565b60405180910390fd5b60005b8383905081101561082057838382818110610628577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061063a91906133b2565b8060200190610649919061335b565b600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008787868181106106c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020028101906106d591906133b2565b60000135815260200190815260200160002091906106f49291906124da565b506001600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206107db868685818110610772577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061078491906133b2565b8060200190610793919061335b565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061117e565b6040516107e8919061300d565b908152602001604051809103902060006101000a81548160ff021916908315150217905550808061081890613700565b9150506105e4565b5050505050565b7f0a12058624d2cac0254f96fdd1650ac397644194b2e575febdb2477da219fcfe610859816108546110d9565b6110e1565b8260058190555081600681905550505050565b6000806000838152602001908152602001600020600101549050919050565b6000801b6108a08161089b6110d9565b6110e1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090790613270565b60405180910390fd5b81600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61095e8261086c565b61096f8161096a6110d9565b6110e1565b610979838361145f565b505050565b6109866110d9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ea906132f0565b60405180910390fd5b6109fd828261153f565b5050565b6000801b610a1681610a116110d9565b6110e1565b81600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b6000801b610ac581610ac06110d9565b6110e1565b610acd611620565b50565b60055481565b6000600160009054906101000a900460ff16905090565b7f0a12058624d2cac0254f96fdd1650ac397644194b2e575febdb2477da219fcfe81565b6000801b610b2681610b216110d9565b6110e1565b610b2e6116c2565b50565b6009602052816000526040600020818051602081018201805184825260208301602085012081835280955050505050506000915091509054906101000a900460ff1681565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6008602052816000526040600020602052806000526040600020600091509150508054610c39906136ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610c65906136ce565b8015610cb25780601f10610c8757610100808354040283529160200191610cb2565b820191906000526020600020905b815481529060010190602001808311610c9557829003601f168201915b505050505081565b600a6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60065481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d1e8261086c565b610d2f81610d2a6110d9565b6110e1565b610d39838361153f565b505050565b6000801b610d5381610d4e6110d9565b6110e1565b60405180602001604052806000815250600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000209080519060200190610dc6929190612560565b50505050565b6060600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208054610e29906136ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610e55906136ce565b8015610ea25780601f10610e7757610100808354040283529160200191610ea2565b820191906000526020600020905b815481529060010190602001808311610e8557829003601f168201915b5050505050905092915050565b82600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f71906131f0565b60405180910390fd5b610f82610ad6565b15610fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb9906131b0565b60405180910390fd5b600280541415611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe906132b0565b60405180910390fd5b6002808190555061101782611764565b611056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104d906132d0565b60405180910390fd5b611061848484611bb7565b600160028190555050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6110eb8282610b76565b61117a576111108173ffffffffffffffffffffffffffffffffffffffff1660146121b4565b61111e8360001c60206121b4565b60405160200161112f929190613024565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611171919061310e565b60405180910390fd5b5050565b606060008290506000815167ffffffffffffffff8111156111c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111fa5781602001600182028036833780820191505090505b50905060005b8251811015611435576041838281518110611244577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16101580156112ad5750605a838281518110611299577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff1611155b156113755760208382815181106112ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c61130591906134ca565b60f81b828281518110611341577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611422565b8281815181106113ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b8282815181106113f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b808061142d90613700565b915050611200565b50806040516020016114479190612ff6565b60405160208183030381529060405292505050919050565b6114698282610b76565b61153b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114e06110d9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6115498282610b76565b1561161c57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115c16110d9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611628610ad6565b611667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165e90613150565b60405180910390fd5b6000600160006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116ab6110d9565b6040516116b8919061305e565b60405180910390a1565b6116ca610ad6565b1561170a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611701906131b0565b60405180910390fd5b60018060006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861174d6110d9565b60405161175a919061305e565b60405180910390a1565b6000808290506000815111801561177d57506020815111155b6117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613170565b60405180910390fd5b602060f81b816000815181106117fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611869576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611860906131d0565b60405180910390fd5b602060f81b81611884600184516124ae90919063ffffffff16565b815181106118bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192090613230565b60405180910390fd5b60008082600081518110611966577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060005b8351811015611b665760008482815181106119ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611a4857611a096001856124c490919063ffffffff16565b9350602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611a4757600095505050505050611bb2565b5b604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611aa45750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b158015611b0a5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015611b085750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b8015611b3c5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611b4f57600095505050505050611bb2565b809250508080611b5e90613700565b915050611976565b5060058210611baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba190613290565b60405180910390fd5b600193505050505b919050565b3373ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b8152600401611c299190613310565b60206040518083038186803b158015611c4157600080fd5b505afa158015611c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c79919061275c565b73ffffffffffffffffffffffffffffffffffffffff1614611ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc690613190565b60405180910390fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611d178261117e565b604051611d24919061300d565b908152602001604051809103902060009054906101000a900460ff1615611d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7790613210565b60405180910390fd5b6000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208054611ddd906136ce565b90501415611e7b57600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633c441567336005546040518363ffffffff1660e01b8152600401611e44929190613079565b600060405180830381600087803b158015611e5e57600080fd5b505af1158015611e72573d6000803e3d6000fd5b50505050612067565b6000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208054611ed8906136ce565b80601f0160208091040260200160405190810160405280929190818152602001828054611f04906136ce565b8015611f515780601f10611f2657610100808354040283529160200191611f51565b820191906000526020600020905b815481529060010190602001808311611f3457829003601f168201915b505050505090506000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611fa28361117e565b604051611faf919061300d565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633c441567336006546040518363ffffffff1660e01b8152600401612033929190613079565b600060405180830381600087803b15801561204d57600080fd5b505af1158015612061573d6000803e3d6000fd5b50505050505b80600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002090805190602001906120cb929190612560565b506001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206121168361117e565b604051612123919061300d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f9ed7dd1335d956122d42c053cd6d214200cff05d5dc31837b463326d180a47f084846040516121a792919061332b565b60405180910390a3505050565b6060600060028360026121c79190613501565b6121d19190613474565b67ffffffffffffffff811115612210577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122425781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106122a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061232a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261236a9190613501565b6123749190613474565b90505b6001811115612460577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106123dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612419577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612459906136a4565b9050612377565b50600084146124a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249b90613130565b60405180910390fd5b8091505092915050565b600081836124bc919061355b565b905092915050565b600081836124d29190613474565b905092915050565b8280546124e6906136ce565b90600052602060002090601f016020900481019282612508576000855561254f565b82601f1061252157803560ff191683800117855561254f565b8280016001018555821561254f579182015b8281111561254e578235825591602001919060010190612533565b5b50905061255c91906125e6565b5090565b82805461256c906136ce565b90600052602060002090601f01602090048101928261258e57600085556125d5565b82601f106125a757805160ff19168380011785556125d5565b828001600101855582156125d5579182015b828111156125d45782518255916020019190600101906125b9565b5b5090506125e291906125e6565b5090565b5b808211156125ff5760008160009055506001016125e7565b5090565b600061261661261184613407565b6133d6565b90508281526020810184848401111561262e57600080fd5b612639848285613662565b509392505050565b600081359050612650816137e7565b92915050565b600081519050612665816137e7565b92915050565b60008083601f84011261267d57600080fd5b8235905067ffffffffffffffff81111561269657600080fd5b6020830191508360208202830111156126ae57600080fd5b9250929050565b6000813590506126c4816137fe565b92915050565b6000813590506126d981613815565b92915050565b6000813590506126ee8161382c565b92915050565b600082601f83011261270557600080fd5b8135612715848260208601612603565b91505092915050565b60008135905061272d81613843565b92915050565b60006020828403121561274557600080fd5b600061275384828501612641565b91505092915050565b60006020828403121561276e57600080fd5b600061277c84828501612656565b91505092915050565b6000806040838503121561279857600080fd5b60006127a685828601612641565b92505060206127b785828601612641565b9150509250929050565b6000806000606084860312156127d657600080fd5b60006127e486828701612641565b93505060206127f586828701612641565b9250506040612806868287016126b5565b9150509250925092565b60008060006040848603121561282557600080fd5b600061283386828701612641565b935050602084013567ffffffffffffffff81111561285057600080fd5b61285c8682870161266b565b92509250509250925092565b6000806040838503121561287b57600080fd5b600061288985828601612641565b925050602083013567ffffffffffffffff8111156128a657600080fd5b6128b2858286016126f4565b9150509250929050565b600080604083850312156128cf57600080fd5b60006128dd85828601612641565b92505060206128ee8582860161271e565b9150509250929050565b60008060006060848603121561290d57600080fd5b600061291b86828701612641565b935050602061292c8682870161271e565b925050604084013567ffffffffffffffff81111561294957600080fd5b612955868287016126f4565b9150509250925092565b60006020828403121561297157600080fd5b600061297f848285016126ca565b91505092915050565b6000806040838503121561299b57600080fd5b60006129a9858286016126ca565b92505060206129ba85828601612641565b9150509250929050565b6000602082840312156129d657600080fd5b60006129e4848285016126df565b91505092915050565b60008060408385031215612a0057600080fd5b6000612a0e8582860161271e565b9250506020612a1f8582860161271e565b9150509250929050565b612a328161358f565b82525050565b612a41816135a1565b82525050565b612a50816135ad565b82525050565b6000612a6182613437565b612a6b818561344d565b9350612a7b818560208601613671565b80840191505092915050565b612a908161361a565b82525050565b612a9f8161363e565b82525050565b6000612ab082613442565b612aba8185613458565b9350612aca818560208601613671565b612ad3816137d6565b840191505092915050565b6000612ae982613442565b612af38185613469565b9350612b03818560208601613671565b80840191505092915050565b6000612b1c602083613458565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000612b5c601483613458565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000612b9c602483613458565b91507f4e616d65206d757374206265206265747765656e20312d33322063686172616360008301527f74657273000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c02601a83613458565b91507f43616c6c6572206d75737420626520746f6b656e206f776e65720000000000006000830152602082019050919050565b6000612c42601083613458565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000612c82602183613458565b91507f4e616d652063616e6e6f7420636f6e7461696e206c656164696e67207370616360008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612ce8601383613458565b91507f4164647265737320626c61636b6c6973746564000000000000000000000000006000830152602082019050919050565b6000612d28601383613458565b91507f4e616d6520616c726561647920657869737473000000000000000000000000006000830152602082019050919050565b6000612d68602283613458565b91507f4e616d652063616e6e6f7420636f6e7461696e20747261696c696e672073706160008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612dce601683613458565b91507f4e616d657320616c7265616479206d69677261746564000000000000000000006000830152602082019050919050565b6000612e0e601283613458565b91507f426164206d6972726f72206164647265737300000000000000000000000000006000830152602082019050919050565b6000612e4e601783613469565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000612e8e601c83613458565b91507f4e616d65206d757374206265203520776f726473206f72206c657373000000006000830152602082019050919050565b6000612ece601f83613458565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000612f0e602083613458565b91507f4e616d6520636f6e7461696e7320696e76616c696420636861726163746572736000830152602082019050919050565b6000612f4e601183613469565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000612f8e602f83613458565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b612ff081613603565b82525050565b60006130028284612a56565b915081905092915050565b60006130198284612ade565b915081905092915050565b600061302f82612e41565b915061303b8285612ade565b915061304682612f41565b91506130528284612ade565b91508190509392505050565b60006020820190506130736000830184612a29565b92915050565b600060408201905061308e6000830185612a29565b61309b6020830184612fe7565b9392505050565b60006020820190506130b76000830184612a38565b92915050565b60006020820190506130d26000830184612a47565b92915050565b60006020820190506130ed6000830184612a87565b92915050565b60006020820190506131086000830184612a96565b92915050565b600060208201905081810360008301526131288184612aa5565b905092915050565b6000602082019050818103600083015261314981612b0f565b9050919050565b6000602082019050818103600083015261316981612b4f565b9050919050565b6000602082019050818103600083015261318981612b8f565b9050919050565b600060208201905081810360008301526131a981612bf5565b9050919050565b600060208201905081810360008301526131c981612c35565b9050919050565b600060208201905081810360008301526131e981612c75565b9050919050565b6000602082019050818103600083015261320981612cdb565b9050919050565b6000602082019050818103600083015261322981612d1b565b9050919050565b6000602082019050818103600083015261324981612d5b565b9050919050565b6000602082019050818103600083015261326981612dc1565b9050919050565b6000602082019050818103600083015261328981612e01565b9050919050565b600060208201905081810360008301526132a981612e81565b9050919050565b600060208201905081810360008301526132c981612ec1565b9050919050565b600060208201905081810360008301526132e981612f01565b9050919050565b6000602082019050818103600083015261330981612f81565b9050919050565b60006020820190506133256000830184612fe7565b92915050565b60006040820190506133406000830185612fe7565b81810360208301526133528184612aa5565b90509392505050565b6000808335600160200384360303811261337457600080fd5b80840192508235915067ffffffffffffffff82111561339257600080fd5b6020830192506001820236038313156133aa57600080fd5b509250929050565b6000823560016040038336030381126133ca57600080fd5b80830191505092915050565b6000604051905081810181811067ffffffffffffffff821117156133fd576133fc6137a7565b5b8060405250919050565b600067ffffffffffffffff821115613422576134216137a7565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061347f82613603565b915061348a83613603565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134bf576134be613749565b5b828201905092915050565b60006134d58261360d565b91506134e08361360d565b92508260ff038211156134f6576134f5613749565b5b828201905092915050565b600061350c82613603565b915061351783613603565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135505761354f613749565b5b828202905092915050565b600061356682613603565b915061357183613603565b92508282101561358457613583613749565b5b828203905092915050565b600061359a826135e3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006136258261362c565b9050919050565b6000613637826135e3565b9050919050565b600061364982613650565b9050919050565b600061365b826135e3565b9050919050565b82818337600083830152505050565b60005b8381101561368f578082015181840152602081019050613674565b8381111561369e576000848401525b50505050565b60006136af82613603565b915060008214156136c3576136c2613749565b5b600182039050919050565b600060028204905060018216806136e657607f821691505b602082108114156136fa576136f9613778565b5b50919050565b600061370b82613603565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561373e5761373d613749565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6137f08161358f565b81146137fb57600080fd5b50565b613807816135a1565b811461381257600080fd5b50565b61381e816135ad565b811461382957600080fd5b50565b613835816135b7565b811461384057600080fd5b50565b61384c81613603565b811461385757600080fd5b5056fea264697066735822122059dfbc4208da268d38e9d818c9d2f47b24e1743771ba1d4c4b06dbea33d2e56e64736f6c63430008000033

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

0000000000000000000000004b7668714388772ea29abf26c8b589a0b3374ee9000000000000000000000000d2d391d4f260414144cf188063e09b01e8826098

-----Decoded View---------------
Arg [0] : _luchaMirror (address): 0x4B7668714388772eA29aBF26c8B589a0B3374Ee9
Arg [1] : _luchaSplitter (address): 0xd2d391D4f260414144CF188063E09b01E8826098

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004b7668714388772ea29abf26c8b589a0b3374ee9
Arg [1] : 000000000000000000000000d2d391d4f260414144cf188063e09b01e8826098


Block Transaction 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
[ 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.