ETH Price: $3,338.11 (-1.16%)

Contract

0x05844e9aE606f9867ae2047c93cAc370d54Ab2E1
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Safe Transfer Fr...214646362024-12-23 10:37:5912 mins ago1734950279IN
AO Metaverse: ARTB Token
0 ETH0.0010015611.56979121
Set Approval For...214571932024-12-22 9:38:3525 hrs ago1734860315IN
AO Metaverse: ARTB Token
0 ETH0.000272685.9
Transfer From214455282024-12-20 18:29:472 days ago1734719387IN
AO Metaverse: ARTB Token
0 ETH0.001562218.0419868
Transfer From214455282024-12-20 18:29:472 days ago1734719387IN
AO Metaverse: ARTB Token
0 ETH0.0013574518.98888417
Transfer From214455282024-12-20 18:29:472 days ago1734719387IN
AO Metaverse: ARTB Token
0 ETH0.0017921519.05152564
Set Approval For...214402312024-12-20 0:44:353 days ago1734655475IN
AO Metaverse: ARTB Token
0 ETH0.0005774912.5176921
Set Approval For...214179762024-12-16 22:09:116 days ago1734386951IN
AO Metaverse: ARTB Token
0 ETH0.0006256113.53621942
Safe Transfer Fr...214057472024-12-15 5:11:358 days ago1734239495IN
AO Metaverse: ARTB Token
0 ETH0.000780728.74983741
Safe Transfer Fr...214054402024-12-15 4:09:358 days ago1734235775IN
AO Metaverse: ARTB Token
0 ETH0.000756478.47813069
Safe Transfer Fr...214054002024-12-15 4:01:238 days ago1734235283IN
AO Metaverse: ARTB Token
0 ETH0.000742828.32511882
Set Approval For...213994732024-12-14 8:11:119 days ago1734163871IN
AO Metaverse: ARTB Token
0 ETH0.000459069.95062521
Set Approval For...213956612024-12-13 19:24:239 days ago1734117863IN
AO Metaverse: ARTB Token
0 ETH0.0007479316.21215126
Set Approval For...213889972024-12-12 21:04:4710 days ago1734037487IN
AO Metaverse: ARTB Token
0 ETH0.0010036921.71652984
Set Approval For...213864612024-12-12 12:35:3510 days ago1734006935IN
AO Metaverse: ARTB Token
0 ETH0.0008653618.75764575
Set Approval For...213508482024-12-07 13:15:2315 days ago1733577323IN
AO Metaverse: ARTB Token
0 ETH0.0006142113.31369725
Safe Transfer Fr...213498312024-12-07 9:49:4716 days ago1733564987IN
AO Metaverse: ARTB Token
0 ETH0.0014823117.12093564
Set Approval For...213297902024-12-04 14:40:3518 days ago1733323235IN
AO Metaverse: ARTB Token
0 ETH0.0018471339.96571944
Set Approval For...213042242024-12-01 0:58:1122 days ago1733014691IN
AO Metaverse: ARTB Token
0 ETH0.0005499911.92167335
Set Approval For...213026802024-11-30 19:48:2322 days ago1732996103IN
AO Metaverse: ARTB Token
0 ETH0.0007343715.91837534
Set Approval For...212635232024-11-25 8:16:5928 days ago1732522619IN
AO Metaverse: ARTB Token
0 ETH0.000180687.43392994
Set Approval For...212584172024-11-24 15:11:4728 days ago1732461107IN
AO Metaverse: ARTB Token
0 ETH0.000197158.11139622
Set Approval For...212440052024-11-22 14:55:4730 days ago1732287347IN
AO Metaverse: ARTB Token
0 ETH0.0006754714.64161234
Set Approval For...212264912024-11-20 4:13:5933 days ago1732076039IN
AO Metaverse: ARTB Token
0 ETH0.0004668110.10035735
Set Approval For...211575492024-11-10 13:24:3542 days ago1731245075IN
AO Metaverse: ARTB Token
0 ETH0.0009386620.34644772
Set Approval For...211059702024-11-03 8:38:4750 days ago1730623127IN
AO Metaverse: ARTB Token
0 ETH0.000088873.66574103
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
144859852022-03-30 6:35:42999 days ago1648622142
AO Metaverse: ARTB Token
147.055675 ETH
144859852022-03-30 6:35:42999 days ago1648622142
AO Metaverse: ARTB Token
90.4958 ETH
144859852022-03-30 6:35:42999 days ago1648622142
AO Metaverse: ARTB Token
180.9916 ETH
144859852022-03-30 6:35:42999 days ago1648622142
AO Metaverse: ARTB Token
33.935925 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AOToken

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : AOToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { ERC721Enumerable, ERC721 } from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import { VRFConsumerBase } from "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";

//
//                               ..:-=====--:.
//                          .-*#@@@@@@@@@@@@@@@@#+-.
//                       -*%@@@@@@@@@@@@@@@@@@@@@@@@%+:
//                     +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#-
//                   +@@@%##*******#########%%%@@@@@@@@@@%=
//                 -@@@@@@@@@%#***++++========-==*#%%@@@@@@#.
//                *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:
//               *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:
//              +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@@@@@@@.
//             .@@@@@@@@@@@@@@@@@@@@@. .@@@@@@*:    :+@@@@@@@@@#
//             *@@@@@@@@@@@@@@@@@@@@.   :@@@@=  .+#+: .@@@@@@@@@:
//             %@@@@@@@@@@@@@@@@@@@:  :  -@@@   %@@@@  =@@@@@@@@+
//             @@@@@@@@@@@@@@@@@@@:  -@:  =@@-  =@@@#  +@@@@@@@@%
//            .@@@@@@@@@@@@@@@@@@=  .@@@   +@@-   ..  -@@@@@@@@@#
//             %@@@@@@@@@@@@@@@@#---%@@@#---%@@%+-:-+#@@@@@@@@@@*
//             *@@@@@@@@@@@@@@@@@@@@@@@%#@%#@%%@%%@@@@@@@@@@@@@@-
//             .@@@@@@@@@@@@@@@@@@@@@@@**%-+#*#@#%@@@@@@@@@@@@@%
//              +@@@@@@@@@@@@@@@@@@@@@@%%@@@@@@@@@@@@@@@@@@@@@@:
//               *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@-
//                +@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@=
//                 -@@@@@@@@@%#**++=====-=====-====++#%%@@@#.
//                  .*@@@@%#*******###########%%%%%%@@@@@#=
//                    .=@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#=
//                       :*%@@@@@@@@@@@@@@@@@@@@@@@@%+.
//                          :=*#@@@@@@@@@@@@@@@%#+:
//                                :--===+==--:
//
// RIW & Pellar 2022

contract AOToken is Ownable, ERC721Enumerable, VRFConsumerBase {
    using Strings for uint8;
    using Strings for uint16;

    struct TokenInfo {
        uint8 ball_type; // 0 = generative, 1 = artist, 2 = legend
        uint8 pattern;
        uint8 wrap;
        uint8 overlay;
        uint8 rally;
        uint8 colour;
        uint8 scheme;
        uint8 logo;
        uint8 shot;
        uint8 coord_x;
        uint8 coord_y;
        uint16[] winnings;
        string uri;
    }

    // constants
    address public constant VRF_COORDINATOR_ADDRESS = 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952;
    address public constant LINK_ADDRESS = 0x514910771AF9Ca656af840dff83E8264EcF986CA;
    bytes32 public constant VRF_KEY_HASH = 0xAA77729D3466CA35AE8D28B3BBAC7CC36A5031EFDC430821C02BC31A238AF445;
    uint256 public constant VRF_FEE = 2 * (10 ** 18);

    uint16 public constant MAX_SALE_SUPPLY = 6726;
    uint16 public constant MAX_WHITELIST_SALE_SUPPLY = 300;
    uint16 public constant MAX_PRESALE_SUPPLY = 3388;
    uint256 public constant BUY_PRICE = 0.067 ether;

    string[3] public BALL_TYPE = ['Generative', 'Artist', 'Legend'];
    string[8] public PATTERN = ['Block', 'Sweetspot', 'Love All', 'Line Call', 'Quiet Please', 'Smash', 'Crikey', 'Heatwave'];
    string[5] public WRAP = ['None', 'Small', 'Medium', 'Large', 'Flow'];
    string[5] public OVERLAY = ['None', 'Delete', 'Fade', 'Loop', 'Mosaic'];
    string[6] public RALLY = ['Love', '15', '30', '40', 'Deuce', 'Advantage'];
    string[2] public COLOUR = ['AO Blue', 'AO Green'];
    string[8] public SCHEME = ['Shade', 'Tint', 'Complimentary', 'Complimentary Shade', 'Complimentary Tint', 'Analogous', 'Triadic', 'Tetradic'];
    string[2] public LOGO = ['White', 'Black'];
    string[7] public SHOT = ['Ace', 'Fault', 'Topspin', 'Slice', 'Volley', 'Lob', 'Forehand'];

    bool public saleActive;
    bool public presaleActive;
    bool public revealed;
    bool public seeded;
    bool public enableTokenURI;
    uint16 public whitelistClaimed;
    uint16 public presaleClaimed;
    uint16 public publicClaimed;
    uint16 public boundary = 6776; // = MAX_SUPPLY
    uint256 public seedNumber;
    string public baseURI;
    string public provenance;
    mapping(uint16 => uint16) randoms;
    mapping(uint16 => TokenInfo) public tokens;
    mapping(address => bool) public whitelist;
    mapping(uint16 => string) public legendPattern;
    mapping(uint16 => string) public artist;

    constructor() ERC721("AO Art Ball", "ARTB") VRFConsumerBase(VRF_COORDINATOR_ADDRESS, LINK_ADDRESS) {}

    /** VRF **/
    function getRandomNumber() external onlyOwner returns (bytes32 requestId) {
        require(LINK.balanceOf(address(this)) >= VRF_FEE, "Not enough LINK.");
        return requestRandomness(VRF_KEY_HASH, VRF_FEE);
    }

    function fulfillRandomness(bytes32, uint256 randomness) internal override {
        seedNumber = randomness;
        seeded = true;
    }

    /** User **/
    function claim(uint16 _amount) external payable {
        require(saleActive, "Not active");
        require(tx.origin == msg.sender, "Not allowed");
        require(balanceOf(msg.sender) + _amount <= 5, "Exceed max");
        require(_amount <= 5, "Exceed max");
        require(publicClaimed + whitelistClaimed + presaleClaimed + _amount <= MAX_SALE_SUPPLY, "Exceed total");
        require(msg.value >= _amount * BUY_PRICE, "Ether value incorrect");

        for (uint16 i = 0; i < _amount; i++) {
            _mintRandomToken(msg.sender);
        }
        publicClaimed += _amount;
    }

    function metakeyEligible() public view returns (bool) {
        IMetaKey metakey = IMetaKey(0x10DaA9f4c0F985430fdE4959adB2c791ef2CCF83);
        return metakey.balanceOf(msg.sender, 10004) > 0 ||
            metakey.balanceOf(msg.sender, 10003) > 0 ||
            metakey.balanceOf(msg.sender, 2) > 0 ||
            metakey.balanceOf(msg.sender, 1) > 0;
    }

    function eligiblePresale() public view returns(bool) {
        return metakeyEligible() || (whitelist[msg.sender] && whitelistClaimed < MAX_WHITELIST_SALE_SUPPLY);
    }

    function presaleClaim() external payable {
        require(presaleActive, "Not active");
        require(tx.origin == msg.sender, "Not allowed");
        require(eligiblePresale(), "Not eligible");
        require(balanceOf(msg.sender) == 0, "Exceed max");
        require(msg.value >= 1 * BUY_PRICE, "Ether value incorrect.");

        if (whitelist[msg.sender] && whitelistClaimed < MAX_WHITELIST_SALE_SUPPLY) {
            _mintRandomToken(msg.sender);
            whitelistClaimed++;
            whitelist[msg.sender] = false;
        }
        else if (metakeyEligible()) {
            require(presaleClaimed + 1 <= MAX_PRESALE_SUPPLY, "Exceeds total presale.");
            _mintRandomToken(msg.sender);
            presaleClaimed++;
        }
    }

    function _mintRandomToken(address _to) internal {
        require(seeded, "Need VRF seed");

        uint16 index = uint16(uint256(keccak256(abi.encodePacked(seedNumber, block.timestamp, _to, block.number, totalSupply(), address(this)))) % boundary) + 1;
        uint16 tokenId = randoms[index] > 0 ? randoms[index] - 1 : index - 1;
        randoms[index] = randoms[boundary] > 0 ? randoms[boundary] : boundary;
        boundary -= 1;
        _safeMint(_to, tokenId);
    }

    /** onchain **/
    function getTokenWinnings(uint256 _tokenId) public view returns (uint16[] memory) {
        require(_exists(_tokenId), "Token does not exist");
        return tokens[uint16(_tokenId)].winnings;
    }

    function commonAttributes(uint256 _tokenId) internal view returns (string memory) {
        TokenInfo memory ball = tokens[uint16(_tokenId)];
        return string(abi.encodePacked(
            '{"trait_type":"Plot No","value":"', uint16(_tokenId + 1).toString(), '"},'
            '{"trait_type":"X Coordinate","value":"', ball.coord_x.toString(), '"},',
            '{"trait_type":"Y Coordinate","value":"', ball.coord_y.toString(), '"},',
            '{"trait_type":"Ball Type","value":"', BALL_TYPE[ball.ball_type % 3], '"}'
        ));
    }

    function genericAttributes(uint256 _tokenId) internal view returns (string memory) {
        TokenInfo memory ball = tokens[uint16(_tokenId)];
        return string(abi.encodePacked(
            string(abi.encodePacked(
                '{"trait_type":"Pattern","value":"', PATTERN[ball.pattern], '"},',
                '{"trait_type":"Wrap","value":"', WRAP[ball.wrap], '"},',
                '{"trait_type":"Overlay","value":"', OVERLAY[ball.overlay], '"},',
                '{"trait_type":"Rally","value":"', RALLY[ball.rally], '"},'
            )),
            string(abi.encodePacked(
                '{"trait_type":"Colour","value":"', COLOUR[ball.colour], '"},',
                '{"trait_type":"Scheme","value":"', SCHEME[ball.scheme], '"},',
                '{"trait_type":"Logo","value":"', LOGO[ball.logo], '"},',
                '{"trait_type":"Shot","value":"', SHOT[ball.shot], '"}'
            ))
        ));
    }

    function legendAttributes(uint256 _tokenId) internal view returns (string memory) {
        return string(abi.encodePacked('{"trait_type":"Legendary Pattern","value":"', legendPattern[uint16(_tokenId)], '"}'));
    }

    function artistAttributes(uint256 _tokenId) internal view returns (string memory) {
        return string(abi.encodePacked('{"trait_type":"Artist","value":"', artist[uint16(_tokenId)], '"}'));
    }

    function getAttributes(uint256 _tokenId) public view returns (string memory) {
        require(_exists(_tokenId), "Token does not exist");
        function(uint256) internal view returns (string memory)[3] memory options = [
            genericAttributes,
            artistAttributes,
            legendAttributes
        ];
        return string(abi.encodePacked(
            '[', commonAttributes(_tokenId), ',',
            options[tokens[uint16(_tokenId)].ball_type % 3](_tokenId),
            ']'
        ));
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "URI query for non exists token.");
        if (!revealed) {
            return 'ipfs://QmUMeAJdjrZYcaLbCRDF35MBXa1LdEPpt6RziwhTAbpgA4';
        }
        uint16 tokenId = uint16(_tokenId);
        if (bytes(tokens[tokenId].uri).length > 0 && enableTokenURI) {
            return string(abi.encodePacked(tokens[tokenId].uri, tokenId.toString()));
        }
        return string(abi.encodePacked(baseURI, tokenId.toString()));
    }

    /** Admin **/
    function teamClaim() external onlyOwner {
        for (uint16 i = 0; i < 5; i++) {
            _mintRandomToken(0x6b37Ca573f0A877F342434236721D1eE6CE83bb1);
        }
        for (uint16 i = 0; i < 15; i++) {
            _mintRandomToken(0x5151FCF0ED173426d9D095367360Be58F1AE7993);
        }
        for (uint16 i = 0; i < 15; i++) {
            _mintRandomToken(0x01cE3D2A58c85983Ab6f40e1f05B6f7EceC3f379);
        }
        for (uint16 i = 0; i < 15; i++) {
            _mintRandomToken(0x3c02bA1b4E3149e34880f7bf39C61087B4262a18);
        }
    }

    function addWhitelist(address[] calldata _accounts, bool _status) external onlyOwner {
        for (uint256 i = 0; i < _accounts.length; i++) {
            whitelist[_accounts[i]] = _status;
        }
    }

    function setProvenance(string calldata _provenance) external onlyOwner {
        provenance = _provenance;
    }

    function toggleActive() external onlyOwner {
        saleActive = !saleActive;
    }

    function togglePresaleActive() external onlyOwner {
        presaleActive = !presaleActive;
    }

    function toggleTokenURI() external onlyOwner {
        enableTokenURI = !enableTokenURI;
    }

    function toggleReveal() external onlyOwner {
        revealed = !revealed;
    }

    function setBaseURI(string calldata _uri) external onlyOwner {
        baseURI = _uri;
    }

    function setTokenBaseURI(uint16[] calldata _tokenIds, string calldata _uri) external onlyOwner {
        for (uint16 i = 0; i < _tokenIds.length; i++) {
            tokens[_tokenIds[i]].uri = _uri;
        }
    }

    function setTokenWinnings(uint16[] calldata _tokenIds, uint16[][] calldata _winnings) external onlyOwner {
        require(_tokenIds.length == _winnings.length, "Input data mismatch.");
        for (uint16 i = 0; i < _tokenIds.length; i++) {
            tokens[_tokenIds[i]].winnings = _winnings[i];
        }
    }

    function addTokenWinnings(uint16[] calldata _tokenIds, uint16[] calldata _winnings) external onlyOwner {
        require(_tokenIds.length == _winnings.length, "Input data mismatch.");
        for (uint16 i = 0; i < _tokenIds.length; i++) {
            tokens[_tokenIds[i]].winnings.push(_winnings[i]);
        }
    }

    function updateLegendToken(uint16[] calldata _tokenIds, uint8[2][] calldata _attributes, string[] calldata _pattern) external onlyOwner {
        require(_tokenIds.length == _attributes.length, "Input mismatch.");
        require(_tokenIds.length == _pattern.length, "Input mismatch.");
        for (uint16 i = 0; i < _tokenIds.length; i++) {
            tokens[_tokenIds[i]].ball_type = 2;
            tokens[_tokenIds[i]].coord_x = _attributes[i][0]; // 0 => coordination X
            tokens[_tokenIds[i]].coord_y = _attributes[i][1]; // 1 => coordination Y
            legendPattern[_tokenIds[i]] = _pattern[i];
        }
    }

    function updateArtistToken(uint16[] calldata _tokenIds, uint8[2][] calldata _attributes, string[] calldata _artist) external onlyOwner {
        require(_tokenIds.length == _attributes.length, "Input mismatch.");
        require(_tokenIds.length == _artist.length, "Input mismatch.");
        for (uint16 i = 0; i < _tokenIds.length; i++) {
            tokens[_tokenIds[i]].ball_type = 1;
            tokens[_tokenIds[i]].coord_x = _attributes[i][0]; // 0 => coordination X
            tokens[_tokenIds[i]].coord_y = _attributes[i][1]; // 1 => coordination Y
            artist[_tokenIds[i]] = _artist[i];
        }
    }

    function updateGenerativeToken(uint16[] calldata _tokenIds, uint8[10][] calldata _attributes) external onlyOwner {
        require(_tokenIds.length == _attributes.length, "Input mismatch.");
        for (uint16 i = 0; i < _tokenIds.length; i++) {
            tokens[_tokenIds[i]].ball_type = 0; // ball type = generative
            tokens[_tokenIds[i]].coord_x = _attributes[i][0]; // 0 => coordination X
            tokens[_tokenIds[i]].coord_y = _attributes[i][1]; // 1 => coordination Y
            tokens[_tokenIds[i]].pattern = _attributes[i][2]; // 2 => pattern
            tokens[_tokenIds[i]].wrap = _attributes[i][3]; // 3 => wrap
            tokens[_tokenIds[i]].overlay = _attributes[i][4]; // 4 => overlay
            tokens[_tokenIds[i]].rally = _attributes[i][5]; // 5 => rally
            tokens[_tokenIds[i]].colour = _attributes[i][6]; // 6 => colour
            tokens[_tokenIds[i]].scheme = _attributes[i][7]; // 7 => scheme
            tokens[_tokenIds[i]].logo = _attributes[i][8]; // 8 => logo
            tokens[_tokenIds[i]].shot = _attributes[i][9]; // 9 => shot
        }
    }

    function withdraw() public onlyOwner {
        uint balanceA = (address(this).balance * 75) / 1000;
        uint balanceB = (address(this).balance * 400) / 1000;
        uint balanceC = (address(this).balance * 200) / 1000;
        uint balanceD = address(this).balance - balanceA - balanceB - balanceC;

        payable(0x6b37Ca573f0A877F342434236721D1eE6CE83bb1).transfer(balanceA);
        payable(0x5151FCF0ED173426d9D095367360Be58F1AE7993).transfer(balanceB);
        payable(0x01cE3D2A58c85983Ab6f40e1f05B6f7EceC3f379).transfer(balanceC);
        payable(0x3c02bA1b4E3149e34880f7bf39C61087B4262a18).transfer(balanceD);
    }

    function withdrawLink() external onlyOwner {
        uint256 balance = LINK.balanceOf(address(this));
        LINK.transfer(msg.sender, balance);
    }
}

