ETH Price: $3,430.29 (+3.93%)

Contract

0x7EEFee2d0B0e23b7Ce6B56a9cE9B62A599e6E9Da
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...209727772024-10-15 18:32:3538 days ago1729017155IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0015198116.76227284
Set Approval For...207558652024-09-15 11:57:5969 days ago1726401479IN
ArcadeGlyphs: ARCADE Token
0 ETH0.000097892.1
Safe Transfer Fr...201443922024-06-22 2:53:23154 days ago1719024803IN
ArcadeGlyphs: ARCADE Token
0 ETH0.000198332.25849663
Insert Note192225302024-02-14 0:05:23283 days ago1707869123IN
ArcadeGlyphs: ARCADE Token
0.0988 ETH0.0308142431.20631952
Insert Note192124772024-02-12 14:15:59285 days ago1707747359IN
ArcadeGlyphs: ARCADE Token
0.0988 ETH0.050298450.9383971
Insert Coin192012042024-02-11 0:16:35286 days ago1707610595IN
ArcadeGlyphs: ARCADE Token
0.01976 ETH0.0057151822.9744365
Set Approval For...191171312024-01-30 5:07:35298 days ago1706591255IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0005269711.30385316
Insert Coin191119662024-01-29 11:43:59299 days ago1706528639IN
ArcadeGlyphs: ARCADE Token
0.01976 ETH0.0037035714.88798468
Insert Coin191069302024-01-28 18:50:23299 days ago1706467823IN
ArcadeGlyphs: ARCADE Token
0.01976 ETH0.0027221410.9427173
Set Approval For...189065642023-12-31 16:11:35328 days ago1704039095IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0007326815.68826917
Set Approval For...185835282023-11-16 9:23:35373 days ago1700126615IN
ArcadeGlyphs: ARCADE Token
0 ETH0.001145224.56514377
Set Approval For...181438462023-09-15 20:02:11434 days ago1694808131IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0007383315.82947866
Transfer From181429542023-09-15 16:59:47435 days ago1694797187IN
ArcadeGlyphs: ARCADE Token
0 ETH0.001364715.54649293
Transfer From181429512023-09-15 16:59:11435 days ago1694797151IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0013615615.51080983
Set Approval For...179672772023-08-22 2:29:11459 days ago1692671351IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0007727616.5761998
Safe Transfer Fr...179074272023-08-13 17:27:59468 days ago1691947679IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0014784616.64803468
Insert Coin179063672023-08-13 13:54:59468 days ago1691934899IN
ArcadeGlyphs: ARCADE Token
0.01976 ETH0.0037605915.1171974
Insert Coin178977382023-08-12 8:57:11469 days ago1691830631IN
ArcadeGlyphs: ARCADE Token
0.01976 ETH0.0030644912.31894164
Insert Coin178583472023-08-06 20:38:23474 days ago1691354303IN
ArcadeGlyphs: ARCADE Token
0.01976 ETH0.0034554313.89048986
Insert Coin178271362023-08-02 11:52:59479 days ago1690977179IN
ArcadeGlyphs: ARCADE Token
0.01976 ETH0.0050502420.30144574
Set Approval For...177607492023-07-24 5:02:11488 days ago1690174931IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0003604714.58997108
Safe Transfer Fr...174141972023-06-05 12:03:11537 days ago1685966591IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0024963425.40242517
Set Approval For...173777272023-05-31 8:39:59542 days ago1685522399IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0014724831.52865473
Transfer From173495172023-05-27 9:31:11546 days ago1685179871IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0019846223.3534424
Set Approval For...171033582023-04-22 17:25:47581 days ago1682184347IN
ArcadeGlyphs: ARCADE Token
0 ETH0.0025366254.41188801
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
192225302024-02-14 0:05:23283 days ago1707869123
ArcadeGlyphs: ARCADE Token
0.0988 ETH
192124772024-02-12 14:15:59285 days ago1707747359
ArcadeGlyphs: ARCADE Token
0.0988 ETH
192012042024-02-11 0:16:35286 days ago1707610595
ArcadeGlyphs: ARCADE Token
0.01976 ETH
191119662024-01-29 11:43:59299 days ago1706528639
ArcadeGlyphs: ARCADE Token
0.01976 ETH
191069302024-01-28 18:50:23299 days ago1706467823
ArcadeGlyphs: ARCADE Token
0.01976 ETH
179063672023-08-13 13:54:59468 days ago1691934899
ArcadeGlyphs: ARCADE Token
0.01976 ETH
178977382023-08-12 8:57:11469 days ago1691830631
ArcadeGlyphs: ARCADE Token
0.01976 ETH
178583472023-08-06 20:38:23474 days ago1691354303
ArcadeGlyphs: ARCADE Token
0.01976 ETH
178271362023-08-02 11:52:59479 days ago1690977179
ArcadeGlyphs: ARCADE Token
0.01976 ETH
166192862023-02-13 10:37:35649 days ago1676284655
ArcadeGlyphs: ARCADE Token
0.01976 ETH
166192832023-02-13 10:36:59649 days ago1676284619
ArcadeGlyphs: ARCADE Token
0.01976 ETH
160346752022-11-23 19:07:11730 days ago1669230431
ArcadeGlyphs: ARCADE Token
0.0988 ETH
145741502022-04-13 1:05:01955 days ago1649811901
ArcadeGlyphs: ARCADE Token
0.01976 ETH
145478932022-04-08 22:50:49959 days ago1649458249
ArcadeGlyphs: ARCADE Token
0.0988 ETH
145478852022-04-08 22:49:10959 days ago1649458150
ArcadeGlyphs: ARCADE Token
0.0988 ETH
142704132022-02-24 18:26:261002 days ago1645727186
ArcadeGlyphs: ARCADE Token
0.01976 ETH
142563772022-02-22 14:21:461005 days ago1645539706
ArcadeGlyphs: ARCADE Token
0.01976 ETH
142316492022-02-18 18:17:431008 days ago1645208263
ArcadeGlyphs: ARCADE Token
0.01976 ETH
141581212022-02-07 9:26:531020 days ago1644226013
ArcadeGlyphs: ARCADE Token
0.01976 ETH
141579032022-02-07 8:32:071020 days ago1644222727
ArcadeGlyphs: ARCADE Token
0.01976 ETH
140835472022-01-26 20:59:111031 days ago1643230751
ArcadeGlyphs: ARCADE Token
0.0988 ETH
140299242022-01-18 14:00:511040 days ago1642514451
ArcadeGlyphs: ARCADE Token
0.01976 ETH
139589592022-01-07 14:48:561051 days ago1641566936
ArcadeGlyphs: ARCADE Token
0.01976 ETH
138504302021-12-21 19:29:461067 days ago1640114986
ArcadeGlyphs: ARCADE Token
0.0988 ETH
138478672021-12-21 9:58:171068 days ago1640080697
ArcadeGlyphs: ARCADE Token
0.0988 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArcadeGlyphs

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : ArcadeGlyphs.sol
// SPDX-License-Identifier: CC-BY-4.0

pragma solidity >= 0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./IArcadeBackend.sol";
import "./IPrizeAssets.sol";
import "./BiCounter.sol";

