ETH Price: $3,070.70 (+0.82%)
 

Overview

ETH Balance

2.06024 ETH

Eth Value

$6,326.39 (@ $3,070.70/ETH)

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Set Approval For...237732132025-11-11 3:07:2326 days ago1762830443IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000103182.208208
Set Approval For...235954582025-10-17 6:01:3551 days ago1760680895IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000041191.6543022
Set Approval For...222404502025-04-10 18:54:11241 days ago1744311251IN
0xDbEc5D2c...6Ab514C18
0 ETH0.00005521.18146968
Transfer From222031402025-04-05 13:54:23246 days ago1743861263IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000083770.95633811
Set Approval For...218762202025-02-18 22:23:59292 days ago1739917439IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000040981.52417984
Set Approval For...218761882025-02-18 22:17:35292 days ago1739917055IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000042241.57109739
Set Approval For...218760982025-02-18 21:59:35292 days ago1739915975IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000043211.73640864
Set Approval For...215248732024-12-31 20:35:47341 days ago1735677347IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000318236.80856443
Set Approval For...215246852024-12-31 19:57:59341 days ago1735675079IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000306696.56150357
Set Approval For...215201652024-12-31 4:47:47341 days ago1735620467IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000175473.75428556
Set Approval For...214870392024-12-26 13:48:47346 days ago1735220927IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000365587.80953752
Set Approval For...214817642024-12-25 20:06:11347 days ago1735157171IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000253025.41330699
Set Approval For...212233752024-11-19 17:48:47383 days ago1732038527IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0012785527.35396212
Set Approval For...199017722024-05-19 5:02:35567 days ago1716094955IN
0xDbEc5D2c...6Ab514C18
0 ETH0.00008633.4657607
Set Approval For...198764332024-05-15 15:59:59571 days ago1715788799IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0006392313.67964727
Set Approval For...196299372024-04-11 4:15:11605 days ago1712808911IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0004970618.47771518
Set Approval For...196299082024-04-11 4:09:23605 days ago1712808563IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0004126516.57168853
Set Approval For...192219012024-02-13 21:57:47663 days ago1707861467IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0008223833.04210756
Set Approval For...190653442024-01-22 22:52:47685 days ago1705963967IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0006174413.21333813
Set Approval For...189195442024-01-02 11:57:23705 days ago1704196643IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0003467813.92648328
Set Approval For...189175682024-01-02 5:16:11705 days ago1704172571IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0005149711.00352403
Set Approval For...189108142024-01-01 6:29:11706 days ago1704090551IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0004718910.08299156
Set Approval For...189095542024-01-01 2:14:11706 days ago1704075251IN
0xDbEc5D2c...6Ab514C18
0 ETH0.000457799.78178938
Approve189073082023-12-31 18:40:59707 days ago1704048059IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0006581913.3776424
Set Approval For...189065072023-12-31 15:59:47707 days ago1704038387IN
0xDbEc5D2c...6Ab514C18
0 ETH0.0007869516.81485044
View all transactions

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-138960552021-12-28 21:03:081440 days ago1640725388
0xDbEc5D2c...6Ab514C18
20.87 ETH
-135699022021-11-07 14:32:111491 days ago1636295531
0xDbEc5D2c...6Ab514C18
2.8896 ETH
-135327942021-11-01 18:35:371497 days ago1635791737
0xDbEc5D2c...6Ab514C18
111.9404 ETH
-135254792021-10-31 15:02:561498 days ago1635692576
0xDbEc5D2c...6Ab514C18
8.232 ETH
-135207742021-10-30 21:07:531499 days ago1635628073
0xDbEc5D2c...6Ab514C18
9.234 ETH
-135197682021-10-30 17:25:371499 days ago1635614737
0xDbEc5D2c...6Ab514C18
11.81376 ETH
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CAMP

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import "@chainlink/contracts/src/v0.8/interfaces/KeeperCompatibleInterface.sol";

import {Accountable} from "./Accountable.sol";
import {IGovernance} from "./interfaces/IGovernance.sol";
import {IRandomNumberConsumer} from "./interfaces/IRandomNumberConsumer.sol";
import {IWhitelistedContract} from "./interfaces/IWhitelistedContract.sol";

contract CAMP is ERC721Enumerable, Ownable, ERC721Holder, KeeperCompatibleInterface, Accountable {
    using Strings for uint256;

    string public baseURL;

    IGovernance public governance;

    bool startedGiveaway;
    enum GIVEAWAY_STATE { OPEN, CLOSED, FINDING }
    GIVEAWAY_STATE public giveawayState;

    uint public startingTimeStamp;
    uint256 public GIVEAWAY_CONCLUSION = 1635555600; // Oct. 29 @ 9PM EST
    uint256 public constant GIVEAWAY_WINNERS = 5;

    uint256 public constant MAX_SUPPLY = 10001;
    uint256 public constant RESERVE_SUPPLY = 11;
    uint256 public constant MAX_PER_TX = 21;
    uint256 public constant PRICE = 8 * 10 ** 16;

    address[] public whitelistedContracts;
    DepositedPrize[] public depositedPrizes;

    struct DepositedPrize {
        address contractAddress;
        string ipfsURL;
        uint256 tokenId;
        bool awarded;
    }

    uint public winners;
    mapping(uint256 => uint) tokenIdToWinnerId;
    event WinnerPicked(uint256 tokenId, address winnerAddress);

    constructor(string memory _baseURL, address[] memory _splits, uint256[] memory _splitWeights, address _governance, address[] memory _whitelistedContracts) 
        ERC721("CAMP", "CAMP")
        Accountable(_splits, _splitWeights)
    {
        baseURL = _baseURL;

        governance = IGovernance(_governance);
        require(_whitelistedContracts.length == GIVEAWAY_WINNERS, "Must whitelist the proper number of tokens.");
        whitelistedContracts = _whitelistedContracts;
        giveawayState = GIVEAWAY_STATE.CLOSED;
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "Token does not exist");

        string memory url = baseURL;
        uint winnerId = tokenIdToWinnerId[_tokenId];
        if(winnerId > 0) url = depositedPrizes[winnerId - 1].ipfsURL;
        return string(abi.encodePacked('data:application/json;utf8,{"name":"C.A.M.P. BADGE #', uint2str(_tokenId), '","image":"', url, '"}'));
    }

    function deposit(address contractAddress, string memory ipfsURL, uint256 tokenId) external onlyOwner {
        require(depositedPrizes.length < GIVEAWAY_WINNERS, "All the prizes have been deposited.");
        IWhitelistedContract whitelistedContract = IWhitelistedContract(contractAddress);
        whitelistedContract.transferFrom(msg.sender, address(this), tokenId);
        DepositedPrize memory depositedPrize = DepositedPrize(contractAddress, ipfsURL, tokenId, false);
        depositedPrizes.push(depositedPrize);
    }

    function flipSaleState() external onlyOwner {
        require(depositedPrizes.length == GIVEAWAY_WINNERS, "Not enough prizes deposited.");
        startingTimeStamp = block.timestamp;
        giveawayState = GIVEAWAY_STATE.OPEN;
    }

    function mintReserves(address[] calldata addresses) external onlyOwner {
        uint256 totalSupply = totalSupply();
        uint256 count = addresses.length;
        require(totalSupply + count < RESERVE_SUPPLY, "Exceeds reserve supply.");

        uint256 tokenId;
        for(uint256 i; i < count; i++) {
            tokenId = totalSupply + i;
            _safeMint(addresses[i], tokenId);
        }
    }

    function mint(uint256 count) external payable {
        require(startingTimeStamp > 0, "Sale is not active.");
        require(count < MAX_PER_TX, "Exceeds max per tx.");

        uint256 totalSupply = totalSupply();
        require(totalSupply + count < MAX_SUPPLY, "Exceeds max supply.");
        require(msg.value == PRICE * count, "Wrong amount of money.");
        
        for(uint256 i; i < count; i++) {
            uint256 tokenId = totalSupply + i;
            _safeMint(msg.sender, tokenId);
        }

        tallySplits();
    }

    function checkUpkeep(bytes calldata) external view override returns (bool upkeepNeeded, bytes memory) {
        upkeepNeeded = block.timestamp >= GIVEAWAY_CONCLUSION && giveawayState == GIVEAWAY_STATE.OPEN;
    }

    function performUpkeep(bytes calldata) external override {
        require(giveawayState == GIVEAWAY_STATE.OPEN, "Giveaway does not need pulled.");
        require(block.timestamp >= GIVEAWAY_CONCLUSION, "Not ready to pick winners.");
        giveawayState = GIVEAWAY_STATE.FINDING;
        
        address randAddress = governance.randomness();
        IRandomNumberConsumer randomNumberConsumer = IRandomNumberConsumer(randAddress);
        for(uint i; i < GIVEAWAY_WINNERS; i++) { 
            randomNumberConsumer.getRandomNumber(i);
        }
    }

    function processPickedWinner(uint winnerId, uint256 randomness) external {
        address randAddress = governance.randomness();
        require(msg.sender == randAddress, "Invalid sender picking winner.");

        require(giveawayState == GIVEAWAY_STATE.FINDING, "Not ready to pick winners.");
        require(randomness > 0, "Random not found.");
        require(winners < GIVEAWAY_WINNERS, "Winners already chosen");

        uint256 tokenId = randomness % totalSupply();

        if(tokenIdToWinnerId[tokenId] == 0) {
            DepositedPrize storage _prize = depositedPrizes[winnerId];
            tokenIdToWinnerId[tokenId] = winnerId + 1;
            IWhitelistedContract _contractInterface = IWhitelistedContract(_prize.contractAddress);

            address winnerAddress = ownerOf(tokenId);
            _contractInterface.transferFrom(address(this), winnerAddress, _prize.tokenId);
            emit WinnerPicked(tokenId, winnerAddress);

            winners += 1;
            if(winners == GIVEAWAY_WINNERS) giveawayState = GIVEAWAY_STATE.CLOSED;
        } else {
            IRandomNumberConsumer randomNumberConsumer = IRandomNumberConsumer(randAddress);
            randomNumberConsumer.getRandomNumber(winnerId);
        }
    }

    function walletOfOwner(address _owner) external view returns (uint256[] memory) { 
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) return new uint256[](0);

        uint256[] memory tokenIds = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) return "0";
        
        uint256 j = _i;
        uint256 len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        
        bytes memory bstr = new bytes(len);
        uint256 k = len;
        while (_i != 0) {
            k = k - 1;
            uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }

        return string(bstr);
    }
}

// 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 {}
}

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721Receiver.sol";

/**
 * @dev Implementation of the {IERC721Receiver} interface.
 *
 * Accepts all token transfers.
 * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
 */