interface IMetaKey {
    function balanceOf(address, uint256) external view returns (uint256);
}

File 2 of 16 : 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 3 of 16 : 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 16 : 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 5 of 16 : VRFConsumerBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constuctor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.)
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBase expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomness the VRF output
   */
  function fulfillRandomness(
    bytes32 requestId,
    uint256 randomness
  )
    internal
    virtual;

  /**
   * @dev In order to keep backwards compatibility we have kept the user
   * seed field around. We remove the use of it because given that the blockhash
   * enters later, it overrides whatever randomness the used seed provides.
   * Given that it adds no security, and can easily lead to misunderstandings,
   * we have removed it from usage and can now provide a simpler API.
   */
  uint256 constant private USER_SEED_PLACEHOLDER = 0;

  /**
   * @notice requestRandomness initiates a request for VRF output given _seed
   *
   * @dev The fulfillRandomness method receives the output, once it's provided
   * @dev by the Oracle, and verified by the vrfCoordinator.
   *
   * @dev The _keyHash must already be registered with the VRFCoordinator, and
   * @dev the _fee must exceed the fee specified during registration of the
   * @dev _keyHash.
   *
   * @dev The _seed parameter is vestigial, and is kept only for API
   * @dev compatibility with older versions. It can't *hurt* to mix in some of
   * @dev your own randomness, here, but it's not necessary because the VRF
   * @dev oracle will mix the hash of the block containing your request into the
   * @dev VRF seed it ultimately uses.
   *
   * @param _keyHash ID of public key against which randomness is generated
   * @param _fee The amount of LINK to send with the request
   *
   * @return requestId unique ID for this request
   *
   * @dev The returned requestId can be used to distinguish responses to
   * @dev concurrent requests. It is passed as the first argument to
   * @dev fulfillRandomness.
   */
  function requestRandomness(
    bytes32 _keyHash,
    uint256 _fee
  )
    internal
    returns (
      bytes32 requestId
    )
  {
    LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
    // This is the seed passed to VRFCoordinator. The oracle will mix this with
    // the hash of the block containing this request to obtain the seed/input
    // which is finally passed to the VRF cryptographic machinery.
    uint256 vRFSeed  = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
    // nonces[_keyHash] must stay in sync with
    // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
    // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
    // This provides protection against the user repeating their input seed,
    // which would result in a predictable/duplicate output, if multiple such
    // requests appeared in the same block.
    nonces[_keyHash] = nonces[_keyHash] + 1;
    return makeRequestId(_keyHash, vRFSeed);
  }

  LinkTokenInterface immutable internal LINK;
  address immutable private vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 /* keyHash */ => uint256 /* nonce */) private nonces;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   * @param _link address of LINK token contract
   *
   * @dev https://docs.chain.link/docs/link-token-contracts
   */
  constructor(
    address _vrfCoordinator,
    address _link
  ) {
    vrfCoordinator = _vrfCoordinator;
    LINK = LinkTokenInterface(_link);
  }

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomness(
    bytes32 requestId,
    uint256 randomness
  )
    external
  {
    require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
    fulfillRandomness(requestId, randomness);
  }
}

File 6 of 16 : 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 7 of 16 : 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 8 of 16 : 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 9 of 16 : 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 10 of 16 : 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 11 of 16 : 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 12 of 16 : 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 13 of 16 : 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 14 of 16 : 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);
}

File 15 of 16 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface LinkTokenInterface {

  function allowance(
    address owner,
    address spender
  )
    external
    view
    returns (
      uint256 remaining
    );

  function approve(
    address spender,
    uint256 value
  )
    external
    returns (
      bool success
    );

  function balanceOf(
    address owner
  )
    external
    view
    returns (
      uint256 balance
    );

  function decimals()
    external
    view
    returns (
      uint8 decimalPlaces
    );

  function decreaseApproval(
    address spender,
    uint256 addedValue
  )
    external
    returns (
      bool success
    );

  function increaseApproval(
    address spender,
    uint256 subtractedValue
  ) external;

  function name()
    external
    view
    returns (
      string memory tokenName
    );

  function symbol()
    external
    view
    returns (
      string memory tokenSymbol
    );

  function totalSupply()
    external
    view
    returns (
      uint256 totalTokensIssued
    );

  function transfer(
    address to,
    uint256 value
  )
    external
    returns (
      bool success
    );

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  )
    external
    returns (
      bool success
    );

  function transferFrom(
    address from,
    address to,
    uint256 value
  )
    external
    returns (
      bool success
    );

}

