ETH Price: $2,545.28 (+3.29%)

Contract

0xBdC327Eee4E54779a3337Ee18da164e5755E78e6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...199747692024-05-29 9:57:1191 days ago1716976631IN
0xBdC327Ee...5755E78e6
0 ETH0.000368977.90716817
Set Approval For...188007782023-12-16 19:44:23256 days ago1702755863IN
0xBdC327Ee...5755E78e6
0 ETH0.0021255345.55070842
Set Approval For...183337872023-10-12 10:37:59321 days ago1697107079IN
0xBdC327Ee...5755E78e6
0 ETH0.00030326.49775616
Set Approval For...181673102023-09-19 3:33:59345 days ago1695094439IN
0xBdC327Ee...5755E78e6
0 ETH0.00037247.97654961
Safe Transfer Fr...180813632023-09-07 1:46:59357 days ago1694051219IN
0xBdC327Ee...5755E78e6
0 ETH0.0006983110.44131418
Safe Transfer Fr...175351922023-06-22 12:35:23433 days ago1687437323IN
0xBdC327Ee...5755E78e6
0 ETH0.001041115.79243267
Set Approval For...170475762023-04-14 19:53:11502 days ago1681501991IN
0xBdC327Ee...5755E78e6
0 ETH0.0012354326.47573691
Set Approval For...169081452023-03-26 0:49:59522 days ago1679791799IN
0xBdC327Ee...5755E78e6
0 ETH0.0007170215.36605606
Set Approval For...168624192023-03-19 14:40:23528 days ago1679236823IN
0xBdC327Ee...5755E78e6
0 ETH0.0003960116
Set Approval For...168620132023-03-19 13:18:11528 days ago1679231891IN
0xBdC327Ee...5755E78e6
0 ETH0.000850818.2328748
Safe Transfer Fr...168362162023-03-15 22:19:59532 days ago1678918799IN
0xBdC327Ee...5755E78e6
0 ETH0.0027542141.1888868
Safe Transfer Fr...168349332023-03-15 17:59:35532 days ago1678903175IN
0xBdC327Ee...5755E78e6
0 ETH0.002805439.14443313
Set Approval For...166068382023-02-11 16:53:59564 days ago1676134439IN
0xBdC327Ee...5755E78e6
0 ETH0.0009357520.05337418
Set Approval For...165381002023-02-02 2:20:11574 days ago1675304411IN
0xBdC327Ee...5755E78e6
0 ETH0.0009251319.825953
Set Approval For...164941482023-01-26 23:02:35580 days ago1674774155IN
0xBdC327Ee...5755E78e6
0 ETH0.0015127332.41828266
Set Approval For...159865622022-11-17 1:49:11651 days ago1668649751IN
0xBdC327Ee...5755E78e6
0 ETH0.000584812.53245438
Set Approval For...158497722022-10-28 23:14:11670 days ago1666998851IN
0xBdC327Ee...5755E78e6
0 ETH0.0002502610.08184758
Safe Transfer Fr...158128132022-10-23 19:10:59675 days ago1666552259IN
0xBdC327Ee...5755E78e6
0 ETH0.0008463417.3304523
Set Approval For...156776012022-10-04 21:59:35694 days ago1664920775IN
0xBdC327Ee...5755E78e6
0 ETH0.0004926319.83616978
Set Approval For...156677542022-10-03 12:53:59695 days ago1664801639IN
0xBdC327Ee...5755E78e6
0 ETH0.0005442511.66362399
Safe Transfer Fr...156677302022-10-03 12:49:11695 days ago1664801351IN
0xBdC327Ee...5755E78e6
0 ETH0.0007156710.85408483
Set Approval For...155351922022-09-14 21:35:14714 days ago1663191314IN
0xBdC327Ee...5755E78e6
0 ETH0.000425239.11285203
Safe Transfer Fr...155225522022-09-12 19:04:25716 days ago1663009465IN
0xBdC327Ee...5755E78e6
0 ETH0.0007078510.73541453
Set Approval For...154332892022-08-29 9:14:53730 days ago1661764493IN
0xBdC327Ee...5755E78e6
0 ETH0.000245995.27181774
Set Approval For...154271072022-08-28 9:50:35731 days ago1661680235IN
0xBdC327Ee...5755E78e6
0 ETH0.000282886.06219759
View all transactions

Latest 15 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
148718092022-05-30 9:32:06821 days ago1653903126
0xBdC327Ee...5755E78e6
15.87319757 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.05490549 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.05490549 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.05490549 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.05490549 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.05490549 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.05490549 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.05490549 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.7625 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
1.3725 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
1.0675 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
0.10981098 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
2.19621962 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
4.66696669 ETH
148298102022-05-23 13:19:54828 days ago1653311994
0xBdC327Ee...5755E78e6
4.66696669 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MoneyBags

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : MoneyBags.sol
// SPDX-License-Identifier: Proprietary
// Creator: António Nunes Duarte;

pragma solidity ^0.8.0;

// Imports
import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
	@dev Implementation of MoneyBags Token, using the [ERC721A] standard for optimized
	gas costs, specially when batch minting Tokens.

	This token works exclusively in a Whitelist so there is no need to close and open whitelist.
 */