contract ArcadeGlyphs is ERC721Enumerable, Ownable, ReentrancyGuard {
    using BiCounters for BiCounters.BiCounter;
    BiCounters.BiCounter private prizeIds;


    struct Game {
        bool initialized;
        uint maxSupply;
        uint startTokenId;
        uint startingPrice;
        uint bulkMintingAmount;
        IArcadeBackend backend;
        BiCounters.BiCounter counter;
    }

    struct Prize {
        uint minScore;
        uint maxScore;
        uint ranking;
        bool created;
        uint winningToken;
        uint tokenId;
        address winningWallet;
        IPrizeAssets prizeAssets;
    }

    address payable public artistWallet;
    
    mapping(uint => uint) pointsToPrizeTokenId;

    mapping(string => Game) gameNameToGame;

    mapping(uint => Prize) tokenIdToPrize;
    mapping(uint => bool) tokenIdToVictory;

    mapping(uint => Game) indexToGame;
    uint gameCount; 

    modifier onlyTokenOwner(uint tokenId) {
        require(ownerOf(tokenId) == msg.sender, "You are not the owner");

        _;
    }

    constructor () ERC721 ("ArcadeGlyphs", "ARCADE") {
        prizeIds.reset((1 << 256) - 1);
        artistWallet = payable(msg.sender);
    }

    function setArtistWallet(address payable wallet) public onlyOwner {
        artistWallet = wallet;
    }

    function setPrizes(string memory name, uint ranks, uint[5] memory minScores, uint[5] memory maxScores, address prizeAssets) public onlyOwner {
        for(uint i = 0; i < ranks; i++) {
            addPrize(name, i, minScores[i], maxScores[i], prizeAssets);
        }
    }

    function addPrize(string memory name, uint rank, uint minScore, uint maxScore, address prizeAssets) public onlyOwner {
        require(gameNameToGame[name].initialized, "Not existing game");

        prizeIds.decrement();
        uint prizeTokenId = prizeIds.current();
        tokenIdToPrize[prizeTokenId] = Prize(minScore, maxScore, rank, true, 0, prizeTokenId, address(0), IPrizeAssets(prizeAssets));
        _mint(address(this), prizeTokenId);
    }

    function setGame(string memory name, uint supply, uint startingPrice, uint bulkMintingAmount, address backendAddress) public onlyOwner {
        uint startTokenId = 1;
        if(gameCount != 0) {
            startTokenId = indexToGame[gameCount - 1].startTokenId + indexToGame[gameCount - 1].maxSupply;
        }

        gameNameToGame[name] = Game(true, supply, startTokenId, startingPrice, bulkMintingAmount, IArcadeBackend(backendAddress), BiCounters.BiCounter(startTokenId));
        indexToGame[gameCount] = gameNameToGame[name];
        gameCount++;
    }

    function backendFromTokenId(uint tokenId) internal view returns (IArcadeBackend _backend) {
        for (uint i = 0; i < gameCount; i++) {
            if(indexToGame[i].startTokenId + indexToGame[i].maxSupply > tokenId) {
                return indexToGame[i].backend;
            }
        }
    }

    function validateRequest(Game storage game, uint amount) internal view {
        require(game.initialized, "Game does not exist");
        require(game.startingPrice * amount <= msg.value, "Too few ETH.");
        require(game.counter.current() + amount <= game.startTokenId + game.maxSupply, "No more mintable tokens");
    }

    // -- Public interface
    function alreadyMinted(string memory name) external view returns (uint _count) {
        Game storage game = gameNameToGame[name];
        return game.counter.current() - game.startTokenId;
    }

    function supplyForGame(string memory name) external view returns (uint _supply) {
        Game memory game = gameNameToGame[name];
        return game.maxSupply;
    }

    function currentPrice(string memory name) external view returns (uint _price) {
        return gameNameToGame[name].startingPrice;
    }

    function currentBulkPrice(string memory name) external view returns (uint _price) {
        return gameNameToGame[name].startingPrice * gameNameToGame[name].bulkMintingAmount;
    }

    // Prize logic

    function claimPrize(uint tokenId, uint prizeId) external onlyTokenOwner(tokenId) {
        checkEligibility(tokenId, prizeId);

        Prize storage prize = tokenIdToPrize[prizeId];
        _safeTransfer(address(this), msg.sender, prize.tokenId, "");
        prize.winningToken = tokenId;
        prize.winningWallet = msg.sender;
        tokenIdToVictory[tokenId] = true;
    }

    function checkEligibility(uint tokenId, uint prizeId) public view onlyTokenOwner(tokenId) {
        Prize memory prize = tokenIdToPrize[prizeId];
        require(prize.winningWallet == address(0), "Prize already won");
        require(!tokenIdToVictory[tokenId], "Token already used");
        backendFromTokenId(tokenId).verifyPoints(prize.minScore, prize.maxScore, tokenId);
    }

    function getPrizeIdData(uint prizeId) external view returns (uint ranking, address winner, uint winningToken) {
        Prize memory prize = tokenIdToPrize[prizeId];
        if(prize.created) {
            return (prize.ranking, prize.winningWallet, prize.winningToken);
        }
    }

    // Minting

    function mintGlyphs(Game storage game, uint amount) internal {
        validateRequest(game, amount);
        bool success = false;
        (success, ) = artistWallet.call{value:msg.value}("");
        require(success, "Artist failed to receive");

        for(uint i = 0; i < amount; i++) {
            uint tokenId = game.counter.current();
            game.counter.increment();
            
            game.backend.insertCoin(tokenId, block.number - i);
            
            _mint(msg.sender, tokenId);
        }
        
    }

    function insertNote(string memory name) external payable nonReentrant {
        Game storage game = gameNameToGame[name];
        uint amount = game.bulkMintingAmount;
        
        mintGlyphs(game, amount);
    }

    function insertCoin(string memory name) external payable nonReentrant {
        Game storage game = gameNameToGame[name];
           
        mintGlyphs(game, 1);
    }

    // Interaction

    function restart(uint tokenId) external onlyTokenOwner(tokenId) {
        backendFromTokenId(tokenId).restart(tokenId);
    }

    function interact(uint tokenId, uint[6] memory intActions, string[6] memory stringActions) external onlyTokenOwner(tokenId) {
        backendFromTokenId(tokenId).interact(tokenId, intActions, stringActions);
    }

    // -- ERC721
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        Prize memory prize = tokenIdToPrize[tokenId];
        if(prize.created) {
            return prize.prizeAssets.getPrize(prize.ranking, prize.winningWallet, prize.winningToken);
        }

        return backendFromTokenId(tokenId).tokenURI(tokenId);
    }
}

File 2 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 3 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract 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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 17 : IArcadeBackend.sol
// SPDX-License-Identifier: CC-BY-4.0

pragma solidity >= 0.8.0;

abstract contract IArcadeBackend {
    function tokenURI(uint tokenId) virtual external view returns (string memory);
    function verifyPoints(uint minPoints, uint maxPoints, uint tokenId) virtual external view;
    function insertCoin(uint tokenId, uint variant) virtual external;
    
    function interact(uint tokenId, uint[6] memory intActions, string[6] memory stringActions) external {
    }

    function restart(uint tokenId) external {
    }
}

File 6 of 17 : IPrizeAssets.sol
// SPDX-License-Identifier: CC-BY-4.0
pragma solidity ^0.8.0;

interface IPrizeAssets {
    function getPrize(uint ranking, address wallet, uint tokenId) external pure returns (string memory _json);
}

File 7 of 17 : BiCounter.sol
// SPDX-License-Identifier: CC-BY-4.0
pragma solidity ^0.8.0;

