ETH Price: $3,301.79 (-0.88%)

Contract

0xd2C98d651A02e34C279eD470A1447a36aa0423ee
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Revoke Role192823572024-02-22 9:47:11305 days ago1708595231IN
0xd2C98d65...6aa0423ee
0 ETH0.0011443531.55009817
Add Minter192823492024-02-22 9:45:35305 days ago1708595135IN
0xd2C98d65...6aa0423ee
0 ETH0.0028157435.88347307
Add Minter192823232024-02-22 9:40:11305 days ago1708594811IN
0xd2C98d65...6aa0423ee
0 ETH0.0011163638.39858774
Add Minter137271822021-12-02 11:48:341117 days ago1638445714IN
0xd2C98d65...6aa0423ee
0 ETH0.0048745262.11094625
Add Minter136395322021-11-18 13:12:501131 days ago1637241170IN
0xd2C98d65...6aa0423ee
0 ETH0.00971727123.81686669
Set Scarcity Lim...135554542021-11-05 8:09:321144 days ago1636099772IN
0xd2C98d65...6aa0423ee
0 ETH0.00544023101.17041878
Revoke Role119774342021-03-05 9:17:491389 days ago1614935869IN
0xd2C98d65...6aa0423ee
0 ETH0.00299197123
Revoke Role119774142021-03-05 9:13:581389 days ago1614935638IN
0xd2C98d65...6aa0423ee
0 ETH0.00350857123
Add Minter103229492020-06-23 15:46:321644 days ago1592927192IN
0xd2C98d65...6aa0423ee
0 ETH0.003107242
Add Minter101091252020-05-21 12:03:011677 days ago1590062581IN
0xd2C98d65...6aa0423ee
0 ETH0.0036990550
Add Minter100384112020-05-10 12:28:281688 days ago1589113708IN
0xd2C98d65...6aa0423ee
0 ETH0.0011097115
Add Minter100383912020-05-10 12:23:181688 days ago1589113398IN
0xd2C98d65...6aa0423ee
0 ETH0.0011097115

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SorareCards

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-05-20
*/

pragma solidity 0.6.6;

contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }

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

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * 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, _msgSender()));
 *     ...
 * }
 * ```
 *
 * 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}.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_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) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @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 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 {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _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 {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _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 {
        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.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        _roles[role].adminRole = adminRole;
    }

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

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

interface ISorareData {
    function createPlayer(
        string calldata name,
        uint16 yearOfBirth,
        uint8 monthOfBirth,
        uint8 dayOfBirth
    ) external returns (uint256);

    function getPlayer(uint256 playerId)
        external
        view
        returns (
            string memory name,
            uint16 yearOfBirth,
            uint8 monthOfBirth,
            uint8 dayOfBirth
        );

    function createClub(
        string calldata name,
        string calldata country,
        string calldata city,
        uint16 yearFounded
    ) external returns (uint16);

    function getClub(uint16 clubId)
        external
        view
        returns (
            string memory name,
            string memory country,
            string memory city,
            uint16 yearFounded
        );

    function playerExists(uint256 playerId) external view returns (bool);

    function clubExists(uint16 clubId) external view returns (bool);
}

interface ISorareCards {
    function createCard(
        uint256 playerId,
        uint16 season,
        uint8 scarcity,
        uint16 serialNumber,
        bytes32 metadata,
        uint16 clubId
    ) external returns (uint256);

    function getCard(uint256 _cardId)
        external
        view
        returns (
            uint256 playerId,
            uint16 season,
            uint256 scarcity,
            uint16 serialNumber,
            bytes memory metadata,
            uint16 clubId
        );

    function getPlayer(uint256 playerId)
        external
        view
        returns (
            string memory name,
            uint16 yearOfBirth,
            uint8 monthOfBirth,
            uint8 dayOfBirth
        );

    function getClub(uint16 clubId)
        external
        view
        returns (
            string memory name,
            string memory country,
            string memory city,
            uint16 yearFounded
        );

    function cardExists(uint256 cardId) external view returns (bool);
}

contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

contract MinterAccess is Ownable, AccessControl {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    modifier onlyMinter {
        require(hasRole(MINTER_ROLE, _msgSender()), "Sender is not a minter");
        _;
    }

    constructor() public {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(MINTER_ROLE, msg.sender);
    }

    function addMinter(address account) external {
        grantRole(MINTER_ROLE, account);
    }

    function renounceMinter(address account) external {
        renounceRole(MINTER_ROLE, account);
    }

    function revokeMinter(address account) external {
        revokeRole(MINTER_ROLE, account);
    }
}

contract CapperAccess is Ownable, AccessControl {
    bytes32 public constant CAPPER_ROLE = keccak256("CAPPER_ROLE");

    modifier onlyCapper {
        require(hasRole(CAPPER_ROLE, _msgSender()), "Sender is not a capper");
        _;
    }

    constructor() public {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(CAPPER_ROLE, msg.sender);
    }

    function addCapper(address account) external {
        grantRole(CAPPER_ROLE, account);
    }

    function renounceCapper(address account) external {
        renounceRole(CAPPER_ROLE, account);
    }
}

contract SorareCards is MinterAccess, CapperAccess, ISorareCards {
    struct Card {
        // The id of the football Player
        uint256 playerId;
        /// @dev Contains the immutable metadata hash for each card.The IPFS address can be computed
        /// like so base58('1220' + hex(value))
        bytes32 metadata;
        // The football season represented by the first year of the season: Season 2018/2019 is 2018.
        uint16 season;
        // Card serial number
        uint16 serialNumber;
        // Card scarcity
        uint8 scarcity;
        // Id of the football club
        uint16 clubId;
    }

    /// @dev The CardAdded is fired whenever a new Card is minted.
    event CardAdded(
        uint256 indexed cardId,
        uint256 indexed playerId,
        uint16 indexed season,
        uint8 scarcity,
        uint16 serialNumber,
        bytes32 metadata,
        uint16 clubId
    );

    ISorareData private sorareData;

    /// @dev The limit number of cards that can be minted depending on their Scarcity Level.
    uint256[] public scarcityLimitByLevel;

    /// @dev Specifies if production of cards of a given season and scarcity has been stopped
    mapping(uint16 => mapping(uint256 => bool)) internal stoppedProductionBySeasonAndScarcityLevel;

    /// @dev A mapping containing the Card struct for all Cards in existence.
    mapping(uint256 => Card) public cards;

    constructor(address sorareDataAddress) public {
        require(
            sorareDataAddress != address(0),
            "SorareData address is required"
        );
        sorareData = ISorareData(sorareDataAddress);

        scarcityLimitByLevel.push(1);
        scarcityLimitByLevel.push(10);
        scarcityLimitByLevel.push(100);
    }

    /// @dev Init the maximum number of cards that can be created for a scarcity level.
    function setScarcityLimit(uint256 limit) public onlyCapper {
        uint256 editedScarcities = scarcityLimitByLevel.length - 1;
        require(
            limit >= scarcityLimitByLevel[editedScarcities] * 2,
            "Limit not large enough"
        );

        scarcityLimitByLevel.push(limit);
    }

    /// @dev Stop the production of cards for a given season and scarcity level
    function stopProductionForSeasonAndScarcityLevel(uint16 season, uint8 level)
        public
        onlyMinter
    {
        stoppedProductionBySeasonAndScarcityLevel[season][level] = true;
    }

    /// @dev Returns true if the production has been stopped for a given season and scarcity level
    function productionStoppedForSeasonAndScarcityLevel(
        uint16 season,
        uint8 level
    ) public view returns (bool) {
        return stoppedProductionBySeasonAndScarcityLevel[season][level];
    }

    // prettier-ignore
    function createCard(
        uint256 playerId,
        uint16 season,
        uint8 scarcity,
        uint16 serialNumber,
        bytes32 metadata,
        uint16 clubId
    )
        public
        onlyMinter
        override
        returns (
            uint256
        )
    {
        require(sorareData.playerExists(playerId), "Player does not exist");
        require(sorareData.clubExists(clubId), "Club does not exist");

        require(
            serialNumber >= 1 && serialNumber <= scarcityLimitByLevel[scarcity],
            "Invalid serial number"
        );
        require(
            stoppedProductionBySeasonAndScarcityLevel[season][scarcity] ==
                false,
            "Production has been stopped"
        );

        Card memory card;
        card.playerId = playerId;
        card.season = season;
        card.scarcity = scarcity;
        card.serialNumber = serialNumber;
        card.metadata = metadata;
        card.clubId = clubId;
        uint256 cardId = uint256(
            keccak256(
                abi.encodePacked(
                    playerId,
                    season,
                    uint256(scarcity),
                    serialNumber
                )
            )
        );

        require(cards[cardId].playerId == 0, "Card already exists");

        cards[cardId] = card;

        emit CardAdded(
            cardId,
            playerId,
            season,
            scarcity,
            serialNumber,
            metadata,
            clubId
        );

        return cardId;
    }

    // prettier-ignore
    function getCard(
        uint256 cardId // prettier-ignore
    )
        external
        override
        view
        returns (
            uint256 playerId,
            uint16 season,
            uint256 scarcity,
            uint16 serialNumber,
            bytes memory metadata,
            uint16 clubId
        )
    {
        Card storage c = cards[cardId];
        playerId = c.playerId;
        season = c.season;
        scarcity = c.scarcity;
        serialNumber = c.serialNumber;
        // Our IPFS hash will always be encoded using SHA256
        metadata = sha256Bytes32ToBytes(c.metadata);
        clubId = c.clubId;
    }

    // prettier-ignore
    function getPlayer(uint256 playerId)
        external
        override
        view
        returns (
            string memory name,
            uint16 yearOfBirth,
            uint8 monthOfBirth,
            uint8 dayOfBirth
        )
    {
        (name, yearOfBirth, monthOfBirth, dayOfBirth) = sorareData.getPlayer(playerId);
    }

    // prettier-ignore
    function getClub(uint16 clubId)
        external
        override
        view
        returns (
            string memory name,
            string memory country,
            string memory city,
            uint16 yearFounded
        )
    {
        (name, country, city, yearFounded) = sorareData.getClub(clubId);
    }

    // prettier-ignore
    function cardExists(uint256 cardId) external override view returns(bool) {
        Card storage card = cards[cardId];
        return card.season > 0;
    }

    function sha256Bytes32ToBytes(bytes32 _bytes32)
        internal
        pure
        returns (bytes memory)
    {
        bytes memory bytesArray = new bytes(34);
        bytesArray[0] = 0x12;
        bytesArray[1] = 0x20;
        // We add 0x1220 to specify the encryption algorithm
        for (uint256 i = 2; i < 34; i++) {
            bytesArray[i] = _bytes32[i - 2];
        }
        return bytesArray;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"sorareDataAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"cardId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"playerId","type":"uint256"},{"indexed":true,"internalType":"uint16","name":"season","type":"uint16"},{"indexed":false,"internalType":"uint8","name":"scarcity","type":"uint8"},{"indexed":false,"internalType":"uint16","name":"serialNumber","type":"uint16"},{"indexed":false,"internalType":"bytes32","name":"metadata","type":"bytes32"},{"indexed":false,"internalType":"uint16","name":"clubId","type":"uint16"}],"name":"CardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"inputs":[],"name":"CAPPER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addCapper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cardId","type":"uint256"}],"name":"cardExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cards","outputs":[{"internalType":"uint256","name":"playerId","type":"uint256"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"uint16","name":"season","type":"uint16"},{"internalType":"uint16","name":"serialNumber","type":"uint16"},{"internalType":"uint8","name":"scarcity","type":"uint8"},{"internalType":"uint16","name":"clubId","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"playerId","type":"uint256"},{"internalType":"uint16","name":"season","type":"uint16"},{"internalType":"uint8","name":"scarcity","type":"uint8"},{"internalType":"uint16","name":"serialNumber","type":"uint16"},{"internalType":"bytes32","name":"metadata","type":"bytes32"},{"internalType":"uint16","name":"clubId","type":"uint16"}],"name":"createCard","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cardId","type":"uint256"}],"name":"getCard","outputs":[{"internalType":"uint256","name":"playerId","type":"uint256"},{"internalType":"uint16","name":"season","type":"uint16"},{"internalType":"uint256","name":"scarcity","type":"uint256"},{"internalType":"uint16","name":"serialNumber","type":"uint16"},{"internalType":"bytes","name":"metadata","type":"bytes"},{"internalType":"uint16","name":"clubId","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"clubId","type":"uint16"}],"name":"getClub","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"country","type":"string"},{"internalType":"string","name":"city","type":"string"},{"internalType":"uint16","name":"yearFounded","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"playerId","type":"uint256"}],"name":"getPlayer","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint16","name":"yearOfBirth","type":"uint16"},{"internalType":"uint8","name":"monthOfBirth","type":"uint8"},{"internalType":"uint8","name":"dayOfBirth","type":"uint8"}],"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"season","type":"uint16"},{"internalType":"uint8","name":"level","type":"uint8"}],"name":"productionStoppedForSeasonAndScarcityLevel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"renounceCapper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"renounceMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeMinter","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":"uint256","name":"","type":"uint256"}],"name":"scarcityLimitByLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setScarcityLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"season","type":"uint16"},{"internalType":"uint8","name":"level","type":"uint8"}],"name":"stopProductionForSeasonAndScarcityLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002ef038038062002ef0833981810160405260208110156200003757600080fd5b810190808051906020019092919050505060006200005a6200031a60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200010d6000801b336200032260201b60201c565b6200015460405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020336200032260201b60201c565b620001696000801b336200032260201b60201c565b620001b060405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020336200032260201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536f72617265446174612061646472657373206973207265717569726564000081525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506003600190806001815401808255809150506001900390600052602060002001600090919091909150556003600a908060018154018082558091505060019003906000526020600020016000909190919091505560036064908060018154018082558091505060019003906000526020600020016000909190919091505550620004b1565b600033905090565b6200033482826200033860201b60201c565b5050565b620003678160016000858152602001908152602001600020600001620003dc60201b6200266c1790919060201c565b15620003d8576200037d6200031a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200040c836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200041460201b60201c565b905092915050565b60006200042883836200048e60201b60201c565b6200048357826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000488565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b612a2f80620004c16000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638dfbcf36116100f9578063ca15c87311610097578063d547741f11610071578063d547741f14610a4d578063e55ae4e814610a9b578063f161033e14610b6b578063f2fde38b14610bad576101c4565b8063ca15c873146109a9578063cfbd4885146109eb578063d539139314610a2f576101c4565b806391d14854116100d357806391d14854146108c3578063983b2d5614610929578063a217fddf1461096d578063c7108b431461098b576101c4565b80638dfbcf36146107255780639010d07c146107695780639188d312146107e1576101c4565b80634a39d2b8116101665780635f112c68116101405780635f112c681461060a578063715018a61461064e5780638da5cb5b146106585780638dc10768146106a2576101c4565b80634a39d2b8146103db5780634ae3540e1461056d57806354f0e6e0146105b3576101c4565b8063248a9ca3116101a2578063248a9ca3146102b957806329311087146102fb5780632f2ff15d1461033f57806336568abe1461038d576101c4565b806301152383146101c9578063026aba481461024c5780630ef7a95a1461027a575b600080fd5b610236600480360360c08110156101df57600080fd5b8101908080359060200190929190803561ffff169060200190929190803560ff169060200190929190803561ffff16906020019092919080359060200190929190803561ffff169060200190929190505050610bf1565b6040518082815260200191505060405180910390f35b6102786004803603602081101561026257600080fd5b81019080803590602001909291905050506112d3565b005b6102b76004803603604081101561029057600080fd5b81019080803561ffff169060200190929190803560ff169060200190929190505050611455565b005b6102e5600480360360208110156102cf57600080fd5b8101908080359060200190929190505050611559565b6040518082815260200191505060405180910390f35b61033d6004803603602081101561031157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611579565b005b61038b6004803603604081101561035557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115bb565b005b6103d9600480360360408110156103a357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611645565b005b61040b600480360360208110156103f157600080fd5b81019080803561ffff1690602001909291905050506116de565b604051808060200180602001806020018561ffff1661ffff168152602001848103845288818151815260200191508051906020019080838360005b83811015610461578082015181840152602081019050610446565b50505050905090810190601f16801561048e5780820380516001836020036101000a031916815260200191505b50848103835287818151815260200191508051906020019080838360005b838110156104c75780820151818401526020810190506104ac565b50505050905090810190601f1680156104f45780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019080838360005b8381101561052d578082015181840152602081019050610512565b50505050905090810190601f16801561055a5780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b6105996004803603602081101561058357600080fd5b81019080803590602001909291905050506119eb565b604051808215151515815260200191505060405180910390f35b6105f0600480360360408110156105c957600080fd5b81019080803561ffff169060200190929190803560ff169060200190929190505050611a25565b604051808215151515815260200191505060405180910390f35b61064c6004803603602081101561062057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a6c565b005b610656611aae565b005b610660611c36565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ce600480360360208110156106b857600080fd5b8101908080359060200190929190505050611c5f565b604051808781526020018681526020018561ffff1661ffff1681526020018461ffff1661ffff1681526020018360ff1660ff1681526020018261ffff1661ffff168152602001965050505050505060405180910390f35b6107676004803603602081101561073b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cd2565b005b61079f6004803603604081101561077f57600080fd5b810190808035906020019092919080359060200190929190505050611d14565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61080d600480360360208110156107f757600080fd5b8101908080359060200190929190505050611d46565b604051808781526020018661ffff1661ffff1681526020018581526020018461ffff1661ffff168152602001806020018361ffff1661ffff168152602001828103825284818151815260200191508051906020019080838360005b83811015610883578082015181840152602081019050610868565b50505050905090810190601f1680156108b05780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b61090f600480360360408110156108d957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ddc565b604051808215151515815260200191505060405180910390f35b61096b6004803603602081101561093f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e0e565b005b610975611e50565b6040518082815260200191505060405180910390f35b610993611e57565b6040518082815260200191505060405180910390f35b6109d5600480360360208110156109bf57600080fd5b8101908080359060200190929190505050611e90565b6040518082815260200191505060405180910390f35b610a2d60048036036020811015610a0157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611eb7565b005b610a37611ef9565b6040518082815260200191505060405180910390f35b610a9960048036036040811015610a6357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f32565b005b610ac760048036036020811015610ab157600080fd5b8101908080359060200190929190505050611fbc565b60405180806020018561ffff1661ffff1681526020018460ff1660ff1681526020018360ff1660ff168152602001828103825286818151815260200191508051906020019080838360005b83811015610b2d578082015181840152602081019050610b12565b50505050905090810190601f168015610b5a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b610b9760048036036020811015610b8157600080fd5b8101908080359060200190929190505050612167565b6040518082815260200191505060405180910390f35b610bef60048036036020811015610bc357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612188565b005b6000610c3960405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020610c34612395565b611ddc565b610cab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53656e646572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bc1a97c1886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d6020811015610d4857600080fd5b8101908080519060200190929190505050610dcb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f506c6179657220646f6573206e6f74206578697374000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369c08bf5836040518263ffffffff1660e01b8152600401808261ffff1661ffff16815260200191505060206040518083038186803b158015610e4657600080fd5b505afa158015610e5a573d6000803e3d6000fd5b505050506040513d6020811015610e7057600080fd5b8101908080519060200190929190505050610ef3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f436c756220646f6573206e6f742065786973740000000000000000000000000081525060200191505060405180910390fd5b60018461ffff1610158015610f26575060038560ff1681548110610f1357fe5b90600052602060002001548461ffff1611155b610f98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f496e76616c69642073657269616c206e756d626572000000000000000000000081525060200191505060405180910390fd5b60001515600460008861ffff1661ffff16815260200190815260200160002060008760ff16815260200190815260200160002060009054906101000a900460ff1615151461104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f50726f64756374696f6e20686173206265656e2073746f70706564000000000081525060200191505060405180910390fd5b6110566128db565b8781600001818152505086816040019061ffff16908161ffff168152505085816080019060ff16908160ff168152505084816060019061ffff16908161ffff168152505083816020018181525050828160a0019061ffff16908161ffff1681525050600088888860ff1688604051602001808581526020018461ffff1661ffff1660f01b81526002018381526020018261ffff1661ffff1660f01b81526002019450505050506040516020818303038152906040528051906020012060001c905060006005600083815260200190815260200160002060000154146111a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4361726420616c7265616479206578697374730000000000000000000000000081525060200191505060405180910390fd5b8160056000838152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548161ffff021916908361ffff16021790555060608201518160020160026101000a81548161ffff021916908361ffff16021790555060808201518160020160046101000a81548160ff021916908360ff16021790555060a08201518160020160056101000a81548161ffff021916908361ffff1602179055509050508761ffff1689827f4442bae5a17069681b85c6af363fc614a18b0f2a23e9ae05c0f0a56480a9d9f08a8a8a8a604051808560ff1660ff1681526020018461ffff1661ffff1681526020018381526020018261ffff1661ffff16815260200194505050505060405180910390a480925050509695505050505050565b61131960405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020611314612395565b611ddc565b61138b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53656e646572206973206e6f742061206361707065720000000000000000000081525060200191505060405180910390fd5b600060016003805490500390506002600382815481106113a757fe5b906000526020600020015402821015611428576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4c696d6974206e6f74206c6172676520656e6f7567680000000000000000000081525060200191505060405180910390fd5b60038290806001815401808255809150506001900390600052602060002001600090919091909150555050565b61149b60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020611496612395565b611ddc565b61150d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53656e646572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b6001600460008461ffff1661ffff16815260200190815260200160002060008360ff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600060016000838152602001908152602001600020600201549050919050565b6115b860405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902082611645565b50565b6115e260016000848152602001908152602001600020600201546115dd612395565b611ddc565b611637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612946602f913960400191505060405180910390fd5b611641828261239d565b5050565b61164d612395565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806129cb602f913960400191505060405180910390fd5b6116da8282612431565b5050565b60608060606000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634a39d2b8866040518263ffffffff1660e01b8152600401808261ffff1661ffff16815260200191505060006040518083038186803b15801561176057600080fd5b505afa158015611774573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250608081101561179e57600080fd5b81019080805160405193929190846401000000008211156117be57600080fd5b838201915060208201858111156117d457600080fd5b82518660018202830111640100000000821117156117f157600080fd5b8083526020830192505050908051906020019080838360005b8381101561182557808201518184015260208101905061180a565b50505050905090810190601f1680156118525780820380516001836020036101000a031916815260200191505b506040526020018051604051939291908464010000000082111561187557600080fd5b8382019150602082018581111561188b57600080fd5b82518660018202830111640100000000821117156118a857600080fd5b8083526020830192505050908051906020019080838360005b838110156118dc5780820151818401526020810190506118c1565b50505050905090810190601f1680156119095780820380516001836020036101000a031916815260200191505b506040526020018051604051939291908464010000000082111561192c57600080fd5b8382019150602082018581111561194257600080fd5b825186600182028301116401000000008211171561195f57600080fd5b8083526020830192505050908051906020019080838360005b83811015611993578082015181840152602081019050611978565b50505050905090810190601f1680156119c05780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190505050809450819550829650839750505050509193509193565b60008060056000848152602001908152602001600020905060008160020160009054906101000a900461ffff1661ffff1611915050919050565b6000600460008461ffff1661ffff16815260200190815260200160002060008360ff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611aab60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902082611645565b50565b611ab6612395565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60056020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900461ffff16908060020160029054906101000a900461ffff16908060020160049054906101000a900460ff16908060020160059054906101000a900461ffff16905086565b611d1160405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020826115bb565b50565b6000611d3e82600160008681526020019081526020016000206000016124c590919063ffffffff16565b905092915050565b6000806000806060600080600560008981526020019081526020016000209050806000015496508060020160009054906101000a900461ffff1695508060020160049054906101000a900460ff1660ff1694508060020160029054906101000a900461ffff169350611dbb81600101546124df565b92508060020160059054906101000a900461ffff1691505091939550919395565b6000611e06826001600086815260200190815260200160002060000161262790919063ffffffff16565b905092915050565b611e4d60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020826115bb565b50565b6000801b81565b60405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b6000611eb060016000848152602001908152602001600020600001612657565b9050919050565b611ef660405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902082611f32565b50565b60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b611f596001600084815260200190815260200160002060020154611f54612395565b611ddc565b611fae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603081526020018061299b6030913960400191505060405180910390fd5b611fb88282612431565b5050565b60606000806000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e55ae4e8866040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b15801561203657600080fd5b505afa15801561204a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250608081101561207457600080fd5b810190808051604051939291908464010000000082111561209457600080fd5b838201915060208201858111156120aa57600080fd5b82518660018202830111640100000000821117156120c757600080fd5b8083526020830192505050908051906020019080838360005b838110156120fb5780820151818401526020810190506120e0565b50505050905090810190601f1680156121285780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291908051906020019092919080519060200190929190505050809450819550829650839750505050509193509193565b6003818154811061217457fe5b906000526020600020016000915090505481565b612190612395565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806129756026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6123c5816001600085815260200190815260200160002060000161266c90919063ffffffff16565b1561242d576123d2612395565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612459816001600085815260200190815260200160002060000161269c90919063ffffffff16565b156124c157612466612395565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006124d483600001836126cc565b60001c905092915050565b606080602267ffffffffffffffff811180156124fa57600080fd5b506040519080825280601f01601f19166020018201604052801561252d5781602001600182028036833780820191505090505b509050601260f81b8160008151811061254257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b8160018151811061258357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600290505b602281101561261d578360028203602081106125d157fe5b1a60f81b8282815181106125e157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806001019150506125b9565b5080915050919050565b600061264f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61274f565b905092915050565b600061266582600001612772565b9050919050565b6000612694836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612783565b905092915050565b60006126c4836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6127f3565b905092915050565b60008183600001805490501161272d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806129246022913960400191505060405180910390fd5b82600001828154811061273c57fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b600061278f838361274f565b6127e85782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506127ed565b600090505b92915050565b600080836001016000848152602001908152602001600020549050600081146128cf576000600182039050600060018660000180549050039050600086600001828154811061283e57fe5b906000526020600020015490508087600001848154811061285b57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061289357fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506128d5565b60009150505b92915050565b6040518060c001604052806000815260200160008019168152602001600061ffff168152602001600061ffff168152602001600060ff168152602001600061ffff168152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122020bf9d7cc5f056b1d59b8f50b7965304b1a7422457d5a6efd13d33ac8fa8430464736f6c634300060600330000000000000000000000009844956f1d45996aa8d322f3483cc58abe34d449

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80638dfbcf36116100f9578063ca15c87311610097578063d547741f11610071578063d547741f14610a4d578063e55ae4e814610a9b578063f161033e14610b6b578063f2fde38b14610bad576101c4565b8063ca15c873146109a9578063cfbd4885146109eb578063d539139314610a2f576101c4565b806391d14854116100d357806391d14854146108c3578063983b2d5614610929578063a217fddf1461096d578063c7108b431461098b576101c4565b80638dfbcf36146107255780639010d07c146107695780639188d312146107e1576101c4565b80634a39d2b8116101665780635f112c68116101405780635f112c681461060a578063715018a61461064e5780638da5cb5b146106585780638dc10768146106a2576101c4565b80634a39d2b8146103db5780634ae3540e1461056d57806354f0e6e0146105b3576101c4565b8063248a9ca3116101a2578063248a9ca3146102b957806329311087146102fb5780632f2ff15d1461033f57806336568abe1461038d576101c4565b806301152383146101c9578063026aba481461024c5780630ef7a95a1461027a575b600080fd5b610236600480360360c08110156101df57600080fd5b8101908080359060200190929190803561ffff169060200190929190803560ff169060200190929190803561ffff16906020019092919080359060200190929190803561ffff169060200190929190505050610bf1565b6040518082815260200191505060405180910390f35b6102786004803603602081101561026257600080fd5b81019080803590602001909291905050506112d3565b005b6102b76004803603604081101561029057600080fd5b81019080803561ffff169060200190929190803560ff169060200190929190505050611455565b005b6102e5600480360360208110156102cf57600080fd5b8101908080359060200190929190505050611559565b6040518082815260200191505060405180910390f35b61033d6004803603602081101561031157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611579565b005b61038b6004803603604081101561035557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115bb565b005b6103d9600480360360408110156103a357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611645565b005b61040b600480360360208110156103f157600080fd5b81019080803561ffff1690602001909291905050506116de565b604051808060200180602001806020018561ffff1661ffff168152602001848103845288818151815260200191508051906020019080838360005b83811015610461578082015181840152602081019050610446565b50505050905090810190601f16801561048e5780820380516001836020036101000a031916815260200191505b50848103835287818151815260200191508051906020019080838360005b838110156104c75780820151818401526020810190506104ac565b50505050905090810190601f1680156104f45780820380516001836020036101000a031916815260200191505b50848103825286818151815260200191508051906020019080838360005b8381101561052d578082015181840152602081019050610512565b50505050905090810190601f16801561055a5780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b6105996004803603602081101561058357600080fd5b81019080803590602001909291905050506119eb565b604051808215151515815260200191505060405180910390f35b6105f0600480360360408110156105c957600080fd5b81019080803561ffff169060200190929190803560ff169060200190929190505050611a25565b604051808215151515815260200191505060405180910390f35b61064c6004803603602081101561062057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a6c565b005b610656611aae565b005b610660611c36565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ce600480360360208110156106b857600080fd5b8101908080359060200190929190505050611c5f565b604051808781526020018681526020018561ffff1661ffff1681526020018461ffff1661ffff1681526020018360ff1660ff1681526020018261ffff1661ffff168152602001965050505050505060405180910390f35b6107676004803603602081101561073b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cd2565b005b61079f6004803603604081101561077f57600080fd5b810190808035906020019092919080359060200190929190505050611d14565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61080d600480360360208110156107f757600080fd5b8101908080359060200190929190505050611d46565b604051808781526020018661ffff1661ffff1681526020018581526020018461ffff1661ffff168152602001806020018361ffff1661ffff168152602001828103825284818151815260200191508051906020019080838360005b83811015610883578082015181840152602081019050610868565b50505050905090810190601f1680156108b05780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b61090f600480360360408110156108d957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ddc565b604051808215151515815260200191505060405180910390f35b61096b6004803603602081101561093f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e0e565b005b610975611e50565b6040518082815260200191505060405180910390f35b610993611e57565b6040518082815260200191505060405180910390f35b6109d5600480360360208110156109bf57600080fd5b8101908080359060200190929190505050611e90565b6040518082815260200191505060405180910390f35b610a2d60048036036020811015610a0157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611eb7565b005b610a37611ef9565b6040518082815260200191505060405180910390f35b610a9960048036036040811015610a6357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f32565b005b610ac760048036036020811015610ab157600080fd5b8101908080359060200190929190505050611fbc565b60405180806020018561ffff1661ffff1681526020018460ff1660ff1681526020018360ff1660ff168152602001828103825286818151815260200191508051906020019080838360005b83811015610b2d578082015181840152602081019050610b12565b50505050905090810190601f168015610b5a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b610b9760048036036020811015610b8157600080fd5b8101908080359060200190929190505050612167565b6040518082815260200191505060405180910390f35b610bef60048036036020811015610bc357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612188565b005b6000610c3960405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020610c34612395565b611ddc565b610cab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53656e646572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bc1a97c1886040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d6020811015610d4857600080fd5b8101908080519060200190929190505050610dcb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f506c6179657220646f6573206e6f74206578697374000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369c08bf5836040518263ffffffff1660e01b8152600401808261ffff1661ffff16815260200191505060206040518083038186803b158015610e4657600080fd5b505afa158015610e5a573d6000803e3d6000fd5b505050506040513d6020811015610e7057600080fd5b8101908080519060200190929190505050610ef3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f436c756220646f6573206e6f742065786973740000000000000000000000000081525060200191505060405180910390fd5b60018461ffff1610158015610f26575060038560ff1681548110610f1357fe5b90600052602060002001548461ffff1611155b610f98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f496e76616c69642073657269616c206e756d626572000000000000000000000081525060200191505060405180910390fd5b60001515600460008861ffff1661ffff16815260200190815260200160002060008760ff16815260200190815260200160002060009054906101000a900460ff1615151461104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f50726f64756374696f6e20686173206265656e2073746f70706564000000000081525060200191505060405180910390fd5b6110566128db565b8781600001818152505086816040019061ffff16908161ffff168152505085816080019060ff16908160ff168152505084816060019061ffff16908161ffff168152505083816020018181525050828160a0019061ffff16908161ffff1681525050600088888860ff1688604051602001808581526020018461ffff1661ffff1660f01b81526002018381526020018261ffff1661ffff1660f01b81526002019450505050506040516020818303038152906040528051906020012060001c905060006005600083815260200190815260200160002060000154146111a3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4361726420616c7265616479206578697374730000000000000000000000000081525060200191505060405180910390fd5b8160056000838152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548161ffff021916908361ffff16021790555060608201518160020160026101000a81548161ffff021916908361ffff16021790555060808201518160020160046101000a81548160ff021916908360ff16021790555060a08201518160020160056101000a81548161ffff021916908361ffff1602179055509050508761ffff1689827f4442bae5a17069681b85c6af363fc614a18b0f2a23e9ae05c0f0a56480a9d9f08a8a8a8a604051808560ff1660ff1681526020018461ffff1661ffff1681526020018381526020018261ffff1661ffff16815260200194505050505060405180910390a480925050509695505050505050565b61131960405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020611314612395565b611ddc565b61138b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53656e646572206973206e6f742061206361707065720000000000000000000081525060200191505060405180910390fd5b600060016003805490500390506002600382815481106113a757fe5b906000526020600020015402821015611428576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4c696d6974206e6f74206c6172676520656e6f7567680000000000000000000081525060200191505060405180910390fd5b60038290806001815401808255809150506001900390600052602060002001600090919091909150555050565b61149b60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020611496612395565b611ddc565b61150d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53656e646572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b6001600460008461ffff1661ffff16815260200190815260200160002060008360ff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600060016000838152602001908152602001600020600201549050919050565b6115b860405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902082611645565b50565b6115e260016000848152602001908152602001600020600201546115dd612395565b611ddc565b611637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612946602f913960400191505060405180910390fd5b611641828261239d565b5050565b61164d612395565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806129cb602f913960400191505060405180910390fd5b6116da8282612431565b5050565b60608060606000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634a39d2b8866040518263ffffffff1660e01b8152600401808261ffff1661ffff16815260200191505060006040518083038186803b15801561176057600080fd5b505afa158015611774573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250608081101561179e57600080fd5b81019080805160405193929190846401000000008211156117be57600080fd5b838201915060208201858111156117d457600080fd5b82518660018202830111640100000000821117156117f157600080fd5b8083526020830192505050908051906020019080838360005b8381101561182557808201518184015260208101905061180a565b50505050905090810190601f1680156118525780820380516001836020036101000a031916815260200191505b506040526020018051604051939291908464010000000082111561187557600080fd5b8382019150602082018581111561188b57600080fd5b82518660018202830111640100000000821117156118a857600080fd5b8083526020830192505050908051906020019080838360005b838110156118dc5780820151818401526020810190506118c1565b50505050905090810190601f1680156119095780820380516001836020036101000a031916815260200191505b506040526020018051604051939291908464010000000082111561192c57600080fd5b8382019150602082018581111561194257600080fd5b825186600182028301116401000000008211171561195f57600080fd5b8083526020830192505050908051906020019080838360005b83811015611993578082015181840152602081019050611978565b50505050905090810190601f1680156119c05780820380516001836020036101000a031916815260200191505b5060405260200180519060200190929190505050809450819550829650839750505050509193509193565b60008060056000848152602001908152602001600020905060008160020160009054906101000a900461ffff1661ffff1611915050919050565b6000600460008461ffff1661ffff16815260200190815260200160002060008360ff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611aab60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902082611645565b50565b611ab6612395565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60056020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900461ffff16908060020160029054906101000a900461ffff16908060020160049054906101000a900460ff16908060020160059054906101000a900461ffff16905086565b611d1160405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020826115bb565b50565b6000611d3e82600160008681526020019081526020016000206000016124c590919063ffffffff16565b905092915050565b6000806000806060600080600560008981526020019081526020016000209050806000015496508060020160009054906101000a900461ffff1695508060020160049054906101000a900460ff1660ff1694508060020160029054906101000a900461ffff169350611dbb81600101546124df565b92508060020160059054906101000a900461ffff1691505091939550919395565b6000611e06826001600086815260200190815260200160002060000161262790919063ffffffff16565b905092915050565b611e4d60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020826115bb565b50565b6000801b81565b60405180807f4341505045525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b6000611eb060016000848152602001908152602001600020600001612657565b9050919050565b611ef660405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902082611f32565b50565b60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b611f596001600084815260200190815260200160002060020154611f54612395565b611ddc565b611fae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603081526020018061299b6030913960400191505060405180910390fd5b611fb88282612431565b5050565b60606000806000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e55ae4e8866040518263ffffffff1660e01b81526004018082815260200191505060006040518083038186803b15801561203657600080fd5b505afa15801561204a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250608081101561207457600080fd5b810190808051604051939291908464010000000082111561209457600080fd5b838201915060208201858111156120aa57600080fd5b82518660018202830111640100000000821117156120c757600080fd5b8083526020830192505050908051906020019080838360005b838110156120fb5780820151818401526020810190506120e0565b50505050905090810190601f1680156121285780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291908051906020019092919080519060200190929190505050809450819550829650839750505050509193509193565b6003818154811061217457fe5b906000526020600020016000915090505481565b612190612395565b73ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806129756026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6123c5816001600085815260200190815260200160002060000161266c90919063ffffffff16565b1561242d576123d2612395565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612459816001600085815260200190815260200160002060000161269c90919063ffffffff16565b156124c157612466612395565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006124d483600001836126cc565b60001c905092915050565b606080602267ffffffffffffffff811180156124fa57600080fd5b506040519080825280601f01601f19166020018201604052801561252d5781602001600182028036833780820191505090505b509050601260f81b8160008151811061254257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b8160018151811061258357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600290505b602281101561261d578360028203602081106125d157fe5b1a60f81b8282815181106125e157fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806001019150506125b9565b5080915050919050565b600061264f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61274f565b905092915050565b600061266582600001612772565b9050919050565b6000612694836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612783565b905092915050565b60006126c4836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6127f3565b905092915050565b60008183600001805490501161272d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806129246022913960400191505060405180910390fd5b82600001828154811061273c57fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b600061278f838361274f565b6127e85782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506127ed565b600090505b92915050565b600080836001016000848152602001908152602001600020549050600081146128cf576000600182039050600060018660000180549050039050600086600001828154811061283e57fe5b906000526020600020015490508087600001848154811061285b57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061289357fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506128d5565b60009150505b92915050565b6040518060c001604052806000815260200160008019168152602001600061ffff168152602001600061ffff168152602001600060ff168152602001600061ffff168152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122020bf9d7cc5f056b1d59b8f50b7965304b1a7422457d5a6efd13d33ac8fa8430464736f6c63430006060033

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

0000000000000000000000009844956f1d45996aa8d322f3483cc58abe34d449

-----Decoded View---------------
Arg [0] : sorareDataAddress (address): 0x9844956F1d45996aA8d322f3483Cc58abe34d449

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009844956f1d45996aa8d322f3483cc58abe34d449


Deployed Bytecode Sourcemap

23018:6548:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;23018:6548:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;25878:1617:0;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;25878:1617:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24920:315;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24920:315:0;;;;;;;;;;;;;;;;;:::i;:::-;;25324:200;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;25324:200:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14809:114;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;14809:114:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22908:103;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22908:103:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;15185:227;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;15185:227:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16394:209;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;16394:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28604:333;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;28604:333:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28604:333:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28604:333:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28604:333:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28969:158;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;28969:158:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;25632:214;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;25632:214:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22198:103;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22198:103:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;21151:148;;;:::i;:::-;;20509:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24425:37;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24425:37:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22805:95;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22805:95:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;14482:138;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;14482:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;27527:665;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;27527:665:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;27527:665:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13443:139;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;13443:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22095:95;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22095:95:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;12611:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22470:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13756:127;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;13756:127:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22309:99;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22309:99:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;21760:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15657:230;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;15657:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28224:348;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;28224:348:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28224:348:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24102:37;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24102:37:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21454:244;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21454:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;25878:1617;26148:7;21870:34;21798:24;;;;;;;;;;;;;;;;;;;21891:12;:10;:12::i;:::-;21870:7;:34::i;:::-;21862:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26191:10:::1;;;;;;;;;;;:23;;;26215:8;26191:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;26191:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;26191:33:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;26191:33:0;;;;;;;;;;;;;;;;26183:67;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26269:10;;;;;;;;;;;:21;;;26291:6;26269:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;26269:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;26269:29:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;26269:29:0;;;;;;;;;;;;;;;;26261:61;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26373:1;26357:12;:17;;;;:67;;;;;26394:20;26415:8;26394:30;;;;;;;;;;;;;;;;;;26378:12;:46;;;;26357:67;26335:138;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26586:5;26506:85;;:41;:49;26548:6;26506:49;;;;;;;;;;;;;;;:59;26556:8;26506:59;;;;;;;;;;;;;;;;;;;;;;;:85;;;26484:162;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26659:16;;:::i;:::-;26702:8;26686:4;:13;;:24;;;::::0;::::1;26735:6;26721:4;:11;;:20;;;;;;;;;::::0;::::1;26768:8;26752:4;:13;;:24;;;;;;;;;::::0;::::1;26807:12;26787:4;:17;;:32;;;;;;;;;::::0;::::1;26846:8;26830:4;:13;;:24;;;::::0;::::1;26879:6;26865:4;:11;;:20;;;;;;;;;::::0;::::1;26896:14;27002:8;27033:6;27070:8;27062:17;;27102:12;26963:170;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;26963:170:0;;;26935:213;;;;;;26913:246;;26896:263;;27206:1;27180:5;:13;27186:6;27180:13;;;;;;;;;;;:22;;;:27;27172:59;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;27260:4;27244:5;:13;27250:6;27244:13;;;;;;;;;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27350:6;27282:179;;27327:8;27306:6;27282:179;27371:8;27394:12;27421:8;27444:6;27282:179;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27481:6;27474:13;;;;25878:1617:::0;;;;;;;;:::o;24920:315::-;22580:34;22508:24;;;;;;;;;;;;;;;;;;;22601:12;:10;:12::i;:::-;22580:7;:34::i;:::-;22572:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24990:24:::1;25047:1;25017:20;:27;;;;:31;24990:58;;25131:1;25090:20;25111:16;25090:38;;;;;;;;;;;;;;;;:42;25081:5;:51;;25059:123;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;25195:20;25221:5;25195:32;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;25195:32:0;;;;;;;;;;;;;;;;;;;22652:1;24920:315:::0;:::o;25324:200::-;21870:34;21798:24;;;;;;;;;;;;;;;;;;;21891:12;:10;:12::i;:::-;21870:7;:34::i;:::-;21862:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25512:4:::1;25453:41;:49;25495:6;25453:49;;;;;;;;;;;;;;;:56;25503:5;25453:56;;;;;;;;;;;;;;:63;;;;;;;;;;;;;;;;;;25324:200:::0;;:::o;14809:114::-;14866:7;14893:6;:12;14900:4;14893:12;;;;;;;;;;;:22;;;14886:29;;14809:114;;;:::o;22908:103::-;22969:34;22508:24;;;;;;;;;;;;;;;;;;;22995:7;22969:12;:34::i;:::-;22908:103;:::o;15185:227::-;15269:45;15277:6;:12;15284:4;15277:12;;;;;;;;;;;:22;;;15301:12;:10;:12::i;:::-;15269:7;:45::i;:::-;15261:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15379:25;15390:4;15396:7;15379:10;:25::i;:::-;15185:227;;:::o;16394:209::-;16492:12;:10;:12::i;:::-;16481:23;;:7;:23;;;16473:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16569:26;16581:4;16587:7;16569:11;:26::i;:::-;16394:209;;:::o;28604:333::-;28718:18;28751:21;28787:18;28820;28903:10;;;;;;;;;;;:18;;;28922:6;28903:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;28903:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28903:26:0;;;;;;39:16:-1;36:1;17:17;2:54;28903:26:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;15:3;10;7:12;4:2;;;32:1;29;22:12;4:2;28903:26:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;330:9;325:1;311:12;307:20;289:16;285:43;282:58;261:11;247:12;244:29;233:115;230:2;;;361:1;358;351:12;230:2;384:12;379:3;372:25;420:4;415:3;411:14;404:21;;0:432;;28903:26:0;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28903:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;330:9;325:1;311:12;307:20;289:16;285:43;282:58;261:11;247:12;244:29;233:115;230:2;;;361:1;358;351:12;230:2;384:12;379:3;372:25;420:4;415:3;411:14;404:21;;0:432;;28903:26:0;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28903:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;330:9;325:1;311:12;307:20;289:16;285:43;282:58;261:11;247:12;244:29;233:115;230:2;;;361:1;358;351:12;230:2;384:12;379:3;372:25;420:4;415:3;411:14;404:21;;0:432;;28903:26:0;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28903:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28866:63;;;;;;;;;;;;;;;;28604:333;;;;;:::o;28969:158::-;29036:4;29053:17;29073:5;:13;29079:6;29073:13;;;;;;;;;;;29053:33;;29118:1;29104:4;:11;;;;;;;;;;;;:15;;;29097:22;;;28969:158;;;:::o;25632:214::-;25758:4;25782:41;:49;25824:6;25782:49;;;;;;;;;;;;;;;:56;25832:5;25782:56;;;;;;;;;;;;;;;;;;;;;;;25775:63;;25632:214;;;;:::o;22198:103::-;22259:34;21798:24;;;;;;;;;;;;;;;;;;;22285:7;22259:12;:34::i;:::-;22198:103;:::o;21151:148::-;20731:12;:10;:12::i;:::-;20721:22;;:6;;;;;;;;;;;:22;;;20713:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21258:1:::1;21221:40;;21242:6;::::0;::::1;;;;;;;;;21221:40;;;;;;;;;;;;21289:1;21272:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;21151:148::o:0;20509:79::-;20547:7;20574:6;;;;;;;;;;;20567:13;;20509:79;:::o;24425:37::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22805:95::-;22861:31;22508:24;;;;;;;;;;;;;;;;;;;22884:7;22861:9;:31::i;:::-;22805:95;:::o;14482:138::-;14555:7;14582:30;14606:5;14582:6;:12;14589:4;14582:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;14575:37;;14482:138;;;;:::o;27527:665::-;27677:16;27708:13;27736:16;27767:19;27801:21;27837:13;27878:14;27895:5;:13;27901:6;27895:13;;;;;;;;;;;27878:30;;27930:1;:10;;;27919:21;;27960:1;:8;;;;;;;;;;;;27951:17;;27990:1;:10;;;;;;;;;;;;27979:21;;;;28026:1;:14;;;;;;;;;;;;28011:29;;28124:32;28145:1;:10;;;28124:20;:32::i;:::-;28113:43;;28176:1;:8;;;;;;;;;;;;28167:17;;27527:665;;;;;;;;:::o;13443:139::-;13512:4;13536:38;13566:7;13536:6;:12;13543:4;13536:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;13529:45;;13443:139;;;;:::o;22095:95::-;22151:31;21798:24;;;;;;;;;;;;;;;;;;;22174:7;22151:9;:31::i;:::-;22095:95;:::o;12611:49::-;12656:4;12611:49;;;:::o;22470:62::-;22508:24;;;;;;;;;;;;;;;;;;;22470:62;:::o;13756:127::-;13819:7;13846:29;:6;:12;13853:4;13846:12;;;;;;;;;;;:20;;:27;:29::i;:::-;13839:36;;13756:127;;;:::o;22309:99::-;22368:32;21798:24;;;;;;;;;;;;;;;;;;;22392:7;22368:10;:32::i;:::-;22309:99;:::o;21760:62::-;21798:24;;;;;;;;;;;;;;;;;;;21760:62;:::o;15657:230::-;15742:45;15750:6;:12;15757:4;15750:12;;;;;;;;;;;:22;;;15774:12;:10;:12::i;:::-;15742:7;:45::i;:::-;15734:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15853:26;15865:4;15871:7;15853:11;:26::i;:::-;15657:230;;:::o;28224:348::-;28343:18;28376;28409;28442:16;28534:10;;;;;;;;;;;:20;;;28555:8;28534:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;28534:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28534:30:0;;;;;;39:16:-1;36:1;17:17;2:54;28534:30:0;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;15:3;10;7:12;4:2;;;32:1;29;22:12;4:2;28534:30:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;330:9;325:1;311:12;307:20;289:16;285:43;282:58;261:11;247:12;244:29;233:115;230:2;;;361:1;358;351:12;230:2;384:12;379:3;372:25;420:4;415:3;411:14;404:21;;0:432;;28534:30:0;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;28534:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28486:78;;;;;;;;;;;;;;;;28224:348;;;;;:::o;24102:37::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21454:244::-;20731:12;:10;:12::i;:::-;20721:22;;:6;;;;;;;;;;;:22;;;20713:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21563:1:::1;21543:22;;:8;:22;;;;21535:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21653:8;21624:38;;21645:6;::::0;::::1;;;;;;;;;21624:38;;;;;;;;;;;;21682:8;21673:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;21454:244:::0;:::o;241:106::-;294:15;329:10;322:17;;241:106;:::o;17514:188::-;17588:33;17613:7;17588:6;:12;17595:4;17588:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;17584:111;;;17670:12;:10;:12::i;:::-;17643:40;;17661:7;17643:40;;17655:4;17643:40;;;;;;;;;;17584:111;17514:188;;:::o;17710:192::-;17785:36;17813:7;17785:6;:12;17792:4;17785:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;17781:114;;;17870:12;:10;:12::i;:::-;17843:40;;17861:7;17843:40;;17855:4;17843:40;;;;;;;;;;17781:114;17710:192;;:::o;9441:149::-;9515:7;9558:22;9562:3;:10;;9574:5;9558:3;:22::i;:::-;9550:31;;9535:47;;9441:149;;;;:::o;29135:428::-;29233:12;29263:23;29299:2;29289:13;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;29289:13:0;;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;124:4;108:14;100:6;87:42;155:4;147:6;143:17;133:27;;0:164;29289:13:0;;;;29263:39;;29329:4;29313:20;;:10;29324:1;29313:13;;;;;;;;;;;:20;;;;;;;;;;;29360:4;29344:20;;:10;29355:1;29344:13;;;;;;;;;;;:20;;;;;;;;;;;29442:9;29454:1;29442:13;;29437:91;29461:2;29457:1;:6;29437:91;;;29501:8;29514:1;29510;:5;29501:15;;;;;;;;;;29485:10;29496:1;29485:13;;;;;;;;;;;:31;;;;;;;;;;;29465:3;;;;;;;29437:91;;;;29545:10;29538:17;;;29135:428;;;:::o;8736:158::-;8816:4;8840:46;8850:3;:10;;8878:5;8870:14;;8862:23;;8840:9;:46::i;:::-;8833:53;;8736:158;;;;:::o;8980:117::-;9043:7;9070:19;9078:3;:10;;9070:7;:19::i;:::-;9063:26;;8980:117;;;:::o;8182:143::-;8252:4;8276:41;8281:3;:10;;8309:5;8301:14;;8293:23;;8276:4;:41::i;:::-;8269:48;;8182:143;;;;:::o;8501:149::-;8574:4;8598:44;8606:3;:10;;8634:5;8626:14;;8618:23;;8598:7;:44::i;:::-;8591:51;;8501:149;;;;:::o;7724:204::-;7791:7;7840:5;7819:3;:11;;:18;;;;:26;7811:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7902:3;:11;;7914:5;7902:18;;;;;;;;;;;;;;;;7895:25;;7724:204;;;;:::o;7056:129::-;7129:4;7176:1;7153:3;:12;;:19;7166:5;7153:19;;;;;;;;;;;;:24;;7146:31;;7056:129;;;;:::o;7271:109::-;7327:7;7354:3;:11;;:18;;;;7347:25;;7271:109;;;:::o;4836:414::-;4899:4;4921:21;4931:3;4936:5;4921:9;:21::i;:::-;4916:327;;4959:3;:11;;4976:5;4959:23;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;4959:23:0;;;;;;;;;;;;;;;;;;;5142:3;:11;;:18;;;;5120:3;:12;;:19;5133:5;5120:19;;;;;;;;;;;:40;;;;5182:4;5175:11;;;;4916:327;5226:5;5219:12;;4836:414;;;;;:::o;5426:1544::-;5492:4;5610:18;5631:3;:12;;:19;5644:5;5631:19;;;;;;;;;;;;5610:40;;5681:1;5667:10;:15;5663:1300;;6029:21;6066:1;6053:10;:14;6029:38;;6082:17;6123:1;6102:3;:11;;:18;;;;:22;6082:42;;6369:17;6389:3;:11;;6401:9;6389:22;;;;;;;;;;;;;;;;6369:42;;6535:9;6506:3;:11;;6518:13;6506:26;;;;;;;;;;;;;;;:38;;;;6654:1;6638:13;:17;6612:3;:12;;:23;6625:9;6612:23;;;;;;;;;;;:43;;;;6764:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;6859:3;:12;;:19;6872:5;6859:19;;;;;;;;;;;6852:26;;;6902:4;6895:11;;;;;;;;5663:1300;6946:5;6939:12;;;5426:1544;;;;;:::o;23018:6548::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://20bf9d7cc5f056b1d59b8f50b7965304b1a7422457d5a6efd13d33ac8fa84304

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.