ETH Price: $3,258.39 (+3.30%)
Gas: 3 Gwei

Token

Bao3D ()
 

Overview

Max Total Supply

313

Holders

205

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
felipeguo.eth
0x19dc51950eecd6a6b84998da6c15b92ef7982acd
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:
BAO3D

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : BAO3D.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";


interface ERC1155Partial {
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;
    function balanceOf(address account, uint256 id) external view returns (uint256);
}

contract BAO3D is ERC1155, Ownable,ReentrancyGuard {
  
     //To concatenate the URL of an NFT
    using Strings for uint256;

    //To check the addresses in the whitelist
    bytes32 private mR;   

    //name of the collection
    //string public name = "KPK Relics"; 
    string public name = "Bao3D"; 

    uint256 public numberTokenSold = 0;
    uint256 public maxSupply = 1000;

    //Is the contract paused ?
    bool public paused = false;

    mapping(address => uint256) public nftsPerWallet;
    mapping(address => uint256) public nftsBurnPerWallet;
    
    //Genesis contract
    ERC1155Partial tokenContract;
    

    constructor() ERC1155("https://kopokostudio.s3.eu-west-3.amazonaws.com/BAO3D/metadata/{id}.json") {

        transferOwnership(msg.sender);
    }

    function uri(uint256 _tokenid) override public pure returns (string memory) {
        return string(
            abi.encodePacked(
                "https://kopokostudio.s3.eu-west-3.amazonaws.com/BAO3D/metadata/",
                Strings.toString(_tokenid),".json"
            )
        );
    }


     /** 
    * @notice Set pause to true or false
    *
    * @param _tokenContract True or false if you want the contract to be paused or not
    **/
    function setBAOContract(ERC1155Partial _tokenContract) external onlyOwner {
         tokenContract = _tokenContract;
    }

    /** 
    * @notice Set pause to true or false
    *
    * @param _paused True or false if you want the contract to be paused or not
    **/
    function setPaused(bool _paused) external onlyOwner {
        paused = _paused;
    }

     /**
    * @notice Allows to mint one NFT if whitelisted
    *
    * 
    * @param _tokenID The _tokenID of NFTs the user wants to mint
    * @param _amount The ammount of NFTs the user wants to mint
    **/
    function mintBAO(uint256 _tokenID, uint256 _amount) external payable nonReentrant {
        

        require(!paused, "Break time...");
        require(numberTokenSold + _amount <= maxSupply, "Too many.");
        require(tokenContract.balanceOf(msg.sender,1) > 0,"You don't own BAO NFT");
        require(_amount > 0,"You need to burn more than 0 BAO NFT");
        tokenContract.safeTransferFrom(msg.sender,address(0x000000000000000000000000000000000000dEaD),_tokenID,_amount,"");
        //Mint the user NFT
        _mint(msg.sender, _tokenID, _amount, "");

        //Increment the number of NFTs this user minted
        nftsPerWallet[msg.sender] += _amount;
        numberTokenSold += _amount;

    }


    /**
    * @notice Allows to burn one NFT to an address
    *
    * @param tokenID The id of the token
    * @param amount The amount to burn
    **/
    function burn(uint256 tokenID, uint256 amount) external {
        require(!paused,"You can't burn yet...");
        _burn(msg.sender, tokenID, amount);
        nftsBurnPerWallet[msg.sender] += amount;
        
       
    }

    /**
    * @notice Allows to gift one NFT to an address
    *
    * @param _account The account of the happy new owner of one NFT
    * @param _tokenID The _tokenID of NFTs the user wants to mint
    * @param _amount The ammount of NFTs the user wants to mint
    **/
    function gift(address _account,uint256 _tokenID, uint256 _amount) external onlyOwner {
       
        //Mint the user NFT
        _mint(_account, _tokenID, _amount, "");

        //Increment the number of NFTs this user minted
        nftsPerWallet[_account] += _amount;
        numberTokenSold += _amount;
        

    }

    


}

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

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 3 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 10 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintBAO","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftsBurnPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberTokenSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ERC1155Partial","name":"_tokenContract","type":"address"}],"name":"setBAOContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenid","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"}]

