ETH Price: $3,560.65 (+1.32%)
Gas: 21 Gwei

Contract

0x00D1a09205bbD5A2EA35524aFafB41Aa2d5E423e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x3177da42f87f366bfe05207f783736c63275aca666363cd4e8c9c83b647ad1b4Wm Mint(pending)2024-03-29 1:19:304 hrs ago1711675170IN
0x00D1a092...a2d5E423e
0 ETH(Pending)(Pending)
Transfer From191314712024-02-01 5:21:3557 days ago1706764895IN
0x00D1a092...a2d5E423e
0 ETH0.0014785221.10397001
Transfer From191314642024-02-01 5:20:1157 days ago1706764811IN
0x00D1a092...a2d5E423e
0 ETH0.0014390220.53674055
Transfer From191314622024-02-01 5:19:4757 days ago1706764787IN
0x00D1a092...a2d5E423e
0 ETH0.001414420.18537654
Transfer From191314602024-02-01 5:19:2357 days ago1706764763IN
0x00D1a092...a2d5E423e
0 ETH0.0014582520.81109968
Transfer From191314582024-02-01 5:18:5957 days ago1706764739IN
0x00D1a092...a2d5E423e
0 ETH0.0018284420.97824073
Set Approval For...190752012024-01-24 8:07:3564 days ago1706083655IN
0x00D1a092...a2d5E423e
0 ETH0.0005287311.31484656
Withdraw189739972024-01-10 3:54:4779 days ago1704858887IN
0x00D1a092...a2d5E423e
0 ETH0.0008984627.59579742
Set Approval For...189526782024-01-07 3:52:1182 days ago1704599531IN
0x00D1a092...a2d5E423e
0 ETH0.0007916116.94045344
Set Approval For...188031212023-12-17 3:37:23103 days ago1702784243IN
0x00D1a092...a2d5E423e
0 ETH0.0007645530.8075863
Set Approval For...188030892023-12-17 3:30:47103 days ago1702783847IN
0x00D1a092...a2d5E423e
0 ETH0.0008270833.32751894
Set Approval For...188026812023-12-17 2:08:23103 days ago1702778903IN
0x00D1a092...a2d5E423e
0 ETH0.0009370437.75811674
Mint184743092023-11-01 2:34:23149 days ago1698806063IN
0x00D1a092...a2d5E423e
0.1 ETH0.0010847315.1676744
Mint184742942023-11-01 2:31:23149 days ago1698805883IN
0x00D1a092...a2d5E423e
0.1 ETH0.0012786914.42963974
Unstake183807642023-10-19 0:18:59162 days ago1697674739IN
0x00D1a092...a2d5E423e
0 ETH0.000162526.29642416
Set Price183645192023-10-16 17:46:11164 days ago1697478371IN
0x00D1a092...a2d5E423e
0 ETH0.0004262614.69108171
Set Supply183645112023-10-16 17:44:35164 days ago1697478275IN
0x00D1a092...a2d5E423e
0 ETH0.0004331414.9639428
Safe Transfer Fr...183555252023-10-15 11:37:47165 days ago1697369867IN
0x00D1a092...a2d5E423e
0 ETH0.000245585.39034926
Stake183554652023-10-15 11:25:47165 days ago1697369147IN
0x00D1a092...a2d5E423e
0 ETH0.000172586.15944605
Safe Transfer Fr...183554642023-10-15 11:25:35165 days ago1697369135IN
0x00D1a092...a2d5E423e
0 ETH0.000447776.6375018
Unstake183554612023-10-15 11:24:59165 days ago1697369099IN
0x00D1a092...a2d5E423e
0 ETH0.00015295.92352552
Stake183554542023-10-15 11:23:35165 days ago1697369015IN
0x00D1a092...a2d5E423e
0 ETH0.000442126.12483372
Unstake183554402023-10-15 11:20:35165 days ago1697368835IN
0x00D1a092...a2d5E423e
0 ETH0.000134315.52802072
Unstake183554402023-10-15 11:20:35165 days ago1697368835IN
0x00D1a092...a2d5E423e
0 ETH0.000142695.52802072
Stake183554352023-10-15 11:19:35165 days ago1697368775IN
0x00D1a092...a2d5E423e
0 ETH0.000167045.15804346
View all transactions

Latest 7 internal transactions

Advanced mode:
Parent Txn Hash Block From To Value
189739972024-01-10 3:54:4779 days ago1704858887
0x00D1a092...a2d5E423e
0.23 ETH
183532752023-10-15 4:04:47166 days ago1697342687
0x00D1a092...a2d5E423e
0.39 ETH
167352952023-03-01 17:36:59393 days ago1677692219
0x00D1a092...a2d5E423e
0.94 ETH
158486102022-10-28 19:19:59517 days ago1666984799
0x00D1a092...a2d5E423e
0.35 ETH
157560792022-10-15 21:03:47530 days ago1665867827
0x00D1a092...a2d5E423e
0.21 ETH
156570432022-10-02 1:02:35544 days ago1664672555
0x00D1a092...a2d5E423e
0.28 ETH
155400692022-09-15 15:45:11560 days ago1663256711
0x00D1a092...a2d5E423e
2.47 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Proxcity

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Proxcity.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "erc721a/contracts/ERC721A.sol";

contract Proxcity is ERC721A, Ownable, ReentrancyGuard{
	using Strings for uint256;

	uint256 public MAX_SUPPLY = 1000;
	uint256 public MINT_COST = .07 ether;

	bool public WM_ACTIVE = false;
	bool public WM_LIMTED = true;
	bool public MINT_ENABLED = false;
	bool public FREE_MINT_ENABLED = false;
	bool public BURN_ENABLED = false;

	struct Stake {
		address owner;
		uint256 timestamp;
	}
	mapping(uint256 => Stake) public staked;
	mapping(address => uint256) public wmMints;
	mapping(address => uint256) public allowedWmMints;
	mapping(address => uint256) public freeMints;

	string public baseURI;
	string public baseExtension = ".json";
	address public payoutWallet;

	constructor() ERC721A("Proxcity", "PRXCTY"){
	}

	function wmMint(uint256 _quantity) external nonReentrant{
		require(WM_ACTIVE == true, "WMMint not active");
		require(_quantity > 0, "Mint amount must be greater then 0");
		require(this.totalSupply() + _quantity <= MAX_SUPPLY, "WM mint complete");

		if(WM_LIMTED){
			require(wmMints[msg.sender] + _quantity <= allowedWmMints[msg.sender], "Max allowed mints reached");
		} else{
			require(allowedWmMints[msg.sender] > 0, "Not eligable to mint in this phase");
		}
		wmMints[msg.sender] += _quantity;
		_safeMint(msg.sender, _quantity);
	}

	function freeMint(uint256 _quantity) external nonReentrant{
		require(FREE_MINT_ENABLED == true, "Phase not active");
		require(_quantity > 0 && _quantity <= 5, "Mint amount must be greater then 0 and less than or equal to 5");
		require(freeMints[msg.sender] + _quantity <= 5, "Address has reached the max free mints");
		require(this.totalSupply() + _quantity <= MAX_SUPPLY, "Free mint complete");
		freeMints[msg.sender] += _quantity;
		_safeMint(msg.sender, _quantity);
	}

	function mint(uint256 _quantity) external payable nonReentrant{
		require(MINT_ENABLED == true, "Phase not active");
		require(_quantity > 0 && _quantity <= 10, "Mint amount must be greater then 0 and less than or equal to 10");
		require(this.totalSupply() + _quantity <= MAX_SUPPLY, "Mint complete");
		require(_quantity * MINT_COST == msg.value, "Not enough eth");
		_safeMint(msg.sender, _quantity);
	}

	function stake(uint256 _token_id) external{
		require (this.ownerOf(_token_id) == msg.sender, "Not owner");
		staked[_token_id] = Stake(msg.sender, block.timestamp);
	}

	function unstake(uint256 _token_id) external{
		require(staked[_token_id].owner == msg.sender, "Not owner");
		staked[_token_id] = Stake(address(0x0), 0);
	}

	function burn(uint256 _token_id) external{
		require(BURN_ENABLED == true, "Burn is not enabled");
		require(this.ownerOf(_token_id) == msg.sender, "Caller is not token owner");
		_burn(_token_id, true);
	}

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

	function setBaseExtension(string memory _extension) public onlyOwner{
		baseExtension = _extension;
	}

	function setPayoutWallet(address _wallet) external onlyOwner{
		payoutWallet = _wallet;
	}

	function setWMMints(address[] memory _wallet, uint256[] memory _amount) external onlyOwner{
		for(uint256 x = 0;x < _wallet.length; x++){
			allowedWmMints[_wallet[x]] = _amount[x];
		}
	}

	function setWMLimited(bool _active) external onlyOwner{
		WM_LIMTED = _active;
	}

	function setBurn(bool _active) external onlyOwner{
		BURN_ENABLED = _active;
	}

	function setSupply(uint256 _supply) external onlyOwner{
		MAX_SUPPLY = _supply;
	}

	function setPrice(uint256 _price) external onlyOwner{
		MINT_COST = _price;
	}

	function setPhase(uint256 _phase, bool _active) external onlyOwner{
		if(_phase == 1){
			WM_ACTIVE = _active;
		} else if (_phase == 2){
			MINT_ENABLED = _active;
		} else if(_phase == 3){
			FREE_MINT_ENABLED = _active;
		}
	}

	function withdraw() external payable onlyOwner{
		payable(payoutWallet).transfer(address(this).balance);
	}

    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal view override {
        require(staked[startTokenId].timestamp == 0, "Cannot transfer - currently staked");
    }

	function tokenURI(uint _token_id) public view override returns(string memory){
		return string(abi.encodePacked(baseURI, _token_id.toString(), baseExtension));
	}
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 8 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 8 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 8 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // 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 {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * `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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, 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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 6 of 8 : 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 8 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 8 of 8 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` 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);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":[],"name":"BURN_ENABLED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_MINT_ENABLED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_ENABLED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WM_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WM_LIMTED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedWmMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token_id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"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":"payoutWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_extension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"}],"name":"setBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"setPayoutWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phase","type":"uint256"},{"internalType":"bool","name":"_active","type":"bool"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"}],"name":"setWMLimited","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallet","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"setWMMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token_id","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"staked","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token_id","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":"_token_id","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"wmMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wmMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526103e8600a5566f8b0a10e470000600b556000600c60006101000a81548160ff0219169083151502179055506001600c60016101000a81548160ff0219169083151502179055506000600c60026101000a81548160ff0219169083151502179055506000600c60036101000a81548160ff0219169083151502179055506000600c60046101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060129080519060200190620000e9929190620002af565b50348015620000f757600080fd5b506040518060400160405280600881526020017f50726f78636974790000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f505258435459000000000000000000000000000000000000000000000000000081525081600290805190602001906200017c929190620002af565b50806003908051906020019062000195929190620002af565b50620001a6620001dc60201b60201c565b6000819055505050620001ce620001c2620001e160201b60201c565b620001e960201b60201c565b6001600981905550620003c4565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002bd906200038e565b90600052602060002090601f016020900481019282620002e157600085556200032d565b82601f10620002fc57805160ff19168380011785556200032d565b828001600101855582156200032d579182015b828111156200032c5782518255916020019190600101906200030f565b5b5090506200033c919062000340565b5090565b5b808211156200035b57600081600090555060010162000341565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003a757607f821691505b60208210811415620003be57620003bd6200035f565b5b50919050565b614a8b80620003d46000396000f3fe6080604052600436106102885760003560e01c806370a082311161015a578063a694fc3a116100c1578063c76b7b381161007a578063c76b7b3814610999578063c87b56dd146109c4578063ccfb763314610a01578063da3ef23f14610a2c578063e985e9c514610a55578063f2fde38b14610a9257610288565b8063a694fc3a1461088b578063b5392f56146108b4578063b88d4fde146108f1578063bd55cf0d1461091a578063c662e48114610943578063c66828621461096e57610288565b80638da5cb5b116101135780638da5cb5b1461079c57806391b7f5ed146107c757806395d89b41146107f05780639fbca28c1461081b578063a0712d6814610846578063a22cb4651461086257610288565b806370a082311461068e578063715018a6146106cb5780637c928fe9146106e25780637d2091111461070b57806380f595ba146107485780638488bb4e1461077157610288565b80633b4c4b25116101fe5780635f0efec7116101b75780635f0efec71461056e5780636352211e146105975780636946876a146105d45780636b8f9c43146105fd5780636c0360eb146106265780636d41d4fb1461065157610288565b80633b4c4b25146104825780633ccfd60b146104ab57806342842e0e146104b557806342966c68146104de57806355f804b3146105075780635e1bef321461053057610288565b806310da9d0b1161025057806310da9d0b146103865780631440003a146103af57806318160ddd146103da57806323b872dd146104055780632e17de781461042e57806332cb6b0c1461045757610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630cc4d7e21461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613388565b610abb565b6040516102c191906133d0565b60405180910390f35b3480156102d657600080fd5b506102df610b4d565b6040516102ec9190613484565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906134dc565b610bdf565b604051610329919061354a565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613591565b610c5e565b005b34801561036757600080fd5b50610370610da2565b60405161037d91906133d0565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a891906135fd565b610db5565b005b3480156103bb57600080fd5b506103c4610e37565b6040516103d191906133d0565b60405180910390f35b3480156103e657600080fd5b506103ef610e4a565b6040516103fc919061364c565b60405180910390f35b34801561041157600080fd5b5061042c60048036038101906104279190613667565b610e61565b005b34801561043a57600080fd5b50610455600480360381019061045091906134dc565b611186565b005b34801561046357600080fd5b5061046c6112c1565b604051610479919061364c565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a491906134dc565b6112c7565b005b6104b36112d9565b005b3480156104c157600080fd5b506104dc60048036038101906104d79190613667565b61134c565b005b3480156104ea57600080fd5b50610505600480360381019061050091906134dc565b61136c565b005b34801561051357600080fd5b5061052e600480360381019061052991906137ef565b6114c6565b005b34801561053c57600080fd5b50610557600480360381019061055291906134dc565b6114e8565b604051610565929190613838565b60405180910390f35b34801561057a57600080fd5b50610595600480360381019061059091906139ec565b61152c565b005b3480156105a357600080fd5b506105be60048036038101906105b991906134dc565b6115d0565b6040516105cb919061354a565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f69190613a64565b6115e2565b005b34801561060957600080fd5b50610624600480360381019061061f9190613a91565b611607565b005b34801561063257600080fd5b5061063b611653565b6040516106489190613484565b60405180910390f35b34801561065d57600080fd5b5061067860048036038101906106739190613a91565b6116e1565b604051610685919061364c565b60405180910390f35b34801561069a57600080fd5b506106b560048036038101906106b09190613a91565b6116f9565b6040516106c2919061364c565b60405180910390f35b3480156106d757600080fd5b506106e06117b2565b005b3480156106ee57600080fd5b50610709600480360381019061070491906134dc565b6117c6565b005b34801561071757600080fd5b50610732600480360381019061072d9190613a91565b611a80565b60405161073f919061364c565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a91906134dc565b611a98565b005b34801561077d57600080fd5b50610786611e20565b604051610793919061354a565b60405180910390f35b3480156107a857600080fd5b506107b1611e46565b6040516107be919061354a565b60405180910390f35b3480156107d357600080fd5b506107ee60048036038101906107e991906134dc565b611e70565b005b3480156107fc57600080fd5b50610805611e82565b6040516108129190613484565b60405180910390f35b34801561082757600080fd5b50610830611f14565b60405161083d91906133d0565b60405180910390f35b610860600480360381019061085b91906134dc565b611f27565b005b34801561086e57600080fd5b5061088960048036038101906108849190613abe565b61214c565b005b34801561089757600080fd5b506108b260048036038101906108ad91906134dc565b6122c4565b005b3480156108c057600080fd5b506108db60048036038101906108d69190613a91565b61244f565b6040516108e8919061364c565b60405180910390f35b3480156108fd57600080fd5b5061091860048036038101906109139190613b9f565b612467565b005b34801561092657600080fd5b50610941600480360381019061093c9190613a64565b6124da565b005b34801561094f57600080fd5b506109586124ff565b604051610965919061364c565b60405180910390f35b34801561097a57600080fd5b50610983612505565b6040516109909190613484565b60405180910390f35b3480156109a557600080fd5b506109ae612593565b6040516109bb91906133d0565b60405180910390f35b3480156109d057600080fd5b506109eb60048036038101906109e691906134dc565b6125a6565b6040516109f89190613484565b60405180910390f35b348015610a0d57600080fd5b50610a166125dd565b604051610a2391906133d0565b60405180910390f35b348015610a3857600080fd5b50610a536004803603810190610a4e91906137ef565b6125f0565b005b348015610a6157600080fd5b50610a7c6004803603810190610a779190613c22565b612612565b604051610a8991906133d0565b60405180910390f35b348015610a9e57600080fd5b50610ab96004803603810190610ab49190613a91565b6126a6565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b465750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b5c90613c91565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8890613c91565b8015610bd55780601f10610baa57610100808354040283529160200191610bd5565b820191906000526020600020905b815481529060010190602001808311610bb857829003601f168201915b5050505050905090565b6000610bea8261272a565b610c20576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c69826115d0565b90508073ffffffffffffffffffffffffffffffffffffffff16610c8a612789565b73ffffffffffffffffffffffffffffffffffffffff1614610ced57610cb681610cb1612789565b612612565b610cec576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c60019054906101000a900460ff1681565b610dbd612791565b6001821415610de55780600c60006101000a81548160ff021916908315150217905550610e33565b6002821415610e0d5780600c60026101000a81548160ff021916908315150217905550610e32565b6003821415610e315780600c60036101000a81548160ff0219169083151502179055505b5b5b5050565b600c60039054906101000a900460ff1681565b6000610e5461280f565b6001546000540303905090565b6000610e6c82612814565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ed3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610edf846128e2565b91509150610ef58187610ef0612789565b612909565b610f4157610f0a86610f05612789565b612612565b610f40576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fa8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb5868686600161294d565b8015610fc057600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061108e8561106a8888876129ac565b7c0200000000000000000000000000000000000000000000000000000000176129d4565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611116576000600185019050600060046000838152602001908152602001600020541415611114576000548114611113578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461117e86868660016129ff565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600d600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461122a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122190613d0f565b60405180910390fd5b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250600d600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015590505050565b600a5481565b6112cf612791565b80600a8190555050565b6112e1612791565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611349573d6000803e3d6000fd5b50565b61136783838360405180602001604052806000815250612467565b505050565b60011515600c60049054906101000a900460ff161515146113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b990613d7b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611412919061364c565b60206040518083038186803b15801561142a57600080fd5b505afa15801561143e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114629190613db0565b73ffffffffffffffffffffffffffffffffffffffff16146114b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114af90613e29565b60405180910390fd5b6114c3816001612a05565b50565b6114ce612791565b80601190805190602001906114e4929190613279565b5050565b600d6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b611534612791565b60005b82518110156115cb5781818151811061155357611552613e49565b5b6020026020010151600f600085848151811061157257611571613e49565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806115c390613ea7565b915050611537565b505050565b60006115db82612814565b9050919050565b6115ea612791565b80600c60016101000a81548160ff02191690831515021790555050565b61160f612791565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6011805461166090613c91565b80601f016020809104026020016040519081016040528092919081815260200182805461168c90613c91565b80156116d95780601f106116ae576101008083540402835291602001916116d9565b820191906000526020600020905b8154815290600101906020018083116116bc57829003601f168201915b505050505081565b60106020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611761576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117ba612791565b6117c46000612c59565b565b6002600954141561180c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180390613f3c565b60405180910390fd5b600260098190555060011515600c60039054906101000a900460ff1615151461186a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186190613fa8565b60405180910390fd5b60008111801561187b575060058111155b6118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b19061403a565b60405180910390fd5b600581601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611907919061405a565b1115611948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193f90614122565b60405180910390fd5b600a54813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561199257600080fd5b505afa1580156119a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ca9190614157565b6119d4919061405a565b1115611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0c906141d0565b60405180910390fd5b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a64919061405a565b92505081905550611a753382612d1f565b600160098190555050565b600e6020528060005260406000206000915090505481565b60026009541415611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590613f3c565b60405180910390fd5b600260098190555060011515600c60009054906101000a900460ff16151514611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b339061423c565b60405180910390fd5b60008111611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b76906142ce565b60405180910390fd5b600a54813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bc957600080fd5b505afa158015611bdd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c019190614157565b611c0b919061405a565b1115611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c439061433a565b60405180910390fd5b600c60019054906101000a900460ff1615611d3257600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cec919061405a565b1115611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d24906143a6565b60405180910390fd5b611db5565b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dab90614438565b60405180910390fd5b5b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e04919061405a565b92505081905550611e153382612d1f565b600160098190555050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611e78612791565b80600b8190555050565b606060038054611e9190613c91565b80601f0160208091040260200160405190810160405280929190818152602001828054611ebd90613c91565b8015611f0a5780601f10611edf57610100808354040283529160200191611f0a565b820191906000526020600020905b815481529060010190602001808311611eed57829003601f168201915b5050505050905090565b600c60029054906101000a900460ff1681565b60026009541415611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6490613f3c565b60405180910390fd5b600260098190555060011515600c60029054906101000a900460ff16151514611fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc290613fa8565b60405180910390fd5b600081118015611fdc5750600a8111155b61201b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612012906144ca565b60405180910390fd5b600a54813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561206557600080fd5b505afa158015612079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209d9190614157565b6120a7919061405a565b11156120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df90614536565b60405180910390fd5b34600b54826120f79190614556565b14612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e906145fc565b60405180910390fd5b6121413382612d1f565b600160098190555050565b612154612789565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121b9576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006121c6612789565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612273612789565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b891906133d0565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401612314919061364c565b60206040518083038186803b15801561232c57600080fd5b505afa158015612340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123649190613db0565b73ffffffffffffffffffffffffffffffffffffffff16146123ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b190613d0f565b60405180910390fd5b60405180604001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200142815250600d600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015590505050565b600f6020528060005260406000206000915090505481565b612472848484610e61565b60008373ffffffffffffffffffffffffffffffffffffffff163b146124d45761249d84848484612d3d565b6124d3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6124e2612791565b80600c60046101000a81548160ff02191690831515021790555050565b600b5481565b6012805461251290613c91565b80601f016020809104026020016040519081016040528092919081815260200182805461253e90613c91565b801561258b5780601f106125605761010080835404028352916020019161258b565b820191906000526020600020905b81548152906001019060200180831161256e57829003601f168201915b505050505081565b600c60009054906101000a900460ff1681565b606060116125b383612e9d565b60126040516020016125c7939291906146ec565b6040516020818303038152906040529050919050565b600c60049054906101000a900460ff1681565b6125f8612791565b806012908051906020019061260e929190613279565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126ae612791565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561271e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127159061478f565b60405180910390fd5b61272781612c59565b50565b60008161273561280f565b11158015612744575060005482105b8015612782575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b612799612ffe565b73ffffffffffffffffffffffffffffffffffffffff166127b7611e46565b73ffffffffffffffffffffffffffffffffffffffff161461280d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612804906147fb565b60405180910390fd5b565b600090565b6000808290508061282361280f565b116128ab576000548110156128aa5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156128a8575b600081141561289e576004600083600190039350838152602001908152602001600020549050612873565b80925050506128dd565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b6000600d600084815260200190815260200160002060010154146129a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299d9061488d565b60405180910390fd5b50505050565b60008060e883901c905060e86129c3868684613006565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612a1083612814565b90506000819050600080612a23866128e2565b915091508415612a8c57612a3f8184612a3a612789565b612909565b612a8b57612a5483612a4f612789565b612612565b612a8a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612a9a83600088600161294d565b8015612aa557600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b4d83612b0a856000886129ac565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176129d4565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612bd5576000600187019050600060046000838152602001908152602001600020541415612bd3576000548114612bd2578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c3f8360008860016129ff565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d3982826040518060200160405280600081525061300f565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d63612789565b8786866040518563ffffffff1660e01b8152600401612d859493929190614902565b602060405180830381600087803b158015612d9f57600080fd5b505af1925050508015612dd057506040513d601f19601f82011682018060405250810190612dcd9190614963565b60015b612e4a573d8060008114612e00576040519150601f19603f3d011682016040523d82523d6000602084013e612e05565b606091505b50600081511415612e42576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612ee5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ff9565b600082905060005b60008214612f17578080612f0090613ea7565b915050600a82612f1091906149bf565b9150612eed565b60008167ffffffffffffffff811115612f3357612f326136c4565b5b6040519080825280601f01601f191660200182016040528015612f655781602001600182028036833780820191505090505b5090505b60008514612ff257600182612f7e91906149f0565b9150600a85612f8d9190614a24565b6030612f99919061405a565b60f81b818381518110612faf57612fae613e49565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612feb91906149bf565b9450612f69565b8093505050505b919050565b600033905090565b60009392505050565b61301983836130ac565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130a757600080549050600083820390505b6130596000868380600101945086612d3d565b61308f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106130465781600054146130a457600080fd5b50505b505050565b60008054905060008214156130ed576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130fa600084838561294d565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131718361316260008660006129ac565b61316b85613269565b176129d4565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461321257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506131d7565b50600082141561324e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061326460008483856129ff565b505050565b60006001821460e11b9050919050565b82805461328590613c91565b90600052602060002090601f0160209004810192826132a757600085556132ee565b82601f106132c057805160ff19168380011785556132ee565b828001600101855582156132ee579182015b828111156132ed5782518255916020019190600101906132d2565b5b5090506132fb91906132ff565b5090565b5b80821115613318576000816000905550600101613300565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61336581613330565b811461337057600080fd5b50565b6000813590506133828161335c565b92915050565b60006020828403121561339e5761339d613326565b5b60006133ac84828501613373565b91505092915050565b60008115159050919050565b6133ca816133b5565b82525050565b60006020820190506133e560008301846133c1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561342557808201518184015260208101905061340a565b83811115613434576000848401525b50505050565b6000601f19601f8301169050919050565b6000613456826133eb565b61346081856133f6565b9350613470818560208601613407565b6134798161343a565b840191505092915050565b6000602082019050818103600083015261349e818461344b565b905092915050565b6000819050919050565b6134b9816134a6565b81146134c457600080fd5b50565b6000813590506134d6816134b0565b92915050565b6000602082840312156134f2576134f1613326565b5b6000613500848285016134c7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061353482613509565b9050919050565b61354481613529565b82525050565b600060208201905061355f600083018461353b565b92915050565b61356e81613529565b811461357957600080fd5b50565b60008135905061358b81613565565b92915050565b600080604083850312156135a8576135a7613326565b5b60006135b68582860161357c565b92505060206135c7858286016134c7565b9150509250929050565b6135da816133b5565b81146135e557600080fd5b50565b6000813590506135f7816135d1565b92915050565b6000806040838503121561361457613613613326565b5b6000613622858286016134c7565b9250506020613633858286016135e8565b9150509250929050565b613646816134a6565b82525050565b6000602082019050613661600083018461363d565b92915050565b6000806000606084860312156136805761367f613326565b5b600061368e8682870161357c565b935050602061369f8682870161357c565b92505060406136b0868287016134c7565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136fc8261343a565b810181811067ffffffffffffffff8211171561371b5761371a6136c4565b5b80604052505050565b600061372e61331c565b905061373a82826136f3565b919050565b600067ffffffffffffffff82111561375a576137596136c4565b5b6137638261343a565b9050602081019050919050565b82818337600083830152505050565b600061379261378d8461373f565b613724565b9050828152602081018484840111156137ae576137ad6136bf565b5b6137b9848285613770565b509392505050565b600082601f8301126137d6576137d56136ba565b5b81356137e684826020860161377f565b91505092915050565b60006020828403121561380557613804613326565b5b600082013567ffffffffffffffff8111156138235761382261332b565b5b61382f848285016137c1565b91505092915050565b600060408201905061384d600083018561353b565b61385a602083018461363d565b9392505050565b600067ffffffffffffffff82111561387c5761387b6136c4565b5b602082029050602081019050919050565b600080fd5b60006138a56138a084613861565b613724565b905080838252602082019050602084028301858111156138c8576138c761388d565b5b835b818110156138f157806138dd888261357c565b8452602084019350506020810190506138ca565b5050509392505050565b600082601f8301126139105761390f6136ba565b5b8135613920848260208601613892565b91505092915050565b600067ffffffffffffffff821115613944576139436136c4565b5b602082029050602081019050919050565b600061396861396384613929565b613724565b9050808382526020820190506020840283018581111561398b5761398a61388d565b5b835b818110156139b457806139a088826134c7565b84526020840193505060208101905061398d565b5050509392505050565b600082601f8301126139d3576139d26136ba565b5b81356139e3848260208601613955565b91505092915050565b60008060408385031215613a0357613a02613326565b5b600083013567ffffffffffffffff811115613a2157613a2061332b565b5b613a2d858286016138fb565b925050602083013567ffffffffffffffff811115613a4e57613a4d61332b565b5b613a5a858286016139be565b9150509250929050565b600060208284031215613a7a57613a79613326565b5b6000613a88848285016135e8565b91505092915050565b600060208284031215613aa757613aa6613326565b5b6000613ab58482850161357c565b91505092915050565b60008060408385031215613ad557613ad4613326565b5b6000613ae38582860161357c565b9250506020613af4858286016135e8565b9150509250929050565b600067ffffffffffffffff821115613b1957613b186136c4565b5b613b228261343a565b9050602081019050919050565b6000613b42613b3d84613afe565b613724565b905082815260208101848484011115613b5e57613b5d6136bf565b5b613b69848285613770565b509392505050565b600082601f830112613b8657613b856136ba565b5b8135613b96848260208601613b2f565b91505092915050565b60008060008060808587031215613bb957613bb8613326565b5b6000613bc78782880161357c565b9450506020613bd88782880161357c565b9350506040613be9878288016134c7565b925050606085013567ffffffffffffffff811115613c0a57613c0961332b565b5b613c1687828801613b71565b91505092959194509250565b60008060408385031215613c3957613c38613326565b5b6000613c478582860161357c565b9250506020613c588582860161357c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ca957607f821691505b60208210811415613cbd57613cbc613c62565b5b50919050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b6000613cf96009836133f6565b9150613d0482613cc3565b602082019050919050565b60006020820190508181036000830152613d2881613cec565b9050919050565b7f4275726e206973206e6f7420656e61626c656400000000000000000000000000600082015250565b6000613d656013836133f6565b9150613d7082613d2f565b602082019050919050565b60006020820190508181036000830152613d9481613d58565b9050919050565b600081519050613daa81613565565b92915050565b600060208284031215613dc657613dc5613326565b5b6000613dd484828501613d9b565b91505092915050565b7f43616c6c6572206973206e6f7420746f6b656e206f776e657200000000000000600082015250565b6000613e136019836133f6565b9150613e1e82613ddd565b602082019050919050565b60006020820190508181036000830152613e4281613e06565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613eb2826134a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ee557613ee4613e78565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613f26601f836133f6565b9150613f3182613ef0565b602082019050919050565b60006020820190508181036000830152613f5581613f19565b9050919050565b7f5068617365206e6f742061637469766500000000000000000000000000000000600082015250565b6000613f926010836133f6565b9150613f9d82613f5c565b602082019050919050565b60006020820190508181036000830152613fc181613f85565b9050919050565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468656e60008201527f203020616e64206c657373207468616e206f7220657175616c20746f20350000602082015250565b6000614024603e836133f6565b915061402f82613fc8565b604082019050919050565b6000602082019050818103600083015261405381614017565b9050919050565b6000614065826134a6565b9150614070836134a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140a5576140a4613e78565b5b828201905092915050565b7f4164647265737320686173207265616368656420746865206d6178206672656560008201527f206d696e74730000000000000000000000000000000000000000000000000000602082015250565b600061410c6026836133f6565b9150614117826140b0565b604082019050919050565b6000602082019050818103600083015261413b816140ff565b9050919050565b600081519050614151816134b0565b92915050565b60006020828403121561416d5761416c613326565b5b600061417b84828501614142565b91505092915050565b7f46726565206d696e7420636f6d706c6574650000000000000000000000000000600082015250565b60006141ba6012836133f6565b91506141c582614184565b602082019050919050565b600060208201905081810360008301526141e9816141ad565b9050919050565b7f574d4d696e74206e6f7420616374697665000000000000000000000000000000600082015250565b60006142266011836133f6565b9150614231826141f0565b602082019050919050565b6000602082019050818103600083015261425581614219565b9050919050565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468656e60008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b60006142b86022836133f6565b91506142c38261425c565b604082019050919050565b600060208201905081810360008301526142e7816142ab565b9050919050565b7f574d206d696e7420636f6d706c65746500000000000000000000000000000000600082015250565b60006143246010836133f6565b915061432f826142ee565b602082019050919050565b6000602082019050818103600083015261435381614317565b9050919050565b7f4d617820616c6c6f776564206d696e7473207265616368656400000000000000600082015250565b60006143906019836133f6565b915061439b8261435a565b602082019050919050565b600060208201905081810360008301526143bf81614383565b9050919050565b7f4e6f7420656c696761626c6520746f206d696e7420696e20746869732070686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b60006144226022836133f6565b915061442d826143c6565b604082019050919050565b6000602082019050818103600083015261445181614415565b9050919050565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468656e60008201527f203020616e64206c657373207468616e206f7220657175616c20746f20313000602082015250565b60006144b4603f836133f6565b91506144bf82614458565b604082019050919050565b600060208201905081810360008301526144e3816144a7565b9050919050565b7f4d696e7420636f6d706c65746500000000000000000000000000000000000000600082015250565b6000614520600d836133f6565b915061452b826144ea565b602082019050919050565b6000602082019050818103600083015261454f81614513565b9050919050565b6000614561826134a6565b915061456c836134a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145a5576145a4613e78565b5b828202905092915050565b7f4e6f7420656e6f75676820657468000000000000000000000000000000000000600082015250565b60006145e6600e836133f6565b91506145f1826145b0565b602082019050919050565b60006020820190508181036000830152614615816145d9565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461464981613c91565b614653818661461c565b9450600182166000811461466e576001811461467f576146b2565b60ff198316865281860193506146b2565b61468885614627565b60005b838110156146aa5781548189015260018201915060208101905061468b565b838801955050505b50505092915050565b60006146c6826133eb565b6146d0818561461c565b93506146e0818560208601613407565b80840191505092915050565b60006146f8828661463c565b915061470482856146bb565b9150614710828461463c565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147796026836133f6565b91506147848261471d565b604082019050919050565b600060208201905081810360008301526147a88161476c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147e56020836133f6565b91506147f0826147af565b602082019050919050565b60006020820190508181036000830152614814816147d8565b9050919050565b7f43616e6e6f74207472616e73666572202d2063757272656e746c79207374616b60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b60006148776022836133f6565b91506148828261481b565b604082019050919050565b600060208201905081810360008301526148a68161486a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148d4826148ad565b6148de81856148b8565b93506148ee818560208601613407565b6148f78161343a565b840191505092915050565b6000608082019050614917600083018761353b565b614924602083018661353b565b614931604083018561363d565b818103606083015261494381846148c9565b905095945050505050565b60008151905061495d8161335c565b92915050565b60006020828403121561497957614978613326565b5b60006149878482850161494e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149ca826134a6565b91506149d5836134a6565b9250826149e5576149e4614990565b5b828204905092915050565b60006149fb826134a6565b9150614a06836134a6565b925082821015614a1957614a18613e78565b5b828203905092915050565b6000614a2f826134a6565b9150614a3a836134a6565b925082614a4a57614a49614990565b5b82820690509291505056fea26469706673582212202de431df6ad5482fa61aeeb171159fcd87a72528fa542861c104ecc23c96c14a64736f6c63430008090033

Deployed Bytecode

0x6080604052600436106102885760003560e01c806370a082311161015a578063a694fc3a116100c1578063c76b7b381161007a578063c76b7b3814610999578063c87b56dd146109c4578063ccfb763314610a01578063da3ef23f14610a2c578063e985e9c514610a55578063f2fde38b14610a9257610288565b8063a694fc3a1461088b578063b5392f56146108b4578063b88d4fde146108f1578063bd55cf0d1461091a578063c662e48114610943578063c66828621461096e57610288565b80638da5cb5b116101135780638da5cb5b1461079c57806391b7f5ed146107c757806395d89b41146107f05780639fbca28c1461081b578063a0712d6814610846578063a22cb4651461086257610288565b806370a082311461068e578063715018a6146106cb5780637c928fe9146106e25780637d2091111461070b57806380f595ba146107485780638488bb4e1461077157610288565b80633b4c4b25116101fe5780635f0efec7116101b75780635f0efec71461056e5780636352211e146105975780636946876a146105d45780636b8f9c43146105fd5780636c0360eb146106265780636d41d4fb1461065157610288565b80633b4c4b25146104825780633ccfd60b146104ab57806342842e0e146104b557806342966c68146104de57806355f804b3146105075780635e1bef321461053057610288565b806310da9d0b1161025057806310da9d0b146103865780631440003a146103af57806318160ddd146103da57806323b872dd146104055780632e17de781461042e57806332cb6b0c1461045757610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630cc4d7e21461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613388565b610abb565b6040516102c191906133d0565b60405180910390f35b3480156102d657600080fd5b506102df610b4d565b6040516102ec9190613484565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906134dc565b610bdf565b604051610329919061354a565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190613591565b610c5e565b005b34801561036757600080fd5b50610370610da2565b60405161037d91906133d0565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a891906135fd565b610db5565b005b3480156103bb57600080fd5b506103c4610e37565b6040516103d191906133d0565b60405180910390f35b3480156103e657600080fd5b506103ef610e4a565b6040516103fc919061364c565b60405180910390f35b34801561041157600080fd5b5061042c60048036038101906104279190613667565b610e61565b005b34801561043a57600080fd5b50610455600480360381019061045091906134dc565b611186565b005b34801561046357600080fd5b5061046c6112c1565b604051610479919061364c565b60405180910390f35b34801561048e57600080fd5b506104a960048036038101906104a491906134dc565b6112c7565b005b6104b36112d9565b005b3480156104c157600080fd5b506104dc60048036038101906104d79190613667565b61134c565b005b3480156104ea57600080fd5b50610505600480360381019061050091906134dc565b61136c565b005b34801561051357600080fd5b5061052e600480360381019061052991906137ef565b6114c6565b005b34801561053c57600080fd5b50610557600480360381019061055291906134dc565b6114e8565b604051610565929190613838565b60405180910390f35b34801561057a57600080fd5b50610595600480360381019061059091906139ec565b61152c565b005b3480156105a357600080fd5b506105be60048036038101906105b991906134dc565b6115d0565b6040516105cb919061354a565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f69190613a64565b6115e2565b005b34801561060957600080fd5b50610624600480360381019061061f9190613a91565b611607565b005b34801561063257600080fd5b5061063b611653565b6040516106489190613484565b60405180910390f35b34801561065d57600080fd5b5061067860048036038101906106739190613a91565b6116e1565b604051610685919061364c565b60405180910390f35b34801561069a57600080fd5b506106b560048036038101906106b09190613a91565b6116f9565b6040516106c2919061364c565b60405180910390f35b3480156106d757600080fd5b506106e06117b2565b005b3480156106ee57600080fd5b50610709600480360381019061070491906134dc565b6117c6565b005b34801561071757600080fd5b50610732600480360381019061072d9190613a91565b611a80565b60405161073f919061364c565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a91906134dc565b611a98565b005b34801561077d57600080fd5b50610786611e20565b604051610793919061354a565b60405180910390f35b3480156107a857600080fd5b506107b1611e46565b6040516107be919061354a565b60405180910390f35b3480156107d357600080fd5b506107ee60048036038101906107e991906134dc565b611e70565b005b3480156107fc57600080fd5b50610805611e82565b6040516108129190613484565b60405180910390f35b34801561082757600080fd5b50610830611f14565b60405161083d91906133d0565b60405180910390f35b610860600480360381019061085b91906134dc565b611f27565b005b34801561086e57600080fd5b5061088960048036038101906108849190613abe565b61214c565b005b34801561089757600080fd5b506108b260048036038101906108ad91906134dc565b6122c4565b005b3480156108c057600080fd5b506108db60048036038101906108d69190613a91565b61244f565b6040516108e8919061364c565b60405180910390f35b3480156108fd57600080fd5b5061091860048036038101906109139190613b9f565b612467565b005b34801561092657600080fd5b50610941600480360381019061093c9190613a64565b6124da565b005b34801561094f57600080fd5b506109586124ff565b604051610965919061364c565b60405180910390f35b34801561097a57600080fd5b50610983612505565b6040516109909190613484565b60405180910390f35b3480156109a557600080fd5b506109ae612593565b6040516109bb91906133d0565b60405180910390f35b3480156109d057600080fd5b506109eb60048036038101906109e691906134dc565b6125a6565b6040516109f89190613484565b60405180910390f35b348015610a0d57600080fd5b50610a166125dd565b604051610a2391906133d0565b60405180910390f35b348015610a3857600080fd5b50610a536004803603810190610a4e91906137ef565b6125f0565b005b348015610a6157600080fd5b50610a7c6004803603810190610a779190613c22565b612612565b604051610a8991906133d0565b60405180910390f35b348015610a9e57600080fd5b50610ab96004803603810190610ab49190613a91565b6126a6565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b465750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b5c90613c91565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8890613c91565b8015610bd55780601f10610baa57610100808354040283529160200191610bd5565b820191906000526020600020905b815481529060010190602001808311610bb857829003601f168201915b5050505050905090565b6000610bea8261272a565b610c20576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c69826115d0565b90508073ffffffffffffffffffffffffffffffffffffffff16610c8a612789565b73ffffffffffffffffffffffffffffffffffffffff1614610ced57610cb681610cb1612789565b612612565b610cec576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c60019054906101000a900460ff1681565b610dbd612791565b6001821415610de55780600c60006101000a81548160ff021916908315150217905550610e33565b6002821415610e0d5780600c60026101000a81548160ff021916908315150217905550610e32565b6003821415610e315780600c60036101000a81548160ff0219169083151502179055505b5b5b5050565b600c60039054906101000a900460ff1681565b6000610e5461280f565b6001546000540303905090565b6000610e6c82612814565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ed3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610edf846128e2565b91509150610ef58187610ef0612789565b612909565b610f4157610f0a86610f05612789565b612612565b610f40576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fa8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb5868686600161294d565b8015610fc057600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061108e8561106a8888876129ac565b7c0200000000000000000000000000000000000000000000000000000000176129d4565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611116576000600185019050600060046000838152602001908152602001600020541415611114576000548114611113578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461117e86868660016129ff565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600d600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461122a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122190613d0f565b60405180910390fd5b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250600d600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015590505050565b600a5481565b6112cf612791565b80600a8190555050565b6112e1612791565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611349573d6000803e3d6000fd5b50565b61136783838360405180602001604052806000815250612467565b505050565b60011515600c60049054906101000a900460ff161515146113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b990613d7b565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611412919061364c565b60206040518083038186803b15801561142a57600080fd5b505afa15801561143e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114629190613db0565b73ffffffffffffffffffffffffffffffffffffffff16146114b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114af90613e29565b60405180910390fd5b6114c3816001612a05565b50565b6114ce612791565b80601190805190602001906114e4929190613279565b5050565b600d6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b611534612791565b60005b82518110156115cb5781818151811061155357611552613e49565b5b6020026020010151600f600085848151811061157257611571613e49565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806115c390613ea7565b915050611537565b505050565b60006115db82612814565b9050919050565b6115ea612791565b80600c60016101000a81548160ff02191690831515021790555050565b61160f612791565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6011805461166090613c91565b80601f016020809104026020016040519081016040528092919081815260200182805461168c90613c91565b80156116d95780601f106116ae576101008083540402835291602001916116d9565b820191906000526020600020905b8154815290600101906020018083116116bc57829003601f168201915b505050505081565b60106020528060005260406000206000915090505481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611761576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117ba612791565b6117c46000612c59565b565b6002600954141561180c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180390613f3c565b60405180910390fd5b600260098190555060011515600c60039054906101000a900460ff1615151461186a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186190613fa8565b60405180910390fd5b60008111801561187b575060058111155b6118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b19061403a565b60405180910390fd5b600581601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611907919061405a565b1115611948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193f90614122565b60405180910390fd5b600a54813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561199257600080fd5b505afa1580156119a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ca9190614157565b6119d4919061405a565b1115611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0c906141d0565b60405180910390fd5b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a64919061405a565b92505081905550611a753382612d1f565b600160098190555050565b600e6020528060005260406000206000915090505481565b60026009541415611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590613f3c565b60405180910390fd5b600260098190555060011515600c60009054906101000a900460ff16151514611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b339061423c565b60405180910390fd5b60008111611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b76906142ce565b60405180910390fd5b600a54813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bc957600080fd5b505afa158015611bdd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c019190614157565b611c0b919061405a565b1115611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c439061433a565b60405180910390fd5b600c60019054906101000a900460ff1615611d3257600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cec919061405a565b1115611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d24906143a6565b60405180910390fd5b611db5565b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dab90614438565b60405180910390fd5b5b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e04919061405a565b92505081905550611e153382612d1f565b600160098190555050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611e78612791565b80600b8190555050565b606060038054611e9190613c91565b80601f0160208091040260200160405190810160405280929190818152602001828054611ebd90613c91565b8015611f0a5780601f10611edf57610100808354040283529160200191611f0a565b820191906000526020600020905b815481529060010190602001808311611eed57829003601f168201915b5050505050905090565b600c60029054906101000a900460ff1681565b60026009541415611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6490613f3c565b60405180910390fd5b600260098190555060011515600c60029054906101000a900460ff16151514611fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc290613fa8565b60405180910390fd5b600081118015611fdc5750600a8111155b61201b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612012906144ca565b60405180910390fd5b600a54813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561206557600080fd5b505afa158015612079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209d9190614157565b6120a7919061405a565b11156120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df90614536565b60405180910390fd5b34600b54826120f79190614556565b14612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e906145fc565b60405180910390fd5b6121413382612d1f565b600160098190555050565b612154612789565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121b9576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006121c6612789565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612273612789565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122b891906133d0565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401612314919061364c565b60206040518083038186803b15801561232c57600080fd5b505afa158015612340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123649190613db0565b73ffffffffffffffffffffffffffffffffffffffff16146123ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b190613d0f565b60405180910390fd5b60405180604001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200142815250600d600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015590505050565b600f6020528060005260406000206000915090505481565b612472848484610e61565b60008373ffffffffffffffffffffffffffffffffffffffff163b146124d45761249d84848484612d3d565b6124d3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6124e2612791565b80600c60046101000a81548160ff02191690831515021790555050565b600b5481565b6012805461251290613c91565b80601f016020809104026020016040519081016040528092919081815260200182805461253e90613c91565b801561258b5780601f106125605761010080835404028352916020019161258b565b820191906000526020600020905b81548152906001019060200180831161256e57829003601f168201915b505050505081565b600c60009054906101000a900460ff1681565b606060116125b383612e9d565b60126040516020016125c7939291906146ec565b6040516020818303038152906040529050919050565b600c60049054906101000a900460ff1681565b6125f8612791565b806012908051906020019061260e929190613279565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126ae612791565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561271e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127159061478f565b60405180910390fd5b61272781612c59565b50565b60008161273561280f565b11158015612744575060005482105b8015612782575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b612799612ffe565b73ffffffffffffffffffffffffffffffffffffffff166127b7611e46565b73ffffffffffffffffffffffffffffffffffffffff161461280d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612804906147fb565b60405180910390fd5b565b600090565b6000808290508061282361280f565b116128ab576000548110156128aa5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156128a8575b600081141561289e576004600083600190039350838152602001908152602001600020549050612873565b80925050506128dd565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b6000600d600084815260200190815260200160002060010154146129a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299d9061488d565b60405180910390fd5b50505050565b60008060e883901c905060e86129c3868684613006565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612a1083612814565b90506000819050600080612a23866128e2565b915091508415612a8c57612a3f8184612a3a612789565b612909565b612a8b57612a5483612a4f612789565b612612565b612a8a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612a9a83600088600161294d565b8015612aa557600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b4d83612b0a856000886129ac565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176129d4565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612bd5576000600187019050600060046000838152602001908152602001600020541415612bd3576000548114612bd2578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c3f8360008860016129ff565b600160008154809291906001019190505550505050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d3982826040518060200160405280600081525061300f565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d63612789565b8786866040518563ffffffff1660e01b8152600401612d859493929190614902565b602060405180830381600087803b158015612d9f57600080fd5b505af1925050508015612dd057506040513d601f19601f82011682018060405250810190612dcd9190614963565b60015b612e4a573d8060008114612e00576040519150601f19603f3d011682016040523d82523d6000602084013e612e05565b606091505b50600081511415612e42576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612ee5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ff9565b600082905060005b60008214612f17578080612f0090613ea7565b915050600a82612f1091906149bf565b9150612eed565b60008167ffffffffffffffff811115612f3357612f326136c4565b5b6040519080825280601f01601f191660200182016040528015612f655781602001600182028036833780820191505090505b5090505b60008514612ff257600182612f7e91906149f0565b9150600a85612f8d9190614a24565b6030612f99919061405a565b60f81b818381518110612faf57612fae613e49565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612feb91906149bf565b9450612f69565b8093505050505b919050565b600033905090565b60009392505050565b61301983836130ac565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130a757600080549050600083820390505b6130596000868380600101945086612d3d565b61308f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106130465781600054146130a457600080fd5b50505b505050565b60008054905060008214156130ed576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130fa600084838561294d565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131718361316260008660006129ac565b61316b85613269565b176129d4565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461321257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506131d7565b50600082141561324e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061326460008483856129ff565b505050565b60006001821460e11b9050919050565b82805461328590613c91565b90600052602060002090601f0160209004810192826132a757600085556132ee565b82601f106132c057805160ff19168380011785556132ee565b828001600101855582156132ee579182015b828111156132ed5782518255916020019190600101906132d2565b5b5090506132fb91906132ff565b5090565b5b80821115613318576000816000905550600101613300565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61336581613330565b811461337057600080fd5b50565b6000813590506133828161335c565b92915050565b60006020828403121561339e5761339d613326565b5b60006133ac84828501613373565b91505092915050565b60008115159050919050565b6133ca816133b5565b82525050565b60006020820190506133e560008301846133c1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561342557808201518184015260208101905061340a565b83811115613434576000848401525b50505050565b6000601f19601f8301169050919050565b6000613456826133eb565b61346081856133f6565b9350613470818560208601613407565b6134798161343a565b840191505092915050565b6000602082019050818103600083015261349e818461344b565b905092915050565b6000819050919050565b6134b9816134a6565b81146134c457600080fd5b50565b6000813590506134d6816134b0565b92915050565b6000602082840312156134f2576134f1613326565b5b6000613500848285016134c7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061353482613509565b9050919050565b61354481613529565b82525050565b600060208201905061355f600083018461353b565b92915050565b61356e81613529565b811461357957600080fd5b50565b60008135905061358b81613565565b92915050565b600080604083850312156135a8576135a7613326565b5b60006135b68582860161357c565b92505060206135c7858286016134c7565b9150509250929050565b6135da816133b5565b81146135e557600080fd5b50565b6000813590506135f7816135d1565b92915050565b6000806040838503121561361457613613613326565b5b6000613622858286016134c7565b9250506020613633858286016135e8565b9150509250929050565b613646816134a6565b82525050565b6000602082019050613661600083018461363d565b92915050565b6000806000606084860312156136805761367f613326565b5b600061368e8682870161357c565b935050602061369f8682870161357c565b92505060406136b0868287016134c7565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136fc8261343a565b810181811067ffffffffffffffff8211171561371b5761371a6136c4565b5b80604052505050565b600061372e61331c565b905061373a82826136f3565b919050565b600067ffffffffffffffff82111561375a576137596136c4565b5b6137638261343a565b9050602081019050919050565b82818337600083830152505050565b600061379261378d8461373f565b613724565b9050828152602081018484840111156137ae576137ad6136bf565b5b6137b9848285613770565b509392505050565b600082601f8301126137d6576137d56136ba565b5b81356137e684826020860161377f565b91505092915050565b60006020828403121561380557613804613326565b5b600082013567ffffffffffffffff8111156138235761382261332b565b5b61382f848285016137c1565b91505092915050565b600060408201905061384d600083018561353b565b61385a602083018461363d565b9392505050565b600067ffffffffffffffff82111561387c5761387b6136c4565b5b602082029050602081019050919050565b600080fd5b60006138a56138a084613861565b613724565b905080838252602082019050602084028301858111156138c8576138c761388d565b5b835b818110156138f157806138dd888261357c565b8452602084019350506020810190506138ca565b5050509392505050565b600082601f8301126139105761390f6136ba565b5b8135613920848260208601613892565b91505092915050565b600067ffffffffffffffff821115613944576139436136c4565b5b602082029050602081019050919050565b600061396861396384613929565b613724565b9050808382526020820190506020840283018581111561398b5761398a61388d565b5b835b818110156139b457806139a088826134c7565b84526020840193505060208101905061398d565b5050509392505050565b600082601f8301126139d3576139d26136ba565b5b81356139e3848260208601613955565b91505092915050565b60008060408385031215613a0357613a02613326565b5b600083013567ffffffffffffffff811115613a2157613a2061332b565b5b613a2d858286016138fb565b925050602083013567ffffffffffffffff811115613a4e57613a4d61332b565b5b613a5a858286016139be565b9150509250929050565b600060208284031215613a7a57613a79613326565b5b6000613a88848285016135e8565b91505092915050565b600060208284031215613aa757613aa6613326565b5b6000613ab58482850161357c565b91505092915050565b60008060408385031215613ad557613ad4613326565b5b6000613ae38582860161357c565b9250506020613af4858286016135e8565b9150509250929050565b600067ffffffffffffffff821115613b1957613b186136c4565b5b613b228261343a565b9050602081019050919050565b6000613b42613b3d84613afe565b613724565b905082815260208101848484011115613b5e57613b5d6136bf565b5b613b69848285613770565b509392505050565b600082601f830112613b8657613b856136ba565b5b8135613b96848260208601613b2f565b91505092915050565b60008060008060808587031215613bb957613bb8613326565b5b6000613bc78782880161357c565b9450506020613bd88782880161357c565b9350506040613be9878288016134c7565b925050606085013567ffffffffffffffff811115613c0a57613c0961332b565b5b613c1687828801613b71565b91505092959194509250565b60008060408385031215613c3957613c38613326565b5b6000613c478582860161357c565b9250506020613c588582860161357c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ca957607f821691505b60208210811415613cbd57613cbc613c62565b5b50919050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b6000613cf96009836133f6565b9150613d0482613cc3565b602082019050919050565b60006020820190508181036000830152613d2881613cec565b9050919050565b7f4275726e206973206e6f7420656e61626c656400000000000000000000000000600082015250565b6000613d656013836133f6565b9150613d7082613d2f565b602082019050919050565b60006020820190508181036000830152613d9481613d58565b9050919050565b600081519050613daa81613565565b92915050565b600060208284031215613dc657613dc5613326565b5b6000613dd484828501613d9b565b91505092915050565b7f43616c6c6572206973206e6f7420746f6b656e206f776e657200000000000000600082015250565b6000613e136019836133f6565b9150613e1e82613ddd565b602082019050919050565b60006020820190508181036000830152613e4281613e06565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613eb2826134a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ee557613ee4613e78565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613f26601f836133f6565b9150613f3182613ef0565b602082019050919050565b60006020820190508181036000830152613f5581613f19565b9050919050565b7f5068617365206e6f742061637469766500000000000000000000000000000000600082015250565b6000613f926010836133f6565b9150613f9d82613f5c565b602082019050919050565b60006020820190508181036000830152613fc181613f85565b9050919050565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468656e60008201527f203020616e64206c657373207468616e206f7220657175616c20746f20350000602082015250565b6000614024603e836133f6565b915061402f82613fc8565b604082019050919050565b6000602082019050818103600083015261405381614017565b9050919050565b6000614065826134a6565b9150614070836134a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140a5576140a4613e78565b5b828201905092915050565b7f4164647265737320686173207265616368656420746865206d6178206672656560008201527f206d696e74730000000000000000000000000000000000000000000000000000602082015250565b600061410c6026836133f6565b9150614117826140b0565b604082019050919050565b6000602082019050818103600083015261413b816140ff565b9050919050565b600081519050614151816134b0565b92915050565b60006020828403121561416d5761416c613326565b5b600061417b84828501614142565b91505092915050565b7f46726565206d696e7420636f6d706c6574650000000000000000000000000000600082015250565b60006141ba6012836133f6565b91506141c582614184565b602082019050919050565b600060208201905081810360008301526141e9816141ad565b9050919050565b7f574d4d696e74206e6f7420616374697665000000000000000000000000000000600082015250565b60006142266011836133f6565b9150614231826141f0565b602082019050919050565b6000602082019050818103600083015261425581614219565b9050919050565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468656e60008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b60006142b86022836133f6565b91506142c38261425c565b604082019050919050565b600060208201905081810360008301526142e7816142ab565b9050919050565b7f574d206d696e7420636f6d706c65746500000000000000000000000000000000600082015250565b60006143246010836133f6565b915061432f826142ee565b602082019050919050565b6000602082019050818103600083015261435381614317565b9050919050565b7f4d617820616c6c6f776564206d696e7473207265616368656400000000000000600082015250565b60006143906019836133f6565b915061439b8261435a565b602082019050919050565b600060208201905081810360008301526143bf81614383565b9050919050565b7f4e6f7420656c696761626c6520746f206d696e7420696e20746869732070686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b60006144226022836133f6565b915061442d826143c6565b604082019050919050565b6000602082019050818103600083015261445181614415565b9050919050565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468656e60008201527f203020616e64206c657373207468616e206f7220657175616c20746f20313000602082015250565b60006144b4603f836133f6565b91506144bf82614458565b604082019050919050565b600060208201905081810360008301526144e3816144a7565b9050919050565b7f4d696e7420636f6d706c65746500000000000000000000000000000000000000600082015250565b6000614520600d836133f6565b915061452b826144ea565b602082019050919050565b6000602082019050818103600083015261454f81614513565b9050919050565b6000614561826134a6565b915061456c836134a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145a5576145a4613e78565b5b828202905092915050565b7f4e6f7420656e6f75676820657468000000000000000000000000000000000000600082015250565b60006145e6600e836133f6565b91506145f1826145b0565b602082019050919050565b60006020820190508181036000830152614615816145d9565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461464981613c91565b614653818661461c565b9450600182166000811461466e576001811461467f576146b2565b60ff198316865281860193506146b2565b61468885614627565b60005b838110156146aa5781548189015260018201915060208101905061468b565b838801955050505b50505092915050565b60006146c6826133eb565b6146d0818561461c565b93506146e0818560208601613407565b80840191505092915050565b60006146f8828661463c565b915061470482856146bb565b9150614710828461463c565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147796026836133f6565b91506147848261471d565b604082019050919050565b600060208201905081810360008301526147a88161476c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147e56020836133f6565b91506147f0826147af565b602082019050919050565b60006020820190508181036000830152614814816147d8565b9050919050565b7f43616e6e6f74207472616e73666572202d2063757272656e746c79207374616b60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b60006148776022836133f6565b91506148828261481b565b604082019050919050565b600060208201905081810360008301526148a68161486a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148d4826148ad565b6148de81856148b8565b93506148ee818560208601613407565b6148f78161343a565b840191505092915050565b6000608082019050614917600083018761353b565b614924602083018661353b565b614931604083018561363d565b818103606083015261494381846148c9565b905095945050505050565b60008151905061495d8161335c565b92915050565b60006020828403121561497957614978613326565b5b60006149878482850161494e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149ca826134a6565b91506149d5836134a6565b9250826149e5576149e4614990565b5b828204905092915050565b60006149fb826134a6565b9150614a06836134a6565b925082821015614a1957614a18613e78565b5b828203905092915050565b6000614a2f826134a6565b9150614a3a836134a6565b925082614a4a57614a49614990565b5b82820690509291505056fea26469706673582212202de431df6ad5482fa61aeeb171159fcd87a72528fa542861c104ecc23c96c14a64736f6c63430008090033

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.