File 16 of 16 : VRFRequestIDBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract VRFRequestIDBase {

  /**
   * @notice returns the seed which is actually input to the VRF coordinator
   *
   * @dev To prevent repetition of VRF output due to repetition of the
   * @dev user-supplied seed, that seed is combined in a hash with the
   * @dev user-specific nonce, and the address of the consuming contract. The
   * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
   * @dev the final seed, but the nonce does protect against repetition in
   * @dev requests which are included in a single block.
   *
   * @param _userSeed VRF seed input provided by user
   * @param _requester Address of the requesting contract
   * @param _nonce User-specific nonce at the time of the request
   */
  function makeVRFInputSeed(
    bytes32 _keyHash,
    uint256 _userSeed,
    address _requester,
    uint256 _nonce
  )
    internal
    pure
    returns (
      uint256
    )
  {
    return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
  }

  /**
   * @notice Returns the id for this request
   * @param _keyHash The serviceAgreement ID to be used for this request
   * @param _vRFInputSeed The seed to be passed directly to the VRF
   * @return The id for this request
   *
   * @dev Note that _vRFInputSeed is not the seed passed by the consuming
   * @dev contract, but the one generated by makeVRFInputSeed
   */
  function makeRequestId(
    bytes32 _keyHash,
    uint256 _vRFInputSeed
  )
    internal
    pure
    returns (
      bytes32
    )
  {
    return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
  }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "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":"uint256","name":"","type":"uint256"}],"name":"BALL_TYPE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BUY_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"COLOUR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LINK_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"LOGO","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SALE_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WHITELIST_SALE_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"OVERLAY","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"PATTERN","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"RALLY","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"SCHEME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"SHOT","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VRF_COORDINATOR_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VRF_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VRF_KEY_HASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"WRAP","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"uint16[]","name":"_winnings","type":"uint16[]"}],"name":"addTokenWinnings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"artist","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boundary","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"eligiblePresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTokenURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_tokenId","type":"uint256"}],"name":"getAttributes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomNumber","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenWinnings","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"stateMutability":"view","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":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"legendPattern","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metakeyEligible","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":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleClaim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleClaimed","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicClaimed","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seedNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"seeded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"uint16[][]","name":"_winnings","type":"uint16[][]"}],"name":"setTokenWinnings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleTokenURI","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"tokens","outputs":[{"internalType":"uint8","name":"ball_type","type":"uint8"},{"internalType":"uint8","name":"pattern","type":"uint8"},{"internalType":"uint8","name":"wrap","type":"uint8"},{"internalType":"uint8","name":"overlay","type":"uint8"},{"internalType":"uint8","name":"rally","type":"uint8"},{"internalType":"uint8","name":"colour","type":"uint8"},{"internalType":"uint8","name":"scheme","type":"uint8"},{"internalType":"uint8","name":"logo","type":"uint8"},{"internalType":"uint8","name":"shot","type":"uint8"},{"internalType":"uint8","name":"coord_x","type":"uint8"},{"internalType":"uint8","name":"coord_y","type":"uint8"},{"internalType":"string","name":"uri","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"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"uint8[2][]","name":"_attributes","type":"uint8[2][]"},{"internalType":"string[]","name":"_artist","type":"string[]"}],"name":"updateArtistToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"uint8[10][]","name":"_attributes","type":"uint8[10][]"}],"name":"updateGenerativeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"uint8[2][]","name":"_attributes","type":"uint8[2][]"},{"internalType":"string[]","name":"_pattern","type":"string[]"}],"name":"updateLegendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistClaimed","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawLink","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600a6101209081526947656e6572617469766560b01b6101405260c0908152600661016081815265105c9d1a5cdd60d21b6101805260e0526101e06040526101a090815265131959d95b9960d21b6101c052610100526200006590600c9060036200082d565b5060405180610100016040528060405180604001604052806005815260200164426c6f636b60d81b81525081526020016040518060400160405280600981526020016814ddd9595d1cdc1bdd60ba1b815250815260200160405180604001604052806008815260200167131bdd9948105b1b60c21b815250815260200160405180604001604052806009815260200168131a5b994810d85b1b60ba1b81525081526020016040518060400160405280600c81526020016b517569657420506c6561736560a01b8152508152602001604051806040016040528060058152602001640a6dac2e6d60db1b8152508152602001604051806040016040528060068152602001654372696b657960d01b815250815260200160405180604001604052806008815260200167486561747761766560c01b815250815250600f906008620001b092919062000884565b506040805160e081018252600460a08201818152634e6f6e6560e01b60c084015282528251808401845260058082526414db585b1b60da1b602083810191909152808501929092528451808601865260068152654d656469756d60d01b818401528486015284518086018652818152644c6172676560d81b818401526060850152845180860190955291845263466c6f7760e01b9084015260808201929092526200025f9160179190620008c9565b506040805160e081018252600460a08201818152634e6f6e6560e01b60c084015282528251808401845260068082526544656c65746560d01b6020838101919091528085019290925284518086018652838152634661646560e01b8184015284860152845180860186529283526304c6f6f760e41b8383015260608401929092528351808501909452908352654d6f7361696360d01b9083015260808101919091526200031190601c906005620008c9565b506040805161010081018252600460c08201908152634c6f766560e01b60e0830152815281518083018352600280825261313560f01b602083810191909152808401929092528351808501855281815261033360f41b81840152838501528351808501855290815261034360f41b818301526060830152825180840184526005815264446575636560d81b81830152608083015282518084019093526009835268416476616e7461676560b81b9083015260a0810191909152620003da9060219060066200090e565b5060408051608081018252600781830190815266414f20426c756560c81b606083015281528151808301909252600882526720a79023b932b2b760c11b6020838101919091528101919091526200043690602790600262000953565b5060408051610140810182526005610100820190815264536861646560d81b6101208301528152815180830183526004815263151a5b9d60e21b6020828101919091528083019190915282518084018452600d81526c436f6d706c696d656e7461727960981b818301528284015282518084018452601381527f436f6d706c696d656e746172792053686164650000000000000000000000000081830152606083015282518084018452601281527110dbdb5c1b1a5b595b9d185c9e48151a5b9d60721b818301526080830152825180840184526009815268416e616c6f676f757360b81b8183015260a08301528251808401845260078152665472696164696360c81b8183015260c08301528251808401909352600880845267546574726164696360c01b9184019190915260e08201929092526200057a916029919062000884565b5060408051608081018252600581830181815264576869746560d81b606084015282528251808401909352825264426c61636b60d81b602083810191909152810191909152620005cf90603190600262000953565b506040518060e001604052806040518060400160405280600381526020016241636560e81b81525081526020016040518060400160405280600581526020016411985d5b1d60da1b8152508152602001604051806040016040528060078152602001662a37b839b834b760c91b815250815260200160405180604001604052806005815260200164536c69636560d81b815250815260200160405180604001604052806006815260200165566f6c6c657960d01b8152508152602001604051806040016040528060038152602001622637b160e91b815250815260200160405180604001604052806008815260200167119bdc995a185b9960c21b8152508152506033906007620006e292919062000998565b50603a805461ffff60581b19166c1a7800000000000000000000001790553480156200070d57600080fd5b5073f0d54349addcf704f77ae15b96510dea15cb795273514910771af9ca656af840dff83e8264ecf986ca6040518060400160405280600b81526020016a1053c8105c9d0810985b1b60aa1b8152506040518060400160405280600481526020016320a92a2160e11b815250620007936200078d620007d960201b60201c565b620007dd565b8151620007a8906001906020850190620009dd565b508051620007be906002906020840190620009dd565b5050506001600160a01b0391821660a0521660805262000b1f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b826003810192821562000872579160200282015b8281111562000872578251805162000861918491602090910190620009dd565b509160200191906001019062000841565b506200088092915062000a68565b5090565b826008810192821562000872579160200282015b82811115620008725782518051620008b8918491602090910190620009dd565b509160200191906001019062000898565b826005810192821562000872579160200282015b82811115620008725782518051620008fd918491602090910190620009dd565b5091602001919060010190620008dd565b826006810192821562000872579160200282015b8281111562000872578251805162000942918491602090910190620009dd565b509160200191906001019062000922565b826002810192821562000872579160200282015b8281111562000872578251805162000987918491602090910190620009dd565b509160200191906001019062000967565b826007810192821562000872579160200282015b82811115620008725782518051620009cc918491602090910190620009dd565b5091602001919060010190620009ac565b828054620009eb9062000ae2565b90600052602060002090601f01602090048101928262000a0f576000855562000a5a565b82601f1062000a2a57805160ff191683800117855562000a5a565b8280016001018555821562000a5a579182015b8281111562000a5a57825182559160200191906001019062000a3d565b506200088092915062000a89565b808211156200088057600062000a7f828262000aa0565b5060010162000a68565b5b8082111562000880576000815560010162000a8a565b50805462000aae9062000ae2565b6000825580601f1062000abf575050565b601f01602090049060005260206000209081019062000adf919062000a89565b50565b600181811c9082168062000af757607f821691505b6020821081141562000b1957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051615d9a62000b616000396000818161248d0152614527015260008181612359015281816123fa0152818161319b01526144f80152615d9a6000f3fe6080604052600436106104475760003560e01c80636c0360eb11610234578063c265d7fd1161012e578063ed08d8eb116100b6578063f735bb0a1161007a578063f735bb0a14610d18578063fc7eda2e14610d2d578063fe599da114610d43578063ff31e45d14610d63578063ffe630b514610d8357600080fd5b8063ed08d8eb14610c65578063edac5f3e14610c8d578063ee728bb614610ca0578063f2fde38b14610cc0578063f3c20de014610ce057600080fd5b8063da06a5f0116100fd578063da06a5f014610b93578063dbdff2c114610bc7578063e4a18a5d14610bdc578063e6e23ad014610bfc578063e985e9c514610c1c57600080fd5b8063c265d7fd14610b13578063c87b56dd14610b33578063cea1d30014610b53578063d6c0b4a014610b7357600080fd5b80638dc654a2116101bc5780639b19251a116101805780639b19251a14610a63578063a22cb46514610a93578063a306d4ed14610ab3578063b88d4fde14610ad3578063ba202edf14610af357600080fd5b80638dc654a2146109dc57806394985ddd146109f157806395d89b4114610a115780639606897014610a2657806398c0f6d114610a3b57600080fd5b8063863bb1cb11610203578063863bb1cb14610949578063873a592e1461096957806389336c531461098957806389b0649b146109a95780638da5cb5b146109be57600080fd5b80636c0360eb146108e4578063705fe4be146108f957806370a0823114610914578063715018a61461093457600080fd5b806342842e0e11610345578063571fe016116102cd578063645bef2d11610291578063645bef2d146108675780636600119c1461088957806368428a1b1461089f5780636ae146c2146108b95780636b8dc355146108ce57600080fd5b8063571fe016146107e5578063593a932d146107fb578063597df654146108105780635b8ad429146108325780636352211e1461084757600080fd5b80634bffde3e116103145780634bffde3e146107465780634f6ccce714610766578063518302271461078657806353135ca0146107a657806355f804b3146107c557600080fd5b806342842e0e146106c45780634378a6e3146106e45780634515798d1461070457806347ad02ae1461072657600080fd5b806318160ddd116103d35780632f745c59116103975780632f745c5914610639578063334041a6146106595780633ccfd60b1461067a5780633fb78bfe1461068f578063418f217e146106bc57600080fd5b806318160ddd146105a95780631c9c7c9c146105c857806323b872dd146105e457806329c68dc1146106045780632cca90841461061957600080fd5b806306fdde031161041a57806306fdde0314610505578063081812fc1461051a578063095ea7b3146105525780630f7309e814610572578063165d7e801461058757600080fd5b806301ffc9a71461044c5780630269c60a1461048157806304b340e4146104a357806304ea8703146104d0575b600080fd5b34801561045857600080fd5b5061046c610467366004614cb3565b610da3565b60405190151581526020015b60405180910390f35b34801561048d57600080fd5b506104a161049c366004614d31565b610dce565b005b3480156104af57600080fd5b506104c36104be366004614d88565b610e78565b6040516104789190614df9565b3480156104dc57600080fd5b50603a546104f290600160381b900461ffff1681565b60405161ffff9091168152602001610478565b34801561051157600080fd5b506104c3610f18565b34801561052657600080fd5b5061053a610535366004614d88565b610faa565b6040516001600160a01b039091168152602001610478565b34801561055e57600080fd5b506104a161056d366004614e28565b611032565b34801561057e57600080fd5b506104c3611148565b34801561059357600080fd5b50603a546104f290600160481b900461ffff1681565b3480156105b557600080fd5b506009545b604051908152602001610478565b3480156105d457600080fd5b506105ba671bc16d674ec8000081565b3480156105f057600080fd5b506104a16105ff366004614e52565b611155565b34801561061057600080fd5b506104a1611186565b34801561062557600080fd5b506104a1610634366004614e8e565b6111c4565b34801561064557600080fd5b506105ba610654366004614e28565b611471565b34801561066557600080fd5b50603a5461046c906301000000900460ff1681565b34801561068657600080fd5b506104a1611507565b34801561069b57600080fd5b506106af6106aa366004614d88565b6116b9565b6040516104789190614f59565b6104a1611797565b3480156106d057600080fd5b506104a16106df366004614e52565b611a20565b3480156106f057600080fd5b506104c36106ff366004614d88565b611a3b565b34801561071057600080fd5b50603a546104f290600160581b900461ffff1681565b34801561073257600080fd5b506104a1610741366004614e8e565b611b26565b34801561075257600080fd5b506104c3610761366004614d88565b611dca565b34801561077257600080fd5b506105ba610781366004614d88565b611dda565b34801561079257600080fd5b50603a5461046c9062010000900460ff1681565b3480156107b257600080fd5b50603a5461046c90610100900460ff1681565b3480156107d157600080fd5b506104a16107e0366004614fe3565b611e6d565b3480156107f157600080fd5b506104f2611a4681565b34801561080757600080fd5b506104a1611ea3565b34801561081c57600080fd5b50603a546104f290600160281b900461ffff1681565b34801561083e57600080fd5b506104a1611ef0565b34801561085357600080fd5b5061053a610862366004614d88565b611f39565b34801561087357600080fd5b50603a5461046c90640100000000900460ff1681565b34801561089557600080fd5b506104f261012c81565b3480156108ab57600080fd5b50603a5461046c9060ff1681565b3480156108c557600080fd5b506104a1611fb0565b3480156108da57600080fd5b506104f2610d3c81565b3480156108f057600080fd5b506104c36120dc565b34801561090557600080fd5b506105ba66ee08251ff3800081565b34801561092057600080fd5b506105ba61092f366004615025565b6120e9565b34801561094057600080fd5b506104a1612170565b34801561095557600080fd5b506104c3610964366004614d88565b6121a4565b34801561097557600080fd5b506104a1610984366004615040565b6121b4565b34801561099557600080fd5b506104c36109a4366004614d88565b6122c0565b3480156109b557600080fd5b506104a16122d0565b3480156109ca57600080fd5b506000546001600160a01b031661053a565b3480156109e857600080fd5b506104a1612317565b3480156109fd57600080fd5b506104a1610a0c3660046150ac565b612482565b348015610a1d57600080fd5b506104c3612518565b348015610a3257600080fd5b5061046c612527565b348015610a4757600080fd5b5061053a73f0d54349addcf704f77ae15b96510dea15cb795281565b348015610a6f57600080fd5b5061046c610a7e366004615025565b60406020819052600091825290205460ff1681565b348015610a9f57600080fd5b506104a1610aae3660046150ce565b612753565b348015610abf57600080fd5b506104c3610ace366004614d88565b612818565b348015610adf57600080fd5b506104a1610aee36600461511b565b612828565b348015610aff57600080fd5b506104a1610b0e3660046151f7565b61285a565b348015610b1f57600080fd5b506104c3610b2e366004615292565b612f7f565b348015610b3f57600080fd5b506104c3610b4e366004614d88565b612f98565b348015610b5f57600080fd5b506104a1610b6e3660046152b6565b6130a1565b348015610b7f57600080fd5b506104c3610b8e366004614d88565b613141565b348015610b9f57600080fd5b506105ba7faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af44581565b348015610bd357600080fd5b506105ba613151565b348015610be857600080fd5b506104c3610bf7366004614d88565b613295565b348015610c0857600080fd5b506104c3610c17366004614d88565b6132a5565b348015610c2857600080fd5b5061046c610c37366004615316565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610c7157600080fd5b5061053a73514910771af9ca656af840dff83e8264ecf986ca81565b6104a1610c9b366004615292565b6132b5565b348015610cac57600080fd5b506104c3610cbb366004615292565b6134db565b348015610ccc57600080fd5b506104a1610cdb366004615025565b6134f4565b348015610cec57600080fd5b50610d00610cfb366004615292565b61358c565b6040516104789c9b9a99989796959493929190615349565b348015610d2457600080fd5b5061046c613699565b348015610d3957600080fd5b506105ba603b5481565b348015610d4f57600080fd5b506104a1610d5e366004615040565b6136db565b348015610d6f57600080fd5b506104c3610d7e366004614d88565b613819565b348015610d8f57600080fd5b506104a1610d9e366004614fe3565b613829565b60006001600160e01b0319821663780e9d6360e01b1480610dc85750610dc88261385f565b92915050565b6000546001600160a01b03163314610e015760405162461bcd60e51b8152600401610df8906153d1565b60405180910390fd5b60005b82811015610e72578160406000868685818110610e2357610e23615406565b9050602002016020810190610e389190615025565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610e6a81615432565b915050610e04565b50505050565b600c8160038110610e8857600080fd5b018054909150610e979061544d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec39061544d565b8015610f105780601f10610ee557610100808354040283529160200191610f10565b820191906000526020600020905b815481529060010190602001808311610ef357829003601f168201915b505050505081565b606060018054610f279061544d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f539061544d565b8015610fa05780601f10610f7557610100808354040283529160200191610fa0565b820191906000526020600020905b815481529060010190602001808311610f8357829003601f168201915b5050505050905090565b6000610fb5826138af565b6110165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610df8565b506000908152600560205260409020546001600160a01b031690565b600061103d82611f39565b9050806001600160a01b0316836001600160a01b031614156110ab5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610df8565b336001600160a01b03821614806110c757506110c78133610c37565b6111395760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610df8565b61114383836138cc565b505050565b603d8054610e979061544d565b61115f338261393a565b61117b5760405162461bcd60e51b8152600401610df890615488565b611143838383613a24565b6000546001600160a01b031633146111b05760405162461bcd60e51b8152600401610df8906153d1565b603a805460ff19811660ff90911615179055565b6000546001600160a01b031633146111ee5760405162461bcd60e51b8152600401610df8906153d1565b84831461120d5760405162461bcd60e51b8152600401610df8906154d9565b84811461122c5760405162461bcd60e51b8152600401610df8906154d9565b60005b61ffff8116861115611468576001603f600089898561ffff1681811061125757611257615406565b905060200201602081019061126c9190615292565b61ffff1661ffff16815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555084848261ffff168181106112b3576112b3615406565b9050604002016000600281106112cb576112cb615406565b6020020160208101906112de9190615502565b603f600089898561ffff168181106112f8576112f8615406565b905060200201602081019061130d9190615292565b61ffff1661ffff16815260200190815260200160002060000160096101000a81548160ff021916908360ff16021790555084848261ffff1681811061135457611354615406565b90506040020160016002811061136c5761136c615406565b60200201602081019061137f9190615502565b603f600089898561ffff1681811061139957611399615406565b90506020020160208101906113ae9190615292565b61ffff1661ffff168152602001908152602001600020600001600a6101000a81548160ff021916908360ff16021790555082828261ffff168181106113f5576113f5615406565b90506020028101906114079190615525565b604260008a8a8661ffff1681811061142157611421615406565b90506020020160208101906114369190615292565b61ffff1681526020810191909152604001600020611455929091614b60565b50806114608161556c565b91505061122f565b50505050505050565b600061147c836120e9565b82106114de5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610df8565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b031633146115315760405162461bcd60e51b8152600401610df8906153d1565b60006103e861154147604b61558e565b61154b91906155c3565b905060006103e861155e4761019061558e565b61156891906155c3565b905060006103e861157a4760c861558e565b61158491906155c3565b90506000818361159486476155d7565b61159e91906155d7565b6115a891906155d7565b604051909150736b37ca573f0a877f342434236721d1ee6ce83bb19085156108fc029086906000818181858888f193505050501580156115ec573d6000803e3d6000fd5b50604051735151fcf0ed173426d9d095367360be58f1ae79939084156108fc029085906000818181858888f1935050505015801561162e573d6000803e3d6000fd5b506040517301ce3d2a58c85983ab6f40e1f05b6f7ecec3f3799083156108fc029084906000818181858888f19350505050158015611670573d6000803e3d6000fd5b50604051733c02ba1b4e3149e34880f7bf39c61087b4262a189082156108fc029083906000818181858888f193505050501580156116b2573d6000803e3d6000fd5b5050505050565b60606116c4826138af565b6117075760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610df8565b61ffff82166000908152603f60209081526040918290206001018054835181840281018401909452808452909183018282801561178b57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116117525790505b50505050509050919050565b603a54610100900460ff166117db5760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b6044820152606401610df8565b3233146118185760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610df8565b611820613699565b61185b5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420656c696769626c6560a01b6044820152606401610df8565b611864336120e9565b156118815760405162461bcd60e51b8152600401610df8906155ee565b61189366ee08251ff38000600161558e565b3410156118db5760405162461bcd60e51b815260206004820152601660248201527522ba3432b9103b30b63ab29034b731b7b93932b1ba1760511b6044820152606401610df8565b3360009081526040602081905290205460ff1680156119095750603a5461012c600160281b90910461ffff16105b156119695761191733613bcf565b603a8054600160281b900461ffff169060056119328361556c565b825461ffff9182166101009390930a928302919092021990911617905550336000908152604060208190529020805460ff19169055565b611971612527565b15611a1e57603a54610d3c9061199390600160381b900461ffff166001615612565b61ffff1611156119de5760405162461bcd60e51b815260206004820152601660248201527522bc31b2b2b239903a37ba30b610383932b9b0b6329760511b6044820152606401610df8565b6119e733613bcf565b603a8054600160381b900461ffff16906007611a028361556c565b91906101000a81548161ffff021916908361ffff160217905550505b565b61114383838360405180602001604052806000815250612828565b6060611a46826138af565b611a895760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610df8565b60408051606081018252613dc481526140c0602082015261410391810191909152611ab383614130565b61ffff84166000908152603f6020526040902054611afe9085908490611ade9060039060ff16615638565b60ff1660038110611af157611af1615406565b602002015163ffffffff16565b604051602001611b0f92919061565a565b604051602081830303815290604052915050919050565b6000546001600160a01b03163314611b505760405162461bcd60e51b8152600401610df8906153d1565b848314611b6f5760405162461bcd60e51b8152600401610df8906154d9565b848114611b8e5760405162461bcd60e51b8152600401610df8906154d9565b60005b61ffff8116861115611468576002603f600089898561ffff16818110611bb957611bb9615406565b9050602002016020810190611bce9190615292565b61ffff1661ffff16815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555084848261ffff16818110611c1557611c15615406565b905060400201600060028110611c2d57611c2d615406565b602002016020810190611c409190615502565b603f600089898561ffff16818110611c5a57611c5a615406565b9050602002016020810190611c6f9190615292565b61ffff1661ffff16815260200190815260200160002060000160096101000a81548160ff021916908360ff16021790555084848261ffff16818110611cb657611cb6615406565b905060400201600160028110611cce57611cce615406565b602002016020810190611ce19190615502565b603f600089898561ffff16818110611cfb57611cfb615406565b9050602002016020810190611d109190615292565b61ffff1661ffff168152602001908152602001600020600001600a6101000a81548160ff021916908360ff16021790555082828261ffff16818110611d5757611d57615406565b9050602002810190611d699190615525565b604160008a8a8661ffff16818110611d8357611d83615406565b9050602002016020810190611d989190615292565b61ffff1681526020810191909152604001600020611db7929091614b60565b5080611dc28161556c565b915050611b91565b60318160028110610e8857600080fd5b6000611de560095490565b8210611e485760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610df8565b60098281548110611e5b57611e5b615406565b90600052602060002001549050919050565b6000546001600160a01b03163314611e975760405162461bcd60e51b8152600401610df8906153d1565b611143603c8383614b60565b6000546001600160a01b03163314611ecd5760405162461bcd60e51b8152600401610df8906153d1565b603a805464ff000000001981166401000000009182900460ff1615909102179055565b6000546001600160a01b03163314611f1a5760405162461bcd60e51b8152600401610df8906153d1565b603a805462ff0000198116620100009182900460ff1615909102179055565b6000818152600360205260408120546001600160a01b031680610dc85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610df8565b6000546001600160a01b03163314611fda5760405162461bcd60e51b8152600401610df8906153d1565b60005b60058161ffff16101561201957612007736b37ca573f0a877f342434236721d1ee6ce83bb1613bcf565b806120118161556c565b915050611fdd565b5060005b600f8161ffff16101561205957612047735151fcf0ed173426d9d095367360be58f1ae7993613bcf565b806120518161556c565b91505061201d565b5060005b600f8161ffff161015612099576120877301ce3d2a58c85983ab6f40e1f05b6f7ecec3f379613bcf565b806120918161556c565b91505061205d565b5060005b600f8161ffff1610156120d9576120c7733c02ba1b4e3149e34880f7bf39c61087b4262a18613bcf565b806120d18161556c565b91505061209d565b50565b603c8054610e979061544d565b60006001600160a01b0382166121545760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610df8565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b0316331461219a5760405162461bcd60e51b8152600401610df8906153d1565b611a1e6000614373565b60178160058110610e8857600080fd5b6000546001600160a01b031633146121de5760405162461bcd60e51b8152600401610df8906153d1565b8281146122245760405162461bcd60e51b815260206004820152601460248201527324b7383aba103230ba309036b4b9b6b0ba31b41760611b6044820152606401610df8565b60005b61ffff81168411156116b25782828261ffff1681811061224957612249615406565b905060200281019061225b91906156b1565b603f600088888661ffff1681811061227557612275615406565b905060200201602081019061228a9190615292565b61ffff16815260208101919091526040016000206122ad92600190910191614be4565b50806122b88161556c565b915050612227565b60278160028110610e8857600080fd5b6000546001600160a01b031633146122fa5760405162461bcd60e51b8152600401610df8906153d1565b603a805461ff001981166101009182900460ff1615909102179055565b6000546001600160a01b031633146123415760405162461bcd60e51b8152600401610df8906153d1565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156123a357600080fd5b505afa1580156123b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123db91906156fb565b60405163a9059cbb60e01b8152336004820152602481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561244657600080fd5b505af115801561245a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247e9190615714565b5050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146124fa5760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610df8565b61247e8282603b5550603a805463ff00000019166301000000179055565b606060028054610f279061544d565b604051627eeac760e11b815233600482015261271460248201526000907310daa9f4c0f985430fde4959adb2c791ef2ccf83908290829062fdd58e9060440160206040518083038186803b15801561257e57600080fd5b505afa158015612592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b691906156fb565b118061263f5750604051627eeac760e11b815233600482015261271360248201526000906001600160a01b0383169062fdd58e9060440160206040518083038186803b15801561260557600080fd5b505afa158015612619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263d91906156fb565b115b806126c65750604051627eeac760e11b8152336004820152600260248201526000906001600160a01b0383169062fdd58e9060440160206040518083038186803b15801561268c57600080fd5b505afa1580156126a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c491906156fb565b115b8061274d5750604051627eeac760e11b8152336004820152600160248201526000906001600160a01b0383169062fdd58e9060440160206040518083038186803b15801561271357600080fd5b505afa158015612727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274b91906156fb565b115b91505090565b6001600160a01b0382163314156127ac5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610df8565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60338160078110610e8857600080fd5b612832338361393a565b61284e5760405162461bcd60e51b8152600401610df890615488565b610e72848484846143c3565b6000546001600160a01b031633146128845760405162461bcd60e51b8152600401610df8906153d1565b8281146128a35760405162461bcd60e51b8152600401610df8906154d9565b60005b61ffff81168411156116b2576000603f600087878561ffff168181106128ce576128ce615406565b90506020020160208101906128e39190615292565b61ffff1661ffff16815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555082828261ffff1681811061292a5761292a615406565b905061014002016000600a811061294357612943615406565b6020020160208101906129569190615502565b603f600087878561ffff1681811061297057612970615406565b90506020020160208101906129859190615292565b61ffff1661ffff16815260200190815260200160002060000160096101000a81548160ff021916908360ff16021790555082828261ffff168181106129cc576129cc615406565b905061014002016001600a81106129e5576129e5615406565b6020020160208101906129f89190615502565b603f600087878561ffff16818110612a1257612a12615406565b9050602002016020810190612a279190615292565b61ffff1661ffff168152602001908152602001600020600001600a6101000a81548160ff021916908360ff16021790555082828261ffff16818110612a6e57612a6e615406565b905061014002016002600a8110612a8757612a87615406565b602002016020810190612a9a9190615502565b603f600087878561ffff16818110612ab457612ab4615406565b9050602002016020810190612ac99190615292565b61ffff1661ffff16815260200190815260200160002060000160016101000a81548160ff021916908360ff16021790555082828261ffff16818110612b1057612b10615406565b905061014002016003600a8110612b2957612b29615406565b602002016020810190612b3c9190615502565b603f600087878561ffff16818110612b5657612b56615406565b9050602002016020810190612b6b9190615292565b61ffff1661ffff16815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555082828261ffff16818110612bb257612bb2615406565b905061014002016004600a8110612bcb57612bcb615406565b602002016020810190612bde9190615502565b603f600087878561ffff16818110612bf857612bf8615406565b9050602002016020810190612c0d9190615292565b61ffff1661ffff16815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555082828261ffff16818110612c5457612c54615406565b905061014002016005600a8110612c6d57612c6d615406565b602002016020810190612c809190615502565b603f600087878561ffff16818110612c9a57612c9a615406565b9050602002016020810190612caf9190615292565b61ffff1661ffff16815260200190815260200160002060000160046101000a81548160ff021916908360ff16021790555082828261ffff16818110612cf657612cf6615406565b905061014002016006600a8110612d0f57612d0f615406565b602002016020810190612d229190615502565b603f600087878561ffff16818110612d3c57612d3c615406565b9050602002016020810190612d519190615292565b61ffff1661ffff16815260200190815260200160002060000160056101000a81548160ff021916908360ff16021790555082828261ffff16818110612d9857612d98615406565b905061014002016007600a8110612db157612db1615406565b602002016020810190612dc49190615502565b603f600087878561ffff16818110612dde57612dde615406565b9050602002016020810190612df39190615292565b61ffff1661ffff16815260200190815260200160002060000160066101000a81548160ff021916908360ff16021790555082828261ffff16818110612e3a57612e3a615406565b905061014002016008600a8110612e5357612e53615406565b602002016020810190612e669190615502565b603f600087878561ffff16818110612e8057612e80615406565b9050602002016020810190612e959190615292565b61ffff1661ffff16815260200190815260200160002060000160076101000a81548160ff021916908360ff16021790555082828261ffff16818110612edc57612edc615406565b905061014002016009600a8110612ef557612ef5615406565b602002016020810190612f089190615502565b603f600087878561ffff16818110612f2257612f22615406565b9050602002016020810190612f379190615292565b61ffff1681526020810191909152604001600020805460ff92909216600160401b0268ff00000000000000001990921691909117905580612f778161556c565b9150506128a6565b60416020526000908152604090208054610e979061544d565b6060612fa3826138af565b612fef5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e2065786973747320746f6b656e2e006044820152606401610df8565b603a5462010000900460ff1661301e57604051806060016040528060358152602001615d306035913992915050565b61ffff82166000908152603f602052604081206002018054849291906130439061544d565b905011801561305c5750603a54640100000000900460ff165b156130925761ffff81166000818152603f6020526040902060020190613081906143f6565b604051602001611b0f9291906157cb565b603c6130818261ffff166143f6565b6000546001600160a01b031633146130cb5760405162461bcd60e51b8152600401610df8906153d1565b60005b61ffff81168411156116b2578282603f600088888661ffff168181106130f6576130f6615406565b905060200201602081019061310b9190615292565b61ffff168152602081019190915260400160002061312e92600290910191614b60565b50806131398161556c565b9150506130ce565b60218160068110610e8857600080fd5b600080546001600160a01b0316331461317c5760405162461bcd60e51b8152600401610df8906153d1565b6040516370a0823160e01b8152306004820152671bc16d674ec80000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156131e557600080fd5b505afa1580156131f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321d91906156fb565b101561325e5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b4102624a7259760811b6044820152606401610df8565b6132907faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445671bc16d674ec800006144f4565b905090565b60298160088110610e8857600080fd5b601c8160058110610e8857600080fd5b603a5460ff166132f45760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b6044820152606401610df8565b3233146133315760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610df8565b60058161ffff16613341336120e9565b61334b91906157e7565b11156133695760405162461bcd60e51b8152600401610df8906155ee565b60058161ffff16111561338e5760405162461bcd60e51b8152600401610df8906155ee565b603a54611a4690829061ffff600160381b82048116916133bf91600160281b8204811691600160481b900416615612565b6133c99190615612565b6133d39190615612565b61ffff1611156134145760405162461bcd60e51b815260206004820152600c60248201526b115e18d95959081d1bdd185b60a21b6044820152606401610df8565b61342966ee08251ff3800061ffff831661558e565b3410156134705760405162461bcd60e51b8152602060048201526015602482015274115d1a195c881d985b1d59481a5b98dbdc9c9958dd605a1b6044820152606401610df8565b60005b8161ffff168161ffff16101561349e5761348c33613bcf565b806134968161556c565b915050613473565b5080603a60098282829054906101000a900461ffff166134be9190615612565b92506101000a81548161ffff021916908361ffff16021790555050565b60426020526000908152604090208054610e979061544d565b6000546001600160a01b0316331461351e5760405162461bcd60e51b8152600401610df8906153d1565b6001600160a01b0381166135835760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610df8565b6120d981614373565b603f602052600090815260409020805460028201805460ff808416946101008504821694620100008104831694630100000082048416946401000000008304851694600160281b8404811694600160301b8504821694600160381b8104831694600160401b8204841694600160481b8304851694600160501b90930490921692916136169061544d565b80601f01602080910402602001604051908101604052809291908181526020018280546136429061544d565b801561368f5780601f106136645761010080835404028352916020019161368f565b820191906000526020600020905b81548152906001019060200180831161367257829003601f168201915b505050505090508c565b60006136a3612527565b8061329057503360009081526040602081905290205460ff1680156132905750603a5461012c600160281b90910461ffff1610905090565b6000546001600160a01b031633146137055760405162461bcd60e51b8152600401610df8906153d1565b82811461374b5760405162461bcd60e51b815260206004820152601460248201527324b7383aba103230ba309036b4b9b6b0ba31b41760611b6044820152606401610df8565b60005b61ffff81168411156116b257603f600086868461ffff1681811061377457613774615406565b90506020020160208101906137899190615292565b61ffff1661ffff16815260200190815260200160002060010183838361ffff168181106137b8576137b8615406565b90506020020160208101906137cd9190615292565b81546001810183556000928352602090922060108304018054600f9093166002026101000a61ffff818102199094169290931692909202179055806138118161556c565b91505061374e565b600f8160088110610e8857600080fd5b6000546001600160a01b031633146138535760405162461bcd60e51b8152600401610df8906153d1565b611143603d8383614b60565b60006001600160e01b031982166380ac58cd60e01b148061389057506001600160e01b03198216635b5e139f60e01b145b80610dc857506301ffc9a760e01b6001600160e01b0319831614610dc8565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061390182611f39565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000613945826138af565b6139a65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610df8565b60006139b183611f39565b9050806001600160a01b0316846001600160a01b031614806139ec5750836001600160a01b03166139e184610faa565b6001600160a01b0316145b80613a1c57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316613a3782611f39565b6001600160a01b031614613a9f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610df8565b6001600160a01b038216613b015760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610df8565b613b0c83838361467f565b613b176000826138cc565b6001600160a01b0383166000908152600460205260408120805460019290613b409084906155d7565b90915550506001600160a01b0382166000908152600460205260408120805460019290613b6e9084906157e7565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b603a546301000000900460ff16613c185760405162461bcd60e51b815260206004820152600d60248201526c1399595908159491881cd95959609a1b6044820152606401610df8565b603a54603b5460009161ffff600160581b9091041690428443613c3a60095490565b6040805160208101969096528501939093526bffffffffffffffffffffffff19606092831b8116838601526074850191909152609484019290925230901b1660b482015260c8016040516020818303038152906040528051906020012060001c613ca491906157ff565b613caf906001615612565b61ffff8082166000908152603e60205260408120549293509116613cdd57613cd8600183615813565b613cff565b61ffff8083166000908152603e6020526040902054613cff9160019116615813565b603a5461ffff600160581b90910481166000908152603e602052604090205491925016613d3957603a54600160581b900461ffff16613d5a565b603a5461ffff600160581b90910481166000908152603e6020526040902054165b61ffff8381166000908152603e60205260409020805461ffff191692821692909217909155603a8054600192600b91613d9c918591600160581b900416615813565b92506101000a81548161ffff021916908361ffff160217905550611143838261ffff16614737565b61ffff81166000908152603f6020908152604080832081516101a081018352815460ff8082168352610100808304821684880152620100008304821684870152630100000083048216606085810191909152640100000000840483166080860152600160281b8404831660a0860152600160301b8404831660c0860152600160381b8404831660e0860152600160401b8404831691850191909152600160481b83048216610120850152600160501b909204166101408301526001830180548551818802810188019096528086529196959294610160860193909290830182828015613ef757602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411613ebe5790505b50505050508152602001600282018054613f109061544d565b80601f0160208091040260200160405190810160405280929190818152602001828054613f3c9061544d565b8015613f895780601f10613f5e57610100808354040283529160200191613f89565b820191906000526020600020905b815481529060010190602001808311613f6c57829003601f168201915b5050505050815250509050600f816020015160ff1660088110613fae57613fae615406565b016017826040015160ff1660058110613fc957613fc9615406565b01601c836060015160ff1660058110613fe457613fe4615406565b016021846080015160ff1660068110613fff57613fff615406565b016040516020016140139493929190615836565b60405160208183030381529060405260278260a0015160ff166002811061403c5761403c615406565b0160298360c0015160ff166008811061405757614057615406565b0160318460e0015160ff166002811061407257614072615406565b01603385610100015160ff166007811061408e5761408e615406565b016040516020016140a29493929190615938565b60408051601f1981840301815290829052611b0f9291602001615a2d565b6060604260008361ffff1661ffff1681526020019081526020016000206040516020016140ed9190615a53565b6040516020818303038152906040529050919050565b6060604160008361ffff1661ffff1681526020019081526020016000206040516020016140ed9190615a97565b61ffff81166000908152603f6020908152604080832081516101a081018352815460ff8082168352610100808304821684880152620100008304821684870152630100000083048216606085810191909152640100000000840483166080860152600160281b8404831660a0860152600160301b8404831660c0860152600160381b8404831660e0860152600160401b8404831691850191909152600160481b83048216610120850152600160501b90920416610140830152600183018054855181880281018801909652808652919695929461016086019390929083018282801561426357602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161422a5790505b5050505050815260200160028201805461427c9061544d565b80601f01602080910402602001604051908101604052809291908181526020018280546142a89061544d565b80156142f55780601f106142ca576101008083540402835291602001916142f5565b820191906000526020600020905b8154815290600101906020018083116142d857829003601f168201915b505050505081525050905061431983600161431091906157e7565b61ffff166143f6565b61432a82610120015160ff166143f6565b61433b83610140015160ff166143f6565b8351600c9061434c90600390615638565b60ff166003811061435f5761435f615406565b01604051602001611b0f9493929190615add565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6143ce848484613a24565b6143da84848484614751565b610e725760405162461bcd60e51b8152600401610df890615c3d565b60608161441a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115614444578061442e81615432565b915061443d9050600a836155c3565b915061441e565b60008167ffffffffffffffff81111561445f5761445f615105565b6040519080825280601f01601f191660200182016040528015614489576020820181803683370190505b5090505b8415613a1c5761449e6001836155d7565b91506144ab600a866157ff565b6144b69060306157e7565b60f81b8183815181106144cb576144cb615406565b60200101906001600160f81b031916908160001a9053506144ed600a866155c3565b945061448d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001614564929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161459193929190615c8f565b602060405180830381600087803b1580156145ab57600080fd5b505af11580156145bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145e39190615714565b506000838152600b6020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a09091019092528151918301919091209387905291905261463f9060016157e7565b6000858152600b6020526040902055613a1c8482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6001600160a01b0383166146da576146d581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6146fd565b816001600160a01b0316836001600160a01b0316146146fd576146fd838261485e565b6001600160a01b03821661471457611143816148fb565b826001600160a01b0316826001600160a01b0316146111435761114382826149aa565b61247e8282604051806020016040528060008152506149ee565b60006001600160a01b0384163b1561485357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290614795903390899088908890600401615cbf565b602060405180830381600087803b1580156147af57600080fd5b505af19250505080156147df575060408051601f3d908101601f191682019092526147dc91810190615cfc565b60015b614839573d80801561480d576040519150601f19603f3d011682016040523d82523d6000602084013e614812565b606091505b5080516148315760405162461bcd60e51b8152600401610df890615c3d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613a1c565b506001949350505050565b6000600161486b846120e9565b61487591906155d7565b6000838152600860205260409020549091508082146148c8576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061490d906001906155d7565b6000838152600a60205260408120546009805493945090928490811061493557614935615406565b90600052602060002001549050806009838154811061495657614956615406565b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061498e5761498e615d19565b6001900381819060005260206000200160009055905550505050565b60006149b5836120e9565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6149f88383614a21565b614a056000848484614751565b6111435760405162461bcd60e51b8152600401610df890615c3d565b6001600160a01b038216614a775760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610df8565b614a80816138af565b15614acd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610df8565b614ad96000838361467f565b6001600160a01b0382166000908152600460205260408120805460019290614b029084906157e7565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054614b6c9061544d565b90600052602060002090601f016020900481019282614b8e5760008555614bd4565b82601f10614ba75782800160ff19823516178555614bd4565b82800160010185558215614bd4579182015b82811115614bd4578235825591602001919060010190614bb9565b50614be0929150614c88565b5090565b82805482825590600052602060002090600f01601090048101928215614bd45791602002820160005b83821115614c5157833561ffff1683826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302614c0d565b8015614c7f5782816101000a81549061ffff0219169055600201602081600101049283019260010302614c51565b5050614be09291505b5b80821115614be05760008155600101614c89565b6001600160e01b0319811681146120d957600080fd5b600060208284031215614cc557600080fd5b8135614cd081614c9d565b9392505050565b60008083601f840112614ce957600080fd5b50813567ffffffffffffffff811115614d0157600080fd5b6020830191508360208260051b8501011115614d1c57600080fd5b9250929050565b80151581146120d957600080fd5b600080600060408486031215614d4657600080fd5b833567ffffffffffffffff811115614d5d57600080fd5b614d6986828701614cd7565b9094509250506020840135614d7d81614d23565b809150509250925092565b600060208284031215614d9a57600080fd5b5035919050565b60005b83811015614dbc578181015183820152602001614da4565b83811115610e725750506000910152565b60008151808452614de5816020860160208601614da1565b601f01601f19169290920160200192915050565b602081526000614cd06020830184614dcd565b80356001600160a01b0381168114614e2357600080fd5b919050565b60008060408385031215614e3b57600080fd5b614e4483614e0c565b946020939093013593505050565b600080600060608486031215614e6757600080fd5b614e7084614e0c565b9250614e7e60208501614e0c565b9150604084013590509250925092565b60008060008060008060608789031215614ea757600080fd5b863567ffffffffffffffff80821115614ebf57600080fd5b614ecb8a838b01614cd7565b90985096506020890135915080821115614ee457600080fd5b818901915089601f830112614ef857600080fd5b813581811115614f0757600080fd5b8a60208260061b8501011115614f1c57600080fd5b602083019650809550506040890135915080821115614f3a57600080fd5b50614f4789828a01614cd7565b979a9699509497509295939492505050565b6020808252825182820181905260009190848201906040850190845b81811015614f9557835161ffff1683529284019291840191600101614f75565b50909695505050505050565b60008083601f840112614fb357600080fd5b50813567ffffffffffffffff811115614fcb57600080fd5b602083019150836020828501011115614d1c57600080fd5b60008060208385031215614ff657600080fd5b823567ffffffffffffffff81111561500d57600080fd5b61501985828601614fa1565b90969095509350505050565b60006020828403121561503757600080fd5b614cd082614e0c565b6000806000806040858703121561505657600080fd5b843567ffffffffffffffff8082111561506e57600080fd5b61507a88838901614cd7565b9096509450602087013591508082111561509357600080fd5b506150a087828801614cd7565b95989497509550505050565b600080604083850312156150bf57600080fd5b50508035926020909101359150565b600080604083850312156150e157600080fd5b6150ea83614e0c565b915060208301356150fa81614d23565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561513157600080fd5b61513a85614e0c565b935061514860208601614e0c565b925060408501359150606085013567ffffffffffffffff8082111561516c57600080fd5b818701915087601f83011261518057600080fd5b81358181111561519257615192615105565b604051601f8201601f19908116603f011681019083821181831017156151ba576151ba615105565b816040528281528a60208487010111156151d357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000806040858703121561520d57600080fd5b843567ffffffffffffffff8082111561522557600080fd5b61523188838901614cd7565b9096509450602087013591508082111561524a57600080fd5b818701915087601f83011261525e57600080fd5b81358181111561526d57600080fd5b8860206101408302850101111561528357600080fd5b95989497505060200194505050565b6000602082840312156152a457600080fd5b813561ffff81168114614cd057600080fd5b600080600080604085870312156152cc57600080fd5b843567ffffffffffffffff808211156152e457600080fd5b6152f088838901614cd7565b9096509450602087013591508082111561530957600080fd5b506150a087828801614fa1565b6000806040838503121561532957600080fd5b61533283614e0c565b915061534060208401614e0c565b90509250929050565b60ff8d811682528c811660208301528b811660408301528a81166060830152898116608083015288811660a0830152871660c0820152600060ff871660e083015260ff861661010083015260ff851661012083015260ff84166101408301526101806101608301526153bf610180830184614dcd565b9e9d5050505050505050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156154465761544661541c565b5060010190565b600181811c9082168061546157607f821691505b6020821081141561548257634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600f908201526e24b7383aba1036b4b9b6b0ba31b41760891b604082015260600190565b60006020828403121561551457600080fd5b813560ff81168114614cd057600080fd5b6000808335601e1984360301811261553c57600080fd5b83018035915067ffffffffffffffff82111561555757600080fd5b602001915036819003821315614d1c57600080fd5b600061ffff808316818114156155845761558461541c565b6001019392505050565b60008160001904831182151516156155a8576155a861541c565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826155d2576155d26155ad565b500490565b6000828210156155e9576155e961541c565b500390565b6020808252600a908201526908af0c6cacac840dac2f60b31b604082015260600190565b600061ffff80831681851680830382111561562f5761562f61541c565b01949350505050565b600060ff83168061564b5761564b6155ad565b8060ff84160691505092915050565b605b60f81b815260008351615676816001850160208801614da1565b600b60fa1b6001918401918201528351615697816002840160208801614da1565b605d60f81b60029290910191820152600301949350505050565b6000808335601e198436030181126156c857600080fd5b83018035915067ffffffffffffffff8211156156e357600080fd5b6020019150600581901b3603821315614d1c57600080fd5b60006020828403121561570d57600080fd5b5051919050565b60006020828403121561572657600080fd5b8151614cd081614d23565b8054600090600181811c908083168061574b57607f831692505b602080841082141561576d57634e487b7160e01b600052602260045260246000fd5b8180156157815760018114615792576157bf565b60ff198616895284890196506157bf565b60008881526020902060005b868110156157b75781548b82015290850190830161579e565b505084890196505b50505050505092915050565b60006157d78285615731565b835161562f818360208801614da1565b600082198211156157fa576157fa61541c565b500190565b60008261580e5761580e6155ad565b500690565b600061ffff8381169083168181101561582e5761582e61541c565b039392505050565b7f7b2274726169745f74797065223a225061747465726e222c2276616c7565223a81526000601160f91b8060208401526158736021840188615731565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2257726170222c2276616c7565223a22000060038301526158b06021830189615731565b91508082527f7b2274726169745f74797065223a224f7665726c6179222c2276616c7565223a60038301528260238301526158ee6024830188615731565b92508083527f7b2274726169745f74797065223a2252616c6c79222c2276616c7565223a220060038401526159266022840187615731565b90815260030198975050505050505050565b7f7b2274726169745f74797065223a22436f6c6f7572222c2276616c7565223a228152600061596a6020830187615731565b62089f4b60ea1b8082527f7b2274726169745f74797065223a22536368656d65222c2276616c7565223a2260038301526159a76023830188615731565b91508082527f7b2274726169745f74797065223a224c6f676f222c2276616c7565223a22000060038301526159df6021830187615731565b9081527f7b2274726169745f74797065223a2253686f74222c2276616c7565223a22000060038201529050615a176021820185615731565b61227d60f01b8152600201979650505050505050565b60008351615a3f818460208801614da1565b83519083019061562f818360208801614da1565b7f7b2274726169745f74797065223a22417274697374222c2276616c7565223a2281526000615a856020830184615731565b61227d60f01b81526002019392505050565b7f7b2274726169745f74797065223a224c6567656e64617279205061747465726e81526a1116113b30b63ab2911d1160a91b60208201526000615a85602b830184615731565b7f7b2274726169745f74797065223a22506c6f74204e6f222c2276616c7565223a8152601160f91b602082015260008551615b1f816021850160208a01614da1565b7f227d2c7b2274726169745f74797065223a225820436f6f7264696e617465222c60219184019182015268113b30b63ab2911d1160b91b60418201528551615b6e81604a840160208a01614da1565b62089f4b60ea1b604a92909101918201527f7b2274726169745f74797065223a225920436f6f7264696e617465222c227661604d82015265363ab2911d1160d11b606d8201528451615bc7816073840160208901614da1565b615c31615c23615c1d615be860738587010162089f4b60ea1b815260030190565b7f7b2274726169745f74797065223a2242616c6c2054797065222c2276616c7565815262111d1160e91b602082015260230190565b87615731565b61227d60f01b815260020190565b98975050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60018060a01b0384168152826020820152606060408201526000615cb66060830184614dcd565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090615cf290830184614dcd565b9695505050505050565b600060208284031215615d0e57600080fd5b8151614cd081614c9d565b634e487b7160e01b600052603160045260246000fdfe697066733a2f2f516d554d65414a646a725a5963614c624352444633354d425861314c644550707436527a69776854416270674134a2646970667358221220ed2356a14fdce1eee138d2d7c6fe8fdd703f0564b26e7cee3cca294c1b8b2c2c64736f6c63430008090033