60806040526040518060400160405280600581526020017f42616f334400000000000000000000000000000000000000000000000000000081525060069080519060200190620000519291906200032d565b5060006007556103e86008556000600960006101000a81548160ff0219169083151502179055503480156200008557600080fd5b50604051806080016040528060488152602001620044dd60489139620000b181620000f160201b60201c565b50620000d2620000c66200010d60201b60201c565b6200011560201b60201c565b6001600481905550620000eb33620001db60201b60201c565b6200055d565b8060029080519060200190620001099291906200032d565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001eb6200027260201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200025e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000255906200042b565b60405180910390fd5b6200026f816200011560201b60201c565b50565b620002826200010d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002a86200030360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000301576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f8906200044d565b60405180910390fd5b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200033b9062000480565b90600052602060002090601f0160209004810192826200035f5760008555620003ab565b82601f106200037a57805160ff1916838001178555620003ab565b82800160010185558215620003ab579182015b82811115620003aa5782518255916020019190600101906200038d565b5b509050620003ba9190620003be565b5090565b5b80821115620003d9576000816000905550600101620003bf565b5090565b6000620003ec6026836200046f565b9150620003f982620004e5565b604082019050919050565b6000620004136020836200046f565b9150620004208262000534565b602082019050919050565b600060208201905081810360008301526200044681620003dd565b9050919050565b60006020820190508181036000830152620004688162000404565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200049957607f821691505b60208210811415620004b057620004af620004b6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b613f70806200056d6000396000f3fe6080604052600436106101345760003560e01c8063715018a6116100ab578063d5abeb011161006f578063d5abeb0114610435578063deeaa17614610460578063e985e9c51461047c578063f1791cdc146104b9578063f242432a146104e4578063f2fde38b1461050d57610134565b8063715018a6146103645780638da5cb5b1461037b578063949fb49c146103a6578063a22cb465146103e3578063b390c0ab1461040c57610134565b806316c38b3c116100fd57806316c38b3c146102585780632eb2c2d6146102815780634e1273f4146102aa5780634ee4aa37146102e7578063598d00a9146103105780635c975abb1461033957610134565b8062fdd58e1461013957806301ffc9a71461017657806306fdde03146101b357806309277689146101de5780630e89341c1461021b575b600080fd5b34801561014557600080fd5b50610160600480360381019061015b91906127c7565b610536565b60405161016d919061334a565b60405180910390f35b34801561018257600080fd5b5061019d600480360381019061019891906128ff565b6105ff565b6040516101aa919061308d565b60405180910390f35b3480156101bf57600080fd5b506101c86106e1565b6040516101d591906130a8565b60405180910390f35b3480156101ea57600080fd5b50610205600480360381019061020091906125b4565b61076f565b604051610212919061334a565b60405180910390f35b34801561022757600080fd5b50610242600480360381019061023d9190612986565b610787565b60405161024f91906130a8565b60405180910390f35b34801561026457600080fd5b5061027f600480360381019061027a91906128d2565b6107b8565b005b34801561028d57600080fd5b506102a860048036038101906102a39190612621565b6107dd565b005b3480156102b657600080fd5b506102d160048036038101906102cc919061285a565b61087e565b6040516102de9190613034565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190612959565b610997565b005b34801561031c57600080fd5b5061033760048036038101906103329190612807565b6109e3565b005b34801561034557600080fd5b5061034e610a7a565b60405161035b919061308d565b60405180910390f35b34801561037057600080fd5b50610379610a8d565b005b34801561038757600080fd5b50610390610aa1565b60405161039d9190612ed6565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c891906125b4565b610acb565b6040516103da919061334a565b60405180910390f35b3480156103ef57600080fd5b5061040a60048036038101906104059190612787565b610ae3565b005b34801561041857600080fd5b50610433600480360381019061042e91906129e0565b610af9565b005b34801561044157600080fd5b5061044a610bae565b604051610457919061334a565b60405180910390f35b61047a600480360381019061047591906129e0565b610bb4565b005b34801561048857600080fd5b506104a3600480360381019061049e91906125e1565b610f01565b6040516104b0919061308d565b60405180910390f35b3480156104c557600080fd5b506104ce610f95565b6040516104db919061334a565b60405180910390f35b3480156104f057600080fd5b5061050b600480360381019061050691906126f0565b610f9b565b005b34801561051957600080fd5b50610534600480360381019061052f91906125b4565b61103c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059e906131ca565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106ca57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106da57506106d9826110c0565b5b9050919050565b600680546106ee9061364d565b80601f016020809104026020016040519081016040528092919081815260200182805461071a9061364d565b80156107675780601f1061073c57610100808354040283529160200191610767565b820191906000526020600020905b81548152906001019060200180831161074a57829003601f168201915b505050505081565b600b6020528060005260406000206000915090505481565b60606107928261112a565b6040516020016107a29190612ea9565b6040516020818303038152906040529050919050565b6107c061128b565b80600960006101000a81548160ff02191690831515021790555050565b6107e5611309565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061082b575061082a85610825611309565b610f01565b5b61086a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610861906130ea565b60405180910390fd5b6108778585858585611311565b5050505050565b606081518351146108c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bb906132aa565b60405180910390fd5b6000835167ffffffffffffffff8111156108e1576108e06137e6565b5b60405190808252806020026020018201604052801561090f5781602001602082028036833780820191505090505b50905060005b845181101561098c5761095c858281518110610934576109336137b7565b5b602002602001015185838151811061094f5761094e6137b7565b5b6020026020010151610536565b82828151811061096f5761096e6137b7565b5b60200260200101818152505080610985906136b0565b9050610915565b508091505092915050565b61099f61128b565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6109eb61128b565b610a0683838360405180602001604052806000815250611633565b80600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610a5591906134b8565b925050819055508060076000828254610a6e91906134b8565b92505081905550505050565b600960009054906101000a900460ff1681565b610a9561128b565b610a9f60006117e4565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a6020528060005260406000206000915090505481565b610af5610aee611309565b83836118aa565b5050565b600960009054906101000a900460ff1615610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b409061312a565b60405180910390fd5b610b54338383611a17565b80600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ba391906134b8565b925050819055505050565b60085481565b60026004541415610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf19061330a565b60405180910390fd5b6002600481905550600960009054906101000a900460ff1615610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c499061320a565b60405180910390fd5b60085481600754610c6391906134b8565b1115610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b9061314a565b60405180910390fd5b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610d0392919061300b565b60206040518083038186803b158015610d1b57600080fd5b505afa158015610d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5391906129b3565b11610d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a906131aa565b60405180910390fd5b60008111610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd9061332a565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead85856040518563ffffffff1660e01b8152600401610e399493929190612fb3565b600060405180830381600087803b158015610e5357600080fd5b505af1158015610e67573d6000803e3d6000fd5b50505050610e8633838360405180602001604052806000815250611633565b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ed591906134b8565b925050819055508060076000828254610eee91906134b8565b9250508190555060016004819055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60075481565b610fa3611309565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610fe95750610fe885610fe3611309565b610f01565b5b611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f906130ea565b60405180910390fd5b6110358585858585611c5e565b5050505050565b61104461128b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab9061316a565b60405180910390fd5b6110bd816117e4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611172576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611286565b600082905060005b600082146111a457808061118d906136b0565b915050600a8261119d919061350e565b915061117a565b60008167ffffffffffffffff8111156111c0576111bf6137e6565b5b6040519080825280601f01601f1916602001820160405280156111f25781602001600182028036833780820191505090505b5090505b6000851461127f5760018261120b919061353f565b9150600a8561121a91906136f9565b603061122691906134b8565b60f81b81838151811061123c5761123b6137b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611278919061350e565b94506111f6565b8093505050505b919050565b611293611309565b73ffffffffffffffffffffffffffffffffffffffff166112b1610aa1565b73ffffffffffffffffffffffffffffffffffffffff1614611307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fe9061326a565b60405180910390fd5b565b600033905090565b8151835114611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c906132ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc906131ea565b60405180910390fd5b60006113cf611309565b90506113df818787878787611efa565b60005b8451811015611590576000858281518110611400576113ff6137b7565b5b60200260200101519050600085838151811061141f5761141e6137b7565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b79061324a565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461157591906134b8565b9250508190555050505080611589906136b0565b90506113e2565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611607929190613056565b60405180910390a461161d818787878787611f02565b61162b818787878787611f0a565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169a906132ea565b60405180910390fd5b60006116ad611309565b905060006116ba856120f1565b905060006116c7856120f1565b90506116d883600089858589611efa565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461173791906134b8565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516117b5929190613365565b60405180910390a46117cc83600089858589611f02565b6117db8360008989898961216b565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119109061328a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a0a919061308d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7e9061322a565b60405180910390fd5b6000611a91611309565b90506000611a9e846120f1565b90506000611aab846120f1565b9050611acb83876000858560405180602001604052806000815250611efa565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b599061318a565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611c2f929190613365565b60405180910390a4611c5584886000868660405180602001604052806000815250611f02565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc5906131ea565b60405180910390fd5b6000611cd8611309565b90506000611ce5856120f1565b90506000611cf2856120f1565b9050611d02838989858589611efa565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d909061324a565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e4e91906134b8565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611ecb929190613365565b60405180910390a4611ee1848a8a86868a611f02565b611eef848a8a8a8a8a61216b565b505050505050505050565b505050505050565b505050505050565b611f298473ffffffffffffffffffffffffffffffffffffffff16612352565b156120e9578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611f6f959493929190612ef1565b602060405180830381600087803b158015611f8957600080fd5b505af1925050508015611fba57506040513d601f19601f82011682018060405250810190611fb7919061292c565b60015b61206057611fc6613815565b806308c379a014156120235750611fdb613e31565b80611fe65750612025565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201a91906130a8565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612057906130ca565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de9061310a565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156121105761210f6137e6565b5b60405190808252806020026020018201604052801561213e5781602001602082028036833780820191505090505b5090508281600081518110612156576121556137b7565b5b60200260200101818152505080915050919050565b61218a8473ffffffffffffffffffffffffffffffffffffffff16612352565b1561234a578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016121d0959493929190612f59565b602060405180830381600087803b1580156121ea57600080fd5b505af192505050801561221b57506040513d601f19601f82011682018060405250810190612218919061292c565b60015b6122c157612227613815565b806308c379a01415612284575061223c613e31565b806122475750612286565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227b91906130a8565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b8906130ca565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233f9061310a565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612388612383846133b3565b61338e565b905080838252602082019050828560208602820111156123ab576123aa61383c565b5b60005b858110156123db57816123c18882612497565b8452602084019350602083019250506001810190506123ae565b5050509392505050565b60006123f86123f3846133df565b61338e565b9050808382526020820190508285602086028201111561241b5761241a61383c565b5b60005b8581101561244b5781612431888261258a565b84526020840193506020830192505060018101905061241e565b5050509392505050565b60006124686124638461340b565b61338e565b90508281526020810184848401111561248457612483613841565b5b61248f84828561360b565b509392505050565b6000813590506124a681613ec7565b92915050565b600082601f8301126124c1576124c0613837565b5b81356124d1848260208601612375565b91505092915050565b600082601f8301126124ef576124ee613837565b5b81356124ff8482602086016123e5565b91505092915050565b60008135905061251781613ede565b92915050565b60008135905061252c81613ef5565b92915050565b60008151905061254181613ef5565b92915050565b600082601f83011261255c5761255b613837565b5b813561256c848260208601612455565b91505092915050565b60008135905061258481613f0c565b92915050565b60008135905061259981613f23565b92915050565b6000815190506125ae81613f23565b92915050565b6000602082840312156125ca576125c961384b565b5b60006125d884828501612497565b91505092915050565b600080604083850312156125f8576125f761384b565b5b600061260685828601612497565b925050602061261785828601612497565b9150509250929050565b600080600080600060a0868803121561263d5761263c61384b565b5b600061264b88828901612497565b955050602061265c88828901612497565b945050604086013567ffffffffffffffff81111561267d5761267c613846565b5b612689888289016124da565b935050606086013567ffffffffffffffff8111156126aa576126a9613846565b5b6126b6888289016124da565b925050608086013567ffffffffffffffff8111156126d7576126d6613846565b5b6126e388828901612547565b9150509295509295909350565b600080600080600060a0868803121561270c5761270b61384b565b5b600061271a88828901612497565b955050602061272b88828901612497565b945050604061273c8882890161258a565b935050606061274d8882890161258a565b925050608086013567ffffffffffffffff81111561276e5761276d613846565b5b61277a88828901612547565b9150509295509295909350565b6000806040838503121561279e5761279d61384b565b5b60006127ac85828601612497565b92505060206127bd85828601612508565b9150509250929050565b600080604083850312156127de576127dd61384b565b5b60006127ec85828601612497565b92505060206127fd8582860161258a565b9150509250929050565b6000806000606084860312156128205761281f61384b565b5b600061282e86828701612497565b935050602061283f8682870161258a565b92505060406128508682870161258a565b9150509250925092565b600080604083850312156128715761287061384b565b5b600083013567ffffffffffffffff81111561288f5761288e613846565b5b61289b858286016124ac565b925050602083013567ffffffffffffffff8111156128bc576128bb613846565b5b6128c8858286016124da565b9150509250929050565b6000602082840312156128e8576128e761384b565b5b60006128f684828501612508565b91505092915050565b6000602082840312156129155761291461384b565b5b60006129238482850161251d565b91505092915050565b6000602082840312156129425761294161384b565b5b600061295084828501612532565b91505092915050565b60006020828403121561296f5761296e61384b565b5b600061297d84828501612575565b91505092915050565b60006020828403121561299c5761299b61384b565b5b60006129aa8482850161258a565b91505092915050565b6000602082840312156129c9576129c861384b565b5b60006129d78482850161259f565b91505092915050565b600080604083850312156129f7576129f661384b565b5b6000612a058582860161258a565b9250506020612a168582860161258a565b9150509250929050565b6000612a2c8383612e8b565b60208301905092915050565b612a4181613573565b82525050565b6000612a528261344c565b612a5c818561347a565b9350612a678361343c565b8060005b83811015612a98578151612a7f8882612a20565b9750612a8a8361346d565b925050600181019050612a6b565b5085935050505092915050565b612aae81613585565b82525050565b6000612abf82613457565b612ac9818561348b565b9350612ad981856020860161361a565b612ae281613850565b840191505092915050565b612af6816135f9565b82525050565b6000612b0782613462565b612b11818561349c565b9350612b2181856020860161361a565b612b2a81613850565b840191505092915050565b6000612b4082613462565b612b4a81856134ad565b9350612b5a81856020860161361a565b80840191505092915050565b6000612b7360348361349c565b9150612b7e8261386e565b604082019050919050565b6000612b96602f8361349c565b9150612ba1826138bd565b604082019050919050565b6000612bb960288361349c565b9150612bc48261390c565b604082019050919050565b6000612bdc60158361349c565b9150612be78261395b565b602082019050919050565b6000612bff60098361349c565b9150612c0a82613984565b602082019050919050565b6000612c22603f836134ad565b9150612c2d826139ad565b603f82019050919050565b6000612c4560268361349c565b9150612c50826139fc565b604082019050919050565b6000612c6860248361349c565b9150612c7382613a4b565b604082019050919050565b6000612c8b60158361349c565b9150612c9682613a9a565b602082019050919050565b6000612cae602a8361349c565b9150612cb982613ac3565b604082019050919050565b6000612cd160258361349c565b9150612cdc82613b12565b604082019050919050565b6000612cf4600d8361349c565b9150612cff82613b61565b602082019050919050565b6000612d1760238361349c565b9150612d2282613b8a565b604082019050919050565b6000612d3a602a8361349c565b9150612d4582613bd9565b604082019050919050565b6000612d5d6005836134ad565b9150612d6882613c28565b600582019050919050565b6000612d8060208361349c565b9150612d8b82613c51565b602082019050919050565b6000612da360008361348b565b9150612dae82613c7a565b600082019050919050565b6000612dc660298361349c565b9150612dd182613c7d565b604082019050919050565b6000612de960298361349c565b9150612df482613ccc565b604082019050919050565b6000612e0c60288361349c565b9150612e1782613d1b565b604082019050919050565b6000612e2f60218361349c565b9150612e3a82613d6a565b604082019050919050565b6000612e52601f8361349c565b9150612e5d82613db9565b602082019050919050565b6000612e7560248361349c565b9150612e8082613de2565b604082019050919050565b612e94816135ef565b82525050565b612ea3816135ef565b82525050565b6000612eb482612c15565b9150612ec08284612b35565b9150612ecb82612d50565b915081905092915050565b6000602082019050612eeb6000830184612a38565b92915050565b600060a082019050612f066000830188612a38565b612f136020830187612a38565b8181036040830152612f258186612a47565b90508181036060830152612f398185612a47565b90508181036080830152612f4d8184612ab4565b90509695505050505050565b600060a082019050612f6e6000830188612a38565b612f7b6020830187612a38565b612f886040830186612e9a565b612f956060830185612e9a565b8181036080830152612fa78184612ab4565b90509695505050505050565b600060a082019050612fc86000830187612a38565b612fd56020830186612a38565b612fe26040830185612e9a565b612fef6060830184612e9a565b818103608083015261300081612d96565b905095945050505050565b60006040820190506130206000830185612a38565b61302d6020830184612aed565b9392505050565b6000602082019050818103600083015261304e8184612a47565b905092915050565b600060408201905081810360008301526130708185612a47565b905081810360208301526130848184612a47565b90509392505050565b60006020820190506130a26000830184612aa5565b92915050565b600060208201905081810360008301526130c28184612afc565b905092915050565b600060208201905081810360008301526130e381612b66565b9050919050565b6000602082019050818103600083015261310381612b89565b9050919050565b6000602082019050818103600083015261312381612bac565b9050919050565b6000602082019050818103600083015261314381612bcf565b9050919050565b6000602082019050818103600083015261316381612bf2565b9050919050565b6000602082019050818103600083015261318381612c38565b9050919050565b600060208201905081810360008301526131a381612c5b565b9050919050565b600060208201905081810360008301526131c381612c7e565b9050919050565b600060208201905081810360008301526131e381612ca1565b9050919050565b6000602082019050818103600083015261320381612cc4565b9050919050565b6000602082019050818103600083015261322381612ce7565b9050919050565b6000602082019050818103600083015261324381612d0a565b9050919050565b6000602082019050818103600083015261326381612d2d565b9050919050565b6000602082019050818103600083015261328381612d73565b9050919050565b600060208201905081810360008301526132a381612db9565b9050919050565b600060208201905081810360008301526132c381612ddc565b9050919050565b600060208201905081810360008301526132e381612dff565b9050919050565b6000602082019050818103600083015261330381612e22565b9050919050565b6000602082019050818103600083015261332381612e45565b9050919050565b6000602082019050818103600083015261334381612e68565b9050919050565b600060208201905061335f6000830184612e9a565b92915050565b600060408201905061337a6000830185612e9a565b6133876020830184612e9a565b9392505050565b60006133986133a9565b90506133a4828261367f565b919050565b6000604051905090565b600067ffffffffffffffff8211156133ce576133cd6137e6565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156133fa576133f96137e6565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613426576134256137e6565b5b61342f82613850565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006134c3826135ef565b91506134ce836135ef565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135035761350261372a565b5b828201905092915050565b6000613519826135ef565b9150613524836135ef565b92508261353457613533613759565b5b828204905092915050565b600061354a826135ef565b9150613555836135ef565b9250828210156135685761356761372a565b5b828203905092915050565b600061357e826135cf565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006135c882613573565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613604826135ef565b9050919050565b82818337600083830152505050565b60005b8381101561363857808201518184015260208101905061361d565b83811115613647576000848401525b50505050565b6000600282049050600182168061366557607f821691505b6020821081141561367957613678613788565b5b50919050565b61368882613850565b810181811067ffffffffffffffff821117156136a7576136a66137e6565b5b80604052505050565b60006136bb826135ef565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136ee576136ed61372a565b5b600182019050919050565b6000613704826135ef565b915061370f836135ef565b92508261371f5761371e613759565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156138345760046000803e613831600051613861565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e2774206275726e207965742e2e2e0000000000000000000000600082015250565b7f546f6f206d616e792e0000000000000000000000000000000000000000000000600082015250565b7f68747470733a2f2f6b6f706f6b6f73747564696f2e73332e65752d776573742d60008201527f332e616d617a6f6e6177732e636f6d2f42414f33442f6d657461646174612f00602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206f776e2042414f204e46540000000000000000000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f427265616b2074696d652e2e2e00000000000000000000000000000000000000600082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f596f75206e65656420746f206275726e206d6f7265207468616e20302042414f60008201527f204e465400000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613e4157613ec4565b613e496133a9565b60043d036004823e80513d602482011167ffffffffffffffff82111715613e71575050613ec4565b808201805167ffffffffffffffff811115613e8f5750505050613ec4565b80602083010160043d038501811115613eac575050505050613ec4565b613ebb8260200185018661367f565b82955050505050505b90565b613ed081613573565b8114613edb57600080fd5b50565b613ee781613585565b8114613ef257600080fd5b50565b613efe81613591565b8114613f0957600080fd5b50565b613f15816135bd565b8114613f2057600080fd5b50565b613f2c816135ef565b8114613f3757600080fd5b5056fea2646970667358221220e827321dfa9a6597e75db2a4559e2080a64c62f4e4d62334fcd93e955a2c9c9e64736f6c6343000807003368747470733a2f2f6b6f706f6b6f73747564696f2e73332e65752d776573742d332e616d617a6f6e6177732e636f6d2f42414f33442f6d657461646174612f7b69647d2e6a736f6e