contract MoneyBags is ERC721A, Ownable {
	constructor(address _adminSigner) ERC721A("MoneyBags", "MBG") {
		adminSigner = _adminSigner;
	}

	// Chainlink related configs.
	address vrfCoordinator = 0x6168499c0cFfCaCD319c818142124B7A15E857ab;
	address link = 0x01BE23585060835E02B77ef475b0Cc51aA1e0709;
	bytes32 keyHash = 0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc;
	uint32 callbackGasLimit = 100000;
	uint16 requestConfirmations = 3;
	uint32 numWords =  1;
	uint256[] public s_randomWords; // Where the random values are stored 
	uint256 public s_requestId;
	address s_owner;
		
	// Minting related variables
	uint private mintPrice = 100000000;
	uint16 private numberOfTokens = 5555;
	uint private numberPrizes = 0;
	mapping(uint => bool) alreadySelected;

	string private baseURI; 

	/**
	 *  
	 *	0 -> [Closed]
	 *	1 -> [Whitelist]
	 *		Ballers -> Mint (2)
	 *		Stacked -> Mint (1)
	 *	
	 * 	2 -> [Community FFA]
	 *		Ballers -> Mint (2)
	 * 		Stacked -> Mint (1)
	 *		Community -> Mint (1)
	 *		
	 *	3 -> [Public]
	 *		Everyone -> Mint (3)
	*/
	uint16 private mintingPhase = 0;

	bool private withdrawSelected = false;
	bool private isWinnerSelected = false;

	// The time at which the collection 
	uint256 private withdrawTime = 0;

	// Coupon for signature verification
	struct Coupon {
		bytes32 r;
		bytes32 s;
		uint8 v;
	}

	enum CouponType {
		Ballers,
		Stacked,
		Community
	}

	struct Winner {
		uint winner; // winner NFT index in the ERC721A array  
		bool prizeClaimed; // was the prize already claimed?
	}

	// The list of participations
	Winner[] public winners;

	uint16 constant NUMBER_PRIZES = 556;

	uint constant NUMBER_FIRST_PRIZE = 1;
	uint constant NUMBER_SECOND_PRIZE = 5;
	uint constant NUMBER_THIRD_PRIZE = 50;
	uint constant NUMBER_FOURTH_PRIZE = 500;

	uint firstPrize; // [ASSIGN] [DONE]
	uint secondPrize; // [ASSIGN] [DONE]
	uint thirdPrize; // [ASSIGN] [DONE]
	uint fourthPrize; // [ASSIGN] [DONE]

	// The signer address (Whitelist)
	address private adminSigner;

	/* ---------------- */
	/* Public Functions */
	/* ---------------- */

	function setAdminSigner(address _signer) public onlyOwner {
		adminSigner = _signer;
	}

	/**
		@dev Function that allows minting of an NFT.
	 */
	function mint(
		address _to,
		uint _quantity,
		Coupon calldata _coupon
	) public payable {
		uint quantityCanMint = 0;

		if (!(mintingPhase == 3)) {
			require(mintingPhase > 0, "Error: Minting Closed");

			CouponType personalCoupon;
			bool couponVerified = false;
	
			bytes32 digestBallers = keccak256(abi.encode(CouponType.Ballers, _to));
			bytes32 digestStacked = keccak256(abi.encode(CouponType.Stacked, _to));
			bytes32 digestCommunity = keccak256(abi.encode(CouponType.Community, _to));

			if (_isVerifiedCoupon(digestBallers, _coupon)) {
				personalCoupon = CouponType.Ballers;
				quantityCanMint = 2;
				couponVerified = true;
			}
			else if (_isVerifiedCoupon(digestStacked, _coupon)) {
				personalCoupon = CouponType.Stacked;
				quantityCanMint = 1;
				couponVerified = true;
			}
			else if (_isVerifiedCoupon(digestCommunity, _coupon)) {
				personalCoupon = CouponType.Community;
				quantityCanMint = 3;
				couponVerified = true;
			}

			require(couponVerified, "Error: You have no key, wait for the public mint"); 

			if (mintingPhase == 1) {
				require(personalCoupon == CouponType.Ballers || personalCoupon == CouponType.Stacked, "Error: Invalid token");
			} 
			else if (mintingPhase == 2) {
				require(personalCoupon == CouponType.Ballers || personalCoupon == CouponType.Stacked || personalCoupon == CouponType.Community, "Error: Invalid token");
			}
		
		} else require (mintingPhase == 3, "Error: Invalid token");

		if (mintingPhase == 3) quantityCanMint = 3;
		
		require(_quantity > 0, "Error: You need to Mint more than one Token.");
		require((_quantity + totalSupply()) < 5555, "Error: The quantity you're trying to mint excceeds the total supply");
		require(_quantity + _addressData[_to].numberMinted <= quantityCanMint, "Error: You can't mint that quantity of tokens.");
		require(msg.value >= ((_quantity * mintPrice) * (1 gwei)), "Error: You aren't paying enough.");

		_mint(_to, _quantity, "", false);
	}

	function selectWinnerWithdraw() public payable {
		require(!isWinnerSelected); // If winner is selected can't re-run it
		
		// The owners have a 24h grace period to call it themselves
		if ((block.timestamp - withdrawTime) < 1 days) {
			require(msg.sender == owner());
		} 

		uint random = super.chainlinkFullFillRandom();

		if (NUMBER_PRIZES < super.totalSupply()) {
			numberPrizes = NUMBER_PRIZES;
		}
		else {
			numberPrizes = super.totalSupply();
		}

		// Expand one random value into x random values by encoding and hashing
		for (uint i = 0; i < numberPrizes; i++) {
			uint256 winnerIndex = uint256(keccak256(abi.encode(random, i))) % super.totalSupply();

			while (alreadySelected[winnerIndex]) {
				winnerIndex++;
			}

			Winner memory winner = Winner(winnerIndex, false);
			alreadySelected[winnerIndex] = true;
			winners.push(winner);
		}

		// Prize value selection logic:
		firstPrize = (address(this).balance *  90009000900090000 / 1000000000000000000);
		secondPrize = (address(this).balance * 18001800180018002 / 1000000000000000000);
		thirdPrize = (address(this).balance *  18001800180018002 / 10000000000000000000);
		fourthPrize = (address(this).balance * 18001800180018002 / 100000000000000000000);

		// Comission distribution:
		distributeComissions();

		isWinnerSelected = true;
	}

	/**
	* @dev Distribute the comissions to the members of the team.
	*/
	function distributeComissions() public onlyOwner {
		uint balance = address(this).balance;

		uint firstValue = balance * 1530153015 / 10000000000;
		uint secondValue = balance * 7200720072007201 / 100000000000000000;
		uint thirdValue = balance * 36003600360036003 / 10000000000000000000;
									  
		uint fourthValue = balance * 35 / 1000;
		uint fifthValue = balance * 45 / 1000;
		uint devValue = balance * 25 / 1000;
		
		uint sixthValue = balance * 18001800180018002 / 10000000000000000000;

		payable(0xAE503cB1F8c5F1b999623b66A31c84122e123Ae7).call{ value: firstValue }("");

		payable(0x0359C701895Db8FCBc5e6CaE023d508fa309EeD4).call{ value: firstValue }("");
		payable(0x55C8D0ef52494690E829e8246dDdaE58b5CA0186).call{ value: secondValue }("");
		payable(0xd7f87f147c895454c256d242A8379869a98aac6a).call{ value: thirdValue }("");

		payable(0x29D44168b2C576930086FF412B94A9cB2A07cA50).call{ value: fourthValue }("");
		payable(0xeD6875a961D38076ADb27226aa0865b09225dc7e).call{ value: fifthValue }("");
		payable(0xc8fab3b8753984b7D8f413b730A211b0eDde3B7c).call{ value: devValue }("");

		payable(0x46d11DC635e3d772Beda70E3fa49a5242ad763b1).call{ value: sixthValue }("");
		payable(0xcE34f4A7A2E7E76440110220856e8C822886B205).call{ value: sixthValue }("");
		payable(0x1bE2e5c277f77679888B11c9311680fe873d3a3b).call{ value: sixthValue }("");
		payable(0xe84Dd44483Fe46AB108748D20FDE5040c5AA857C).call{ value: sixthValue }("");
		payable(0xCa1d749457109cfc162DD4FDaB7E1956DFeBDfB0).call{ value: sixthValue }("");
		payable(0xc7F90cf9033bA51C166002A960bc276274bB7769).call{ value: sixthValue }("");
		payable(0xd87697D737DD4E51347677fBCCA92a2BB4C4c756).call{ value: sixthValue }("");
	}

	function getWinners() public view returns(Winner[] memory)  {
		return winners;
	}

	/**
	* @dev Function that allows the owner of the contract to withdraw the funds
	* x days after the winner is selected.
	*/
	function withdrawFunds() payable public onlyOwner {
		require(block.timestamp > withdrawTime + 7 days);
		(bool success, ) = payable(owner()).call{ value: address(this).balance }("");
		require(success);
	}


	// [MOST IMPORTANT FUNCTION]
	function claimPrize() payable external {
		require(isWinnerSelected); // Require that the winner is already selected.

		uint totalPrize = 0;		
		for (uint i = 0; i < numberPrizes; i++) {
			if (msg.sender == ownerOf(winners[i].winner)) {
				if (!winners[i].prizeClaimed) {
					if (i == 0) {
						totalPrize += firstPrize;
					}
					else if (i == 1 || i == 2 || i == 3 || i == 4 || i == 5) {
						totalPrize += secondPrize;
					}
					else if (i >= 6 && i <= 56) {
						totalPrize += thirdPrize;
					}
					else {
						totalPrize += fourthPrize;
					}
					
					winners[i].prizeClaimed = true;
				}
			}
		}

		// transfer prize
		if (totalPrize > 0) {
			(bool success, ) = payable(msg.sender).call{ value: totalPrize }("");
			require(success);
		}
	}

	/**
	* @dev Selects minting phase
	*/
	function selectMintingPhase(uint16 phase) external onlyOwner {
		mintingPhase = phase;
	}

	/**
		@dev Sets the withdraw time and starts the lottery.
	*/
	function setWithdrawTime(uint _date) external onlyOwner {
		require(!withdrawSelected);

		withdrawSelected = true;
		withdrawTime = _date;
	}

	function setBaseURI(string memory _uri) public onlyOwner {
		baseURI = _uri;
	}

	/* ------------------- */
	/* Auxiliary Functions */
	/* ------------------- */

	/**
		@dev Function to indicate the base URI of the metadata.
	 */
	function _baseURI() internal view virtual override returns (string memory) {
		return baseURI; // TODO: Replace with true metadata
	}

	/**
	 	@dev check that the coupon sent was signed by the admin signer
	*/
	function _isVerifiedCoupon(bytes32 _digest, Coupon memory _coupon)
		internal
		view
		returns (bool)
	{
		address signer = ecrecover(_digest, _coupon.v, _coupon.r, _coupon.s);
		require(signer != address(0), 'ECDSA: Invalid signature'); // Added check for zero address
		return signer == adminSigner;
	}

	/* --------- */
	/* Modifiers */
	/* --------- */

	/**
		@dev Modifier to ensure that the owner can only trigger the function before the lottery starts.
	*/
	modifier ownerCanTrigger() {
		require(withdrawTime < block.timestamp, "Lottery: You can't trigger the function before the lottery ends.");
		_;
	}

}

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

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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

