Contract 0x3c92C586348f59C00C58FCE3eB055899022ED95a

  Note: Our ETH balance display is temporarily unavailable. Please check back later.

Contract Overview

Balance:
Txn Hash Method
Block
From
To
Value
0xf08c6d41fe89da3fa5d6d923d48ac4f9083ab4e227a0f760fe4667a50fae57490x608060408179312022-09-02 9:15:38595 days 19 hrs ago0x3363e40cd9ed1bfc82dfa42e059d82570dd8651d IN  Create: ExoticPositionalTags0 ETH0.0001589057040.00001
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x9c4d43d802d745b78cc81e0bd346dcc7bee2fe64032300929a832df268996ef911032272022-09-14 15:13:54583 days 13 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0xff48e0056830f21a45392af06d15bf43eddac38374d28df49f1e94da4493e75c11030892022-09-14 15:07:06583 days 13 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x34cf7f6c857d95a658531896ed6d7306b91225634037995f89b928cc6296410011030392022-09-14 15:05:17583 days 13 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0xdf19cdaf611d79fed6e7381f47f61394aef19c60f8a6f2b9c5dfc002e3c88db810748332022-09-13 17:57:12584 days 10 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x10be8264d55dd3c3ea03623ab1a8678ff276a525ed1e33d6ce7d8a3fe484c8ba8927012022-09-05 17:38:19592 days 11 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x10be8264d55dd3c3ea03623ab1a8678ff276a525ed1e33d6ce7d8a3fe484c8ba8927012022-09-05 17:38:19592 days 11 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x260fb6a448c4bffad2b941f5a5eb0f5b6c465612da19f62e29642cd15eb691b08925692022-09-05 17:29:19592 days 11 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x260fb6a448c4bffad2b941f5a5eb0f5b6c465612da19f62e29642cd15eb691b08925692022-09-05 17:29:19592 days 11 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x5aab08acd1b0a5c9c682fd6c1af34d0dbe2ace07bfd545337cbb959d1ba04cb98179932022-09-02 9:18:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x117aa24e0b23a764482c8aea773e46a8d0bf314a026271fb1ba2891715df1f238179902022-09-02 9:18:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x118ae8bdb2f03c8d223e0cafc656d39ea190d38e6d2724faf382321e6274fd598179882022-09-02 9:18:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x7dfb7366a2fed4f06bf6c225e25fe36921f21645bc000ac8173e716639c78f408179872022-09-02 9:18:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x5c3220a429e0e45f1aee472132725f3456206300db2385f8b9d4d52c5a16261a8179842022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0xbcfd96554757c915f0b7d81dc853438da9f52e42ae598a5486bd9fb514dabf758179832022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0xbbd26df8f32526c2763c698d2efe03b6a3da6af87099d36b017241e5b752d8318179802022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0xbf78b6b30ac85672cc8f208c57f266bae6393d653d4e6719f78d0010dd1196318179782022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x4c3c8cb6b19a822617a2c3cc09fb4c8e82d4646dab729d2725a420b4ed20a1288179772022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x047143eb2ffdb3e104d68149c439233936834b52dfd926e8e796781477b3cc6e8179742022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x75ce0ce511bfc8ce789456f8212f32d24fa66792c415ebbab5d5d6ecc2d65ef48179722022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0xc64bada7b1c809fdd8b3fda875d79847d4836a664091b385cfdd587977ca0c098179702022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0xdaf55f4f9d5a666e14167615a9b5ac61dbe611490bf06a01fc91a4b0263b2d4b8179662022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x1b492ac7ba9fec36d8de0732581ec7bd9e44637e73f0200e1cbcb074723b1a0f8179642022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x96a6d745d57c590d1b07a76214a695aed8bcf3c70c344834e55eb1589b586c3f8179622022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x54c3a29a218167270f77a621d0482f0c8ef64eb348d09ca7645e732ba70b6db18179612022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
0x6e438867f5fa66280af064be8e82015249ddfd9243970280b4b9b93038dc41318179592022-09-02 9:15:38595 days 19 hrs ago 0xc9279b0a3d7794d4423bc748f2218c3c7107d5ed 0x3c92c586348f59c00c58fce3eb055899022ed95a0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ExoticPositionalTags

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

// external
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/MathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";

// internal
import "../utils/proxy/solidity-0.8.0/ProxyReentrancyGuard.sol";
import "../utils/proxy/solidity-0.8.0/ProxyOwned.sol";