Deployed Bytecode

0x6080604052600436106104475760003560e01c80636c0360eb11610234578063c265d7fd1161012e578063ed08d8eb116100b6578063f735bb0a1161007a578063f735bb0a14610d18578063fc7eda2e14610d2d578063fe599da114610d43578063ff31e45d14610d63578063ffe630b514610d8357600080fd5b8063ed08d8eb14610c65578063edac5f3e14610c8d578063ee728bb614610ca0578063f2fde38b14610cc0578063f3c20de014610ce057600080fd5b8063da06a5f0116100fd578063da06a5f014610b93578063dbdff2c114610bc7578063e4a18a5d14610bdc578063e6e23ad014610bfc578063e985e9c514610c1c57600080fd5b8063c265d7fd14610b13578063c87b56dd14610b33578063cea1d30014610b53578063d6c0b4a014610b7357600080fd5b80638dc654a2116101bc5780639b19251a116101805780639b19251a14610a63578063a22cb46514610a93578063a306d4ed14610ab3578063b88d4fde14610ad3578063ba202edf14610af357600080fd5b80638dc654a2146109dc57806394985ddd146109f157806395d89b4114610a115780639606897014610a2657806398c0f6d114610a3b57600080fd5b8063863bb1cb11610203578063863bb1cb14610949578063873a592e1461096957806389336c531461098957806389b0649b146109a95780638da5cb5b146109be57600080fd5b80636c0360eb146108e4578063705fe4be146108f957806370a0823114610914578063715018a61461093457600080fd5b806342842e0e11610345578063571fe016116102cd578063645bef2d11610291578063645bef2d146108675780636600119c1461088957806368428a1b1461089f5780636ae146c2146108b95780636b8dc355146108ce57600080fd5b8063571fe016146107e5578063593a932d146107fb578063597df654146108105780635b8ad429146108325780636352211e1461084757600080fd5b80634bffde3e116103145780634bffde3e146107465780634f6ccce714610766578063518302271461078657806353135ca0146107a657806355f804b3146107c557600080fd5b806342842e0e146106c45780634378a6e3146106e45780634515798d1461070457806347ad02ae1461072657600080fd5b806318160ddd116103d35780632f745c59116103975780632f745c5914610639578063334041a6146106595780633ccfd60b1461067a5780633fb78bfe1461068f578063418f217e146106bc57600080fd5b806318160ddd146105a95780631c9c7c9c146105c857806323b872dd146105e457806329c68dc1146106045780632cca90841461061957600080fd5b806306fdde031161041a57806306fdde0314610505578063081812fc1461051a578063095ea7b3146105525780630f7309e814610572578063165d7e801461058757600080fd5b806301ffc9a71461044c5780630269c60a1461048157806304b340e4146104a357806304ea8703146104d0575b600080fd5b34801561045857600080fd5b5061046c610467366004614cb3565b610da3565b60405190151581526020015b60405180910390f35b34801561048d57600080fd5b506104a161049c366004614d31565b610dce565b005b3480156104af57600080fd5b506104c36104be366004614d88565b610e78565b6040516104789190614df9565b3480156104dc57600080fd5b50603a546104f290600160381b900461ffff1681565b60405161ffff9091168152602001610478565b34801561051157600080fd5b506104c3610f18565b34801561052657600080fd5b5061053a610535366004614d88565b610faa565b6040516001600160a01b039091168152602001610478565b34801561055e57600080fd5b506104a161056d366004614e28565b611032565b34801561057e57600080fd5b506104c3611148565b34801561059357600080fd5b50603a546104f290600160481b900461ffff1681565b3480156105b557600080fd5b506009545b604051908152602001610478565b3480156105d457600080fd5b506105ba671bc16d674ec8000081565b3480156105f057600080fd5b506104a16105ff366004614e52565b611155565b34801561061057600080fd5b506104a1611186565b34801561062557600080fd5b506104a1610634366004614e8e565b6111c4565b34801561064557600080fd5b506105ba610654366004614e28565b611471565b34801561066557600080fd5b50603a5461046c906301000000900460ff1681565b34801561068657600080fd5b506104a1611507565b34801561069b57600080fd5b506106af6106aa366004614d88565b6116b9565b6040516104789190614f59565b6104a1611797565b3480156106d057600080fd5b506104a16106df366004614e52565b611a20565b3480156106f057600080fd5b506104c36106ff366004614d88565b611a3b565b34801561071057600080fd5b50603a546104f290600160581b900461ffff1681565b34801561073257600080fd5b506104a1610741366004614e8e565b611b26565b34801561075257600080fd5b506104c3610761366004614d88565b611dca565b34801561077257600080fd5b506105ba610781366004614d88565b611dda565b34801561079257600080fd5b50603a5461046c9062010000900460ff1681565b3480156107b257600080fd5b50603a5461046c90610100900460ff1681565b3480156107d157600080fd5b506104a16107e0366004614fe3565b611e6d565b3480156107f157600080fd5b506104f2611a4681565b34801561080757600080fd5b506104a1611ea3565b34801561081c57600080fd5b50603a546104f290600160281b900461ffff1681565b34801561083e57600080fd5b506104a1611ef0565b34801561085357600080fd5b5061053a610862366004614d88565b611f39565b34801561087357600080fd5b50603a5461046c90640100000000900460ff1681565b34801561089557600080fd5b506104f261012c81565b3480156108ab57600080fd5b50603a5461046c9060ff1681565b3480156108c557600080fd5b506104a1611fb0565b3480156108da57600080fd5b506104f2610d3c81565b3480156108f057600080fd5b506104c36120dc565b34801561090557600080fd5b506105ba66ee08251ff3800081565b34801561092057600080fd5b506105ba61092f366004615025565b6120e9565b34801561094057600080fd5b506104a1612170565b34801561095557600080fd5b506104c3610964366004614d88565b6121a4565b34801561097557600080fd5b506104a1610984366004615040565b6121b4565b34801561099557600080fd5b506104c36109a4366004614d88565b6122c0565b3480156109b557600080fd5b506104a16122d0565b3480156109ca57600080fd5b506000546001600160a01b031661053a565b3480156109e857600080fd5b506104a1612317565b3480156109fd57600080fd5b506104a1610a0c3660046150ac565b612482565b348015610a1d57600080fd5b506104c3612518565b348015610a3257600080fd5b5061046c612527565b348015610a4757600080fd5b5061053a73f0d54349addcf704f77ae15b96510dea15cb795281565b348015610a6f57600080fd5b5061046c610a7e366004615025565b60406020819052600091825290205460ff1681565b348015610a9f57600080fd5b506104a1610aae3660046150ce565b612753565b348015610abf57600080fd5b506104c3610ace366004614d88565b612818565b348015610adf57600080fd5b506104a1610aee36600461511b565b612828565b348015610aff57600080fd5b506104a1610b0e3660046151f7565b61285a565b348015610b1f57600080fd5b506104c3610b2e366004615292565b612f7f565b348015610b3f57600080fd5b506104c3610b4e366004614d88565b612f98565b348015610b5f57600080fd5b506104a1610b6e3660046152b6565b6130a1565b348015610b7f57600080fd5b506104c3610b8e366004614d88565b613141565b348015610b9f57600080fd5b506105ba7faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af44581565b348015610bd357600080fd5b506105ba613151565b348015610be857600080fd5b506104c3610bf7366004614d88565b613295565b348015610c0857600080fd5b506104c3610c17366004614d88565b6132a5565b348015610c2857600080fd5b5061046c610c37366004615316565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610c7157600080fd5b5061053a73514910771af9ca656af840dff83e8264ecf986ca81565b6104a1610c9b366004615292565b6132b5565b348015610cac57600080fd5b506104c3610cbb366004615292565b6134db565b348015610ccc57600080fd5b506104a1610cdb366004615025565b6134f4565b348015610cec57600080fd5b50610d00610cfb366004615292565b61358c565b6040516104789c9b9a99989796959493929190615349565b348015610d2457600080fd5b5061046c613699565b348015610d3957600080fd5b506105ba603b5481565b348015610d4f57600080fd5b506104a1610d5e366004615040565b6136db565b348015610d6f57600080fd5b506104c3610d7e366004614d88565b613819565b348015610d8f57600080fd5b506104a1610d9e366004614fe3565b613829565b60006001600160e01b0319821663780e9d6360e01b1480610dc85750610dc88261385f565b92915050565b6000546001600160a01b03163314610e015760405162461bcd60e51b8152600401610df8906153d1565b60405180910390fd5b60005b82811015610e72578160406000868685818110610e2357610e23615406565b9050602002016020810190610e389190615025565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610e6a81615432565b915050610e04565b50505050565b600c8160038110610e8857600080fd5b018054909150610e979061544d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec39061544d565b8015610f105780601f10610ee557610100808354040283529160200191610f10565b820191906000526020600020905b815481529060010190602001808311610ef357829003601f168201915b505050505081565b606060018054610f279061544d565b80601f0160208091040260200160405190810160405280929190818152602001828054610f539061544d565b8015610fa05780601f10610f7557610100808354040283529160200191610fa0565b820191906000526020600020905b815481529060010190602001808311610f8357829003601f168201915b5050505050905090565b6000610fb5826138af565b6110165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610df8565b506000908152600560205260409020546001600160a01b031690565b600061103d82611f39565b9050806001600160a01b0316836001600160a01b031614156110ab5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610df8565b336001600160a01b03821614806110c757506110c78133610c37565b6111395760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610df8565b61114383836138cc565b505050565b603d8054610e979061544d565b61115f338261393a565b61117b5760405162461bcd60e51b8152600401610df890615488565b611143838383613a24565b6000546001600160a01b031633146111b05760405162461bcd60e51b8152600401610df8906153d1565b603a805460ff19811660ff90911615179055565b6000546001600160a01b031633146111ee5760405162461bcd60e51b8152600401610df8906153d1565b84831461120d5760405162461bcd60e51b8152600401610df8906154d9565b84811461122c5760405162461bcd60e51b8152600401610df8906154d9565b60005b61ffff8116861115611468576001603f600089898561ffff1681811061125757611257615406565b905060200201602081019061126c9190615292565b61ffff1661ffff16815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555084848261ffff168181106112b3576112b3615406565b9050604002016000600281106112cb576112cb615406565b6020020160208101906112de9190615502565b603f600089898561ffff168181106112f8576112f8615406565b905060200201602081019061130d9190615292565b61ffff1661ffff16815260200190815260200160002060000160096101000a81548160ff021916908360ff16021790555084848261ffff1681811061135457611354615406565b90506040020160016002811061136c5761136c615406565b60200201602081019061137f9190615502565b603f600089898561ffff1681811061139957611399615406565b90506020020160208101906113ae9190615292565b61ffff1661ffff168152602001908152602001600020600001600a6101000a81548160ff021916908360ff16021790555082828261ffff168181106113f5576113f5615406565b90506020028101906114079190615525565b604260008a8a8661ffff1681811061142157611421615406565b90506020020160208101906114369190615292565b61ffff1681526020810191909152604001600020611455929091614b60565b50806114608161556c565b91505061122f565b50505050505050565b600061147c836120e9565b82106114de5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610df8565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b031633146115315760405162461bcd60e51b8152600401610df8906153d1565b60006103e861154147604b61558e565b61154b91906155c3565b905060006103e861155e4761019061558e565b61156891906155c3565b905060006103e861157a4760c861558e565b61158491906155c3565b90506000818361159486476155d7565b61159e91906155d7565b6115a891906155d7565b604051909150736b37ca573f0a877f342434236721d1ee6ce83bb19085156108fc029086906000818181858888f193505050501580156115ec573d6000803e3d6000fd5b50604051735151fcf0ed173426d9d095367360be58f1ae79939084156108fc029085906000818181858888f1935050505015801561162e573d6000803e3d6000fd5b506040517301ce3d2a58c85983ab6f40e1f05b6f7ecec3f3799083156108fc029084906000818181858888f19350505050158015611670573d6000803e3d6000fd5b50604051733c02ba1b4e3149e34880f7bf39c61087b4262a189082156108fc029083906000818181858888f193505050501580156116b2573d6000803e3d6000fd5b5050505050565b60606116c4826138af565b6117075760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610df8565b61ffff82166000908152603f60209081526040918290206001018054835181840281018401909452808452909183018282801561178b57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116117525790505b50505050509050919050565b603a54610100900460ff166117db5760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b6044820152606401610df8565b3233146118185760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610df8565b611820613699565b61185b5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420656c696769626c6560a01b6044820152606401610df8565b611864336120e9565b156118815760405162461bcd60e51b8152600401610df8906155ee565b61189366ee08251ff38000600161558e565b3410156118db5760405162461bcd60e51b815260206004820152601660248201527522ba3432b9103b30b63ab29034b731b7b93932b1ba1760511b6044820152606401610df8565b3360009081526040602081905290205460ff1680156119095750603a5461012c600160281b90910461ffff16105b156119695761191733613bcf565b603a8054600160281b900461ffff169060056119328361556c565b825461ffff9182166101009390930a928302919092021990911617905550336000908152604060208190529020805460ff19169055565b611971612527565b15611a1e57603a54610d3c9061199390600160381b900461ffff166001615612565b61ffff1611156119de5760405162461bcd60e51b815260206004820152601660248201527522bc31b2b2b239903a37ba30b610383932b9b0b6329760511b6044820152606401610df8565b6119e733613bcf565b603a8054600160381b900461ffff16906007611a028361556c565b91906101000a81548161ffff021916908361ffff160217905550505b565b61114383838360405180602001604052806000815250612828565b6060611a46826138af565b611a895760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610df8565b60408051606081018252613dc481526140c0602082015261410391810191909152611ab383614130565b61ffff84166000908152603f6020526040902054611afe9085908490611ade9060039060ff16615638565b60ff1660038110611af157611af1615406565b602002015163ffffffff16565b604051602001611b0f92919061565a565b604051602081830303815290604052915050919050565b6000546001600160a01b03163314611b505760405162461bcd60e51b8152600401610df8906153d1565b848314611b6f5760405162461bcd60e51b8152600401610df8906154d9565b848114611b8e5760405162461bcd60e51b8152600401610df8906154d9565b60005b61ffff8116861115611468576002603f600089898561ffff16818110611bb957611bb9615406565b9050602002016020810190611bce9190615292565b61ffff1661ffff16815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555084848261ffff16818110611c1557611c15615406565b905060400201600060028110611c2d57611c2d615406565b602002016020810190611c409190615502565b603f600089898561ffff16818110611c5a57611c5a615406565b9050602002016020810190611c6f9190615292565b61ffff1661ffff16815260200190815260200160002060000160096101000a81548160ff021916908360ff16021790555084848261ffff16818110611cb657611cb6615406565b905060400201600160028110611cce57611cce615406565b602002016020810190611ce19190615502565b603f600089898561ffff16818110611cfb57611cfb615406565b9050602002016020810190611d109190615292565b61ffff1661ffff168152602001908152602001600020600001600a6101000a81548160ff021916908360ff16021790555082828261ffff16818110611d5757611d57615406565b9050602002810190611d699190615525565b604160008a8a8661ffff16818110611d8357611d83615406565b9050602002016020810190611d989190615292565b61ffff1681526020810191909152604001600020611db7929091614b60565b5080611dc28161556c565b915050611b91565b60318160028110610e8857600080fd5b6000611de560095490565b8210611e485760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610df8565b60098281548110611e5b57611e5b615406565b90600052602060002001549050919050565b6000546001600160a01b03163314611e975760405162461bcd60e51b8152600401610df8906153d1565b611143603c8383614b60565b6000546001600160a01b03163314611ecd5760405162461bcd60e51b8152600401610df8906153d1565b603a805464ff000000001981166401000000009182900460ff1615909102179055565b6000546001600160a01b03163314611f1a5760405162461bcd60e51b8152600401610df8906153d1565b603a805462ff0000198116620100009182900460ff1615909102179055565b6000818152600360205260408120546001600160a01b031680610dc85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610df8565b6000546001600160a01b03163314611fda5760405162461bcd60e51b8152600401610df8906153d1565b60005b60058161ffff16101561201957612007736b37ca573f0a877f342434236721d1ee6ce83bb1613bcf565b806120118161556c565b915050611fdd565b5060005b600f8161ffff16101561205957612047735151fcf0ed173426d9d095367360be58f1ae7993613bcf565b806120518161556c565b91505061201d565b5060005b600f8161ffff161015612099576120877301ce3d2a58c85983ab6f40e1f05b6f7ecec3f379613bcf565b806120918161556c565b91505061205d565b5060005b600f8161ffff1610156120d9576120c7733c02ba1b4e3149e34880f7bf39c61087b4262a18613bcf565b806120d18161556c565b91505061209d565b50565b603c8054610e979061544d565b60006001600160a01b0382166121545760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610df8565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b0316331461219a5760405162461bcd60e51b8152600401610df8906153d1565b611a1e6000614373565b60178160058110610e8857600080fd5b6000546001600160a01b031633146121de5760405162461bcd60e51b8152600401610df8906153d1565b8281146122245760405162461bcd60e51b815260206004820152601460248201527324b7383aba103230ba309036b4b9b6b0ba31b41760611b6044820152606401610df8565b60005b61ffff81168411156116b25782828261ffff1681811061224957612249615406565b905060200281019061225b91906156b1565b603f600088888661ffff1681811061227557612275615406565b905060200201602081019061228a9190615292565b61ffff16815260208101919091526040016000206122ad92600190910191614be4565b50806122b88161556c565b915050612227565b60278160028110610e8857600080fd5b6000546001600160a01b031633146122fa5760405162461bcd60e51b8152600401610df8906153d1565b603a805461ff001981166101009182900460ff1615909102179055565b6000546001600160a01b031633146123415760405162461bcd60e51b8152600401610df8906153d1565b6040516370a0823160e01b81523060048201526000907f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316906370a082319060240160206040518083038186803b1580156123a357600080fd5b505afa1580156123b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123db91906156fb565b60405163a9059cbb60e01b8152336004820152602481018290529091507f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561244657600080fd5b505af115801561245a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247e9190615714565b5050565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795216146124fa5760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610df8565b61247e8282603b5550603a805463ff00000019166301000000179055565b606060028054610f279061544d565b604051627eeac760e11b815233600482015261271460248201526000907310daa9f4c0f985430fde4959adb2c791ef2ccf83908290829062fdd58e9060440160206040518083038186803b15801561257e57600080fd5b505afa158015612592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b691906156fb565b118061263f5750604051627eeac760e11b815233600482015261271360248201526000906001600160a01b0383169062fdd58e9060440160206040518083038186803b15801561260557600080fd5b505afa158015612619573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263d91906156fb565b115b806126c65750604051627eeac760e11b8152336004820152600260248201526000906001600160a01b0383169062fdd58e9060440160206040518083038186803b15801561268c57600080fd5b505afa1580156126a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c491906156fb565b115b8061274d5750604051627eeac760e11b8152336004820152600160248201526000906001600160a01b0383169062fdd58e9060440160206040518083038186803b15801561271357600080fd5b505afa158015612727573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274b91906156fb565b115b91505090565b6001600160a01b0382163314156127ac5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610df8565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60338160078110610e8857600080fd5b612832338361393a565b61284e5760405162461bcd60e51b8152600401610df890615488565b610e72848484846143c3565b6000546001600160a01b031633146128845760405162461bcd60e51b8152600401610df8906153d1565b8281146128a35760405162461bcd60e51b8152600401610df8906154d9565b60005b61ffff81168411156116b2576000603f600087878561ffff168181106128ce576128ce615406565b90506020020160208101906128e39190615292565b61ffff1661ffff16815260200190815260200160002060000160006101000a81548160ff021916908360ff16021790555082828261ffff1681811061292a5761292a615406565b905061014002016000600a811061294357612943615406565b6020020160208101906129569190615502565b603f600087878561ffff1681811061297057612970615406565b90506020020160208101906129859190615292565b61ffff1661ffff16815260200190815260200160002060000160096101000a81548160ff021916908360ff16021790555082828261ffff168181106129cc576129cc615406565b905061014002016001600a81106129e5576129e5615406565b6020020160208101906129f89190615502565b603f600087878561ffff16818110612a1257612a12615406565b9050602002016020810190612a279190615292565b61ffff1661ffff168152602001908152602001600020600001600a6101000a81548160ff021916908360ff16021790555082828261ffff16818110612a6e57612a6e615406565b905061014002016002600a8110612a8757612a87615406565b602002016020810190612a9a9190615502565b603f600087878561ffff16818110612ab457612ab4615406565b9050602002016020810190612ac99190615292565b61ffff1661ffff16815260200190815260200160002060000160016101000a81548160ff021916908360ff16021790555082828261ffff16818110612b1057612b10615406565b905061014002016003600a8110612b2957612b29615406565b602002016020810190612b3c9190615502565b603f600087878561ffff16818110612b5657612b56615406565b9050602002016020810190612b6b9190615292565b61ffff1661ffff16815260200190815260200160002060000160026101000a81548160ff021916908360ff16021790555082828261ffff16818110612bb257612bb2615406565b905061014002016004600a8110612bcb57612bcb615406565b602002016020810190612bde9190615502565b603f600087878561ffff16818110612bf857612bf8615406565b9050602002016020810190612c0d9190615292565b61ffff1661ffff16815260200190815260200160002060000160036101000a81548160ff021916908360ff16021790555082828261ffff16818110612c5457612c54615406565b905061014002016005600a8110612c6d57612c6d615406565b602002016020810190612c809190615502565b603f600087878561ffff16818110612c9a57612c9a615406565b9050602002016020810190612caf9190615292565b61ffff1661ffff16815260200190815260200160002060000160046101000a81548160ff021916908360ff16021790555082828261ffff16818110612cf657612cf6615406565b905061014002016006600a8110612d0f57612d0f615406565b602002016020810190612d229190615502565b603f600087878561ffff16818110612d3c57612d3c615406565b9050602002016020810190612d519190615292565b61ffff1661ffff16815260200190815260200160002060000160056101000a81548160ff021916908360ff16021790555082828261ffff16818110612d9857612d98615406565b905061014002016007600a8110612db157612db1615406565b602002016020810190612dc49190615502565b603f600087878561ffff16818110612dde57612dde615406565b9050602002016020810190612df39190615292565b61ffff1661ffff16815260200190815260200160002060000160066101000a81548160ff021916908360ff16021790555082828261ffff16818110612e3a57612e3a615406565b905061014002016008600a8110612e5357612e53615406565b602002016020810190612e669190615502565b603f600087878561ffff16818110612e8057612e80615406565b9050602002016020810190612e959190615292565b61ffff1661ffff16815260200190815260200160002060000160076101000a81548160ff021916908360ff16021790555082828261ffff16818110612edc57612edc615406565b905061014002016009600a8110612ef557612ef5615406565b602002016020810190612f089190615502565b603f600087878561ffff16818110612f2257612f22615406565b9050602002016020810190612f379190615292565b61ffff1681526020810191909152604001600020805460ff92909216600160401b0268ff00000000000000001990921691909117905580612f778161556c565b9150506128a6565b60416020526000908152604090208054610e979061544d565b6060612fa3826138af565b612fef5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e2065786973747320746f6b656e2e006044820152606401610df8565b603a5462010000900460ff1661301e57604051806060016040528060358152602001615d306035913992915050565b61ffff82166000908152603f602052604081206002018054849291906130439061544d565b905011801561305c5750603a54640100000000900460ff165b156130925761ffff81166000818152603f6020526040902060020190613081906143f6565b604051602001611b0f9291906157cb565b603c6130818261ffff166143f6565b6000546001600160a01b031633146130cb5760405162461bcd60e51b8152600401610df8906153d1565b60005b61ffff81168411156116b2578282603f600088888661ffff168181106130f6576130f6615406565b905060200201602081019061310b9190615292565b61ffff168152602081019190915260400160002061312e92600290910191614b60565b50806131398161556c565b9150506130ce565b60218160068110610e8857600080fd5b600080546001600160a01b0316331461317c5760405162461bcd60e51b8152600401610df8906153d1565b6040516370a0823160e01b8152306004820152671bc16d674ec80000907f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316906370a082319060240160206040518083038186803b1580156131e557600080fd5b505afa1580156131f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321d91906156fb565b101561325e5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b4102624a7259760811b6044820152606401610df8565b6132907faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445671bc16d674ec800006144f4565b905090565b60298160088110610e8857600080fd5b601c8160058110610e8857600080fd5b603a5460ff166132f45760405162461bcd60e51b815260206004820152600a6024820152694e6f742061637469766560b01b6044820152606401610df8565b3233146133315760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610df8565b60058161ffff16613341336120e9565b61334b91906157e7565b11156133695760405162461bcd60e51b8152600401610df8906155ee565b60058161ffff16111561338e5760405162461bcd60e51b8152600401610df8906155ee565b603a54611a4690829061ffff600160381b82048116916133bf91600160281b8204811691600160481b900416615612565b6133c99190615612565b6133d39190615612565b61ffff1611156134145760405162461bcd60e51b815260206004820152600c60248201526b115e18d95959081d1bdd185b60a21b6044820152606401610df8565b61342966ee08251ff3800061ffff831661558e565b3410156134705760405162461bcd60e51b8152602060048201526015602482015274115d1a195c881d985b1d59481a5b98dbdc9c9958dd605a1b6044820152606401610df8565b60005b8161ffff168161ffff16101561349e5761348c33613bcf565b806134968161556c565b915050613473565b5080603a60098282829054906101000a900461ffff166134be9190615612565b92506101000a81548161ffff021916908361ffff16021790555050565b60426020526000908152604090208054610e979061544d565b6000546001600160a01b0316331461351e5760405162461bcd60e51b8152600401610df8906153d1565b6001600160a01b0381166135835760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610df8565b6120d981614373565b603f602052600090815260409020805460028201805460ff808416946101008504821694620100008104831694630100000082048416946401000000008304851694600160281b8404811694600160301b8504821694600160381b8104831694600160401b8204841694600160481b8304851694600160501b90930490921692916136169061544d565b80601f01602080910402602001604051908101604052809291908181526020018280546136429061544d565b801561368f5780601f106136645761010080835404028352916020019161368f565b820191906000526020600020905b81548152906001019060200180831161367257829003601f168201915b505050505090508c565b60006136a3612527565b8061329057503360009081526040602081905290205460ff1680156132905750603a5461012c600160281b90910461ffff1610905090565b6000546001600160a01b031633146137055760405162461bcd60e51b8152600401610df8906153d1565b82811461374b5760405162461bcd60e51b815260206004820152601460248201527324b7383aba103230ba309036b4b9b6b0ba31b41760611b6044820152606401610df8565b60005b61ffff81168411156116b257603f600086868461ffff1681811061377457613774615406565b90506020020160208101906137899190615292565b61ffff1661ffff16815260200190815260200160002060010183838361ffff168181106137b8576137b8615406565b90506020020160208101906137cd9190615292565b81546001810183556000928352602090922060108304018054600f9093166002026101000a61ffff818102199094169290931692909202179055806138118161556c565b91505061374e565b600f8160088110610e8857600080fd5b6000546001600160a01b031633146138535760405162461bcd60e51b8152600401610df8906153d1565b611143603d8383614b60565b60006001600160e01b031982166380ac58cd60e01b148061389057506001600160e01b03198216635b5e139f60e01b145b80610dc857506301ffc9a760e01b6001600160e01b0319831614610dc8565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061390182611f39565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000613945826138af565b6139a65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610df8565b60006139b183611f39565b9050806001600160a01b0316846001600160a01b031614806139ec5750836001600160a01b03166139e184610faa565b6001600160a01b0316145b80613a1c57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316613a3782611f39565b6001600160a01b031614613a9f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610df8565b6001600160a01b038216613b015760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610df8565b613b0c83838361467f565b613b176000826138cc565b6001600160a01b0383166000908152600460205260408120805460019290613b409084906155d7565b90915550506001600160a01b0382166000908152600460205260408120805460019290613b6e9084906157e7565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b603a546301000000900460ff16613c185760405162461bcd60e51b815260206004820152600d60248201526c1399595908159491881cd95959609a1b6044820152606401610df8565b603a54603b5460009161ffff600160581b9091041690428443613c3a60095490565b6040805160208101969096528501939093526bffffffffffffffffffffffff19606092831b8116838601526074850191909152609484019290925230901b1660b482015260c8016040516020818303038152906040528051906020012060001c613ca491906157ff565b613caf906001615612565b61ffff8082166000908152603e60205260408120549293509116613cdd57613cd8600183615813565b613cff565b61ffff8083166000908152603e6020526040902054613cff9160019116615813565b603a5461ffff600160581b90910481166000908152603e602052604090205491925016613d3957603a54600160581b900461ffff16613d5a565b603a5461ffff600160581b90910481166000908152603e6020526040902054165b61ffff8381166000908152603e60205260409020805461ffff191692821692909217909155603a8054600192600b91613d9c918591600160581b900416615813565b92506101000a81548161ffff021916908361ffff160217905550611143838261ffff16614737565b61ffff81166000908152603f6020908152604080832081516101a081018352815460ff8082168352610100808304821684880152620100008304821684870152630100000083048216606085810191909152640100000000840483166080860152600160281b8404831660a0860152600160301b8404831660c0860152600160381b8404831660e0860152600160401b8404831691850191909152600160481b83048216610120850152600160501b909204166101408301526001830180548551818802810188019096528086529196959294610160860193909290830182828015613ef757602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411613ebe5790505b50505050508152602001600282018054613f109061544d565b80601f0160208091040260200160405190810160405280929190818152602001828054613f3c9061544d565b8015613f895780601f10613f5e57610100808354040283529160200191613f89565b820191906000526020600020905b815481529060010190602001808311613f6c57829003601f168201915b5050505050815250509050600f816020015160ff1660088110613fae57613fae615406565b016017826040015160ff1660058110613fc957613fc9615406565b01601c836060015160ff1660058110613fe457613fe4615406565b016021846080015160ff1660068110613fff57613fff615406565b016040516020016140139493929190615836565b60405160208183030381529060405260278260a0015160ff166002811061403c5761403c615406565b0160298360c0015160ff166008811061405757614057615406565b0160318460e0015160ff166002811061407257614072615406565b01603385610100015160ff166007811061408e5761408e615406565b016040516020016140a29493929190615938565b60408051601f1981840301815290829052611b0f9291602001615a2d565b6060604260008361ffff1661ffff1681526020019081526020016000206040516020016140ed9190615a53565b6040516020818303038152906040529050919050565b6060604160008361ffff1661ffff1681526020019081526020016000206040516020016140ed9190615a97565b61ffff81166000908152603f6020908152604080832081516101a081018352815460ff8082168352610100808304821684880152620100008304821684870152630100000083048216606085810191909152640100000000840483166080860152600160281b8404831660a0860152600160301b8404831660c0860152600160381b8404831660e0860152600160401b8404831691850191909152600160481b83048216610120850152600160501b90920416610140830152600183018054855181880281018801909652808652919695929461016086019390929083018282801561426357602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161422a5790505b5050505050815260200160028201805461427c9061544d565b80601f01602080910402602001604051908101604052809291908181526020018280546142a89061544d565b80156142f55780601f106142ca576101008083540402835291602001916142f5565b820191906000526020600020905b8154815290600101906020018083116142d857829003601f168201915b505050505081525050905061431983600161431091906157e7565b61ffff166143f6565b61432a82610120015160ff166143f6565b61433b83610140015160ff166143f6565b8351600c9061434c90600390615638565b60ff166003811061435f5761435f615406565b01604051602001611b0f9493929190615add565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6143ce848484613a24565b6143da84848484614751565b610e725760405162461bcd60e51b8152600401610df890615c3d565b60608161441a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115614444578061442e81615432565b915061443d9050600a836155c3565b915061441e565b60008167ffffffffffffffff81111561445f5761445f615105565b6040519080825280601f01601f191660200182016040528015614489576020820181803683370190505b5090505b8415613a1c5761449e6001836155d7565b91506144ab600a866157ff565b6144b69060306157e7565b60f81b8183815181106144cb576144cb615406565b60200101906001600160f81b031916908160001a9053506144ed600a866155c3565b945061448d565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001614564929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161459193929190615c8f565b602060405180830381600087803b1580156145ab57600080fd5b505af11580156145bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145e39190615714565b506000838152600b6020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a09091019092528151918301919091209387905291905261463f9060016157e7565b6000858152600b6020526040902055613a1c8482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6001600160a01b0383166146da576146d581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6146fd565b816001600160a01b0316836001600160a01b0316146146fd576146fd838261485e565b6001600160a01b03821661471457611143816148fb565b826001600160a01b0316826001600160a01b0316146111435761114382826149aa565b61247e8282604051806020016040528060008152506149ee565b60006001600160a01b0384163b1561485357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290614795903390899088908890600401615cbf565b602060405180830381600087803b1580156147af57600080fd5b505af19250505080156147df575060408051601f3d908101601f191682019092526147dc91810190615cfc565b60015b614839573d80801561480d576040519150601f19603f3d011682016040523d82523d6000602084013e614812565b606091505b5080516148315760405162461bcd60e51b8152600401610df890615c3d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613a1c565b506001949350505050565b6000600161486b846120e9565b61487591906155d7565b6000838152600860205260409020549091508082146148c8576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061490d906001906155d7565b6000838152600a60205260408120546009805493945090928490811061493557614935615406565b90600052602060002001549050806009838154811061495657614956615406565b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061498e5761498e615d19565b6001900381819060005260206000200160009055905550505050565b60006149b5836120e9565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6149f88383614a21565b614a056000848484614751565b6111435760405162461bcd60e51b8152600401610df890615c3d565b6001600160a01b038216614a775760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610df8565b614a80816138af565b15614acd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610df8565b614ad96000838361467f565b6001600160a01b0382166000908152600460205260408120805460019290614b029084906157e7565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054614b6c9061544d565b90600052602060002090601f016020900481019282614b8e5760008555614bd4565b82601f10614ba75782800160ff19823516178555614bd4565b82800160010185558215614bd4579182015b82811115614bd4578235825591602001919060010190614bb9565b50614be0929150614c88565b5090565b82805482825590600052602060002090600f01601090048101928215614bd45791602002820160005b83821115614c5157833561ffff1683826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302614c0d565b8015614c7f5782816101000a81549061ffff0219169055600201602081600101049283019260010302614c51565b5050614be09291505b5b80821115614be05760008155600101614c89565b6001600160e01b0319811681146120d957600080fd5b600060208284031215614cc557600080fd5b8135614cd081614c9d565b9392505050565b60008083601f840112614ce957600080fd5b50813567ffffffffffffffff811115614d0157600080fd5b6020830191508360208260051b8501011115614d1c57600080fd5b9250929050565b80151581146120d957600080fd5b600080600060408486031215614d4657600080fd5b833567ffffffffffffffff811115614d5d57600080fd5b614d6986828701614cd7565b9094509250506020840135614d7d81614d23565b809150509250925092565b600060208284031215614d9a57600080fd5b5035919050565b60005b83811015614dbc578181015183820152602001614da4565b83811115610e725750506000910152565b60008151808452614de5816020860160208601614da1565b601f01601f19169290920160200192915050565b602081526000614cd06020830184614dcd565b80356001600160a01b0381168114614e2357600080fd5b919050565b60008060408385031215614e3b57600080fd5b614e4483614e0c565b946020939093013593505050565b600080600060608486031215614e6757600080fd5b614e7084614e0c565b9250614e7e60208501614e0c565b9150604084013590509250925092565b60008060008060008060608789031215614ea757600080fd5b863567ffffffffffffffff80821115614ebf57600080fd5b614ecb8a838b01614cd7565b90985096506020890135915080821115614ee457600080fd5b818901915089601f830112614ef857600080fd5b813581811115614f0757600080fd5b8a60208260061b8501011115614f1c57600080fd5b602083019650809550506040890135915080821115614f3a57600080fd5b50614f4789828a01614cd7565b979a9699509497509295939492505050565b6020808252825182820181905260009190848201906040850190845b81811015614f9557835161ffff1683529284019291840191600101614f75565b50909695505050505050565b60008083601f840112614fb357600080fd5b50813567ffffffffffffffff811115614fcb57600080fd5b602083019150836020828501011115614d1c57600080fd5b60008060208385031215614ff657600080fd5b823567ffffffffffffffff81111561500d57600080fd5b61501985828601614fa1565b90969095509350505050565b60006020828403121561503757600080fd5b614cd082614e0c565b6000806000806040858703121561505657600080fd5b843567ffffffffffffffff8082111561506e57600080fd5b61507a88838901614cd7565b9096509450602087013591508082111561509357600080fd5b506150a087828801614cd7565b95989497509550505050565b600080604083850312156150bf57600080fd5b50508035926020909101359150565b600080604083850312156150e157600080fd5b6150ea83614e0c565b915060208301356150fa81614d23565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561513157600080fd5b61513a85614e0c565b935061514860208601614e0c565b925060408501359150606085013567ffffffffffffffff8082111561516c57600080fd5b818701915087601f83011261518057600080fd5b81358181111561519257615192615105565b604051601f8201601f19908116603f011681019083821181831017156151ba576151ba615105565b816040528281528a60208487010111156151d357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000806040858703121561520d57600080fd5b843567ffffffffffffffff8082111561522557600080fd5b61523188838901614cd7565b9096509450602087013591508082111561524a57600080fd5b818701915087601f83011261525e57600080fd5b81358181111561526d57600080fd5b8860206101408302850101111561528357600080fd5b95989497505060200194505050565b6000602082840312156152a457600080fd5b813561ffff81168114614cd057600080fd5b600080600080604085870312156152cc57600080fd5b843567ffffffffffffffff808211156152e457600080fd5b6152f088838901614cd7565b9096509450602087013591508082111561530957600080fd5b506150a087828801614fa1565b6000806040838503121561532957600080fd5b61533283614e0c565b915061534060208401614e0c565b90509250929050565b60ff8d811682528c811660208301528b811660408301528a81166060830152898116608083015288811660a0830152871660c0820152600060ff871660e083015260ff861661010083015260ff851661012083015260ff84166101408301526101806101608301526153bf610180830184614dcd565b9e9d5050505050505050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156154465761544661541c565b5060010190565b600181811c9082168061546157607f821691505b6020821081141561548257634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252600f908201526e24b7383aba1036b4b9b6b0ba31b41760891b604082015260600190565b60006020828403121561551457600080fd5b813560ff81168114614cd057600080fd5b6000808335601e1984360301811261553c57600080fd5b83018035915067ffffffffffffffff82111561555757600080fd5b602001915036819003821315614d1c57600080fd5b600061ffff808316818114156155845761558461541c565b6001019392505050565b60008160001904831182151516156155a8576155a861541c565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826155d2576155d26155ad565b500490565b6000828210156155e9576155e961541c565b500390565b6020808252600a908201526908af0c6cacac840dac2f60b31b604082015260600190565b600061ffff80831681851680830382111561562f5761562f61541c565b01949350505050565b600060ff83168061564b5761564b6155ad565b8060ff84160691505092915050565b605b60f81b815260008351615676816001850160208801614da1565b600b60fa1b6001918401918201528351615697816002840160208801614da1565b605d60f81b60029290910191820152600301949350505050565b6000808335601e198436030181126156c857600080fd5b83018035915067ffffffffffffffff8211156156e357600080fd5b6020019150600581901b3603821315614d1c57600080fd5b60006020828403121561570d57600080fd5b5051919050565b60006020828403121561572657600080fd5b8151614cd081614d23565b8054600090600181811c908083168061574b57607f831692505b602080841082141561576d57634e487b7160e01b600052602260045260246000fd5b8180156157815760018114615792576157bf565b60ff198616895284890196506157bf565b60008881526020902060005b868110156157b75781548b82015290850190830161579e565b505084890196505b50505050505092915050565b60006157d78285615731565b835161562f818360208801614da1565b600082198211156157fa576157fa61541c565b500190565b60008261580e5761580e6155ad565b500690565b600061ffff8381169083168181101561582e5761582e61541c565b039392505050565b7f7b2274726169745f74797065223a225061747465726e222c2276616c7565223a81526000601160f91b8060208401526158736021840188615731565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2257726170222c2276616c7565223a22000060038301526158b06021830189615731565b91508082527f7b2274726169745f74797065223a224f7665726c6179222c2276616c7565223a60038301528260238301526158ee6024830188615731565b92508083527f7b2274726169745f74797065223a2252616c6c79222c2276616c7565223a220060038401526159266022840187615731565b90815260030198975050505050505050565b7f7b2274726169745f74797065223a22436f6c6f7572222c2276616c7565223a228152600061596a6020830187615731565b62089f4b60ea1b8082527f7b2274726169745f74797065223a22536368656d65222c2276616c7565223a2260038301526159a76023830188615731565b91508082527f7b2274726169745f74797065223a224c6f676f222c2276616c7565223a22000060038301526159df6021830187615731565b9081527f7b2274726169745f74797065223a2253686f74222c2276616c7565223a22000060038201529050615a176021820185615731565b61227d60f01b8152600201979650505050505050565b60008351615a3f818460208801614da1565b83519083019061562f818360208801614da1565b7f7b2274726169745f74797065223a22417274697374222c2276616c7565223a2281526000615a856020830184615731565b61227d60f01b81526002019392505050565b7f7b2274726169745f74797065223a224c6567656e64617279205061747465726e81526a1116113b30b63ab2911d1160a91b60208201526000615a85602b830184615731565b7f7b2274726169745f74797065223a22506c6f74204e6f222c2276616c7565223a8152601160f91b602082015260008551615b1f816021850160208a01614da1565b7f227d2c7b2274726169745f74797065223a225820436f6f7264696e617465222c60219184019182015268113b30b63ab2911d1160b91b60418201528551615b6e81604a840160208a01614da1565b62089f4b60ea1b604a92909101918201527f7b2274726169745f74797065223a225920436f6f7264696e617465222c227661604d82015265363ab2911d1160d11b606d8201528451615bc7816073840160208901614da1565b615c31615c23615c1d615be860738587010162089f4b60ea1b815260030190565b7f7b2274726169745f74797065223a2242616c6c2054797065222c2276616c7565815262111d1160e91b602082015260230190565b87615731565b61227d60f01b815260020190565b98975050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60018060a01b0384168152826020820152606060408201526000615cb66060830184614dcd565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090615cf290830184614dcd565b9695505050505050565b600060208284031215615d0e57600080fd5b8151614cd081614c9d565b634e487b7160e01b600052603160045260246000fdfe697066733a2f2f516d554d65414a646a725a5963614c624352444633354d425861314c644550707436527a69776854416270674134a2646970667358221220ed2356a14fdce1eee138d2d7c6fe8fdd703f0564b26e7cee3cca294c1b8b2c2c64736f6c63430008090033

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

Own the ball. Own the court. Own the moment. 6,776 generative AO Art Ball NFTs, each linked to an individual plot on the official Australian Open court.

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.