Deployed Bytecode

0x6080604052600436106101345760003560e01c8063715018a6116100ab578063d5abeb011161006f578063d5abeb0114610435578063deeaa17614610460578063e985e9c51461047c578063f1791cdc146104b9578063f242432a146104e4578063f2fde38b1461050d57610134565b8063715018a6146103645780638da5cb5b1461037b578063949fb49c146103a6578063a22cb465146103e3578063b390c0ab1461040c57610134565b806316c38b3c116100fd57806316c38b3c146102585780632eb2c2d6146102815780634e1273f4146102aa5780634ee4aa37146102e7578063598d00a9146103105780635c975abb1461033957610134565b8062fdd58e1461013957806301ffc9a71461017657806306fdde03146101b357806309277689146101de5780630e89341c1461021b575b600080fd5b34801561014557600080fd5b50610160600480360381019061015b91906127c7565b610536565b60405161016d919061334a565b60405180910390f35b34801561018257600080fd5b5061019d600480360381019061019891906128ff565b6105ff565b6040516101aa919061308d565b60405180910390f35b3480156101bf57600080fd5b506101c86106e1565b6040516101d591906130a8565b60405180910390f35b3480156101ea57600080fd5b50610205600480360381019061020091906125b4565b61076f565b604051610212919061334a565b60405180910390f35b34801561022757600080fd5b50610242600480360381019061023d9190612986565b610787565b60405161024f91906130a8565b60405180910390f35b34801561026457600080fd5b5061027f600480360381019061027a91906128d2565b6107b8565b005b34801561028d57600080fd5b506102a860048036038101906102a39190612621565b6107dd565b005b3480156102b657600080fd5b506102d160048036038101906102cc919061285a565b61087e565b6040516102de9190613034565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190612959565b610997565b005b34801561031c57600080fd5b5061033760048036038101906103329190612807565b6109e3565b005b34801561034557600080fd5b5061034e610a7a565b60405161035b919061308d565b60405180910390f35b34801561037057600080fd5b50610379610a8d565b005b34801561038757600080fd5b50610390610aa1565b60405161039d9190612ed6565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c891906125b4565b610acb565b6040516103da919061334a565b60405180910390f35b3480156103ef57600080fd5b5061040a60048036038101906104059190612787565b610ae3565b005b34801561041857600080fd5b50610433600480360381019061042e91906129e0565b610af9565b005b34801561044157600080fd5b5061044a610bae565b604051610457919061334a565b60405180910390f35b61047a600480360381019061047591906129e0565b610bb4565b005b34801561048857600080fd5b506104a3600480360381019061049e91906125e1565b610f01565b6040516104b0919061308d565b60405180910390f35b3480156104c557600080fd5b506104ce610f95565b6040516104db919061334a565b60405180910390f35b3480156104f057600080fd5b5061050b600480360381019061050691906126f0565b610f9b565b005b34801561051957600080fd5b50610534600480360381019061052f91906125b4565b61103c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059e906131ca565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106ca57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106da57506106d9826110c0565b5b9050919050565b600680546106ee9061364d565b80601f016020809104026020016040519081016040528092919081815260200182805461071a9061364d565b80156107675780601f1061073c57610100808354040283529160200191610767565b820191906000526020600020905b81548152906001019060200180831161074a57829003601f168201915b505050505081565b600b6020528060005260406000206000915090505481565b60606107928261112a565b6040516020016107a29190612ea9565b6040516020818303038152906040529050919050565b6107c061128b565b80600960006101000a81548160ff02191690831515021790555050565b6107e5611309565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061082b575061082a85610825611309565b610f01565b5b61086a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610861906130ea565b60405180910390fd5b6108778585858585611311565b5050505050565b606081518351146108c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bb906132aa565b60405180910390fd5b6000835167ffffffffffffffff8111156108e1576108e06137e6565b5b60405190808252806020026020018201604052801561090f5781602001602082028036833780820191505090505b50905060005b845181101561098c5761095c858281518110610934576109336137b7565b5b602002602001015185838151811061094f5761094e6137b7565b5b6020026020010151610536565b82828151811061096f5761096e6137b7565b5b60200260200101818152505080610985906136b0565b9050610915565b508091505092915050565b61099f61128b565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6109eb61128b565b610a0683838360405180602001604052806000815250611633565b80600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610a5591906134b8565b925050819055508060076000828254610a6e91906134b8565b92505081905550505050565b600960009054906101000a900460ff1681565b610a9561128b565b610a9f60006117e4565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a6020528060005260406000206000915090505481565b610af5610aee611309565b83836118aa565b5050565b600960009054906101000a900460ff1615610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b409061312a565b60405180910390fd5b610b54338383611a17565b80600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ba391906134b8565b925050819055505050565b60085481565b60026004541415610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf19061330a565b60405180910390fd5b6002600481905550600960009054906101000a900460ff1615610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c499061320a565b60405180910390fd5b60085481600754610c6391906134b8565b1115610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b9061314a565b60405180910390fd5b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610d0392919061300b565b60206040518083038186803b158015610d1b57600080fd5b505afa158015610d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5391906129b3565b11610d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a906131aa565b60405180910390fd5b60008111610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd9061332a565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead85856040518563ffffffff1660e01b8152600401610e399493929190612fb3565b600060405180830381600087803b158015610e5357600080fd5b505af1158015610e67573d6000803e3d6000fd5b50505050610e8633838360405180602001604052806000815250611633565b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ed591906134b8565b925050819055508060076000828254610eee91906134b8565b9250508190555060016004819055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60075481565b610fa3611309565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610fe95750610fe885610fe3611309565b610f01565b5b611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f906130ea565b60405180910390fd5b6110358585858585611c5e565b5050505050565b61104461128b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab9061316a565b60405180910390fd5b6110bd816117e4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611172576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611286565b600082905060005b600082146111a457808061118d906136b0565b915050600a8261119d919061350e565b915061117a565b60008167ffffffffffffffff8111156111c0576111bf6137e6565b5b6040519080825280601f01601f1916602001820160405280156111f25781602001600182028036833780820191505090505b5090505b6000851461127f5760018261120b919061353f565b9150600a8561121a91906136f9565b603061122691906134b8565b60f81b81838151811061123c5761123b6137b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611278919061350e565b94506111f6565b8093505050505b919050565b611293611309565b73ffffffffffffffffffffffffffffffffffffffff166112b1610aa1565b73ffffffffffffffffffffffffffffffffffffffff1614611307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fe9061326a565b60405180910390fd5b565b600033905090565b8151835114611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c906132ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc906131ea565b60405180910390fd5b60006113cf611309565b90506113df818787878787611efa565b60005b8451811015611590576000858281518110611400576113ff6137b7565b5b60200260200101519050600085838151811061141f5761141e6137b7565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b79061324a565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461157591906134b8565b9250508190555050505080611589906136b0565b90506113e2565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611607929190613056565b60405180910390a461161d818787878787611f02565b61162b818787878787611f0a565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169a906132ea565b60405180910390fd5b60006116ad611309565b905060006116ba856120f1565b905060006116c7856120f1565b90506116d883600089858589611efa565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461173791906134b8565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516117b5929190613365565b60405180910390a46117cc83600089858589611f02565b6117db8360008989898961216b565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119109061328a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a0a919061308d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7e9061322a565b60405180910390fd5b6000611a91611309565b90506000611a9e846120f1565b90506000611aab846120f1565b9050611acb83876000858560405180602001604052806000815250611efa565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b599061318a565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611c2f929190613365565b60405180910390a4611c5584886000868660405180602001604052806000815250611f02565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc5906131ea565b60405180910390fd5b6000611cd8611309565b90506000611ce5856120f1565b90506000611cf2856120f1565b9050611d02838989858589611efa565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d909061324a565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e4e91906134b8565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611ecb929190613365565b60405180910390a4611ee1848a8a86868a611f02565b611eef848a8a8a8a8a61216b565b505050505050505050565b505050505050565b505050505050565b611f298473ffffffffffffffffffffffffffffffffffffffff16612352565b156120e9578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611f6f959493929190612ef1565b602060405180830381600087803b158015611f8957600080fd5b505af1925050508015611fba57506040513d601f19601f82011682018060405250810190611fb7919061292c565b60015b61206057611fc6613815565b806308c379a014156120235750611fdb613e31565b80611fe65750612025565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201a91906130a8565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612057906130ca565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de9061310a565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156121105761210f6137e6565b5b60405190808252806020026020018201604052801561213e5781602001602082028036833780820191505090505b5090508281600081518110612156576121556137b7565b5b60200260200101818152505080915050919050565b61218a8473ffffffffffffffffffffffffffffffffffffffff16612352565b1561234a578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016121d0959493929190612f59565b602060405180830381600087803b1580156121ea57600080fd5b505af192505050801561221b57506040513d601f19601f82011682018060405250810190612218919061292c565b60015b6122c157612227613815565b806308c379a01415612284575061223c613e31565b806122475750612286565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227b91906130a8565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b8906130ca565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233f9061310a565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612388612383846133b3565b61338e565b905080838252602082019050828560208602820111156123ab576123aa61383c565b5b60005b858110156123db57816123c18882612497565b8452602084019350602083019250506001810190506123ae565b5050509392505050565b60006123f86123f3846133df565b61338e565b9050808382526020820190508285602086028201111561241b5761241a61383c565b5b60005b8581101561244b5781612431888261258a565b84526020840193506020830192505060018101905061241e565b5050509392505050565b60006124686124638461340b565b61338e565b90508281526020810184848401111561248457612483613841565b5b61248f84828561360b565b509392505050565b6000813590506124a681613ec7565b92915050565b600082601f8301126124c1576124c0613837565b5b81356124d1848260208601612375565b91505092915050565b600082601f8301126124ef576124ee613837565b5b81356124ff8482602086016123e5565b91505092915050565b60008135905061251781613ede565b92915050565b60008135905061252c81613ef5565b92915050565b60008151905061254181613ef5565b92915050565b600082601f83011261255c5761255b613837565b5b813561256c848260208601612455565b91505092915050565b60008135905061258481613f0c565b92915050565b60008135905061259981613f23565b92915050565b6000815190506125ae81613f23565b92915050565b6000602082840312156125ca576125c961384b565b5b60006125d884828501612497565b91505092915050565b600080604083850312156125f8576125f761384b565b5b600061260685828601612497565b925050602061261785828601612497565b9150509250929050565b600080600080600060a0868803121561263d5761263c61384b565b5b600061264b88828901612497565b955050602061265c88828901612497565b945050604086013567ffffffffffffffff81111561267d5761267c613846565b5b612689888289016124da565b935050606086013567ffffffffffffffff8111156126aa576126a9613846565b5b6126b6888289016124da565b925050608086013567ffffffffffffffff8111156126d7576126d6613846565b5b6126e388828901612547565b9150509295509295909350565b600080600080600060a0868803121561270c5761270b61384b565b5b600061271a88828901612497565b955050602061272b88828901612497565b945050604061273c8882890161258a565b935050606061274d8882890161258a565b925050608086013567ffffffffffffffff81111561276e5761276d613846565b5b61277a88828901612547565b9150509295509295909350565b6000806040838503121561279e5761279d61384b565b5b60006127ac85828601612497565b92505060206127bd85828601612508565b9150509250929050565b600080604083850312156127de576127dd61384b565b5b60006127ec85828601612497565b92505060206127fd8582860161258a565b9150509250929050565b6000806000606084860312156128205761281f61384b565b5b600061282e86828701612497565b935050602061283f8682870161258a565b92505060406128508682870161258a565b9150509250925092565b600080604083850312156128715761287061384b565b5b600083013567ffffffffffffffff81111561288f5761288e613846565b5b61289b858286016124ac565b925050602083013567ffffffffffffffff8111156128bc576128bb613846565b5b6128c8858286016124da565b9150509250929050565b6000602082840312156128e8576128e761384b565b5b60006128f684828501612508565b91505092915050565b6000602082840312156129155761291461384b565b5b60006129238482850161251d565b91505092915050565b6000602082840312156129425761294161384b565b5b600061295084828501612532565b91505092915050565b60006020828403121561296f5761296e61384b565b5b600061297d84828501612575565b91505092915050565b60006020828403121561299c5761299b61384b565b5b60006129aa8482850161258a565b91505092915050565b6000602082840312156129c9576129c861384b565b5b60006129d78482850161259f565b91505092915050565b600080604083850312156129f7576129f661384b565b5b6000612a058582860161258a565b9250506020612a168582860161258a565b9150509250929050565b6000612a2c8383612e8b565b60208301905092915050565b612a4181613573565b82525050565b6000612a528261344c565b612a5c818561347a565b9350612a678361343c565b8060005b83811015612a98578151612a7f8882612a20565b9750612a8a8361346d565b925050600181019050612a6b565b5085935050505092915050565b612aae81613585565b82525050565b6000612abf82613457565b612ac9818561348b565b9350612ad981856020860161361a565b612ae281613850565b840191505092915050565b612af6816135f9565b82525050565b6000612b0782613462565b612b11818561349c565b9350612b2181856020860161361a565b612b2a81613850565b840191505092915050565b6000612b4082613462565b612b4a81856134ad565b9350612b5a81856020860161361a565b80840191505092915050565b6000612b7360348361349c565b9150612b7e8261386e565b604082019050919050565b6000612b96602f8361349c565b9150612ba1826138bd565b604082019050919050565b6000612bb960288361349c565b9150612bc48261390c565b604082019050919050565b6000612bdc60158361349c565b9150612be78261395b565b602082019050919050565b6000612bff60098361349c565b9150612c0a82613984565b602082019050919050565b6000612c22603f836134ad565b9150612c2d826139ad565b603f82019050919050565b6000612c4560268361349c565b9150612c50826139fc565b604082019050919050565b6000612c6860248361349c565b9150612c7382613a4b565b604082019050919050565b6000612c8b60158361349c565b9150612c9682613a9a565b602082019050919050565b6000612cae602a8361349c565b9150612cb982613ac3565b604082019050919050565b6000612cd160258361349c565b9150612cdc82613b12565b604082019050919050565b6000612cf4600d8361349c565b9150612cff82613b61565b602082019050919050565b6000612d1760238361349c565b9150612d2282613b8a565b604082019050919050565b6000612d3a602a8361349c565b9150612d4582613bd9565b604082019050919050565b6000612d5d6005836134ad565b9150612d6882613c28565b600582019050919050565b6000612d8060208361349c565b9150612d8b82613c51565b602082019050919050565b6000612da360008361348b565b9150612dae82613c7a565b600082019050919050565b6000612dc660298361349c565b9150612dd182613c7d565b604082019050919050565b6000612de960298361349c565b9150612df482613ccc565b604082019050919050565b6000612e0c60288361349c565b9150612e1782613d1b565b604082019050919050565b6000612e2f60218361349c565b9150612e3a82613d6a565b604082019050919050565b6000612e52601f8361349c565b9150612e5d82613db9565b602082019050919050565b6000612e7560248361349c565b9150612e8082613de2565b604082019050919050565b612e94816135ef565b82525050565b612ea3816135ef565b82525050565b6000612eb482612c15565b9150612ec08284612b35565b9150612ecb82612d50565b915081905092915050565b6000602082019050612eeb6000830184612a38565b92915050565b600060a082019050612f066000830188612a38565b612f136020830187612a38565b8181036040830152612f258186612a47565b90508181036060830152612f398185612a47565b90508181036080830152612f4d8184612ab4565b90509695505050505050565b600060a082019050612f6e6000830188612a38565b612f7b6020830187612a38565b612f886040830186612e9a565b612f956060830185612e9a565b8181036080830152612fa78184612ab4565b90509695505050505050565b600060a082019050612fc86000830187612a38565b612fd56020830186612a38565b612fe26040830185612e9a565b612fef6060830184612e9a565b818103608083015261300081612d96565b905095945050505050565b60006040820190506130206000830185612a38565b61302d6020830184612aed565b9392505050565b6000602082019050818103600083015261304e8184612a47565b905092915050565b600060408201905081810360008301526130708185612a47565b905081810360208301526130848184612a47565b90509392505050565b60006020820190506130a26000830184612aa5565b92915050565b600060208201905081810360008301526130c28184612afc565b905092915050565b600060208201905081810360008301526130e381612b66565b9050919050565b6000602082019050818103600083015261310381612b89565b9050919050565b6000602082019050818103600083015261312381612bac565b9050919050565b6000602082019050818103600083015261314381612bcf565b9050919050565b6000602082019050818103600083015261316381612bf2565b9050919050565b6000602082019050818103600083015261318381612c38565b9050919050565b600060208201905081810360008301526131a381612c5b565b9050919050565b600060208201905081810360008301526131c381612c7e565b9050919050565b600060208201905081810360008301526131e381612ca1565b9050919050565b6000602082019050818103600083015261320381612cc4565b9050919050565b6000602082019050818103600083015261322381612ce7565b9050919050565b6000602082019050818103600083015261324381612d0a565b9050919050565b6000602082019050818103600083015261326381612d2d565b9050919050565b6000602082019050818103600083015261328381612d73565b9050919050565b600060208201905081810360008301526132a381612db9565b9050919050565b600060208201905081810360008301526132c381612ddc565b9050919050565b600060208201905081810360008301526132e381612dff565b9050919050565b6000602082019050818103600083015261330381612e22565b9050919050565b6000602082019050818103600083015261332381612e45565b9050919050565b6000602082019050818103600083015261334381612e68565b9050919050565b600060208201905061335f6000830184612e9a565b92915050565b600060408201905061337a6000830185612e9a565b6133876020830184612e9a565b9392505050565b60006133986133a9565b90506133a4828261367f565b919050565b6000604051905090565b600067ffffffffffffffff8211156133ce576133cd6137e6565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156133fa576133f96137e6565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613426576134256137e6565b5b61342f82613850565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006134c3826135ef565b91506134ce836135ef565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135035761350261372a565b5b828201905092915050565b6000613519826135ef565b9150613524836135ef565b92508261353457613533613759565b5b828204905092915050565b600061354a826135ef565b9150613555836135ef565b9250828210156135685761356761372a565b5b828203905092915050565b600061357e826135cf565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006135c882613573565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613604826135ef565b9050919050565b82818337600083830152505050565b60005b8381101561363857808201518184015260208101905061361d565b83811115613647576000848401525b50505050565b6000600282049050600182168061366557607f821691505b6020821081141561367957613678613788565b5b50919050565b61368882613850565b810181811067ffffffffffffffff821117156136a7576136a66137e6565b5b80604052505050565b60006136bb826135ef565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136ee576136ed61372a565b5b600182019050919050565b6000613704826135ef565b915061370f836135ef565b92508261371f5761371e613759565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156138345760046000803e613831600051613861565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e2774206275726e207965742e2e2e0000000000000000000000600082015250565b7f546f6f206d616e792e0000000000000000000000000000000000000000000000600082015250565b7f68747470733a2f2f6b6f706f6b6f73747564696f2e73332e65752d776573742d60008201527f332e616d617a6f6e6177732e636f6d2f42414f33442f6d657461646174612f00602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206f776e2042414f204e46540000000000000000000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f427265616b2074696d652e2e2e00000000000000000000000000000000000000600082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f596f75206e65656420746f206275726e206d6f7265207468616e20302042414f60008201527f204e465400000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613e4157613ec4565b613e496133a9565b60043d036004823e80513d602482011167ffffffffffffffff82111715613e71575050613ec4565b808201805167ffffffffffffffff811115613e8f5750505050613ec4565b80602083010160043d038501811115613eac575050505050613ec4565b613ebb8260200185018661367f565b82955050505050505b90565b613ed081613573565b8114613edb57600080fd5b50565b613ee781613585565b8114613ef257600080fd5b50565b613efe81613591565b8114613f0957600080fd5b50565b613f15816135bd565b8114613f2057600080fd5b50565b613f2c816135ef565b8114613f3757600080fd5b5056fea2646970667358221220e827321dfa9a6597e75db2a4559e2080a64c62f4e4d62334fcd93e955a2c9c9e64736f6c63430008070033

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.