File 3 of 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) internal _addressData;

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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



    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        unchecked {
            for (uint256 curr = tokenId; curr >= 0; curr--) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (ownership.addr != address(0)) {
                    return ownership;
                }
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: 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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: transfer to non ERC721Receiver implementer'
        );
    }

		function chainlinkFullFillRandom() internal returns (uint) {
        return block.timestamp;
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                if (_exists(nextTokenId)) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 4 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 12 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

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

File 9 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_adminSigner","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"},{"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":"claimPrize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"distributeComissions","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":[],"name":"getWinners","outputs":[{"components":[{"internalType":"uint256","name":"winner","type":"uint256"},{"internalType":"bool","name":"prizeClaimed","type":"bool"}],"internalType":"struct MoneyBags.Winner[]","name":"","type":"tuple[]"}],"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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct MoneyBags.Coupon","name":"_coupon","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"s_randomWords","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_requestId","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":"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":"uint16","name":"phase","type":"uint16"}],"name":"selectMintingPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"selectWinnerWithdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setAdminSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_date","type":"uint256"}],"name":"setWithdrawTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"","type":"uint256"}],"name":"winners","outputs":[{"internalType":"uint256","name":"winner","type":"uint256"},{"internalType":"bool","name":"prizeClaimed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052736168499c0cffcacd319c818142124b7a15e857ab600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507301be23585060835e02b77ef475b0cc51aa1e0709600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc60001b600a55620186a0600b60006101000a81548163ffffffff021916908363ffffffff1602179055506003600b60046101000a81548161ffff021916908361ffff1602179055506001600b60066101000a81548163ffffffff021916908363ffffffff1602179055506305f5e100600f556115b3601060006101000a81548161ffff021916908361ffff16021790555060006011556000601460006101000a81548161ffff021916908361ffff1602179055506000601460026101000a81548160ff0219169083151502179055506000601460036101000a81548160ff0219169083151502179055506000601555348015620001cb57600080fd5b5060405162006105380380620061058339818101604052810190620001f191906200048e565b6040518060400160405280600981526020017f4d6f6e65794261677300000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d42470000000000000000000000000000000000000000000000000000000000815250816001908051906020019062000275929190620003c7565b5080600290805190602001906200028e929190620003c7565b505050620002b1620002a5620002f960201b60201c565b6200030160201b60201c565b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000578565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003d590620004f4565b90600052602060002090601f016020900481019282620003f9576000855562000445565b82601f106200041457805160ff191683800117855562000445565b8280016001018555821562000445579182015b828111156200044457825182559160200191906001019062000427565b5b50905062000454919062000458565b5090565b5b808211156200047357600081600090555060010162000459565b5090565b60008151905062000488816200055e565b92915050565b600060208284031215620004a757620004a662000559565b5b6000620004b78482850162000477565b91505092915050565b6000620004cd82620004d4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200050d57607f821691505b602082108114156200052457620005236200052a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6200056981620004c0565b81146200057557600080fd5b50565b615b7d80620005886000396000f3fe6080604052600436106101e35760003560e01c806370740ac911610102578063b88d4fde11610095578063e985e9c511610064578063e985e9c514610695578063eddc4d4e146106d2578063f2fde38b146106e9578063f6eaffc814610712576101e3565b8063b88d4fde146105d9578063c87b56dd14610602578063df15c37e1461063f578063e89e106a1461066a576101e3565b80639253bbcc116100d15780639253bbcc1461051e57806395d89b4114610547578063a22cb46514610572578063a2fb11751461059b576101e3565b806370740ac91461049557806370a082311461049f578063715018a6146104dc5780638da5cb5b146104f3576101e3565b80632f745c591161017a57806355f804b31161014957806355f804b3146103ea57806356fb1d9e14610413578063584185871461042f5780636352211e14610458576101e3565b80632f745c591461033d57806342842e0e1461037a5780634d6f0a05146103a35780634f6ccce7146103ad576101e3565b806318160ddd116101b657806318160ddd146102b6578063183bbe80146102e157806323b872dd1461030a57806324600fc314610333576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a91906141b7565b61074f565b60405161021c9190614937565b60405180910390f35b34801561023157600080fd5b5061023a610899565b60405161024791906149c0565b60405180910390f35b34801561025c57600080fd5b50610277600480360381019061027291906142b4565b61092b565b60405161028491906148ae565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190614124565b6109b0565b005b3480156102c257600080fd5b506102cb610ac9565b6040516102d89190614d42565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190613fa1565b610ad2565b005b34801561031657600080fd5b50610331600480360381019061032c919061400e565b610b92565b005b61033b610ba2565b005b34801561034957600080fd5b50610364600480360381019061035f9190614124565b610cba565b6040516103719190614d42565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c919061400e565b610eac565b005b6103ab610ecc565b005b3480156103b957600080fd5b506103d460048036038101906103cf91906142b4565b611197565b6040516103e19190614d42565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c9190614211565b6111ea565b005b61042d60048036038101906104289190614164565b611280565b005b34801561043b57600080fd5b50610456600480360381019061045191906142b4565b61184a565b005b34801561046457600080fd5b5061047f600480360381019061047a91906142b4565b611905565b60405161048c91906148ae565b60405180910390f35b61049d61191b565b005b3480156104ab57600080fd5b506104c660048036038101906104c19190613fa1565b611b59565b6040516104d39190614d42565b60405180910390f35b3480156104e857600080fd5b506104f1611c42565b005b3480156104ff57600080fd5b50610508611cca565b60405161051591906148ae565b60405180910390f35b34801561052a57600080fd5b5061054560048036038101906105409190614287565b611cf4565b005b34801561055357600080fd5b5061055c611d90565b60405161056991906149c0565b60405180910390f35b34801561057e57600080fd5b50610599600480360381019061059491906140e4565b611e22565b005b3480156105a757600080fd5b506105c260048036038101906105bd91906142b4565b611fa3565b6040516105d0929190614d5d565b60405180910390f35b3480156105e557600080fd5b5061060060048036038101906105fb9190614061565b611fe4565b005b34801561060e57600080fd5b50610629600480360381019061062491906142b4565b612040565b60405161063691906149c0565b60405180910390f35b34801561064b57600080fd5b506106546120e8565b6040516106619190614915565b60405180910390f35b34801561067657600080fd5b5061067f61216c565b60405161068c9190614d42565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b79190613fce565b612172565b6040516106c99190614937565b60405180910390f35b3480156106de57600080fd5b506106e7612206565b005b3480156106f557600080fd5b50610710600480360381019061070b9190613fa1565b612a63565b005b34801561071e57600080fd5b50610739600480360381019061073491906142b4565b612b5b565b6040516107469190614d42565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061088257507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610892575061089182612b7f565b5b9050919050565b6060600180546108a8906150d2565b80601f01602080910402602001604051908101604052809291908181526020018280546108d4906150d2565b80156109215780601f106108f657610100808354040283529160200191610921565b820191906000526020600020905b81548152906001019060200180831161090457829003601f168201915b5050505050905090565b600061093682612be9565b610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c90614d22565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109bb82611905565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2390614c42565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a4b612bf6565b73ffffffffffffffffffffffffffffffffffffffff161480610a7a5750610a7981610a74612bf6565b612172565b5b610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab090614b22565b60405180910390fd5b610ac4838383612bfe565b505050565b60008054905090565b610ada612bf6565b73ffffffffffffffffffffffffffffffffffffffff16610af8611cca565b73ffffffffffffffffffffffffffffffffffffffff1614610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4590614ba2565b60405180910390fd5b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b9d838383612cb0565b505050565b610baa612bf6565b73ffffffffffffffffffffffffffffffffffffffff16610bc8611cca565b73ffffffffffffffffffffffffffffffffffffffff1614610c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1590614ba2565b60405180910390fd5b62093a80601554610c2f9190614ebd565b4211610c3a57600080fd5b6000610c44611cca565b73ffffffffffffffffffffffffffffffffffffffff1647604051610c6790614899565b60006040518083038185875af1925050503d8060008114610ca4576040519150601f19603f3d011682016040523d82523d6000602084013e610ca9565b606091505b5050905080610cb757600080fd5b50565b6000610cc583611b59565b8210610d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfd906149e2565b60405180910390fd5b6000610d10610ac9565b905060008060005b83811015610e6a576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e0a57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e5c5786841415610e53578195505050505050610ea6565b83806001019450505b508080600101915050610d18565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90614cc2565b60405180910390fd5b92915050565b610ec783838360405180602001604052806000815250611fe4565b505050565b601460039054906101000a900460ff1615610ee657600080fd5b6201518060155442610ef89190614f9e565b1015610f3e57610f06611cca565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f3d57600080fd5b5b6000610f486131f0565b9050610f52610ac9565b61022c61ffff161015610f715761022c61ffff16601181905550610f80565b610f79610ac9565b6011819055505b60005b6011548110156110be576000610f97610ac9565b8383604051602001610faa929190614d86565b6040516020818303038152906040528051906020012060001c610fcd919061517e565b90505b6012600082815260200190815260200160002060009054906101000a900460ff161561100957808061100190615135565b915050610fd0565b6000604051806040016040528083815260200160001515815250905060016012600084815260200190815260200160002060006101000a81548160ff02191690831515021790555060168190806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548160ff0219169083151502179055505050505080806110b690615135565b915050610f83565b50670de0b6b3a764000067013fc6b59d3cd890476110dc9190614f44565b6110e69190614f13565b601781905550670de0b6b3a7640000663ff48ab90c2b52476111089190614f44565b6111129190614f13565b601881905550678ac7230489e80000663ff48ab90c2b52476111349190614f44565b61113e9190614f13565b60198190555068056bc75e2d63100000663ff48ab90c2b52476111619190614f44565b61116b9190614f13565b601a81905550611179612206565b6001601460036101000a81548160ff02191690831515021790555050565b60006111a1610ac9565b82106111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d990614a82565b60405180910390fd5b819050919050565b6111f2612bf6565b73ffffffffffffffffffffffffffffffffffffffff16611210611cca565b73ffffffffffffffffffffffffffffffffffffffff1614611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90614ba2565b60405180910390fd5b806013908051906020019061127c929190613cb9565b5050565b60006003601460009054906101000a900461ffff1661ffff16146115f8576000601460009054906101000a900461ffff1661ffff16116112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90614b42565b60405180910390fd5b6000806000905060008087604051602001611311929190614997565b604051602081830303815290604052805190602001209050600060018860405160200161133f929190614997565b604051602081830303815290604052805190602001209050600060028960405160200161136d929190614997565b60405160208183030381529060405280519060200120905061139f838880360381019061139a919061425a565b6131f8565b156113b557600094506002955060019350611413565b6113cf82888036038101906113ca919061425a565b6131f8565b156113e557600194506001955060019350611412565b6113ff81888036038101906113fa919061425a565b6131f8565b15611411576002945060039550600193505b5b5b83611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90614a02565b60405180910390fd5b6001601460009054906101000a900461ffff1661ffff16141561150b57600060028111156114845761148361520d565b5b8560028111156114975761149661520d565b5b14806114c75750600160028111156114b2576114b161520d565b5b8560028111156114c5576114c461520d565b5b145b611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd90614a62565b60405180910390fd5b6115ee565b6002601460009054906101000a900461ffff1661ffff1614156115ed576000600281111561153c5761153b61520d565b5b85600281111561154f5761154e61520d565b5b148061157f57506001600281111561156a5761156961520d565b5b85600281111561157d5761157c61520d565b5b145b806115ad57506002808111156115985761159761520d565b5b8560028111156115ab576115aa61520d565b5b145b6115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390614a62565b60405180910390fd5b5b5b5050505050611650565b6003601460009054906101000a900461ffff1661ffff161461164f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164690614a62565b60405180910390fd5b5b6003601460009054906101000a900461ffff1661ffff16141561167257600390505b600083116116b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ac90614d02565b60405180910390fd5b6115b36116c0610ac9565b846116cb9190614ebd565b1061170b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170290614bc2565b60405180910390fd5b80600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16846117889190614ebd565b11156117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090614ae2565b60405180910390fd5b633b9aca00600f54846117dc9190614f44565b6117e69190614f44565b341015611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181f90614ac2565b60405180910390fd5b6118448484604051806020016040528060008152506000613322565b50505050565b611852612bf6565b73ffffffffffffffffffffffffffffffffffffffff16611870611cca565b73ffffffffffffffffffffffffffffffffffffffff16146118c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bd90614ba2565b60405180910390fd5b601460029054906101000a900460ff16156118e057600080fd5b6001601460026101000a81548160ff0219169083151502179055508060158190555050565b6000611910826136a0565b600001519050919050565b601460039054906101000a900460ff1661193457600080fd5b6000805b601154811015611ad457611970601682815481106119595761195861526b565b5b906000526020600020906002020160000154611905565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611ac157601681815481106119b7576119b661526b565b5b906000526020600020906002020160010160009054906101000a900460ff16611ac05760008114156119f857601754826119f19190614ebd565b9150611a81565b6001811480611a075750600281145b80611a125750600381145b80611a1d5750600481145b80611a285750600581145b15611a425760185482611a3b9190614ebd565b9150611a80565b60068110158015611a54575060388111155b15611a6e5760195482611a679190614ebd565b9150611a7f565b601a5482611a7c9190614ebd565b91505b5b5b600160168281548110611a9757611a9661526b565b5b906000526020600020906002020160010160006101000a81548160ff0219169083151502179055505b5b8080611acc90615135565b915050611938565b506000811115611b565760003373ffffffffffffffffffffffffffffffffffffffff1682604051611b0490614899565b60006040518083038185875af1925050503d8060008114611b41576040519150601f19603f3d011682016040523d82523d6000602084013e611b46565b606091505b5050905080611b5457600080fd5b505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc190614b62565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611c4a612bf6565b73ffffffffffffffffffffffffffffffffffffffff16611c68611cca565b73ffffffffffffffffffffffffffffffffffffffff1614611cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb590614ba2565b60405180910390fd5b611cc8600061383a565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611cfc612bf6565b73ffffffffffffffffffffffffffffffffffffffff16611d1a611cca565b73ffffffffffffffffffffffffffffffffffffffff1614611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790614ba2565b60405180910390fd5b80601460006101000a81548161ffff021916908361ffff16021790555050565b606060028054611d9f906150d2565b80601f0160208091040260200160405190810160405280929190818152602001828054611dcb906150d2565b8015611e185780601f10611ded57610100808354040283529160200191611e18565b820191906000526020600020905b815481529060010190602001808311611dfb57829003601f168201915b5050505050905090565b611e2a612bf6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f90614c02565b60405180910390fd5b8060066000611ea5612bf6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f52612bf6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f979190614937565b60405180910390a35050565b60168181548110611fb357600080fd5b90600052602060002090600202016000915090508060000154908060010160009054906101000a900460ff16905082565b611fef848484612cb0565b611ffb84848484613900565b61203a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203190614c62565b60405180910390fd5b50505050565b606061204b82612be9565b61208a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208190614be2565b60405180910390fd5b6000612094613a97565b90506000815114156120b557604051806020016040528060008152506120e0565b806120bf84613b29565b6040516020016120d0929190614875565b6040516020818303038152906040525b915050919050565b60606016805480602002602001604051908101604052809291908181526020016000905b828210156121635783829060005260206000209060020201604051806040016040529081600082015481526020016001820160009054906101000a900460ff1615151515815250508152602001906001019061210c565b50505050905090565b600d5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61220e612bf6565b73ffffffffffffffffffffffffffffffffffffffff1661222c611cca565b73ffffffffffffffffffffffffffffffffffffffff1614612282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227990614ba2565b60405180910390fd5b600047905060006402540be400635b3448378361229f9190614f44565b6122a99190614f13565b9050600067016345785d8a0000661995044a04de21846122c99190614f44565b6122d39190614f13565b90506000678ac7230489e80000667fe915721856a3856122f39190614f44565b6122fd9190614f13565b905060006103e86023866123119190614f44565b61231b9190614f13565b905060006103e8602d8761232f9190614f44565b6123399190614f13565b905060006103e860198861234d9190614f44565b6123579190614f13565b90506000678ac7230489e80000663ff48ab90c2b52896123779190614f44565b6123819190614f13565b905073ae503cb1f8c5f1b999623b66a31c84122e123ae773ffffffffffffffffffffffffffffffffffffffff16876040516123bb90614899565b60006040518083038185875af1925050503d80600081146123f8576040519150601f19603f3d011682016040523d82523d6000602084013e6123fd565b606091505b505050730359c701895db8fcbc5e6cae023d508fa309eed473ffffffffffffffffffffffffffffffffffffffff168760405161243890614899565b60006040518083038185875af1925050503d8060008114612475576040519150601f19603f3d011682016040523d82523d6000602084013e61247a565b606091505b5050507355c8d0ef52494690e829e8246dddae58b5ca018673ffffffffffffffffffffffffffffffffffffffff16866040516124b590614899565b60006040518083038185875af1925050503d80600081146124f2576040519150601f19603f3d011682016040523d82523d6000602084013e6124f7565b606091505b50505073d7f87f147c895454c256d242a8379869a98aac6a73ffffffffffffffffffffffffffffffffffffffff168560405161253290614899565b60006040518083038185875af1925050503d806000811461256f576040519150601f19603f3d011682016040523d82523d6000602084013e612574565b606091505b5050507329d44168b2c576930086ff412b94a9cb2a07ca5073ffffffffffffffffffffffffffffffffffffffff16846040516125af90614899565b60006040518083038185875af1925050503d80600081146125ec576040519150601f19603f3d011682016040523d82523d6000602084013e6125f1565b606091505b50505073ed6875a961d38076adb27226aa0865b09225dc7e73ffffffffffffffffffffffffffffffffffffffff168360405161262c90614899565b60006040518083038185875af1925050503d8060008114612669576040519150601f19603f3d011682016040523d82523d6000602084013e61266e565b606091505b50505073c8fab3b8753984b7d8f413b730a211b0edde3b7c73ffffffffffffffffffffffffffffffffffffffff16826040516126a990614899565b60006040518083038185875af1925050503d80600081146126e6576040519150601f19603f3d011682016040523d82523d6000602084013e6126eb565b606091505b5050507346d11dc635e3d772beda70e3fa49a5242ad763b173ffffffffffffffffffffffffffffffffffffffff168160405161272690614899565b60006040518083038185875af1925050503d8060008114612763576040519150601f19603f3d011682016040523d82523d6000602084013e612768565b606091505b50505073ce34f4a7a2e7e76440110220856e8c822886b20573ffffffffffffffffffffffffffffffffffffffff16816040516127a390614899565b60006040518083038185875af1925050503d80600081146127e0576040519150601f19603f3d011682016040523d82523d6000602084013e6127e5565b606091505b505050731be2e5c277f77679888b11c9311680fe873d3a3b73ffffffffffffffffffffffffffffffffffffffff168160405161282090614899565b60006040518083038185875af1925050503d806000811461285d576040519150601f19603f3d011682016040523d82523d6000602084013e612862565b606091505b50505073e84dd44483fe46ab108748d20fde5040c5aa857c73ffffffffffffffffffffffffffffffffffffffff168160405161289d90614899565b60006040518083038185875af1925050503d80600081146128da576040519150601f19603f3d011682016040523d82523d6000602084013e6128df565b606091505b50505073ca1d749457109cfc162dd4fdab7e1956dfebdfb073ffffffffffffffffffffffffffffffffffffffff168160405161291a90614899565b60006040518083038185875af1925050503d8060008114612957576040519150601f19603f3d011682016040523d82523d6000602084013e61295c565b606091505b50505073c7f90cf9033ba51c166002a960bc276274bb776973ffffffffffffffffffffffffffffffffffffffff168160405161299790614899565b60006040518083038185875af1925050503d80600081146129d4576040519150601f19603f3d011682016040523d82523d6000602084013e6129d9565b606091505b50505073d87697d737dd4e51347677fbcca92a2bb4c4c75673ffffffffffffffffffffffffffffffffffffffff1681604051612a1490614899565b60006040518083038185875af1925050503d8060008114612a51576040519150601f19603f3d011682016040523d82523d6000602084013e612a56565b606091505b5050505050505050505050565b612a6b612bf6565b73ffffffffffffffffffffffffffffffffffffffff16612a89611cca565b73ffffffffffffffffffffffffffffffffffffffff1614612adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad690614ba2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4690614a22565b60405180910390fd5b612b588161383a565b50565b600c8181548110612b6b57600080fd5b906000526020600020016000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612cbb826136a0565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612ce2612bf6565b73ffffffffffffffffffffffffffffffffffffffff161480612d3e5750612d07612bf6565b73ffffffffffffffffffffffffffffffffffffffff16612d268461092b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d5a5750612d598260000151612d54612bf6565b612172565b5b905080612d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9390614c22565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0590614b82565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7590614aa2565b60405180910390fd5b612e8b8585856001613c8a565b612e9b6000848460000151612bfe565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613180576130df81612be9565b1561317f5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131e98585856001613c90565b5050505050565b600042905090565b6000806001848460400151856000015186602001516040516000815260200160405260405161322a9493929190614952565b6020604051602081039080840390855afa15801561324c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132bf90614b02565b60405180910390fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338f90614c82565b60405180910390fd5b60008414156133dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d390614ca2565b60405180910390fd5b6133e96000868387613c8a565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561368357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4831561366e5761362e6000888488613900565b61366d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161366490614c62565b60405180910390fd5b5b818060010192505080806001019150506135b7565b5080600081905550506136996000868387613c90565b5050505050565b6136a8613d3f565b6136b182612be9565b6136f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e790614a42565b60405180910390fd5b60008290505b600081106137f9576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146137ea578092505050613835565b508080600190039150506136f6565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382c90614ce2565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006139218473ffffffffffffffffffffffffffffffffffffffff16613c96565b15613a8a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261394a612bf6565b8786866040518563ffffffff1660e01b815260040161396c94939291906148c9565b602060405180830381600087803b15801561398657600080fd5b505af19250505080156139b757506040513d601f19601f820116820180604052508101906139b491906141e4565b60015b613a3a573d80600081146139e7576040519150601f19603f3d011682016040523d82523d6000602084013e6139ec565b606091505b50600081511415613a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2990614c62565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a8f565b600190505b949350505050565b606060138054613aa6906150d2565b80601f0160208091040260200160405190810160405280929190818152602001828054613ad2906150d2565b8015613b1f5780601f10613af457610100808354040283529160200191613b1f565b820191906000526020600020905b815481529060010190602001808311613b0257829003601f168201915b5050505050905090565b60606000821415613b71576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c85565b600082905060005b60008214613ba3578080613b8c90615135565b915050600a82613b9c9190614f13565b9150613b79565b60008167ffffffffffffffff811115613bbf57613bbe61529a565b5b6040519080825280601f01601f191660200182016040528015613bf15781602001600182028036833780820191505090505b5090505b60008514613c7e57600182613c0a9190614f9e565b9150600a85613c19919061517e565b6030613c259190614ebd565b60f81b818381518110613c3b57613c3a61526b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c779190614f13565b9450613bf5565b8093505050505b919050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613cc5906150d2565b90600052602060002090601f016020900481019282613ce75760008555613d2e565b82601f10613d0057805160ff1916838001178555613d2e565b82800160010185558215613d2e579182015b82811115613d2d578251825591602001919060010190613d12565b5b509050613d3b9190613d79565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613d92576000816000905550600101613d7a565b5090565b6000613da9613da484614dd4565b614daf565b905082815260208101848484011115613dc557613dc46152d8565b5b613dd0848285615090565b509392505050565b6000613deb613de684614e05565b614daf565b905082815260208101848484011115613e0757613e066152d8565b5b613e12848285615090565b509392505050565b600081359050613e2981615aa6565b92915050565b600081359050613e3e81615abd565b92915050565b600081359050613e5381615ad4565b92915050565b600081359050613e6881615aeb565b92915050565b600081519050613e7d81615aeb565b92915050565b600082601f830112613e9857613e976152c9565b5b8135613ea8848260208601613d96565b91505092915050565b600082601f830112613ec657613ec56152c9565b5b8135613ed6848260208601613dd8565b91505092915050565b600060608284031215613ef557613ef46152ce565b5b81905092915050565b600060608284031215613f1457613f136152d3565b5b613f1e6060614daf565b90506000613f2e84828501613e44565b6000830152506020613f4284828501613e44565b6020830152506040613f5684828501613f8c565b60408301525092915050565b600081359050613f7181615b02565b92915050565b600081359050613f8681615b19565b92915050565b600081359050613f9b81615b30565b92915050565b600060208284031215613fb757613fb66152e2565b5b6000613fc584828501613e1a565b91505092915050565b60008060408385031215613fe557613fe46152e2565b5b6000613ff385828601613e1a565b925050602061400485828601613e1a565b9150509250929050565b600080600060608486031215614027576140266152e2565b5b600061403586828701613e1a565b935050602061404686828701613e1a565b925050604061405786828701613f77565b9150509250925092565b6000806000806080858703121561407b5761407a6152e2565b5b600061408987828801613e1a565b945050602061409a87828801613e1a565b93505060406140ab87828801613f77565b925050606085013567ffffffffffffffff8111156140cc576140cb6152dd565b5b6140d887828801613e83565b91505092959194509250565b600080604083850312156140fb576140fa6152e2565b5b600061410985828601613e1a565b925050602061411a85828601613e2f565b9150509250929050565b6000806040838503121561413b5761413a6152e2565b5b600061414985828601613e1a565b925050602061415a85828601613f77565b9150509250929050565b600080600060a0848603121561417d5761417c6152e2565b5b600061418b86828701613e1a565b935050602061419c86828701613f77565b92505060406141ad86828701613edf565b9150509250925092565b6000602082840312156141cd576141cc6152e2565b5b60006141db84828501613e59565b91505092915050565b6000602082840312156141fa576141f96152e2565b5b600061420884828501613e6e565b91505092915050565b600060208284031215614227576142266152e2565b5b600082013567ffffffffffffffff811115614245576142446152dd565b5b61425184828501613eb1565b91505092915050565b6000606082840312156142705761426f6152e2565b5b600061427e84828501613efe565b91505092915050565b60006020828403121561429d5761429c6152e2565b5b60006142ab84828501613f62565b91505092915050565b6000602082840312156142ca576142c96152e2565b5b60006142d884828501613f77565b91505092915050565b60006142ed8383614819565b60408301905092915050565b61430281614fd2565b82525050565b600061431382614e46565b61431d8185614e74565b935061432883614e36565b8060005b8381101561435957815161434088826142e1565b975061434b83614e67565b92505060018101905061432c565b5085935050505092915050565b61436f81614fe4565b82525050565b61437e81614fe4565b82525050565b61438d81614ff0565b82525050565b600061439e82614e51565b6143a88185614e85565b93506143b881856020860161509f565b6143c1816152e7565b840191505092915050565b6143d58161507e565b82525050565b60006143e682614e5c565b6143f08185614ea1565b935061440081856020860161509f565b614409816152e7565b840191505092915050565b600061441f82614e5c565b6144298185614eb2565b935061443981856020860161509f565b80840191505092915050565b6000614452602283614ea1565b915061445d826152f8565b604082019050919050565b6000614475603083614ea1565b915061448082615347565b604082019050919050565b6000614498602683614ea1565b91506144a382615396565b604082019050919050565b60006144bb602a83614ea1565b91506144c6826153e5565b604082019050919050565b60006144de601483614ea1565b91506144e982615434565b602082019050919050565b6000614501602383614ea1565b915061450c8261545d565b604082019050919050565b6000614524602583614ea1565b915061452f826154ac565b604082019050919050565b6000614547602083614ea1565b9150614552826154fb565b602082019050919050565b600061456a602e83614ea1565b915061457582615524565b604082019050919050565b600061458d601883614ea1565b915061459882615573565b602082019050919050565b60006145b0603983614ea1565b91506145bb8261559c565b604082019050919050565b60006145d3601583614ea1565b91506145de826155eb565b602082019050919050565b60006145f6602b83614ea1565b915061460182615614565b604082019050919050565b6000614619602683614ea1565b915061462482615663565b604082019050919050565b600061463c602083614ea1565b9150614647826156b2565b602082019050919050565b600061465f604383614ea1565b915061466a826156db565b606082019050919050565b6000614682602f83614ea1565b915061468d82615750565b604082019050919050565b60006146a5601a83614ea1565b91506146b08261579f565b602082019050919050565b60006146c8603283614ea1565b91506146d3826157c8565b604082019050919050565b60006146eb602283614ea1565b91506146f682615817565b604082019050919050565b600061470e600083614e96565b915061471982615866565b600082019050919050565b6000614731603383614ea1565b915061473c82615869565b604082019050919050565b6000614754602183614ea1565b915061475f826158b8565b604082019050919050565b6000614777602883614ea1565b915061478282615907565b604082019050919050565b600061479a602e83614ea1565b91506147a582615956565b604082019050919050565b60006147bd602f83614ea1565b91506147c8826159a5565b604082019050919050565b60006147e0602c83614ea1565b91506147eb826159f4565b604082019050919050565b6000614803602d83614ea1565b915061480e82615a43565b604082019050919050565b60408201600082015161482f6000850182614848565b5060208201516148426020850182614366565b50505050565b61485181615067565b82525050565b61486081615067565b82525050565b61486f81615071565b82525050565b60006148818285614414565b915061488d8284614414565b91508190509392505050565b60006148a482614701565b9150819050919050565b60006020820190506148c360008301846142f9565b92915050565b60006080820190506148de60008301876142f9565b6148eb60208301866142f9565b6148f86040830185614857565b818103606083015261490a8184614393565b905095945050505050565b6000602082019050818103600083015261492f8184614308565b905092915050565b600060208201905061494c6000830184614375565b92915050565b60006080820190506149676000830187614384565b6149746020830186614866565b6149816040830185614384565b61498e6060830184614384565b95945050505050565b60006040820190506149ac60008301856143cc565b6149b960208301846142f9565b9392505050565b600060208201905081810360008301526149da81846143db565b905092915050565b600060208201905081810360008301526149fb81614445565b9050919050565b60006020820190508181036000830152614a1b81614468565b9050919050565b60006020820190508181036000830152614a3b8161448b565b9050919050565b60006020820190508181036000830152614a5b816144ae565b9050919050565b60006020820190508181036000830152614a7b816144d1565b9050919050565b60006020820190508181036000830152614a9b816144f4565b9050919050565b60006020820190508181036000830152614abb81614517565b9050919050565b60006020820190508181036000830152614adb8161453a565b9050919050565b60006020820190508181036000830152614afb8161455d565b9050919050565b60006020820190508181036000830152614b1b81614580565b9050919050565b60006020820190508181036000830152614b3b816145a3565b9050919050565b60006020820190508181036000830152614b5b816145c6565b9050919050565b60006020820190508181036000830152614b7b816145e9565b9050919050565b60006020820190508181036000830152614b9b8161460c565b9050919050565b60006020820190508181036000830152614bbb8161462f565b9050919050565b60006020820190508181036000830152614bdb81614652565b9050919050565b60006020820190508181036000830152614bfb81614675565b9050919050565b60006020820190508181036000830152614c1b81614698565b9050919050565b60006020820190508181036000830152614c3b816146bb565b9050919050565b60006020820190508181036000830152614c5b816146de565b9050919050565b60006020820190508181036000830152614c7b81614724565b9050919050565b60006020820190508181036000830152614c9b81614747565b9050919050565b60006020820190508181036000830152614cbb8161476a565b9050919050565b60006020820190508181036000830152614cdb8161478d565b9050919050565b60006020820190508181036000830152614cfb816147b0565b9050919050565b60006020820190508181036000830152614d1b816147d3565b9050919050565b60006020820190508181036000830152614d3b816147f6565b9050919050565b6000602082019050614d576000830184614857565b92915050565b6000604082019050614d726000830185614857565b614d7f6020830184614375565b9392505050565b6000604082019050614d9b6000830185614857565b614da86020830184614857565b9392505050565b6000614db9614dca565b9050614dc58282615104565b919050565b6000604051905090565b600067ffffffffffffffff821115614def57614dee61529a565b5b614df8826152e7565b9050602081019050919050565b600067ffffffffffffffff821115614e2057614e1f61529a565b5b614e29826152e7565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ec882615067565b9150614ed383615067565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f0857614f076151af565b5b828201905092915050565b6000614f1e82615067565b9150614f2983615067565b925082614f3957614f386151de565b5b828204905092915050565b6000614f4f82615067565b9150614f5a83615067565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f9357614f926151af565b5b828202905092915050565b6000614fa982615067565b9150614fb483615067565b925082821015614fc757614fc66151af565b5b828203905092915050565b6000614fdd82615047565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061503482615a92565b919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061508982615026565b9050919050565b82818337600083830152505050565b60005b838110156150bd5780820151818401526020810190506150a2565b838111156150cc576000848401525b50505050565b600060028204905060018216806150ea57607f821691505b602082108114156150fe576150fd61523c565b5b50919050565b61510d826152e7565b810181811067ffffffffffffffff8211171561512c5761512b61529a565b5b80604052505050565b600061514082615067565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615173576151726151af565b5b600182019050919050565b600061518982615067565b915061519483615067565b9250826151a4576151a36151de565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f723a20596f752068617665206e6f206b65792c207761697420666f7260008201527f20746865207075626c6963206d696e7400000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4572726f723a20496e76616c696420746f6b656e000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f723a20596f75206172656e277420706179696e6720656e6f7567682e600082015250565b7f4572726f723a20596f752063616e2774206d696e742074686174207175616e7460008201527f697479206f6620746f6b656e732e000000000000000000000000000000000000602082015250565b7f45434453413a20496e76616c6964207369676e61747572650000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f4572726f723a204d696e74696e6720436c6f7365640000000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4572726f723a20546865207175616e7469747920796f7527726520747279696e60008201527f6720746f206d696e742065786363656564732074686520746f74616c2073757060208201527f706c790000000000000000000000000000000000000000000000000000000000604082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f4572726f723a20596f75206e65656420746f204d696e74206d6f72652074686160008201527f6e206f6e6520546f6b656e2e0000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60038110615aa357615aa261520d565b5b50565b615aaf81614fd2565b8114615aba57600080fd5b50565b615ac681614fe4565b8114615ad157600080fd5b50565b615add81614ff0565b8114615ae857600080fd5b50565b615af481614ffa565b8114615aff57600080fd5b50565b615b0b81615039565b8114615b1657600080fd5b50565b615b2281615067565b8114615b2d57600080fd5b50565b615b3981615071565b8114615b4457600080fd5b5056fea2646970667358221220754e0d0cc773b73a14ecc38f0d2444cf78b9a7965162d0debc7e4c4b8ce1a8d764736f6c63430008070033000000000000000000000000402a4189b1d72edfbc9dfeb7771e4a5549b43531