contract ExoticPositionalTags is Initializable, ProxyOwned, PausableUpgradeable, ProxyReentrancyGuard {
    using SafeMathUpgradeable for uint;

    mapping(bytes32 => uint) public tagNumber;
    mapping(uint => string) public tagLabel;
    mapping(uint => uint) public tagNumberIndex;
    mapping(uint => uint) public tagIndexNumber;
    uint public tagsCount;

    function initialize(address _owner) public initializer {
        setOwner(_owner);
        initNonReentrant();
    }

    function isValidTagNumber(uint _number) public view returns (bool) {
        return _number > 0 && tagNumberIndex[_number] > 0;
    }

    function isValidTagLabel(string memory _label) public view returns (bool) {
        return
            keccak256(abi.encode(_label)) != keccak256(abi.encode("")) &&
            tagNumberIndex[tagNumber[keccak256(abi.encode(_label))]] > 0;
    }

    function isValidTag(string memory _label, uint _number) external view returns (bool) {
        return isValidTagNumber(_number) && isValidTagLabel(_label);
    }

    function getTagLabel(uint _number) external view returns (string memory) {
        return tagLabel[_number];
    }

    function getTagNumber(string memory _label) external view returns (uint) {
        return tagNumber[keccak256(abi.encode(_label))];
    }

    function getTagNumberIndex(uint _number) external view returns (uint) {
        return tagNumberIndex[_number];
    }

    function getTagIndexNumber(uint _index) external view returns (uint) {
        return tagIndexNumber[_index];
    }

    function getTagByIndex(uint _index) external view returns (string memory, uint) {
        return (tagLabel[tagIndexNumber[_index]], tagIndexNumber[_index]);
    }

    function getAllTags() external view returns (string[] memory, uint[] memory) {
        uint[] memory tagsNumber = new uint[](tagsCount);
        string[] memory tagsLabel = new string[](tagsCount);
        for (uint i = 1; i <= tagsCount; i++) {
            tagsNumber[i - 1] = tagIndexNumber[i];
            tagsLabel[i - 1] = tagLabel[tagIndexNumber[i]];
        }
        return (tagsLabel, tagsNumber);
    }

    function getAllTagsNumbers() external view returns (uint[] memory) {
        uint[] memory tagsNumber = new uint[](tagsCount);
        for (uint i = 1; i <= tagsCount; i++) {
            tagsNumber[i - 1] = tagIndexNumber[i];
        }
        return tagsNumber;
    }

    function getAllTagsLabels() external view returns (string[] memory) {
        string[] memory tagsLabel = new string[](tagsCount);
        for (uint i = 1; i <= tagsCount; i++) {
            tagsLabel[i - 1] = tagLabel[tagIndexNumber[i]];
        }
        return tagsLabel;
    }

    function getTagsCount() external view returns (uint) {
        return tagsCount;
    }

    function addTag(string memory _label, uint _number) external onlyOwner {
        require(_number > 0, "Number must not be zero");
        require(tagNumberIndex[_number] == 0, "Tag already exists");
        require(keccak256(abi.encode(_label)) != keccak256(abi.encode("")), "Invalid label (empty string)");
        require(bytes(_label).length < 50, "Tag label exceeds length");

        tagsCount = tagsCount.add(1);
        tagNumberIndex[_number] = tagsCount;
        tagIndexNumber[tagsCount] = _number;
        tagNumber[keccak256(abi.encode(_label))] = _number;
        tagLabel[_number] = _label;
        emit NewTagAdded(_label, _number);
    }

    function editTagNumber(string memory _label, uint _number) external onlyOwner {
        require(_number > 0, "Number must not be zero");
        require(keccak256(abi.encode(_label)) != keccak256(abi.encode("")), "Invalid label (empty string)");
        require(tagNumberIndex[_number] == 0, "New tag number already exists");
        require(tagNumberIndex[tagNumber[keccak256(abi.encode(_label))]] > 0, "Edited tag does not exist");
        if (tagNumber[keccak256(abi.encode(_label))] != _number) {
            uint old_number = tagNumber[keccak256(abi.encode(_label))];
            tagLabel[old_number] = "";
            tagNumberIndex[_number] = tagNumberIndex[old_number];
            tagIndexNumber[tagNumberIndex[_number]] = _number;
            tagNumberIndex[old_number] = 0;
            tagNumber[keccak256(abi.encode(_label))] = _number;
            tagLabel[_number] = _label;
            emit TagNumberChanged(_label, old_number, _number);
        }
    }

    function editTagLabel(string memory _label, uint _number) external onlyOwner {
        require(_number > 0, "Number must not be zero");
        require(keccak256(abi.encode(_label)) != keccak256(abi.encode("")), "Invalid label (empty string)");
        require(tagNumberIndex[_number] != 0, "Tag with number does not exists");
        if (keccak256(abi.encode(tagLabel[_number])) != keccak256(abi.encode(_label))) {
            string memory old_label = tagLabel[_number];
            tagNumber[keccak256(abi.encode(old_label))] = 0;
            tagNumber[keccak256(abi.encode(_label))] = _number;
            tagLabel[_number] = _label;
            emit TagLabelChanged(_number, old_label, _label);
        }
    }

    function removeTag(uint _number) external onlyOwner {
        require(_number > 0, "Number must not be zero");
        require(tagNumberIndex[_number] != 0, "Tag does not exists");
        if (tagNumberIndex[_number] > 0) {
            tagNumberIndex[tagIndexNumber[tagsCount]] = tagNumberIndex[_number];
            tagIndexNumber[tagNumberIndex[_number]] = tagIndexNumber[tagsCount];
            tagNumberIndex[_number] = 0;
            tagsCount = tagsCount.sub(1);
            emit TagRemoved(tagLabel[_number], _number);
            tagLabel[_number] = "";
        }
    }

    event NewTagAdded(string label, uint number);
    event TagNumberChanged(string label, uint old_number, uint number);
    event TagLabelChanged(uint number, string old_label, string label);
    event TagRemoved(string _label, uint _number);
}

File 2 of 12 : SafeERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";
import "../../../utils/AddressUpgradeable.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20Upgradeable {
    using AddressUpgradeable for address;

    function safeTransfer(
        IERC20Upgradeable token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20Upgradeable token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 3 of 12 : MathUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library MathUpgradeable {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

File 4 of 12 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
    uint256[49] private __gap;
}

File 5 of 12 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/utils/Initializable.sol)

pragma solidity ^0.8.0;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}