library BiCounters {
    struct BiCounter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(BiCounter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(BiCounter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(BiCounter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(BiCounter storage counter, uint value) internal {
        counter._value = value;
    }
}

File 8 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 9 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 10 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 11 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 13 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 15 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 16 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"rank","type":"uint256"},{"internalType":"uint256","name":"minScore","type":"uint256"},{"internalType":"uint256","name":"maxScore","type":"uint256"},{"internalType":"address","name":"prizeAssets","type":"address"}],"name":"addPrize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"alreadyMinted","outputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artistWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"prizeId","type":"uint256"}],"name":"checkEligibility","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"prizeId","type":"uint256"}],"name":"claimPrize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"currentBulkPrice","outputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"prizeId","type":"uint256"}],"name":"getPrizeIdData","outputs":[{"internalType":"uint256","name":"ranking","type":"uint256"},{"internalType":"address","name":"winner","type":"address"},{"internalType":"uint256","name":"winningToken","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"insertCoin","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"insertNote","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256[6]","name":"intActions","type":"uint256[6]"},{"internalType":"string[6]","name":"stringActions","type":"string[6]"}],"name":"interact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"restart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setArtistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"startingPrice","type":"uint256"},{"internalType":"uint256","name":"bulkMintingAmount","type":"uint256"},{"internalType":"address","name":"backendAddress","type":"address"}],"name":"setGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"ranks","type":"uint256"},{"internalType":"uint256[5]","name":"minScores","type":"uint256[5]"},{"internalType":"uint256[5]","name":"maxScores","type":"uint256[5]"},{"internalType":"address","name":"prizeAssets","type":"address"}],"name":"setPrizes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"supplyForGame","outputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600c81526020017f417263616465476c7970687300000000000000000000000000000000000000008152506040518060400160405280600681526020017f415243414445000000000000000000000000000000000000000000000000000081525081600090805190602001906200009692919062000237565b508060019080519060200190620000af92919062000237565b505050620000d2620000c66200015c60201b60201c565b6200016460201b60201c565b6001600b81905550620001157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600c6200022a60201b6200272a1790919060201c565b33600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200034c565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8082600001819055505050565b8280546200024590620002e7565b90600052602060002090601f016020900481019282620002695760008555620002b5565b82601f106200028457805160ff1916838001178555620002b5565b82800160010185558215620002b5579182015b82811115620002b457825182559160200191906001019062000297565b5b509050620002c49190620002c8565b5090565b5b80821115620002e3576000816000905550600101620002c9565b5090565b600060028204905060018216806200030057607f821691505b602082108114156200031757620003166200031d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6159f9806200035c6000396000f3fe6080604052600436106102045760003560e01c806370a0823111610118578063a22cb465116100a0578063c917724d1161006f578063c917724d146107a7578063e7639d01146107d0578063e985e9c5146107f9578063f2fde38b14610836578063fce57fd91461085f57610204565b8063a22cb465146106ed578063a3342fba14610716578063b88d4fde14610741578063c87b56dd1461076a57610204565b80637b154140116100e75780637b154140146105f457806383fa1bcc1461061d5780638da5cb5b1461065a57806393ef7bba1461068557806395d89b41146106c257610204565b806370a0823114610538578063715018a61461057557806371dc14f91461058c5780637ac488c4146105b557610204565b80632f745c591161019b57806342842e0e1161016a57806342842e0e1461045057806349ac70d2146104795780634f6ccce7146104955780635ef016d5146104d25780636352211e146104fb57610204565b80632f745c59146103705780633208f0ff146103ad5780633c7d030e146103ea57806341bb33521461041357610204565b8063095ea7b3116101d7578063095ea7b3146102ca5780631801f38e146102f357806318160ddd1461031c57806323b872dd1461034757610204565b806301ffc9a71461020957806304ed21141461024657806306fdde0314610262578063081812fc1461028d575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190613f33565b610888565b60405161023d91906148f0565b60405180910390f35b610260600480360381019061025b9190613f8d565b610902565b005b34801561026e57600080fd5b50610277610989565b604051610284919061490b565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af919061414f565b610a1b565b6040516102c1919061486e565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613ef3565b610aa0565b005b3480156102ff57600080fd5b5061031a6004803603810190610315919061414f565b610bb8565b005b34801561032857600080fd5b50610331610ca6565b60405161033e9190614cad565b60405180910390f35b34801561035357600080fd5b5061036e60048036038101906103699190613ddd565b610cb3565b005b34801561037c57600080fd5b5061039760048036038101906103929190613ef3565b610d13565b6040516103a49190614cad565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf9190613f8d565b610db8565b6040516103e19190614cad565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c919061401f565b610de3565b005b34801561041f57600080fd5b5061043a60048036038101906104359190613f8d565b610ec0565b6040516104479190614cad565b60405180910390f35b34801561045c57600080fd5b5061047760048036038101906104729190613ddd565b610f06565b005b610493600480360381019061048e9190613f8d565b610f26565b005b3480156104a157600080fd5b506104bc60048036038101906104b7919061414f565b610fb6565b6040516104c99190614cad565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f491906141ec565b611027565b005b34801561050757600080fd5b50610522600480360381019061051d919061414f565b611311565b60405161052f919061486e565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190613d43565b6113c3565b60405161056c9190614cad565b60405180910390f35b34801561058157600080fd5b5061058a61147b565b005b34801561059857600080fd5b506105b360048036038101906105ae919061417c565b611503565b005b3480156105c157600080fd5b506105dc60048036038101906105d7919061414f565b6115f7565b6040516105eb93929190614cc8565b60405180910390f35b34801561060057600080fd5b5061061b600480360381019061061691906141ec565b611745565b005b34801561062957600080fd5b50610644600480360381019061063f9190613f8d565b61187a565b6040516106519190614cad565b60405180910390f35b34801561066657600080fd5b5061066f6118d1565b60405161067c919061486e565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190613f8d565b6118fb565b6040516106b99190614cad565b60405180910390f35b3480156106ce57600080fd5b506106d76119ed565b6040516106e4919061490b565b60405180910390f35b3480156106f957600080fd5b50610714600480360381019061070f9190613eb3565b611a7f565b005b34801561072257600080fd5b5061072b611c00565b6040516107389190614889565b60405180910390f35b34801561074d57600080fd5b5061076860048036038101906107639190613e30565b611c26565b005b34801561077657600080fd5b50610791600480360381019061078c919061414f565b611c88565b60405161079e919061490b565b60405180910390f35b3480156107b357600080fd5b506107ce60048036038101906107c991906140b8565b611f41565b005b3480156107dc57600080fd5b506107f760048036038101906107f291906140b8565b612269565b005b34801561080557600080fd5b50610820600480360381019061081b9190613d9d565b6124de565b60405161082d91906148f0565b60405180910390f35b34801561084257600080fd5b5061085d60048036038101906108589190613d43565b612572565b005b34801561086b57600080fd5b5061088660048036038101906108819190613d70565b61266a565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108fb57506108fa82612737565b5b9050919050565b6002600b541415610948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093f90614c8d565b60405180910390fd5b6002600b819055506000600f826040516109629190614842565b9081526020016040518091039020905061097d816001612819565b506001600b8190555050565b606060008054610998906150fc565b80601f01602080910402602001604051908101604052809291908181526020018280546109c4906150fc565b8015610a115780601f106109e657610100808354040283529160200191610a11565b820191906000526020600020905b8154815290600101906020018083116109f457829003601f168201915b5050505050905090565b6000610a26826129da565b610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90614b6d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aab82611311565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1390614c0d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b3b612a46565b73ffffffffffffffffffffffffffffffffffffffff161480610b6a5750610b6981610b64612a46565b6124de565b5b610ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba090614a8d565b60405180910390fd5b610bb38383612a4e565b505050565b803373ffffffffffffffffffffffffffffffffffffffff16610bd982611311565b73ffffffffffffffffffffffffffffffffffffffff1614610c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2690614a4d565b60405180910390fd5b610c3882612b07565b73ffffffffffffffffffffffffffffffffffffffff16631801f38e836040518263ffffffff1660e01b8152600401610c709190614cad565b600060405180830381600087803b158015610c8a57600080fd5b505af1158015610c9e573d6000803e3d6000fd5b505050505050565b6000600880549050905090565b610cc4610cbe612a46565b82612bb1565b610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa90614c4d565b60405180910390fd5b610d0e838383612c8f565b505050565b6000610d1e836113c3565b8210610d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d569061492d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600f82604051610dca9190614842565b9081526020016040518091039020600301549050919050565b610deb612a46565b73ffffffffffffffffffffffffffffffffffffffff16610e096118d1565b73ffffffffffffffffffffffffffffffffffffffff1614610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5690614bad565b60405180910390fd5b60005b84811015610eb857610ea58682868460058110610e8257610e81615235565b5b6020020151868560058110610e9a57610e99615235565b5b602002015186612269565b8080610eb09061515f565b915050610e62565b505050505050565b600080600f83604051610ed39190614842565b908152602001604051809103902090508060020154610ef482600601612eeb565b610efe9190615000565b915050919050565b610f2183838360405180602001604052806000815250611c26565b505050565b6002600b541415610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390614c8d565b60405180910390fd5b6002600b819055506000600f82604051610f869190614842565b90815260200160405180910390209050600081600401549050610fa98282612819565b50506001600b8190555050565b6000610fc0610ca6565b8210611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff890614c6d565b60405180910390fd5b6008828154811061101557611014615235565b5b90600052602060002001549050919050565b813373ffffffffffffffffffffffffffffffffffffffff1661104882611311565b73ffffffffffffffffffffffffffffffffffffffff161461109e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109590614a4d565b60405180910390fd5b600060106000848152602001908152602001600020604051806101000160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff168160c0015173ffffffffffffffffffffffffffffffffffffffff161461122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490614b2d565b60405180910390fd5b6011600085815260200190815260200160002060009054906101000a900460ff161561128e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128590614b8d565b60405180910390fd5b61129784612b07565b73ffffffffffffffffffffffffffffffffffffffff16631811df5f82600001518360200151876040518463ffffffff1660e01b81526004016112db93929190614d67565b60006040518083038186803b1580156112f357600080fd5b505afa158015611307573d6000803e3d6000fd5b5050505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b190614acd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90614aad565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611483612a46565b73ffffffffffffffffffffffffffffffffffffffff166114a16118d1565b73ffffffffffffffffffffffffffffffffffffffff16146114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee90614bad565b60405180910390fd5b6115016000612ef9565b565b823373ffffffffffffffffffffffffffffffffffffffff1661152482611311565b73ffffffffffffffffffffffffffffffffffffffff161461157a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157190614a4d565b60405180910390fd5b61158384612b07565b73ffffffffffffffffffffffffffffffffffffffff166371dc14f98585856040518463ffffffff1660e01b81526004016115bf93929190614cff565b600060405180830381600087803b1580156115d957600080fd5b505af11580156115ed573d6000803e3d6000fd5b5050505050505050565b60008060008060106000868152602001908152602001600020604051806101000160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080606001511561173c5780604001518160c0015182608001519350935093505061173e565b505b9193909250565b813373ffffffffffffffffffffffffffffffffffffffff1661176682611311565b73ffffffffffffffffffffffffffffffffffffffff16146117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390614a4d565b60405180910390fd5b6117c68383611027565b60006010600084815260200190815260200160002090506117fc3033836005015460405180602001604052806000815250612fbf565b838160040181905550338160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016011600086815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b6000600f8260405161188c9190614842565b908152602001604051809103902060040154600f836040516118ae9190614842565b9081526020016040518091039020600301546118ca9190614fa6565b9050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600f8360405161190e9190614842565b90815260200160405180910390206040518060e00160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600682016040518060200160405290816000820154815250508152505090508060200151915050919050565b6060600180546119fc906150fc565b80601f0160208091040260200160405190810160405280929190818152602001828054611a28906150fc565b8015611a755780601f10611a4a57610100808354040283529160200191611a75565b820191906000526020600020905b815481529060010190602001808311611a5857829003601f168201915b5050505050905090565b611a87612a46565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aec90614a0d565b60405180910390fd5b8060056000611b02612a46565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611baf612a46565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bf491906148f0565b60405180910390a35050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611c37611c31612a46565b83612bb1565b611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d90614c4d565b60405180910390fd5b611c8284848484612fbf565b50505050565b6060611c93826129da565b611cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc990614bed565b60405180910390fd5b600060106000848152602001908152602001600020604051806101000160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050806060015115611ea2578060e0015173ffffffffffffffffffffffffffffffffffffffff166371cdd20482604001518360c0015184608001516040518463ffffffff1660e01b8152600401611e4593929190614cc8565b60006040518083038186803b158015611e5d57600080fd5b505afa158015611e71573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611e9a9190613fd6565b915050611f3c565b611eab83612b07565b73ffffffffffffffffffffffffffffffffffffffff1663c87b56dd846040518263ffffffff1660e01b8152600401611ee39190614cad565b60006040518083038186803b158015611efb57600080fd5b505afa158015611f0f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f389190613fd6565b9150505b919050565b611f49612a46565b73ffffffffffffffffffffffffffffffffffffffff16611f676118d1565b73ffffffffffffffffffffffffffffffffffffffff1614611fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb490614bad565b60405180910390fd5b60006001905060006013541461202457601260006001601354611fe09190615000565b8152602001908152602001600020600101546012600060016013546120059190615000565b8152602001908152602001600020600201546120219190614f50565b90505b6040518060e001604052806001151581526020018681526020018281526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001604051806020016040528084815250815250600f8760405161208e9190614842565b908152602001604051809103902060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c082015181600601600082015181600001555050905050600f866040516121539190614842565b90815260200160405180910390206012600060135481526020019081526020016000206000820160009054906101000a900460ff168160000160006101000a81548160ff021916908315150217905550600182015481600101556002820154816002015560038201548160030155600482015481600401556005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060068201816006016000820154816000015550509050506013600081548092919061225c9061515f565b9190505550505050505050565b612271612a46565b73ffffffffffffffffffffffffffffffffffffffff1661228f6118d1565b73ffffffffffffffffffffffffffffffffffffffff16146122e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dc90614bad565b60405180910390fd5b600f856040516122f59190614842565b908152602001604051809103902060000160009054906101000a900460ff16612353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234a906149cd565b60405180910390fd5b61235d600c61301b565b6000612369600c612eeb565b905060405180610100016040528085815260200184815260200186815260200160011515815260200160008152602001828152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff168152506010600083815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055506080820151816004015560a0820151816005015560c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e08201518160070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050506124d63082613077565b505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61257a612a46565b73ffffffffffffffffffffffffffffffffffffffff166125986118d1565b73ffffffffffffffffffffffffffffffffffffffff16146125ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e590614bad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561265e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126559061498d565b60405180910390fd5b61266781612ef9565b50565b612672612a46565b73ffffffffffffffffffffffffffffffffffffffff166126906118d1565b73ffffffffffffffffffffffffffffffffffffffff16146126e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dd90614bad565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8082600001819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061280257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612812575061281182613245565b5b9050919050565b61282382826132af565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163460405161286b90614859565b60006040518083038185875af1925050503d80600081146128a8576040519150601f19603f3d011682016040523d82523d6000602084013e6128ad565b606091505b505080915050806128f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ea90614b0d565b60405180910390fd5b60005b828110156129d457600061290c85600601612eeb565b905061291a856006016133c2565b8460050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d9e6fd7a8284436129679190615000565b6040518363ffffffff1660e01b8152600401612984929190614d3e565b600060405180830381600087803b15801561299e57600080fd5b505af11580156129b2573d6000803e3d6000fd5b505050506129c03382613077565b5080806129cc9061515f565b9150506128f6565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ac183611311565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600090505b601354811015612baa578260126000838152602001908152602001600020600101546012600084815260200190815260200160002060020154612b529190614f50565b1115612b97576012600082815260200190815260200160002060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915050612bac565b8080612ba29061515f565b915050612b0f565b505b919050565b6000612bbc826129da565b612bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf290614a6d565b60405180910390fd5b6000612c0683611311565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c7557508373ffffffffffffffffffffffffffffffffffffffff16612c5d84610a1b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c865750612c8581856124de565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612caf82611311565b73ffffffffffffffffffffffffffffffffffffffff1614612d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfc90614bcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6c906149ed565b60405180910390fd5b612d808383836133d8565b612d8b600082612a4e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ddb9190615000565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e329190614f50565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612fca848484612c8f565b612fd6848484846134ec565b613015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300c9061496d565b60405180910390fd5b50505050565b60008160000154905060008111613067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305e9061494d565b60405180910390fd5b6001810382600001819055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130de90614b4d565b60405180910390fd5b6130f0816129da565b15613130576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613127906149ad565b60405180910390fd5b61313c600083836133d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461318c9190614f50565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8160000160009054906101000a900460ff16613300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f790614c2d565b60405180910390fd5b348183600301546133119190614fa6565b1115613352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334990614aed565b60405180910390fd5b816001015482600201546133669190614f50565b8161337384600601612eeb565b61337d9190614f50565b11156133be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b590614a2d565b60405180910390fd5b5050565b6001816000016000828254019250508190555050565b6133e3838383613683565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134265761342181613688565b613465565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134645761346383826136d1565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134a8576134a38161383e565b6134e7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134e6576134e5828261390f565b5b5b505050565b600061350d8473ffffffffffffffffffffffffffffffffffffffff1661398e565b15613676578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613536612a46565b8786866040518563ffffffff1660e01b815260040161355894939291906148a4565b602060405180830381600087803b15801561357257600080fd5b505af19250505080156135a357506040513d601f19601f820116820180604052508101906135a09190613f60565b60015b613626573d80600081146135d3576040519150601f19603f3d011682016040523d82523d6000602084013e6135d8565b606091505b5060008151141561361e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136159061496d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061367b565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016136de846113c3565b6136e89190615000565b90506000600760008481526020019081526020016000205490508181146137cd576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506138529190615000565b905060006009600084815260200190815260200160002054905060006008838154811061388257613881615235565b5b9060005260206000200154905080600883815481106138a4576138a3615235565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806138f3576138f2615206565b5b6001900381819060005260206000200160009055905550505050565b600061391a836113c3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60006139b46139af84614dc3565b614d9e565b905080828560208602820111156139ce576139cd615298565b5b60005b85811015613a1c57813567ffffffffffffffff8111156139f4576139f3615293565b5b808601613a018982613cd2565b855260208501945060208401935050506001810190506139d1565b5050509392505050565b6000613a39613a3484614de9565b614d9e565b90508082856020860282011115613a5357613a52615298565b5b60005b85811015613a835781613a698882613d2e565b845260208401935060208301925050600181019050613a56565b5050509392505050565b6000613aa0613a9b84614e0f565b614d9e565b90508082856020860282011115613aba57613ab9615298565b5b60005b85811015613aea5781613ad08882613d2e565b845260208401935060208301925050600181019050613abd565b5050509392505050565b6000613b07613b0284614e35565b614d9e565b905082815260208101848484011115613b2357613b2261529d565b5b613b2e8482856150ba565b509392505050565b6000613b49613b4484614e66565b614d9e565b905082815260208101848484011115613b6557613b6461529d565b5b613b708482856150ba565b509392505050565b6000613b8b613b8684614e66565b614d9e565b905082815260208101848484011115613ba757613ba661529d565b5b613bb28482856150c9565b509392505050565b600081359050613bc981615950565b92915050565b600081359050613bde81615967565b92915050565b600082601f830112613bf957613bf8615293565b5b6006613c068482856139a1565b91505092915050565b600082601f830112613c2457613c23615293565b5b6005613c31848285613a26565b91505092915050565b600082601f830112613c4f57613c4e615293565b5b6006613c5c848285613a8d565b91505092915050565b600081359050613c748161597e565b92915050565b600081359050613c8981615995565b92915050565b600081519050613c9e81615995565b92915050565b600082601f830112613cb957613cb8615293565b5b8135613cc9848260208601613af4565b91505092915050565b600082601f830112613ce757613ce6615293565b5b8135613cf7848260208601613b36565b91505092915050565b600082601f830112613d1557613d14615293565b5b8151613d25848260208601613b78565b91505092915050565b600081359050613d3d816159ac565b92915050565b600060208284031215613d5957613d586152a7565b5b6000613d6784828501613bba565b91505092915050565b600060208284031215613d8657613d856152a7565b5b6000613d9484828501613bcf565b91505092915050565b60008060408385031215613db457613db36152a7565b5b6000613dc285828601613bba565b9250506020613dd385828601613bba565b9150509250929050565b600080600060608486031215613df657613df56152a7565b5b6000613e0486828701613bba565b9350506020613e1586828701613bba565b9250506040613e2686828701613d2e565b9150509250925092565b60008060008060808587031215613e4a57613e496152a7565b5b6000613e5887828801613bba565b9450506020613e6987828801613bba565b9350506040613e7a87828801613d2e565b925050606085013567ffffffffffffffff811115613e9b57613e9a6152a2565b5b613ea787828801613ca4565b91505092959194509250565b60008060408385031215613eca57613ec96152a7565b5b6000613ed885828601613bba565b9250506020613ee985828601613c65565b9150509250929050565b60008060408385031215613f0a57613f096152a7565b5b6000613f1885828601613bba565b9250506020613f2985828601613d2e565b9150509250929050565b600060208284031215613f4957613f486152a7565b5b6000613f5784828501613c7a565b91505092915050565b600060208284031215613f7657613f756152a7565b5b6000613f8484828501613c8f565b91505092915050565b600060208284031215613fa357613fa26152a7565b5b600082013567ffffffffffffffff811115613fc157613fc06152a2565b5b613fcd84828501613cd2565b91505092915050565b600060208284031215613fec57613feb6152a7565b5b600082015167ffffffffffffffff81111561400a576140096152a2565b5b61401684828501613d00565b91505092915050565b60008060008060006101a0868803121561403c5761403b6152a7565b5b600086013567ffffffffffffffff81111561405a576140596152a2565b5b61406688828901613cd2565b955050602061407788828901613d2e565b945050604061408888828901613c0f565b93505060e061409988828901613c0f565b9250506101806140ab88828901613bba565b9150509295509295909350565b600080600080600060a086880312156140d4576140d36152a7565b5b600086013567ffffffffffffffff8111156140f2576140f16152a2565b5b6140fe88828901613cd2565b955050602061410f88828901613d2e565b945050604061412088828901613d2e565b935050606061413188828901613d2e565b925050608061414288828901613bba565b9150509295509295909350565b600060208284031215614165576141646152a7565b5b600061417384828501613d2e565b91505092915050565b60008060006101008486031215614196576141956152a7565b5b60006141a486828701613d2e565b93505060206141b586828701613c3a565b92505060e084013567ffffffffffffffff8111156141d6576141d56152a2565b5b6141e286828701613be4565b9150509250925092565b60008060408385031215614203576142026152a7565b5b600061421185828601613d2e565b925050602061422285828601613d2e565b9150509250929050565b6000614238838361438a565b905092915050565b600061424c8383614824565b60208301905092915050565b61426181615046565b82525050565b61427081615034565b82525050565b600061428182614eab565b61428b8185614ef1565b93508360208202850161429d85614e97565b8060005b858110156142d957848403895281516142ba858261422c565b94506142c583614ed7565b925060208a019950506001810190506142a1565b50829750879550505050505092915050565b6142f481614eb6565b6142fe8184614efc565b925061430982614ea1565b8060005b8381101561433a5781516143218782614240565b965061432c83614ee4565b92505060018101905061430d565b505050505050565b61434b81615058565b82525050565b600061435c82614ec1565b6143668185614f07565b93506143768185602086016150c9565b61437f816152ac565b840191505092915050565b600061439582614ecc565b61439f8185614f23565b93506143af8185602086016150c9565b6143b8816152ac565b840191505092915050565b60006143ce82614ecc565b6143d88185614f34565b93506143e88185602086016150c9565b6143f1816152ac565b840191505092915050565b600061440782614ecc565b6144118185614f45565b93506144218185602086016150c9565b80840191505092915050565b600061443a602b83614f34565b9150614445826152bd565b604082019050919050565b600061445d601b83614f34565b91506144688261530c565b602082019050919050565b6000614480603283614f34565b915061448b82615335565b604082019050919050565b60006144a3602683614f34565b91506144ae82615384565b604082019050919050565b60006144c6601c83614f34565b91506144d1826153d3565b602082019050919050565b60006144e9601183614f34565b91506144f4826153fc565b602082019050919050565b600061450c602483614f34565b915061451782615425565b604082019050919050565b600061452f601983614f34565b915061453a82615474565b602082019050919050565b6000614552601783614f34565b915061455d8261549d565b602082019050919050565b6000614575601583614f34565b9150614580826154c6565b602082019050919050565b6000614598602c83614f34565b91506145a3826154ef565b604082019050919050565b60006145bb603883614f34565b91506145c68261553e565b604082019050919050565b60006145de602a83614f34565b91506145e98261558d565b604082019050919050565b6000614601602983614f34565b915061460c826155dc565b604082019050919050565b6000614624600c83614f34565b915061462f8261562b565b602082019050919050565b6000614647601883614f34565b915061465282615654565b602082019050919050565b600061466a601183614f34565b91506146758261567d565b602082019050919050565b600061468d602083614f34565b9150614698826156a6565b602082019050919050565b60006146b0602c83614f34565b91506146bb826156cf565b604082019050919050565b60006146d3601283614f34565b91506146de8261571e565b602082019050919050565b60006146f6602083614f34565b915061470182615747565b602082019050919050565b6000614719602983614f34565b915061472482615770565b604082019050919050565b600061473c602f83614f34565b9150614747826157bf565b604082019050919050565b600061475f602183614f34565b915061476a8261580e565b604082019050919050565b6000614782601383614f34565b915061478d8261585d565b602082019050919050565b60006147a5600083614f18565b91506147b082615886565b600082019050919050565b60006147c8603183614f34565b91506147d382615889565b604082019050919050565b60006147eb602c83614f34565b91506147f6826158d8565b604082019050919050565b600061480e601f83614f34565b915061481982615927565b602082019050919050565b61482d816150b0565b82525050565b61483c816150b0565b82525050565b600061484e82846143fc565b915081905092915050565b600061486482614798565b9150819050919050565b60006020820190506148836000830184614267565b92915050565b600060208201905061489e6000830184614258565b92915050565b60006080820190506148b96000830187614267565b6148c66020830186614267565b6148d36040830185614833565b81810360608301526148e58184614351565b905095945050505050565b60006020820190506149056000830184614342565b92915050565b6000602082019050818103600083015261492581846143c3565b905092915050565b600060208201905081810360008301526149468161442d565b9050919050565b6000602082019050818103600083015261496681614450565b9050919050565b6000602082019050818103600083015261498681614473565b9050919050565b600060208201905081810360008301526149a681614496565b9050919050565b600060208201905081810360008301526149c6816144b9565b9050919050565b600060208201905081810360008301526149e6816144dc565b9050919050565b60006020820190508181036000830152614a06816144ff565b9050919050565b60006020820190508181036000830152614a2681614522565b9050919050565b60006020820190508181036000830152614a4681614545565b9050919050565b60006020820190508181036000830152614a6681614568565b9050919050565b60006020820190508181036000830152614a868161458b565b9050919050565b60006020820190508181036000830152614aa6816145ae565b9050919050565b60006020820190508181036000830152614ac6816145d1565b9050919050565b60006020820190508181036000830152614ae6816145f4565b9050919050565b60006020820190508181036000830152614b0681614617565b9050919050565b60006020820190508181036000830152614b268161463a565b9050919050565b60006020820190508181036000830152614b468161465d565b9050919050565b60006020820190508181036000830152614b6681614680565b9050919050565b60006020820190508181036000830152614b86816146a3565b9050919050565b60006020820190508181036000830152614ba6816146c6565b9050919050565b60006020820190508181036000830152614bc6816146e9565b9050919050565b60006020820190508181036000830152614be68161470c565b9050919050565b60006020820190508181036000830152614c068161472f565b9050919050565b60006020820190508181036000830152614c2681614752565b9050919050565b60006020820190508181036000830152614c4681614775565b9050919050565b60006020820190508181036000830152614c66816147bb565b9050919050565b60006020820190508181036000830152614c86816147de565b9050919050565b60006020820190508181036000830152614ca681614801565b9050919050565b6000602082019050614cc26000830184614833565b92915050565b6000606082019050614cdd6000830186614833565b614cea6020830185614267565b614cf76040830184614833565b949350505050565b600061010082019050614d156000830186614833565b614d2260208301856142eb565b81810360e0830152614d348184614276565b9050949350505050565b6000604082019050614d536000830185614833565b614d606020830184614833565b9392505050565b6000606082019050614d7c6000830186614833565b614d896020830185614833565b614d966040830184614833565b949350505050565b6000614da8614db9565b9050614db4828261512e565b919050565b6000604051905090565b600067ffffffffffffffff821115614dde57614ddd615264565b5b602082029050919050565b600067ffffffffffffffff821115614e0457614e03615264565b5b602082029050919050565b600067ffffffffffffffff821115614e2a57614e29615264565b5b602082029050919050565b600067ffffffffffffffff821115614e5057614e4f615264565b5b614e59826152ac565b9050602081019050919050565b600067ffffffffffffffff821115614e8157614e80615264565b5b614e8a826152ac565b9050602081019050919050565b6000819050919050565b6000819050919050565b600060069050919050565b600060069050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f5b826150b0565b9150614f66836150b0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f9b57614f9a6151a8565b5b828201905092915050565b6000614fb1826150b0565b9150614fbc836150b0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ff557614ff46151a8565b5b828202905092915050565b600061500b826150b0565b9150615016836150b0565b925082821015615029576150286151a8565b5b828203905092915050565b600061503f82615090565b9050919050565b600061505182615090565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156150e75780820151818401526020810190506150cc565b838111156150f6576000848401525b50505050565b6000600282049050600182168061511457607f821691505b60208210811415615128576151276151d7565b5b50919050565b615137826152ac565b810181811067ffffffffffffffff8211171561515657615155615264565b5b80604052505050565b600061516a826150b0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561519d5761519c6151a8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f436f756e7465723a2064656372656d656e74206f766572666c6f770000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f74206578697374696e672067616d65000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f206d6f7265206d696e7461626c6520746f6b656e73000000000000000000600082015250565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f546f6f20666577204554482e0000000000000000000000000000000000000000600082015250565b7f417274697374206661696c656420746f20726563656976650000000000000000600082015250565b7f5072697a6520616c726561647920776f6e000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6b656e20616c726561647920757365640000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f47616d6520646f6573206e6f7420657869737400000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61595981615034565b811461596457600080fd5b50565b61597081615046565b811461597b57600080fd5b50565b61598781615058565b811461599257600080fd5b50565b61599e81615064565b81146159a957600080fd5b50565b6159b5816150b0565b81146159c057600080fd5b5056fea264697066735822122023c66b9269ad3f0d3c1665c72b333546df64a2ceb3ed334682ba37460d3ada7764736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102045760003560e01c806370a0823111610118578063a22cb465116100a0578063c917724d1161006f578063c917724d146107a7578063e7639d01146107d0578063e985e9c5146107f9578063f2fde38b14610836578063fce57fd91461085f57610204565b8063a22cb465146106ed578063a3342fba14610716578063b88d4fde14610741578063c87b56dd1461076a57610204565b80637b154140116100e75780637b154140146105f457806383fa1bcc1461061d5780638da5cb5b1461065a57806393ef7bba1461068557806395d89b41146106c257610204565b806370a0823114610538578063715018a61461057557806371dc14f91461058c5780637ac488c4146105b557610204565b80632f745c591161019b57806342842e0e1161016a57806342842e0e1461045057806349ac70d2146104795780634f6ccce7146104955780635ef016d5146104d25780636352211e146104fb57610204565b80632f745c59146103705780633208f0ff146103ad5780633c7d030e146103ea57806341bb33521461041357610204565b8063095ea7b3116101d7578063095ea7b3146102ca5780631801f38e146102f357806318160ddd1461031c57806323b872dd1461034757610204565b806301ffc9a71461020957806304ed21141461024657806306fdde0314610262578063081812fc1461028d575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190613f33565b610888565b60405161023d91906148f0565b60405180910390f35b610260600480360381019061025b9190613f8d565b610902565b005b34801561026e57600080fd5b50610277610989565b604051610284919061490b565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af919061414f565b610a1b565b6040516102c1919061486e565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec9190613ef3565b610aa0565b005b3480156102ff57600080fd5b5061031a6004803603810190610315919061414f565b610bb8565b005b34801561032857600080fd5b50610331610ca6565b60405161033e9190614cad565b60405180910390f35b34801561035357600080fd5b5061036e60048036038101906103699190613ddd565b610cb3565b005b34801561037c57600080fd5b5061039760048036038101906103929190613ef3565b610d13565b6040516103a49190614cad565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf9190613f8d565b610db8565b6040516103e19190614cad565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c919061401f565b610de3565b005b34801561041f57600080fd5b5061043a60048036038101906104359190613f8d565b610ec0565b6040516104479190614cad565b60405180910390f35b34801561045c57600080fd5b5061047760048036038101906104729190613ddd565b610f06565b005b610493600480360381019061048e9190613f8d565b610f26565b005b3480156104a157600080fd5b506104bc60048036038101906104b7919061414f565b610fb6565b6040516104c99190614cad565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f491906141ec565b611027565b005b34801561050757600080fd5b50610522600480360381019061051d919061414f565b611311565b60405161052f919061486e565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190613d43565b6113c3565b60405161056c9190614cad565b60405180910390f35b34801561058157600080fd5b5061058a61147b565b005b34801561059857600080fd5b506105b360048036038101906105ae919061417c565b611503565b005b3480156105c157600080fd5b506105dc60048036038101906105d7919061414f565b6115f7565b6040516105eb93929190614cc8565b60405180910390f35b34801561060057600080fd5b5061061b600480360381019061061691906141ec565b611745565b005b34801561062957600080fd5b50610644600480360381019061063f9190613f8d565b61187a565b6040516106519190614cad565b60405180910390f35b34801561066657600080fd5b5061066f6118d1565b60405161067c919061486e565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190613f8d565b6118fb565b6040516106b99190614cad565b60405180910390f35b3480156106ce57600080fd5b506106d76119ed565b6040516106e4919061490b565b60405180910390f35b3480156106f957600080fd5b50610714600480360381019061070f9190613eb3565b611a7f565b005b34801561072257600080fd5b5061072b611c00565b6040516107389190614889565b60405180910390f35b34801561074d57600080fd5b5061076860048036038101906107639190613e30565b611c26565b005b34801561077657600080fd5b50610791600480360381019061078c919061414f565b611c88565b60405161079e919061490b565b60405180910390f35b3480156107b357600080fd5b506107ce60048036038101906107c991906140b8565b611f41565b005b3480156107dc57600080fd5b506107f760048036038101906107f291906140b8565b612269565b005b34801561080557600080fd5b50610820600480360381019061081b9190613d9d565b6124de565b60405161082d91906148f0565b60405180910390f35b34801561084257600080fd5b5061085d60048036038101906108589190613d43565b612572565b005b34801561086b57600080fd5b5061088660048036038101906108819190613d70565b61266a565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108fb57506108fa82612737565b5b9050919050565b6002600b541415610948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093f90614c8d565b60405180910390fd5b6002600b819055506000600f826040516109629190614842565b9081526020016040518091039020905061097d816001612819565b506001600b8190555050565b606060008054610998906150fc565b80601f01602080910402602001604051908101604052809291908181526020018280546109c4906150fc565b8015610a115780601f106109e657610100808354040283529160200191610a11565b820191906000526020600020905b8154815290600101906020018083116109f457829003601f168201915b5050505050905090565b6000610a26826129da565b610a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5c90614b6d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aab82611311565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1390614c0d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b3b612a46565b73ffffffffffffffffffffffffffffffffffffffff161480610b6a5750610b6981610b64612a46565b6124de565b5b610ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba090614a8d565b60405180910390fd5b610bb38383612a4e565b505050565b803373ffffffffffffffffffffffffffffffffffffffff16610bd982611311565b73ffffffffffffffffffffffffffffffffffffffff1614610c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2690614a4d565b60405180910390fd5b610c3882612b07565b73ffffffffffffffffffffffffffffffffffffffff16631801f38e836040518263ffffffff1660e01b8152600401610c709190614cad565b600060405180830381600087803b158015610c8a57600080fd5b505af1158015610c9e573d6000803e3d6000fd5b505050505050565b6000600880549050905090565b610cc4610cbe612a46565b82612bb1565b610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa90614c4d565b60405180910390fd5b610d0e838383612c8f565b505050565b6000610d1e836113c3565b8210610d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d569061492d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600f82604051610dca9190614842565b9081526020016040518091039020600301549050919050565b610deb612a46565b73ffffffffffffffffffffffffffffffffffffffff16610e096118d1565b73ffffffffffffffffffffffffffffffffffffffff1614610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5690614bad565b60405180910390fd5b60005b84811015610eb857610ea58682868460058110610e8257610e81615235565b5b6020020151868560058110610e9a57610e99615235565b5b602002015186612269565b8080610eb09061515f565b915050610e62565b505050505050565b600080600f83604051610ed39190614842565b908152602001604051809103902090508060020154610ef482600601612eeb565b610efe9190615000565b915050919050565b610f2183838360405180602001604052806000815250611c26565b505050565b6002600b541415610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390614c8d565b60405180910390fd5b6002600b819055506000600f82604051610f869190614842565b90815260200160405180910390209050600081600401549050610fa98282612819565b50506001600b8190555050565b6000610fc0610ca6565b8210611001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff890614c6d565b60405180910390fd5b6008828154811061101557611014615235565b5b90600052602060002001549050919050565b813373ffffffffffffffffffffffffffffffffffffffff1661104882611311565b73ffffffffffffffffffffffffffffffffffffffff161461109e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109590614a4d565b60405180910390fd5b600060106000848152602001908152602001600020604051806101000160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff168160c0015173ffffffffffffffffffffffffffffffffffffffff161461122d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122490614b2d565b60405180910390fd5b6011600085815260200190815260200160002060009054906101000a900460ff161561128e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128590614b8d565b60405180910390fd5b61129784612b07565b73ffffffffffffffffffffffffffffffffffffffff16631811df5f82600001518360200151876040518463ffffffff1660e01b81526004016112db93929190614d67565b60006040518083038186803b1580156112f357600080fd5b505afa158015611307573d6000803e3d6000fd5b5050505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b190614acd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90614aad565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611483612a46565b73ffffffffffffffffffffffffffffffffffffffff166114a16118d1565b73ffffffffffffffffffffffffffffffffffffffff16146114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee90614bad565b60405180910390fd5b6115016000612ef9565b565b823373ffffffffffffffffffffffffffffffffffffffff1661152482611311565b73ffffffffffffffffffffffffffffffffffffffff161461157a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157190614a4d565b60405180910390fd5b61158384612b07565b73ffffffffffffffffffffffffffffffffffffffff166371dc14f98585856040518463ffffffff1660e01b81526004016115bf93929190614cff565b600060405180830381600087803b1580156115d957600080fd5b505af11580156115ed573d6000803e3d6000fd5b5050505050505050565b60008060008060106000868152602001908152602001600020604051806101000160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080606001511561173c5780604001518160c0015182608001519350935093505061173e565b505b9193909250565b813373ffffffffffffffffffffffffffffffffffffffff1661176682611311565b73ffffffffffffffffffffffffffffffffffffffff16146117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390614a4d565b60405180910390fd5b6117c68383611027565b60006010600084815260200190815260200160002090506117fc3033836005015460405180602001604052806000815250612fbf565b838160040181905550338160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016011600086815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b6000600f8260405161188c9190614842565b908152602001604051809103902060040154600f836040516118ae9190614842565b9081526020016040518091039020600301546118ca9190614fa6565b9050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600f8360405161190e9190614842565b90815260200160405180910390206040518060e00160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600682016040518060200160405290816000820154815250508152505090508060200151915050919050565b6060600180546119fc906150fc565b80601f0160208091040260200160405190810160405280929190818152602001828054611a28906150fc565b8015611a755780601f10611a4a57610100808354040283529160200191611a75565b820191906000526020600020905b815481529060010190602001808311611a5857829003601f168201915b5050505050905090565b611a87612a46565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aec90614a0d565b60405180910390fd5b8060056000611b02612a46565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611baf612a46565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bf491906148f0565b60405180910390a35050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611c37611c31612a46565b83612bb1565b611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d90614c4d565b60405180910390fd5b611c8284848484612fbf565b50505050565b6060611c93826129da565b611cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc990614bed565b60405180910390fd5b600060106000848152602001908152602001600020604051806101000160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1615151515815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050806060015115611ea2578060e0015173ffffffffffffffffffffffffffffffffffffffff166371cdd20482604001518360c0015184608001516040518463ffffffff1660e01b8152600401611e4593929190614cc8565b60006040518083038186803b158015611e5d57600080fd5b505afa158015611e71573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611e9a9190613fd6565b915050611f3c565b611eab83612b07565b73ffffffffffffffffffffffffffffffffffffffff1663c87b56dd846040518263ffffffff1660e01b8152600401611ee39190614cad565b60006040518083038186803b158015611efb57600080fd5b505afa158015611f0f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f389190613fd6565b9150505b919050565b611f49612a46565b73ffffffffffffffffffffffffffffffffffffffff16611f676118d1565b73ffffffffffffffffffffffffffffffffffffffff1614611fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb490614bad565b60405180910390fd5b60006001905060006013541461202457601260006001601354611fe09190615000565b8152602001908152602001600020600101546012600060016013546120059190615000565b8152602001908152602001600020600201546120219190614f50565b90505b6040518060e001604052806001151581526020018681526020018281526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001604051806020016040528084815250815250600f8760405161208e9190614842565b908152602001604051809103902060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c082015181600601600082015181600001555050905050600f866040516121539190614842565b90815260200160405180910390206012600060135481526020019081526020016000206000820160009054906101000a900460ff168160000160006101000a81548160ff021916908315150217905550600182015481600101556002820154816002015560038201548160030155600482015481600401556005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060068201816006016000820154816000015550509050506013600081548092919061225c9061515f565b9190505550505050505050565b612271612a46565b73ffffffffffffffffffffffffffffffffffffffff1661228f6118d1565b73ffffffffffffffffffffffffffffffffffffffff16146122e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dc90614bad565b60405180910390fd5b600f856040516122f59190614842565b908152602001604051809103902060000160009054906101000a900460ff16612353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234a906149cd565b60405180910390fd5b61235d600c61301b565b6000612369600c612eeb565b905060405180610100016040528085815260200184815260200186815260200160011515815260200160008152602001828152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff168152506010600083815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff0219169083151502179055506080820151816004015560a0820151816005015560c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e08201518160070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050506124d63082613077565b505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61257a612a46565b73ffffffffffffffffffffffffffffffffffffffff166125986118d1565b73ffffffffffffffffffffffffffffffffffffffff16146125ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e590614bad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561265e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126559061498d565b60405180910390fd5b61266781612ef9565b50565b612672612a46565b73ffffffffffffffffffffffffffffffffffffffff166126906118d1565b73ffffffffffffffffffffffffffffffffffffffff16146126e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126dd90614bad565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8082600001819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061280257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612812575061281182613245565b5b9050919050565b61282382826132af565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163460405161286b90614859565b60006040518083038185875af1925050503d80600081146128a8576040519150601f19603f3d011682016040523d82523d6000602084013e6128ad565b606091505b505080915050806128f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ea90614b0d565b60405180910390fd5b60005b828110156129d457600061290c85600601612eeb565b905061291a856006016133c2565b8460050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d9e6fd7a8284436129679190615000565b6040518363ffffffff1660e01b8152600401612984929190614d3e565b600060405180830381600087803b15801561299e57600080fd5b505af11580156129b2573d6000803e3d6000fd5b505050506129c03382613077565b5080806129cc9061515f565b9150506128f6565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ac183611311565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600090505b601354811015612baa578260126000838152602001908152602001600020600101546012600084815260200190815260200160002060020154612b529190614f50565b1115612b97576012600082815260200190815260200160002060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915050612bac565b8080612ba29061515f565b915050612b0f565b505b919050565b6000612bbc826129da565b612bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf290614a6d565b60405180910390fd5b6000612c0683611311565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c7557508373ffffffffffffffffffffffffffffffffffffffff16612c5d84610a1b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c865750612c8581856124de565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612caf82611311565b73ffffffffffffffffffffffffffffffffffffffff1614612d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfc90614bcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6c906149ed565b60405180910390fd5b612d808383836133d8565b612d8b600082612a4e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ddb9190615000565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e329190614f50565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612fca848484612c8f565b612fd6848484846134ec565b613015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300c9061496d565b60405180910390fd5b50505050565b60008160000154905060008111613067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305e9061494d565b60405180910390fd5b6001810382600001819055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130de90614b4d565b60405180910390fd5b6130f0816129da565b15613130576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613127906149ad565b60405180910390fd5b61313c600083836133d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461318c9190614f50565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8160000160009054906101000a900460ff16613300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f790614c2d565b60405180910390fd5b348183600301546133119190614fa6565b1115613352576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334990614aed565b60405180910390fd5b816001015482600201546133669190614f50565b8161337384600601612eeb565b61337d9190614f50565b11156133be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b590614a2d565b60405180910390fd5b5050565b6001816000016000828254019250508190555050565b6133e3838383613683565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134265761342181613688565b613465565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134645761346383826136d1565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134a8576134a38161383e565b6134e7565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134e6576134e5828261390f565b5b5b505050565b600061350d8473ffffffffffffffffffffffffffffffffffffffff1661398e565b15613676578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613536612a46565b8786866040518563ffffffff1660e01b815260040161355894939291906148a4565b602060405180830381600087803b15801561357257600080fd5b505af19250505080156135a357506040513d601f19601f820116820180604052508101906135a09190613f60565b60015b613626573d80600081146135d3576040519150601f19603f3d011682016040523d82523d6000602084013e6135d8565b606091505b5060008151141561361e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136159061496d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061367b565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016136de846113c3565b6136e89190615000565b90506000600760008481526020019081526020016000205490508181146137cd576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506138529190615000565b905060006009600084815260200190815260200160002054905060006008838154811061388257613881615235565b5b9060005260206000200154905080600883815481106138a4576138a3615235565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806138f3576138f2615206565b5b6001900381819060005260206000200160009055905550505050565b600061391a836113c3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60006139b46139af84614dc3565b614d9e565b905080828560208602820111156139ce576139cd615298565b5b60005b85811015613a1c57813567ffffffffffffffff8111156139f4576139f3615293565b5b808601613a018982613cd2565b855260208501945060208401935050506001810190506139d1565b5050509392505050565b6000613a39613a3484614de9565b614d9e565b90508082856020860282011115613a5357613a52615298565b5b60005b85811015613a835781613a698882613d2e565b845260208401935060208301925050600181019050613a56565b5050509392505050565b6000613aa0613a9b84614e0f565b614d9e565b90508082856020860282011115613aba57613ab9615298565b5b60005b85811015613aea5781613ad08882613d2e565b845260208401935060208301925050600181019050613abd565b5050509392505050565b6000613b07613b0284614e35565b614d9e565b905082815260208101848484011115613b2357613b2261529d565b5b613b2e8482856150ba565b509392505050565b6000613b49613b4484614e66565b614d9e565b905082815260208101848484011115613b6557613b6461529d565b5b613b708482856150ba565b509392505050565b6000613b8b613b8684614e66565b614d9e565b905082815260208101848484011115613ba757613ba661529d565b5b613bb28482856150c9565b509392505050565b600081359050613bc981615950565b92915050565b600081359050613bde81615967565b92915050565b600082601f830112613bf957613bf8615293565b5b6006613c068482856139a1565b91505092915050565b600082601f830112613c2457613c23615293565b5b6005613c31848285613a26565b91505092915050565b600082601f830112613c4f57613c4e615293565b5b6006613c5c848285613a8d565b91505092915050565b600081359050613c748161597e565b92915050565b600081359050613c8981615995565b92915050565b600081519050613c9e81615995565b92915050565b600082601f830112613cb957613cb8615293565b5b8135613cc9848260208601613af4565b91505092915050565b600082601f830112613ce757613ce6615293565b5b8135613cf7848260208601613b36565b91505092915050565b600082601f830112613d1557613d14615293565b5b8151613d25848260208601613b78565b91505092915050565b600081359050613d3d816159ac565b92915050565b600060208284031215613d5957613d586152a7565b5b6000613d6784828501613bba565b91505092915050565b600060208284031215613d8657613d856152a7565b5b6000613d9484828501613bcf565b91505092915050565b60008060408385031215613db457613db36152a7565b5b6000613dc285828601613bba565b9250506020613dd385828601613bba565b9150509250929050565b600080600060608486031215613df657613df56152a7565b5b6000613e0486828701613bba565b9350506020613e1586828701613bba565b9250506040613e2686828701613d2e565b9150509250925092565b60008060008060808587031215613e4a57613e496152a7565b5b6000613e5887828801613bba565b9450506020613e6987828801613bba565b9350506040613e7a87828801613d2e565b925050606085013567ffffffffffffffff811115613e9b57613e9a6152a2565b5b613ea787828801613ca4565b91505092959194509250565b60008060408385031215613eca57613ec96152a7565b5b6000613ed885828601613bba565b9250506020613ee985828601613c65565b9150509250929050565b60008060408385031215613f0a57613f096152a7565b5b6000613f1885828601613bba565b9250506020613f2985828601613d2e565b9150509250929050565b600060208284031215613f4957613f486152a7565b5b6000613f5784828501613c7a565b91505092915050565b600060208284031215613f7657613f756152a7565b5b6000613f8484828501613c8f565b91505092915050565b600060208284031215613fa357613fa26152a7565b5b600082013567ffffffffffffffff811115613fc157613fc06152a2565b5b613fcd84828501613cd2565b91505092915050565b600060208284031215613fec57613feb6152a7565b5b600082015167ffffffffffffffff81111561400a576140096152a2565b5b61401684828501613d00565b91505092915050565b60008060008060006101a0868803121561403c5761403b6152a7565b5b600086013567ffffffffffffffff81111561405a576140596152a2565b5b61406688828901613cd2565b955050602061407788828901613d2e565b945050604061408888828901613c0f565b93505060e061409988828901613c0f565b9250506101806140ab88828901613bba565b9150509295509295909350565b600080600080600060a086880312156140d4576140d36152a7565b5b600086013567ffffffffffffffff8111156140f2576140f16152a2565b5b6140fe88828901613cd2565b955050602061410f88828901613d2e565b945050604061412088828901613d2e565b935050606061413188828901613d2e565b925050608061414288828901613bba565b9150509295509295909350565b600060208284031215614165576141646152a7565b5b600061417384828501613d2e565b91505092915050565b60008060006101008486031215614196576141956152a7565b5b60006141a486828701613d2e565b93505060206141b586828701613c3a565b92505060e084013567ffffffffffffffff8111156141d6576141d56152a2565b5b6141e286828701613be4565b9150509250925092565b60008060408385031215614203576142026152a7565b5b600061421185828601613d2e565b925050602061422285828601613d2e565b9150509250929050565b6000614238838361438a565b905092915050565b600061424c8383614824565b60208301905092915050565b61426181615046565b82525050565b61427081615034565b82525050565b600061428182614eab565b61428b8185614ef1565b93508360208202850161429d85614e97565b8060005b858110156142d957848403895281516142ba858261422c565b94506142c583614ed7565b925060208a019950506001810190506142a1565b50829750879550505050505092915050565b6142f481614eb6565b6142fe8184614efc565b925061430982614ea1565b8060005b8381101561433a5781516143218782614240565b965061432c83614ee4565b92505060018101905061430d565b505050505050565b61434b81615058565b82525050565b600061435c82614ec1565b6143668185614f07565b93506143768185602086016150c9565b61437f816152ac565b840191505092915050565b600061439582614ecc565b61439f8185614f23565b93506143af8185602086016150c9565b6143b8816152ac565b840191505092915050565b60006143ce82614ecc565b6143d88185614f34565b93506143e88185602086016150c9565b6143f1816152ac565b840191505092915050565b600061440782614ecc565b6144118185614f45565b93506144218185602086016150c9565b80840191505092915050565b600061443a602b83614f34565b9150614445826152bd565b604082019050919050565b600061445d601b83614f34565b91506144688261530c565b602082019050919050565b6000614480603283614f34565b915061448b82615335565b604082019050919050565b60006144a3602683614f34565b91506144ae82615384565b604082019050919050565b60006144c6601c83614f34565b91506144d1826153d3565b602082019050919050565b60006144e9601183614f34565b91506144f4826153fc565b602082019050919050565b600061450c602483614f34565b915061451782615425565b604082019050919050565b600061452f601983614f34565b915061453a82615474565b602082019050919050565b6000614552601783614f34565b915061455d8261549d565b602082019050919050565b6000614575601583614f34565b9150614580826154c6565b602082019050919050565b6000614598602c83614f34565b91506145a3826154ef565b604082019050919050565b60006145bb603883614f34565b91506145c68261553e565b604082019050919050565b60006145de602a83614f34565b91506145e98261558d565b604082019050919050565b6000614601602983614f34565b915061460c826155dc565b604082019050919050565b6000614624600c83614f34565b915061462f8261562b565b602082019050919050565b6000614647601883614f34565b915061465282615654565b602082019050919050565b600061466a601183614f34565b91506146758261567d565b602082019050919050565b600061468d602083614f34565b9150614698826156a6565b602082019050919050565b60006146b0602c83614f34565b91506146bb826156cf565b604082019050919050565b60006146d3601283614f34565b91506146de8261571e565b602082019050919050565b60006146f6602083614f34565b915061470182615747565b602082019050919050565b6000614719602983614f34565b915061472482615770565b604082019050919050565b600061473c602f83614f34565b9150614747826157bf565b604082019050919050565b600061475f602183614f34565b915061476a8261580e565b604082019050919050565b6000614782601383614f34565b915061478d8261585d565b602082019050919050565b60006147a5600083614f18565b91506147b082615886565b600082019050919050565b60006147c8603183614f34565b91506147d382615889565b604082019050919050565b60006147eb602c83614f34565b91506147f6826158d8565b604082019050919050565b600061480e601f83614f34565b915061481982615927565b602082019050919050565b61482d816150b0565b82525050565b61483c816150b0565b82525050565b600061484e82846143fc565b915081905092915050565b600061486482614798565b9150819050919050565b60006020820190506148836000830184614267565b92915050565b600060208201905061489e6000830184614258565b92915050565b60006080820190506148b96000830187614267565b6148c66020830186614267565b6148d36040830185614833565b81810360608301526148e58184614351565b905095945050505050565b60006020820190506149056000830184614342565b92915050565b6000602082019050818103600083015261492581846143c3565b905092915050565b600060208201905081810360008301526149468161442d565b9050919050565b6000602082019050818103600083015261496681614450565b9050919050565b6000602082019050818103600083015261498681614473565b9050919050565b600060208201905081810360008301526149a681614496565b9050919050565b600060208201905081810360008301526149c6816144b9565b9050919050565b600060208201905081810360008301526149e6816144dc565b9050919050565b60006020820190508181036000830152614a06816144ff565b9050919050565b60006020820190508181036000830152614a2681614522565b9050919050565b60006020820190508181036000830152614a4681614545565b9050919050565b60006020820190508181036000830152614a6681614568565b9050919050565b60006020820190508181036000830152614a868161458b565b9050919050565b60006020820190508181036000830152614aa6816145ae565b9050919050565b60006020820190508181036000830152614ac6816145d1565b9050919050565b60006020820190508181036000830152614ae6816145f4565b9050919050565b60006020820190508181036000830152614b0681614617565b9050919050565b60006020820190508181036000830152614b268161463a565b9050919050565b60006020820190508181036000830152614b468161465d565b9050919050565b60006020820190508181036000830152614b6681614680565b9050919050565b60006020820190508181036000830152614b86816146a3565b9050919050565b60006020820190508181036000830152614ba6816146c6565b9050919050565b60006020820190508181036000830152614bc6816146e9565b9050919050565b60006020820190508181036000830152614be68161470c565b9050919050565b60006020820190508181036000830152614c068161472f565b9050919050565b60006020820190508181036000830152614c2681614752565b9050919050565b60006020820190508181036000830152614c4681614775565b9050919050565b60006020820190508181036000830152614c66816147bb565b9050919050565b60006020820190508181036000830152614c86816147de565b9050919050565b60006020820190508181036000830152614ca681614801565b9050919050565b6000602082019050614cc26000830184614833565b92915050565b6000606082019050614cdd6000830186614833565b614cea6020830185614267565b614cf76040830184614833565b949350505050565b600061010082019050614d156000830186614833565b614d2260208301856142eb565b81810360e0830152614d348184614276565b9050949350505050565b6000604082019050614d536000830185614833565b614d606020830184614833565b9392505050565b6000606082019050614d7c6000830186614833565b614d896020830185614833565b614d966040830184614833565b949350505050565b6000614da8614db9565b9050614db4828261512e565b919050565b6000604051905090565b600067ffffffffffffffff821115614dde57614ddd615264565b5b602082029050919050565b600067ffffffffffffffff821115614e0457614e03615264565b5b602082029050919050565b600067ffffffffffffffff821115614e2a57614e29615264565b5b602082029050919050565b600067ffffffffffffffff821115614e5057614e4f615264565b5b614e59826152ac565b9050602081019050919050565b600067ffffffffffffffff821115614e8157614e80615264565b5b614e8a826152ac565b9050602081019050919050565b6000819050919050565b6000819050919050565b600060069050919050565b600060069050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600081905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f5b826150b0565b9150614f66836150b0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f9b57614f9a6151a8565b5b828201905092915050565b6000614fb1826150b0565b9150614fbc836150b0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ff557614ff46151a8565b5b828202905092915050565b600061500b826150b0565b9150615016836150b0565b925082821015615029576150286151a8565b5b828203905092915050565b600061503f82615090565b9050919050565b600061505182615090565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156150e75780820151818401526020810190506150cc565b838111156150f6576000848401525b50505050565b6000600282049050600182168061511457607f821691505b60208210811415615128576151276151d7565b5b50919050565b615137826152ac565b810181811067ffffffffffffffff8211171561515657615155615264565b5b80604052505050565b600061516a826150b0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561519d5761519c6151a8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f436f756e7465723a2064656372656d656e74206f766572666c6f770000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f74206578697374696e672067616d65000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f206d6f7265206d696e7461626c6520746f6b656e73000000000000000000600082015250565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f546f6f20666577204554482e0000000000000000000000000000000000000000600082015250565b7f417274697374206661696c656420746f20726563656976650000000000000000600082015250565b7f5072697a6520616c726561647920776f6e000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6b656e20616c726561647920757365640000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f47616d6520646f6573206e6f7420657869737400000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61595981615034565b811461596457600080fd5b50565b61597081615046565b811461597b57600080fd5b50565b61598781615058565b811461599257600080fd5b50565b61599e81615064565b81146159a957600080fd5b50565b6159b5816150b0565b81146159c057600080fd5b5056fea264697066735822122023c66b9269ad3f0d3c1665c72b333546df64a2ceb3ed334682ba37460d3ada7764736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

The ArcadeGlyphs are 100% on-chain generative and responsive NFTs. Each token is a self-playing snake game, that will move every 256 blocks, thanks to an on-chain AI. At game over, the NFT turns into an animation of the game. No transactions required.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.