ETH Price: $3,257.96 (-0.32%)
Gas: 2 Gwei

Token

Fabergegg Club (FABC)
 

Overview

Max Total Supply

85 FABC

Holders

53

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 FABC
0x0c9a978e91b2a950031d0e2511701101b49dd7a1
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Fabergegg

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : Fabergegg.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "./Pausable.sol";

contract Fabergegg is ERC721Enumerable, Pausable, PaymentSplitter {
    using Counters for Counters.Counter;

    struct PresaleConfig {
        uint256 startTime;
        uint256 duration;
        uint256 maxCount;
    }
    struct SaleConfig {
        uint256 startTime;
        uint256 maxCount;
    }
    string public provenance;
    uint256 public maxTotalSupply = 10201;
    uint256 public maxGiftSupply = 201;
    uint256 public giftCount;
    uint256 public presaleCount;
    uint256 public totalNFT;
    bool public isBurnEnabled;
    string public baseURI;
    PresaleConfig public presaleConfig;
    SaleConfig public saleConfig;
    Counters.Counter private _tokenIds;
    uint256[] private _teamShares = [30, 30, 30, 6, 4];
    address[] private _team = [
        0x6d17b1456d874fc5d8877f5DaEfD14e7695A9882,
        0x8171b9F77985752D2b3214DE9cd5A3Aab24053F8,
        0x62eC77c23f7e9245d3DFa403D7E82fF761538fbd,
        0x7a777F180bC9180084125117aa9aDEC68c56829a,
        0x822B14155B89cDdFC85DecEf152DCCb717082Ed3
    ];
    mapping(address => bool) private _presaleList;
    mapping(address => uint256) public _presaleClaimed;
    mapping(address => uint256) public _giftClaimed;
    mapping(address => uint256) public _saleClaimed;
    mapping(address => uint256) public _totalClaimed;

    enum WorkflowStatus {
        CheckOnPresale,
        Presale,
        Sale,
        SoldOut
    }
    WorkflowStatus public workflow;

    event ChangePresaleConfig(
        uint256 _startTime,
        uint256 _duration,
        uint256 _maxCount
    );
    event ChangeSaleConfig(uint256 _startTime, uint256 _maxCount);
    event ChangeIsBurnEnabled(bool _isBurnEnabled);
    event ChangeBaseURI(string _baseURI);
    event ChangeProvenanceHash(string _baseURI);
    event GiftMint(address indexed _recipient, uint256 _amount);
    event PresaleMint(address indexed _minter, uint256 _amount, uint256 _price);
    event SaleMint(address indexed _minter, uint256 _amount, uint256 _price);
    event WorkflowStatusChange(
        WorkflowStatus previousStatus,
        WorkflowStatus newStatus
    );

    constructor()
        ERC721("Fabergegg Club", "FABC")
        PaymentSplitter(_team, _teamShares)
    {}

    function setProvenanceHash(string memory _provenanceHash) public onlyOwner {
       provenance = _provenanceHash;
       emit ChangeProvenanceHash(_provenanceHash);
    }

    function setBaseURI(string calldata _tokenBaseURI) external onlyOwner {
        baseURI = _tokenBaseURI;
        emit ChangeBaseURI(_tokenBaseURI);
    }

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

    function addToPresaleList(address[] calldata _addresses)
        external
        onlyOwner
    {
        for (uint256 ind = 0; ind < _addresses.length; ind++) {
            require(
                _addresses[ind] != address(0),
                "Fabergegg: Can't add a zero address"
            );
            if (_presaleList[_addresses[ind]] == false) {
                _presaleList[_addresses[ind]] = true;
            }
        }
    }

    function isOnPresaleList(address _address) external view returns (bool) {
        return _presaleList[_address];
    }

    function removeFromPresaleList(address[] calldata _addresses)
        external
        onlyOwner
    {
        for (uint256 ind = 0; ind < _addresses.length; ind++) {
            require(
                _addresses[ind] != address(0),
                "Fabergegg: Can't remove a zero address"
            );
            if (_presaleList[_addresses[ind]] == true) {
                _presaleList[_addresses[ind]] = false;
            }
        }
    }

    function setUpPresale(uint256 _duration) external onlyOwner {
        require(
            workflow == WorkflowStatus.CheckOnPresale,
            "Fabergegg: Unauthorized Transaction"
        );
        uint256 _startTime = block.timestamp;
        uint256 _maxCount = 2;
        presaleConfig = PresaleConfig(_startTime, _duration, _maxCount);
        emit ChangePresaleConfig(_startTime, _duration, _maxCount);
        workflow = WorkflowStatus.Presale;
        emit WorkflowStatusChange(
            WorkflowStatus.CheckOnPresale,
            WorkflowStatus.Presale
        );
    }

    function setUpSale() external onlyOwner {
        require(
            workflow == WorkflowStatus.Presale,
            "Fabergegg: Unauthorized Transaction"
        );
        PresaleConfig memory _presaleConfig = presaleConfig;
        uint256 _presaleEndTime = _presaleConfig.startTime +
            _presaleConfig.duration;
        require(
            block.timestamp > _presaleEndTime,
            "Fabergegg: Sale not started"
        );
        uint256 _startTime = block.timestamp;
        uint256 _maxCount = 10;
        saleConfig = SaleConfig(_startTime, _maxCount);
        emit ChangeSaleConfig(_startTime, _maxCount);
        workflow = WorkflowStatus.Sale;
        emit WorkflowStatusChange(WorkflowStatus.Presale, WorkflowStatus.Sale);
    }

    function getPrice() public view returns (uint256) {
        uint256 _price;
        PresaleConfig memory _presaleConfig = presaleConfig;
        SaleConfig memory _saleConfig = saleConfig;
        if (
            block.timestamp <=
            _presaleConfig.startTime + _presaleConfig.duration
        ) {
            _price = 80000000000000000; //0.08 ETH
        } else if (block.timestamp <= _saleConfig.startTime + 6 hours) {
            _price = 240000000000000000; //0.24 ETH
        } else if (
            (block.timestamp > _saleConfig.startTime + 6 hours) &&
            (block.timestamp <= _saleConfig.startTime + 12 hours)
        ) {
            _price = 160000000000000000; //0.16 ETH
        } else {
            _price = 80000000000000000; //0.08 ETH
        }
        return _price;
    }

    function setIsBurnEnabled(bool _isBurnEnabled) external onlyOwner {
        isBurnEnabled = _isBurnEnabled;
        emit ChangeIsBurnEnabled(_isBurnEnabled);
    }

    function giftMint(address[] calldata _addresses)
        external
        onlyOwner
        whenNotPaused
    {
        require(
            totalNFT + _addresses.length <= maxTotalSupply,
            "Fabergegg: max total supply exceeded"
        );

        require(
            giftCount + _addresses.length <= maxGiftSupply,
            "Fabergegg: max gift supply exceeded"
        );

        uint256 _newItemId;
        for (uint256 ind = 0; ind < _addresses.length; ind++) {
            require(
                _addresses[ind] != address(0),
                "Fabergegg: recepient is the null address"
            );
            _tokenIds.increment();
            _newItemId = _tokenIds.current();
            _safeMint(_addresses[ind], _newItemId);
            _giftClaimed[_addresses[ind]] = _giftClaimed[_addresses[ind]] + 1;
            _totalClaimed[_addresses[ind]] = _totalClaimed[_addresses[ind]] + 1;
            totalNFT = totalNFT + 1;
            giftCount = giftCount + 1;
        }
    }

    function presaleMint(uint256 _amount) internal {
        PresaleConfig memory _presaleConfig = presaleConfig;
        require(
            _presaleConfig.startTime > 0,
            "Fabergegg: Presale must be active to mint Ape"
        );
        require(
            block.timestamp >= _presaleConfig.startTime,
            "Fabergegg: Presale not started"
        );
        require(
            block.timestamp <=
                _presaleConfig.startTime + _presaleConfig.duration,
            "Fabergegg: Presale is ended"
        );
        require(
            _presaleList[msg.sender] == true,
            " Caller is not on the presale list"
        );
        require(
            _presaleClaimed[msg.sender] + _amount <= _presaleConfig.maxCount,
            "Fabergegg: Can only mint 2 tokens"
        );
        require(
            totalNFT + _amount <= maxTotalSupply,
            "Fabergegg: max supply exceeded"
        );
        uint256 _price = getPrice();
        require(
            _price * _amount <= msg.value,
            "Fabergegg: Ether value sent is not correct"
        );
        uint256 _newItemId;
        for (uint256 ind = 0; ind < _amount; ind++) {
            _tokenIds.increment();
            _newItemId = _tokenIds.current();
            _safeMint(msg.sender, _newItemId);
            _presaleClaimed[msg.sender] = _presaleClaimed[msg.sender] + _amount;
            _totalClaimed[msg.sender] = _totalClaimed[msg.sender] + _amount;
            totalNFT = totalNFT + 1;
            presaleCount = presaleCount + 1;
        }
        emit PresaleMint(msg.sender, _amount, _price);
    }

    function saleMint(uint256 _amount) internal {
        SaleConfig memory _saleConfig = saleConfig;
        require(_amount > 0, "Fabergegg: zero amount");
        require(_saleConfig.startTime > 0, "Fabergegg: sale is not active");
        require(
            block.timestamp >= _saleConfig.startTime,
            "Fabergegg: sale not started"
        );
        require(
            _amount <= _saleConfig.maxCount,
            "Fabergegg:  Can only mint 10 tokens at a time"
        );
        require(
            totalNFT + _amount <= maxTotalSupply,
            "Fabergegg: max supply exceeded"
        );
        uint256 _price = getPrice();
        require(
            _price * _amount <= msg.value,
            "Fabergegg: Ether value sent is not correct"
        );
        uint256 _newItemId;
        for (uint256 ind = 0; ind < _amount; ind++) {
            _tokenIds.increment();
            _newItemId = _tokenIds.current();
            _safeMint(msg.sender, _newItemId);
            _saleClaimed[msg.sender] = _saleClaimed[msg.sender] + _amount;
            _totalClaimed[msg.sender] = _totalClaimed[msg.sender] + _amount;
            totalNFT = totalNFT + 1;
        }
        emit SaleMint(msg.sender, _amount, _price);
    }

    function mainMint(uint256 _amount) external payable whenNotPaused {
        require(
            block.timestamp > presaleConfig.startTime,
            "Fabergegg: presale not started"
        );
        if (
            block.timestamp <=
            (presaleConfig.startTime + presaleConfig.duration)
        ) {
            presaleMint(_amount);
        } else {
            saleMint(_amount);
        }
        if (totalNFT + _amount == maxTotalSupply) {
            workflow = WorkflowStatus.SoldOut;
            emit WorkflowStatusChange(
                WorkflowStatus.Sale,
                WorkflowStatus.SoldOut
            );
        }
    }

    function burn(uint256 tokenId) external {
        require(isBurnEnabled, "Fabergegg: burning disabled");
        require(
            _isApprovedOrOwner(msg.sender, tokenId),
            "Fabergegg: burn caller is not owner nor approved"
        );
        _burn(tokenId);
        totalNFT = totalNFT - 1;
    }

    function getWorkflowStatus() public view returns (uint256) {
        uint256 _status;
        if (workflow == WorkflowStatus.CheckOnPresale) {
            _status = 1;
        }
        if (workflow == WorkflowStatus.Presale) {
            _status = 2;
        }
        if (workflow == WorkflowStatus.Sale) {
            _status = 3;
        }
        if (workflow == WorkflowStatus.SoldOut) {
            _status = 4;
        }
        return _status;
    }
}

File 2 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
    event Pause();
    event Unpause();

    bool public paused = false;

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!paused, "Transaction is not available");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     */
    modifier whenPaused() {
        require(paused, "Transaction is available");
        _;
    }

    /**
     * @dev called by the owner to pause, triggers stopped state
     */
    function pause() public onlyOwner whenNotPaused {
        paused = true;
        emit Pause();
    }

    /**
     * @dev called by the owner to unpause, returns to normal state
     */
    function unpause() public onlyOwner whenPaused {
        paused = false;
        emit Unpause();
    }
}

File 3 of 17 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Address.sol";
import "../utils/Context.sol";
import "../utils/math/SafeMath.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + _totalReleased;
        uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account];

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] = _released[account] + payment;
        _totalReleased = _totalReleased + payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 4 of 17 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 5 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 7 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 9 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 10 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 15 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 16 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_baseURI","type":"string"}],"name":"ChangeBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_isBurnEnabled","type":"bool"}],"name":"ChangeIsBurnEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_duration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_maxCount","type":"uint256"}],"name":"ChangePresaleConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_baseURI","type":"string"}],"name":"ChangeProvenanceHash","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_maxCount","type":"uint256"}],"name":"ChangeSaleConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"GiftMint","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"}],"name":"PresaleMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"}],"name":"SaleMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum Fabergegg.WorkflowStatus","name":"previousStatus","type":"uint8"},{"indexed":false,"internalType":"enum Fabergegg.WorkflowStatus","name":"newStatus","type":"uint8"}],"name":"WorkflowStatusChange","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_giftClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_presaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_saleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWorkflowStatus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giftCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"giftMint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"isBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isOnPresaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mainMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"maxGiftSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleConfig","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"maxCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFromPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"maxCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isBurnEnabled","type":"bool"}],"name":"setIsBurnEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setUpPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setUpSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"workflow","outputs":[{"internalType":"enum Fabergegg.WorkflowStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

600a805460ff60a01b191690556127d960115560c9601255610120604052601e608081815260a082905260c0829052600660e0526004610100526200004791906005620005bf565b506040805160a081018252736d17b1456d874fc5d8877f5daefd14e7695a98828152738171b9f77985752d2b3214de9cd5a3aab24053f860208201527362ec77c23f7e9245d3dfa403d7e82ff761538fbd91810191909152737a777f180bc9180084125117aa9adec68c56829a606082015273822b14155b89cddfc85decef152dccb717082ed36080820152620000e390601f90600562000614565b50348015620000f157600080fd5b50601f8054806020026020016040519081016040528092919081815260200182805480156200014a57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200012b575b5050505050601e8054806020026020016040519081016040528092919081815260200182805480156200019d57602002820191906000526020600020905b81548152602001906001019080831162000188575b5050604080518082018252600e81526d2330b132b933b2b3b39021b63ab160911b6020808301918252835180850190945260048452634641424360e01b908401528151919550919350620001f69250600091906200066c565b5080516200020c9060019060208401906200066c565b50505062000229620002236200037b60201b60201c565b6200037f565b80518251146200029b5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002ee5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000292565b60005b825181101562000372576200035d8382815181106200032057634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200034957634e487b7160e01b600052603260045260246000fd5b6020026020010151620003d160201b60201c565b80620003698162000758565b915050620002f1565b5050506200078c565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200043e5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000292565b60008111620004905760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000292565b6001600160a01b0382166000908152600d6020526040902054156200050c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000292565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b546200057690829062000700565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b82805482825590600052602060002090810192821562000602579160200282015b8281111562000602578251829060ff16905591602001919060010190620005e0565b5062000610929150620006e9565b5090565b82805482825590600052602060002090810192821562000602579160200282015b828111156200060257825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000635565b8280546200067a906200071b565b90600052602060002090601f0160209004810192826200069e576000855562000602565b82601f10620006b957805160ff191683800117855562000602565b8280016001018555821562000602579182015b8281111562000602578251825591602001919060010190620006cc565b5b80821115620006105760008155600101620006ea565b6000821982111562000716576200071662000776565b500190565b600181811c908216806200073057607f821691505b602082108114156200075257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200076f576200076f62000776565b5060010190565b634e487b7160e01b600052601160045260246000fd5b614078806200079c6000396000f3fe60806040526004361061036e5760003560e01c8063710e132d116101c6578063a5fd7bec116100f7578063e33b7de311610095578063f2fde38b1161006f578063f2fde38b14610a81578063f578d9df14610aa1578063f75d64a614610ab4578063fd88fa6914610ac957600080fd5b8063e33b7de314610a0d578063e985e9c514610a22578063ed70037414610a6b57600080fd5b8063c87b56dd116100d1578063c87b56dd14610969578063cde27a3514610989578063ce7c2ac21461099f578063de00a68b146109d557600080fd5b8063a5fd7bec14610909578063b179e06014610929578063b88d4fde1461094957600080fd5b80638da5cb5b116101645780639852595c1161013e5780639852595c1461087757806398d5fdca146108ad578063a22cb465146108c2578063a3344125146108e257600080fd5b80638da5cb5b1461081457806390aa0b0f1461083257806395d89b411461086257600080fd5b80637f674f48116101a05780637f674f48146107855780638456cb59146107b25780638b83209b146107c75780638cc4de19146107e757600080fd5b8063710e132d14610730578063715018a6146107505780637204a3c91461076557600080fd5b80632f745c59116102a057806355f804b31161023e5780636352211e116102185780636352211e146106bb5780636c0360eb146106db5780636e0e5b19146106f057806370a082311461071057600080fd5b806355f804b3146106645780635c975abb146106845780635edbc28c146106a557600080fd5b806342842e0e1161027a57806342842e0e146105d757806342966c68146105f75780634f6ccce71461061757806352d728d91461063757600080fd5b80632f745c591461058d5780633a98ef39146105ad5780633f4ba83a146105c257600080fd5b80630f7309e81161030d57806319165587116102e757806319165587146105225780631f2898c31461054257806323b872dd146105575780632ab4d0521461057757600080fd5b80630f7309e8146104d857806310969523146104ed57806318160ddd1461050d57600080fd5b806307ebec271161034957806307ebec2714610437578063081812fc14610451578063095ea7b31461048957806309c3fbb7146104ab57600080fd5b8062456379146103bc57806301ffc9a7146103e557806306fdde031461041557600080fd5b366103b7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103c857600080fd5b506103d260155481565b6040519081526020015b60405180910390f35b3480156103f157600080fd5b50610405610400366004613b2b565b610b03565b60405190151581526020016103dc565b34801561042157600080fd5b5061042a610b2e565b6040516103dc9190613d2e565b34801561044357600080fd5b506016546104059060ff1681565b34801561045d57600080fd5b5061047161046c366004613c04565b610bc0565b6040516001600160a01b0390911681526020016103dc565b34801561049557600080fd5b506104a96104a4366004613a76565b610c5a565b005b3480156104b757600080fd5b506103d26104c6366004613931565b60236020526000908152604090205481565b3480156104e457600080fd5b5061042a610d70565b3480156104f957600080fd5b506104a9610508366004613bbe565b610dfe565b34801561051957600080fd5b506008546103d2565b34801561052e57600080fd5b506104a961053d366004613931565b610e76565b34801561054e57600080fd5b506104a9611048565b34801561056357600080fd5b506104a9610572366004613985565b6111e5565b34801561058357600080fd5b506103d260115481565b34801561059957600080fd5b506103d26105a8366004613a76565b611216565b3480156105b957600080fd5b50600b546103d2565b3480156105ce57600080fd5b506104a96112ac565b3480156105e357600080fd5b506104a96105f2366004613985565b611367565b34801561060357600080fd5b506104a9610612366004613c04565b611382565b34801561062357600080fd5b506103d2610632366004613c04565b611461565b34801561064357600080fd5b506103d2610652366004613931565b60226020526000908152604090205481565b34801561067057600080fd5b506104a961067f366004613b63565b611502565b34801561069057600080fd5b50600a5461040590600160a01b900460ff1681565b3480156106b157600080fd5b506103d260125481565b3480156106c757600080fd5b506104716106d6366004613c04565b611576565b3480156106e757600080fd5b5061042a6115ed565b3480156106fc57600080fd5b506104a961070b366004613b11565b6115fa565b34801561071c57600080fd5b506103d261072b366004613931565b611665565b34801561073c57600080fd5b506104a961074b366004613c04565b6116ec565b34801561075c57600080fd5b506104a9611807565b34801561077157600080fd5b506104a9610780366004613aa1565b61183d565b34801561079157600080fd5b506103d26107a0366004613931565b60246020526000908152604090205481565b3480156107be57600080fd5b506104a96119dc565b3480156107d357600080fd5b506104716107e2366004613c04565b611a6e565b3480156107f357600080fd5b506103d2610802366004613931565b60216020526000908152604090205481565b34801561082057600080fd5b50600a546001600160a01b0316610471565b34801561083e57600080fd5b50601b54601c5461084d919082565b604080519283526020830191909152016103dc565b34801561086e57600080fd5b5061042a611aac565b34801561088357600080fd5b506103d2610892366004613931565b6001600160a01b03166000908152600e602052604090205490565b3480156108b957600080fd5b506103d2611abb565b3480156108ce57600080fd5b506104a96108dd366004613a42565b611b91565b3480156108ee57600080fd5b506025546108fc9060ff1681565b6040516103dc9190613cd6565b34801561091557600080fd5b506104a9610924366004613aa1565b611c56565b34801561093557600080fd5b506104a9610944366004613aa1565b612022565b34801561095557600080fd5b506104a96109643660046139c5565b6121ca565b34801561097557600080fd5b5061042a610984366004613c04565b6121fc565b34801561099557600080fd5b506103d260145481565b3480156109ab57600080fd5b506103d26109ba366004613931565b6001600160a01b03166000908152600d602052604090205490565b3480156109e157600080fd5b506104056109f0366004613931565b6001600160a01b0316600090815260208052604090205460ff1690565b348015610a1957600080fd5b50600c546103d2565b348015610a2e57600080fd5b50610405610a3d36600461394d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a7757600080fd5b506103d260135481565b348015610a8d57600080fd5b506104a9610a9c366004613931565b6122d7565b6104a9610aaf366004613c04565b612372565b348015610ac057600080fd5b506103d2612473565b348015610ad557600080fd5b50601854601954601a54610ae892919083565b604080519384526020840192909252908201526060016103dc565b60006001600160e01b0319821663780e9d6360e01b1480610b285750610b288261253e565b92915050565b606060008054610b3d90613f6b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6990613f6b565b8015610bb65780601f10610b8b57610100808354040283529160200191610bb6565b820191906000526020600020905b815481529060010190602001808311610b9957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c3e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c6582611576565b9050806001600160a01b0316836001600160a01b03161415610cd35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c35565b336001600160a01b0382161480610cef5750610cef8133610a3d565b610d615760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c35565b610d6b838361258e565b505050565b60108054610d7d90613f6b565b80601f0160208091040260200160405190810160405280929190818152602001828054610da990613f6b565b8015610df65780601f10610dcb57610100808354040283529160200191610df6565b820191906000526020600020905b815481529060010190602001808311610dd957829003601f168201915b505050505081565b600a546001600160a01b03163314610e285760405162461bcd60e51b8152600401610c3590613d93565b8051610e3b90601090602084019061379e565b507f1a5a51b588fafafeb78f9cd3a3bb9b156f4b45e7bae967df658923e3457ae2c881604051610e6b9190613d2e565b60405180910390a150565b6001600160a01b0381166000908152600d6020526040902054610eea5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610c35565b6000600c5447610efa9190613edd565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192610f319085613f09565b610f3b9190613ef5565b610f459190613f28565b905080610fa85760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610c35565b6001600160a01b0383166000908152600e6020526040902054610fcc908290613edd565b6001600160a01b0384166000908152600e6020526040902055600c54610ff3908290613edd565b600c5561100083826125fc565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05691015b60405180910390a1505050565b600a546001600160a01b031633146110725760405162461bcd60e51b8152600401610c3590613d93565b600160255460ff16600381111561109957634e487b7160e01b600052602160045260246000fd5b146110b65760405162461bcd60e51b8152600401610c3590613e9a565b6040805160608101825260185480825260195460208301819052601a549383019390935290916000916110e99190613edd565b905080421161113a5760405162461bcd60e51b815260206004820152601b60248201527f4661626572676567673a2053616c65206e6f74207374617274656400000000006044820152606401610c35565b60408051808201825242808252600a6020928301819052601b829055601c8190558351828152928301819052909290917f07a1cedf4c1c75b37d60d4517d84a69a3d2ec0534f3a5093c93a94dde3a6a554910160405180910390a16025805460ff191660029081179091556040517f0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3f916111d79160019190613ce4565b60405180910390a150505050565b6111ef3382612715565b61120b5760405162461bcd60e51b8152600401610c3590613e12565b610d6b83838361280c565b600061122183611665565b82106112835760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c35565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146112d65760405162461bcd60e51b8152600401610c3590613d93565b600a54600160a01b900460ff1661132f5760405162461bcd60e51b815260206004820152601860248201527f5472616e73616374696f6e20697320617661696c61626c6500000000000000006044820152606401610c35565b600a805460ff60a01b191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b610d6b838383604051806020016040528060008152506121ca565b60165460ff166113d45760405162461bcd60e51b815260206004820152601b60248201527f4661626572676567673a206275726e696e672064697361626c656400000000006044820152606401610c35565b6113de3382612715565b6114435760405162461bcd60e51b815260206004820152603060248201527f4661626572676567673a206275726e2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610c35565b61144c816129b7565b600160155461145b9190613f28565b60155550565b600061146c60085490565b82106114cf5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c35565b600882815481106114f057634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b0316331461152c5760405162461bcd60e51b8152600401610c3590613d93565b61153860178383613822565b507f8a274cdd629b9aae599b13d8bfee3ee4a15350b0386a9b64087a393db0093767828260405161156a929190613cff565b60405180910390a15050565b6000818152600260205260408120546001600160a01b031680610b285760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c35565b60178054610d7d90613f6b565b600a546001600160a01b031633146116245760405162461bcd60e51b8152600401610c3590613d93565b6016805460ff19168215159081179091556040519081527f0343da01ca2a51743bc3a245ccf8007e27e6b919fb27b0f83cb5d60c2e8634f390602001610e6b565b60006001600160a01b0382166116d05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c35565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146117165760405162461bcd60e51b8152600401610c3590613d93565b600060255460ff16600381111561173d57634e487b7160e01b600052602160045260246000fd5b1461175a5760405162461bcd60e51b8152600401610c3590613e9a565b6040805160608082018352428083526020808401869052600293850184905260188290556019869055601a8490558451828152908101869052938401839052927f65fee6c7896ea03117fe27f91b636793950b4d6bfeab9389f1e96602f131bd6e910160405180910390a16025805460ff191660019081179091556040517f0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3f9161103b9160009190613ce4565b600a546001600160a01b031633146118315760405162461bcd60e51b8152600401610c3590613d93565b61183b6000612a5e565b565b600a546001600160a01b031633146118675760405162461bcd60e51b8152600401610c3590613d93565b60005b81811015610d6b57600083838381811061189457634e487b7160e01b600052603260045260246000fd5b90506020020160208101906118a99190613931565b6001600160a01b0316141561190c5760405162461bcd60e51b815260206004820152602360248201527f4661626572676567673a2043616e2774206164642061207a65726f206164647260448201526265737360e81b6064820152608401610c35565b6020600084848481811061193057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906119459190613931565b6001600160a01b0316815260208101919091526040016000205460ff166119ca5760016020600085858581811061198c57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906119a19190613931565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b806119d481613fa6565b91505061186a565b600a546001600160a01b03163314611a065760405162461bcd60e51b8152600401610c3590613d93565b600a54600160a01b900460ff1615611a305760405162461bcd60e51b8152600401610c3590613e63565b600a805460ff60a01b1916600160a01b1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6000600f8281548110611a9157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b606060018054610b3d90613f6b565b6040805160608101825260185481526019546020808301918252601a54838501528351808501909452601b548452601c54908401525181516000938493929091611b059190613edd565b4211611b1b5767011c37937e0800009250611b89565b8051611b2990615460613edd565b4211611b3f57670354a6ba7a1800009250611b89565b8051611b4d90615460613edd565b42118015611b6857508051611b649061a8c0613edd565b4211155b15611b7d576702386f26fc1000009250611b89565b67011c37937e08000092505b509092915050565b6001600160a01b038216331415611bea5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c35565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314611c805760405162461bcd60e51b8152600401610c3590613d93565b600a54600160a01b900460ff1615611caa5760405162461bcd60e51b8152600401610c3590613e63565b601154601554611cbb908390613edd565b1115611d155760405162461bcd60e51b8152602060048201526024808201527f4661626572676567673a206d617820746f74616c20737570706c7920657863656044820152631959195960e21b6064820152608401610c35565b601254601354611d26908390613edd565b1115611d805760405162461bcd60e51b815260206004820152602360248201527f4661626572676567673a206d6178206769667420737570706c7920657863656560448201526219195960ea1b6064820152608401610c35565b6000805b8281101561201c576000848483818110611dae57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611dc39190613931565b6001600160a01b03161415611e2b5760405162461bcd60e51b815260206004820152602860248201527f4661626572676567673a20726563657069656e7420697320746865206e756c6c604482015267206164647265737360c01b6064820152608401610c35565b611e39601d80546001019055565b601d549150611e7c848483818110611e6157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611e769190613931565b83612ab0565b60226000858584818110611ea057634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611eb59190613931565b6001600160a01b03168152602081019190915260400160002054611eda906001613edd565b60226000868685818110611efe57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611f139190613931565b6001600160a01b03166001600160a01b031681526020019081526020016000208190555060246000858584818110611f5b57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611f709190613931565b6001600160a01b03168152602081019190915260400160002054611f95906001613edd565b60246000868685818110611fb957634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611fce9190613931565b6001600160a01b03168152602081019190915260400160002055601554611ff6906001613edd565b601555601354612007906001613edd565b6013558061201481613fa6565b915050611d84565b50505050565b600a546001600160a01b0316331461204c5760405162461bcd60e51b8152600401610c3590613d93565b60005b81811015610d6b57600083838381811061207957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061208e9190613931565b6001600160a01b031614156120f45760405162461bcd60e51b815260206004820152602660248201527f4661626572676567673a2043616e27742072656d6f76652061207a65726f206160448201526564647265737360d01b6064820152608401610c35565b6020600084848481811061211857634e487b7160e01b600052603260045260246000fd5b905060200201602081019061212d9190613931565b6001600160a01b0316815260208101919091526040016000205460ff161515600114156121b85760006020600085858581811061217a57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061218f9190613931565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b806121c281613fa6565b91505061204f565b6121d43383612715565b6121f05760405162461bcd60e51b8152600401610c3590613e12565b61201c84848484612ace565b6000818152600260205260409020546060906001600160a01b031661227b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c35565b6000612285612b01565b905060008151116122a557604051806020016040528060008152506122d0565b806122af84612b10565b6040516020016122c0929190613c6a565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146123015760405162461bcd60e51b8152600401610c3590613d93565b6001600160a01b0381166123665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c35565b61236f81612a5e565b50565b600a54600160a01b900460ff161561239c5760405162461bcd60e51b8152600401610c3590613e63565b60185442116123ed5760405162461bcd60e51b815260206004820152601e60248201527f4661626572676567673a2070726573616c65206e6f74207374617274656400006044820152606401610c35565b6019546018546123fd9190613edd565b42116124115761240c81612c2a565b61241a565b61241a81612fcd565b6011548160155461242b9190613edd565b141561236f576025805460ff191660039081179091556040517f0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3f91610e6b9160029190613ce4565b6000808060255460ff16600381111561249c57634e487b7160e01b600052602160045260246000fd5b14156124a6575060015b600160255460ff1660038111156124cd57634e487b7160e01b600052602160045260246000fd5b14156124d7575060025b600260255460ff1660038111156124fe57634e487b7160e01b600052602160045260246000fd5b1415612508575060035b600360255460ff16600381111561252f57634e487b7160e01b600052602160045260246000fd5b1415612539575060045b919050565b60006001600160e01b031982166380ac58cd60e01b148061256f57506001600160e01b03198216635b5e139f60e01b145b80610b2857506301ffc9a760e01b6001600160e01b0319831614610b28565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906125c382611576565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8047101561264c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c35565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612699576040519150601f19603f3d011682016040523d82523d6000602084013e61269e565b606091505b5050905080610d6b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c35565b6000818152600260205260408120546001600160a01b031661278e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c35565b600061279983611576565b9050806001600160a01b0316846001600160a01b031614806127d45750836001600160a01b03166127c984610bc0565b6001600160a01b0316145b8061280457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661281f82611576565b6001600160a01b0316146128875760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c35565b6001600160a01b0382166128e95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c35565b6128f483838361329e565b6128ff60008261258e565b6001600160a01b0383166000908152600360205260408120805460019290612928908490613f28565b90915550506001600160a01b0382166000908152600360205260408120805460019290612956908490613edd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006129c282611576565b90506129d08160008461329e565b6129db60008361258e565b6001600160a01b0381166000908152600360205260408120805460019290612a04908490613f28565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612aca828260405180602001604052806000815250613356565b5050565b612ad984848461280c565b612ae584848484613389565b61201c5760405162461bcd60e51b8152600401610c3590613d41565b606060178054610b3d90613f6b565b606081612b345750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b5e5780612b4881613fa6565b9150612b579050600a83613ef5565b9150612b38565b60008167ffffffffffffffff811115612b8757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612bb1576020820181803683370190505b5090505b841561280457612bc6600183613f28565b9150612bd3600a86613fc1565b612bde906030613edd565b60f81b818381518110612c0157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612c23600a86613ef5565b9450612bb5565b604080516060810182526018548082526019546020830152601a549282019290925290612caf5760405162461bcd60e51b815260206004820152602d60248201527f4661626572676567673a2050726573616c65206d75737420626520616374697660448201526c6520746f206d696e742041706560981b6064820152608401610c35565b8051421015612d005760405162461bcd60e51b815260206004820152601e60248201527f4661626572676567673a2050726573616c65206e6f74207374617274656400006044820152606401610c35565b60208101518151612d119190613edd565b421115612d605760405162461bcd60e51b815260206004820152601b60248201527f4661626572676567673a2050726573616c6520697320656e64656400000000006044820152606401610c35565b33600090815260208052604090205460ff161515600114612dce5760405162461bcd60e51b815260206004820152602260248201527f2043616c6c6572206973206e6f74206f6e207468652070726573616c65206c696044820152611cdd60f21b6064820152608401610c35565b60408082015133600090815260216020529190912054612def908490613edd565b1115612e475760405162461bcd60e51b815260206004820152602160248201527f4661626572676567673a2043616e206f6e6c79206d696e74203220746f6b656e6044820152607360f81b6064820152608401610c35565b60115482601554612e589190613edd565b1115612ea65760405162461bcd60e51b815260206004820152601e60248201527f4661626572676567673a206d617820737570706c7920657863656564656400006044820152606401610c35565b6000612eb0611abb565b905034612ebd8483613f09565b1115612edb5760405162461bcd60e51b8152600401610c3590613dc8565b6000805b84811015612f8a57612ef5601d80546001019055565b601d549150612f043383612ab0565b33600090815260216020526040902054612f1f908690613edd565b33600090815260216020908152604080832093909355602490522054612f46908690613edd565b33600090815260246020526040902055601554612f64906001613edd565b601555601454612f75906001613edd565b60145580612f8281613fa6565b915050612edf565b50604080518581526020810184905233917f40038d437ff4cece80b344923544b3c8527d7f6aa2f9202a9734d5d9c7ffa0e091015b60405180910390a250505050565b60408051808201909152601b548152601c5460208201528161302a5760405162461bcd60e51b8152602060048201526016602482015275119858995c99d959d9ce881e995c9bc8185b5bdd5b9d60521b6044820152606401610c35565b80516130785760405162461bcd60e51b815260206004820152601d60248201527f4661626572676567673a2073616c65206973206e6f74206163746976650000006044820152606401610c35565b80514210156130c95760405162461bcd60e51b815260206004820152601b60248201527f4661626572676567673a2073616c65206e6f74207374617274656400000000006044820152606401610c35565b80602001518211156131335760405162461bcd60e51b815260206004820152602d60248201527f4661626572676567673a202043616e206f6e6c79206d696e7420313020746f6b60448201526c656e7320617420612074696d6560981b6064820152608401610c35565b601154826015546131449190613edd565b11156131925760405162461bcd60e51b815260206004820152601e60248201527f4661626572676567673a206d617820737570706c7920657863656564656400006044820152606401610c35565b600061319c611abb565b9050346131a98483613f09565b11156131c75760405162461bcd60e51b8152600401610c3590613dc8565b6000805b84811015613265576131e1601d80546001019055565b601d5491506131f03383612ab0565b3360009081526023602052604090205461320b908690613edd565b33600090815260236020908152604080832093909355602490522054613232908690613edd565b33600090815260246020526040902055601554613250906001613edd565b6015558061325d81613fa6565b9150506131cb565b50604080518581526020810184905233917f0d905a2e95960c2ad9e627d829fae00e7f3b9794c3b62a5c376cf5deee8f2a209101612fbf565b6001600160a01b0383166132f9576132f481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61331c565b816001600160a01b0316836001600160a01b03161461331c5761331c8382613496565b6001600160a01b03821661333357610d6b81613533565b826001600160a01b0316826001600160a01b031614610d6b57610d6b828261360c565b6133608383613650565b61336d6000848484613389565b610d6b5760405162461bcd60e51b8152600401610c3590613d41565b60006001600160a01b0384163b1561348b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906133cd903390899088908890600401613c99565b602060405180830381600087803b1580156133e757600080fd5b505af1925050508015613417575060408051601f3d908101601f1916820190925261341491810190613b47565b60015b613471573d808015613445576040519150601f19603f3d011682016040523d82523d6000602084013e61344a565b606091505b5080516134695760405162461bcd60e51b8152600401610c3590613d41565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612804565b506001949350505050565b600060016134a384611665565b6134ad9190613f28565b600083815260076020526040902054909150808214613500576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061354590600190613f28565b6000838152600960205260408120546008805493945090928490811061357b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106135aa57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806135f057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061361783611665565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166136a65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c35565b6000818152600260205260409020546001600160a01b03161561370b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c35565b6137176000838361329e565b6001600160a01b0382166000908152600360205260408120805460019290613740908490613edd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546137aa90613f6b565b90600052602060002090601f0160209004810192826137cc5760008555613812565b82601f106137e557805160ff1916838001178555613812565b82800160010185558215613812579182015b828111156138125782518255916020019190600101906137f7565b5061381e929150613896565b5090565b82805461382e90613f6b565b90600052602060002090601f0160209004810192826138505760008555613812565b82601f106138695782800160ff19823516178555613812565b82800160010185558215613812579182015b8281111561381257823582559160200191906001019061387b565b5b8082111561381e5760008155600101613897565b600067ffffffffffffffff808411156138c6576138c6614001565b604051601f8501601f19908116603f011681019082821181831017156138ee576138ee614001565b8160405280935085815286868601111561390757600080fd5b858560208301376000602087830101525050509392505050565b8035801515811461253957600080fd5b600060208284031215613942578081fd5b81356122d081614017565b6000806040838503121561395f578081fd5b823561396a81614017565b9150602083013561397a81614017565b809150509250929050565b600080600060608486031215613999578081fd5b83356139a481614017565b925060208401356139b481614017565b929592945050506040919091013590565b600080600080608085870312156139da578081fd5b84356139e581614017565b935060208501356139f581614017565b925060408501359150606085013567ffffffffffffffff811115613a17578182fd5b8501601f81018713613a27578182fd5b613a36878235602084016138ab565b91505092959194509250565b60008060408385031215613a54578182fd5b8235613a5f81614017565b9150613a6d60208401613921565b90509250929050565b60008060408385031215613a88578182fd5b8235613a9381614017565b946020939093013593505050565b60008060208385031215613ab3578182fd5b823567ffffffffffffffff80821115613aca578384fd5b818501915085601f830112613add578384fd5b813581811115613aeb578485fd5b8660208260051b8501011115613aff578485fd5b60209290920196919550909350505050565b600060208284031215613b22578081fd5b6122d082613921565b600060208284031215613b3c578081fd5b81356122d08161402c565b600060208284031215613b58578081fd5b81516122d08161402c565b60008060208385031215613b75578182fd5b823567ffffffffffffffff80821115613b8c578384fd5b818501915085601f830112613b9f578384fd5b813581811115613bad578485fd5b866020828501011115613aff578485fd5b600060208284031215613bcf578081fd5b813567ffffffffffffffff811115613be5578182fd5b8201601f81018413613bf5578182fd5b612804848235602084016138ab565b600060208284031215613c15578081fd5b5035919050565b60008151808452613c34816020860160208601613f3f565b601f01601f19169290920160200192915050565b60048110613c6657634e487b7160e01b600052602160045260246000fd5b9052565b60008351613c7c818460208801613f3f565b835190830190613c90818360208801613f3f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613ccc90830184613c1c565b9695505050505050565b60208101610b288284613c48565b60408101613cf28285613c48565b6122d06020830184613c48565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6020815260006122d06020830184613c1c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602a908201527f4661626572676567673a2045746865722076616c75652073656e74206973206e6040820152691bdd0818dbdc9c9958dd60b21b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601c908201527f5472616e73616374696f6e206973206e6f7420617661696c61626c6500000000604082015260600190565b60208082526023908201527f4661626572676567673a20556e617574686f72697a6564205472616e7361637460408201526234b7b760e91b606082015260800190565b60008219821115613ef057613ef0613fd5565b500190565b600082613f0457613f04613feb565b500490565b6000816000190483118215151615613f2357613f23613fd5565b500290565b600082821015613f3a57613f3a613fd5565b500390565b60005b83811015613f5a578181015183820152602001613f42565b8381111561201c5750506000910152565b600181811c90821680613f7f57607f821691505b60208210811415613fa057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613fba57613fba613fd5565b5060010190565b600082613fd057613fd0613feb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461236f57600080fd5b6001600160e01b03198116811461236f57600080fdfea26469706673582212203c6bde10b7a2b1e80dbb4aa97e526d911d6526221e900e0a8f6cc60d066b503664736f6c63430008040033

Deployed Bytecode

0x60806040526004361061036e5760003560e01c8063710e132d116101c6578063a5fd7bec116100f7578063e33b7de311610095578063f2fde38b1161006f578063f2fde38b14610a81578063f578d9df14610aa1578063f75d64a614610ab4578063fd88fa6914610ac957600080fd5b8063e33b7de314610a0d578063e985e9c514610a22578063ed70037414610a6b57600080fd5b8063c87b56dd116100d1578063c87b56dd14610969578063cde27a3514610989578063ce7c2ac21461099f578063de00a68b146109d557600080fd5b8063a5fd7bec14610909578063b179e06014610929578063b88d4fde1461094957600080fd5b80638da5cb5b116101645780639852595c1161013e5780639852595c1461087757806398d5fdca146108ad578063a22cb465146108c2578063a3344125146108e257600080fd5b80638da5cb5b1461081457806390aa0b0f1461083257806395d89b411461086257600080fd5b80637f674f48116101a05780637f674f48146107855780638456cb59146107b25780638b83209b146107c75780638cc4de19146107e757600080fd5b8063710e132d14610730578063715018a6146107505780637204a3c91461076557600080fd5b80632f745c59116102a057806355f804b31161023e5780636352211e116102185780636352211e146106bb5780636c0360eb146106db5780636e0e5b19146106f057806370a082311461071057600080fd5b806355f804b3146106645780635c975abb146106845780635edbc28c146106a557600080fd5b806342842e0e1161027a57806342842e0e146105d757806342966c68146105f75780634f6ccce71461061757806352d728d91461063757600080fd5b80632f745c591461058d5780633a98ef39146105ad5780633f4ba83a146105c257600080fd5b80630f7309e81161030d57806319165587116102e757806319165587146105225780631f2898c31461054257806323b872dd146105575780632ab4d0521461057757600080fd5b80630f7309e8146104d857806310969523146104ed57806318160ddd1461050d57600080fd5b806307ebec271161034957806307ebec2714610437578063081812fc14610451578063095ea7b31461048957806309c3fbb7146104ab57600080fd5b8062456379146103bc57806301ffc9a7146103e557806306fdde031461041557600080fd5b366103b7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103c857600080fd5b506103d260155481565b6040519081526020015b60405180910390f35b3480156103f157600080fd5b50610405610400366004613b2b565b610b03565b60405190151581526020016103dc565b34801561042157600080fd5b5061042a610b2e565b6040516103dc9190613d2e565b34801561044357600080fd5b506016546104059060ff1681565b34801561045d57600080fd5b5061047161046c366004613c04565b610bc0565b6040516001600160a01b0390911681526020016103dc565b34801561049557600080fd5b506104a96104a4366004613a76565b610c5a565b005b3480156104b757600080fd5b506103d26104c6366004613931565b60236020526000908152604090205481565b3480156104e457600080fd5b5061042a610d70565b3480156104f957600080fd5b506104a9610508366004613bbe565b610dfe565b34801561051957600080fd5b506008546103d2565b34801561052e57600080fd5b506104a961053d366004613931565b610e76565b34801561054e57600080fd5b506104a9611048565b34801561056357600080fd5b506104a9610572366004613985565b6111e5565b34801561058357600080fd5b506103d260115481565b34801561059957600080fd5b506103d26105a8366004613a76565b611216565b3480156105b957600080fd5b50600b546103d2565b3480156105ce57600080fd5b506104a96112ac565b3480156105e357600080fd5b506104a96105f2366004613985565b611367565b34801561060357600080fd5b506104a9610612366004613c04565b611382565b34801561062357600080fd5b506103d2610632366004613c04565b611461565b34801561064357600080fd5b506103d2610652366004613931565b60226020526000908152604090205481565b34801561067057600080fd5b506104a961067f366004613b63565b611502565b34801561069057600080fd5b50600a5461040590600160a01b900460ff1681565b3480156106b157600080fd5b506103d260125481565b3480156106c757600080fd5b506104716106d6366004613c04565b611576565b3480156106e757600080fd5b5061042a6115ed565b3480156106fc57600080fd5b506104a961070b366004613b11565b6115fa565b34801561071c57600080fd5b506103d261072b366004613931565b611665565b34801561073c57600080fd5b506104a961074b366004613c04565b6116ec565b34801561075c57600080fd5b506104a9611807565b34801561077157600080fd5b506104a9610780366004613aa1565b61183d565b34801561079157600080fd5b506103d26107a0366004613931565b60246020526000908152604090205481565b3480156107be57600080fd5b506104a96119dc565b3480156107d357600080fd5b506104716107e2366004613c04565b611a6e565b3480156107f357600080fd5b506103d2610802366004613931565b60216020526000908152604090205481565b34801561082057600080fd5b50600a546001600160a01b0316610471565b34801561083e57600080fd5b50601b54601c5461084d919082565b604080519283526020830191909152016103dc565b34801561086e57600080fd5b5061042a611aac565b34801561088357600080fd5b506103d2610892366004613931565b6001600160a01b03166000908152600e602052604090205490565b3480156108b957600080fd5b506103d2611abb565b3480156108ce57600080fd5b506104a96108dd366004613a42565b611b91565b3480156108ee57600080fd5b506025546108fc9060ff1681565b6040516103dc9190613cd6565b34801561091557600080fd5b506104a9610924366004613aa1565b611c56565b34801561093557600080fd5b506104a9610944366004613aa1565b612022565b34801561095557600080fd5b506104a96109643660046139c5565b6121ca565b34801561097557600080fd5b5061042a610984366004613c04565b6121fc565b34801561099557600080fd5b506103d260145481565b3480156109ab57600080fd5b506103d26109ba366004613931565b6001600160a01b03166000908152600d602052604090205490565b3480156109e157600080fd5b506104056109f0366004613931565b6001600160a01b0316600090815260208052604090205460ff1690565b348015610a1957600080fd5b50600c546103d2565b348015610a2e57600080fd5b50610405610a3d36600461394d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a7757600080fd5b506103d260135481565b348015610a8d57600080fd5b506104a9610a9c366004613931565b6122d7565b6104a9610aaf366004613c04565b612372565b348015610ac057600080fd5b506103d2612473565b348015610ad557600080fd5b50601854601954601a54610ae892919083565b604080519384526020840192909252908201526060016103dc565b60006001600160e01b0319821663780e9d6360e01b1480610b285750610b288261253e565b92915050565b606060008054610b3d90613f6b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6990613f6b565b8015610bb65780601f10610b8b57610100808354040283529160200191610bb6565b820191906000526020600020905b815481529060010190602001808311610b9957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c3e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c6582611576565b9050806001600160a01b0316836001600160a01b03161415610cd35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c35565b336001600160a01b0382161480610cef5750610cef8133610a3d565b610d615760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c35565b610d6b838361258e565b505050565b60108054610d7d90613f6b565b80601f0160208091040260200160405190810160405280929190818152602001828054610da990613f6b565b8015610df65780601f10610dcb57610100808354040283529160200191610df6565b820191906000526020600020905b815481529060010190602001808311610dd957829003601f168201915b505050505081565b600a546001600160a01b03163314610e285760405162461bcd60e51b8152600401610c3590613d93565b8051610e3b90601090602084019061379e565b507f1a5a51b588fafafeb78f9cd3a3bb9b156f4b45e7bae967df658923e3457ae2c881604051610e6b9190613d2e565b60405180910390a150565b6001600160a01b0381166000908152600d6020526040902054610eea5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610c35565b6000600c5447610efa9190613edd565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192610f319085613f09565b610f3b9190613ef5565b610f459190613f28565b905080610fa85760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610c35565b6001600160a01b0383166000908152600e6020526040902054610fcc908290613edd565b6001600160a01b0384166000908152600e6020526040902055600c54610ff3908290613edd565b600c5561100083826125fc565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05691015b60405180910390a1505050565b600a546001600160a01b031633146110725760405162461bcd60e51b8152600401610c3590613d93565b600160255460ff16600381111561109957634e487b7160e01b600052602160045260246000fd5b146110b65760405162461bcd60e51b8152600401610c3590613e9a565b6040805160608101825260185480825260195460208301819052601a549383019390935290916000916110e99190613edd565b905080421161113a5760405162461bcd60e51b815260206004820152601b60248201527f4661626572676567673a2053616c65206e6f74207374617274656400000000006044820152606401610c35565b60408051808201825242808252600a6020928301819052601b829055601c8190558351828152928301819052909290917f07a1cedf4c1c75b37d60d4517d84a69a3d2ec0534f3a5093c93a94dde3a6a554910160405180910390a16025805460ff191660029081179091556040517f0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3f916111d79160019190613ce4565b60405180910390a150505050565b6111ef3382612715565b61120b5760405162461bcd60e51b8152600401610c3590613e12565b610d6b83838361280c565b600061122183611665565b82106112835760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c35565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146112d65760405162461bcd60e51b8152600401610c3590613d93565b600a54600160a01b900460ff1661132f5760405162461bcd60e51b815260206004820152601860248201527f5472616e73616374696f6e20697320617661696c61626c6500000000000000006044820152606401610c35565b600a805460ff60a01b191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b610d6b838383604051806020016040528060008152506121ca565b60165460ff166113d45760405162461bcd60e51b815260206004820152601b60248201527f4661626572676567673a206275726e696e672064697361626c656400000000006044820152606401610c35565b6113de3382612715565b6114435760405162461bcd60e51b815260206004820152603060248201527f4661626572676567673a206275726e2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610c35565b61144c816129b7565b600160155461145b9190613f28565b60155550565b600061146c60085490565b82106114cf5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c35565b600882815481106114f057634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b0316331461152c5760405162461bcd60e51b8152600401610c3590613d93565b61153860178383613822565b507f8a274cdd629b9aae599b13d8bfee3ee4a15350b0386a9b64087a393db0093767828260405161156a929190613cff565b60405180910390a15050565b6000818152600260205260408120546001600160a01b031680610b285760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c35565b60178054610d7d90613f6b565b600a546001600160a01b031633146116245760405162461bcd60e51b8152600401610c3590613d93565b6016805460ff19168215159081179091556040519081527f0343da01ca2a51743bc3a245ccf8007e27e6b919fb27b0f83cb5d60c2e8634f390602001610e6b565b60006001600160a01b0382166116d05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c35565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146117165760405162461bcd60e51b8152600401610c3590613d93565b600060255460ff16600381111561173d57634e487b7160e01b600052602160045260246000fd5b1461175a5760405162461bcd60e51b8152600401610c3590613e9a565b6040805160608082018352428083526020808401869052600293850184905260188290556019869055601a8490558451828152908101869052938401839052927f65fee6c7896ea03117fe27f91b636793950b4d6bfeab9389f1e96602f131bd6e910160405180910390a16025805460ff191660019081179091556040517f0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3f9161103b9160009190613ce4565b600a546001600160a01b031633146118315760405162461bcd60e51b8152600401610c3590613d93565b61183b6000612a5e565b565b600a546001600160a01b031633146118675760405162461bcd60e51b8152600401610c3590613d93565b60005b81811015610d6b57600083838381811061189457634e487b7160e01b600052603260045260246000fd5b90506020020160208101906118a99190613931565b6001600160a01b0316141561190c5760405162461bcd60e51b815260206004820152602360248201527f4661626572676567673a2043616e2774206164642061207a65726f206164647260448201526265737360e81b6064820152608401610c35565b6020600084848481811061193057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906119459190613931565b6001600160a01b0316815260208101919091526040016000205460ff166119ca5760016020600085858581811061198c57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906119a19190613931565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b806119d481613fa6565b91505061186a565b600a546001600160a01b03163314611a065760405162461bcd60e51b8152600401610c3590613d93565b600a54600160a01b900460ff1615611a305760405162461bcd60e51b8152600401610c3590613e63565b600a805460ff60a01b1916600160a01b1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b6000600f8281548110611a9157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b606060018054610b3d90613f6b565b6040805160608101825260185481526019546020808301918252601a54838501528351808501909452601b548452601c54908401525181516000938493929091611b059190613edd565b4211611b1b5767011c37937e0800009250611b89565b8051611b2990615460613edd565b4211611b3f57670354a6ba7a1800009250611b89565b8051611b4d90615460613edd565b42118015611b6857508051611b649061a8c0613edd565b4211155b15611b7d576702386f26fc1000009250611b89565b67011c37937e08000092505b509092915050565b6001600160a01b038216331415611bea5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c35565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314611c805760405162461bcd60e51b8152600401610c3590613d93565b600a54600160a01b900460ff1615611caa5760405162461bcd60e51b8152600401610c3590613e63565b601154601554611cbb908390613edd565b1115611d155760405162461bcd60e51b8152602060048201526024808201527f4661626572676567673a206d617820746f74616c20737570706c7920657863656044820152631959195960e21b6064820152608401610c35565b601254601354611d26908390613edd565b1115611d805760405162461bcd60e51b815260206004820152602360248201527f4661626572676567673a206d6178206769667420737570706c7920657863656560448201526219195960ea1b6064820152608401610c35565b6000805b8281101561201c576000848483818110611dae57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611dc39190613931565b6001600160a01b03161415611e2b5760405162461bcd60e51b815260206004820152602860248201527f4661626572676567673a20726563657069656e7420697320746865206e756c6c604482015267206164647265737360c01b6064820152608401610c35565b611e39601d80546001019055565b601d549150611e7c848483818110611e6157634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611e769190613931565b83612ab0565b60226000858584818110611ea057634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611eb59190613931565b6001600160a01b03168152602081019190915260400160002054611eda906001613edd565b60226000868685818110611efe57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611f139190613931565b6001600160a01b03166001600160a01b031681526020019081526020016000208190555060246000858584818110611f5b57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611f709190613931565b6001600160a01b03168152602081019190915260400160002054611f95906001613edd565b60246000868685818110611fb957634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611fce9190613931565b6001600160a01b03168152602081019190915260400160002055601554611ff6906001613edd565b601555601354612007906001613edd565b6013558061201481613fa6565b915050611d84565b50505050565b600a546001600160a01b0316331461204c5760405162461bcd60e51b8152600401610c3590613d93565b60005b81811015610d6b57600083838381811061207957634e487b7160e01b600052603260045260246000fd5b905060200201602081019061208e9190613931565b6001600160a01b031614156120f45760405162461bcd60e51b815260206004820152602660248201527f4661626572676567673a2043616e27742072656d6f76652061207a65726f206160448201526564647265737360d01b6064820152608401610c35565b6020600084848481811061211857634e487b7160e01b600052603260045260246000fd5b905060200201602081019061212d9190613931565b6001600160a01b0316815260208101919091526040016000205460ff161515600114156121b85760006020600085858581811061217a57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061218f9190613931565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790555b806121c281613fa6565b91505061204f565b6121d43383612715565b6121f05760405162461bcd60e51b8152600401610c3590613e12565b61201c84848484612ace565b6000818152600260205260409020546060906001600160a01b031661227b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c35565b6000612285612b01565b905060008151116122a557604051806020016040528060008152506122d0565b806122af84612b10565b6040516020016122c0929190613c6a565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146123015760405162461bcd60e51b8152600401610c3590613d93565b6001600160a01b0381166123665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c35565b61236f81612a5e565b50565b600a54600160a01b900460ff161561239c5760405162461bcd60e51b8152600401610c3590613e63565b60185442116123ed5760405162461bcd60e51b815260206004820152601e60248201527f4661626572676567673a2070726573616c65206e6f74207374617274656400006044820152606401610c35565b6019546018546123fd9190613edd565b42116124115761240c81612c2a565b61241a565b61241a81612fcd565b6011548160155461242b9190613edd565b141561236f576025805460ff191660039081179091556040517f0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3f91610e6b9160029190613ce4565b6000808060255460ff16600381111561249c57634e487b7160e01b600052602160045260246000fd5b14156124a6575060015b600160255460ff1660038111156124cd57634e487b7160e01b600052602160045260246000fd5b14156124d7575060025b600260255460ff1660038111156124fe57634e487b7160e01b600052602160045260246000fd5b1415612508575060035b600360255460ff16600381111561252f57634e487b7160e01b600052602160045260246000fd5b1415612539575060045b919050565b60006001600160e01b031982166380ac58cd60e01b148061256f57506001600160e01b03198216635b5e139f60e01b145b80610b2857506301ffc9a760e01b6001600160e01b0319831614610b28565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906125c382611576565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8047101561264c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c35565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612699576040519150601f19603f3d011682016040523d82523d6000602084013e61269e565b606091505b5050905080610d6b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c35565b6000818152600260205260408120546001600160a01b031661278e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c35565b600061279983611576565b9050806001600160a01b0316846001600160a01b031614806127d45750836001600160a01b03166127c984610bc0565b6001600160a01b0316145b8061280457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661281f82611576565b6001600160a01b0316146128875760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c35565b6001600160a01b0382166128e95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c35565b6128f483838361329e565b6128ff60008261258e565b6001600160a01b0383166000908152600360205260408120805460019290612928908490613f28565b90915550506001600160a01b0382166000908152600360205260408120805460019290612956908490613edd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006129c282611576565b90506129d08160008461329e565b6129db60008361258e565b6001600160a01b0381166000908152600360205260408120805460019290612a04908490613f28565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612aca828260405180602001604052806000815250613356565b5050565b612ad984848461280c565b612ae584848484613389565b61201c5760405162461bcd60e51b8152600401610c3590613d41565b606060178054610b3d90613f6b565b606081612b345750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612b5e5780612b4881613fa6565b9150612b579050600a83613ef5565b9150612b38565b60008167ffffffffffffffff811115612b8757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612bb1576020820181803683370190505b5090505b841561280457612bc6600183613f28565b9150612bd3600a86613fc1565b612bde906030613edd565b60f81b818381518110612c0157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612c23600a86613ef5565b9450612bb5565b604080516060810182526018548082526019546020830152601a549282019290925290612caf5760405162461bcd60e51b815260206004820152602d60248201527f4661626572676567673a2050726573616c65206d75737420626520616374697660448201526c6520746f206d696e742041706560981b6064820152608401610c35565b8051421015612d005760405162461bcd60e51b815260206004820152601e60248201527f4661626572676567673a2050726573616c65206e6f74207374617274656400006044820152606401610c35565b60208101518151612d119190613edd565b421115612d605760405162461bcd60e51b815260206004820152601b60248201527f4661626572676567673a2050726573616c6520697320656e64656400000000006044820152606401610c35565b33600090815260208052604090205460ff161515600114612dce5760405162461bcd60e51b815260206004820152602260248201527f2043616c6c6572206973206e6f74206f6e207468652070726573616c65206c696044820152611cdd60f21b6064820152608401610c35565b60408082015133600090815260216020529190912054612def908490613edd565b1115612e475760405162461bcd60e51b815260206004820152602160248201527f4661626572676567673a2043616e206f6e6c79206d696e74203220746f6b656e6044820152607360f81b6064820152608401610c35565b60115482601554612e589190613edd565b1115612ea65760405162461bcd60e51b815260206004820152601e60248201527f4661626572676567673a206d617820737570706c7920657863656564656400006044820152606401610c35565b6000612eb0611abb565b905034612ebd8483613f09565b1115612edb5760405162461bcd60e51b8152600401610c3590613dc8565b6000805b84811015612f8a57612ef5601d80546001019055565b601d549150612f043383612ab0565b33600090815260216020526040902054612f1f908690613edd565b33600090815260216020908152604080832093909355602490522054612f46908690613edd565b33600090815260246020526040902055601554612f64906001613edd565b601555601454612f75906001613edd565b60145580612f8281613fa6565b915050612edf565b50604080518581526020810184905233917f40038d437ff4cece80b344923544b3c8527d7f6aa2f9202a9734d5d9c7ffa0e091015b60405180910390a250505050565b60408051808201909152601b548152601c5460208201528161302a5760405162461bcd60e51b8152602060048201526016602482015275119858995c99d959d9ce881e995c9bc8185b5bdd5b9d60521b6044820152606401610c35565b80516130785760405162461bcd60e51b815260206004820152601d60248201527f4661626572676567673a2073616c65206973206e6f74206163746976650000006044820152606401610c35565b80514210156130c95760405162461bcd60e51b815260206004820152601b60248201527f4661626572676567673a2073616c65206e6f74207374617274656400000000006044820152606401610c35565b80602001518211156131335760405162461bcd60e51b815260206004820152602d60248201527f4661626572676567673a202043616e206f6e6c79206d696e7420313020746f6b60448201526c656e7320617420612074696d6560981b6064820152608401610c35565b601154826015546131449190613edd565b11156131925760405162461bcd60e51b815260206004820152601e60248201527f4661626572676567673a206d617820737570706c7920657863656564656400006044820152606401610c35565b600061319c611abb565b9050346131a98483613f09565b11156131c75760405162461bcd60e51b8152600401610c3590613dc8565b6000805b84811015613265576131e1601d80546001019055565b601d5491506131f03383612ab0565b3360009081526023602052604090205461320b908690613edd565b33600090815260236020908152604080832093909355602490522054613232908690613edd565b33600090815260246020526040902055601554613250906001613edd565b6015558061325d81613fa6565b9150506131cb565b50604080518581526020810184905233917f0d905a2e95960c2ad9e627d829fae00e7f3b9794c3b62a5c376cf5deee8f2a209101612fbf565b6001600160a01b0383166132f9576132f481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61331c565b816001600160a01b0316836001600160a01b03161461331c5761331c8382613496565b6001600160a01b03821661333357610d6b81613533565b826001600160a01b0316826001600160a01b031614610d6b57610d6b828261360c565b6133608383613650565b61336d6000848484613389565b610d6b5760405162461bcd60e51b8152600401610c3590613d41565b60006001600160a01b0384163b1561348b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906133cd903390899088908890600401613c99565b602060405180830381600087803b1580156133e757600080fd5b505af1925050508015613417575060408051601f3d908101601f1916820190925261341491810190613b47565b60015b613471573d808015613445576040519150601f19603f3d011682016040523d82523d6000602084013e61344a565b606091505b5080516134695760405162461bcd60e51b8152600401610c3590613d41565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612804565b506001949350505050565b600060016134a384611665565b6134ad9190613f28565b600083815260076020526040902054909150808214613500576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061354590600190613f28565b6000838152600960205260408120546008805493945090928490811061357b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106135aa57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806135f057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061361783611665565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166136a65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c35565b6000818152600260205260409020546001600160a01b03161561370b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c35565b6137176000838361329e565b6001600160a01b0382166000908152600360205260408120805460019290613740908490613edd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546137aa90613f6b565b90600052602060002090601f0160209004810192826137cc5760008555613812565b82601f106137e557805160ff1916838001178555613812565b82800160010185558215613812579182015b828111156138125782518255916020019190600101906137f7565b5061381e929150613896565b5090565b82805461382e90613f6b565b90600052602060002090601f0160209004810192826138505760008555613812565b82601f106138695782800160ff19823516178555613812565b82800160010185558215613812579182015b8281111561381257823582559160200191906001019061387b565b5b8082111561381e5760008155600101613897565b600067ffffffffffffffff808411156138c6576138c6614001565b604051601f8501601f19908116603f011681019082821181831017156138ee576138ee614001565b8160405280935085815286868601111561390757600080fd5b858560208301376000602087830101525050509392505050565b8035801515811461253957600080fd5b600060208284031215613942578081fd5b81356122d081614017565b6000806040838503121561395f578081fd5b823561396a81614017565b9150602083013561397a81614017565b809150509250929050565b600080600060608486031215613999578081fd5b83356139a481614017565b925060208401356139b481614017565b929592945050506040919091013590565b600080600080608085870312156139da578081fd5b84356139e581614017565b935060208501356139f581614017565b925060408501359150606085013567ffffffffffffffff811115613a17578182fd5b8501601f81018713613a27578182fd5b613a36878235602084016138ab565b91505092959194509250565b60008060408385031215613a54578182fd5b8235613a5f81614017565b9150613a6d60208401613921565b90509250929050565b60008060408385031215613a88578182fd5b8235613a9381614017565b946020939093013593505050565b60008060208385031215613ab3578182fd5b823567ffffffffffffffff80821115613aca578384fd5b818501915085601f830112613add578384fd5b813581811115613aeb578485fd5b8660208260051b8501011115613aff578485fd5b60209290920196919550909350505050565b600060208284031215613b22578081fd5b6122d082613921565b600060208284031215613b3c578081fd5b81356122d08161402c565b600060208284031215613b58578081fd5b81516122d08161402c565b60008060208385031215613b75578182fd5b823567ffffffffffffffff80821115613b8c578384fd5b818501915085601f830112613b9f578384fd5b813581811115613bad578485fd5b866020828501011115613aff578485fd5b600060208284031215613bcf578081fd5b813567ffffffffffffffff811115613be5578182fd5b8201601f81018413613bf5578182fd5b612804848235602084016138ab565b600060208284031215613c15578081fd5b5035919050565b60008151808452613c34816020860160208601613f3f565b601f01601f19169290920160200192915050565b60048110613c6657634e487b7160e01b600052602160045260246000fd5b9052565b60008351613c7c818460208801613f3f565b835190830190613c90818360208801613f3f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613ccc90830184613c1c565b9695505050505050565b60208101610b288284613c48565b60408101613cf28285613c48565b6122d06020830184613c48565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6020815260006122d06020830184613c1c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602a908201527f4661626572676567673a2045746865722076616c75652073656e74206973206e6040820152691bdd0818dbdc9c9958dd60b21b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601c908201527f5472616e73616374696f6e206973206e6f7420617661696c61626c6500000000604082015260600190565b60208082526023908201527f4661626572676567673a20556e617574686f72697a6564205472616e7361637460408201526234b7b760e91b606082015260800190565b60008219821115613ef057613ef0613fd5565b500190565b600082613f0457613f04613feb565b500490565b6000816000190483118215151615613f2357613f23613fd5565b500290565b600082821015613f3a57613f3a613fd5565b500390565b60005b83811015613f5a578181015183820152602001613f42565b8381111561201c5750506000910152565b600181811c90821680613f7f57607f821691505b60208210811415613fa057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613fba57613fba613fd5565b5060010190565b600082613fd057613fd0613feb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461236f57600080fd5b6001600160e01b03198116811461236f57600080fdfea26469706673582212203c6bde10b7a2b1e80dbb4aa97e526d911d6526221e900e0a8f6cc60d066b503664736f6c63430008040033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.