File 6 of 12 : SafeMathUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMathUpgradeable {
    /**
     * @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 7 of 12 : IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 8 of 12 : PausableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @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.
     */
    function __Pausable_init() internal onlyInitializing {
        __Context_init_unchained();
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal onlyInitializing {
        _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());
    }
    uint256[49] private __gap;
}

File 9 of 12 : ProxyReentrancyGuard.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 aplied 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.
 */
contract ProxyReentrancyGuard {
    /// @dev counter to allow mutex lock with only one SSTORE operation
    uint256 private _guardCounter;
    bool private _initialized;

    function initNonReentrant() public {
        require(!_initialized, "Already initialized");
        _initialized = true;
        _guardCounter = 1;
    }

    /**
     * @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() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call");
    }
}

File 10 of 12 : ProxyOwned.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// Clone of syntetix contract without constructor
contract ProxyOwned {
    address public owner;
    address public nominatedOwner;
    bool private _initialized;
    bool private _transferredAtInit;

    function setOwner(address _owner) public {
        require(_owner != address(0), "Owner address cannot be 0");
        require(!_initialized, "Already initialized, use nominateNewOwner");
        _initialized = true;
        owner = _owner;
        emit OwnerChanged(address(0), _owner);
    }

    function nominateNewOwner(address _owner) external onlyOwner {
        nominatedOwner = _owner;
        emit OwnerNominated(_owner);
    }

    function acceptOwnership() external {
        require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership");
        emit OwnerChanged(owner, nominatedOwner);
        owner = nominatedOwner;
        nominatedOwner = address(0);
    }

    function transferOwnershipAtInit(address proxyAddress) external onlyOwner {
        require(proxyAddress != address(0), "Invalid address");
        require(!_transferredAtInit, "Already transferred");
        owner = proxyAddress;
        _transferredAtInit = true;
        emit OwnerChanged(owner, proxyAddress);
    }

    modifier onlyOwner {
        _onlyOwner();
        _;
    }

    function _onlyOwner() private view {
        require(msg.sender == owner, "Only the contract owner may perform this action");
    }

    event OwnerNominated(address newOwner);
    event OwnerChanged(address oldOwner, address newOwner);
}

File 11 of 12 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}

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

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"label","type":"string"},{"indexed":false,"internalType":"uint256","name":"number","type":"uint256"}],"name":"NewTagAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"number","type":"uint256"},{"indexed":false,"internalType":"string","name":"old_label","type":"string"},{"indexed":false,"internalType":"string","name":"label","type":"string"}],"name":"TagLabelChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"label","type":"string"},{"indexed":false,"internalType":"uint256","name":"old_number","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"number","type":"uint256"}],"name":"TagNumberChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_label","type":"string"},{"indexed":false,"internalType":"uint256","name":"_number","type":"uint256"}],"name":"TagRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_label","type":"string"},{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"addTag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_label","type":"string"},{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"editTagLabel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_label","type":"string"},{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"editTagNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllTags","outputs":[{"internalType":"string[]","name":"","type":"string[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllTagsLabels","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllTagsNumbers","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getTagByIndex","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getTagIndexNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"getTagLabel","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_label","type":"string"}],"name":"getTagNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"getTagNumberIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTagsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initNonReentrant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_label","type":"string"},{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"isValidTag","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_label","type":"string"}],"name":"isValidTagLabel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"isValidTagNumber","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"removeTag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tagIndexNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tagLabel","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"tagNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tagNumberIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tagsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"transferOwnershipAtInit","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061201f806100206000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806379ba509711610104578063c356ae0b116100a2578063e668521f11610071578063e668521f14610430578063ebc7977214610450578063fd69b8e414610458578063fdb21d041461047957600080fd5b8063c356ae0b146103e1578063c3b83f5f14610401578063c4d66de814610414578063e07526e91461042757600080fd5b8063a1766e81116100de578063a1766e8114610391578063b4496933146103a4578063b73f6b0e146103b9578063c0fda0ec146103d957600080fd5b806379ba50971461035d5780638da5cb5b1461036557806399acd6131461037e57600080fd5b806349199ff01161017c5780635c975abb1161014b5780635c975abb14610309578063674ec748146103145780637038f1571461033457806370e8033e1461034a57600080fd5b806349199ff014610296578063521aa811146102b657806353a47bb7146102cb578063598e8055146102f657600080fd5b806320988e2f116101b857806320988e2f1461022f57806326b496731461024257806340073aaa146102705780634768ad221461028357600080fd5b8063115c72a0146101df57806313af4035146102075780631627540c1461021c575b600080fd5b6101f26101ed366004611c0a565b61048c565b60405190151581526020015b60405180910390f35b61021a610215366004611b90565b6104ae565b005b61021a61022a366004611b90565b6105ee565b61021a61023d366004611c0a565b610644565b610262610250366004611bb7565b606a6020526000908152604090205481565b6040519081526020016101fe565b61021a61027e366004611c0a565b61090f565b610262610291366004611bcf565b610b19565b6102626102a4366004611bb7565b6000908152606b602052604090205490565b6102be610b5c565b6040516101fe9190611dc7565b6001546102de906001600160a01b031681565b6040516001600160a01b0390911681526020016101fe565b6101f2610304366004611bb7565b610cbf565b60345460ff166101f2565b610262610322366004611bb7565b6000908152606a602052604090205490565b61033c610ce3565b6040516101fe929190611dda565b6101f2610358366004611bcf565b610ee5565b61021a610f96565b6000546102de906201000090046001600160a01b031681565b61021a61038c366004611bb7565b611093565b61021a61039f366004611c0a565b6111e9565b6103ac6114e7565b6040516101fe9190611e08565b6102626103c7366004611bb7565b60686020526000908152604090205481565b606c54610262565b6103f46103ef366004611bb7565b6115a2565b6040516101fe9190611e1b565b61021a61040f366004611b90565b61163c565b61021a610422366004611b90565b611755565b610262606c5481565b61026261043e366004611bb7565b606b6020526000908152604090205481565b61021a61181f565b61046b610466366004611bb7565b61187d565b6040516101fe929190611e2e565b6103f4610487366004611bb7565b61193c565b600061049782610cbf565b80156104a757506104a783610ee5565b9392505050565b6001600160a01b0381166105095760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600154600160a01b900460ff16156105755760405162461bcd60e51b815260206004820152602960248201527f416c726561647920696e697469616c697a65642c20757365206e6f6d696e617460448201526832a732bba7bbb732b960b91b6064820152608401610500565b6001805460ff60a01b1916600160a01b179055600080546001600160a01b03831662010000810262010000600160b01b03199092169190911782556040805192835260208301919091527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91015b60405180910390a150565b6105f66119de565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020016105e3565b61064c6119de565b6000811161066c5760405162461bcd60e51b815260040161050090611ed2565b60405160200161068790602080825260009082015260400190565b60405160208183030381529060405280519060200120826040516020016106ae9190611e1b565b6040516020818303038152906040528051906020012014156106e25760405162461bcd60e51b815260040161050090611e9b565b6000818152606a602052604090205461073d5760405162461bcd60e51b815260206004820152601f60248201527f5461672077697468206e756d62657220646f6573206e6f7420657869737473006044820152606401610500565b8160405160200161074e9190611e1b565b60408051601f198184030181528282528051602091820120600085815260698352929092209192610780929101611e75565b604051602081830303815290604052805190602001201461090b57600081815260696020526040812080546107b490611f6d565b80601f01602080910402602001604051908101604052809291908181526020018280546107e090611f6d565b801561082d5780601f106108025761010080835404028352916020019161082d565b820191906000526020600020905b81548152906001019060200180831161081057829003601f168201915b505050505090506000606860008360405160200161084b9190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020819055508160686000856040516020016108899190611e1b565b60408051601f19818403018152918152815160209283012083528282019390935290820160009081209390935584835260698152912084516108cd92860190611a70565b507f57df5c2569b5f01496141773c307eca74cabdfb73ee248edac731bdcea39916f82828560405161090193929190611f09565b60405180910390a1505b5050565b6109176119de565b600081116109375760405162461bcd60e51b815260040161050090611ed2565b6000818152606a6020526040902054156109885760405162461bcd60e51b815260206004820152601260248201527154616720616c72656164792065786973747360701b6044820152606401610500565b6040516020016109a390602080825260009082015260400190565b60405160208183030381529060405280519060200120826040516020016109ca9190611e1b565b6040516020818303038152906040528051906020012014156109fe5760405162461bcd60e51b815260040161050090611e9b565b6032825110610a4f5760405162461bcd60e51b815260206004820152601860248201527f546167206c6162656c2065786365656473206c656e67746800000000000000006044820152606401610500565b606c54610a5d906001611a58565b606c8190556000828152606a60209081526040808320849055928252606b81528282208490559151839260689291610a9791879101611e1b565b60408051601f1981840301815291815281516020928301208352828201939093529082016000908120939093558383526069815291208351610adb92850190611a70565b507f203d312e42dfc19b6cd9ce3fb71d74448397d757caeebefb8e593bb05a9e8d458282604051610b0d929190611e2e565b60405180910390a15050565b60006068600083604051602001610b309190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b60606000606c5467ffffffffffffffff811115610b8957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bbc57816020015b6060815260200190600190039081610ba75790505b50905060015b606c548111610cb9576000818152606b60209081526040808320548352606990915290208054610bf190611f6d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1d90611f6d565b8015610c6a5780601f10610c3f57610100808354040283529160200191610c6a565b820191906000526020600020905b815481529060010190602001808311610c4d57829003601f168201915b505050505082600183610c7d9190611f56565b81518110610c9b57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610cb190611fa2565b915050610bc2565b50919050565b60008082118015610cdd57506000828152606a602052604090205415155b92915050565b6060806000606c5467ffffffffffffffff811115610d1157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d3a578160200160208202803683370190505b5090506000606c5467ffffffffffffffff811115610d6857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d9b57816020015b6060815260200190600190039081610d865790505b50905060015b606c548111610edc576000818152606b602052604090205483610dc5600184611f56565b81518110610de357634e487b7160e01b600052603260045260246000fd5b6020908102919091018101919091526000828152606b825260408082205482526069909252208054610e1490611f6d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4090611f6d565b8015610e8d5780601f10610e6257610100808354040283529160200191610e8d565b820191906000526020600020905b815481529060010190602001808311610e7057829003601f168201915b505050505082600183610ea09190611f56565b81518110610ebe57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610ed490611fa2565b915050610da1565b50939092509050565b6040805160208082015260009181018290526060016040516020818303038152906040528051906020012082604051602001610f219190611e1b565b6040516020818303038152906040528051906020012014158015610cdd57506000606a60006068600086604051602001610f5b9190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020548152602001908152602001600020541192915050565b6001546001600160a01b0316331461100e5760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b6064820152608401610500565b60005460015460408051620100009093046001600160a01b03908116845290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600180546000805462010000600160b01b0319166001600160a01b03831662010000021790556001600160a01b0319169055565b61109b6119de565b600081116110bb5760405162461bcd60e51b815260040161050090611ed2565b6000818152606a602052604090205461110c5760405162461bcd60e51b815260206004820152601360248201527254616720646f6573206e6f742065786973747360681b6044820152606401610500565b6000818152606a6020526040902054156111e6576000818152606a602081815260408084208054606c80548752606b80865284882054885286865284882083905581548852855283872054918752928620558585529290915291905554611174906001611a64565b606c556000818152606960205260409081902090517fbb88afc906bfcd28395add4ee7569f0fc2b36ee2149203c1198609cf54dabfb5916111b6918490611e88565b60405180910390a160408051602080820180845260008084528581526069909252929020905161090b9290611a70565b50565b6111f16119de565b600081116112115760405162461bcd60e51b815260040161050090611ed2565b60405160200161122c90602080825260009082015260400190565b60405160208183030381529060405280519060200120826040516020016112539190611e1b565b6040516020818303038152906040528051906020012014156112875760405162461bcd60e51b815260040161050090611e9b565b6000818152606a6020526040902054156112e35760405162461bcd60e51b815260206004820152601d60248201527f4e657720746167206e756d62657220616c7265616479206578697374730000006044820152606401610500565b6000606a600060686000866040516020016112fe9190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020548152602001908152602001600020541161137f5760405162461bcd60e51b815260206004820152601960248201527f4564697465642074616720646f6573206e6f74206578697374000000000000006044820152606401610500565b8060686000846040516020016113959190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020541461090b57600060686000846040516020016113d69190611e1b565b60408051601f19818403018152918152815160209283012083528282019390935290820160009081205483518084018086528382528284526069909452939091209251909350611427929190611a70565b506000818152606a6020818152604080842080548786528286208190558552606b83528185208790558585529282529183905590518492606892909161146f91889101611e1b565b60408051601f19818403018152918152815160209283012083528282019390935290820160009081209390935584835260698152912084516114b392860190611a70565b507f440013297fccb35416bc9a2b2fda9c239cae87d3c162434e01b1c3a299221ce583828460405161090193929190611e50565b60606000606c5467ffffffffffffffff81111561151457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561153d578160200160208202803683370190505b50905060015b606c548111610cb9576000818152606b602052604090205482611567600184611f56565b8151811061158557634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061159a81611fa2565b915050611543565b606960205260009081526040902080546115bb90611f6d565b80601f01602080910402602001604051908101604052809291908181526020018280546115e790611f6d565b80156116345780601f1061160957610100808354040283529160200191611634565b820191906000526020600020905b81548152906001019060200180831161161757829003601f168201915b505050505081565b6116446119de565b6001600160a01b03811661168c5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610500565b600154600160a81b900460ff16156116dc5760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481d1c985b9cd9995c9c9959606a1b6044820152606401610500565b600080546001600160a01b038381166201000081810262010000600160b01b031990941693909317938490556001805460ff60a81b1916600160a81b1790556040805193909404909116825260208201527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91016105e3565b600054610100900460ff166117705760005460ff1615611774565b303b155b6117d75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610500565b600054610100900460ff161580156117f9576000805461ffff19166101011790555b611802826104ae565b61180a61181f565b801561090b576000805461ff00191690555050565b60675460ff16156118685760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b6044820152606401610500565b6067805460ff19166001908117909155606655565b6000818152606b60208181526040808420548085526069835290842085855292909152815460609392919082906118b390611f6d565b80601f01602080910402602001604051908101604052809291908181526020018280546118df90611f6d565b801561192c5780601f106119015761010080835404028352916020019161192c565b820191906000526020600020905b81548152906001019060200180831161190f57829003601f168201915b5050505050915091509150915091565b600081815260696020526040902080546060919061195990611f6d565b80601f016020809104026020016040519081016040528092919081815260200182805461198590611f6d565b80156119d25780601f106119a7576101008083540402835291602001916119d2565b820191906000526020600020905b8154815290600101906020018083116119b557829003601f168201915b50505050509050919050565b6000546201000090046001600160a01b03163314611a565760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b6064820152608401610500565b565b60006104a78284611f3e565b60006104a78284611f56565b828054611a7c90611f6d565b90600052602060002090601f016020900481019282611a9e5760008555611ae4565b82601f10611ab757805160ff1916838001178555611ae4565b82800160010185558215611ae4579182015b82811115611ae4578251825591602001919060010190611ac9565b50611af0929150611af4565b5090565b5b80821115611af05760008155600101611af5565b600082601f830112611b19578081fd5b813567ffffffffffffffff80821115611b3457611b34611fd3565b604051601f8301601f19908116603f01168101908282118183101715611b5c57611b5c611fd3565b81604052838152866020858801011115611b74578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215611ba1578081fd5b81356001600160a01b03811681146104a7578182fd5b600060208284031215611bc8578081fd5b5035919050565b600060208284031215611be0578081fd5b813567ffffffffffffffff811115611bf6578182fd5b611c0284828501611b09565b949350505050565b60008060408385031215611c1c578081fd5b823567ffffffffffffffff811115611c32578182fd5b611c3e85828601611b09565b95602094909401359450505050565b600082825180855260208086019550808260051b840101818601855b84811015611c9757601f19868403018952611c85838351611cde565b98840198925090830190600101611c69565b5090979650505050505050565b6000815180845260208085019450808401835b83811015611cd357815187529582019590820190600101611cb7565b509495945050505050565b60008151808452815b81811015611d0357602081850181015186830182015201611ce7565b81811115611d145782602083870101525b50601f01601f19169290920160200192915050565b8054600090600181811c9080831680611d4357607f831692505b6020808410821415611d6357634e487b7160e01b86526022600452602486fd5b83885260208801828015611d7e5760018114611d8f57611dba565b60ff19871682528282019750611dba565b60008981526020902060005b87811015611db457815484820152908601908401611d9b565b83019850505b5050505050505092915050565b6020815260006104a76020830184611c4d565b604081526000611ded6040830185611c4d565b8281036020840152611dff8185611ca4565b95945050505050565b6020815260006104a76020830184611ca4565b6020815260006104a76020830184611cde565b604081526000611e416040830185611cde565b90508260208301529392505050565b606081526000611e636060830186611cde565b60208301949094525060400152919050565b6020815260006104a76020830184611d29565b604081526000611e416040830185611d29565b6020808252601c908201527f496e76616c6964206c6162656c2028656d70747920737472696e672900000000604082015260600190565b60208082526017908201527f4e756d626572206d757374206e6f74206265207a65726f000000000000000000604082015260600190565b838152606060208201526000611f226060830185611cde565b8281036040840152611f348185611cde565b9695505050505050565b60008219821115611f5157611f51611fbd565b500190565b600082821015611f6857611f68611fbd565b500390565b600181811c90821680611f8157607f821691505b60208210811415610cb957634e487b7160e01b600052602260045260246000fd5b6000600019821415611fb657611fb6611fbd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220a03e38f0b671da5097d1b143697dc642da4eecbb596b3b499e9f0c251a1ac35c64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806379ba509711610104578063c356ae0b116100a2578063e668521f11610071578063e668521f14610430578063ebc7977214610450578063fd69b8e414610458578063fdb21d041461047957600080fd5b8063c356ae0b146103e1578063c3b83f5f14610401578063c4d66de814610414578063e07526e91461042757600080fd5b8063a1766e81116100de578063a1766e8114610391578063b4496933146103a4578063b73f6b0e146103b9578063c0fda0ec146103d957600080fd5b806379ba50971461035d5780638da5cb5b1461036557806399acd6131461037e57600080fd5b806349199ff01161017c5780635c975abb1161014b5780635c975abb14610309578063674ec748146103145780637038f1571461033457806370e8033e1461034a57600080fd5b806349199ff014610296578063521aa811146102b657806353a47bb7146102cb578063598e8055146102f657600080fd5b806320988e2f116101b857806320988e2f1461022f57806326b496731461024257806340073aaa146102705780634768ad221461028357600080fd5b8063115c72a0146101df57806313af4035146102075780631627540c1461021c575b600080fd5b6101f26101ed366004611c0a565b61048c565b60405190151581526020015b60405180910390f35b61021a610215366004611b90565b6104ae565b005b61021a61022a366004611b90565b6105ee565b61021a61023d366004611c0a565b610644565b610262610250366004611bb7565b606a6020526000908152604090205481565b6040519081526020016101fe565b61021a61027e366004611c0a565b61090f565b610262610291366004611bcf565b610b19565b6102626102a4366004611bb7565b6000908152606b602052604090205490565b6102be610b5c565b6040516101fe9190611dc7565b6001546102de906001600160a01b031681565b6040516001600160a01b0390911681526020016101fe565b6101f2610304366004611bb7565b610cbf565b60345460ff166101f2565b610262610322366004611bb7565b6000908152606a602052604090205490565b61033c610ce3565b6040516101fe929190611dda565b6101f2610358366004611bcf565b610ee5565b61021a610f96565b6000546102de906201000090046001600160a01b031681565b61021a61038c366004611bb7565b611093565b61021a61039f366004611c0a565b6111e9565b6103ac6114e7565b6040516101fe9190611e08565b6102626103c7366004611bb7565b60686020526000908152604090205481565b606c54610262565b6103f46103ef366004611bb7565b6115a2565b6040516101fe9190611e1b565b61021a61040f366004611b90565b61163c565b61021a610422366004611b90565b611755565b610262606c5481565b61026261043e366004611bb7565b606b6020526000908152604090205481565b61021a61181f565b61046b610466366004611bb7565b61187d565b6040516101fe929190611e2e565b6103f4610487366004611bb7565b61193c565b600061049782610cbf565b80156104a757506104a783610ee5565b9392505050565b6001600160a01b0381166105095760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600154600160a01b900460ff16156105755760405162461bcd60e51b815260206004820152602960248201527f416c726561647920696e697469616c697a65642c20757365206e6f6d696e617460448201526832a732bba7bbb732b960b91b6064820152608401610500565b6001805460ff60a01b1916600160a01b179055600080546001600160a01b03831662010000810262010000600160b01b03199092169190911782556040805192835260208301919091527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91015b60405180910390a150565b6105f66119de565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020016105e3565b61064c6119de565b6000811161066c5760405162461bcd60e51b815260040161050090611ed2565b60405160200161068790602080825260009082015260400190565b60405160208183030381529060405280519060200120826040516020016106ae9190611e1b565b6040516020818303038152906040528051906020012014156106e25760405162461bcd60e51b815260040161050090611e9b565b6000818152606a602052604090205461073d5760405162461bcd60e51b815260206004820152601f60248201527f5461672077697468206e756d62657220646f6573206e6f7420657869737473006044820152606401610500565b8160405160200161074e9190611e1b565b60408051601f198184030181528282528051602091820120600085815260698352929092209192610780929101611e75565b604051602081830303815290604052805190602001201461090b57600081815260696020526040812080546107b490611f6d565b80601f01602080910402602001604051908101604052809291908181526020018280546107e090611f6d565b801561082d5780601f106108025761010080835404028352916020019161082d565b820191906000526020600020905b81548152906001019060200180831161081057829003601f168201915b505050505090506000606860008360405160200161084b9190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020819055508160686000856040516020016108899190611e1b565b60408051601f19818403018152918152815160209283012083528282019390935290820160009081209390935584835260698152912084516108cd92860190611a70565b507f57df5c2569b5f01496141773c307eca74cabdfb73ee248edac731bdcea39916f82828560405161090193929190611f09565b60405180910390a1505b5050565b6109176119de565b600081116109375760405162461bcd60e51b815260040161050090611ed2565b6000818152606a6020526040902054156109885760405162461bcd60e51b815260206004820152601260248201527154616720616c72656164792065786973747360701b6044820152606401610500565b6040516020016109a390602080825260009082015260400190565b60405160208183030381529060405280519060200120826040516020016109ca9190611e1b565b6040516020818303038152906040528051906020012014156109fe5760405162461bcd60e51b815260040161050090611e9b565b6032825110610a4f5760405162461bcd60e51b815260206004820152601860248201527f546167206c6162656c2065786365656473206c656e67746800000000000000006044820152606401610500565b606c54610a5d906001611a58565b606c8190556000828152606a60209081526040808320849055928252606b81528282208490559151839260689291610a9791879101611e1b565b60408051601f1981840301815291815281516020928301208352828201939093529082016000908120939093558383526069815291208351610adb92850190611a70565b507f203d312e42dfc19b6cd9ce3fb71d74448397d757caeebefb8e593bb05a9e8d458282604051610b0d929190611e2e565b60405180910390a15050565b60006068600083604051602001610b309190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020549050919050565b60606000606c5467ffffffffffffffff811115610b8957634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610bbc57816020015b6060815260200190600190039081610ba75790505b50905060015b606c548111610cb9576000818152606b60209081526040808320548352606990915290208054610bf190611f6d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1d90611f6d565b8015610c6a5780601f10610c3f57610100808354040283529160200191610c6a565b820191906000526020600020905b815481529060010190602001808311610c4d57829003601f168201915b505050505082600183610c7d9190611f56565b81518110610c9b57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610cb190611fa2565b915050610bc2565b50919050565b60008082118015610cdd57506000828152606a602052604090205415155b92915050565b6060806000606c5467ffffffffffffffff811115610d1157634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d3a578160200160208202803683370190505b5090506000606c5467ffffffffffffffff811115610d6857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d9b57816020015b6060815260200190600190039081610d865790505b50905060015b606c548111610edc576000818152606b602052604090205483610dc5600184611f56565b81518110610de357634e487b7160e01b600052603260045260246000fd5b6020908102919091018101919091526000828152606b825260408082205482526069909252208054610e1490611f6d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4090611f6d565b8015610e8d5780601f10610e6257610100808354040283529160200191610e8d565b820191906000526020600020905b815481529060010190602001808311610e7057829003601f168201915b505050505082600183610ea09190611f56565b81518110610ebe57634e487b7160e01b600052603260045260246000fd5b60200260200101819052508080610ed490611fa2565b915050610da1565b50939092509050565b6040805160208082015260009181018290526060016040516020818303038152906040528051906020012082604051602001610f219190611e1b565b6040516020818303038152906040528051906020012014158015610cdd57506000606a60006068600086604051602001610f5b9190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020548152602001908152602001600020541192915050565b6001546001600160a01b0316331461100e5760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b6064820152608401610500565b60005460015460408051620100009093046001600160a01b03908116845290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1600180546000805462010000600160b01b0319166001600160a01b03831662010000021790556001600160a01b0319169055565b61109b6119de565b600081116110bb5760405162461bcd60e51b815260040161050090611ed2565b6000818152606a602052604090205461110c5760405162461bcd60e51b815260206004820152601360248201527254616720646f6573206e6f742065786973747360681b6044820152606401610500565b6000818152606a6020526040902054156111e6576000818152606a602081815260408084208054606c80548752606b80865284882054885286865284882083905581548852855283872054918752928620558585529290915291905554611174906001611a64565b606c556000818152606960205260409081902090517fbb88afc906bfcd28395add4ee7569f0fc2b36ee2149203c1198609cf54dabfb5916111b6918490611e88565b60405180910390a160408051602080820180845260008084528581526069909252929020905161090b9290611a70565b50565b6111f16119de565b600081116112115760405162461bcd60e51b815260040161050090611ed2565b60405160200161122c90602080825260009082015260400190565b60405160208183030381529060405280519060200120826040516020016112539190611e1b565b6040516020818303038152906040528051906020012014156112875760405162461bcd60e51b815260040161050090611e9b565b6000818152606a6020526040902054156112e35760405162461bcd60e51b815260206004820152601d60248201527f4e657720746167206e756d62657220616c7265616479206578697374730000006044820152606401610500565b6000606a600060686000866040516020016112fe9190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020548152602001908152602001600020541161137f5760405162461bcd60e51b815260206004820152601960248201527f4564697465642074616720646f6573206e6f74206578697374000000000000006044820152606401610500565b8060686000846040516020016113959190611e1b565b604051602081830303815290604052805190602001208152602001908152602001600020541461090b57600060686000846040516020016113d69190611e1b565b60408051601f19818403018152918152815160209283012083528282019390935290820160009081205483518084018086528382528284526069909452939091209251909350611427929190611a70565b506000818152606a6020818152604080842080548786528286208190558552606b83528185208790558585529282529183905590518492606892909161146f91889101611e1b565b60408051601f19818403018152918152815160209283012083528282019390935290820160009081209390935584835260698152912084516114b392860190611a70565b507f440013297fccb35416bc9a2b2fda9c239cae87d3c162434e01b1c3a299221ce583828460405161090193929190611e50565b60606000606c5467ffffffffffffffff81111561151457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561153d578160200160208202803683370190505b50905060015b606c548111610cb9576000818152606b602052604090205482611567600184611f56565b8151811061158557634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061159a81611fa2565b915050611543565b606960205260009081526040902080546115bb90611f6d565b80601f01602080910402602001604051908101604052809291908181526020018280546115e790611f6d565b80156116345780601f1061160957610100808354040283529160200191611634565b820191906000526020600020905b81548152906001019060200180831161161757829003601f168201915b505050505081565b6116446119de565b6001600160a01b03811661168c5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610500565b600154600160a81b900460ff16156116dc5760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481d1c985b9cd9995c9c9959606a1b6044820152606401610500565b600080546001600160a01b038381166201000081810262010000600160b01b031990941693909317938490556001805460ff60a81b1916600160a81b1790556040805193909404909116825260208201527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91016105e3565b600054610100900460ff166117705760005460ff1615611774565b303b155b6117d75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610500565b600054610100900460ff161580156117f9576000805461ffff19166101011790555b611802826104ae565b61180a61181f565b801561090b576000805461ff00191690555050565b60675460ff16156118685760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b6044820152606401610500565b6067805460ff19166001908117909155606655565b6000818152606b60208181526040808420548085526069835290842085855292909152815460609392919082906118b390611f6d565b80601f01602080910402602001604051908101604052809291908181526020018280546118df90611f6d565b801561192c5780601f106119015761010080835404028352916020019161192c565b820191906000526020600020905b81548152906001019060200180831161190f57829003601f168201915b5050505050915091509150915091565b600081815260696020526040902080546060919061195990611f6d565b80601f016020809104026020016040519081016040528092919081815260200182805461198590611f6d565b80156119d25780601f106119a7576101008083540402835291602001916119d2565b820191906000526020600020905b8154815290600101906020018083116119b557829003601f168201915b50505050509050919050565b6000546201000090046001600160a01b03163314611a565760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b6064820152608401610500565b565b60006104a78284611f3e565b60006104a78284611f56565b828054611a7c90611f6d565b90600052602060002090601f016020900481019282611a9e5760008555611ae4565b82601f10611ab757805160ff1916838001178555611ae4565b82800160010185558215611ae4579182015b82811115611ae4578251825591602001919060010190611ac9565b50611af0929150611af4565b5090565b5b80821115611af05760008155600101611af5565b600082601f830112611b19578081fd5b813567ffffffffffffffff80821115611b3457611b34611fd3565b604051601f8301601f19908116603f01168101908282118183101715611b5c57611b5c611fd3565b81604052838152866020858801011115611b74578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215611ba1578081fd5b81356001600160a01b03811681146104a7578182fd5b600060208284031215611bc8578081fd5b5035919050565b600060208284031215611be0578081fd5b813567ffffffffffffffff811115611bf6578182fd5b611c0284828501611b09565b949350505050565b60008060408385031215611c1c578081fd5b823567ffffffffffffffff811115611c32578182fd5b611c3e85828601611b09565b95602094909401359450505050565b600082825180855260208086019550808260051b840101818601855b84811015611c9757601f19868403018952611c85838351611cde565b98840198925090830190600101611c69565b5090979650505050505050565b6000815180845260208085019450808401835b83811015611cd357815187529582019590820190600101611cb7565b509495945050505050565b60008151808452815b81811015611d0357602081850181015186830182015201611ce7565b81811115611d145782602083870101525b50601f01601f19169290920160200192915050565b8054600090600181811c9080831680611d4357607f831692505b6020808410821415611d6357634e487b7160e01b86526022600452602486fd5b83885260208801828015611d7e5760018114611d8f57611dba565b60ff19871682528282019750611dba565b60008981526020902060005b87811015611db457815484820152908601908401611d9b565b83019850505b5050505050505092915050565b6020815260006104a76020830184611c4d565b604081526000611ded6040830185611c4d565b8281036020840152611dff8185611ca4565b95945050505050565b6020815260006104a76020830184611ca4565b6020815260006104a76020830184611cde565b604081526000611e416040830185611cde565b90508260208301529392505050565b606081526000611e636060830186611cde565b60208301949094525060400152919050565b6020815260006104a76020830184611d29565b604081526000611e416040830185611d29565b6020808252601c908201527f496e76616c6964206c6162656c2028656d70747920737472696e672900000000604082015260600190565b60208082526017908201527f4e756d626572206d757374206e6f74206265207a65726f000000000000000000604082015260600190565b838152606060208201526000611f226060830185611cde565b8281036040840152611f348185611cde565b9695505050505050565b60008219821115611f5157611f51611fbd565b500190565b600082821015611f6857611f68611fbd565b500390565b600181811c90821680611f8157607f821691505b60208210811415610cb957634e487b7160e01b600052602260045260246000fd5b6000600019821415611fb657611fb6611fbd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220a03e38f0b671da5097d1b143697dc642da4eecbb596b3b499e9f0c251a1ac35c64736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading