ETH Price: $3,722.62 (-4.98%)

Contract

0x05D5AF7d01CcBB2820b3298AdbB24827A8431738
 

Overview

ETH Balance

0.15 ETH

Eth Value

$558.39 (@ $3,722.62/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...206472852024-08-31 8:13:23100 days ago1725092003IN
0x05D5AF7d...7A8431738
0 ETH0.000058341.2495441
Set Approval For...159138752022-11-06 22:10:11764 days ago1667772611IN
0x05D5AF7d...7A8431738
0 ETH0.0005386811.55502578
Set Approval For...155907252022-09-22 18:39:23809 days ago1663871963IN
0x05D5AF7d...7A8431738
0 ETH0.0003092112.5153282
Set Approval For...155806192022-09-21 8:34:47810 days ago1663749287IN
0x05D5AF7d...7A8431738
0 ETH0.00026125.60306551
Set Approval For...155178832022-09-12 0:29:27820 days ago1662942567IN
0x05D5AF7d...7A8431738
0 ETH0.000222164.76544337
Set Approval For...154628372022-09-03 2:41:13829 days ago1662172873IN
0x05D5AF7d...7A8431738
0 ETH0.0011562824.80295991
Mint154549902022-09-01 20:38:27830 days ago1662064707IN
0x05D5AF7d...7A8431738
0.1 ETH0.0013013312.63661395
Set Approval For...154015172022-08-24 7:13:10838 days ago1661325190IN
0x05D5AF7d...7A8431738
0 ETH0.0005964112.79346265
Safe Transfer Fr...153872592022-08-22 0:50:28841 days ago1661129428IN
0x05D5AF7d...7A8431738
0 ETH0.000487684.28238232
Safe Transfer Fr...153629862022-08-18 4:40:57845 days ago1660797657IN
0x05D5AF7d...7A8431738
0 ETH0.000855637.68955057
Safe Transfer Fr...153629742022-08-18 4:38:51845 days ago1660797531IN
0x05D5AF7d...7A8431738
0 ETH0.000831269.07872835
Safe Transfer Fr...153629692022-08-18 4:36:58845 days ago1660797418IN
0x05D5AF7d...7A8431738
0 ETH0.000948418.32499443
Transfer From153419332022-08-14 20:44:32848 days ago1660509872IN
0x05D5AF7d...7A8431738
0 ETH0.000941313.86758185
Set Approval For...153296452022-08-12 22:22:55850 days ago1660342975IN
0x05D5AF7d...7A8431738
0 ETH0.0008064117.26678826
Mint153251382022-08-12 5:20:44851 days ago1660281644IN
0x05D5AF7d...7A8431738
0.05 ETH0.00085858.52583649
Team Withdraw153161252022-08-10 19:13:16852 days ago1660158796IN
0x05D5AF7d...7A8431738
0 ETH0.0036749331.82614225
Transfer From152997002022-08-08 5:22:15855 days ago1659936135IN
0x05D5AF7d...7A8431738
0 ETH0.001274268.79063385
Set Approval For...152993392022-08-08 3:58:57855 days ago1659931137IN
0x05D5AF7d...7A8431738
0 ETH0.000445519.55642035
Mint152982872022-08-08 0:00:30855 days ago1659916830IN
0x05D5AF7d...7A8431738
0.05 ETH0.000971069.64358451
Transfer From152976892022-08-07 21:45:16855 days ago1659908716IN
0x05D5AF7d...7A8431738
0 ETH0.000822116.19398704
Transfer From152975782022-08-07 21:18:24855 days ago1659907104IN
0x05D5AF7d...7A8431738
0 ETH0.000795558.71218499
Transfer From152975732022-08-07 21:17:07855 days ago1659907027IN
0x05D5AF7d...7A8431738
0 ETH0.000959648.44588006
Transfer From152975652022-08-07 21:15:49855 days ago1659906949IN
0x05D5AF7d...7A8431738
0 ETH0.0013927410.35469332
Transfer From152975602022-08-07 21:15:10855 days ago1659906910IN
0x05D5AF7d...7A8431738
0 ETH0.0015872612.52910576
Transfer From152975552022-08-07 21:13:41855 days ago1659906821IN
0x05D5AF7d...7A8431738
0 ETH0.0018711611.10806054
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
153161252022-08-10 19:13:16852 days ago1660158796
0x05D5AF7d...7A8431738
0.575 ETH
153161252022-08-10 19:13:16852 days ago1660158796
0x05D5AF7d...7A8431738
0.575 ETH
153161252022-08-10 19:13:16852 days ago1660158796
0x05D5AF7d...7A8431738
0.575 ETH
153161252022-08-10 19:13:16852 days ago1660158796
0x05D5AF7d...7A8431738
0.575 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CC0ZooPass

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : CC0ZooPass.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;
/*
                                    _.._                                               
                                 .-=-==+=.                                             
                                 =+**+====:                                            
                              :-***+=+=--==                                            
                             =++==-=+=-==--                                            
                                   :=====:                                             
                                  :#**+*=                                              
                                .+****++=:::==++-._                                        
                               +**###**********++=:;-.-._-:                                 
                              -###******++**+*+**+==++=.+-                              
                              -**##**#***++****+++++++=.+=                               
                               -+**##*#****+**++==++=.;                                 
                                 -+##**##+*++*+++=-.-                                  
                                   .:-==**-=*+:.-                                      
                                     .==  =+*                                         
                            |========================|                                
                            |::::::::::::::::::::::::|                                
                     /::::::::::::::::::::::::::::::::::::::\                         
                    /..====================================..\                       
                   |+ -+.:: :.  -.              .:   . .. -= +|                       
                    \-.:-:.-*. ==                :=  =- .:.-./                        
                     \_=--=:  -+                  ==  .---=_/                         
                             :*    _          _    =-                                 
                             +:   [=]        [=]   :+                                 
                             +.:       :+=-       :.+                                 
                              :-                  -:                                  
                              \=   ==        ==   =/                                  
                                --/ == ==.= == \--                                    
                                 == == ==.= == ==                                     
                                 == == ==.= == ==                                     
                                 == == ==.= == ==                                     
                                 == == ==.= == ==                                    
                                  |++++++++++++|                                      
                                 |++++++++++++++|                                     
                               |++++++++++++++++++|                                   
                             |++++++++++++++++++++++|                                  


         ▒     ▒             ▒            
  ███████▒  ███████▒  ████████▒     ▒███████▓  ▒██████    ████▓▓▒
░██▓█████▒ ████████▒ ███▓██████▒    ▒▓███████  ███████▓  ████████▒
▒███▒░  ░  ███▒▒   ▒ ███▒ ▓████      ▒   ▓██▒  ███▒▒███▒▒███▒ ▓██▒
░███░░  ░  ███▒      ███ █▓█▒██▒        ▓██ ▒  ███ ▒█▓█▒ ███ ▒███▒▒
▒███░      ███       ██████▒███▒      ▒███▒ ▒ ▒███ ▒███▓ ███▒▒███▒▒
▒███░      ███▒      █████  ███       ██▓▒    ▒███▒▒███▒▒███▒ ███ ▒
▒███       ███▒▒ ▒   ████ ▒▒██▓      ███▒  ▒   ███▒ ███ ▒███  ███
▒███████▓  ████████  ██████████▒    ▒██▓████▓▒ ███▓████▒ ████▓██▓▒
▒▓███████▒ ▒███▓██▓▓░▒██▓█████▒     ▒████████▒ ▒██████▒  ▒██████▒
 ▒▒▒▒▒▒░▒▒   ▒▒▒▒ ▒▒░░░  ░▓░░░ ▒    ▒▒ ▒▒▓▒▒ ▒  ▒▒ ▒ ▒    ▒  ▒▒▒
  ▒░▒░ ░░▒   ▒▒ ▓  ▒░ ░   ▒  ░ ▒       ▒  ▒  ▒  ▒    ▒        ▒▒
  ▒ ▒  ▒░▒   ▒  ▓   ░  ▒     ▒            ▒     ▒         ▒   ▒
  ▒    ░ ▒   ▒  ▒      ▒     ░            ▒        ▒      ▒
  ▒      ▒      ▒            ▒                     ▒           ▒
  ▒      
*/

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

contract CC0ZooPass is ERC721A, Ownable{
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 2000;
    uint256 public constant MAX_PER_WALLET = 2;
    uint256 public constant MINT_PRICE = .05 ether;

    //events
    event Redeem(address owner, uint256 redeemedTokenId);

    string private baseURI;

    //deploy smart contract, toggle paused, set states
    bool public paused = true;
    bool public zooKeepersMinted = false;
    bool public sendOnRedeem = false;
    bool public redemptionPhase = false;
    address public redeemAddress;

    //funding properties
    address public team1Address;
    address public team2Address;
    address public team3Address;
    uint256 public teamPercentage = 15;

    mapping(address => uint256) public totalPublicMint;

    constructor() ERC721A("CC0 Zoo Pass", "CC0ZOO"){

    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "You must be a person to enter the Zoo");
        _;
    }
    /*
                                       ___-------___
                                   _-~~             ~~-_
                                _-~                    /~-_
             /^\__/^\         /~  \                   /    \
           /|  O|| O|        /      \_______________/        \
          | |___||__|      /       /                \          \
          |          \    /      /                    \          \
          |   (_______) /______/                        \_________ \
          |         / /         \                      /            \
           \         \^\         \                  /               \     /
             \         ||           \______________/      _-_       //\__//
               \       ||------_-~~-_ ------------- \ --/~   ~\    || __/
                 ~-----||====/~     |==================|       |/~~~~~
                  (_(__/  ./     /                    \_\      \.
                         (_(___/                         \_____)_)

    */

    function mint(uint256 _quantity) external payable callerIsUser{
        require( paused == false, "Sale is not active");
        require((totalSupply() + _quantity) <= MAX_SUPPLY, "Guest Limit Reached! If we let you mint this many, it would be a fire hazard.");
        require((totalPublicMint[msg.sender] + _quantity) <= MAX_PER_WALLET, "Only 2 Passes per Guest!");
        require(msg.value >= (MINT_PRICE * _quantity), "Insufficient funds to enter the zoo"); //Price check

        totalPublicMint[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }
    /*
                                        ,.
                                      ,_> `.   ,';
                                  ,-`'      `'   '`'._
                                ,,-) ---._   |   .---''`-),.
                              ,'      `.  \  ;  /   _,'     `,
                          ,--' ____       \   '  ,'    ___  `-,
                          _>   /--. `-.              .-'.--\   \__
                        '-,  (    `.  `.,`~ \~'-. ,' ,'    )    _\
                        _<    \     \ ,'  ') )   `. /     /    <,.
                      ,-'   _,  \    ,'    ( /      `.    /        `-,
                      `-.,-'     `.,'       `         `.,'  `\    ,-'
                      ,'       _  /   ,,,      ,,,     \     `-. `-._
                      /-,     ,'  ;   ' _ \    / _ `     ; `.     `(`-\
                      /-,        ;    (o)      (o)      ;          `'`,
                    ,~-'  ,-'    \     '        `      /     \      <_
                    /-. ,'        \                   /       \     ,-'
                      '`,     ,'   `-/             \-' `.      `-. <
                        /_    /      /   (_     _)   \    \          `,
                          `-._;  ,' |  .::.`-.-' :..  |       `-.    _\
                            _/       \  `:: ,^. :.:' / `.        \,-'
                          '`.   ,-'  /`-..-'-.-`-..-'\            `-.
                            >_ /     ;  (\/( ' )\/)  ;     `-.    _<
                            ,-'      `.  \`-^^^-'/  ,'        \ _<
                            `-,  ,'   `. `"""""' ,'   `-.   <`'
                              ')        `._.,,_.'        \ ,-'
                                '._        '`'`'   \       <
                                  >   ,'       ,   `-.   <`'
                                    `,/          \      ,-`
                                    `,   ,' |   /     /
                                      '; /   ;        (
                                      _)|   `       (
                                      `')         .-'
                                        <_   \   /    
                                          \   /\(
                                            `;/  `
    */
    
    /**
     * @notice Function to allow cc0zoo dev to mint 120 initial passes for promotion and rewards. This function may only be called once, then "zooKeepersMinted" is toggled, making this function impossible to call again.
     */
    function zooKeepersMint() external onlyOwner{
        require(!zooKeepersMinted, "Don't get greedy, kid!");
        _safeMint(msg.sender, 120);
        zooKeepersMinted = true;
    }

    /*
                                                          _  _
                                                         (\\( \
                                                          `.\-.)
                                      _...._            _,-'   `-.
        \                           ,'      `-._.---.,-'       .  \
         \`.                      ,'                               `.
          \ `-...__              /                           .   .:  y
           `._     ``--..__     /                           ,'`---._/
              `-._         ``--'                      |    /_
                  `.._                   _            ;   <_ \
                      `--.___             `.           `-._ \ \
                             `--<           `.     (\ _/)/ `.\/
                                 \            \     `<a \  /_/
                                  `.           ;      `._y
                                    `--.      /    _../
                                        \    /__..'
                                         ;  //
                                        <   \\
                                         `.  \\
                                           `. \\_ __
                                             `.`-'  \\
                                               `----'' 
    */

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    /**
     * @notice return uri for certain token
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        uint256 trueId = tokenId;

        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, trueId.toString(), ".json")) : "";
    }
/*                                                                                        
                         ,
                   (`.  : \               __..----..__
                    `.`.| |:          _,-':::''' '  `:`-._
                      `.:\||       _,':::::'         `::::`-.
                        \\`|    _,':::::::'     `:.     `':::`.
                         ;` `-''  `::::::.                  `::\
                      ,-'      .::'  `:::::.         `::..    `:\
                    ,' /_) -.            `::.           `:.     |
                  ,'.:     `    `:.        `:.     .::.          \
             __,-'   ___,..-''-.  `:.        `.   /::::.         |
            |):'_,--'           `.    `::..       |::::::.      ::\
             `-'                 |`--.:_::::|_____\::::::::.__  ::|
                                 |   _/|::::|      \::::::|::/\  :|
                                 /:./  |:::/        \__:::):/  \  :\
                               ,'::'  /:::|        ,'::::/_/    `. ``-.__
                              ''''   (//|/\      ,';':,-'         `-.__  `'--..__
                                                                       `''---::::'
*/

    /**
     * @dev walletOf() function shouldn't be called on-chain due to gas consumption
     */
    function walletOf() external view returns(uint256[] memory) {
        address _owner = msg.sender;
        uint256 numberOfOwnedNFT = balanceOf(_owner);
        uint256[] memory ownerIds = new uint256[](numberOfOwnedNFT);

        for(uint256 index = 0; index < numberOfOwnedNFT; index++) {
            ownerIds[index] = tokenOfOwnerByIndex(_owner, index);
        }

        return ownerIds;
    }

    /*
                       _
                      ( \                ..-----..__
                       \.'.        _.--'`  [   '  ' ```'-._
                        `. `'-..-'' `    '  ' '   .  ;   ; `-'''-.,__/|/_
                          `'-.;..-''`|'  `.  '.    ;     '  `    '   `'  `,
                                     \ '   .    ' .     '   ;   .`   . ' 7 \
                                      '.' . '- . \    .`   .`  .   .\     `Y
                                        '-.' .   ].  '   ,    '    /'`""';:'
                                          /Y   '.] '-._ /    ' _.-'
                                          \'\_   ; (`'.'.'  ."/
                                           ' )` /  `.'   .-'.'
                                            '\  \).'  .-'--"
                                              `. `,_'`
                                                `.__) 
    */

    function setBaseURI(string memory baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    /*
                               ,-.             __
                             ,'   `---.___.---'  `.
                           ,'   ,-                 `-._
                         ,'    /                       \
                      ,\/     /                        \\
                  )`._)>)     |                         \\
                  `>,'    _   \                  /       |\
                    )      \   |   |            |        |\\
           .   ,   /        \  |    `.          |        | ))
           \`. \`-'          )-|      `.        |        /((
            \ `-`   a`     _/ ;\ _     )`-.___.--\      /  `'
             `._         ,'    \`j`.__/        \  `.    \
               / ,    ,'       _)\   /`        _) ( \   /
               \__   /        /nn_) (         /nn__\_) (
                 `--'           /nn__\             /nn__\
    */

    function setPaused(bool _paused) public onlyOwner {
        paused = _paused;
    }

    function setRedemptionPhase(bool _redemptionPhase) public onlyOwner {
        redemptionPhase = _redemptionPhase;
    }

    /*
                                             _
                                          .' `'.__
                                         /      \ `'"-,
                        .-''''--...__..-/ .     |      \
                      .'               ; :'     '.  a   |
                     /                 | :.       \     =\
                    ;                   \':.      /  ,-.__;.-;`
                   /|     .              '--._   /-.7`._..-;`
                  ; |       '                |`-'      \  =|
                  |/\        .   -' /     /  ;         |  =/
                  (( ;.       ,_  .:|     | /     /\   | =|
                   ) / `\     | `""`;     / |    | /   / =/
                     | ::|    |      \    \ \    \ `--' =/
                    /  '/\    /       )    |/     `-...-`
                   /    | |  `\    /-'    /;
                   \  ,,/ |    \   D    .'  \
                    `""`   \  nnh  D_.-'L__nnh
                            `"""`
    */

    /**
     * @notice Allows a member to redeem their Zoo Pass for a reward. Stick around!
     */
    function redeem(uint256 _tokenID) external {
        require (redemptionPhase == true, "It is not your time.");
        if (sendOnRedeem) {
            transferFrom(msg.sender, redeemAddress, _tokenID);
        }
        emit Redeem(msg.sender, _tokenID);
    }

    /*
⠀⠀⠀⠈⠁⠀⠀⠀⠀⠀⠰⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠐⠉⠱⠢⠀⢤⣄⢲⣄⠀⠀⠀⠄⠀⠙⢠⠀⠀⠀⠀⠀⠀⣨⣷⡞⠉⠀⠀⠀⠀⠀⠀⠀
⠈⠁⠈⠃⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠁⠉⠁⠀⠀⠀⠠⠶⠯⣤⢤⣄⣀⣤⢾⣿⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀
⠀⡦⠀⠀⠀⠀⠀⠀⠀⡤⢁⡀⠀⣴⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡀⠀⠠⢶⣆⠀⠀⠀⢀⣤⣶⢟⠉⠀⣠⣾⣿⡋⠀⠀⠀⠀⠀⠀⠀⠀
⠀⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⠁⢰⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⠹⢧⣀⡀⠻⣷⣤⡴⢟⣡⡿⢇⣴⣿⣯⡾⡟⠂⠀⠀⠀⠀⠀⠀⠀⠀
⢰⡇⠀⠀⠀⡀⡀⠀⠀⠀⢸⣿⡇⢰⡟⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣠⠤⠤⠄⠠⠄⠤⣈⣛⢷⣿⣿⣿⡟⢭⣷⣿⣿⠿⠋⢐⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀
⡈⠁⠀⠀⢘⣧⣾⣷⣶⡌⠀⣾⡀⢺⣴⠃⡀⠀⠀⢀⣤⠞⠛⢉⣭⡥⠀⠀⠀⠀⠀⠀⠀⠈⠳⣿⣯⣿⣿⣾⣿⠟⠉⠀⠀⢸⡿⡓⠀⠀⠀⠀⠀⠀⠀⠀
⡇⠀⠀⠀⣸⣯⣟⣿⣬⣿⣆⢻⣧⢸⡟⣴⠏⣼⠇⠀⢠⣞⣷⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣽⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⡏⢻⡀⠀⠀⠀⠀⠀⠀⠀
⡇⠀⢸⡆⣿⣿⣿⡿⣿⣿⣻⣿⠛⣯⣿⢹⡄⢀⡄⣰⠏⠿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⣿⣿⡟⠀⠀⠀⠀⠀⠀⢰⣿⡈⠿⢦⠀⠀⠀⠀⠀⠀
⣧⣶⠿⢡⣿⣷⢿⣿⣿⣿⣿⡿⠀⢸⣧⡟⠁⠎⡰⠏⠀⠰⢧⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⢻⣿⡟⣽⡇⠀⠀⠀⠀⠀⠀⢸⡟⠁⠀⠈⠀⠀⠀⠀⠀⠀
⣿⠉⠀⣾⣿⣿⣮⣿⣿⣿⣽⣷⣠⣼⢾⣇⠀⣴⠃⠀⢠⠀⢸⣶⡄⠈⢻⣿⣿⣿⣿⣿⣶⣶⣿⡿⣿⣿⣷⣶⣶⣶⣶⣶⣶⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
⣿⠨⠀⠹⣿⣿⣿⣿⣿⣿⣯⣿⣿⡗⢠⣿⠀⣿⢀⠀⠈⢷⡄⠻⣿⣦⣠⣿⣿⣿⣿⠟⠁⣹⣯⠻⣏⢿⣿⣿⣿⣿⡟⣻⡟⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⣿⡸⣇⣠⣏⣿⢿⣿⢹⣿⣿⣿⣿⣶⣌⣿⣧⣻⡆⣾⣿⣦⠻⢦⡈⠛⢿⡿⢿⣿⠝⣀⠴⠛⣷⡅⠙⣷⡻⣿⡿⠁⢀⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⢹⡇⢿⣿⢿⣿⣼⣿⣾⣿⣿⣿⣿⣿⣿⣻⣿⣿⣧⡛⠿⣿⣿⣶⠿⠶⠶⠾⢋⣡⠾⠁⣴⠀⠈⠳⣄⣈⢙⢻⡶⠤⣸⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠁⠀⣿⣽⣿⣿⣷⣿⠛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣾⢷⣾⣷⣶⡶⠿⠛⠁⢀⣼⡟⠁⠀⠀⠀⠙⠿⣿⣻⣶⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠂⣠⠀⢸⣿⣿⣿⣯⣿⣦⠈⣿⣿⣿⣿⣧⣻⣿⣿⣿⣿⣿⣭⡉⠁⠠⢤⢀⡠⠖⠿⢻⡾⠁⠀⠀⠀⠀⠀⠈⡟⢿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠛⡀⠸⢇⢻⣿⣿⣿⣟⠒⣿⣿⣿⣿⣿⣿⣷⣾⣿⣿⣿⣿⣿⣗⣂⣠⣞⡥⠖⠀⢸⡇⠰⣶⣿⣷⡄⠀⠂⢸⠀⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠰⡆⢁⠀⠺⣿⣿⣿⣿⣿⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⢾⣭⡛⠿⢥⣀⠀⠀⠀⠀⠙⠆⠿⣿⣿⣿⣷⡶⠊⠃⠸⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠴⣠⣘⣿⣶⣹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢷⡹⠿⠿⠿⠳⢤⣝⣆⠀⠀⠀⠀⠀⠀⠈⠛⠛⠃⠀⠀⠀⠀⠹⣿⣶⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀
⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣏⡃⠀⠀⠀⠈⠑⢿⠛⠳⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣧⡄⠀⠀⠀⠀⠀⠀⠀⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣿⣿⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⣛⢦⣤⠀⠀⣄⠀⠀⠀⠀⠀⠀⠀⠙⣿⣧⣤⣤⣤⣀⡀⠀⠀⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠒⢷⣿⡽⢦⠈⢧⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⡀⠈⠹⣦⡀⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠀⠑⢬⡓⠶⣆⡀⠘⠂⢀⣠⢶⣾⡿⠿⢿⣆⢸⣿⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠤⠀⠀⠉⠁⠀⠀⢀⣤⣞⣽⣿⡇⠀⠒⢸⡟⣸⣿⠃
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠶⣶⣤⣀⣀⡀⢀⣠⡴⣾⣿⣿⣿⣿⣿⠏⣠⣠⠾⣡⣿⠟⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡧⠀⠁⠀⠀⠀⠀⠀⣠⣤⣤⣀⣀⠐⠀⠀⠀⠉⠉⠛⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⡟⢿⡾⠋⠀⠀⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⡄⠠⠀⠀⠀⠀⠀⣀⡀⢉⣉⣭⣭⣍⣛⣀⣀⣀⣀⡀⠀⠀⠉⠻⢿⣿⣿⡿⠿⠉⠙⠀⢿⣦⠀⠀⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⡈⠒⢁⣀⠉⠁⢀⣴⢛⡉⠀⠀⠀⢉⣉⣹⣿⣝⣻⠿⢦⡰⢄⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⣆⠀⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣠⣾⠿⠟⡏⠸⠀⠀⢲⣌⣭⣿⣽⣿⣿⣷⣤⣹⣀⠹⣄⠀⠀⠀⠀⠀⠀⠀⣿⣷⡀⠀
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣉⣿⣿⣿⣿⣿⣿⣿⣿⣥⣤⣤⣵⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣿⣅⣜⠒⠂⠀⠀⠀⠀⢠⣿⠄⠀⠀
⢹⠿⢛⣽⣿⣿⣿⣿⣿⣿⣿⣿⣽⠿⣭⣿⣿⢛⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣿⣿⡟⢴⣿⡿⠿⣿⣿⣷⣆⠀⡀⣠⣾⡇⠀⠀⠀
⡈⠞⢘⠛⡽⢿⣿⣿⡿⢭⣿⣿⣿⣾⣿⣿⣿⣬⣥⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⡾⣿⠉⠀⠾⣿⡻⣿⢿⣿⠛⠂⠀⠀⠀⠀
⠀⠀⠀⠀⢂⡟⣻⣿⠃⠘⣏⠹⣾⣿⣷⠛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣸⡟⢁⠀⠻⣦⡀⠈⣷⡸⣶⣄⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢀⠘⣡⠟⠷⠀⠄⠈⠀⠒⠶⢶⢟⣶⣞⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠻⠇⠀⠀⠘⠀⠈⠷⠀⠈⠿⠸⣿⣧⠀⠀⠀⠀⠀
    */
    
    /**
     * @notice Change the redemption settings
     */
    function redeemSettings(address _redeemAddress, bool _sendOnRedeem) external onlyOwner {
        redeemAddress = _redeemAddress;
        sendOnRedeem = _sendOnRedeem;
    }

    /**
     * @notice Initial withdrawal function to fund the team and enable us to continue to build the cc0zoo.
     */
    function teamWithdraw() external onlyOwner{
        //25% each to 3 team wallets, and the remaining 25% to the cc0zoo fund.
        uint256 withdraw_25 = address(this).balance * 25/100;
        payable(team1Address).transfer(withdraw_25);
        payable(team2Address).transfer(withdraw_25);
        payable(team3Address).transfer(withdraw_25);
        payable(msg.sender).transfer(address(this).balance);
    }

    /*
                                                      ___.-----.______
                                            ___.-----'::::::::::::::::`---.___
                         _.--._            (:::;,-----'~~~~~`----::::::::::.. `-.
            _          .'_---. `--.__       `~~'                 `~`--.:::::`..  `..
           ; `-.____.-' ' {0} ` `--._`---.____                         `:::::::: : ::
          :_^              ~   `--.___ `----.__`----.____                ~::::::.`;':
           :`--.__,-----.___(         `---.___ `---.___  `----.___         ~|;:,' : |
            `-.___,---.____     _,        ._  `----.____ `----.__ `-----.___;--'  ; :
                           `---' `.  `._    `))  ,  , , `----.____.----.____   --' :|
                                 / `,--.\    `.` `  ` ` ,   ,  ,     _.--   `-----'|'
                            __./'_/'     :   .:----.___ ` ` ` ``  .-'      , ,  :::'
                          ///--\;  ____  :   :'    ____`---.___.--::     , ` ` ::'
                          `'           _.'   (    /______     (   `-._   `-._,-'
                                    .-' __.-//     /_______---'       `-._   `.
                                   /////    `'                      ______;   ::.
                                   `'`'                            /_______   _.'
                                                                     /___.---'  
    */

    /**
     * @notice After initial team funding, withdrawal percentages will be changed to allow for 
     * more funds to go straight back into the cc0zoo fund. By default the team percentages
     * are set at 15% for each of the 3 team members, with the remaining 55% to be allocated
     * to the cc0zoo funding wallet
     */
    function zooWithdraw() external onlyOwner{
        uint256 teamAmount = address(this).balance * teamPercentage/100;
        payable(team1Address).transfer(teamAmount);
        payable(team2Address).transfer(teamAmount);
        payable(team3Address).transfer(teamAmount);
        payable(msg.sender).transfer(address(this).balance);
    }

    function setTeamPercentage(uint256 _teamPercentage) public onlyOwner{
        teamPercentage = _teamPercentage;
    }

    function setAddresses(address _team1Address, address _team2Address, address _team3Address) public onlyOwner {
        team1Address = _team1Address;
        team2Address = _team2Address;
        team3Address = _team3Address;
    }

/*
                                     .ed"""" """$$$$be.
                                   -"           ^""**$$$e.
                                 ."                   '$$$c
                                /                      "4$$b
                               d  3                      $$$$
                               $  *                   .$$$$$$
                              .$  ^c           $$$$$e$$$$$$$$.
                              d$L  4.         4$$$$$$$$$$$$$$b
                              $$$$b ^ceeeee.  4$$ECL.F*$$$$$$$
                  e$""=.      $$$$P d$$$$F $ $$$$$$$$$- $$$$$$
                 z$$b. ^c     3$$$F "$$$$b   $"$$$$$$$  $$$$*"      .=""$c
                4$$$$L        $$P"  "$$b   .$ $$$$$...e$$        .=  e$$$.
                ^*$$$$$c  %..   *c    ..    $$ 3$$$$$$$$$$eF     zP  d$$$$$
                  "**$$$ec   "   %ce""    $$$  $$$$$$$$$$*    .r" =$$$$P""
                        "*$b.  "c  *$e.    *** d$$$$$"L$$    .d"  e$$***"
                          ^*$$c ^$c $$$      4J$$$$$% $$$ .e*".eeP"
                             "$$$$$$"'$=e....$*$$**$cz$$" "..d$*"
                               "*$$$  *=%4.$ L L$ P3$$$F $$$P"
                                  "$   "%*ebJLzb$e$$$$$b $P"
                                    %..      4$$$$$$$$$$ "
                                     $$$e   z$$$$$$$$$$%
                                      "*$c  "$$$$$$$P"
                                       ."""*$$$$$$$$bc
                                    .-"    .$***$$$"""*e.
                                 .-"    .e$"     "*$c  ^*b.
                          .=*""""    .e$*"          "*bc  "*$e..
                        .$"        .z*"               ^*$e.   "*****e.
                        $$ee$c   .d"                     "*$.        3.
                        ^*$E")$..$"                         *   .ee==d%
                           $.d$$$*                           *  J$$$e*
                            """""                              "$$$"
*/
    

    receive() external payable {}
}

File 2 of 12 : 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 12 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error UnableDetermineTokenOwner();
error URIQueryForNonexistentToken();

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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal _currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        if (index >= totalSupply()) revert TokenIndexOutOfBounds();
        return index;
    }

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

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

        // Execution should never reach this point.
        assert(false);
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken();

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

        revert UnableDetermineTokenOwner();
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) revert ApprovalCallerNotOwnerNorApproved();

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(from, to, tokenId, _data)) revert TransferToNonERC721ReceiverImplementer();
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex;
    }

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

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

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

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

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

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }

                updatedIndex++;
            }

            _currentIndex = updatedIndex;
        }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (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 6 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"UnableDetermineTokenOwner","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"redeemedTokenId","type":"uint256"}],"name":"Redeem","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":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","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":[{"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redeemAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_redeemAddress","type":"address"},{"internalType":"bool","name":"_sendOnRedeem","type":"bool"}],"name":"redeemSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redemptionPhase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"sendOnRedeem","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_team1Address","type":"address"},{"internalType":"address","name":"_team2Address","type":"address"},{"internalType":"address","name":"_team3Address","type":"address"}],"name":"setAddresses","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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_redemptionPhase","type":"bool"}],"name":"setRedemptionPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_teamPercentage","type":"uint256"}],"name":"setTeamPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team1Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team2Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team3Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"walletOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zooKeepersMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zooKeepersMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zooWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001600960006101000a81548160ff0219169083151502179055506000600960016101000a81548160ff0219169083151502179055506000600960026101000a81548160ff0219169083151502179055506000600960036101000a81548160ff021916908315150217905550600f600d553480156200008257600080fd5b506040518060400160405280600c81526020017f434330205a6f6f205061737300000000000000000000000000000000000000008152506040518060400160405280600681526020017f4343305a4f4f000000000000000000000000000000000000000000000000000081525081600190805190602001906200010792919062000217565b5080600290805190602001906200012092919062000217565b50505062000143620001376200014960201b60201c565b6200015160201b60201c565b6200032c565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022590620002c7565b90600052602060002090601f01602090048101928262000249576000855562000295565b82601f106200026457805160ff191683800117855562000295565b8280016001018555821562000295579182015b828111156200029457825182559160200191906001019062000277565b5b509050620002a49190620002a8565b5090565b5b80821115620002c3576000816000905550600101620002a9565b5090565b60006002820490506001821680620002e057607f821691505b60208210811415620002f757620002f6620002fd565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61429f806200033c6000396000f3fe60806040526004361061026b5760003560e01c806355f804b311610144578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd146108f6578063cfbb7d3614610933578063d6a9e9d11461094a578063db006a7514610975578063e985e9c51461099e578063f2fde38b146109db57610272565b8063a22cb46514610823578063a864b8801461084c578063b67b091114610877578063b88d4fde146108a2578063c002d23d146108cb57610272565b806383a974a21161010857806383a974a2146107445780638787d4d91461076f5780638da5cb5b1461078657806395d89b41146107b1578063973ea9d5146107dc578063a0712d681461080757610272565b806355f804b31461065f5780635c975abb146106885780636352211e146106b357806370a08231146106f0578063715018a61461072d57610272565b806323b872dd116101dd578063363bf964116101a1578063363bf9641461055357806342842e0e1461057c57806342d8312d146105a55780634811c070146105ce57806348c5088f146105f95780634f6ccce71461062257610272565b806323b872dd1461046c578063265b5150146104955780632889e822146104c05780632f745c59146104eb57806332cb6b0c1461052857610272565b80630f2cdd6c1161022f5780630f2cdd6c1461036e57806312ba62eb1461039957806316c38b3c146103b057806318160ddd146103d9578063195c60cb146104045780631c16521c1461042f57610272565b806301ffc9a714610277578063039ea762146102b457806306fdde03146102dd578063081812fc14610308578063095ea7b31461034557610272565b3661027257005b600080fd5b34801561028357600080fd5b5061029e6004803603810190610299919061345d565b610a04565b6040516102ab91906138e4565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d69190613500565b610b4e565b005b3480156102e957600080fd5b506102f2610b60565b6040516102ff91906138ff565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613500565b610bf2565b60405161033c9190613832565b60405180910390f35b34801561035157600080fd5b5061036c600480360381019061036791906133f0565b610c6e565b005b34801561037a57600080fd5b50610383610d79565b6040516103909190613a61565b60405180910390f35b3480156103a557600080fd5b506103ae610d7e565b005b3480156103bc57600080fd5b506103d760048036038101906103d29190613430565b610f29565b005b3480156103e557600080fd5b506103ee610f4e565b6040516103fb9190613a61565b60405180910390f35b34801561041057600080fd5b50610419610f57565b60405161042691906138e4565b60405180910390f35b34801561043b57600080fd5b506104566004803603810190610451919061321a565b610f6a565b6040516104639190613a61565b60405180910390f35b34801561047857600080fd5b50610493600480360381019061048e91906132da565b610f82565b005b3480156104a157600080fd5b506104aa610f92565b6040516104b79190613832565b60405180910390f35b3480156104cc57600080fd5b506104d5610fb8565b6040516104e29190613832565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d91906133f0565b610fde565b60405161051f9190613a61565b60405180910390f35b34801561053457600080fd5b5061053d61119f565b60405161054a9190613a61565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190613287565b6111a5565b005b34801561058857600080fd5b506105a3600480360381019061059e91906132da565b611275565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190613430565b611295565b005b3480156105da57600080fd5b506105e36112ba565b6040516105f09190613832565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b91906133b0565b6112e0565b005b34801561062e57600080fd5b5061064960048036038101906106449190613500565b611347565b6040516106569190613a61565b60405180910390f35b34801561066b57600080fd5b50610686600480360381019061068191906134b7565b611391565b005b34801561069457600080fd5b5061069d6113b3565b6040516106aa91906138e4565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d59190613500565b6113c6565b6040516106e79190613832565b60405180910390f35b3480156106fc57600080fd5b506107176004803603810190610712919061321a565b6113dc565b6040516107249190613a61565b60405180910390f35b34801561073957600080fd5b506107426114bc565b005b34801561075057600080fd5b506107596114d0565b60405161076691906138c2565b60405180910390f35b34801561077b57600080fd5b50610784611582565b005b34801561079257600080fd5b5061079b611602565b6040516107a89190613832565b60405180910390f35b3480156107bd57600080fd5b506107c661162c565b6040516107d391906138ff565b60405180910390f35b3480156107e857600080fd5b506107f16116be565b6040516107fe9190613832565b60405180910390f35b610821600480360381019061081c9190613500565b6116e4565b005b34801561082f57600080fd5b5061084a600480360381019061084591906133b0565b611945565b005b34801561085857600080fd5b50610861611abd565b60405161086e91906138e4565b60405180910390f35b34801561088357600080fd5b5061088c611ad0565b60405161089991906138e4565b60405180910390f35b3480156108ae57600080fd5b506108c960048036038101906108c4919061332d565b611ae3565b005b3480156108d757600080fd5b506108e0611b36565b6040516108ed9190613a61565b60405180910390f35b34801561090257600080fd5b5061091d60048036038101906109189190613500565b611b41565b60405161092a91906138ff565b60405180910390f35b34801561093f57600080fd5b50610948611bee565b005b34801561095657600080fd5b5061095f611d98565b60405161096c9190613a61565b60405180910390f35b34801561098157600080fd5b5061099c60048036038101906109979190613500565b611d9e565b005b3480156109aa57600080fd5b506109c560048036038101906109c09190613247565b611e73565b6040516109d291906138e4565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd919061321a565b611f07565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610acf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b3757507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b475750610b4682611f8b565b5b9050919050565b610b56611ff5565b80600d8190555050565b606060018054610b6f90613d4a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9b90613d4a565b8015610be85780601f10610bbd57610100808354040283529160200191610be8565b820191906000526020600020905b815481529060010190602001808311610bcb57829003601f168201915b5050505050905090565b6000610bfd82612073565b610c33576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c79826113c6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ce1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d00612080565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d325750610d3081610d2b612080565b611e73565b155b15610d69576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d74838383612088565b505050565b600281565b610d86611ff5565b60006064600d5447610d989190613c06565b610da29190613bd5565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e0c573d6000803e3d6000fd5b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e75573d6000803e3d6000fd5b50600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ede573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f25573d6000803e3d6000fd5b5050565b610f31611ff5565b80600960006101000a81548160ff02191690831515021790555050565b60008054905090565b600960019054906101000a900460ff1681565b600e6020528060005260406000206000915090505481565b610f8d83838361213a565b505050565b600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610fe9836113dc565b8210611021576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061102b610f4e565b905060008060005b83811015611185576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461112557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611177578684141561116e578195505050505050611199565b83806001019450505b508080600101915050611033565b50600061119557611194613e27565b5b5050505b92915050565b6107d081565b6111ad611ff5565b82600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b61129083838360405180602001604052806000815250611ae3565b505050565b61129d611ff5565b80600960036101000a81548160ff02191690831515021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112e8611ff5565b81600960046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600960026101000a81548160ff0219169083151502179055505050565b6000611351610f4e565b8210611389576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b611399611ff5565b80600890805190602001906113af929190612ff4565b5050565b600960009054906101000a900460ff1681565b60006113d18261265f565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611444576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6114c4611ff5565b6114ce60006127e7565b565b6060600033905060006114e2826113dc565b905060008167ffffffffffffffff811115611500576114ff613f12565b5b60405190808252806020026020018201604052801561152e5781602001602082028036833780820191505090505b50905060005b82811015611578576115468482610fde565b82828151811061155957611558613ee3565b5b602002602001018181525050808061157090613dad565b915050611534565b5080935050505090565b61158a611ff5565b600960019054906101000a900460ff16156115da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d1906139c1565b60405180910390fd5b6115e53360786128ad565b6001600960016101000a81548160ff021916908315150217905550565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461163b90613d4a565b80601f016020809104026020016040519081016040528092919081815260200182805461166790613d4a565b80156116b45780601f10611689576101008083540402835291602001916116b4565b820191906000526020600020905b81548152906001019060200180831161169757829003601f168201915b5050505050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174990613a01565b60405180910390fd5b60001515600960009054906101000a900460ff161515146117a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179f90613941565b60405180910390fd5b6107d0816117b4610f4e565b6117be9190613b7f565b11156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690613981565b60405180910390fd5b600281600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184c9190613b7f565b111561188d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188490613a21565b60405180910390fd5b8066b1a2bc2ec500006118a09190613c06565b3410156118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d990613a41565b60405180910390fd5b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119319190613b7f565b9250508190555061194233826128ad565b50565b61194d612080565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006119bf612080565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a6c612080565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab191906138e4565b60405180910390a35050565b600960039054906101000a900460ff1681565b600960029054906101000a900460ff1681565b611aee84848461213a565b611afa848484846128cb565b611b30576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b66b1a2bc2ec5000081565b6060611b4c82612073565b611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b82906139e1565b60405180910390fd5b60008290506000611b9a612a59565b90506000815111611bba5760405180602001604052806000815250611be5565b80611bc483612aeb565b604051602001611bd5929190613803565b6040516020818303038152906040525b92505050919050565b611bf6611ff5565b60006064601947611c079190613c06565b611c119190613bd5565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c7b573d6000803e3d6000fd5b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611ce4573d6000803e3d6000fd5b50600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611d4d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611d94573d6000803e3d6000fd5b5050565b600d5481565b60011515600960039054906101000a900460ff16151514611df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611deb90613961565b60405180910390fd5b600960029054906101000a900460ff1615611e3757611e3633600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683610f82565b5b7f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a63382604051611e68929190613899565b60405180910390a150565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f0f611ff5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7690613921565b60405180910390fd5b611f88816127e7565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611ffd612080565b73ffffffffffffffffffffffffffffffffffffffff1661201b611602565b73ffffffffffffffffffffffffffffffffffffffff1614612071576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612068906139a1565b60405180910390fd5b565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006121458261265f565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661216c612080565b73ffffffffffffffffffffffffffffffffffffffff1614806121c85750612191612080565b73ffffffffffffffffffffffffffffffffffffffff166121b084610bf2565b73ffffffffffffffffffffffffffffffffffffffff16145b806121e457506121e382600001516121de612080565b611e73565b5b90508061221d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612286576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122ed576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122fa8585856001612c4c565b61230a6000848460000151612088565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125ef5761254e81612073565b156125ee5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126588585856001612c52565b5050505050565b61266761307a565b61267082612073565b6126a6576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290505b600081106127af576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127a05780925050506127e2565b508080600190039150506126ac565b506040517fe7c0edfb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6128c7828260405180602001604052806000815250612c58565b5050565b60006128ec8473ffffffffffffffffffffffffffffffffffffffff16612c6a565b15612a4c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612915612080565b8786866040518563ffffffff1660e01b8152600401612937949392919061384d565b602060405180830381600087803b15801561295157600080fd5b505af192505050801561298257506040513d601f19601f8201168201806040525081019061297f919061348a565b60015b6129fc573d80600081146129b2576040519150601f19603f3d011682016040523d82523d6000602084013e6129b7565b606091505b506000815114156129f4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a51565b600190505b949350505050565b606060088054612a6890613d4a565b80601f0160208091040260200160405190810160405280929190818152602001828054612a9490613d4a565b8015612ae15780601f10612ab657610100808354040283529160200191612ae1565b820191906000526020600020905b815481529060010190602001808311612ac457829003601f168201915b5050505050905090565b60606000821415612b33576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c47565b600082905060005b60008214612b65578080612b4e90613dad565b915050600a82612b5e9190613bd5565b9150612b3b565b60008167ffffffffffffffff811115612b8157612b80613f12565b5b6040519080825280601f01601f191660200182016040528015612bb35781602001600182028036833780820191505090505b5090505b60008514612c4057600182612bcc9190613c60565b9150600a85612bdb9190613df6565b6030612be79190613b7f565b60f81b818381518110612bfd57612bfc613ee3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c399190613bd5565b9450612bb7565b8093505050505b919050565b50505050565b50505050565b612c658383836001612c8d565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612cfa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612d35576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d426000868387612c4c565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015612fd757818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015612f8b5750612f8960008884886128cb565b155b15612fc2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612f10565b508060008190555050612fed6000868387612c52565b5050505050565b82805461300090613d4a565b90600052602060002090601f0160209004810192826130225760008555613069565b82601f1061303b57805160ff1916838001178555613069565b82800160010185558215613069579182015b8281111561306857825182559160200191906001019061304d565b5b50905061307691906130b4565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156130cd5760008160009055506001016130b5565b5090565b60006130e46130df84613aa1565b613a7c565b905082815260208101848484011115613100576130ff613f46565b5b61310b848285613d08565b509392505050565b600061312661312184613ad2565b613a7c565b90508281526020810184848401111561314257613141613f46565b5b61314d848285613d08565b509392505050565b6000813590506131648161420d565b92915050565b60008135905061317981614224565b92915050565b60008135905061318e8161423b565b92915050565b6000815190506131a38161423b565b92915050565b600082601f8301126131be576131bd613f41565b5b81356131ce8482602086016130d1565b91505092915050565b600082601f8301126131ec576131eb613f41565b5b81356131fc848260208601613113565b91505092915050565b60008135905061321481614252565b92915050565b6000602082840312156132305761322f613f50565b5b600061323e84828501613155565b91505092915050565b6000806040838503121561325e5761325d613f50565b5b600061326c85828601613155565b925050602061327d85828601613155565b9150509250929050565b6000806000606084860312156132a05761329f613f50565b5b60006132ae86828701613155565b93505060206132bf86828701613155565b92505060406132d086828701613155565b9150509250925092565b6000806000606084860312156132f3576132f2613f50565b5b600061330186828701613155565b935050602061331286828701613155565b925050604061332386828701613205565b9150509250925092565b6000806000806080858703121561334757613346613f50565b5b600061335587828801613155565b945050602061336687828801613155565b935050604061337787828801613205565b925050606085013567ffffffffffffffff81111561339857613397613f4b565b5b6133a4878288016131a9565b91505092959194509250565b600080604083850312156133c7576133c6613f50565b5b60006133d585828601613155565b92505060206133e68582860161316a565b9150509250929050565b6000806040838503121561340757613406613f50565b5b600061341585828601613155565b925050602061342685828601613205565b9150509250929050565b60006020828403121561344657613445613f50565b5b60006134548482850161316a565b91505092915050565b60006020828403121561347357613472613f50565b5b60006134818482850161317f565b91505092915050565b6000602082840312156134a05761349f613f50565b5b60006134ae84828501613194565b91505092915050565b6000602082840312156134cd576134cc613f50565b5b600082013567ffffffffffffffff8111156134eb576134ea613f4b565b5b6134f7848285016131d7565b91505092915050565b60006020828403121561351657613515613f50565b5b600061352484828501613205565b91505092915050565b600061353983836137e5565b60208301905092915050565b61354e81613c94565b82525050565b600061355f82613b13565b6135698185613b41565b935061357483613b03565b8060005b838110156135a557815161358c888261352d565b975061359783613b34565b925050600181019050613578565b5085935050505092915050565b6135bb81613ca6565b82525050565b60006135cc82613b1e565b6135d68185613b52565b93506135e6818560208601613d17565b6135ef81613f55565b840191505092915050565b600061360582613b29565b61360f8185613b63565b935061361f818560208601613d17565b61362881613f55565b840191505092915050565b600061363e82613b29565b6136488185613b74565b9350613658818560208601613d17565b80840191505092915050565b6000613671602683613b63565b915061367c82613f66565b604082019050919050565b6000613694601283613b63565b915061369f82613fb5565b602082019050919050565b60006136b7601483613b63565b91506136c282613fde565b602082019050919050565b60006136da604d83613b63565b91506136e582614007565b606082019050919050565b60006136fd600583613b74565b91506137088261407c565b600582019050919050565b6000613720602083613b63565b915061372b826140a5565b602082019050919050565b6000613743601683613b63565b915061374e826140ce565b602082019050919050565b6000613766602f83613b63565b9150613771826140f7565b604082019050919050565b6000613789602583613b63565b915061379482614146565b604082019050919050565b60006137ac601883613b63565b91506137b782614195565b602082019050919050565b60006137cf602383613b63565b91506137da826141be565b604082019050919050565b6137ee81613cfe565b82525050565b6137fd81613cfe565b82525050565b600061380f8285613633565b915061381b8284613633565b9150613826826136f0565b91508190509392505050565b60006020820190506138476000830184613545565b92915050565b60006080820190506138626000830187613545565b61386f6020830186613545565b61387c60408301856137f4565b818103606083015261388e81846135c1565b905095945050505050565b60006040820190506138ae6000830185613545565b6138bb60208301846137f4565b9392505050565b600060208201905081810360008301526138dc8184613554565b905092915050565b60006020820190506138f960008301846135b2565b92915050565b6000602082019050818103600083015261391981846135fa565b905092915050565b6000602082019050818103600083015261393a81613664565b9050919050565b6000602082019050818103600083015261395a81613687565b9050919050565b6000602082019050818103600083015261397a816136aa565b9050919050565b6000602082019050818103600083015261399a816136cd565b9050919050565b600060208201905081810360008301526139ba81613713565b9050919050565b600060208201905081810360008301526139da81613736565b9050919050565b600060208201905081810360008301526139fa81613759565b9050919050565b60006020820190508181036000830152613a1a8161377c565b9050919050565b60006020820190508181036000830152613a3a8161379f565b9050919050565b60006020820190508181036000830152613a5a816137c2565b9050919050565b6000602082019050613a7660008301846137f4565b92915050565b6000613a86613a97565b9050613a928282613d7c565b919050565b6000604051905090565b600067ffffffffffffffff821115613abc57613abb613f12565b5b613ac582613f55565b9050602081019050919050565b600067ffffffffffffffff821115613aed57613aec613f12565b5b613af682613f55565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613b8a82613cfe565b9150613b9583613cfe565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613bca57613bc9613e56565b5b828201905092915050565b6000613be082613cfe565b9150613beb83613cfe565b925082613bfb57613bfa613e85565b5b828204905092915050565b6000613c1182613cfe565b9150613c1c83613cfe565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c5557613c54613e56565b5b828202905092915050565b6000613c6b82613cfe565b9150613c7683613cfe565b925082821015613c8957613c88613e56565b5b828203905092915050565b6000613c9f82613cde565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d35578082015181840152602081019050613d1a565b83811115613d44576000848401525b50505050565b60006002820490506001821680613d6257607f821691505b60208210811415613d7657613d75613eb4565b5b50919050565b613d8582613f55565b810181811067ffffffffffffffff82111715613da457613da3613f12565b5b80604052505050565b6000613db882613cfe565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613deb57613dea613e56565b5b600182019050919050565b6000613e0182613cfe565b9150613e0c83613cfe565b925082613e1c57613e1b613e85565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4974206973206e6f7420796f75722074696d652e000000000000000000000000600082015250565b7f4775657374204c696d6974205265616368656421204966207765206c6574207960008201527f6f75206d696e742074686973206d616e792c20697420776f756c64206265206160208201527f20666972652068617a6172642e00000000000000000000000000000000000000604082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f446f6e277420676574206772656564792c206b69642100000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f596f75206d757374206265206120706572736f6e20746f20656e74657220746860008201527f65205a6f6f000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920322050617373657320706572204775657374210000000000000000600082015250565b7f496e73756666696369656e742066756e647320746f20656e746572207468652060008201527f7a6f6f0000000000000000000000000000000000000000000000000000000000602082015250565b61421681613c94565b811461422157600080fd5b50565b61422d81613ca6565b811461423857600080fd5b50565b61424481613cb2565b811461424f57600080fd5b50565b61425b81613cfe565b811461426657600080fd5b5056fea264697066735822122000a21f2a06742584722e88f4c936e7470d85c8e6af91bff1148425015a819a9764736f6c63430008070033

Deployed Bytecode

0x60806040526004361061026b5760003560e01c806355f804b311610144578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd146108f6578063cfbb7d3614610933578063d6a9e9d11461094a578063db006a7514610975578063e985e9c51461099e578063f2fde38b146109db57610272565b8063a22cb46514610823578063a864b8801461084c578063b67b091114610877578063b88d4fde146108a2578063c002d23d146108cb57610272565b806383a974a21161010857806383a974a2146107445780638787d4d91461076f5780638da5cb5b1461078657806395d89b41146107b1578063973ea9d5146107dc578063a0712d681461080757610272565b806355f804b31461065f5780635c975abb146106885780636352211e146106b357806370a08231146106f0578063715018a61461072d57610272565b806323b872dd116101dd578063363bf964116101a1578063363bf9641461055357806342842e0e1461057c57806342d8312d146105a55780634811c070146105ce57806348c5088f146105f95780634f6ccce71461062257610272565b806323b872dd1461046c578063265b5150146104955780632889e822146104c05780632f745c59146104eb57806332cb6b0c1461052857610272565b80630f2cdd6c1161022f5780630f2cdd6c1461036e57806312ba62eb1461039957806316c38b3c146103b057806318160ddd146103d9578063195c60cb146104045780631c16521c1461042f57610272565b806301ffc9a714610277578063039ea762146102b457806306fdde03146102dd578063081812fc14610308578063095ea7b31461034557610272565b3661027257005b600080fd5b34801561028357600080fd5b5061029e6004803603810190610299919061345d565b610a04565b6040516102ab91906138e4565b60405180910390f35b3480156102c057600080fd5b506102db60048036038101906102d69190613500565b610b4e565b005b3480156102e957600080fd5b506102f2610b60565b6040516102ff91906138ff565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190613500565b610bf2565b60405161033c9190613832565b60405180910390f35b34801561035157600080fd5b5061036c600480360381019061036791906133f0565b610c6e565b005b34801561037a57600080fd5b50610383610d79565b6040516103909190613a61565b60405180910390f35b3480156103a557600080fd5b506103ae610d7e565b005b3480156103bc57600080fd5b506103d760048036038101906103d29190613430565b610f29565b005b3480156103e557600080fd5b506103ee610f4e565b6040516103fb9190613a61565b60405180910390f35b34801561041057600080fd5b50610419610f57565b60405161042691906138e4565b60405180910390f35b34801561043b57600080fd5b506104566004803603810190610451919061321a565b610f6a565b6040516104639190613a61565b60405180910390f35b34801561047857600080fd5b50610493600480360381019061048e91906132da565b610f82565b005b3480156104a157600080fd5b506104aa610f92565b6040516104b79190613832565b60405180910390f35b3480156104cc57600080fd5b506104d5610fb8565b6040516104e29190613832565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d91906133f0565b610fde565b60405161051f9190613a61565b60405180910390f35b34801561053457600080fd5b5061053d61119f565b60405161054a9190613a61565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190613287565b6111a5565b005b34801561058857600080fd5b506105a3600480360381019061059e91906132da565b611275565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190613430565b611295565b005b3480156105da57600080fd5b506105e36112ba565b6040516105f09190613832565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b91906133b0565b6112e0565b005b34801561062e57600080fd5b5061064960048036038101906106449190613500565b611347565b6040516106569190613a61565b60405180910390f35b34801561066b57600080fd5b50610686600480360381019061068191906134b7565b611391565b005b34801561069457600080fd5b5061069d6113b3565b6040516106aa91906138e4565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d59190613500565b6113c6565b6040516106e79190613832565b60405180910390f35b3480156106fc57600080fd5b506107176004803603810190610712919061321a565b6113dc565b6040516107249190613a61565b60405180910390f35b34801561073957600080fd5b506107426114bc565b005b34801561075057600080fd5b506107596114d0565b60405161076691906138c2565b60405180910390f35b34801561077b57600080fd5b50610784611582565b005b34801561079257600080fd5b5061079b611602565b6040516107a89190613832565b60405180910390f35b3480156107bd57600080fd5b506107c661162c565b6040516107d391906138ff565b60405180910390f35b3480156107e857600080fd5b506107f16116be565b6040516107fe9190613832565b60405180910390f35b610821600480360381019061081c9190613500565b6116e4565b005b34801561082f57600080fd5b5061084a600480360381019061084591906133b0565b611945565b005b34801561085857600080fd5b50610861611abd565b60405161086e91906138e4565b60405180910390f35b34801561088357600080fd5b5061088c611ad0565b60405161089991906138e4565b60405180910390f35b3480156108ae57600080fd5b506108c960048036038101906108c4919061332d565b611ae3565b005b3480156108d757600080fd5b506108e0611b36565b6040516108ed9190613a61565b60405180910390f35b34801561090257600080fd5b5061091d60048036038101906109189190613500565b611b41565b60405161092a91906138ff565b60405180910390f35b34801561093f57600080fd5b50610948611bee565b005b34801561095657600080fd5b5061095f611d98565b60405161096c9190613a61565b60405180910390f35b34801561098157600080fd5b5061099c60048036038101906109979190613500565b611d9e565b005b3480156109aa57600080fd5b506109c560048036038101906109c09190613247565b611e73565b6040516109d291906138e4565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd919061321a565b611f07565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610acf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b3757507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b475750610b4682611f8b565b5b9050919050565b610b56611ff5565b80600d8190555050565b606060018054610b6f90613d4a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9b90613d4a565b8015610be85780601f10610bbd57610100808354040283529160200191610be8565b820191906000526020600020905b815481529060010190602001808311610bcb57829003601f168201915b5050505050905090565b6000610bfd82612073565b610c33576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c79826113c6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ce1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d00612080565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d325750610d3081610d2b612080565b611e73565b155b15610d69576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d74838383612088565b505050565b600281565b610d86611ff5565b60006064600d5447610d989190613c06565b610da29190613bd5565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e0c573d6000803e3d6000fd5b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e75573d6000803e3d6000fd5b50600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ede573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f25573d6000803e3d6000fd5b5050565b610f31611ff5565b80600960006101000a81548160ff02191690831515021790555050565b60008054905090565b600960019054906101000a900460ff1681565b600e6020528060005260406000206000915090505481565b610f8d83838361213a565b505050565b600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610fe9836113dc565b8210611021576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061102b610f4e565b905060008060005b83811015611185576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461112557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611177578684141561116e578195505050505050611199565b83806001019450505b508080600101915050611033565b50600061119557611194613e27565b5b5050505b92915050565b6107d081565b6111ad611ff5565b82600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b61129083838360405180602001604052806000815250611ae3565b505050565b61129d611ff5565b80600960036101000a81548160ff02191690831515021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112e8611ff5565b81600960046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600960026101000a81548160ff0219169083151502179055505050565b6000611351610f4e565b8210611389576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b611399611ff5565b80600890805190602001906113af929190612ff4565b5050565b600960009054906101000a900460ff1681565b60006113d18261265f565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611444576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6114c4611ff5565b6114ce60006127e7565b565b6060600033905060006114e2826113dc565b905060008167ffffffffffffffff811115611500576114ff613f12565b5b60405190808252806020026020018201604052801561152e5781602001602082028036833780820191505090505b50905060005b82811015611578576115468482610fde565b82828151811061155957611558613ee3565b5b602002602001018181525050808061157090613dad565b915050611534565b5080935050505090565b61158a611ff5565b600960019054906101000a900460ff16156115da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d1906139c1565b60405180910390fd5b6115e53360786128ad565b6001600960016101000a81548160ff021916908315150217905550565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461163b90613d4a565b80601f016020809104026020016040519081016040528092919081815260200182805461166790613d4a565b80156116b45780601f10611689576101008083540402835291602001916116b4565b820191906000526020600020905b81548152906001019060200180831161169757829003601f168201915b5050505050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174990613a01565b60405180910390fd5b60001515600960009054906101000a900460ff161515146117a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179f90613941565b60405180910390fd5b6107d0816117b4610f4e565b6117be9190613b7f565b11156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690613981565b60405180910390fd5b600281600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184c9190613b7f565b111561188d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188490613a21565b60405180910390fd5b8066b1a2bc2ec500006118a09190613c06565b3410156118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d990613a41565b60405180910390fd5b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119319190613b7f565b9250508190555061194233826128ad565b50565b61194d612080565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600660006119bf612080565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a6c612080565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab191906138e4565b60405180910390a35050565b600960039054906101000a900460ff1681565b600960029054906101000a900460ff1681565b611aee84848461213a565b611afa848484846128cb565b611b30576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b66b1a2bc2ec5000081565b6060611b4c82612073565b611b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b82906139e1565b60405180910390fd5b60008290506000611b9a612a59565b90506000815111611bba5760405180602001604052806000815250611be5565b80611bc483612aeb565b604051602001611bd5929190613803565b6040516020818303038152906040525b92505050919050565b611bf6611ff5565b60006064601947611c079190613c06565b611c119190613bd5565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c7b573d6000803e3d6000fd5b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611ce4573d6000803e3d6000fd5b50600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611d4d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611d94573d6000803e3d6000fd5b5050565b600d5481565b60011515600960039054906101000a900460ff16151514611df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611deb90613961565b60405180910390fd5b600960029054906101000a900460ff1615611e3757611e3633600960049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683610f82565b5b7f222838db2794d11532d940e8dec38ae307ed0b63cd97c233322e221f998767a63382604051611e68929190613899565b60405180910390a150565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f0f611ff5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7690613921565b60405180910390fd5b611f88816127e7565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611ffd612080565b73ffffffffffffffffffffffffffffffffffffffff1661201b611602565b73ffffffffffffffffffffffffffffffffffffffff1614612071576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612068906139a1565b60405180910390fd5b565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006121458261265f565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661216c612080565b73ffffffffffffffffffffffffffffffffffffffff1614806121c85750612191612080565b73ffffffffffffffffffffffffffffffffffffffff166121b084610bf2565b73ffffffffffffffffffffffffffffffffffffffff16145b806121e457506121e382600001516121de612080565b611e73565b5b90508061221d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612286576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122ed576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122fa8585856001612c4c565b61230a6000848460000151612088565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125ef5761254e81612073565b156125ee5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126588585856001612c52565b5050505050565b61266761307a565b61267082612073565b6126a6576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290505b600081106127af576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127a05780925050506127e2565b508080600190039150506126ac565b506040517fe7c0edfb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6128c7828260405180602001604052806000815250612c58565b5050565b60006128ec8473ffffffffffffffffffffffffffffffffffffffff16612c6a565b15612a4c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612915612080565b8786866040518563ffffffff1660e01b8152600401612937949392919061384d565b602060405180830381600087803b15801561295157600080fd5b505af192505050801561298257506040513d601f19601f8201168201806040525081019061297f919061348a565b60015b6129fc573d80600081146129b2576040519150601f19603f3d011682016040523d82523d6000602084013e6129b7565b606091505b506000815114156129f4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a51565b600190505b949350505050565b606060088054612a6890613d4a565b80601f0160208091040260200160405190810160405280929190818152602001828054612a9490613d4a565b8015612ae15780601f10612ab657610100808354040283529160200191612ae1565b820191906000526020600020905b815481529060010190602001808311612ac457829003601f168201915b5050505050905090565b60606000821415612b33576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c47565b600082905060005b60008214612b65578080612b4e90613dad565b915050600a82612b5e9190613bd5565b9150612b3b565b60008167ffffffffffffffff811115612b8157612b80613f12565b5b6040519080825280601f01601f191660200182016040528015612bb35781602001600182028036833780820191505090505b5090505b60008514612c4057600182612bcc9190613c60565b9150600a85612bdb9190613df6565b6030612be79190613b7f565b60f81b818381518110612bfd57612bfc613ee3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c399190613bd5565b9450612bb7565b8093505050505b919050565b50505050565b50505050565b612c658383836001612c8d565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612cfa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612d35576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d426000868387612c4c565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015612fd757818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4838015612f8b5750612f8960008884886128cb565b155b15612fc2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81806001019250508080600101915050612f10565b508060008190555050612fed6000868387612c52565b5050505050565b82805461300090613d4a565b90600052602060002090601f0160209004810192826130225760008555613069565b82601f1061303b57805160ff1916838001178555613069565b82800160010185558215613069579182015b8281111561306857825182559160200191906001019061304d565b5b50905061307691906130b4565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156130cd5760008160009055506001016130b5565b5090565b60006130e46130df84613aa1565b613a7c565b905082815260208101848484011115613100576130ff613f46565b5b61310b848285613d08565b509392505050565b600061312661312184613ad2565b613a7c565b90508281526020810184848401111561314257613141613f46565b5b61314d848285613d08565b509392505050565b6000813590506131648161420d565b92915050565b60008135905061317981614224565b92915050565b60008135905061318e8161423b565b92915050565b6000815190506131a38161423b565b92915050565b600082601f8301126131be576131bd613f41565b5b81356131ce8482602086016130d1565b91505092915050565b600082601f8301126131ec576131eb613f41565b5b81356131fc848260208601613113565b91505092915050565b60008135905061321481614252565b92915050565b6000602082840312156132305761322f613f50565b5b600061323e84828501613155565b91505092915050565b6000806040838503121561325e5761325d613f50565b5b600061326c85828601613155565b925050602061327d85828601613155565b9150509250929050565b6000806000606084860312156132a05761329f613f50565b5b60006132ae86828701613155565b93505060206132bf86828701613155565b92505060406132d086828701613155565b9150509250925092565b6000806000606084860312156132f3576132f2613f50565b5b600061330186828701613155565b935050602061331286828701613155565b925050604061332386828701613205565b9150509250925092565b6000806000806080858703121561334757613346613f50565b5b600061335587828801613155565b945050602061336687828801613155565b935050604061337787828801613205565b925050606085013567ffffffffffffffff81111561339857613397613f4b565b5b6133a4878288016131a9565b91505092959194509250565b600080604083850312156133c7576133c6613f50565b5b60006133d585828601613155565b92505060206133e68582860161316a565b9150509250929050565b6000806040838503121561340757613406613f50565b5b600061341585828601613155565b925050602061342685828601613205565b9150509250929050565b60006020828403121561344657613445613f50565b5b60006134548482850161316a565b91505092915050565b60006020828403121561347357613472613f50565b5b60006134818482850161317f565b91505092915050565b6000602082840312156134a05761349f613f50565b5b60006134ae84828501613194565b91505092915050565b6000602082840312156134cd576134cc613f50565b5b600082013567ffffffffffffffff8111156134eb576134ea613f4b565b5b6134f7848285016131d7565b91505092915050565b60006020828403121561351657613515613f50565b5b600061352484828501613205565b91505092915050565b600061353983836137e5565b60208301905092915050565b61354e81613c94565b82525050565b600061355f82613b13565b6135698185613b41565b935061357483613b03565b8060005b838110156135a557815161358c888261352d565b975061359783613b34565b925050600181019050613578565b5085935050505092915050565b6135bb81613ca6565b82525050565b60006135cc82613b1e565b6135d68185613b52565b93506135e6818560208601613d17565b6135ef81613f55565b840191505092915050565b600061360582613b29565b61360f8185613b63565b935061361f818560208601613d17565b61362881613f55565b840191505092915050565b600061363e82613b29565b6136488185613b74565b9350613658818560208601613d17565b80840191505092915050565b6000613671602683613b63565b915061367c82613f66565b604082019050919050565b6000613694601283613b63565b915061369f82613fb5565b602082019050919050565b60006136b7601483613b63565b91506136c282613fde565b602082019050919050565b60006136da604d83613b63565b91506136e582614007565b606082019050919050565b60006136fd600583613b74565b91506137088261407c565b600582019050919050565b6000613720602083613b63565b915061372b826140a5565b602082019050919050565b6000613743601683613b63565b915061374e826140ce565b602082019050919050565b6000613766602f83613b63565b9150613771826140f7565b604082019050919050565b6000613789602583613b63565b915061379482614146565b604082019050919050565b60006137ac601883613b63565b91506137b782614195565b602082019050919050565b60006137cf602383613b63565b91506137da826141be565b604082019050919050565b6137ee81613cfe565b82525050565b6137fd81613cfe565b82525050565b600061380f8285613633565b915061381b8284613633565b9150613826826136f0565b91508190509392505050565b60006020820190506138476000830184613545565b92915050565b60006080820190506138626000830187613545565b61386f6020830186613545565b61387c60408301856137f4565b818103606083015261388e81846135c1565b905095945050505050565b60006040820190506138ae6000830185613545565b6138bb60208301846137f4565b9392505050565b600060208201905081810360008301526138dc8184613554565b905092915050565b60006020820190506138f960008301846135b2565b92915050565b6000602082019050818103600083015261391981846135fa565b905092915050565b6000602082019050818103600083015261393a81613664565b9050919050565b6000602082019050818103600083015261395a81613687565b9050919050565b6000602082019050818103600083015261397a816136aa565b9050919050565b6000602082019050818103600083015261399a816136cd565b9050919050565b600060208201905081810360008301526139ba81613713565b9050919050565b600060208201905081810360008301526139da81613736565b9050919050565b600060208201905081810360008301526139fa81613759565b9050919050565b60006020820190508181036000830152613a1a8161377c565b9050919050565b60006020820190508181036000830152613a3a8161379f565b9050919050565b60006020820190508181036000830152613a5a816137c2565b9050919050565b6000602082019050613a7660008301846137f4565b92915050565b6000613a86613a97565b9050613a928282613d7c565b919050565b6000604051905090565b600067ffffffffffffffff821115613abc57613abb613f12565b5b613ac582613f55565b9050602081019050919050565b600067ffffffffffffffff821115613aed57613aec613f12565b5b613af682613f55565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613b8a82613cfe565b9150613b9583613cfe565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613bca57613bc9613e56565b5b828201905092915050565b6000613be082613cfe565b9150613beb83613cfe565b925082613bfb57613bfa613e85565b5b828204905092915050565b6000613c1182613cfe565b9150613c1c83613cfe565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c5557613c54613e56565b5b828202905092915050565b6000613c6b82613cfe565b9150613c7683613cfe565b925082821015613c8957613c88613e56565b5b828203905092915050565b6000613c9f82613cde565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d35578082015181840152602081019050613d1a565b83811115613d44576000848401525b50505050565b60006002820490506001821680613d6257607f821691505b60208210811415613d7657613d75613eb4565b5b50919050565b613d8582613f55565b810181811067ffffffffffffffff82111715613da457613da3613f12565b5b80604052505050565b6000613db882613cfe565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613deb57613dea613e56565b5b600182019050919050565b6000613e0182613cfe565b9150613e0c83613cfe565b925082613e1c57613e1b613e85565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4974206973206e6f7420796f75722074696d652e000000000000000000000000600082015250565b7f4775657374204c696d6974205265616368656421204966207765206c6574207960008201527f6f75206d696e742074686973206d616e792c20697420776f756c64206265206160208201527f20666972652068617a6172642e00000000000000000000000000000000000000604082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f446f6e277420676574206772656564792c206b69642100000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f596f75206d757374206265206120706572736f6e20746f20656e74657220746860008201527f65205a6f6f000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e6c7920322050617373657320706572204775657374210000000000000000600082015250565b7f496e73756666696369656e742066756e647320746f20656e746572207468652060008201527f7a6f6f0000000000000000000000000000000000000000000000000000000000602082015250565b61421681613c94565b811461422157600080fd5b50565b61422d81613ca6565b811461423857600080fd5b50565b61424481613cb2565b811461424f57600080fd5b50565b61425b81613cfe565b811461426657600080fd5b5056fea264697066735822122000a21f2a06742584722e88f4c936e7470d85c8e6af91bff1148425015a819a9764736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.