Deployed Bytecode

0x6080604052600436106101e35760003560e01c806370740ac911610102578063b88d4fde11610095578063e985e9c511610064578063e985e9c514610695578063eddc4d4e146106d2578063f2fde38b146106e9578063f6eaffc814610712576101e3565b8063b88d4fde146105d9578063c87b56dd14610602578063df15c37e1461063f578063e89e106a1461066a576101e3565b80639253bbcc116100d15780639253bbcc1461051e57806395d89b4114610547578063a22cb46514610572578063a2fb11751461059b576101e3565b806370740ac91461049557806370a082311461049f578063715018a6146104dc5780638da5cb5b146104f3576101e3565b80632f745c591161017a57806355f804b31161014957806355f804b3146103ea57806356fb1d9e14610413578063584185871461042f5780636352211e14610458576101e3565b80632f745c591461033d57806342842e0e1461037a5780634d6f0a05146103a35780634f6ccce7146103ad576101e3565b806318160ddd116101b657806318160ddd146102b6578063183bbe80146102e157806323b872dd1461030a57806324600fc314610333576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a91906141b7565b61074f565b60405161021c9190614937565b60405180910390f35b34801561023157600080fd5b5061023a610899565b60405161024791906149c0565b60405180910390f35b34801561025c57600080fd5b50610277600480360381019061027291906142b4565b61092b565b60405161028491906148ae565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190614124565b6109b0565b005b3480156102c257600080fd5b506102cb610ac9565b6040516102d89190614d42565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190613fa1565b610ad2565b005b34801561031657600080fd5b50610331600480360381019061032c919061400e565b610b92565b005b61033b610ba2565b005b34801561034957600080fd5b50610364600480360381019061035f9190614124565b610cba565b6040516103719190614d42565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c919061400e565b610eac565b005b6103ab610ecc565b005b3480156103b957600080fd5b506103d460048036038101906103cf91906142b4565b611197565b6040516103e19190614d42565b60405180910390f35b3480156103f657600080fd5b50610411600480360381019061040c9190614211565b6111ea565b005b61042d60048036038101906104289190614164565b611280565b005b34801561043b57600080fd5b50610456600480360381019061045191906142b4565b61184a565b005b34801561046457600080fd5b5061047f600480360381019061047a91906142b4565b611905565b60405161048c91906148ae565b60405180910390f35b61049d61191b565b005b3480156104ab57600080fd5b506104c660048036038101906104c19190613fa1565b611b59565b6040516104d39190614d42565b60405180910390f35b3480156104e857600080fd5b506104f1611c42565b005b3480156104ff57600080fd5b50610508611cca565b60405161051591906148ae565b60405180910390f35b34801561052a57600080fd5b5061054560048036038101906105409190614287565b611cf4565b005b34801561055357600080fd5b5061055c611d90565b60405161056991906149c0565b60405180910390f35b34801561057e57600080fd5b50610599600480360381019061059491906140e4565b611e22565b005b3480156105a757600080fd5b506105c260048036038101906105bd91906142b4565b611fa3565b6040516105d0929190614d5d565b60405180910390f35b3480156105e557600080fd5b5061060060048036038101906105fb9190614061565b611fe4565b005b34801561060e57600080fd5b50610629600480360381019061062491906142b4565b612040565b60405161063691906149c0565b60405180910390f35b34801561064b57600080fd5b506106546120e8565b6040516106619190614915565b60405180910390f35b34801561067657600080fd5b5061067f61216c565b60405161068c9190614d42565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b79190613fce565b612172565b6040516106c99190614937565b60405180910390f35b3480156106de57600080fd5b506106e7612206565b005b3480156106f557600080fd5b50610710600480360381019061070b9190613fa1565b612a63565b005b34801561071e57600080fd5b50610739600480360381019061073491906142b4565b612b5b565b6040516107469190614d42565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061088257507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610892575061089182612b7f565b5b9050919050565b6060600180546108a8906150d2565b80601f01602080910402602001604051908101604052809291908181526020018280546108d4906150d2565b80156109215780601f106108f657610100808354040283529160200191610921565b820191906000526020600020905b81548152906001019060200180831161090457829003601f168201915b5050505050905090565b600061093682612be9565b610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c90614d22565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109bb82611905565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2390614c42565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a4b612bf6565b73ffffffffffffffffffffffffffffffffffffffff161480610a7a5750610a7981610a74612bf6565b612172565b5b610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab090614b22565b60405180910390fd5b610ac4838383612bfe565b505050565b60008054905090565b610ada612bf6565b73ffffffffffffffffffffffffffffffffffffffff16610af8611cca565b73ffffffffffffffffffffffffffffffffffffffff1614610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4590614ba2565b60405180910390fd5b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b9d838383612cb0565b505050565b610baa612bf6565b73ffffffffffffffffffffffffffffffffffffffff16610bc8611cca565b73ffffffffffffffffffffffffffffffffffffffff1614610c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1590614ba2565b60405180910390fd5b62093a80601554610c2f9190614ebd565b4211610c3a57600080fd5b6000610c44611cca565b73ffffffffffffffffffffffffffffffffffffffff1647604051610c6790614899565b60006040518083038185875af1925050503d8060008114610ca4576040519150601f19603f3d011682016040523d82523d6000602084013e610ca9565b606091505b5050905080610cb757600080fd5b50565b6000610cc583611b59565b8210610d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfd906149e2565b60405180910390fd5b6000610d10610ac9565b905060008060005b83811015610e6a576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e0a57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e5c5786841415610e53578195505050505050610ea6565b83806001019450505b508080600101915050610d18565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90614cc2565b60405180910390fd5b92915050565b610ec783838360405180602001604052806000815250611fe4565b505050565b601460039054906101000a900460ff1615610ee657600080fd5b6201518060155442610ef89190614f9e565b1015610f3e57610f06611cca565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f3d57600080fd5b5b6000610f486131f0565b9050610f52610ac9565b61022c61ffff161015610f715761022c61ffff16601181905550610f80565b610f79610ac9565b6011819055505b60005b6011548110156110be576000610f97610ac9565b8383604051602001610faa929190614d86565b6040516020818303038152906040528051906020012060001c610fcd919061517e565b90505b6012600082815260200190815260200160002060009054906101000a900460ff161561100957808061100190615135565b915050610fd0565b6000604051806040016040528083815260200160001515815250905060016012600084815260200190815260200160002060006101000a81548160ff02191690831515021790555060168190806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548160ff0219169083151502179055505050505080806110b690615135565b915050610f83565b50670de0b6b3a764000067013fc6b59d3cd890476110dc9190614f44565b6110e69190614f13565b601781905550670de0b6b3a7640000663ff48ab90c2b52476111089190614f44565b6111129190614f13565b601881905550678ac7230489e80000663ff48ab90c2b52476111349190614f44565b61113e9190614f13565b60198190555068056bc75e2d63100000663ff48ab90c2b52476111619190614f44565b61116b9190614f13565b601a81905550611179612206565b6001601460036101000a81548160ff02191690831515021790555050565b60006111a1610ac9565b82106111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d990614a82565b60405180910390fd5b819050919050565b6111f2612bf6565b73ffffffffffffffffffffffffffffffffffffffff16611210611cca565b73ffffffffffffffffffffffffffffffffffffffff1614611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90614ba2565b60405180910390fd5b806013908051906020019061127c929190613cb9565b5050565b60006003601460009054906101000a900461ffff1661ffff16146115f8576000601460009054906101000a900461ffff1661ffff16116112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90614b42565b60405180910390fd5b6000806000905060008087604051602001611311929190614997565b604051602081830303815290604052805190602001209050600060018860405160200161133f929190614997565b604051602081830303815290604052805190602001209050600060028960405160200161136d929190614997565b60405160208183030381529060405280519060200120905061139f838880360381019061139a919061425a565b6131f8565b156113b557600094506002955060019350611413565b6113cf82888036038101906113ca919061425a565b6131f8565b156113e557600194506001955060019350611412565b6113ff81888036038101906113fa919061425a565b6131f8565b15611411576002945060039550600193505b5b5b83611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90614a02565b60405180910390fd5b6001601460009054906101000a900461ffff1661ffff16141561150b57600060028111156114845761148361520d565b5b8560028111156114975761149661520d565b5b14806114c75750600160028111156114b2576114b161520d565b5b8560028111156114c5576114c461520d565b5b145b611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd90614a62565b60405180910390fd5b6115ee565b6002601460009054906101000a900461ffff1661ffff1614156115ed576000600281111561153c5761153b61520d565b5b85600281111561154f5761154e61520d565b5b148061157f57506001600281111561156a5761156961520d565b5b85600281111561157d5761157c61520d565b5b145b806115ad57506002808111156115985761159761520d565b5b8560028111156115ab576115aa61520d565b5b145b6115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390614a62565b60405180910390fd5b5b5b5050505050611650565b6003601460009054906101000a900461ffff1661ffff161461164f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164690614a62565b60405180910390fd5b5b6003601460009054906101000a900461ffff1661ffff16141561167257600390505b600083116116b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ac90614d02565b60405180910390fd5b6115b36116c0610ac9565b846116cb9190614ebd565b1061170b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170290614bc2565b60405180910390fd5b80600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16846117889190614ebd565b11156117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090614ae2565b60405180910390fd5b633b9aca00600f54846117dc9190614f44565b6117e69190614f44565b341015611828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181f90614ac2565b60405180910390fd5b6118448484604051806020016040528060008152506000613322565b50505050565b611852612bf6565b73ffffffffffffffffffffffffffffffffffffffff16611870611cca565b73ffffffffffffffffffffffffffffffffffffffff16146118c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bd90614ba2565b60405180910390fd5b601460029054906101000a900460ff16156118e057600080fd5b6001601460026101000a81548160ff0219169083151502179055508060158190555050565b6000611910826136a0565b600001519050919050565b601460039054906101000a900460ff1661193457600080fd5b6000805b601154811015611ad457611970601682815481106119595761195861526b565b5b906000526020600020906002020160000154611905565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611ac157601681815481106119b7576119b661526b565b5b906000526020600020906002020160010160009054906101000a900460ff16611ac05760008114156119f857601754826119f19190614ebd565b9150611a81565b6001811480611a075750600281145b80611a125750600381145b80611a1d5750600481145b80611a285750600581145b15611a425760185482611a3b9190614ebd565b9150611a80565b60068110158015611a54575060388111155b15611a6e5760195482611a679190614ebd565b9150611a7f565b601a5482611a7c9190614ebd565b91505b5b5b600160168281548110611a9757611a9661526b565b5b906000526020600020906002020160010160006101000a81548160ff0219169083151502179055505b5b8080611acc90615135565b915050611938565b506000811115611b565760003373ffffffffffffffffffffffffffffffffffffffff1682604051611b0490614899565b60006040518083038185875af1925050503d8060008114611b41576040519150601f19603f3d011682016040523d82523d6000602084013e611b46565b606091505b5050905080611b5457600080fd5b505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc190614b62565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611c4a612bf6565b73ffffffffffffffffffffffffffffffffffffffff16611c68611cca565b73ffffffffffffffffffffffffffffffffffffffff1614611cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb590614ba2565b60405180910390fd5b611cc8600061383a565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611cfc612bf6565b73ffffffffffffffffffffffffffffffffffffffff16611d1a611cca565b73ffffffffffffffffffffffffffffffffffffffff1614611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790614ba2565b60405180910390fd5b80601460006101000a81548161ffff021916908361ffff16021790555050565b606060028054611d9f906150d2565b80601f0160208091040260200160405190810160405280929190818152602001828054611dcb906150d2565b8015611e185780601f10611ded57610100808354040283529160200191611e18565b820191906000526020600020905b815481529060010190602001808311611dfb57829003601f168201915b5050505050905090565b611e2a612bf6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f90614c02565b60405180910390fd5b8060066000611ea5612bf6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f52612bf6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f979190614937565b60405180910390a35050565b60168181548110611fb357600080fd5b90600052602060002090600202016000915090508060000154908060010160009054906101000a900460ff16905082565b611fef848484612cb0565b611ffb84848484613900565b61203a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203190614c62565b60405180910390fd5b50505050565b606061204b82612be9565b61208a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208190614be2565b60405180910390fd5b6000612094613a97565b90506000815114156120b557604051806020016040528060008152506120e0565b806120bf84613b29565b6040516020016120d0929190614875565b6040516020818303038152906040525b915050919050565b60606016805480602002602001604051908101604052809291908181526020016000905b828210156121635783829060005260206000209060020201604051806040016040529081600082015481526020016001820160009054906101000a900460ff1615151515815250508152602001906001019061210c565b50505050905090565b600d5481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61220e612bf6565b73ffffffffffffffffffffffffffffffffffffffff1661222c611cca565b73ffffffffffffffffffffffffffffffffffffffff1614612282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227990614ba2565b60405180910390fd5b600047905060006402540be400635b3448378361229f9190614f44565b6122a99190614f13565b9050600067016345785d8a0000661995044a04de21846122c99190614f44565b6122d39190614f13565b90506000678ac7230489e80000667fe915721856a3856122f39190614f44565b6122fd9190614f13565b905060006103e86023866123119190614f44565b61231b9190614f13565b905060006103e8602d8761232f9190614f44565b6123399190614f13565b905060006103e860198861234d9190614f44565b6123579190614f13565b90506000678ac7230489e80000663ff48ab90c2b52896123779190614f44565b6123819190614f13565b905073ae503cb1f8c5f1b999623b66a31c84122e123ae773ffffffffffffffffffffffffffffffffffffffff16876040516123bb90614899565b60006040518083038185875af1925050503d80600081146123f8576040519150601f19603f3d011682016040523d82523d6000602084013e6123fd565b606091505b505050730359c701895db8fcbc5e6cae023d508fa309eed473ffffffffffffffffffffffffffffffffffffffff168760405161243890614899565b60006040518083038185875af1925050503d8060008114612475576040519150601f19603f3d011682016040523d82523d6000602084013e61247a565b606091505b5050507355c8d0ef52494690e829e8246dddae58b5ca018673ffffffffffffffffffffffffffffffffffffffff16866040516124b590614899565b60006040518083038185875af1925050503d80600081146124f2576040519150601f19603f3d011682016040523d82523d6000602084013e6124f7565b606091505b50505073d7f87f147c895454c256d242a8379869a98aac6a73ffffffffffffffffffffffffffffffffffffffff168560405161253290614899565b60006040518083038185875af1925050503d806000811461256f576040519150601f19603f3d011682016040523d82523d6000602084013e612574565b606091505b5050507329d44168b2c576930086ff412b94a9cb2a07ca5073ffffffffffffffffffffffffffffffffffffffff16846040516125af90614899565b60006040518083038185875af1925050503d80600081146125ec576040519150601f19603f3d011682016040523d82523d6000602084013e6125f1565b606091505b50505073ed6875a961d38076adb27226aa0865b09225dc7e73ffffffffffffffffffffffffffffffffffffffff168360405161262c90614899565b60006040518083038185875af1925050503d8060008114612669576040519150601f19603f3d011682016040523d82523d6000602084013e61266e565b606091505b50505073c8fab3b8753984b7d8f413b730a211b0edde3b7c73ffffffffffffffffffffffffffffffffffffffff16826040516126a990614899565b60006040518083038185875af1925050503d80600081146126e6576040519150601f19603f3d011682016040523d82523d6000602084013e6126eb565b606091505b5050507346d11dc635e3d772beda70e3fa49a5242ad763b173ffffffffffffffffffffffffffffffffffffffff168160405161272690614899565b60006040518083038185875af1925050503d8060008114612763576040519150601f19603f3d011682016040523d82523d6000602084013e612768565b606091505b50505073ce34f4a7a2e7e76440110220856e8c822886b20573ffffffffffffffffffffffffffffffffffffffff16816040516127a390614899565b60006040518083038185875af1925050503d80600081146127e0576040519150601f19603f3d011682016040523d82523d6000602084013e6127e5565b606091505b505050731be2e5c277f77679888b11c9311680fe873d3a3b73ffffffffffffffffffffffffffffffffffffffff168160405161282090614899565b60006040518083038185875af1925050503d806000811461285d576040519150601f19603f3d011682016040523d82523d6000602084013e612862565b606091505b50505073e84dd44483fe46ab108748d20fde5040c5aa857c73ffffffffffffffffffffffffffffffffffffffff168160405161289d90614899565b60006040518083038185875af1925050503d80600081146128da576040519150601f19603f3d011682016040523d82523d6000602084013e6128df565b606091505b50505073ca1d749457109cfc162dd4fdab7e1956dfebdfb073ffffffffffffffffffffffffffffffffffffffff168160405161291a90614899565b60006040518083038185875af1925050503d8060008114612957576040519150601f19603f3d011682016040523d82523d6000602084013e61295c565b606091505b50505073c7f90cf9033ba51c166002a960bc276274bb776973ffffffffffffffffffffffffffffffffffffffff168160405161299790614899565b60006040518083038185875af1925050503d80600081146129d4576040519150601f19603f3d011682016040523d82523d6000602084013e6129d9565b606091505b50505073d87697d737dd4e51347677fbcca92a2bb4c4c75673ffffffffffffffffffffffffffffffffffffffff1681604051612a1490614899565b60006040518083038185875af1925050503d8060008114612a51576040519150601f19603f3d011682016040523d82523d6000602084013e612a56565b606091505b5050505050505050505050565b612a6b612bf6565b73ffffffffffffffffffffffffffffffffffffffff16612a89611cca565b73ffffffffffffffffffffffffffffffffffffffff1614612adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad690614ba2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4690614a22565b60405180910390fd5b612b588161383a565b50565b600c8181548110612b6b57600080fd5b906000526020600020016000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612cbb826136a0565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612ce2612bf6565b73ffffffffffffffffffffffffffffffffffffffff161480612d3e5750612d07612bf6565b73ffffffffffffffffffffffffffffffffffffffff16612d268461092b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612d5a5750612d598260000151612d54612bf6565b612172565b5b905080612d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9390614c22565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0590614b82565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7590614aa2565b60405180910390fd5b612e8b8585856001613c8a565b612e9b6000848460000151612bfe565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613180576130df81612be9565b1561317f5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131e98585856001613c90565b5050505050565b600042905090565b6000806001848460400151856000015186602001516040516000815260200160405260405161322a9493929190614952565b6020604051602081039080840390855afa15801561324c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132bf90614b02565b60405180910390fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338f90614c82565b60405180910390fd5b60008414156133dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d390614ca2565b60405180910390fd5b6133e96000868387613c8a565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561368357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4831561366e5761362e6000888488613900565b61366d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161366490614c62565b60405180910390fd5b5b818060010192505080806001019150506135b7565b5080600081905550506136996000868387613c90565b5050505050565b6136a8613d3f565b6136b182612be9565b6136f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e790614a42565b60405180910390fd5b60008290505b600081106137f9576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146137ea578092505050613835565b508080600190039150506136f6565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382c90614ce2565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006139218473ffffffffffffffffffffffffffffffffffffffff16613c96565b15613a8a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261394a612bf6565b8786866040518563ffffffff1660e01b815260040161396c94939291906148c9565b602060405180830381600087803b15801561398657600080fd5b505af19250505080156139b757506040513d601f19601f820116820180604052508101906139b491906141e4565b60015b613a3a573d80600081146139e7576040519150601f19603f3d011682016040523d82523d6000602084013e6139ec565b606091505b50600081511415613a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2990614c62565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a8f565b600190505b949350505050565b606060138054613aa6906150d2565b80601f0160208091040260200160405190810160405280929190818152602001828054613ad2906150d2565b8015613b1f5780601f10613af457610100808354040283529160200191613b1f565b820191906000526020600020905b815481529060010190602001808311613b0257829003601f168201915b5050505050905090565b60606000821415613b71576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613c85565b600082905060005b60008214613ba3578080613b8c90615135565b915050600a82613b9c9190614f13565b9150613b79565b60008167ffffffffffffffff811115613bbf57613bbe61529a565b5b6040519080825280601f01601f191660200182016040528015613bf15781602001600182028036833780820191505090505b5090505b60008514613c7e57600182613c0a9190614f9e565b9150600a85613c19919061517e565b6030613c259190614ebd565b60f81b818381518110613c3b57613c3a61526b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613c779190614f13565b9450613bf5565b8093505050505b919050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613cc5906150d2565b90600052602060002090601f016020900481019282613ce75760008555613d2e565b82601f10613d0057805160ff1916838001178555613d2e565b82800160010185558215613d2e579182015b82811115613d2d578251825591602001919060010190613d12565b5b509050613d3b9190613d79565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613d92576000816000905550600101613d7a565b5090565b6000613da9613da484614dd4565b614daf565b905082815260208101848484011115613dc557613dc46152d8565b5b613dd0848285615090565b509392505050565b6000613deb613de684614e05565b614daf565b905082815260208101848484011115613e0757613e066152d8565b5b613e12848285615090565b509392505050565b600081359050613e2981615aa6565b92915050565b600081359050613e3e81615abd565b92915050565b600081359050613e5381615ad4565b92915050565b600081359050613e6881615aeb565b92915050565b600081519050613e7d81615aeb565b92915050565b600082601f830112613e9857613e976152c9565b5b8135613ea8848260208601613d96565b91505092915050565b600082601f830112613ec657613ec56152c9565b5b8135613ed6848260208601613dd8565b91505092915050565b600060608284031215613ef557613ef46152ce565b5b81905092915050565b600060608284031215613f1457613f136152d3565b5b613f1e6060614daf565b90506000613f2e84828501613e44565b6000830152506020613f4284828501613e44565b6020830152506040613f5684828501613f8c565b60408301525092915050565b600081359050613f7181615b02565b92915050565b600081359050613f8681615b19565b92915050565b600081359050613f9b81615b30565b92915050565b600060208284031215613fb757613fb66152e2565b5b6000613fc584828501613e1a565b91505092915050565b60008060408385031215613fe557613fe46152e2565b5b6000613ff385828601613e1a565b925050602061400485828601613e1a565b9150509250929050565b600080600060608486031215614027576140266152e2565b5b600061403586828701613e1a565b935050602061404686828701613e1a565b925050604061405786828701613f77565b9150509250925092565b6000806000806080858703121561407b5761407a6152e2565b5b600061408987828801613e1a565b945050602061409a87828801613e1a565b93505060406140ab87828801613f77565b925050606085013567ffffffffffffffff8111156140cc576140cb6152dd565b5b6140d887828801613e83565b91505092959194509250565b600080604083850312156140fb576140fa6152e2565b5b600061410985828601613e1a565b925050602061411a85828601613e2f565b9150509250929050565b6000806040838503121561413b5761413a6152e2565b5b600061414985828601613e1a565b925050602061415a85828601613f77565b9150509250929050565b600080600060a0848603121561417d5761417c6152e2565b5b600061418b86828701613e1a565b935050602061419c86828701613f77565b92505060406141ad86828701613edf565b9150509250925092565b6000602082840312156141cd576141cc6152e2565b5b60006141db84828501613e59565b91505092915050565b6000602082840312156141fa576141f96152e2565b5b600061420884828501613e6e565b91505092915050565b600060208284031215614227576142266152e2565b5b600082013567ffffffffffffffff811115614245576142446152dd565b5b61425184828501613eb1565b91505092915050565b6000606082840312156142705761426f6152e2565b5b600061427e84828501613efe565b91505092915050565b60006020828403121561429d5761429c6152e2565b5b60006142ab84828501613f62565b91505092915050565b6000602082840312156142ca576142c96152e2565b5b60006142d884828501613f77565b91505092915050565b60006142ed8383614819565b60408301905092915050565b61430281614fd2565b82525050565b600061431382614e46565b61431d8185614e74565b935061432883614e36565b8060005b8381101561435957815161434088826142e1565b975061434b83614e67565b92505060018101905061432c565b5085935050505092915050565b61436f81614fe4565b82525050565b61437e81614fe4565b82525050565b61438d81614ff0565b82525050565b600061439e82614e51565b6143a88185614e85565b93506143b881856020860161509f565b6143c1816152e7565b840191505092915050565b6143d58161507e565b82525050565b60006143e682614e5c565b6143f08185614ea1565b935061440081856020860161509f565b614409816152e7565b840191505092915050565b600061441f82614e5c565b6144298185614eb2565b935061443981856020860161509f565b80840191505092915050565b6000614452602283614ea1565b915061445d826152f8565b604082019050919050565b6000614475603083614ea1565b915061448082615347565b604082019050919050565b6000614498602683614ea1565b91506144a382615396565b604082019050919050565b60006144bb602a83614ea1565b91506144c6826153e5565b604082019050919050565b60006144de601483614ea1565b91506144e982615434565b602082019050919050565b6000614501602383614ea1565b915061450c8261545d565b604082019050919050565b6000614524602583614ea1565b915061452f826154ac565b604082019050919050565b6000614547602083614ea1565b9150614552826154fb565b602082019050919050565b600061456a602e83614ea1565b915061457582615524565b604082019050919050565b600061458d601883614ea1565b915061459882615573565b602082019050919050565b60006145b0603983614ea1565b91506145bb8261559c565b604082019050919050565b60006145d3601583614ea1565b91506145de826155eb565b602082019050919050565b60006145f6602b83614ea1565b915061460182615614565b604082019050919050565b6000614619602683614ea1565b915061462482615663565b604082019050919050565b600061463c602083614ea1565b9150614647826156b2565b602082019050919050565b600061465f604383614ea1565b915061466a826156db565b606082019050919050565b6000614682602f83614ea1565b915061468d82615750565b604082019050919050565b60006146a5601a83614ea1565b91506146b08261579f565b602082019050919050565b60006146c8603283614ea1565b91506146d3826157c8565b604082019050919050565b60006146eb602283614ea1565b91506146f682615817565b604082019050919050565b600061470e600083614e96565b915061471982615866565b600082019050919050565b6000614731603383614ea1565b915061473c82615869565b604082019050919050565b6000614754602183614ea1565b915061475f826158b8565b604082019050919050565b6000614777602883614ea1565b915061478282615907565b604082019050919050565b600061479a602e83614ea1565b91506147a582615956565b604082019050919050565b60006147bd602f83614ea1565b91506147c8826159a5565b604082019050919050565b60006147e0602c83614ea1565b91506147eb826159f4565b604082019050919050565b6000614803602d83614ea1565b915061480e82615a43565b604082019050919050565b60408201600082015161482f6000850182614848565b5060208201516148426020850182614366565b50505050565b61485181615067565b82525050565b61486081615067565b82525050565b61486f81615071565b82525050565b60006148818285614414565b915061488d8284614414565b91508190509392505050565b60006148a482614701565b9150819050919050565b60006020820190506148c360008301846142f9565b92915050565b60006080820190506148de60008301876142f9565b6148eb60208301866142f9565b6148f86040830185614857565b818103606083015261490a8184614393565b905095945050505050565b6000602082019050818103600083015261492f8184614308565b905092915050565b600060208201905061494c6000830184614375565b92915050565b60006080820190506149676000830187614384565b6149746020830186614866565b6149816040830185614384565b61498e6060830184614384565b95945050505050565b60006040820190506149ac60008301856143cc565b6149b960208301846142f9565b9392505050565b600060208201905081810360008301526149da81846143db565b905092915050565b600060208201905081810360008301526149fb81614445565b9050919050565b60006020820190508181036000830152614a1b81614468565b9050919050565b60006020820190508181036000830152614a3b8161448b565b9050919050565b60006020820190508181036000830152614a5b816144ae565b9050919050565b60006020820190508181036000830152614a7b816144d1565b9050919050565b60006020820190508181036000830152614a9b816144f4565b9050919050565b60006020820190508181036000830152614abb81614517565b9050919050565b60006020820190508181036000830152614adb8161453a565b9050919050565b60006020820190508181036000830152614afb8161455d565b9050919050565b60006020820190508181036000830152614b1b81614580565b9050919050565b60006020820190508181036000830152614b3b816145a3565b9050919050565b60006020820190508181036000830152614b5b816145c6565b9050919050565b60006020820190508181036000830152614b7b816145e9565b9050919050565b60006020820190508181036000830152614b9b8161460c565b9050919050565b60006020820190508181036000830152614bbb8161462f565b9050919050565b60006020820190508181036000830152614bdb81614652565b9050919050565b60006020820190508181036000830152614bfb81614675565b9050919050565b60006020820190508181036000830152614c1b81614698565b9050919050565b60006020820190508181036000830152614c3b816146bb565b9050919050565b60006020820190508181036000830152614c5b816146de565b9050919050565b60006020820190508181036000830152614c7b81614724565b9050919050565b60006020820190508181036000830152614c9b81614747565b9050919050565b60006020820190508181036000830152614cbb8161476a565b9050919050565b60006020820190508181036000830152614cdb8161478d565b9050919050565b60006020820190508181036000830152614cfb816147b0565b9050919050565b60006020820190508181036000830152614d1b816147d3565b9050919050565b60006020820190508181036000830152614d3b816147f6565b9050919050565b6000602082019050614d576000830184614857565b92915050565b6000604082019050614d726000830185614857565b614d7f6020830184614375565b9392505050565b6000604082019050614d9b6000830185614857565b614da86020830184614857565b9392505050565b6000614db9614dca565b9050614dc58282615104565b919050565b6000604051905090565b600067ffffffffffffffff821115614def57614dee61529a565b5b614df8826152e7565b9050602081019050919050565b600067ffffffffffffffff821115614e2057614e1f61529a565b5b614e29826152e7565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ec882615067565b9150614ed383615067565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f0857614f076151af565b5b828201905092915050565b6000614f1e82615067565b9150614f2983615067565b925082614f3957614f386151de565b5b828204905092915050565b6000614f4f82615067565b9150614f5a83615067565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f9357614f926151af565b5b828202905092915050565b6000614fa982615067565b9150614fb483615067565b925082821015614fc757614fc66151af565b5b828203905092915050565b6000614fdd82615047565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061503482615a92565b919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061508982615026565b9050919050565b82818337600083830152505050565b60005b838110156150bd5780820151818401526020810190506150a2565b838111156150cc576000848401525b50505050565b600060028204905060018216806150ea57607f821691505b602082108114156150fe576150fd61523c565b5b50919050565b61510d826152e7565b810181811067ffffffffffffffff8211171561512c5761512b61529a565b5b80604052505050565b600061514082615067565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615173576151726151af565b5b600182019050919050565b600061518982615067565b915061519483615067565b9250826151a4576151a36151de565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f723a20596f752068617665206e6f206b65792c207761697420666f7260008201527f20746865207075626c6963206d696e7400000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f4572726f723a20496e76616c696420746f6b656e000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f723a20596f75206172656e277420706179696e6720656e6f7567682e600082015250565b7f4572726f723a20596f752063616e2774206d696e742074686174207175616e7460008201527f697479206f6620746f6b656e732e000000000000000000000000000000000000602082015250565b7f45434453413a20496e76616c6964207369676e61747572650000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f4572726f723a204d696e74696e6720436c6f7365640000000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4572726f723a20546865207175616e7469747920796f7527726520747279696e60008201527f6720746f206d696e742065786363656564732074686520746f74616c2073757060208201527f706c790000000000000000000000000000000000000000000000000000000000604082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f4572726f723a20596f75206e65656420746f204d696e74206d6f72652074686160008201527f6e206f6e6520546f6b656e2e0000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60038110615aa357615aa261520d565b5b50565b615aaf81614fd2565b8114615aba57600080fd5b50565b615ac681614fe4565b8114615ad157600080fd5b50565b615add81614ff0565b8114615ae857600080fd5b50565b615af481614ffa565b8114615aff57600080fd5b50565b615b0b81615039565b8114615b1657600080fd5b50565b615b2281615067565b8114615b2d57600080fd5b50565b615b3981615071565b8114615b4457600080fd5b5056fea2646970667358221220754e0d0cc773b73a14ecc38f0d2444cf78b9a7965162d0debc7e4c4b8ce1a8d764736f6c63430008070033

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

000000000000000000000000402a4189b1d72edfbc9dfeb7771e4a5549b43531

-----Decoded View---------------
Arg [0] : _adminSigner (address): 0x402a4189b1d72EdFBc9dfEb7771e4A5549B43531

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000402a4189b1d72edfbc9dfeb7771e4a5549b43531


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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