contract ERC721Holder is IERC721Receiver {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

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

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface KeeperCompatibleInterface {

  /**
   * @notice checks if the contract requires work to be done.
   * @param checkData data passed to the contract when checking for upkeep.
   * @return upkeepNeeded boolean to indicate whether the keeper should call
   * performUpkeep or not.
   * @return performData bytes that the keeper should call performUpkeep with,
   * if upkeep is needed.
   */
  function checkUpkeep(
    bytes calldata checkData
  )
    external
    returns (
      bool upkeepNeeded,
      bytes memory performData
    );

  /**
   * @notice Performs work on the contract. Executed by the keepers, via the registry.
   * @param performData is the data which was passed back from the checkData
   * simulation.
   */
  function performUpkeep(
    bytes calldata performData
  ) external;
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/utils/Context.sol";

abstract contract Accountable is Context {
    address[] private splits;
    uint256[] private splitWeights;

    mapping(address => uint256) private splitAmounts;

    event WithdrawProcessed(
        address indexed ownerWithdrawing,
        uint256 indexed amount
    );

    constructor(address[] memory _splits, uint256[] memory _splitWeights) {
        splits = _splits;
        splitWeights = _splitWeights;
    }

    modifier hasSplits() {
        require(splits.length > 0, "Splits have not been set.");
        require(splitWeights.length > 0, "Split weights have not been set.");
        _;
    }
    
    // Returns the splitAmount in wei.
    function getSplitBalance(address _address) public view returns (uint256) {
        return splitAmounts[_address];
    }

    // With this each team member can withdraw their cut at anytime they like. 
    // Must be a real amount that is greater than zero and within their available balance.
    function withdrawSplit(uint256 _amount) external hasSplits {
        require(_amount > 0, "Withdrawals of 0 cannot take place.");
        require(
            splitAmounts[msg.sender] >= _amount,
            "This value is more than available to withdraw."
        );

        splitAmounts[msg.sender] -= _amount;
        (bool success, ) = payable(msg.sender).call{value: _amount}("");
        require(success, "Transfer failed.");
        emit WithdrawProcessed(msg.sender, _amount);
    }

    // This should be run in any function that is paying the contract.
    // At the time of minting we are crediting each team member with the proper amount.
    function tallySplits() internal hasSplits {
        uint256 each;
        for (uint256 i; i < splits.length; i++) {
            each = ((msg.value * splitWeights[i] / 100000));
            splitAmounts[splits[i]] += each;
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

interface IGovernance { 
    function giveaway() external view returns (address);
    function randomness() external view returns (address);
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

interface IRandomNumberConsumer { 
    function getRandomNumber(uint) external;
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

interface IWhitelistedContract {
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external;

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    function setApprovalForAll(
        address operator,
        bool approved
    ) external;
}

// 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 12 of 19 : 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);
}

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

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

// 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;
    }
}

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

// 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;
    }
}

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_baseURL","type":"string"},{"internalType":"address[]","name":"_splits","type":"address[]"},{"internalType":"uint256[]","name":"_splitWeights","type":"uint256[]"},{"internalType":"address","name":"_governance","type":"address"},{"internalType":"address[]","name":"_whitelistedContracts","type":"address[]"}],"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"winnerAddress","type":"address"}],"name":"WinnerPicked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"ownerWithdrawing","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawProcessed","type":"event"},{"inputs":[],"name":"GIVEAWAY_CONCLUSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIVEAWAY_WINNERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"checkUpkeep","outputs":[{"internalType":"bool","name":"upkeepNeeded","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"string","name":"ipfsURL","type":"string"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"depositedPrizes","outputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"string","name":"ipfsURL","type":"string"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"awarded","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getSplitBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giveawayState","outputs":[{"internalType":"enum CAMP.GIVEAWAY_STATE","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"contract IGovernance","name":"","type":"address"}],"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":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"mintReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"performUpkeep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"winnerId","type":"uint256"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"processPickedWinner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedContracts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"winners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawSplit","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405263617c99106011553480156200001957600080fd5b506040516200695d3803806200695d83398181016040528101906200003f91906200068f565b83836040518060400160405280600481526020017f43414d50000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f43414d50000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c5929190620002f6565b508060019080519060200190620000de929190620002f6565b50505062000101620000f56200022860201b60201c565b6200023060201b60201c565b81600b90805190602001906200011992919062000387565b5080600c90805190602001906200013292919062000416565b50505084600e90805190602001906200014d929190620002f6565b5081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506005815114620001d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001cd90620007ba565b60405180910390fd5b8060129080519060200190620001ee92919062000387565b506001600f60156101000a81548160ff021916908360028111156200021857620002176200098a565b5b0217905550505050505062000ac4565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000304906200091e565b90600052602060002090601f01602090048101928262000328576000855562000374565b82601f106200034357805160ff191683800117855562000374565b8280016001018555821562000374579182015b828111156200037357825182559160200191906001019062000356565b5b50905062000383919062000468565b5090565b82805482825590600052602060002090810192821562000403579160200282015b82811115620004025782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620003a8565b5b50905062000412919062000468565b5090565b82805482825590600052602060002090810192821562000455579160200282015b828111156200045457825182559160200191906001019062000437565b5b50905062000464919062000468565b5090565b5b808211156200048357600081600090555060010162000469565b5090565b60006200049e620004988462000805565b620007dc565b90508083825260208201905082856020860282011115620004c457620004c362000a1c565b5b60005b85811015620004f85781620004dd8882620005c8565b845260208401935060208301925050600181019050620004c7565b5050509392505050565b600062000519620005138462000834565b620007dc565b905080838252602082019050828560208602820111156200053f576200053e62000a1c565b5b60005b8581101562000573578162000558888262000678565b84526020840193506020830192505060018101905062000542565b5050509392505050565b6000620005946200058e8462000863565b620007dc565b905082815260208101848484011115620005b357620005b262000a21565b5b620005c0848285620008e8565b509392505050565b600081519050620005d98162000a90565b92915050565b600082601f830112620005f757620005f662000a17565b5b81516200060984826020860162000487565b91505092915050565b600082601f8301126200062a576200062962000a17565b5b81516200063c84826020860162000502565b91505092915050565b600082601f8301126200065d576200065c62000a17565b5b81516200066f8482602086016200057d565b91505092915050565b600081519050620006898162000aaa565b92915050565b600080600080600060a08688031215620006ae57620006ad62000a2b565b5b600086015167ffffffffffffffff811115620006cf57620006ce62000a26565b5b620006dd8882890162000645565b955050602086015167ffffffffffffffff81111562000701576200070062000a26565b5b6200070f88828901620005df565b945050604086015167ffffffffffffffff81111562000733576200073262000a26565b5b620007418882890162000612565b93505060606200075488828901620005c8565b925050608086015167ffffffffffffffff81111562000778576200077762000a26565b5b6200078688828901620005df565b9150509295509295909350565b6000620007a2602b8362000899565b9150620007af8262000a41565b604082019050919050565b60006020820190508181036000830152620007d58162000793565b9050919050565b6000620007e8620007fb565b9050620007f6828262000954565b919050565b6000604051905090565b600067ffffffffffffffff821115620008235762000822620009e8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115620008525762000851620009e8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115620008815762000880620009e8565b5b6200088c8262000a30565b9050602081019050919050565b600082825260208201905092915050565b6000620008b782620008be565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000908578082015181840152602081019050620008eb565b8381111562000918576000848401525b50505050565b600060028204905060018216806200093757607f821691505b602082108114156200094e576200094d620009b9565b5b50919050565b6200095f8262000a30565b810181811067ffffffffffffffff82111715620009815762000980620009e8565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d7573742077686974656c697374207468652070726f706572206e756d62657260008201527f206f6620746f6b656e732e000000000000000000000000000000000000000000602082015250565b62000a9b81620008aa565b811462000aa757600080fd5b50565b62000ab581620008de565b811462000ac157600080fd5b50565b615e898062000ad46000396000f3fe60806040526004361061025b5760003560e01c80635aa6e67511610144578063a487bcd8116100b6578063d622a5041161007a578063d622a5041461093e578063e336052614610969578063e985e9c514610992578063f2fde38b146109cf578063f3db9fe5146109f8578063f43a22dc14610a215761025b565b8063a487bcd814610845578063aa66797b14610870578063b88d4fde1461089b578063b8d63f45146108c4578063c87b56dd146109015761025b565b80638854bff6116101085780638854bff61461073f5780638d859f3e1461077f5780638da5cb5b146107aa57806395d89b41146107d5578063a0712d6814610800578063a22cb4651461081c5761025b565b80635aa6e675146106455780636352211e146106705780636e04ff0d146106ad57806370a08231146106eb578063715018a6146107285761025b565b806326d68cad116101dd57806336d50e0a116101a157806336d50e0a1461052557806340c84b0e1461054e57806342842e0e14610579578063438b6300146105a25780634585e33b146105df5780634f6ccce7146106085761025b565b806326d68cad146104525780632bdde7411461047b5780632f745c59146104a657806332cb6b0c146104e357806334918dfd1461050e5761025b565b8063095ea7b311610224578063095ea7b31461036d578063150b7a021461039657806318160ddd146103d3578063203d6df0146103fe57806323b872dd146104295761025b565b80624d4d2c1461026057806301ffc9a71461028b57806304a3e2e5146102c857806306fdde0314610305578063081812fc14610330575b600080fd5b34801561026c57600080fd5b50610275610a4c565b6040516102829190614f33565b60405180910390f35b34801561029757600080fd5b506102b260048036038101906102ad91906140c4565b610a52565b6040516102bf9190614a15565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea919061416b565b610acc565b6040516102fc9190614909565b60405180910390f35b34801561031157600080fd5b5061031a610b0b565b6040516103279190614ab1565b60405180910390f35b34801561033c57600080fd5b506103576004803603810190610352919061416b565b610b9d565b6040516103649190614909565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190614037565b610c22565b005b3480156103a257600080fd5b506103bd60048036038101906103b89190613f05565b610d3a565b6040516103ca9190614a60565b60405180910390f35b3480156103df57600080fd5b506103e8610d4e565b6040516103f59190614f33565b60405180910390f35b34801561040a57600080fd5b50610413610d5b565b6040516104209190614f33565b60405180910390f35b34801561043557600080fd5b50610450600480360381019061044b9190613eb2565b610d60565b005b34801561045e57600080fd5b5061047960048036038101906104749190614198565b610dc0565b005b34801561048757600080fd5b506104906111ff565b60405161049d9190614a96565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c89190614037565b611212565b6040516104da9190614f33565b60405180910390f35b3480156104ef57600080fd5b506104f86112b7565b6040516105059190614f33565b60405180910390f35b34801561051a57600080fd5b506105236112bd565b005b34801561053157600080fd5b5061054c6004803603810190610547919061416b565b6113b5565b005b34801561055a57600080fd5b50610563611654565b6040516105709190614ab1565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613eb2565b6116e2565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190613e18565b611702565b6040516105d691906149f3565b60405180910390f35b3480156105eb57600080fd5b506106066004803603810190610601919061411e565b61180c565b005b34801561061457600080fd5b5061062f600480360381019061062a919061416b565b611a2c565b60405161063c9190614f33565b60405180910390f35b34801561065157600080fd5b5061065a611a9d565b6040516106679190614a7b565b60405180910390f35b34801561067c57600080fd5b506106976004803603810190610692919061416b565b611ac3565b6040516106a49190614909565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf919061411e565b611b75565b6040516106e2929190614a30565b60405180910390f35b3480156106f757600080fd5b50610712600480360381019061070d9190613e18565b611bc7565b60405161071f9190614f33565b60405180910390f35b34801561073457600080fd5b5061073d611c7f565b005b34801561074b57600080fd5b506107666004803603810190610761919061416b565b611d07565b60405161077694939291906149a7565b60405180910390f35b34801561078b57600080fd5b50610794611dfc565b6040516107a19190614f33565b60405180910390f35b3480156107b657600080fd5b506107bf611e08565b6040516107cc9190614909565b60405180910390f35b3480156107e157600080fd5b506107ea611e32565b6040516107f79190614ab1565b60405180910390f35b61081a6004803603810190610815919061416b565b611ec4565b005b34801561082857600080fd5b50610843600480360381019061083e9190613f88565b612042565b005b34801561085157600080fd5b5061085a6121c3565b6040516108679190614f33565b60405180910390f35b34801561087c57600080fd5b506108856121c9565b6040516108929190614f33565b60405180910390f35b3480156108a757600080fd5b506108c260048036038101906108bd9190613f05565b6121ce565b005b3480156108d057600080fd5b506108eb60048036038101906108e69190613e18565b612230565b6040516108f89190614f33565b60405180910390f35b34801561090d57600080fd5b506109286004803603810190610923919061416b565b612279565b6040516109359190614ab1565b60405180910390f35b34801561094a57600080fd5b50610953612463565b6040516109609190614f33565b60405180910390f35b34801561097557600080fd5b50610990600480360381019061098b9190614077565b612469565b005b34801561099e57600080fd5b506109b960048036038101906109b49190613e72565b6125ad565b6040516109c69190614a15565b60405180910390f35b3480156109db57600080fd5b506109f660048036038101906109f19190613e18565b612641565b005b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613fc8565b612739565b005b348015610a2d57600080fd5b50610a36612972565b604051610a439190614f33565b60405180910390f35b60105481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac55750610ac482612977565b5b9050919050565b60128181548110610adc57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610b1a906152ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610b46906152ef565b8015610b935780601f10610b6857610100808354040283529160200191610b93565b820191906000526020600020905b815481529060010190602001808311610b7657829003601f168201915b5050505050905090565b6000610ba882612a59565b610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde90614d53565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c2d82611ac3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590614e73565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cbd612ac5565b73ffffffffffffffffffffffffffffffffffffffff161480610cec5750610ceb81610ce6612ac5565b6125ad565b5b610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2290614c53565b60405180910390fd5b610d358383612acd565b505050565b600063150b7a0260e01b9050949350505050565b6000600880549050905090565b600581565b610d71610d6b612ac5565b82612b86565b610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790614eb3565b60405180910390fd5b610dbb838383612c64565b505050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663360131896040518163ffffffff1660e01b815260040160206040518083038186803b158015610e2a57600080fd5b505afa158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190613e45565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec990614e53565b60405180910390fd5b600280811115610ee557610ee461542a565b5b600f60159054906101000a900460ff166002811115610f0757610f0661542a565b5b14610f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3e90614f13565b60405180910390fd5b60008211610f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8190614b73565b60405180910390fd5b600560145410610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc690614d93565b60405180910390fd5b6000610fd9610d4e565b83610fe4919061539b565b905060006015600083815260200190815260200160002054141561118757600060138581548110611018576110176154b7565b5b906000526020600020906004020190506001856110359190615085565b601560008481526020019081526020016000208190555060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600061108084611ac3565b90508173ffffffffffffffffffffffffffffffffffffffff166323b872dd308386600201546040518463ffffffff1660e01b81526004016110c393929190614924565b600060405180830381600087803b1580156110dd57600080fd5b505af11580156110f1573d6000803e3d6000fd5b505050507f7286599a58b2822d6e330944038c6d3424134069b04156404050720b942d87ee8482604051611126929190614f4e565b60405180910390a16001601460008282546111419190615085565b925050819055506005601454141561117f576001600f60156101000a81548160ff021916908360028111156111795761117861542a565b5b02179055505b5050506111f9565b60008290508073ffffffffffffffffffffffffffffffffffffffff1663b37217a4866040518263ffffffff1660e01b81526004016111c59190614f33565b600060405180830381600087803b1580156111df57600080fd5b505af11580156111f3573d6000803e3d6000fd5b50505050505b50505050565b600f60159054906101000a900460ff1681565b600061121d83611bc7565b821061125e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125590614af3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271181565b6112c5612ac5565b73ffffffffffffffffffffffffffffffffffffffff166112e3611e08565b73ffffffffffffffffffffffffffffffffffffffff1614611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090614dd3565b60405180910390fd5b600560138054905014611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137890614d73565b60405180910390fd5b426010819055506000600f60156101000a81548160ff021916908360028111156113ae576113ad61542a565b5b0217905550565b6000600b80549050116113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f490614cf3565b60405180910390fd5b6000600c8054905011611445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143c90614bb3565b60405180910390fd5b60008111611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f90614d13565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561150a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150190614cb3565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611559919061519d565b9250508190555060003373ffffffffffffffffffffffffffffffffffffffff1682604051611586906148af565b60006040518083038185875af1925050503d80600081146115c3576040519150601f19603f3d011682016040523d82523d6000602084013e6115c8565b606091505b505090508061160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160390614e93565b60405180910390fd5b813373ffffffffffffffffffffffffffffffffffffffff167f44b2ff9ffcefe2052a8afdbed44a04bf3db4592ae90c6b96c818bd28573e41e860405160405180910390a35050565b600e8054611661906152ef565b80601f016020809104026020016040519081016040528092919081815260200182805461168d906152ef565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b505050505081565b6116fd838383604051806020016040528060008152506121ce565b505050565b6060600061170f83611bc7565b9050600081141561176c57600067ffffffffffffffff811115611735576117346154e6565b5b6040519080825280602002602001820160405280156117635781602001602082028036833780820191505090505b50915050611807565b60008167ffffffffffffffff811115611788576117876154e6565b5b6040519080825280602002602001820160405280156117b65781602001602082028036833780820191505090505b50905060005b82811015611800576117ce8582611212565b8282815181106117e1576117e06154b7565b5b60200260200101818152505080806117f890615352565b9150506117bc565b5080925050505b919050565b600060028111156118205761181f61542a565b5b600f60159054906101000a900460ff1660028111156118425761184161542a565b5b14611882576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187990614b93565b60405180910390fd5b6011544210156118c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118be90614f13565b60405180910390fd5b6002600f60156101000a81548160ff021916908360028111156118ed576118ec61542a565b5b02179055506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663360131896040518163ffffffff1660e01b815260040160206040518083038186803b15801561195c57600080fd5b505afa158015611970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119949190613e45565b9050600081905060005b6005811015611a25578173ffffffffffffffffffffffffffffffffffffffff1663b37217a4826040518263ffffffff1660e01b81526004016119e09190614f33565b600060405180830381600087803b1580156119fa57600080fd5b505af1158015611a0e573d6000803e3d6000fd5b505050508080611a1d90615352565b91505061199e565b5050505050565b6000611a36610d4e565b8210611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e90614ed3565b60405180910390fd5b60088281548110611a8b57611a8a6154b7565b5b90600052602060002001549050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6390614c93565b60405180910390fd5b80915050919050565b600060606011544210158015611bbe575060006002811115611b9a57611b9961542a565b5b600f60159054906101000a900460ff166002811115611bbc57611bbb61542a565b5b145b91509250929050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90614c73565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c87612ac5565b73ffffffffffffffffffffffffffffffffffffffff16611ca5611e08565b73ffffffffffffffffffffffffffffffffffffffff1614611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf290614dd3565b60405180910390fd5b611d056000612ec0565b565b60138181548110611d1757600080fd5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054611d60906152ef565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8c906152ef565b8015611dd95780601f10611dae57610100808354040283529160200191611dd9565b820191906000526020600020905b815481529060010190602001808311611dbc57829003601f168201915b5050505050908060020154908060030160009054906101000a900460ff16905084565b67011c37937e08000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e41906152ef565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6d906152ef565b8015611eba5780601f10611e8f57610100808354040283529160200191611eba565b820191906000526020600020905b815481529060010190602001808311611e9d57829003601f168201915b5050505050905090565b600060105411611f09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0090614e33565b60405180910390fd5b60158110611f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4390614cd3565b60405180910390fd5b6000611f56610d4e565b90506127118282611f679190615085565b10611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e90614e13565b60405180910390fd5b8167011c37937e080000611fbb9190615143565b3414611ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff390614ad3565b60405180910390fd5b60005b8281101561203557600081836120159190615085565b90506120213382612f86565b50808061202d90615352565b915050611fff565b5061203e612fa4565b5050565b61204a612ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af90614bf3565b60405180910390fd5b80600560006120c5612ac5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612172612ac5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121b79190614a15565b60405180910390a35050565b60145481565b600b81565b6121df6121d9612ac5565b83612b86565b61221e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221590614eb3565b60405180910390fd5b61222a8484848461312a565b50505050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606061228482612a59565b6122c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ba90614c13565b60405180910390fd5b6000600e80546122d2906152ef565b80601f01602080910402602001604051908101604052809291908181526020018280546122fe906152ef565b801561234b5780601f106123205761010080835404028352916020019161234b565b820191906000526020600020905b81548152906001019060200180831161232e57829003601f168201915b505050505090506000601560008581526020019081526020016000205490506000811115612430576013600182612382919061519d565b81548110612393576123926154b7565b5b906000526020600020906004020160010180546123af906152ef565b80601f01602080910402602001604051908101604052809291908181526020018280546123db906152ef565b80156124285780601f106123fd57610100808354040283529160200191612428565b820191906000526020600020905b81548152906001019060200180831161240b57829003601f168201915b505050505091505b61243984613186565b8260405160200161244b9291906148c4565b60405160208183030381529060405292505050919050565b60115481565b612471612ac5565b73ffffffffffffffffffffffffffffffffffffffff1661248f611e08565b73ffffffffffffffffffffffffffffffffffffffff16146124e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dc90614dd3565b60405180910390fd5b60006124ef610d4e565b90506000838390509050600b81836125079190615085565b10612547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253e90614ef3565b60405180910390fd5b6000805b828110156125a557808461255f9190615085565b9150612592868683818110612577576125766154b7565b5b905060200201602081019061258c9190613e18565b83612f86565b808061259d90615352565b91505061254b565b505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612649612ac5565b73ffffffffffffffffffffffffffffffffffffffff16612667611e08565b73ffffffffffffffffffffffffffffffffffffffff16146126bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b490614dd3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561272d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272490614b33565b60405180910390fd5b61273681612ec0565b50565b612741612ac5565b73ffffffffffffffffffffffffffffffffffffffff1661275f611e08565b73ffffffffffffffffffffffffffffffffffffffff16146127b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ac90614dd3565b60405180910390fd5b6005601380549050106127fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f490614db3565b60405180910390fd5b60008390508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161283f93929190614924565b600060405180830381600087803b15801561285957600080fd5b505af115801561286d573d6000803e3d6000fd5b50505050600060405180608001604052808673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001600015158152509050601381908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101908051906020019061293e929190613b6b565b506040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555050505050505050565b601581565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a4257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a525750612a518261330f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b4083611ac3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b9182612a59565b612bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc790614c33565b60405180910390fd5b6000612bdb83611ac3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c4a57508373ffffffffffffffffffffffffffffffffffffffff16612c3284610b9d565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c5b5750612c5a81856125ad565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c8482611ac3565b73ffffffffffffffffffffffffffffffffffffffff1614612cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd190614df3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4190614bd3565b60405180910390fd5b612d55838383613379565b612d60600082612acd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612db0919061519d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e079190615085565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612fa082826040518060200160405280600081525061348d565b5050565b6000600b8054905011612fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe390614cf3565b60405180910390fd5b6000600c8054905011613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b90614bb3565b60405180910390fd5b6000805b600b8054905081101561312657620186a0600c828154811061305d5761305c6154b7565b5b9060005260206000200154346130739190615143565b61307d9190615112565b915081600d6000600b8481548110613098576130976154b7565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461310c9190615085565b92505081905550808061311e90615352565b915050613038565b5050565b613135848484612c64565b613141848484846134e8565b613180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317790614b13565b60405180910390fd5b50505050565b606060008214156131ce576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061330a565b600082905060005b600082146132005780806131e990615352565b915050600a826131f99190615112565b91506131d6565b60008167ffffffffffffffff81111561321c5761321b6154e6565b5b6040519080825280601f01601f19166020018201604052801561324e5781602001600182028036833780820191505090505b50905060008290505b600086146133025760018161326c919061519d565b90506000600a808861327e9190615112565b6132889190615143565b87613293919061519d565b603061329f91906150db565b905060008160f81b9050808484815181106132bd576132bc6154b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a886132f99190615112565b97505050613257565b819450505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61338483838361367f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133c7576133c281613684565b613406565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134055761340483826136cd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613449576134448161383a565b613488565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461348757613486828261390b565b5b5b505050565b613497838361398a565b6134a460008484846134e8565b6134e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134da90614b13565b60405180910390fd5b505050565b60006135098473ffffffffffffffffffffffffffffffffffffffff16613b58565b15613672578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613532612ac5565b8786866040518563ffffffff1660e01b8152600401613554949392919061495b565b602060405180830381600087803b15801561356e57600080fd5b505af192505050801561359f57506040513d601f19601f8201168201806040525081019061359c91906140f1565b60015b613622573d80600081146135cf576040519150601f19603f3d011682016040523d82523d6000602084013e6135d4565b606091505b5060008151141561361a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361190614b13565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613677565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016136da84611bc7565b6136e4919061519d565b90506000600760008481526020019081526020016000205490508181146137c9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061384e919061519d565b905060006009600084815260200190815260200160002054905060006008838154811061387e5761387d6154b7565b5b9060005260206000200154905080600883815481106138a05761389f6154b7565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806138ef576138ee615488565b5b6001900381819060005260206000200160009055905550505050565b600061391683611bc7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139f190614d33565b60405180910390fd5b613a0381612a59565b15613a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a3a90614b53565b60405180910390fd5b613a4f60008383613379565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a9f9190615085565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613b77906152ef565b90600052602060002090601f016020900481019282613b995760008555613be0565b82601f10613bb257805160ff1916838001178555613be0565b82800160010185558215613be0579182015b82811115613bdf578251825591602001919060010190613bc4565b5b509050613bed9190613bf1565b5090565b5b80821115613c0a576000816000905550600101613bf2565b5090565b6000613c21613c1c84614f9c565b614f77565b905082815260208101848484011115613c3d57613c3c615524565b5b613c488482856152ad565b509392505050565b6000613c63613c5e84614fcd565b614f77565b905082815260208101848484011115613c7f57613c7e615524565b5b613c8a8482856152ad565b509392505050565b600081359050613ca181615df7565b92915050565b600081519050613cb681615df7565b92915050565b60008083601f840112613cd257613cd161551a565b5b8235905067ffffffffffffffff811115613cef57613cee615515565b5b602083019150836020820283011115613d0b57613d0a61551f565b5b9250929050565b600081359050613d2181615e0e565b92915050565b600081359050613d3681615e25565b92915050565b600081519050613d4b81615e25565b92915050565b60008083601f840112613d6757613d6661551a565b5b8235905067ffffffffffffffff811115613d8457613d83615515565b5b602083019150836001820283011115613da057613d9f61551f565b5b9250929050565b600082601f830112613dbc57613dbb61551a565b5b8135613dcc848260208601613c0e565b91505092915050565b600082601f830112613dea57613de961551a565b5b8135613dfa848260208601613c50565b91505092915050565b600081359050613e1281615e3c565b92915050565b600060208284031215613e2e57613e2d61552e565b5b6000613e3c84828501613c92565b91505092915050565b600060208284031215613e5b57613e5a61552e565b5b6000613e6984828501613ca7565b91505092915050565b60008060408385031215613e8957613e8861552e565b5b6000613e9785828601613c92565b9250506020613ea885828601613c92565b9150509250929050565b600080600060608486031215613ecb57613eca61552e565b5b6000613ed986828701613c92565b9350506020613eea86828701613c92565b9250506040613efb86828701613e03565b9150509250925092565b60008060008060808587031215613f1f57613f1e61552e565b5b6000613f2d87828801613c92565b9450506020613f3e87828801613c92565b9350506040613f4f87828801613e03565b925050606085013567ffffffffffffffff811115613f7057613f6f615529565b5b613f7c87828801613da7565b91505092959194509250565b60008060408385031215613f9f57613f9e61552e565b5b6000613fad85828601613c92565b9250506020613fbe85828601613d12565b9150509250929050565b600080600060608486031215613fe157613fe061552e565b5b6000613fef86828701613c92565b935050602084013567ffffffffffffffff8111156140105761400f615529565b5b61401c86828701613dd5565b925050604061402d86828701613e03565b9150509250925092565b6000806040838503121561404e5761404d61552e565b5b600061405c85828601613c92565b925050602061406d85828601613e03565b9150509250929050565b6000806020838503121561408e5761408d61552e565b5b600083013567ffffffffffffffff8111156140ac576140ab615529565b5b6140b885828601613cbc565b92509250509250929050565b6000602082840312156140da576140d961552e565b5b60006140e884828501613d27565b91505092915050565b6000602082840312156141075761410661552e565b5b600061411584828501613d3c565b91505092915050565b600080602083850312156141355761413461552e565b5b600083013567ffffffffffffffff81111561415357614152615529565b5b61415f85828601613d51565b92509250509250929050565b6000602082840312156141815761418061552e565b5b600061418f84828501613e03565b91505092915050565b600080604083850312156141af576141ae61552e565b5b60006141bd85828601613e03565b92505060206141ce85828601613e03565b9150509250929050565b60006141e48383614891565b60208301905092915050565b6141f9816151d1565b82525050565b600061420a8261500e565b614214818561503c565b935061421f83614ffe565b8060005b8381101561425057815161423788826141d8565b97506142428361502f565b925050600181019050614223565b5085935050505092915050565b614266816151e3565b82525050565b614275816151ef565b82525050565b600061428682615019565b614290818561504d565b93506142a08185602086016152bc565b6142a981615533565b840191505092915050565b6142bd81615265565b82525050565b6142cc81615277565b82525050565b60006142dd82615024565b6142e78185615069565b93506142f78185602086016152bc565b61430081615533565b840191505092915050565b600061431682615024565b614320818561507a565b93506143308185602086016152bc565b80840191505092915050565b6000614349601683615069565b915061435482615544565b602082019050919050565b600061436c600b8361507a565b91506143778261556d565b600b82019050919050565b600061438f602b83615069565b915061439a82615596565b604082019050919050565b60006143b2603283615069565b91506143bd826155e5565b604082019050919050565b60006143d5602683615069565b91506143e082615634565b604082019050919050565b60006143f8601c83615069565b915061440382615683565b602082019050919050565b600061441b601183615069565b9150614426826156ac565b602082019050919050565b600061443e601e83615069565b9150614449826156d5565b602082019050919050565b6000614461602083615069565b915061446c826156fe565b602082019050919050565b6000614484602483615069565b915061448f82615727565b604082019050919050565b60006144a7601983615069565b91506144b282615776565b602082019050919050565b60006144ca601483615069565b91506144d58261579f565b602082019050919050565b60006144ed602c83615069565b91506144f8826157c8565b604082019050919050565b6000614510603883615069565b915061451b82615817565b604082019050919050565b6000614533602a83615069565b915061453e82615866565b604082019050919050565b6000614556602983615069565b9150614561826158b5565b604082019050919050565b6000614579602e83615069565b915061458482615904565b604082019050919050565b600061459c601383615069565b91506145a782615953565b602082019050919050565b60006145bf60028361507a565b91506145ca8261597c565b600282019050919050565b60006145e2601983615069565b91506145ed826159a5565b602082019050919050565b6000614605602383615069565b9150614610826159ce565b604082019050919050565b6000614628602083615069565b915061463382615a1d565b602082019050919050565b600061464b602c83615069565b915061465682615a46565b604082019050919050565b600061466e601c83615069565b915061467982615a95565b602082019050919050565b6000614691601683615069565b915061469c82615abe565b602082019050919050565b60006146b4602383615069565b91506146bf82615ae7565b604082019050919050565b60006146d7602083615069565b91506146e282615b36565b602082019050919050565b60006146fa602983615069565b915061470582615b5f565b604082019050919050565b600061471d601383615069565b915061472882615bae565b602082019050919050565b6000614740601383615069565b915061474b82615bd7565b602082019050919050565b6000614763601e83615069565b915061476e82615c00565b602082019050919050565b6000614786602183615069565b915061479182615c29565b604082019050919050565b60006147a960008361505e565b91506147b482615c78565b600082019050919050565b60006147cc601083615069565b91506147d782615c7b565b602082019050919050565b60006147ef603183615069565b91506147fa82615ca4565b604082019050919050565b600061481260348361507a565b915061481d82615cf3565b603482019050919050565b6000614835602c83615069565b915061484082615d42565b604082019050919050565b6000614858601783615069565b915061486382615d91565b602082019050919050565b600061487b601a83615069565b915061488682615dba565b602082019050919050565b61489a8161524e565b82525050565b6148a98161524e565b82525050565b60006148ba8261479c565b9150819050919050565b60006148cf82614805565b91506148db828561430b565b91506148e68261435f565b91506148f2828461430b565b91506148fd826145b2565b91508190509392505050565b600060208201905061491e60008301846141f0565b92915050565b600060608201905061493960008301866141f0565b61494660208301856141f0565b61495360408301846148a0565b949350505050565b600060808201905061497060008301876141f0565b61497d60208301866141f0565b61498a60408301856148a0565b818103606083015261499c818461427b565b905095945050505050565b60006080820190506149bc60008301876141f0565b81810360208301526149ce81866142d2565b90506149dd60408301856148a0565b6149ea606083018461425d565b95945050505050565b60006020820190508181036000830152614a0d81846141ff565b905092915050565b6000602082019050614a2a600083018461425d565b92915050565b6000604082019050614a45600083018561425d565b8181036020830152614a57818461427b565b90509392505050565b6000602082019050614a75600083018461426c565b92915050565b6000602082019050614a9060008301846142b4565b92915050565b6000602082019050614aab60008301846142c3565b92915050565b60006020820190508181036000830152614acb81846142d2565b905092915050565b60006020820190508181036000830152614aec8161433c565b9050919050565b60006020820190508181036000830152614b0c81614382565b9050919050565b60006020820190508181036000830152614b2c816143a5565b9050919050565b60006020820190508181036000830152614b4c816143c8565b9050919050565b60006020820190508181036000830152614b6c816143eb565b9050919050565b60006020820190508181036000830152614b8c8161440e565b9050919050565b60006020820190508181036000830152614bac81614431565b9050919050565b60006020820190508181036000830152614bcc81614454565b9050919050565b60006020820190508181036000830152614bec81614477565b9050919050565b60006020820190508181036000830152614c0c8161449a565b9050919050565b60006020820190508181036000830152614c2c816144bd565b9050919050565b60006020820190508181036000830152614c4c816144e0565b9050919050565b60006020820190508181036000830152614c6c81614503565b9050919050565b60006020820190508181036000830152614c8c81614526565b9050919050565b60006020820190508181036000830152614cac81614549565b9050919050565b60006020820190508181036000830152614ccc8161456c565b9050919050565b60006020820190508181036000830152614cec8161458f565b9050919050565b60006020820190508181036000830152614d0c816145d5565b9050919050565b60006020820190508181036000830152614d2c816145f8565b9050919050565b60006020820190508181036000830152614d4c8161461b565b9050919050565b60006020820190508181036000830152614d6c8161463e565b9050919050565b60006020820190508181036000830152614d8c81614661565b9050919050565b60006020820190508181036000830152614dac81614684565b9050919050565b60006020820190508181036000830152614dcc816146a7565b9050919050565b60006020820190508181036000830152614dec816146ca565b9050919050565b60006020820190508181036000830152614e0c816146ed565b9050919050565b60006020820190508181036000830152614e2c81614710565b9050919050565b60006020820190508181036000830152614e4c81614733565b9050919050565b60006020820190508181036000830152614e6c81614756565b9050919050565b60006020820190508181036000830152614e8c81614779565b9050919050565b60006020820190508181036000830152614eac816147bf565b9050919050565b60006020820190508181036000830152614ecc816147e2565b9050919050565b60006020820190508181036000830152614eec81614828565b9050919050565b60006020820190508181036000830152614f0c8161484b565b9050919050565b60006020820190508181036000830152614f2c8161486e565b9050919050565b6000602082019050614f4860008301846148a0565b92915050565b6000604082019050614f6360008301856148a0565b614f7060208301846141f0565b9392505050565b6000614f81614f92565b9050614f8d8282615321565b919050565b6000604051905090565b600067ffffffffffffffff821115614fb757614fb66154e6565b5b614fc082615533565b9050602081019050919050565b600067ffffffffffffffff821115614fe857614fe76154e6565b5b614ff182615533565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150908261524e565b915061509b8361524e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150d0576150cf6153cc565b5b828201905092915050565b60006150e682615258565b91506150f183615258565b92508260ff03821115615107576151066153cc565b5b828201905092915050565b600061511d8261524e565b91506151288361524e565b925082615138576151376153fb565b5b828204905092915050565b600061514e8261524e565b91506151598361524e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615192576151916153cc565b5b828202905092915050565b60006151a88261524e565b91506151b38361524e565b9250828210156151c6576151c56153cc565b5b828203905092915050565b60006151dc8261522e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061522982615de3565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061527082615289565b9050919050565b60006152828261521b565b9050919050565b60006152948261529b565b9050919050565b60006152a68261522e565b9050919050565b82818337600083830152505050565b60005b838110156152da5780820151818401526020810190506152bf565b838111156152e9576000848401525b50505050565b6000600282049050600182168061530757607f821691505b6020821081141561531b5761531a615459565b5b50919050565b61532a82615533565b810181811067ffffffffffffffff82111715615349576153486154e6565b5b80604052505050565b600061535d8261524e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153905761538f6153cc565b5b600182019050919050565b60006153a68261524e565b91506153b18361524e565b9250826153c1576153c06153fb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f57726f6e6720616d6f756e74206f66206d6f6e65792e00000000000000000000600082015250565b7f222c22696d616765223a22000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f52616e646f6d206e6f7420666f756e642e000000000000000000000000000000600082015250565b7f476976656177617920646f6573206e6f74206e6565642070756c6c65642e0000600082015250565b7f53706c697420776569676874732068617665206e6f74206265656e207365742e600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f546869732076616c7565206973206d6f7265207468616e20617661696c61626c60008201527f6520746f2077697468647261772e000000000000000000000000000000000000602082015250565b7f45786365656473206d6178207065722074782e00000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f53706c6974732068617665206e6f74206265656e207365742e00000000000000600082015250565b7f5769746864726177616c73206f6620302063616e6e6f742074616b6520706c6160008201527f63652e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768207072697a6573206465706f73697465642e00000000600082015250565b7f57696e6e65727320616c72656164792063686f73656e00000000000000000000600082015250565b7f416c6c20746865207072697a65732068617665206265656e206465706f73697460008201527f65642e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d617820737570706c792e00000000000000000000000000600082015250565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b7f496e76616c69642073656e646572207069636b696e672077696e6e65722e0000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008201527f65223a22432e412e4d2e502e2042414447452023000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45786365656473207265736572766520737570706c792e000000000000000000600082015250565b7f4e6f7420726561647920746f207069636b2077696e6e6572732e000000000000600082015250565b60038110615df457615df361542a565b5b50565b615e00816151d1565b8114615e0b57600080fd5b50565b615e17816151e3565b8114615e2257600080fd5b50565b615e2e816151ef565b8114615e3957600080fd5b50565b615e458161524e565b8114615e5057600080fd5b5056fea2646970667358221220e0830497f94fd357c204bacee9b73fdf79480abb117145053ccab99ee6f807e564736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000004765201d1b463364c16d5fae1342b5489f67374d00000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d53375577766473575a4255714a64703366774b6e41317369583975757975616632664458683554456544355400000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000546f236713ffba75c81ebf3ca3d8e77ef81be12500000000000000000000000062180042606624f02d8a130da8a3171e9b33894d0000000000000000000000005fb41dbee72536e2761fc474be221a06dbd7d8120000000000000000000000002eff303377b9e01e042b7f80fb42836b35fb1a490000000000000000000000001cc1c5f71fe7c1a135cc060e17493bafcaff2b45000000000000000000000000060b7f2c82ba4a76f95f475fef0c7ec074ea39520000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000001095500000000000000000000000000000000000000000000000000000000000015f900000000000000000000000000000000000000000000000000000000000006d60000000000000000000000000000000000000000000000000000000000001c20000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000030d40000000000000000000000000000000000000000000000000000000000000005000000000000000000000000ba30e5f9bb24caa003e9f2f0497ad287fdf9562300000000000000000000000060e4d786628fea6478f785a6d7e704777c86a7c6000000000000000000000000d0a07a76746707f6d6d36d9d5897b14a8e9ed493000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d000000000000000000000000b7f7f6c52f2e2fdb1963eab30438024864c313f6

Deployed Bytecode

0x60806040526004361061025b5760003560e01c80635aa6e67511610144578063a487bcd8116100b6578063d622a5041161007a578063d622a5041461093e578063e336052614610969578063e985e9c514610992578063f2fde38b146109cf578063f3db9fe5146109f8578063f43a22dc14610a215761025b565b8063a487bcd814610845578063aa66797b14610870578063b88d4fde1461089b578063b8d63f45146108c4578063c87b56dd146109015761025b565b80638854bff6116101085780638854bff61461073f5780638d859f3e1461077f5780638da5cb5b146107aa57806395d89b41146107d5578063a0712d6814610800578063a22cb4651461081c5761025b565b80635aa6e675146106455780636352211e146106705780636e04ff0d146106ad57806370a08231146106eb578063715018a6146107285761025b565b806326d68cad116101dd57806336d50e0a116101a157806336d50e0a1461052557806340c84b0e1461054e57806342842e0e14610579578063438b6300146105a25780634585e33b146105df5780634f6ccce7146106085761025b565b806326d68cad146104525780632bdde7411461047b5780632f745c59146104a657806332cb6b0c146104e357806334918dfd1461050e5761025b565b8063095ea7b311610224578063095ea7b31461036d578063150b7a021461039657806318160ddd146103d3578063203d6df0146103fe57806323b872dd146104295761025b565b80624d4d2c1461026057806301ffc9a71461028b57806304a3e2e5146102c857806306fdde0314610305578063081812fc14610330575b600080fd5b34801561026c57600080fd5b50610275610a4c565b6040516102829190614f33565b60405180910390f35b34801561029757600080fd5b506102b260048036038101906102ad91906140c4565b610a52565b6040516102bf9190614a15565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea919061416b565b610acc565b6040516102fc9190614909565b60405180910390f35b34801561031157600080fd5b5061031a610b0b565b6040516103279190614ab1565b60405180910390f35b34801561033c57600080fd5b506103576004803603810190610352919061416b565b610b9d565b6040516103649190614909565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190614037565b610c22565b005b3480156103a257600080fd5b506103bd60048036038101906103b89190613f05565b610d3a565b6040516103ca9190614a60565b60405180910390f35b3480156103df57600080fd5b506103e8610d4e565b6040516103f59190614f33565b60405180910390f35b34801561040a57600080fd5b50610413610d5b565b6040516104209190614f33565b60405180910390f35b34801561043557600080fd5b50610450600480360381019061044b9190613eb2565b610d60565b005b34801561045e57600080fd5b5061047960048036038101906104749190614198565b610dc0565b005b34801561048757600080fd5b506104906111ff565b60405161049d9190614a96565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c89190614037565b611212565b6040516104da9190614f33565b60405180910390f35b3480156104ef57600080fd5b506104f86112b7565b6040516105059190614f33565b60405180910390f35b34801561051a57600080fd5b506105236112bd565b005b34801561053157600080fd5b5061054c6004803603810190610547919061416b565b6113b5565b005b34801561055a57600080fd5b50610563611654565b6040516105709190614ab1565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613eb2565b6116e2565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190613e18565b611702565b6040516105d691906149f3565b60405180910390f35b3480156105eb57600080fd5b506106066004803603810190610601919061411e565b61180c565b005b34801561061457600080fd5b5061062f600480360381019061062a919061416b565b611a2c565b60405161063c9190614f33565b60405180910390f35b34801561065157600080fd5b5061065a611a9d565b6040516106679190614a7b565b60405180910390f35b34801561067c57600080fd5b506106976004803603810190610692919061416b565b611ac3565b6040516106a49190614909565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf919061411e565b611b75565b6040516106e2929190614a30565b60405180910390f35b3480156106f757600080fd5b50610712600480360381019061070d9190613e18565b611bc7565b60405161071f9190614f33565b60405180910390f35b34801561073457600080fd5b5061073d611c7f565b005b34801561074b57600080fd5b506107666004803603810190610761919061416b565b611d07565b60405161077694939291906149a7565b60405180910390f35b34801561078b57600080fd5b50610794611dfc565b6040516107a19190614f33565b60405180910390f35b3480156107b657600080fd5b506107bf611e08565b6040516107cc9190614909565b60405180910390f35b3480156107e157600080fd5b506107ea611e32565b6040516107f79190614ab1565b60405180910390f35b61081a6004803603810190610815919061416b565b611ec4565b005b34801561082857600080fd5b50610843600480360381019061083e9190613f88565b612042565b005b34801561085157600080fd5b5061085a6121c3565b6040516108679190614f33565b60405180910390f35b34801561087c57600080fd5b506108856121c9565b6040516108929190614f33565b60405180910390f35b3480156108a757600080fd5b506108c260048036038101906108bd9190613f05565b6121ce565b005b3480156108d057600080fd5b506108eb60048036038101906108e69190613e18565b612230565b6040516108f89190614f33565b60405180910390f35b34801561090d57600080fd5b506109286004803603810190610923919061416b565b612279565b6040516109359190614ab1565b60405180910390f35b34801561094a57600080fd5b50610953612463565b6040516109609190614f33565b60405180910390f35b34801561097557600080fd5b50610990600480360381019061098b9190614077565b612469565b005b34801561099e57600080fd5b506109b960048036038101906109b49190613e72565b6125ad565b6040516109c69190614a15565b60405180910390f35b3480156109db57600080fd5b506109f660048036038101906109f19190613e18565b612641565b005b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613fc8565b612739565b005b348015610a2d57600080fd5b50610a36612972565b604051610a439190614f33565b60405180910390f35b60105481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac55750610ac482612977565b5b9050919050565b60128181548110610adc57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610b1a906152ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610b46906152ef565b8015610b935780601f10610b6857610100808354040283529160200191610b93565b820191906000526020600020905b815481529060010190602001808311610b7657829003601f168201915b5050505050905090565b6000610ba882612a59565b610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde90614d53565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c2d82611ac3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590614e73565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cbd612ac5565b73ffffffffffffffffffffffffffffffffffffffff161480610cec5750610ceb81610ce6612ac5565b6125ad565b5b610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2290614c53565b60405180910390fd5b610d358383612acd565b505050565b600063150b7a0260e01b9050949350505050565b6000600880549050905090565b600581565b610d71610d6b612ac5565b82612b86565b610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790614eb3565b60405180910390fd5b610dbb838383612c64565b505050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663360131896040518163ffffffff1660e01b815260040160206040518083038186803b158015610e2a57600080fd5b505afa158015610e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e629190613e45565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec990614e53565b60405180910390fd5b600280811115610ee557610ee461542a565b5b600f60159054906101000a900460ff166002811115610f0757610f0661542a565b5b14610f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3e90614f13565b60405180910390fd5b60008211610f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8190614b73565b60405180910390fd5b600560145410610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc690614d93565b60405180910390fd5b6000610fd9610d4e565b83610fe4919061539b565b905060006015600083815260200190815260200160002054141561118757600060138581548110611018576110176154b7565b5b906000526020600020906004020190506001856110359190615085565b601560008481526020019081526020016000208190555060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600061108084611ac3565b90508173ffffffffffffffffffffffffffffffffffffffff166323b872dd308386600201546040518463ffffffff1660e01b81526004016110c393929190614924565b600060405180830381600087803b1580156110dd57600080fd5b505af11580156110f1573d6000803e3d6000fd5b505050507f7286599a58b2822d6e330944038c6d3424134069b04156404050720b942d87ee8482604051611126929190614f4e565b60405180910390a16001601460008282546111419190615085565b925050819055506005601454141561117f576001600f60156101000a81548160ff021916908360028111156111795761117861542a565b5b02179055505b5050506111f9565b60008290508073ffffffffffffffffffffffffffffffffffffffff1663b37217a4866040518263ffffffff1660e01b81526004016111c59190614f33565b600060405180830381600087803b1580156111df57600080fd5b505af11580156111f3573d6000803e3d6000fd5b50505050505b50505050565b600f60159054906101000a900460ff1681565b600061121d83611bc7565b821061125e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125590614af3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271181565b6112c5612ac5565b73ffffffffffffffffffffffffffffffffffffffff166112e3611e08565b73ffffffffffffffffffffffffffffffffffffffff1614611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090614dd3565b60405180910390fd5b600560138054905014611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137890614d73565b60405180910390fd5b426010819055506000600f60156101000a81548160ff021916908360028111156113ae576113ad61542a565b5b0217905550565b6000600b80549050116113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f490614cf3565b60405180910390fd5b6000600c8054905011611445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143c90614bb3565b60405180910390fd5b60008111611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f90614d13565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561150a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150190614cb3565b60405180910390fd5b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611559919061519d565b9250508190555060003373ffffffffffffffffffffffffffffffffffffffff1682604051611586906148af565b60006040518083038185875af1925050503d80600081146115c3576040519150601f19603f3d011682016040523d82523d6000602084013e6115c8565b606091505b505090508061160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160390614e93565b60405180910390fd5b813373ffffffffffffffffffffffffffffffffffffffff167f44b2ff9ffcefe2052a8afdbed44a04bf3db4592ae90c6b96c818bd28573e41e860405160405180910390a35050565b600e8054611661906152ef565b80601f016020809104026020016040519081016040528092919081815260200182805461168d906152ef565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b505050505081565b6116fd838383604051806020016040528060008152506121ce565b505050565b6060600061170f83611bc7565b9050600081141561176c57600067ffffffffffffffff811115611735576117346154e6565b5b6040519080825280602002602001820160405280156117635781602001602082028036833780820191505090505b50915050611807565b60008167ffffffffffffffff811115611788576117876154e6565b5b6040519080825280602002602001820160405280156117b65781602001602082028036833780820191505090505b50905060005b82811015611800576117ce8582611212565b8282815181106117e1576117e06154b7565b5b60200260200101818152505080806117f890615352565b9150506117bc565b5080925050505b919050565b600060028111156118205761181f61542a565b5b600f60159054906101000a900460ff1660028111156118425761184161542a565b5b14611882576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187990614b93565b60405180910390fd5b6011544210156118c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118be90614f13565b60405180910390fd5b6002600f60156101000a81548160ff021916908360028111156118ed576118ec61542a565b5b02179055506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663360131896040518163ffffffff1660e01b815260040160206040518083038186803b15801561195c57600080fd5b505afa158015611970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119949190613e45565b9050600081905060005b6005811015611a25578173ffffffffffffffffffffffffffffffffffffffff1663b37217a4826040518263ffffffff1660e01b81526004016119e09190614f33565b600060405180830381600087803b1580156119fa57600080fd5b505af1158015611a0e573d6000803e3d6000fd5b505050508080611a1d90615352565b91505061199e565b5050505050565b6000611a36610d4e565b8210611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e90614ed3565b60405180910390fd5b60088281548110611a8b57611a8a6154b7565b5b90600052602060002001549050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6390614c93565b60405180910390fd5b80915050919050565b600060606011544210158015611bbe575060006002811115611b9a57611b9961542a565b5b600f60159054906101000a900460ff166002811115611bbc57611bbb61542a565b5b145b91509250929050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90614c73565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c87612ac5565b73ffffffffffffffffffffffffffffffffffffffff16611ca5611e08565b73ffffffffffffffffffffffffffffffffffffffff1614611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf290614dd3565b60405180910390fd5b611d056000612ec0565b565b60138181548110611d1757600080fd5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054611d60906152ef565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8c906152ef565b8015611dd95780601f10611dae57610100808354040283529160200191611dd9565b820191906000526020600020905b815481529060010190602001808311611dbc57829003601f168201915b5050505050908060020154908060030160009054906101000a900460ff16905084565b67011c37937e08000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e41906152ef565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6d906152ef565b8015611eba5780601f10611e8f57610100808354040283529160200191611eba565b820191906000526020600020905b815481529060010190602001808311611e9d57829003601f168201915b5050505050905090565b600060105411611f09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0090614e33565b60405180910390fd5b60158110611f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4390614cd3565b60405180910390fd5b6000611f56610d4e565b90506127118282611f679190615085565b10611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e90614e13565b60405180910390fd5b8167011c37937e080000611fbb9190615143565b3414611ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff390614ad3565b60405180910390fd5b60005b8281101561203557600081836120159190615085565b90506120213382612f86565b50808061202d90615352565b915050611fff565b5061203e612fa4565b5050565b61204a612ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af90614bf3565b60405180910390fd5b80600560006120c5612ac5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612172612ac5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121b79190614a15565b60405180910390a35050565b60145481565b600b81565b6121df6121d9612ac5565b83612b86565b61221e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221590614eb3565b60405180910390fd5b61222a8484848461312a565b50505050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606061228482612a59565b6122c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ba90614c13565b60405180910390fd5b6000600e80546122d2906152ef565b80601f01602080910402602001604051908101604052809291908181526020018280546122fe906152ef565b801561234b5780601f106123205761010080835404028352916020019161234b565b820191906000526020600020905b81548152906001019060200180831161232e57829003601f168201915b505050505090506000601560008581526020019081526020016000205490506000811115612430576013600182612382919061519d565b81548110612393576123926154b7565b5b906000526020600020906004020160010180546123af906152ef565b80601f01602080910402602001604051908101604052809291908181526020018280546123db906152ef565b80156124285780601f106123fd57610100808354040283529160200191612428565b820191906000526020600020905b81548152906001019060200180831161240b57829003601f168201915b505050505091505b61243984613186565b8260405160200161244b9291906148c4565b60405160208183030381529060405292505050919050565b60115481565b612471612ac5565b73ffffffffffffffffffffffffffffffffffffffff1661248f611e08565b73ffffffffffffffffffffffffffffffffffffffff16146124e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dc90614dd3565b60405180910390fd5b60006124ef610d4e565b90506000838390509050600b81836125079190615085565b10612547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253e90614ef3565b60405180910390fd5b6000805b828110156125a557808461255f9190615085565b9150612592868683818110612577576125766154b7565b5b905060200201602081019061258c9190613e18565b83612f86565b808061259d90615352565b91505061254b565b505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612649612ac5565b73ffffffffffffffffffffffffffffffffffffffff16612667611e08565b73ffffffffffffffffffffffffffffffffffffffff16146126bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b490614dd3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561272d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272490614b33565b60405180910390fd5b61273681612ec0565b50565b612741612ac5565b73ffffffffffffffffffffffffffffffffffffffff1661275f611e08565b73ffffffffffffffffffffffffffffffffffffffff16146127b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ac90614dd3565b60405180910390fd5b6005601380549050106127fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f490614db3565b60405180910390fd5b60008390508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161283f93929190614924565b600060405180830381600087803b15801561285957600080fd5b505af115801561286d573d6000803e3d6000fd5b50505050600060405180608001604052808673ffffffffffffffffffffffffffffffffffffffff168152602001858152602001848152602001600015158152509050601381908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101908051906020019061293e929190613b6b565b506040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555050505050505050565b601581565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a4257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a525750612a518261330f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b4083611ac3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b9182612a59565b612bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc790614c33565b60405180910390fd5b6000612bdb83611ac3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c4a57508373ffffffffffffffffffffffffffffffffffffffff16612c3284610b9d565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c5b5750612c5a81856125ad565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c8482611ac3565b73ffffffffffffffffffffffffffffffffffffffff1614612cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd190614df3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4190614bd3565b60405180910390fd5b612d55838383613379565b612d60600082612acd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612db0919061519d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e079190615085565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612fa082826040518060200160405280600081525061348d565b5050565b6000600b8054905011612fec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe390614cf3565b60405180910390fd5b6000600c8054905011613034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302b90614bb3565b60405180910390fd5b6000805b600b8054905081101561312657620186a0600c828154811061305d5761305c6154b7565b5b9060005260206000200154346130739190615143565b61307d9190615112565b915081600d6000600b8481548110613098576130976154b7565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461310c9190615085565b92505081905550808061311e90615352565b915050613038565b5050565b613135848484612c64565b613141848484846134e8565b613180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317790614b13565b60405180910390fd5b50505050565b606060008214156131ce576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061330a565b600082905060005b600082146132005780806131e990615352565b915050600a826131f99190615112565b91506131d6565b60008167ffffffffffffffff81111561321c5761321b6154e6565b5b6040519080825280601f01601f19166020018201604052801561324e5781602001600182028036833780820191505090505b50905060008290505b600086146133025760018161326c919061519d565b90506000600a808861327e9190615112565b6132889190615143565b87613293919061519d565b603061329f91906150db565b905060008160f81b9050808484815181106132bd576132bc6154b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a886132f99190615112565b97505050613257565b819450505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61338483838361367f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133c7576133c281613684565b613406565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146134055761340483826136cd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613449576134448161383a565b613488565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461348757613486828261390b565b5b5b505050565b613497838361398a565b6134a460008484846134e8565b6134e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134da90614b13565b60405180910390fd5b505050565b60006135098473ffffffffffffffffffffffffffffffffffffffff16613b58565b15613672578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613532612ac5565b8786866040518563ffffffff1660e01b8152600401613554949392919061495b565b602060405180830381600087803b15801561356e57600080fd5b505af192505050801561359f57506040513d601f19601f8201168201806040525081019061359c91906140f1565b60015b613622573d80600081146135cf576040519150601f19603f3d011682016040523d82523d6000602084013e6135d4565b606091505b5060008151141561361a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361190614b13565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613677565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016136da84611bc7565b6136e4919061519d565b90506000600760008481526020019081526020016000205490508181146137c9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061384e919061519d565b905060006009600084815260200190815260200160002054905060006008838154811061387e5761387d6154b7565b5b9060005260206000200154905080600883815481106138a05761389f6154b7565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806138ef576138ee615488565b5b6001900381819060005260206000200160009055905550505050565b600061391683611bc7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139f190614d33565b60405180910390fd5b613a0381612a59565b15613a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a3a90614b53565b60405180910390fd5b613a4f60008383613379565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a9f9190615085565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613b77906152ef565b90600052602060002090601f016020900481019282613b995760008555613be0565b82601f10613bb257805160ff1916838001178555613be0565b82800160010185558215613be0579182015b82811115613bdf578251825591602001919060010190613bc4565b5b509050613bed9190613bf1565b5090565b5b80821115613c0a576000816000905550600101613bf2565b5090565b6000613c21613c1c84614f9c565b614f77565b905082815260208101848484011115613c3d57613c3c615524565b5b613c488482856152ad565b509392505050565b6000613c63613c5e84614fcd565b614f77565b905082815260208101848484011115613c7f57613c7e615524565b5b613c8a8482856152ad565b509392505050565b600081359050613ca181615df7565b92915050565b600081519050613cb681615df7565b92915050565b60008083601f840112613cd257613cd161551a565b5b8235905067ffffffffffffffff811115613cef57613cee615515565b5b602083019150836020820283011115613d0b57613d0a61551f565b5b9250929050565b600081359050613d2181615e0e565b92915050565b600081359050613d3681615e25565b92915050565b600081519050613d4b81615e25565b92915050565b60008083601f840112613d6757613d6661551a565b5b8235905067ffffffffffffffff811115613d8457613d83615515565b5b602083019150836001820283011115613da057613d9f61551f565b5b9250929050565b600082601f830112613dbc57613dbb61551a565b5b8135613dcc848260208601613c0e565b91505092915050565b600082601f830112613dea57613de961551a565b5b8135613dfa848260208601613c50565b91505092915050565b600081359050613e1281615e3c565b92915050565b600060208284031215613e2e57613e2d61552e565b5b6000613e3c84828501613c92565b91505092915050565b600060208284031215613e5b57613e5a61552e565b5b6000613e6984828501613ca7565b91505092915050565b60008060408385031215613e8957613e8861552e565b5b6000613e9785828601613c92565b9250506020613ea885828601613c92565b9150509250929050565b600080600060608486031215613ecb57613eca61552e565b5b6000613ed986828701613c92565b9350506020613eea86828701613c92565b9250506040613efb86828701613e03565b9150509250925092565b60008060008060808587031215613f1f57613f1e61552e565b5b6000613f2d87828801613c92565b9450506020613f3e87828801613c92565b9350506040613f4f87828801613e03565b925050606085013567ffffffffffffffff811115613f7057613f6f615529565b5b613f7c87828801613da7565b91505092959194509250565b60008060408385031215613f9f57613f9e61552e565b5b6000613fad85828601613c92565b9250506020613fbe85828601613d12565b9150509250929050565b600080600060608486031215613fe157613fe061552e565b5b6000613fef86828701613c92565b935050602084013567ffffffffffffffff8111156140105761400f615529565b5b61401c86828701613dd5565b925050604061402d86828701613e03565b9150509250925092565b6000806040838503121561404e5761404d61552e565b5b600061405c85828601613c92565b925050602061406d85828601613e03565b9150509250929050565b6000806020838503121561408e5761408d61552e565b5b600083013567ffffffffffffffff8111156140ac576140ab615529565b5b6140b885828601613cbc565b92509250509250929050565b6000602082840312156140da576140d961552e565b5b60006140e884828501613d27565b91505092915050565b6000602082840312156141075761410661552e565b5b600061411584828501613d3c565b91505092915050565b600080602083850312156141355761413461552e565b5b600083013567ffffffffffffffff81111561415357614152615529565b5b61415f85828601613d51565b92509250509250929050565b6000602082840312156141815761418061552e565b5b600061418f84828501613e03565b91505092915050565b600080604083850312156141af576141ae61552e565b5b60006141bd85828601613e03565b92505060206141ce85828601613e03565b9150509250929050565b60006141e48383614891565b60208301905092915050565b6141f9816151d1565b82525050565b600061420a8261500e565b614214818561503c565b935061421f83614ffe565b8060005b8381101561425057815161423788826141d8565b97506142428361502f565b925050600181019050614223565b5085935050505092915050565b614266816151e3565b82525050565b614275816151ef565b82525050565b600061428682615019565b614290818561504d565b93506142a08185602086016152bc565b6142a981615533565b840191505092915050565b6142bd81615265565b82525050565b6142cc81615277565b82525050565b60006142dd82615024565b6142e78185615069565b93506142f78185602086016152bc565b61430081615533565b840191505092915050565b600061431682615024565b614320818561507a565b93506143308185602086016152bc565b80840191505092915050565b6000614349601683615069565b915061435482615544565b602082019050919050565b600061436c600b8361507a565b91506143778261556d565b600b82019050919050565b600061438f602b83615069565b915061439a82615596565b604082019050919050565b60006143b2603283615069565b91506143bd826155e5565b604082019050919050565b60006143d5602683615069565b91506143e082615634565b604082019050919050565b60006143f8601c83615069565b915061440382615683565b602082019050919050565b600061441b601183615069565b9150614426826156ac565b602082019050919050565b600061443e601e83615069565b9150614449826156d5565b602082019050919050565b6000614461602083615069565b915061446c826156fe565b602082019050919050565b6000614484602483615069565b915061448f82615727565b604082019050919050565b60006144a7601983615069565b91506144b282615776565b602082019050919050565b60006144ca601483615069565b91506144d58261579f565b602082019050919050565b60006144ed602c83615069565b91506144f8826157c8565b604082019050919050565b6000614510603883615069565b915061451b82615817565b604082019050919050565b6000614533602a83615069565b915061453e82615866565b604082019050919050565b6000614556602983615069565b9150614561826158b5565b604082019050919050565b6000614579602e83615069565b915061458482615904565b604082019050919050565b600061459c601383615069565b91506145a782615953565b602082019050919050565b60006145bf60028361507a565b91506145ca8261597c565b600282019050919050565b60006145e2601983615069565b91506145ed826159a5565b602082019050919050565b6000614605602383615069565b9150614610826159ce565b604082019050919050565b6000614628602083615069565b915061463382615a1d565b602082019050919050565b600061464b602c83615069565b915061465682615a46565b604082019050919050565b600061466e601c83615069565b915061467982615a95565b602082019050919050565b6000614691601683615069565b915061469c82615abe565b602082019050919050565b60006146b4602383615069565b91506146bf82615ae7565b604082019050919050565b60006146d7602083615069565b91506146e282615b36565b602082019050919050565b60006146fa602983615069565b915061470582615b5f565b604082019050919050565b600061471d601383615069565b915061472882615bae565b602082019050919050565b6000614740601383615069565b915061474b82615bd7565b602082019050919050565b6000614763601e83615069565b915061476e82615c00565b602082019050919050565b6000614786602183615069565b915061479182615c29565b604082019050919050565b60006147a960008361505e565b91506147b482615c78565b600082019050919050565b60006147cc601083615069565b91506147d782615c7b565b602082019050919050565b60006147ef603183615069565b91506147fa82615ca4565b604082019050919050565b600061481260348361507a565b915061481d82615cf3565b603482019050919050565b6000614835602c83615069565b915061484082615d42565b604082019050919050565b6000614858601783615069565b915061486382615d91565b602082019050919050565b600061487b601a83615069565b915061488682615dba565b602082019050919050565b61489a8161524e565b82525050565b6148a98161524e565b82525050565b60006148ba8261479c565b9150819050919050565b60006148cf82614805565b91506148db828561430b565b91506148e68261435f565b91506148f2828461430b565b91506148fd826145b2565b91508190509392505050565b600060208201905061491e60008301846141f0565b92915050565b600060608201905061493960008301866141f0565b61494660208301856141f0565b61495360408301846148a0565b949350505050565b600060808201905061497060008301876141f0565b61497d60208301866141f0565b61498a60408301856148a0565b818103606083015261499c818461427b565b905095945050505050565b60006080820190506149bc60008301876141f0565b81810360208301526149ce81866142d2565b90506149dd60408301856148a0565b6149ea606083018461425d565b95945050505050565b60006020820190508181036000830152614a0d81846141ff565b905092915050565b6000602082019050614a2a600083018461425d565b92915050565b6000604082019050614a45600083018561425d565b8181036020830152614a57818461427b565b90509392505050565b6000602082019050614a75600083018461426c565b92915050565b6000602082019050614a9060008301846142b4565b92915050565b6000602082019050614aab60008301846142c3565b92915050565b60006020820190508181036000830152614acb81846142d2565b905092915050565b60006020820190508181036000830152614aec8161433c565b9050919050565b60006020820190508181036000830152614b0c81614382565b9050919050565b60006020820190508181036000830152614b2c816143a5565b9050919050565b60006020820190508181036000830152614b4c816143c8565b9050919050565b60006020820190508181036000830152614b6c816143eb565b9050919050565b60006020820190508181036000830152614b8c8161440e565b9050919050565b60006020820190508181036000830152614bac81614431565b9050919050565b60006020820190508181036000830152614bcc81614454565b9050919050565b60006020820190508181036000830152614bec81614477565b9050919050565b60006020820190508181036000830152614c0c8161449a565b9050919050565b60006020820190508181036000830152614c2c816144bd565b9050919050565b60006020820190508181036000830152614c4c816144e0565b9050919050565b60006020820190508181036000830152614c6c81614503565b9050919050565b60006020820190508181036000830152614c8c81614526565b9050919050565b60006020820190508181036000830152614cac81614549565b9050919050565b60006020820190508181036000830152614ccc8161456c565b9050919050565b60006020820190508181036000830152614cec8161458f565b9050919050565b60006020820190508181036000830152614d0c816145d5565b9050919050565b60006020820190508181036000830152614d2c816145f8565b9050919050565b60006020820190508181036000830152614d4c8161461b565b9050919050565b60006020820190508181036000830152614d6c8161463e565b9050919050565b60006020820190508181036000830152614d8c81614661565b9050919050565b60006020820190508181036000830152614dac81614684565b9050919050565b60006020820190508181036000830152614dcc816146a7565b9050919050565b60006020820190508181036000830152614dec816146ca565b9050919050565b60006020820190508181036000830152614e0c816146ed565b9050919050565b60006020820190508181036000830152614e2c81614710565b9050919050565b60006020820190508181036000830152614e4c81614733565b9050919050565b60006020820190508181036000830152614e6c81614756565b9050919050565b60006020820190508181036000830152614e8c81614779565b9050919050565b60006020820190508181036000830152614eac816147bf565b9050919050565b60006020820190508181036000830152614ecc816147e2565b9050919050565b60006020820190508181036000830152614eec81614828565b9050919050565b60006020820190508181036000830152614f0c8161484b565b9050919050565b60006020820190508181036000830152614f2c8161486e565b9050919050565b6000602082019050614f4860008301846148a0565b92915050565b6000604082019050614f6360008301856148a0565b614f7060208301846141f0565b9392505050565b6000614f81614f92565b9050614f8d8282615321565b919050565b6000604051905090565b600067ffffffffffffffff821115614fb757614fb66154e6565b5b614fc082615533565b9050602081019050919050565b600067ffffffffffffffff821115614fe857614fe76154e6565b5b614ff182615533565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150908261524e565b915061509b8361524e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150d0576150cf6153cc565b5b828201905092915050565b60006150e682615258565b91506150f183615258565b92508260ff03821115615107576151066153cc565b5b828201905092915050565b600061511d8261524e565b91506151288361524e565b925082615138576151376153fb565b5b828204905092915050565b600061514e8261524e565b91506151598361524e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615192576151916153cc565b5b828202905092915050565b60006151a88261524e565b91506151b38361524e565b9250828210156151c6576151c56153cc565b5b828203905092915050565b60006151dc8261522e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061522982615de3565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061527082615289565b9050919050565b60006152828261521b565b9050919050565b60006152948261529b565b9050919050565b60006152a68261522e565b9050919050565b82818337600083830152505050565b60005b838110156152da5780820151818401526020810190506152bf565b838111156152e9576000848401525b50505050565b6000600282049050600182168061530757607f821691505b6020821081141561531b5761531a615459565b5b50919050565b61532a82615533565b810181811067ffffffffffffffff82111715615349576153486154e6565b5b80604052505050565b600061535d8261524e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153905761538f6153cc565b5b600182019050919050565b60006153a68261524e565b91506153b18361524e565b9250826153c1576153c06153fb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f57726f6e6720616d6f756e74206f66206d6f6e65792e00000000000000000000600082015250565b7f222c22696d616765223a22000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f52616e646f6d206e6f7420666f756e642e000000000000000000000000000000600082015250565b7f476976656177617920646f6573206e6f74206e6565642070756c6c65642e0000600082015250565b7f53706c697420776569676874732068617665206e6f74206265656e207365742e600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f546869732076616c7565206973206d6f7265207468616e20617661696c61626c60008201527f6520746f2077697468647261772e000000000000000000000000000000000000602082015250565b7f45786365656473206d6178207065722074782e00000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f53706c6974732068617665206e6f74206265656e207365742e00000000000000600082015250565b7f5769746864726177616c73206f6620302063616e6e6f742074616b6520706c6160008201527f63652e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768207072697a6573206465706f73697465642e00000000600082015250565b7f57696e6e65727320616c72656164792063686f73656e00000000000000000000600082015250565b7f416c6c20746865207072697a65732068617665206265656e206465706f73697460008201527f65642e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d617820737570706c792e00000000000000000000000000600082015250565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b7f496e76616c69642073656e646572207069636b696e672077696e6e65722e0000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d60008201527f65223a22432e412e4d2e502e2042414447452023000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f45786365656473207265736572766520737570706c792e000000000000000000600082015250565b7f4e6f7420726561647920746f207069636b2077696e6e6572732e000000000000600082015250565b60038110615df457615df361542a565b5b50565b615e00816151d1565b8114615e0b57600080fd5b50565b615e17816151e3565b8114615e2257600080fd5b50565b615e2e816151ef565b8114615e3957600080fd5b50565b615e458161524e565b8114615e5057600080fd5b5056fea2646970667358221220e0830497f94fd357c204bacee9b73fdf79480abb117145053ccab99ee6f807e564736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000004765201d1b463364c16d5fae1342b5489f67374d00000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d53375577766473575a4255714a64703366774b6e41317369583975757975616632664458683554456544355400000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000546f236713ffba75c81ebf3ca3d8e77ef81be12500000000000000000000000062180042606624f02d8a130da8a3171e9b33894d0000000000000000000000005fb41dbee72536e2761fc474be221a06dbd7d8120000000000000000000000002eff303377b9e01e042b7f80fb42836b35fb1a490000000000000000000000001cc1c5f71fe7c1a135cc060e17493bafcaff2b45000000000000000000000000060b7f2c82ba4a76f95f475fef0c7ec074ea39520000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000001095500000000000000000000000000000000000000000000000000000000000015f900000000000000000000000000000000000000000000000000000000000006d60000000000000000000000000000000000000000000000000000000000001c20000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000030d40000000000000000000000000000000000000000000000000000000000000005000000000000000000000000ba30e5f9bb24caa003e9f2f0497ad287fdf9562300000000000000000000000060e4d786628fea6478f785a6d7e704777c86a7c6000000000000000000000000d0a07a76746707f6d6d36d9d5897b14a8e9ed493000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d000000000000000000000000b7f7f6c52f2e2fdb1963eab30438024864c313f6

-----Decoded View---------------
Arg [0] : _baseURL (string): ipfs://QmS7UwvdsWZBUqJdp3fwKnA1siX9uuyuaf2fDXh5TEeD5T
Arg [1] : _splits (address[]): 0x546F236713ffBA75C81EBF3CA3D8E77ef81be125,0x62180042606624f02D8A130dA8A3171e9b33894d,0x5fb41DbeE72536E2761FC474bE221a06dbd7d812,0x2EFF303377B9E01e042B7F80fB42836B35FB1a49,0x1Cc1C5F71fe7C1A135cC060e17493bafCAFf2B45,0x060b7F2C82ba4A76f95f475FEF0C7EC074Ea3952
Arg [2] : _splitWeights (uint256[]): 67925,5625,1750,7200,5000,12500
Arg [3] : _governance (address): 0x4765201D1B463364C16D5faE1342B5489F67374d
Arg [4] : _whitelistedContracts (address[]): 0xba30E5F9Bb24caa003E9f2f0497Ad287FDF95623,0x60E4d786628Fea6478F785A6d7e704777c86a7c6,0xd0A07a76746707f6D6d36D9d5897B14a8e9ED493,0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D,0xb7F7F6C52F2e2fdb1963Eab30438024864c313F6

-----Encoded View---------------
28 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 0000000000000000000000004765201d1b463364c16d5fae1342b5489f67374d
Arg [4] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [6] : 697066733a2f2f516d53375577766473575a4255714a64703366774b6e413173
Arg [7] : 6958397575797561663266445868355445654435540000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 000000000000000000000000546f236713ffba75c81ebf3ca3d8e77ef81be125
Arg [10] : 00000000000000000000000062180042606624f02d8a130da8a3171e9b33894d
Arg [11] : 0000000000000000000000005fb41dbee72536e2761fc474be221a06dbd7d812
Arg [12] : 0000000000000000000000002eff303377b9e01e042b7f80fb42836b35fb1a49
Arg [13] : 0000000000000000000000001cc1c5f71fe7c1a135cc060e17493bafcaff2b45
Arg [14] : 000000000000000000000000060b7f2c82ba4a76f95f475fef0c7ec074ea3952
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [16] : 0000000000000000000000000000000000000000000000000000000000010955
Arg [17] : 00000000000000000000000000000000000000000000000000000000000015f9
Arg [18] : 00000000000000000000000000000000000000000000000000000000000006d6
Arg [19] : 0000000000000000000000000000000000000000000000000000000000001c20
Arg [20] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [21] : 00000000000000000000000000000000000000000000000000000000000030d4
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [23] : 000000000000000000000000ba30e5f9bb24caa003e9f2f0497ad287fdf95623
Arg [24] : 00000000000000000000000060e4d786628fea6478f785a6d7e704777c86a7c6
Arg [25] : 000000000000000000000000d0a07a76746707f6d6d36d9d5897b14a8e9ed493
Arg [26] : 000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d
Arg [27] : 000000000000000000000000b7f7f6c52f2e2fdb1963eab30438024864c313f6


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.