ETH Price: $2,502.22 (-5.02%)

Token

Ronin (RONIN)
 

Overview

Max Total Supply

2,000 RONIN

Holders

884

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 RONIN
0x3dc33a1ce7e001e087afc25c7eaec0e3f6f023b5
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Destruction is a form of creation. 2,000 Bushidos have sacrificed their humanity to become Ronin, a class of technologically advanced warriors. Behold, the Ronin are here.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Ronin

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 14 : Ronin.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./ERC721A.sol";

contract Ronin is ERC721A, Ownable {
    struct BurnedTokens {
        uint256 bushidoID;
        uint256 daitoID;
    }

    bool public sashimonoSaleActive = false;
    bool public publicSaleActive = false;

    string public tokenBaseURI;

    IERC721 public sashimonoContract;
    IERC721 public bushidoContract;
    IERC721 public daitoContract;

    address private DEAD_ADDRESS = 0x000000000000000000000000000000000000dEaD;

    mapping(address => bool) private teamAllowlist;
    mapping(uint256 => bool) public sashimonoUsed;
    mapping(uint256 => BurnedTokens) public tokensBurntForRonin;

    uint256 public MAX_MINT_PER_TXN = 3;
    uint256 public MAX_SUPPLY = 2000;

    constructor(
        string memory uri,
        address sashimonoAddress,
        address bushidoAddress,
        address daitoAddress
    ) ERC721A("Ronin", "RONIN") {
        tokenBaseURI = uri;
        sashimonoContract = IERC721(sashimonoAddress);
        bushidoContract = IERC721(bushidoAddress);
        daitoContract = IERC721(daitoAddress);
    }

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

    function setBaseURI(string memory uri) external onlyOwner {
        tokenBaseURI = uri;
    }

    function toggleSashimonoSaleActive() external onlyOwner {
        sashimonoSaleActive = !sashimonoSaleActive;
    }

    function togglePublicSaleActive() external onlyOwner {
        sashimonoSaleActive = false;
        publicSaleActive = !publicSaleActive;
    }

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

    function setTeamAllowlist(address addr, bool isAllowed) external onlyOwner {
        teamAllowlist[addr] = isAllowed;
    }

    function sashimonoMint(
        uint256[] calldata sashimonoIds,
        uint256[] calldata bushidoIds,
        uint256[] calldata daitoIds
    ) external payable {
        require(sashimonoSaleActive, "sashimono sale is not active");

        require(
            sashimonoIds.length > 0 &&
                bushidoIds.length > 0 &&
                daitoIds.length > 0,
            "must provide ids for all args"
        );
        require(
            sashimonoIds.length <= MAX_MINT_PER_TXN &&
                bushidoIds.length <= MAX_MINT_PER_TXN &&
                daitoIds.length <= MAX_MINT_PER_TXN,
            "max 3 mint"
        );
        require(
            sashimonoIds.length == bushidoIds.length &&
                bushidoIds.length == daitoIds.length,
            "must provide equal length arrays"
        );
        require(
            totalSupply() + sashimonoIds.length <= MAX_SUPPLY,
            "mint would exceed max supply."
        );

        for (uint256 i = 0; i < sashimonoIds.length; i++) {
            uint256 sashimonoId = sashimonoIds[i];
            uint256 bushidoId = bushidoIds[i];
            uint256 daitoId = daitoIds[i];

            require(
                sashimonoContract.ownerOf(sashimonoId) == msg.sender,
                "you are not the sashimono owner"
            );
            require(!sashimonoUsed[sashimonoId], "sashimono already used");

            require(
                bushidoContract.ownerOf(bushidoId) == msg.sender,
                "you are not the bushido owner"
            );
            require(
                bushidoContract.isApprovedForAll(msg.sender, address(this)),
                "bushido not approved"
            );

            require(
                daitoContract.ownerOf(daitoId) == msg.sender,
                "you are not the daito owner"
            );
            require(
                daitoContract.isApprovedForAll(msg.sender, address(this)),
                "daito not approved"
            );

            sashimonoUsed[sashimonoId] = true;

            bushidoContract.transferFrom(msg.sender, DEAD_ADDRESS, bushidoId);
            daitoContract.transferFrom(msg.sender, DEAD_ADDRESS, daitoId);

            tokensBurntForRonin[totalSupply() + i] = BurnedTokens(
                bushidoId,
                daitoId
            );
        }

        _safeMint(msg.sender, sashimonoIds.length);
    }

    function mint(uint256[] calldata bushidoIds, uint256[] calldata daitoIds)
        external
    {
        require(publicSaleActive, "public sale is not active");

        require(
            bushidoIds.length > 0 && daitoIds.length > 0,
            "must provide ids for all args"
        );
        require(
            bushidoIds.length <= MAX_MINT_PER_TXN &&
                daitoIds.length <= MAX_MINT_PER_TXN,
            "max 3 mint"
        );
        require(
            bushidoIds.length == daitoIds.length,
            "must provide equal length id arrays"
        );
        require(
            totalSupply() + bushidoIds.length <= MAX_SUPPLY,
            "mint would exceed max supply."
        );

        for (uint256 i = 0; i < bushidoIds.length; i++) {
            uint256 bushidoId = bushidoIds[i];
            uint256 daitoId = daitoIds[i];

            require(
                bushidoContract.ownerOf(bushidoId) == msg.sender,
                "you are not the bushido owner"
            );
            require(
                bushidoContract.isApprovedForAll(msg.sender, address(this)),
                "bushido not approved"
            );

            require(
                daitoContract.ownerOf(daitoId) == msg.sender,
                "you are not the daito owner"
            );
            require(
                daitoContract.isApprovedForAll(msg.sender, address(this)),
                "daito not approved"
            );

            bushidoContract.transferFrom(msg.sender, DEAD_ADDRESS, bushidoId);
            daitoContract.transferFrom(msg.sender, DEAD_ADDRESS, daitoId);

            tokensBurntForRonin[totalSupply() + i] = BurnedTokens(
                bushidoId,
                daitoId
            );
        }

        _safeMint(msg.sender, bushidoIds.length);
    }

    function teamMint(
        uint256[] calldata bushidoIds,
        uint256[] calldata daitoIds
    ) external {
        require(teamAllowlist[msg.sender], "address not in team allowlist");

        require(
            bushidoIds.length > 0 && daitoIds.length > 0,
            "must provide ids for all args"
        );
        require(
            bushidoIds.length <= MAX_MINT_PER_TXN &&
                daitoIds.length <= MAX_MINT_PER_TXN,
            "max 3 mint"
        );
        require(
            bushidoIds.length == daitoIds.length,
            "must provide equal length arrays"
        );
        require(
            totalSupply() + bushidoIds.length <= MAX_SUPPLY,
            "mint would exceed max supply."
        );

        for (uint256 i = 0; i < bushidoIds.length; i++) {
            uint256 bushidoId = bushidoIds[i];
            uint256 daitoId = daitoIds[i];

            require(
                bushidoContract.ownerOf(bushidoId) == msg.sender,
                "you are not the bushido owner"
            );
            require(
                bushidoContract.isApprovedForAll(msg.sender, address(this)),
                "bushido not approved"
            );

            require(
                daitoContract.ownerOf(daitoId) == msg.sender,
                "you are not the daito owner"
            );
            require(
                daitoContract.isApprovedForAll(msg.sender, address(this)),
                "daito not approved"
            );

            bushidoContract.transferFrom(msg.sender, DEAD_ADDRESS, bushidoId);
            daitoContract.transferFrom(msg.sender, DEAD_ADDRESS, daitoId);

            tokensBurntForRonin[totalSupply() + i] = BurnedTokens(
                bushidoId,
                daitoId
            );
        }

        _safeMint(msg.sender, bushidoIds.length);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

File 4 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal _nextTokenId;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 updatedIndex = startTokenId;

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

                updatedIndex++;
            }

            _nextTokenId = updatedIndex;
        }

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 14 : 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);
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 14 of 14 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"address","name":"sashimonoAddress","type":"address"},{"internalType":"address","name":"bushidoAddress","type":"address"},{"internalType":"address","name":"daitoAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bushidoContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daitoContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"bushidoIds","type":"uint256[]"},{"internalType":"uint256[]","name":"daitoIds","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sashimonoContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"sashimonoIds","type":"uint256[]"},{"internalType":"uint256[]","name":"bushidoIds","type":"uint256[]"},{"internalType":"uint256[]","name":"daitoIds","type":"uint256[]"}],"name":"sashimonoMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sashimonoSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sashimonoUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isAllowed","type":"bool"}],"name":"setTeamAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"bushidoIds","type":"uint256[]"},{"internalType":"uint256[]","name":"daitoIds","type":"uint256[]"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSashimonoSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensBurntForRonin","outputs":[{"internalType":"uint256","name":"bushidoID","type":"uint256"},{"internalType":"uint256","name":"daitoID","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526007805461ffff60a01b19169055600c80546001600160a01b03191661dead17905560036010556107d06011553480156200003e57600080fd5b50604051620039d7380380620039d783398101604081905262000061916200024c565b604051806040016040528060058152602001642937b734b760d91b815250604051806040016040528060058152602001642927a724a760d91b8152508160019080519060200190620000b592919062000189565b508051620000cb90600290602084019062000189565b50506000805550620000dd3362000137565b8351620000f290600890602087019062000189565b50600980546001600160a01b039485166001600160a01b031991821617909155600a805493851693821693909317909255600b805491909316911617905550620003af565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000197906200035c565b90600052602060002090601f016020900481019282620001bb576000855562000206565b82601f10620001d657805160ff191683800117855562000206565b8280016001018555821562000206579182015b8281111562000206578251825591602001919060010190620001e9565b506200021492915062000218565b5090565b5b8082111562000214576000815560010162000219565b80516001600160a01b03811681146200024757600080fd5b919050565b6000806000806080858703121562000262578384fd5b84516001600160401b038082111562000279578586fd5b818701915087601f8301126200028d578586fd5b815181811115620002a257620002a262000399565b604051601f8201601f19908116603f01168101908382118183101715620002cd57620002cd62000399565b81604052828152602093508a84848701011115620002e9578889fd5b8891505b828210156200030c5784820184015181830185015290830190620002ed565b828211156200031d57888484830101525b97506200032f9150508782016200022f565b9450505062000341604086016200022f565b915062000351606086016200022f565b905092959194509250565b600181811c908216806200037157607f821691505b602082108114156200039357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61361880620003bf6000396000f3fe60806040526004361061026a5760003560e01c80634f6ccce71161015357806399ee1a76116100cb578063bc8893b41161007f578063e37bdfe211610064578063e37bdfe2146106b5578063e985e9c5146106d5578063f2fde38b1461071e57600080fd5b8063bc8893b414610674578063c87b56dd1461069557600080fd5b8063a6315ab6116100b0578063a6315ab614610620578063b88d4fde14610641578063bb787f0c1461066157600080fd5b806399ee1a76146105e0578063a22cb4651461060057600080fd5b8063715018a61161012257806382420e9f1161010757806382420e9f1461058d5780638da5cb5b146105ad57806395d89b41146105cb57600080fd5b8063715018a61461052f5780637eaa15311461054457600080fd5b80634f6ccce7146104af57806355f804b3146104cf5780636352211e146104ef57806370a082311461050f57600080fd5b80632222476a116101e65780633ccfd60b116101b557806342842e0e1161019a57806342842e0e146104645780634bc44f62146104845780634e99b8001461049a57600080fd5b80633ccfd60b1461042f5780633d5d190c1461044457600080fd5b80632222476a146103c457806323b872dd146103d95780632f745c59146103f957806332cb6b0c1461041957600080fd5b8063095ea7b31161023d57806311fa7eaa1161022257806311fa7eaa1461036557806318160ddd146103855780631a221423146103a457600080fd5b8063095ea7b31461032e5780630c894cfe1461035057600080fd5b806301ffc9a71461026f57806306fdde03146102a4578063081812fc146102c657806308d30195146102fe575b600080fd5b34801561027b57600080fd5b5061028f61028a36600461334e565b61073e565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102b961080f565b60405161029b919061347b565b3480156102d257600080fd5b506102e66102e13660046133cc565b6108a1565b6040516001600160a01b03909116815260200161029b565b34801561030a57600080fd5b5061028f6103193660046133cc565b600e6020526000908152604090205460ff1681565b34801561033a57600080fd5b5061034e610349366004613208565b6108fe565b005b34801561035c57600080fd5b5061034e6109be565b34801561037157600080fd5b50600a546102e6906001600160a01b031681565b34801561039157600080fd5b506000545b60405190815260200161029b565b3480156103b057600080fd5b50600b546102e6906001600160a01b031681565b3480156103d057600080fd5b5061034e610a5f565b3480156103e557600080fd5b5061034e6103f436600461311e565b610ada565b34801561040557600080fd5b50610396610414366004613208565b610ae5565b34801561042557600080fd5b5061039660115481565b34801561043b57600080fd5b5061034e610bd8565b34801561045057600080fd5b5061034e61045f366004613233565b610c61565b34801561047057600080fd5b5061034e61047f36600461311e565b611321565b34801561049057600080fd5b5061039660105481565b3480156104a657600080fd5b506102b961133c565b3480156104bb57600080fd5b506103966104ca3660046133cc565b6113ca565b3480156104db57600080fd5b5061034e6104ea366004613386565b61140a565b3480156104fb57600080fd5b506102e661050a3660046133cc565b61147b565b34801561051b57600080fd5b5061039661052a3660046130ae565b61148d565b34801561053b57600080fd5b5061034e6114fd565b34801561055057600080fd5b5061057861055f3660046133cc565b600f602052600090815260409020805460019091015482565b6040805192835260208301919091520161029b565b34801561059957600080fd5b506009546102e6906001600160a01b031681565b3480156105b957600080fd5b506007546001600160a01b03166102e6565b3480156105d757600080fd5b506102b9611563565b3480156105ec57600080fd5b5061034e6105fb366004613233565b611572565b34801561060c57600080fd5b5061034e61061b3660046131db565b611c01565b34801561062c57600080fd5b5060075461028f90600160a01b900460ff1681565b34801561064d57600080fd5b5061034e61065c36600461315e565b611cb0565b61034e61066f36600461329c565b611ce4565b34801561068057600080fd5b5060075461028f90600160a81b900460ff1681565b3480156106a157600080fd5b506102b96106b03660046133cc565b61251c565b3480156106c157600080fd5b5061034e6106d03660046131db565b6125ba565b3480156106e157600080fd5b5061028f6106f03660046130e6565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561072a57600080fd5b5061034e6107393660046130ae565b61263f565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806107a157506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107d557506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061080957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461081e906134fd565b80601f016020809104026020016040519081016040528092919081815260200182805461084a906134fd565b80156108975780601f1061086c57610100808354040283529160200191610897565b820191906000526020600020905b81548152906001019060200180831161087a57829003601f168201915b5050505050905090565b60006108ac8261271e565b6108e2576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006109098261147b565b9050806001600160a01b0316836001600160a01b03161415610957576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614801590610977575061097581336106f0565b155b156109ae576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109b9838383612733565b505050565b6007546001600160a01b03163314610a1d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60078054600160a81b60ff60a01b19821681900460ff1615027fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff909116179055565b6007546001600160a01b03163314610ab95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b6007805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6109b983838361279c565b6000610af08361148d565b8210610b28576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080548190815b81811015610bc1576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610b8357805193505b876001600160a01b0316846001600160a01b03161415610bb85786851415610bb15750935061080992505050565b6001909401935b50600101610b30565b50634e487b7160e01b600052600160045260246000fd5b6007546001600160a01b03163314610c325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b60405133904780156108fc02916000818181858888f19350505050158015610c5e573d6000803e3d6000fd5b50565b600754600160a81b900460ff16610cba5760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610a14565b8215801590610cc857508015155b610d145760405162461bcd60e51b815260206004820152601d60248201527f6d7573742070726f766964652069647320666f7220616c6c20617267730000006044820152606401610a14565b6010548311801590610d2857506010548111155b610d615760405162461bcd60e51b815260206004820152600a6024820152691b585e080cc81b5a5b9d60b21b6044820152606401610a14565b828114610dd65760405162461bcd60e51b815260206004820152602360248201527f6d7573742070726f7669646520657175616c206c656e6774682069642061727260448201527f61797300000000000000000000000000000000000000000000000000000000006064820152608401610a14565b60115483610de360005490565b610ded919061348e565b1115610e3b5760405162461bcd60e51b815260206004820152601d60248201527f6d696e7420776f756c6420657863656564206d617820737570706c792e0000006044820152606401610a14565b60005b83811015611310576000858583818110610e6857634e487b7160e01b600052603260045260246000fd5b9050602002013590506000848484818110610e9357634e487b7160e01b600052603260045260246000fd5b600a546040516331a9108f60e11b8152600481018790526020929092029390930135935033926001600160a01b03169150636352211e9060240160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d91906130ca565b6001600160a01b031614610f735760405162461bcd60e51b815260206004820152601d60248201527f796f7520617265206e6f7420746865206275736869646f206f776e65720000006044820152606401610a14565b600a5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b158015610fbc57600080fd5b505afa158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff49190613332565b6110405760405162461bcd60e51b815260206004820152601460248201527f6275736869646f206e6f7420617070726f7665640000000000000000000000006044820152606401610a14565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561108457600080fd5b505afa158015611098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bc91906130ca565b6001600160a01b0316146111125760405162461bcd60e51b815260206004820152601b60248201527f796f7520617265206e6f742074686520646169746f206f776e657200000000006044820152606401610a14565b600b5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b15801561115b57600080fd5b505afa15801561116f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111939190613332565b6111d45760405162461bcd60e51b815260206004820152601260248201527119185a5d1bc81b9bdd08185c1c1c9bdd995960721b6044820152606401610a14565b600a54600c546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018590529116906323b872dd90606401600060405180830381600087803b15801561122a57600080fd5b505af115801561123e573d6000803e3d6000fd5b5050600b54600c546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101869052911692506323b872dd9150606401600060405180830381600087803b15801561129857600080fd5b505af11580156112ac573d6000803e3d6000fd5b50505050604051806040016040528083815260200182815250600f6000856112d360005490565b6112dd919061348e565b8152602080820192909252604001600020825181559101516001909101555081905061130881613538565b915050610e3e565b5061131b3384612a13565b50505050565b6109b983838360405180602001604052806000815250611cb0565b60088054611349906134fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611375906134fd565b80156113c25780601f10611397576101008083540402835291602001916113c2565b820191906000526020600020905b8154815290600101906020018083116113a557829003601f168201915b505050505081565b600080548210611406576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5090565b6007546001600160a01b031633146114645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b8051611477906008906020840190612f5e565b5050565b600061148682612a2d565b5192915050565b60006001600160a01b0382166114cf576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b6007546001600160a01b031633146115575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b6115616000612aea565b565b60606002805461081e906134fd565b336000908152600d602052604090205460ff166115d15760405162461bcd60e51b815260206004820152601d60248201527f61646472657373206e6f7420696e207465616d20616c6c6f776c6973740000006044820152606401610a14565b82158015906115df57508015155b61162b5760405162461bcd60e51b815260206004820152601d60248201527f6d7573742070726f766964652069647320666f7220616c6c20617267730000006044820152606401610a14565b601054831180159061163f57506010548111155b6116785760405162461bcd60e51b815260206004820152600a6024820152691b585e080cc81b5a5b9d60b21b6044820152606401610a14565b8281146116c75760405162461bcd60e51b815260206004820181905260248201527f6d7573742070726f7669646520657175616c206c656e677468206172726179736044820152606401610a14565b601154836116d460005490565b6116de919061348e565b111561172c5760405162461bcd60e51b815260206004820152601d60248201527f6d696e7420776f756c6420657863656564206d617820737570706c792e0000006044820152606401610a14565b60005b8381101561131057600085858381811061175957634e487b7160e01b600052603260045260246000fd5b905060200201359050600084848481811061178457634e487b7160e01b600052603260045260246000fd5b600a546040516331a9108f60e11b8152600481018790526020929092029390930135935033926001600160a01b03169150636352211e9060240160206040518083038186803b1580156117d657600080fd5b505afa1580156117ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180e91906130ca565b6001600160a01b0316146118645760405162461bcd60e51b815260206004820152601d60248201527f796f7520617265206e6f7420746865206275736869646f206f776e65720000006044820152606401610a14565b600a5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b1580156118ad57600080fd5b505afa1580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190613332565b6119315760405162461bcd60e51b815260206004820152601460248201527f6275736869646f206e6f7420617070726f7665640000000000000000000000006044820152606401610a14565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561197557600080fd5b505afa158015611989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ad91906130ca565b6001600160a01b031614611a035760405162461bcd60e51b815260206004820152601b60248201527f796f7520617265206e6f742074686520646169746f206f776e657200000000006044820152606401610a14565b600b5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b158015611a4c57600080fd5b505afa158015611a60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a849190613332565b611ac55760405162461bcd60e51b815260206004820152601260248201527119185a5d1bc81b9bdd08185c1c1c9bdd995960721b6044820152606401610a14565b600a54600c546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018590529116906323b872dd90606401600060405180830381600087803b158015611b1b57600080fd5b505af1158015611b2f573d6000803e3d6000fd5b5050600b54600c546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101869052911692506323b872dd9150606401600060405180830381600087803b158015611b8957600080fd5b505af1158015611b9d573d6000803e3d6000fd5b50505050604051806040016040528083815260200182815250600f600085611bc460005490565b611bce919061348e565b81526020808201929092526040016000208251815591015160019091015550819050611bf981613538565b91505061172f565b6001600160a01b038216331415611c44576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611cbb84848461279c565b611cc784848484612b49565b61131b576040516368d2bf6b60e11b815260040160405180910390fd5b600754600160a01b900460ff16611d3d5760405162461bcd60e51b815260206004820152601c60248201527f73617368696d6f6e6f2073616c65206973206e6f7420616374697665000000006044820152606401610a14565b8415801590611d4b57508215155b8015611d5657508015155b611da25760405162461bcd60e51b815260206004820152601d60248201527f6d7573742070726f766964652069647320666f7220616c6c20617267730000006044820152606401610a14565b6010548511801590611db657506010548311155b8015611dc457506010548111155b611dfd5760405162461bcd60e51b815260206004820152600a6024820152691b585e080cc81b5a5b9d60b21b6044820152606401610a14565b8483148015611e0b57508281145b611e575760405162461bcd60e51b815260206004820181905260248201527f6d7573742070726f7669646520657175616c206c656e677468206172726179736044820152606401610a14565b60115485611e6460005490565b611e6e919061348e565b1115611ebc5760405162461bcd60e51b815260206004820152601d60248201527f6d696e7420776f756c6420657863656564206d617820737570706c792e0000006044820152606401610a14565b60005b85811015612509576000878783818110611ee957634e487b7160e01b600052603260045260246000fd5b9050602002013590506000868684818110611f1457634e487b7160e01b600052603260045260246000fd5b9050602002013590506000858585818110611f3f57634e487b7160e01b600052603260045260246000fd5b6009546040516331a9108f60e11b8152600481018890526020929092029390930135935033926001600160a01b03169150636352211e9060240160206040518083038186803b158015611f9157600080fd5b505afa158015611fa5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc991906130ca565b6001600160a01b03161461201f5760405162461bcd60e51b815260206004820152601f60248201527f796f7520617265206e6f74207468652073617368696d6f6e6f206f776e6572006044820152606401610a14565b6000838152600e602052604090205460ff161561207e5760405162461bcd60e51b815260206004820152601660248201527f73617368696d6f6e6f20616c72656164792075736564000000000000000000006044820152606401610a14565b600a546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b1580156120c257600080fd5b505afa1580156120d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fa91906130ca565b6001600160a01b0316146121505760405162461bcd60e51b815260206004820152601d60248201527f796f7520617265206e6f7420746865206275736869646f206f776e65720000006044820152606401610a14565b600a5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b15801561219957600080fd5b505afa1580156121ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d19190613332565b61221d5760405162461bcd60e51b815260206004820152601460248201527f6275736869646f206e6f7420617070726f7665640000000000000000000000006044820152606401610a14565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561226157600080fd5b505afa158015612275573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229991906130ca565b6001600160a01b0316146122ef5760405162461bcd60e51b815260206004820152601b60248201527f796f7520617265206e6f742074686520646169746f206f776e657200000000006044820152606401610a14565b600b5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b15801561233857600080fd5b505afa15801561234c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123709190613332565b6123b15760405162461bcd60e51b815260206004820152601260248201527119185a5d1bc81b9bdd08185c1c1c9bdd995960721b6044820152606401610a14565b6000838152600e602052604090819020805460ff19166001179055600a54600c5491516323b872dd60e01b81523360048201526001600160a01b039283166024820152604481018590529116906323b872dd90606401600060405180830381600087803b15801561242157600080fd5b505af1158015612435573d6000803e3d6000fd5b5050600b54600c546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101869052911692506323b872dd9150606401600060405180830381600087803b15801561248f57600080fd5b505af11580156124a3573d6000803e3d6000fd5b50505050604051806040016040528083815260200182815250600f6000866124ca60005490565b6124d4919061348e565b81526020808201929092526040016000208251815591015160019091015550829150612501905081613538565b915050611ebf565b506125143386612a13565b505050505050565b60606125278261271e565b61255d576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612567612c58565b905080516000141561258857604051806020016040528060008152506125b3565b8061259284612c67565b6040516020016125a3929190613410565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146126145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6007546001600160a01b031633146126995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b6001600160a01b0381166127155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a14565b610c5e81612aea565b60008054821080156108095750600192915050565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006127a782612a2d565b80519091506000906001600160a01b0316336001600160a01b031614806127de5750336127d3846108a1565b6001600160a01b0316145b806127f0575081516127f090336106f0565b905080612829576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614612878576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0384166128b8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128c86000848460000151612733565b6001600160a01b03858116600090815260046020908152604080832080546fffffffffffffffffffffffffffffffff198082166fffffffffffffffffffffffffffffffff928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166129c9576000548110156129c9578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b611477828260405180602001604052806000815250612db5565b6040805180820190915260008082526020820152612a4a8261271e565b612a80576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000825b818110612ae3576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215612ad957949350505050565b5060001901612a84565b5050919050565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15612c4c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b8d90339089908890889060040161343f565b602060405180830381600087803b158015612ba757600080fd5b505af1925050508015612bd7575060408051601f3d908101601f19168201909252612bd49181019061336a565b60015b612c32573d808015612c05576040519150601f19603f3d011682016040523d82523d6000602084013e612c0a565b606091505b508051612c2a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612c50565b5060015b949350505050565b60606008805461081e906134fd565b606081612ca757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612cd15780612cbb81613538565b9150612cca9050600a836134a6565b9150612cab565b60008167ffffffffffffffff811115612cfa57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d24576020820181803683370190505b5090505b8415612c5057612d396001836134ba565b9150612d46600a86613553565b612d5190603061348e565b60f81b818381518110612d7457634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612dae600a866134a6565b9450612d28565b6109b983838360016000546001600160a01b038516612e00576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83612e37576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080547001000000000000000000000000000000006fffffffffffffffffffffffffffffffff1982166fffffffffffffffffffffffffffffffff9283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015612f555760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015612f2b5750612f296000888488612b49565b155b15612f49576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101612ed4565b50600055612a0c565b828054612f6a906134fd565b90600052602060002090601f016020900481019282612f8c5760008555612fd2565b82601f10612fa557805160ff1916838001178555612fd2565b82800160010185558215612fd2579182015b82811115612fd2578251825591602001919060010190612fb7565b506114069291505b808211156114065760008155600101612fda565b600067ffffffffffffffff8084111561300957613009613593565b604051601f8501601f19908116603f0116810190828211818310171561303157613031613593565b8160405280935085815286868601111561304a57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112613075578182fd5b50813567ffffffffffffffff81111561308c578182fd5b6020830191508360208260051b85010111156130a757600080fd5b9250929050565b6000602082840312156130bf578081fd5b81356125b3816135a9565b6000602082840312156130db578081fd5b81516125b3816135a9565b600080604083850312156130f8578081fd5b8235613103816135a9565b91506020830135613113816135a9565b809150509250929050565b600080600060608486031215613132578081fd5b833561313d816135a9565b9250602084013561314d816135a9565b929592945050506040919091013590565b60008060008060808587031215613173578081fd5b843561317e816135a9565b9350602085013561318e816135a9565b925060408501359150606085013567ffffffffffffffff8111156131b0578182fd5b8501601f810187136131c0578182fd5b6131cf87823560208401612fee565b91505092959194509250565b600080604083850312156131ed578182fd5b82356131f8816135a9565b91506020830135613113816135be565b6000806040838503121561321a578182fd5b8235613225816135a9565b946020939093013593505050565b60008060008060408587031215613248578384fd5b843567ffffffffffffffff8082111561325f578586fd5b61326b88838901613064565b90965094506020870135915080821115613283578384fd5b5061329087828801613064565b95989497509550505050565b600080600080600080606087890312156132b4578182fd5b863567ffffffffffffffff808211156132cb578384fd5b6132d78a838b01613064565b909850965060208901359150808211156132ef578384fd5b6132fb8a838b01613064565b90965094506040890135915080821115613313578384fd5b5061332089828a01613064565b979a9699509497509295939492505050565b600060208284031215613343578081fd5b81516125b3816135be565b60006020828403121561335f578081fd5b81356125b3816135cc565b60006020828403121561337b578081fd5b81516125b3816135cc565b600060208284031215613397578081fd5b813567ffffffffffffffff8111156133ad578182fd5b8201601f810184136133bd578182fd5b612c5084823560208401612fee565b6000602082840312156133dd578081fd5b5035919050565b600081518084526133fc8160208601602086016134d1565b601f01601f19169290920160200192915050565b600083516134228184602088016134d1565b8351908301906134368183602088016134d1565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261347160808301846133e4565b9695505050505050565b6020815260006125b360208301846133e4565b600082198211156134a1576134a1613567565b500190565b6000826134b5576134b561357d565b500490565b6000828210156134cc576134cc613567565b500390565b60005b838110156134ec5781810151838201526020016134d4565b8381111561131b5750506000910152565b600181811c9082168061351157607f821691505b6020821081141561353257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561354c5761354c613567565b5060010190565b6000826135625761356261357d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c5e57600080fd5b8015158114610c5e57600080fd5b6001600160e01b031981168114610c5e57600080fdfea26469706673582212201a197e4cf33e16ab6499ff96f9cae9087e884f404550b19502a62b20a047d91d64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000800000000000000000000000008e81d22d0dc7ef48a81ab25b773d449f08059c33000000000000000000000000d2aad45015090f8d45ad78e456b58dd61fb7cd7900000000000000000000000007c4abfdf560b0072f4f2abd869b3ab6e61eb601000000000000000000000000000000000000000000000000000000000000000b706c616365686f6c646572000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061026a5760003560e01c80634f6ccce71161015357806399ee1a76116100cb578063bc8893b41161007f578063e37bdfe211610064578063e37bdfe2146106b5578063e985e9c5146106d5578063f2fde38b1461071e57600080fd5b8063bc8893b414610674578063c87b56dd1461069557600080fd5b8063a6315ab6116100b0578063a6315ab614610620578063b88d4fde14610641578063bb787f0c1461066157600080fd5b806399ee1a76146105e0578063a22cb4651461060057600080fd5b8063715018a61161012257806382420e9f1161010757806382420e9f1461058d5780638da5cb5b146105ad57806395d89b41146105cb57600080fd5b8063715018a61461052f5780637eaa15311461054457600080fd5b80634f6ccce7146104af57806355f804b3146104cf5780636352211e146104ef57806370a082311461050f57600080fd5b80632222476a116101e65780633ccfd60b116101b557806342842e0e1161019a57806342842e0e146104645780634bc44f62146104845780634e99b8001461049a57600080fd5b80633ccfd60b1461042f5780633d5d190c1461044457600080fd5b80632222476a146103c457806323b872dd146103d95780632f745c59146103f957806332cb6b0c1461041957600080fd5b8063095ea7b31161023d57806311fa7eaa1161022257806311fa7eaa1461036557806318160ddd146103855780631a221423146103a457600080fd5b8063095ea7b31461032e5780630c894cfe1461035057600080fd5b806301ffc9a71461026f57806306fdde03146102a4578063081812fc146102c657806308d30195146102fe575b600080fd5b34801561027b57600080fd5b5061028f61028a36600461334e565b61073e565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102b961080f565b60405161029b919061347b565b3480156102d257600080fd5b506102e66102e13660046133cc565b6108a1565b6040516001600160a01b03909116815260200161029b565b34801561030a57600080fd5b5061028f6103193660046133cc565b600e6020526000908152604090205460ff1681565b34801561033a57600080fd5b5061034e610349366004613208565b6108fe565b005b34801561035c57600080fd5b5061034e6109be565b34801561037157600080fd5b50600a546102e6906001600160a01b031681565b34801561039157600080fd5b506000545b60405190815260200161029b565b3480156103b057600080fd5b50600b546102e6906001600160a01b031681565b3480156103d057600080fd5b5061034e610a5f565b3480156103e557600080fd5b5061034e6103f436600461311e565b610ada565b34801561040557600080fd5b50610396610414366004613208565b610ae5565b34801561042557600080fd5b5061039660115481565b34801561043b57600080fd5b5061034e610bd8565b34801561045057600080fd5b5061034e61045f366004613233565b610c61565b34801561047057600080fd5b5061034e61047f36600461311e565b611321565b34801561049057600080fd5b5061039660105481565b3480156104a657600080fd5b506102b961133c565b3480156104bb57600080fd5b506103966104ca3660046133cc565b6113ca565b3480156104db57600080fd5b5061034e6104ea366004613386565b61140a565b3480156104fb57600080fd5b506102e661050a3660046133cc565b61147b565b34801561051b57600080fd5b5061039661052a3660046130ae565b61148d565b34801561053b57600080fd5b5061034e6114fd565b34801561055057600080fd5b5061057861055f3660046133cc565b600f602052600090815260409020805460019091015482565b6040805192835260208301919091520161029b565b34801561059957600080fd5b506009546102e6906001600160a01b031681565b3480156105b957600080fd5b506007546001600160a01b03166102e6565b3480156105d757600080fd5b506102b9611563565b3480156105ec57600080fd5b5061034e6105fb366004613233565b611572565b34801561060c57600080fd5b5061034e61061b3660046131db565b611c01565b34801561062c57600080fd5b5060075461028f90600160a01b900460ff1681565b34801561064d57600080fd5b5061034e61065c36600461315e565b611cb0565b61034e61066f36600461329c565b611ce4565b34801561068057600080fd5b5060075461028f90600160a81b900460ff1681565b3480156106a157600080fd5b506102b96106b03660046133cc565b61251c565b3480156106c157600080fd5b5061034e6106d03660046131db565b6125ba565b3480156106e157600080fd5b5061028f6106f03660046130e6565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561072a57600080fd5b5061034e6107393660046130ae565b61263f565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806107a157506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107d557506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061080957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461081e906134fd565b80601f016020809104026020016040519081016040528092919081815260200182805461084a906134fd565b80156108975780601f1061086c57610100808354040283529160200191610897565b820191906000526020600020905b81548152906001019060200180831161087a57829003601f168201915b5050505050905090565b60006108ac8261271e565b6108e2576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006109098261147b565b9050806001600160a01b0316836001600160a01b03161415610957576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614801590610977575061097581336106f0565b155b156109ae576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109b9838383612733565b505050565b6007546001600160a01b03163314610a1d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60078054600160a81b60ff60a01b19821681900460ff1615027fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff909116179055565b6007546001600160a01b03163314610ab95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b6007805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6109b983838361279c565b6000610af08361148d565b8210610b28576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080548190815b81811015610bc1576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610b8357805193505b876001600160a01b0316846001600160a01b03161415610bb85786851415610bb15750935061080992505050565b6001909401935b50600101610b30565b50634e487b7160e01b600052600160045260246000fd5b6007546001600160a01b03163314610c325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b60405133904780156108fc02916000818181858888f19350505050158015610c5e573d6000803e3d6000fd5b50565b600754600160a81b900460ff16610cba5760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610a14565b8215801590610cc857508015155b610d145760405162461bcd60e51b815260206004820152601d60248201527f6d7573742070726f766964652069647320666f7220616c6c20617267730000006044820152606401610a14565b6010548311801590610d2857506010548111155b610d615760405162461bcd60e51b815260206004820152600a6024820152691b585e080cc81b5a5b9d60b21b6044820152606401610a14565b828114610dd65760405162461bcd60e51b815260206004820152602360248201527f6d7573742070726f7669646520657175616c206c656e6774682069642061727260448201527f61797300000000000000000000000000000000000000000000000000000000006064820152608401610a14565b60115483610de360005490565b610ded919061348e565b1115610e3b5760405162461bcd60e51b815260206004820152601d60248201527f6d696e7420776f756c6420657863656564206d617820737570706c792e0000006044820152606401610a14565b60005b83811015611310576000858583818110610e6857634e487b7160e01b600052603260045260246000fd5b9050602002013590506000848484818110610e9357634e487b7160e01b600052603260045260246000fd5b600a546040516331a9108f60e11b8152600481018790526020929092029390930135935033926001600160a01b03169150636352211e9060240160206040518083038186803b158015610ee557600080fd5b505afa158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d91906130ca565b6001600160a01b031614610f735760405162461bcd60e51b815260206004820152601d60248201527f796f7520617265206e6f7420746865206275736869646f206f776e65720000006044820152606401610a14565b600a5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b158015610fbc57600080fd5b505afa158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff49190613332565b6110405760405162461bcd60e51b815260206004820152601460248201527f6275736869646f206e6f7420617070726f7665640000000000000000000000006044820152606401610a14565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561108457600080fd5b505afa158015611098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bc91906130ca565b6001600160a01b0316146111125760405162461bcd60e51b815260206004820152601b60248201527f796f7520617265206e6f742074686520646169746f206f776e657200000000006044820152606401610a14565b600b5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b15801561115b57600080fd5b505afa15801561116f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111939190613332565b6111d45760405162461bcd60e51b815260206004820152601260248201527119185a5d1bc81b9bdd08185c1c1c9bdd995960721b6044820152606401610a14565b600a54600c546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018590529116906323b872dd90606401600060405180830381600087803b15801561122a57600080fd5b505af115801561123e573d6000803e3d6000fd5b5050600b54600c546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101869052911692506323b872dd9150606401600060405180830381600087803b15801561129857600080fd5b505af11580156112ac573d6000803e3d6000fd5b50505050604051806040016040528083815260200182815250600f6000856112d360005490565b6112dd919061348e565b8152602080820192909252604001600020825181559101516001909101555081905061130881613538565b915050610e3e565b5061131b3384612a13565b50505050565b6109b983838360405180602001604052806000815250611cb0565b60088054611349906134fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611375906134fd565b80156113c25780601f10611397576101008083540402835291602001916113c2565b820191906000526020600020905b8154815290600101906020018083116113a557829003601f168201915b505050505081565b600080548210611406576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5090565b6007546001600160a01b031633146114645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b8051611477906008906020840190612f5e565b5050565b600061148682612a2d565b5192915050565b60006001600160a01b0382166114cf576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b03166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b6007546001600160a01b031633146115575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b6115616000612aea565b565b60606002805461081e906134fd565b336000908152600d602052604090205460ff166115d15760405162461bcd60e51b815260206004820152601d60248201527f61646472657373206e6f7420696e207465616d20616c6c6f776c6973740000006044820152606401610a14565b82158015906115df57508015155b61162b5760405162461bcd60e51b815260206004820152601d60248201527f6d7573742070726f766964652069647320666f7220616c6c20617267730000006044820152606401610a14565b601054831180159061163f57506010548111155b6116785760405162461bcd60e51b815260206004820152600a6024820152691b585e080cc81b5a5b9d60b21b6044820152606401610a14565b8281146116c75760405162461bcd60e51b815260206004820181905260248201527f6d7573742070726f7669646520657175616c206c656e677468206172726179736044820152606401610a14565b601154836116d460005490565b6116de919061348e565b111561172c5760405162461bcd60e51b815260206004820152601d60248201527f6d696e7420776f756c6420657863656564206d617820737570706c792e0000006044820152606401610a14565b60005b8381101561131057600085858381811061175957634e487b7160e01b600052603260045260246000fd5b905060200201359050600084848481811061178457634e487b7160e01b600052603260045260246000fd5b600a546040516331a9108f60e11b8152600481018790526020929092029390930135935033926001600160a01b03169150636352211e9060240160206040518083038186803b1580156117d657600080fd5b505afa1580156117ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180e91906130ca565b6001600160a01b0316146118645760405162461bcd60e51b815260206004820152601d60248201527f796f7520617265206e6f7420746865206275736869646f206f776e65720000006044820152606401610a14565b600a5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b1580156118ad57600080fd5b505afa1580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e59190613332565b6119315760405162461bcd60e51b815260206004820152601460248201527f6275736869646f206e6f7420617070726f7665640000000000000000000000006044820152606401610a14565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561197557600080fd5b505afa158015611989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ad91906130ca565b6001600160a01b031614611a035760405162461bcd60e51b815260206004820152601b60248201527f796f7520617265206e6f742074686520646169746f206f776e657200000000006044820152606401610a14565b600b5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b158015611a4c57600080fd5b505afa158015611a60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a849190613332565b611ac55760405162461bcd60e51b815260206004820152601260248201527119185a5d1bc81b9bdd08185c1c1c9bdd995960721b6044820152606401610a14565b600a54600c546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018590529116906323b872dd90606401600060405180830381600087803b158015611b1b57600080fd5b505af1158015611b2f573d6000803e3d6000fd5b5050600b54600c546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101869052911692506323b872dd9150606401600060405180830381600087803b158015611b8957600080fd5b505af1158015611b9d573d6000803e3d6000fd5b50505050604051806040016040528083815260200182815250600f600085611bc460005490565b611bce919061348e565b81526020808201929092526040016000208251815591015160019091015550819050611bf981613538565b91505061172f565b6001600160a01b038216331415611c44576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611cbb84848461279c565b611cc784848484612b49565b61131b576040516368d2bf6b60e11b815260040160405180910390fd5b600754600160a01b900460ff16611d3d5760405162461bcd60e51b815260206004820152601c60248201527f73617368696d6f6e6f2073616c65206973206e6f7420616374697665000000006044820152606401610a14565b8415801590611d4b57508215155b8015611d5657508015155b611da25760405162461bcd60e51b815260206004820152601d60248201527f6d7573742070726f766964652069647320666f7220616c6c20617267730000006044820152606401610a14565b6010548511801590611db657506010548311155b8015611dc457506010548111155b611dfd5760405162461bcd60e51b815260206004820152600a6024820152691b585e080cc81b5a5b9d60b21b6044820152606401610a14565b8483148015611e0b57508281145b611e575760405162461bcd60e51b815260206004820181905260248201527f6d7573742070726f7669646520657175616c206c656e677468206172726179736044820152606401610a14565b60115485611e6460005490565b611e6e919061348e565b1115611ebc5760405162461bcd60e51b815260206004820152601d60248201527f6d696e7420776f756c6420657863656564206d617820737570706c792e0000006044820152606401610a14565b60005b85811015612509576000878783818110611ee957634e487b7160e01b600052603260045260246000fd5b9050602002013590506000868684818110611f1457634e487b7160e01b600052603260045260246000fd5b9050602002013590506000858585818110611f3f57634e487b7160e01b600052603260045260246000fd5b6009546040516331a9108f60e11b8152600481018890526020929092029390930135935033926001600160a01b03169150636352211e9060240160206040518083038186803b158015611f9157600080fd5b505afa158015611fa5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc991906130ca565b6001600160a01b03161461201f5760405162461bcd60e51b815260206004820152601f60248201527f796f7520617265206e6f74207468652073617368696d6f6e6f206f776e6572006044820152606401610a14565b6000838152600e602052604090205460ff161561207e5760405162461bcd60e51b815260206004820152601660248201527f73617368696d6f6e6f20616c72656164792075736564000000000000000000006044820152606401610a14565b600a546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e9060240160206040518083038186803b1580156120c257600080fd5b505afa1580156120d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fa91906130ca565b6001600160a01b0316146121505760405162461bcd60e51b815260206004820152601d60248201527f796f7520617265206e6f7420746865206275736869646f206f776e65720000006044820152606401610a14565b600a5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b15801561219957600080fd5b505afa1580156121ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d19190613332565b61221d5760405162461bcd60e51b815260206004820152601460248201527f6275736869646f206e6f7420617070726f7665640000000000000000000000006044820152606401610a14565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561226157600080fd5b505afa158015612275573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229991906130ca565b6001600160a01b0316146122ef5760405162461bcd60e51b815260206004820152601b60248201527f796f7520617265206e6f742074686520646169746f206f776e657200000000006044820152606401610a14565b600b5460405163e985e9c560e01b81523360048201523060248201526001600160a01b039091169063e985e9c59060440160206040518083038186803b15801561233857600080fd5b505afa15801561234c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123709190613332565b6123b15760405162461bcd60e51b815260206004820152601260248201527119185a5d1bc81b9bdd08185c1c1c9bdd995960721b6044820152606401610a14565b6000838152600e602052604090819020805460ff19166001179055600a54600c5491516323b872dd60e01b81523360048201526001600160a01b039283166024820152604481018590529116906323b872dd90606401600060405180830381600087803b15801561242157600080fd5b505af1158015612435573d6000803e3d6000fd5b5050600b54600c546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101869052911692506323b872dd9150606401600060405180830381600087803b15801561248f57600080fd5b505af11580156124a3573d6000803e3d6000fd5b50505050604051806040016040528083815260200182815250600f6000866124ca60005490565b6124d4919061348e565b81526020808201929092526040016000208251815591015160019091015550829150612501905081613538565b915050611ebf565b506125143386612a13565b505050505050565b60606125278261271e565b61255d576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612567612c58565b905080516000141561258857604051806020016040528060008152506125b3565b8061259284612c67565b6040516020016125a3929190613410565b6040516020818303038152906040525b9392505050565b6007546001600160a01b031633146126145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6007546001600160a01b031633146126995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a14565b6001600160a01b0381166127155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a14565b610c5e81612aea565b60008054821080156108095750600192915050565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006127a782612a2d565b80519091506000906001600160a01b0316336001600160a01b031614806127de5750336127d3846108a1565b6001600160a01b0316145b806127f0575081516127f090336106f0565b905080612829576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614612878576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0384166128b8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128c86000848460000151612733565b6001600160a01b03858116600090815260046020908152604080832080546fffffffffffffffffffffffffffffffff198082166fffffffffffffffffffffffffffffffff928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff16021790559086018083529120549091166129c9576000548110156129c9578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b611477828260405180602001604052806000815250612db5565b6040805180820190915260008082526020820152612a4a8261271e565b612a80576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000825b818110612ae3576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215612ad957949350505050565b5060001901612a84565b5050919050565b600780546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15612c4c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b8d90339089908890889060040161343f565b602060405180830381600087803b158015612ba757600080fd5b505af1925050508015612bd7575060408051601f3d908101601f19168201909252612bd49181019061336a565b60015b612c32573d808015612c05576040519150601f19603f3d011682016040523d82523d6000602084013e612c0a565b606091505b508051612c2a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612c50565b5060015b949350505050565b60606008805461081e906134fd565b606081612ca757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612cd15780612cbb81613538565b9150612cca9050600a836134a6565b9150612cab565b60008167ffffffffffffffff811115612cfa57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d24576020820181803683370190505b5090505b8415612c5057612d396001836134ba565b9150612d46600a86613553565b612d5190603061348e565b60f81b818381518110612d7457634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612dae600a866134a6565b9450612d28565b6109b983838360016000546001600160a01b038516612e00576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83612e37576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080547001000000000000000000000000000000006fffffffffffffffffffffffffffffffff1982166fffffffffffffffffffffffffffffffff9283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b85811015612f555760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015612f2b5750612f296000888488612b49565b155b15612f49576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101612ed4565b50600055612a0c565b828054612f6a906134fd565b90600052602060002090601f016020900481019282612f8c5760008555612fd2565b82601f10612fa557805160ff1916838001178555612fd2565b82800160010185558215612fd2579182015b82811115612fd2578251825591602001919060010190612fb7565b506114069291505b808211156114065760008155600101612fda565b600067ffffffffffffffff8084111561300957613009613593565b604051601f8501601f19908116603f0116810190828211818310171561303157613031613593565b8160405280935085815286868601111561304a57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112613075578182fd5b50813567ffffffffffffffff81111561308c578182fd5b6020830191508360208260051b85010111156130a757600080fd5b9250929050565b6000602082840312156130bf578081fd5b81356125b3816135a9565b6000602082840312156130db578081fd5b81516125b3816135a9565b600080604083850312156130f8578081fd5b8235613103816135a9565b91506020830135613113816135a9565b809150509250929050565b600080600060608486031215613132578081fd5b833561313d816135a9565b9250602084013561314d816135a9565b929592945050506040919091013590565b60008060008060808587031215613173578081fd5b843561317e816135a9565b9350602085013561318e816135a9565b925060408501359150606085013567ffffffffffffffff8111156131b0578182fd5b8501601f810187136131c0578182fd5b6131cf87823560208401612fee565b91505092959194509250565b600080604083850312156131ed578182fd5b82356131f8816135a9565b91506020830135613113816135be565b6000806040838503121561321a578182fd5b8235613225816135a9565b946020939093013593505050565b60008060008060408587031215613248578384fd5b843567ffffffffffffffff8082111561325f578586fd5b61326b88838901613064565b90965094506020870135915080821115613283578384fd5b5061329087828801613064565b95989497509550505050565b600080600080600080606087890312156132b4578182fd5b863567ffffffffffffffff808211156132cb578384fd5b6132d78a838b01613064565b909850965060208901359150808211156132ef578384fd5b6132fb8a838b01613064565b90965094506040890135915080821115613313578384fd5b5061332089828a01613064565b979a9699509497509295939492505050565b600060208284031215613343578081fd5b81516125b3816135be565b60006020828403121561335f578081fd5b81356125b3816135cc565b60006020828403121561337b578081fd5b81516125b3816135cc565b600060208284031215613397578081fd5b813567ffffffffffffffff8111156133ad578182fd5b8201601f810184136133bd578182fd5b612c5084823560208401612fee565b6000602082840312156133dd578081fd5b5035919050565b600081518084526133fc8160208601602086016134d1565b601f01601f19169290920160200192915050565b600083516134228184602088016134d1565b8351908301906134368183602088016134d1565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261347160808301846133e4565b9695505050505050565b6020815260006125b360208301846133e4565b600082198211156134a1576134a1613567565b500190565b6000826134b5576134b561357d565b500490565b6000828210156134cc576134cc613567565b500390565b60005b838110156134ec5781810151838201526020016134d4565b8381111561131b5750506000910152565b600181811c9082168061351157607f821691505b6020821081141561353257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561354c5761354c613567565b5060010190565b6000826135625761356261357d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c5e57600080fd5b8015158114610c5e57600080fd5b6001600160e01b031981168114610c5e57600080fdfea26469706673582212201a197e4cf33e16ab6499ff96f9cae9087e884f404550b19502a62b20a047d91d64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000800000000000000000000000008e81d22d0dc7ef48a81ab25b773d449f08059c33000000000000000000000000d2aad45015090f8d45ad78e456b58dd61fb7cd7900000000000000000000000007c4abfdf560b0072f4f2abd869b3ab6e61eb601000000000000000000000000000000000000000000000000000000000000000b706c616365686f6c646572000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : uri (string): placeholder
Arg [1] : sashimonoAddress (address): 0x8E81d22d0Dc7ef48A81aB25b773D449f08059C33
Arg [2] : bushidoAddress (address): 0xd2AAd45015090F8d45ad78E456B58dd61Fb7cD79
Arg [3] : daitoAddress (address): 0x07C4AbFdF560b0072f4F2aBD869B3Ab6E61eB601

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000008e81d22d0dc7ef48a81ab25b773d449f08059c33
Arg [2] : 000000000000000000000000d2aad45015090f8d45ad78e456b58dd61fb7cd79
Arg [3] : 00000000000000000000000007c4abfdf560b0072f4f2abd869b3ab6e61eb601
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 706c616365686f6c646572000000000000000000000000000000000000000000


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.