ETH Price: $2,445.67 (+1.80%)

Token

MaidCoin Sushi Girls (SUSHIGIRLS)
 

Overview

Max Total Supply

33 SUSHIGIRLS

Holders

28

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SUSHIGIRLS
0x278190a9e040f9e65e9aaaf28e836dd5e8a126d5
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SushiGirls

Compiler Version
v0.8.5+commit.a4f2e591

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : SushiGirls.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.5;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./libraries/ERC721.sol";
import "./libraries/ERC721Enumerable.sol";
import "./uniswapv2/interfaces/IUniswapV2Pair.sol";
import "./interfaces/IERC1271.sol";
import "./interfaces/ISushiGirls.sol";
import "./libraries/Signature.sol";
import "./interfaces/IMasterChef.sol";

contract SushiGirls is Ownable, ERC721("MaidCoin Sushi Girls", "SUSHIGIRLS"), ERC721Enumerable, ISushiGirls {
    struct SushiGirlInfo {
        uint256 originPower;
        uint256 supportedLPTokenAmount;
        uint256 sushiRewardDebt;
    }

    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    // keccak256("Permit(address spender,uint256 tokenId,uint256 nonce,uint256 deadline)");
    bytes32 public constant override PERMIT_TYPEHASH =
        0x49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad;

    // keccak256("Permit(address owner,address spender,uint256 nonce,uint256 deadline)");
    bytes32 public constant override PERMIT_ALL_TYPEHASH =
        0xdaab21af31ece73a508939fedd476a5ee5129a5ed4bb091f3236ffb45394df62;

    mapping(uint256 => uint256) public override nonces;
    mapping(address => uint256) public override noncesForAll;

    IUniswapV2Pair public immutable override lpToken;
    uint256 public override lpTokenToSushiGirlPower = 1;
    SushiGirlInfo[] public override sushiGirls;

    IERC20 public immutable override sushi;
    IMasterChef public override sushiMasterChef;
    uint256 public override pid;
    uint256 public override sushiLastRewardBlock;
    uint256 public override accSushiPerShare;
    bool private initialDeposited;

    constructor(IUniswapV2Pair _lpToken, IERC20 _sushi) {
        lpToken = _lpToken;
        sushi = _sushi;

        _CACHED_CHAIN_ID = block.chainid;
        _HASHED_NAME = keccak256(bytes("MaidCoin Sushi Girls"));
        _HASHED_VERSION = keccak256(bytes("1"));
        _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

        _CACHED_DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes("MaidCoin Sushi Girls")),
                keccak256(bytes("1")),
                block.chainid,
                address(this)
            )
        );
    }

    function _baseURI() internal pure override returns (string memory) {
        return "https://api.maidcoin.org/sushigirls/";
    }

    function DOMAIN_SEPARATOR() public view override returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return keccak256(abi.encode(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION, block.chainid, address(this)));
        }
    }

    function changeLPTokenToSushiGirlPower(uint256 value) external onlyOwner {
        lpTokenToSushiGirlPower = value;
        emit ChangeLPTokenToSushiGirlPower(value);
    }

    function mint(uint256 power) external onlyOwner returns (uint256 id) {
        id = sushiGirls.length;
        sushiGirls.push(SushiGirlInfo({originPower: power, supportedLPTokenAmount: 0, sushiRewardDebt: 0}));
        _mint(msg.sender, id);
    }

    function mintBatch(uint256[] calldata powers, uint256 amounts) external onlyOwner {
        require(powers.length == amounts, "SushiGirls: Invalid parameters");
        uint256 from = sushiGirls.length;
        for (uint256 i = 0; i < amounts; i += 1) {
            sushiGirls.push(SushiGirlInfo({originPower: powers[i], supportedLPTokenAmount: 0, sushiRewardDebt: 0}));
            _mint(msg.sender, (i + from));
        }
    }

    function powerOf(uint256 id) external view override returns (uint256) {
        SushiGirlInfo storage sushiGirl = sushiGirls[id];
        return sushiGirl.originPower + (sushiGirl.supportedLPTokenAmount * lpTokenToSushiGirlPower) / 1e18;
    }

    function support(uint256 id, uint256 lpTokenAmount) public override {
        require(ownerOf(id) == msg.sender, "SushiGirls: Forbidden");
        require(lpTokenAmount > 0, "SushiGirls: Invalid lpTokenAmount");
        uint256 _supportedLPTokenAmount = sushiGirls[id].supportedLPTokenAmount;

        sushiGirls[id].supportedLPTokenAmount = _supportedLPTokenAmount + lpTokenAmount;
        lpToken.transferFrom(msg.sender, address(this), lpTokenAmount);

        uint256 _pid = pid;
        if (_pid > 0) {
            uint256 _totalSupportedLPTokenAmount = sushiMasterChef.userInfo(_pid, address(this)).amount;
            uint256 _accSushiPerShare = _depositToSushiMasterChef(_pid, lpTokenAmount, _totalSupportedLPTokenAmount);
            uint256 pending = (_supportedLPTokenAmount * _accSushiPerShare) / 1e18 - sushiGirls[id].sushiRewardDebt;
            if (pending > 0) safeSushiTransfer(msg.sender, pending);
            sushiGirls[id].sushiRewardDebt = ((_supportedLPTokenAmount + lpTokenAmount) * _accSushiPerShare) / 1e18;
        }

        emit Support(id, lpTokenAmount);
    }

    function supportWithPermit(
        uint256 id,
        uint256 lpTokenAmount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external override {
        lpToken.permit(msg.sender, address(this), lpTokenAmount, deadline, v, r, s);
        support(id, lpTokenAmount);
    }

    function desupport(uint256 id, uint256 lpTokenAmount) external override {
        require(ownerOf(id) == msg.sender, "SushiGirls: Forbidden");
        require(lpTokenAmount > 0, "SushiGirls: Invalid lpTokenAmount");
        uint256 _supportedLPTokenAmount = sushiGirls[id].supportedLPTokenAmount;

        sushiGirls[id].supportedLPTokenAmount = _supportedLPTokenAmount - lpTokenAmount;

        uint256 _pid = pid;
        if (_pid > 0) {
            uint256 _totalSupportedLPTokenAmount = sushiMasterChef.userInfo(_pid, address(this)).amount;
            uint256 _accSushiPerShare = _withdrawFromSushiMasterChef(_pid, lpTokenAmount, _totalSupportedLPTokenAmount);
            uint256 pending = (_supportedLPTokenAmount * _accSushiPerShare) / 1e18 - sushiGirls[id].sushiRewardDebt;
            if (pending > 0) safeSushiTransfer(msg.sender, pending);
            sushiGirls[id].sushiRewardDebt = ((_supportedLPTokenAmount - lpTokenAmount) * _accSushiPerShare) / 1e18;
        }

        lpToken.transfer(msg.sender, lpTokenAmount);
        emit Desupport(id, lpTokenAmount);
    }

    function claimSushiReward(uint256 id) public override {
        require(ownerOf(id) == msg.sender, "SushiGirls: Forbidden");
        uint256 _pid = pid;
        require(_pid > 0, "SushiGirls: Unclaimable");
        uint256 _supportedLPTokenAmount = sushiGirls[id].supportedLPTokenAmount;

        uint256 _totalSupportedLPTokenAmount = sushiMasterChef.userInfo(_pid, address(this)).amount;
        uint256 _accSushiPerShare = _depositToSushiMasterChef(_pid, 0, _totalSupportedLPTokenAmount);
        uint256 pending = (_supportedLPTokenAmount * _accSushiPerShare) / 1e18 - sushiGirls[id].sushiRewardDebt;
        require(pending > 0, "SushiGirls: Nothing can be claimed");
        safeSushiTransfer(msg.sender, pending);
        sushiGirls[id].sushiRewardDebt = (_supportedLPTokenAmount * _accSushiPerShare) / 1e18;
    }

    function pendingSushiReward(uint256 id) external view override returns (uint256) {
        uint256 _pid = pid;
        if (_pid == 0) return 0;
        uint256 _supportedLPTokenAmount = sushiGirls[id].supportedLPTokenAmount;
        uint256 _totalSupportedLPTokenAmount = sushiMasterChef.userInfo(_pid, address(this)).amount;

        uint256 _accSushiPerShare = accSushiPerShare;
        if (block.number > sushiLastRewardBlock && _totalSupportedLPTokenAmount != 0) {
            uint256 reward = sushiMasterChef.pendingSushi(pid, address(this));
            _accSushiPerShare += ((reward * 1e18) / _totalSupportedLPTokenAmount);
        }

        return (_supportedLPTokenAmount * _accSushiPerShare) / 1e18 - sushiGirls[id].sushiRewardDebt;
    }

    function permit(
        address spender,
        uint256 id,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external override {
        require(block.timestamp <= deadline, "SushiGirls: Expired deadline");
        bytes32 _DOMAIN_SEPARATOR = DOMAIN_SEPARATOR();

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                _DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, spender, id, nonces[id], deadline))
            )
        );
        nonces[id] += 1;

        address owner = ownerOf(id);
        require(spender != owner, "SushiGirls: Invalid spender");

        if (Address.isContract(owner)) {
            require(
                IERC1271(owner).isValidSignature(digest, abi.encodePacked(r, s, v)) == 0x1626ba7e,
                "SushiGirls: Unauthorized"
            );
        } else {
            address recoveredAddress = Signature.recover(digest, v, r, s);
            require(recoveredAddress == owner, "SushiGirls: Unauthorized");
        }

        _approve(spender, id);
    }

    function permitAll(
        address owner,
        address spender,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external override {
        require(block.timestamp <= deadline, "SushiGirls: Expired deadline");
        bytes32 _DOMAIN_SEPARATOR = DOMAIN_SEPARATOR();

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                _DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_ALL_TYPEHASH, owner, spender, noncesForAll[owner], deadline))
            )
        );
        noncesForAll[owner] += 1;

        if (Address.isContract(owner)) {
            require(
                IERC1271(owner).isValidSignature(digest, abi.encodePacked(r, s, v)) == 0x1626ba7e,
                "SushiGirls: Unauthorized"
            );
        } else {
            address recoveredAddress = Signature.recover(digest, v, r, s);
            require(recoveredAddress == owner, "SushiGirls: Unauthorized");
        }

        _setApprovalForAll(owner, spender, true);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable, IERC165)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function setSushiMasterChef(IMasterChef _masterChef, uint256 _pid) external override onlyOwner {
        require(address(_masterChef.poolInfo(_pid).lpToken) == address(lpToken), "SushiGirls: Invalid pid");
        if (!initialDeposited) {
            initialDeposited = true;
            lpToken.approve(address(_masterChef), type(uint256).max);

            sushiMasterChef = _masterChef;
            pid = _pid;
            _depositToSushiMasterChef(_pid, lpToken.balanceOf(address(this)), 0);
        } else {
            IMasterChef oldChef = sushiMasterChef;
            uint256 oldpid = pid;
            _withdrawFromSushiMasterChef(oldpid, oldChef.userInfo(oldpid, address(this)).amount, 0);
            if (_masterChef != oldChef) {
                lpToken.approve(address(oldChef), 0);
                lpToken.approve(address(_masterChef), type(uint256).max);
            }

            sushiMasterChef = _masterChef;
            pid = _pid;
            _depositToSushiMasterChef(_pid, lpToken.balanceOf(address(this)), 0);
        }
    }

    function _depositToSushiMasterChef(
        uint256 _pid,
        uint256 _amount,
        uint256 _totalSupportedLPTokenAmount
    ) internal returns (uint256 _accSushiPerShare) {
        return _toSushiMasterChef(true, _pid, _amount, _totalSupportedLPTokenAmount);
    }

    function _withdrawFromSushiMasterChef(
        uint256 _pid,
        uint256 _amount,
        uint256 _totalSupportedLPTokenAmount
    ) internal returns (uint256 _accSushiPerShare) {
        return _toSushiMasterChef(false, _pid, _amount, _totalSupportedLPTokenAmount);
    }

    function _toSushiMasterChef(
        bool deposit,
        uint256 _pid,
        uint256 _amount,
        uint256 _totalSupportedLPTokenAmount
    ) internal returns (uint256) {
        uint256 reward;
        if (block.number <= sushiLastRewardBlock) {
            if (deposit) sushiMasterChef.deposit(_pid, _amount);
            else sushiMasterChef.withdraw(_pid, _amount);
            return accSushiPerShare;
        } else {
            uint256 balance0 = sushi.balanceOf(address(this));
            if (deposit) sushiMasterChef.deposit(_pid, _amount);
            else sushiMasterChef.withdraw(_pid, _amount);
            uint256 balance1 = sushi.balanceOf(address(this));
            reward = balance1 - balance0;
        }
        sushiLastRewardBlock = block.number;
        if (_totalSupportedLPTokenAmount > 0 && reward > 0) {
            uint256 _accSushiPerShare = accSushiPerShare + ((reward * 1e18) / _totalSupportedLPTokenAmount);
            accSushiPerShare = _accSushiPerShare;
            return _accSushiPerShare;
        } else {
            return accSushiPerShare;
        }
    }

    function safeSushiTransfer(address _to, uint256 _amount) internal {
        uint256 sushiBal = sushi.balanceOf(address(this));
        if (_amount > sushiBal) {
            sushi.transfer(_to, sushiBal);
        } else {
            sushi.transfer(_to, _amount);
        }
    }
}

File 2 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal {
        require(owner != operator, "ERC721: approve to caller");

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 19 : IUniswapV2Pair.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to) external returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

File 6 of 19 : IERC1271.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;

/// @title Interface for verifying contract-based account signatures
/// @notice Interface that verifies provided signature for the data
/// @dev Interface defined by EIP-1271
interface IERC1271 {
    /// @notice Returns whether the provided signature is valid for the provided data
    /// @dev MUST return the bytes4 magic value 0x1626ba7e when function passes.
    /// MUST NOT modify state (using STATICCALL for solc < 0.5, view modifier for solc > 0.5).
    /// MUST allow external calls.
    /// @param hash Hash of the data to be signed
    /// @param signature Signature byte array associated with _data
    /// @return magicValue The bytes4 magic value 0x1626ba7e
    function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}

File 7 of 19 : ISushiGirls.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "../uniswapv2/interfaces/IUniswapV2Pair.sol";
import "./IMasterChef.sol";

interface ISushiGirls is IERC721, IERC721Metadata, IERC721Enumerable {
    event ChangeLPTokenToSushiGirlPower(uint256 value);
    event Support(uint256 indexed id, uint256 lpTokenAmount);
    event Desupport(uint256 indexed id, uint256 lpTokenAmount);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external view returns (bytes32);

    function PERMIT_ALL_TYPEHASH() external view returns (bytes32);

    function nonces(uint256 id) external view returns (uint256);

    function noncesForAll(address owner) external view returns (uint256);

    function lpToken() external view returns (IUniswapV2Pair);

    function lpTokenToSushiGirlPower() external view returns (uint256);

    function sushiGirls(uint256 id)
        external
        view
        returns (
            uint256 originPower,
            uint256 supportedLPTokenAmount,
            uint256 sushiRewardDebt
        );

    function sushi() external view returns (IERC20);

    function sushiMasterChef() external view returns (IMasterChef);

    function pid() external view returns (uint256);

    function sushiLastRewardBlock() external view returns (uint256);

    function accSushiPerShare() external view returns (uint256);

    function powerOf(uint256 id) external view returns (uint256);

    function support(uint256 id, uint256 lpTokenAmount) external;

    function supportWithPermit(
        uint256 id,
        uint256 lpTokenAmount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    function desupport(uint256 id, uint256 lpTokenAmount) external;

    function claimSushiReward(uint256 id) external;

    function pendingSushiReward(uint256 id) external view returns (uint256);

    function permit(
        address spender,
        uint256 id,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    function permitAll(
        address owner,
        address spender,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    function setSushiMasterChef(IMasterChef _masterChef, uint256 pid) external;
}

File 8 of 19 : Signature.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.5;

library Signature {
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(
            uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
            "ECDSA: invalid signature 's' value"
        );
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }
}

File 9 of 19 : IMasterChef.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IMasterChef {
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
    }

    struct PoolInfo {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. SUSHI to distribute per block.
        uint256 lastRewardBlock; // Last block number that SUSHI distribution occurs.
        uint256 accSushiPerShare; // Accumulated SUSHI per share, times 1e12. See below.
    }

    function poolInfo(uint256 pid) external view returns (IMasterChef.PoolInfo memory);

    function userInfo(uint256 pid, address user) external view returns (IMasterChef.UserInfo memory);

    function pendingSushi(uint256 _pid, address _user) external view returns (uint256);

    function deposit(uint256 _pid, uint256 _amount) external;

    function withdraw(uint256 _pid, uint256 _amount) external;
}

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

pragma solidity ^0.8.0;

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

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

File 11 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 13 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 14 of 19 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 15 of 19 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 16 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 18 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 19 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IUniswapV2Pair","name":"_lpToken","type":"address"},{"internalType":"contract IERC20","name":"_sushi","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ChangeLPTokenToSushiGirlPower","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpTokenAmount","type":"uint256"}],"name":"Desupport","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":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpTokenAmount","type":"uint256"}],"name":"Support","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":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_ALL_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accSushiPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"changeLPTokenToSushiGirlPower","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"claimSushiReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"lpTokenAmount","type":"uint256"}],"name":"desupport","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpTokenToSushiGirlPower","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"power","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"powers","type":"uint256[]"},{"internalType":"uint256","name":"amounts","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"noncesForAll","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"pendingSushiReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permitAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"powerOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMasterChef","name":"_masterChef","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"setSushiMasterChef","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"lpTokenAmount","type":"uint256"}],"name":"support","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"lpTokenAmount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"supportWithPermit","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":"sushi","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sushiGirls","outputs":[{"internalType":"uint256","name":"originPower","type":"uint256"},{"internalType":"uint256","name":"supportedLPTokenAmount","type":"uint256"},{"internalType":"uint256","name":"sushiRewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiLastRewardBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiMasterChef","outputs":[{"internalType":"contract IMasterChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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"}]

6101606040526001600d553480156200001757600080fd5b5060405162004496380380620044968339810160408190526200003a9162000317565b6040518060400160405280601481526020017f4d616964436f696e205375736869204769726c730000000000000000000000008152506040518060400160405280600a81526020016953555348494749524c5360b01b815250620000ad620000a76200021d60201b60201c565b62000221565b8151620000c290600190602085019062000271565b508051620000d890600290602084019062000271565b5050506001600160601b0319606092831b81166101205290821b16610140524660a081815260408051808201825260148082527f4d616964436f696e205375736869204769726c7300000000000000000000000060209283018190527f5d729af6e3b6144c583a01ea35e1c2469ab7e1bd88daf14362fb90d4f155ee1860c0818152855180870187526001808252603160f81b9187018290527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660e08190527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6101008190528951808b018b5297885296880195909552875180890189529081528601528551808601949094528386019190915296820152608081810195909552308185015282518082039094018452909401905280519201919091209052620003ac565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200027f9062000356565b90600052602060002090601f016020900481019282620002a35760008555620002ee565b82601f10620002be57805160ff1916838001178555620002ee565b82800160010185558215620002ee579182015b82811115620002ee578251825591602001919060010190620002d1565b50620002fc92915062000300565b5090565b5b80821115620002fc576000815560010162000301565b600080604083850312156200032b57600080fd5b8251620003388162000393565b60208401519092506200034b8162000393565b809150509250929050565b600181811c908216806200036b57607f821691505b602082108114156200038d57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b0381168114620003a957600080fd5b50565b60805160a05160c05160e051610100516101205160601c6101405160601c6140276200046f600039600081816103490152818161293e015281816129f001528181612a9301528181613197015261330901526000818161044b015281816112bc015281816116e901528181611c0b01528181611d0a01528181611e1e01528181611edb01528181612033015281816120d7015261219501526000610a5301526000610aa101526000610a7901526000610a0201526000610a2b01526140276000f3fe608060405234801561001057600080fd5b50600436106102735760003560e01c806370a0823111610151578063a22cb465116100c3578063b88d4fde11610087578063b88d4fde146105c2578063c87b56dd146105d5578063c9bbd04a146105e8578063e985e9c5146105fb578063f106845414610637578063f2fde38b1461064057600080fd5b8063a22cb4651461054f578063a234d60814610562578063a39b10fa14610575578063aba0784714610588578063b4e13c8d1461059b57600080fd5b8063884246641161011557806388424664146104e75780638da5cb5b146104f0578063904dfb8e1461050157806395d89b41146105215780639be56c6714610529578063a0712d681461053c57600080fd5b806370a0823114610493578063715018a6146104a6578063719242c2146104ae5780637492ee28146104c15780637ac2ff7b146104d457600080fd5b806330adf81f116101ea5780634fd3c34a116101ae5780634fd3c34a1461041757806357339be61461042057806358bb45c9146104335780635fcbd285146104465780636232fceb1461046d5780636352211e1461048057600080fd5b806330adf81f146103b95780633644e515146103e057806338e97f44146103e857806342842e0e146103f15780634f6ccce71461040457600080fd5b8063095ea7b31161023c578063095ea7b31461032f5780630a08790314610344578063141a468c1461036b57806318160ddd1461038b57806323b872dd146103935780632f745c59146103a657600080fd5b80629159f51461027857806301ffc9a7146102ab57806304eaa113146102ce57806306fdde03146102ef578063081812fc14610304575b600080fd5b61028b610286366004613b39565b610653565b604080519384526020840192909252908201526060015b60405180910390f35b6102be6102b9366004613a41565b610686565b60405190151581526020016102a2565b6102e16102dc366004613b39565b610697565b6040519081526020016102a2565b6102f76106f5565b6040516102a29190613c6b565b610317610312366004613b39565b610787565b6040516001600160a01b0390911681526020016102a2565b61034261033d36600461393d565b610821565b005b6103177f000000000000000000000000000000000000000000000000000000000000000081565b6102e1610379366004613b39565b600b6020526000908152604090205481565b6009546102e1565b6103426103a13660046137a7565b610937565b6102e16103b436600461393d565b610968565b6102e17f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad81565b6102e16109fe565b6102e160115481565b6103426103ff3660046137a7565b610aef565b6102e1610412366004613b39565b610b0a565b6102e160125481565b61034261042e366004613b39565b610b9d565b6102e1610441366004613b39565b610dde565b6103177f000000000000000000000000000000000000000000000000000000000000000081565b61034261047b366004613b39565b610fc6565b61031761048e366004613b39565b61102b565b6102e16104a1366004613751565b6110a2565b610342611129565b6103426104bc3660046139a9565b61115f565b6103426104cf366004613b8d565b61127c565b6103426104e2366004613969565b611332565b6102e1600d5481565b6000546001600160a01b0316610317565b6102e161050f366004613751565b600c6020526000908152604090205481565b6102f761160c565b610342610537366004613b6b565b61161b565b6102e161054a366004613b39565b611901565b61034261055d36600461390f565b6119e1565b610342610570366004613b6b565b6119f0565b61034261058336600461393d565b611cc2565b6103426105963660046138ac565b6121c6565b6102e17fdaab21af31ece73a508939fedd476a5ee5129a5ed4bb091f3236ffb45394df6281565b6103426105d03660046137e8565b612435565b6102f76105e3366004613b39565b61246d565b600f54610317906001600160a01b031681565b6102be61060936600461376e565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6102e160105481565b61034261064e366004613751565b612547565b600e818154811061066357600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b6000610691826125e2565b92915050565b600080600e83815481106106ad576106ad613f68565b90600052602060002090600302019050670de0b6b3a7640000600d5482600101546106d89190613e5a565b6106e29190613e46565b81546106ee9190613e2e565b9392505050565b60606001805461070490613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461073090613ebc565b801561077d5780601f106107525761010080835404028352916020019161077d565b820191906000526020600020905b81548152906001019060200180831161076057829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166108055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061082c8261102b565b9050806001600160a01b0316836001600160a01b0316141561089a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107fc565b336001600160a01b03821614806108b657506108b68133610609565b6109285760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107fc565b6109328383612607565b505050565b6109413382612675565b61095d5760405162461bcd60e51b81526004016107fc90613dac565b61093283838361276c565b6000610973836110a2565b82106109d55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107fc565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b60007f0000000000000000000000000000000000000000000000000000000000000000461415610a4d57507f000000000000000000000000000000000000000000000000000000000000000090565b604080517f000000000000000000000000000000000000000000000000000000000000000060208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b61093283838360405180602001604052806000815250612435565b6000610b1560095490565b8210610b785760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107fc565b60098281548110610b8b57610b8b613f68565b90600052602060002001549050919050565b33610ba78261102b565b6001600160a01b031614610bcd5760405162461bcd60e51b81526004016107fc90613d7d565b60105480610c1d5760405162461bcd60e51b815260206004820152601760248201527f53757368694769726c733a20556e636c61696d61626c6500000000000000000060448201526064016107fc565b6000600e8381548110610c3257610c32613f68565b6000918252602082206003919091020160010154600f546040516393f1a40b60e01b8152600481018690523060248201529193506001600160a01b0316906393f1a40b90604401604080518083038186803b158015610c9057600080fd5b505afa158015610ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc89190613aea565b5190506000610cd8848284612917565b90506000600e8681548110610cef57610cef613f68565b906000526020600020906003020160020154670de0b6b3a76400008386610d169190613e5a565b610d209190613e46565b610d2a9190613e79565b905060008111610d875760405162461bcd60e51b815260206004820152602260248201527f53757368694769726c733a204e6f7468696e672063616e20626520636c61696d604482015261195960f21b60648201526084016107fc565b610d913382612926565b670de0b6b3a7640000610da48386613e5a565b610dae9190613e46565b600e8781548110610dc157610dc1613f68565b906000526020600020906003020160020181905550505050505050565b60105460009080610df25750600092915050565b6000600e8481548110610e0757610e07613f68565b6000918252602082206003919091020160010154600f546040516393f1a40b60e01b8152600481018690523060248201529193506001600160a01b0316906393f1a40b90604401604080518083038186803b158015610e6557600080fd5b505afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190613aea565b516012546011549192509043118015610eb557508115155b15610f6e57600f5460105460405163065509bb60e21b815260048101919091523060248201526000916001600160a01b03169063195426ec9060440160206040518083038186803b158015610f0957600080fd5b505afa158015610f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f419190613b52565b905082610f5682670de0b6b3a7640000613e5a565b610f609190613e46565b610f6a9083613e2e565b9150505b600e8681548110610f8157610f81613f68565b906000526020600020906003020160020154670de0b6b3a76400008285610fa89190613e5a565b610fb29190613e46565b610fbc9190613e79565b9695505050505050565b6000546001600160a01b03163314610ff05760405162461bcd60e51b81526004016107fc90613d48565b600d8190556040518181527fd1712aea07715b59dbc1e1ebe62d2aa74d20000b40db37b3f2232bf38f5c68ed9060200160405180910390a150565b6000818152600360205260408120546001600160a01b0316806106915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107fc565b60006001600160a01b03821661110d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107fc565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146111535760405162461bcd60e51b81526004016107fc90613d48565b61115d6000612ac2565b565b6000546001600160a01b031633146111895760405162461bcd60e51b81526004016107fc90613d48565b8181146111d85760405162461bcd60e51b815260206004820152601e60248201527f53757368694769726c733a20496e76616c696420706172616d6574657273000060448201526064016107fc565b600e5460005b8281101561127557600e604051806060016040528087878581811061120557611205613f68565b6020908102929092013583525060008282018190526040928301819052845460018181018755958252908290208451600390920201908155908301519381019390935501516002909101556112633361125e8484613e2e565b612b12565b61126e600182613e2e565b90506111de565b5050505050565b60405163d505accf60e01b8152336004820152306024820152604481018690526064810185905260ff8416608482015260a4810183905260c481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d505accf9060e401600060405180830381600087803b15801561130857600080fd5b505af115801561131c573d6000803e3d6000fd5b5050505061132a868661161b565b505050505050565b834211156113825760405162461bcd60e51b815260206004820152601c60248201527f53757368694769726c733a204578706972656420646561646c696e650000000060448201526064016107fc565b600061138c6109fe565b6000878152600b60208181526040808420805482517f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad818601526001600160a01b038f1681850152606081018e90526080810182905260a08082018e90528451808303909101815260c08201855280519086012061190160f01b60e083015260e2820189905261010280830191909152845180830390910181526101229091019093528251928401929092208c865293909252939450909260019290611453908490613e2e565b90915550600090506114648861102b565b9050806001600160a01b0316896001600160a01b031614156114c85760405162461bcd60e51b815260206004820152601b60248201527f53757368694769726c733a20496e76616c6964207370656e646572000000000060448201526064016107fc565b803b156115b457604080516020810187905280820186905260f888901b6001600160f81b0319166060820152815160418183030181526061820192839052630b135d3f60e11b9092526001600160a01b03831691631626ba7e91611530918691606501613c52565b60206040518083038186803b15801561154857600080fd5b505afa15801561155c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115809190613a5e565b6001600160e01b031916631626ba7e60e01b146115af5760405162461bcd60e51b81526004016107fc90613d11565b6115f7565b60006115c283888888612c60565b9050816001600160a01b0316816001600160a01b0316146115f55760405162461bcd60e51b81526004016107fc90613d11565b505b6116018989612607565b505050505050505050565b60606002805461070490613ebc565b336116258361102b565b6001600160a01b03161461164b5760405162461bcd60e51b81526004016107fc90613d7d565b6000811161166b5760405162461bcd60e51b81526004016107fc90613cd0565b6000600e838154811061168057611680613f68565b906000526020600020906003020160010154905081816116a09190613e2e565b600e84815481106116b3576116b3613f68565b60009182526020909120600390910201600101556040516323b872dd60e01b8152336004820152306024820152604481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd90606401602060405180830381600087803b15801561173557600080fd5b505af1158015611749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176d9190613a24565b5060105480156118c157600f546040516393f1a40b60e01b8152600481018390523060248201526000916001600160a01b0316906393f1a40b90604401604080518083038186803b1580156117c157600080fd5b505afa1580156117d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f99190613aea565b5190506000611809838684612917565b90506000600e878154811061182057611820613f68565b906000526020600020906003020160020154670de0b6b3a764000083876118479190613e5a565b6118519190613e46565b61185b9190613e79565b9050801561186d5761186d3382612926565b670de0b6b3a7640000826118818888613e2e565b61188b9190613e5a565b6118959190613e46565b600e88815481106118a8576118a8613f68565b9060005260206000209060030201600201819055505050505b837f9c86c947c690753cc6de6016e1c45414d895662cc13af08319148419baf5df2f846040516118f391815260200190565b60405180910390a250505050565b600080546001600160a01b0316331461192c5760405162461bcd60e51b81526004016107fc90613d48565b50600e80546040805160608101825284815260006020820181815292820181815260018501865594905251600383027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd81019190915590517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe82015591517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff909201919091556119dc3382612b12565b919050565b6119ec338383612e09565b5050565b336119fa8361102b565b6001600160a01b031614611a205760405162461bcd60e51b81526004016107fc90613d7d565b60008111611a405760405162461bcd60e51b81526004016107fc90613cd0565b6000600e8381548110611a5557611a55613f68565b90600052602060002090600302016001015490508181611a759190613e79565b600e8481548110611a8857611a88613f68565b60009182526020909120600160039092020101556010548015611bef57600f546040516393f1a40b60e01b8152600481018390523060248201526000916001600160a01b0316906393f1a40b90604401604080518083038186803b158015611aef57600080fd5b505afa158015611b03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b279190613aea565b5190506000611b37838684612ed8565b90506000600e8781548110611b4e57611b4e613f68565b906000526020600020906003020160020154670de0b6b3a76400008387611b759190613e5a565b611b7f9190613e46565b611b899190613e79565b90508015611b9b57611b9b3382612926565b670de0b6b3a764000082611baf8888613e79565b611bb99190613e5a565b611bc39190613e46565b600e8881548110611bd657611bd6613f68565b9060005260206000209060030201600201819055505050505b60405163a9059cbb60e01b8152336004820152602481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401602060405180830381600087803b158015611c5757600080fd5b505af1158015611c6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8f9190613a24565b50837fb08330c00f69f3f2343fd81719784be16358c64832e868cd5ccec5b98ec62897846040516118f391815260200190565b6000546001600160a01b03163314611cec5760405162461bcd60e51b81526004016107fc90613d48565b604051631526fe2760e01b8152600481018290526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169190841690631526fe279060240160806040518083038186803b158015611d5157600080fd5b505afa158015611d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d899190613a7b565b516001600160a01b031614611de05760405162461bcd60e51b815260206004820152601760248201527f53757368694769726c733a20496e76616c69642070696400000000000000000060448201526064016107fc565b60135460ff16611f5f576013805460ff1916600117905560405163095ea7b360e01b81526001600160a01b03838116600483015260001960248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b158015611e6257600080fd5b505af1158015611e76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9a9190613a24565b50600f80546001600160a01b0319166001600160a01b038481169190911790915560108290556040516370a0823160e01b81523060048201526109329183917f0000000000000000000000000000000000000000000000000000000000000000909116906370a08231906024015b60206040518083038186803b158015611f2057600080fd5b505afa158015611f34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f589190613b52565b6000612917565b600f546010546040516393f1a40b60e01b8152600481018290523060248201526001600160a01b0390921691611ff390829084906393f1a40b90604401604080518083038186803b158015611fb357600080fd5b505afa158015611fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611feb9190613aea565b516000612ed8565b50816001600160a01b0316846001600160a01b0316146121555760405163095ea7b360e01b81526001600160a01b038381166004830152600060248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b15801561207757600080fd5b505af115801561208b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120af9190613a24565b5060405163095ea7b360e01b81526001600160a01b03858116600483015260001960248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b15801561211b57600080fd5b505af115801561212f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121539190613a24565b505b600f80546001600160a01b0319166001600160a01b038681169190911790915560108490556040516370a0823160e01b81523060048201526112759185917f0000000000000000000000000000000000000000000000000000000000000000909116906370a0823190602401611f08565b834211156122165760405162461bcd60e51b815260206004820152601c60248201527f53757368694769726c733a204578706972656420646561646c696e650000000060448201526064016107fc565b60006122206109fe565b6001600160a01b038881166000818152600c60208181526040808420805482517fdaab21af31ece73a508939fedd476a5ee5129a5ed4bb091f3236ffb45394df6281860152808401889052978f1660608901526080880181905260a08089018f90528351808a03909101815260c08901845280519085012061190160f01b60e08a015260e289018a9052610102808a01919091528351808a039091018152610122909801909252865196830196909620948452919052939450909260019291906122eb908490613e2e565b9091555050873b156123dc57604080516020810186905280820185905260f887901b6001600160f81b0319166060820152815160418183030181526061820192839052630b135d3f60e11b9092526001600160a01b038a1691631626ba7e91612358918591606501613c52565b60206040518083038186803b15801561237057600080fd5b505afa158015612384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a89190613a5e565b6001600160e01b031916631626ba7e60e01b146123d75760405162461bcd60e51b81526004016107fc90613d11565b61241f565b60006123ea82878787612c60565b9050886001600160a01b0316816001600160a01b03161461241d5760405162461bcd60e51b81526004016107fc90613d11565b505b61242b88886001612e09565b5050505050505050565b61243f3383612675565b61245b5760405162461bcd60e51b81526004016107fc90613dac565b61246784848484612ee7565b50505050565b6000818152600360205260409020546060906001600160a01b03166124ec5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107fc565b60006124f6612f1a565b9050600081511161251657604051806020016040528060008152506106ee565b8061252084612f3a565b604051602001612531929190613bf0565b6040516020818303038152906040529392505050565b6000546001600160a01b031633146125715760405162461bcd60e51b81526004016107fc90613d48565b6001600160a01b0381166125d65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fc565b6125df81612ac2565b50565b60006001600160e01b0319821663780e9d6360e01b1480610691575061069182613038565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061263c8261102b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166126ee5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107fc565b60006126f98361102b565b9050806001600160a01b0316846001600160a01b031614806127345750836001600160a01b031661272984610787565b6001600160a01b0316145b8061276457506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661277f8261102b565b6001600160a01b0316146127e75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107fc565b6001600160a01b0382166128495760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107fc565b612854838383613088565b61285f600082612607565b6001600160a01b0383166000908152600460205260408120805460019290612888908490613e79565b90915550506001600160a01b03821660009081526004602052604081208054600192906128b6908490613e2e565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006127646001858585613093565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561298857600080fd5b505afa15801561299c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c09190613b52565b905080821115612a6d5760405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044015b602060405180830381600087803b158015612a3557600080fd5b505af1158015612a49573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124679190613a24565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401612a1b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216612b685760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107fc565b6000818152600360205260409020546001600160a01b031615612bcd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107fc565b612bd960008383613088565b6001600160a01b0382166000908152600460205260408120805460019290612c02908490613e2e565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612cdd5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107fc565b8360ff16601b1480612cf257508360ff16601c145b612d495760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107fc565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612d9d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e005760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107fc565b95945050505050565b816001600160a01b0316836001600160a01b03161415612e6b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107fc565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006127646000858585613093565b612ef284848461276c565b612efe848484846133ee565b6124675760405162461bcd60e51b81526004016107fc90613c7e565b6060604051806060016040528060248152602001613fce60249139905090565b606081612f5e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612f885780612f7281613ef7565b9150612f819050600a83613e46565b9150612f62565b60008167ffffffffffffffff811115612fa357612fa3613f7e565b6040519080825280601f01601f191660200182016040528015612fcd576020820181803683370190505b5090505b841561276457612fe2600183613e79565b9150612fef600a86613f12565b612ffa906030613e2e565b60f81b81838151811061300f5761300f613f68565b60200101906001600160f81b031916908160001a905350613031600a86613e46565b9450612fd1565b60006001600160e01b031982166380ac58cd60e01b148061306957506001600160e01b03198216635b5e139f60e01b145b8061069157506301ffc9a760e01b6001600160e01b0319831614610691565b6109328383836134f8565b600080601154431161317f57851561310f57600f54604051631c57762b60e31b815260048101879052602481018690526001600160a01b039091169063e2bbb15890604401600060405180830381600087803b1580156130f257600080fd5b505af1158015613106573d6000803e3d6000fd5b50505050613175565b600f54604051630441a3e760e41b815260048101879052602481018690526001600160a01b039091169063441a3e7090604401600060405180830381600087803b15801561315c57600080fd5b505af1158015613170573d6000803e3d6000fd5b505050505b5050601254612764565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156131e157600080fd5b505afa1580156131f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132199190613b52565b9050861561328b57600f54604051631c57762b60e31b815260048101889052602481018790526001600160a01b039091169063e2bbb15890604401600060405180830381600087803b15801561326e57600080fd5b505af1158015613282573d6000803e3d6000fd5b505050506132f1565b600f54604051630441a3e760e41b815260048101889052602481018790526001600160a01b039091169063441a3e7090604401600060405180830381600087803b1580156132d857600080fd5b505af11580156132ec573d6000803e3d6000fd5b505050505b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561335357600080fd5b505afa158015613367573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338b9190613b52565b90506133978282613e79565b925050504360115582158015906133ae5750600081115b15613175576000836133c883670de0b6b3a7640000613e5a565b6133d29190613e46565b6012546133df9190613e2e565b60128190559250612764915050565b60006001600160a01b0384163b156134f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613432903390899088908890600401613c1f565b602060405180830381600087803b15801561344c57600080fd5b505af192505050801561347c575060408051601f3d908101601f1916820190925261347991810190613a5e565b60015b6134d6573d8080156134aa576040519150601f19603f3d011682016040523d82523d6000602084013e6134af565b606091505b5080516134ce5760405162461bcd60e51b81526004016107fc90613c7e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612764565b506001612764565b6001600160a01b0383166135535761354e81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b613576565b816001600160a01b0316836001600160a01b0316146135765761357683826135b0565b6001600160a01b03821661358d576109328161364d565b826001600160a01b0316826001600160a01b0316146109325761093282826136fc565b600060016135bd846110a2565b6135c79190613e79565b60008381526008602052604090205490915080821461361a576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061365f90600190613e79565b6000838152600a60205260408120546009805493945090928490811061368757613687613f68565b9060005260206000200154905080600983815481106136a8576136a8613f68565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806136e0576136e0613f52565b6001900381819060005260206000200160009055905550505050565b6000613707836110a2565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b803560ff811681146119dc57600080fd5b60006020828403121561376357600080fd5b81356106ee81613f94565b6000806040838503121561378157600080fd5b823561378c81613f94565b9150602083013561379c81613f94565b809150509250929050565b6000806000606084860312156137bc57600080fd5b83356137c781613f94565b925060208401356137d781613f94565b929592945050506040919091013590565b600080600080608085870312156137fe57600080fd5b843561380981613f94565b935060208581013561381a81613f94565b935060408601359250606086013567ffffffffffffffff8082111561383e57600080fd5b818801915088601f83011261385257600080fd5b81358181111561386457613864613f7e565b613876601f8201601f19168501613dfd565b9150808252898482850101111561388c57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060008060008060c087890312156138c557600080fd5b86356138d081613f94565b955060208701356138e081613f94565b9450604087013593506138f560608801613740565b92506080870135915060a087013590509295509295509295565b6000806040838503121561392257600080fd5b823561392d81613f94565b9150602083013561379c81613fa9565b6000806040838503121561395057600080fd5b823561395b81613f94565b946020939093013593505050565b60008060008060008060c0878903121561398257600080fd5b863561398d81613f94565b955060208701359450604087013593506138f560608801613740565b6000806000604084860312156139be57600080fd5b833567ffffffffffffffff808211156139d657600080fd5b818601915086601f8301126139ea57600080fd5b8135818111156139f957600080fd5b8760208260051b8501011115613a0e57600080fd5b6020928301989097509590910135949350505050565b600060208284031215613a3657600080fd5b81516106ee81613fa9565b600060208284031215613a5357600080fd5b81356106ee81613fb7565b600060208284031215613a7057600080fd5b81516106ee81613fb7565b600060808284031215613a8d57600080fd5b6040516080810181811067ffffffffffffffff82111715613ab057613ab0613f7e565b6040528251613abe81613f94565b808252506020830151602082015260408301516040820152606083015160608201528091505092915050565b600060408284031215613afc57600080fd5b6040516040810181811067ffffffffffffffff82111715613b1f57613b1f613f7e565b604052825181526020928301519281019290925250919050565b600060208284031215613b4b57600080fd5b5035919050565b600060208284031215613b6457600080fd5b5051919050565b60008060408385031215613b7e57600080fd5b50508035926020909101359150565b60008060008060008060c08789031215613ba657600080fd5b8635955060208701359450604087013593506138f560608801613740565b60008151808452613bdc816020860160208601613e90565b601f01601f19169290920160200192915050565b60008351613c02818460208801613e90565b835190830190613c16818360208801613e90565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610fbc90830184613bc4565b8281526040602082015260006127646040830184613bc4565b6020815260006106ee6020830184613bc4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526021908201527f53757368694769726c733a20496e76616c6964206c70546f6b656e416d6f756e6040820152601d60fa1b606082015260800190565b60208082526018908201527f53757368694769726c733a20556e617574686f72697a65640000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526015908201527429bab9b434a3b4b936399d102337b93134b23232b760591b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613e2657613e26613f7e565b604052919050565b60008219821115613e4157613e41613f26565b500190565b600082613e5557613e55613f3c565b500490565b6000816000190483118215151615613e7457613e74613f26565b500290565b600082821015613e8b57613e8b613f26565b500390565b60005b83811015613eab578181015183820152602001613e93565b838111156124675750506000910152565b600181811c90821680613ed057607f821691505b60208210811415613ef157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613f0b57613f0b613f26565b5060010190565b600082613f2157613f21613f3c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146125df57600080fd5b80151581146125df57600080fd5b6001600160e01b0319811681146125df57600080fdfe68747470733a2f2f6170692e6d616964636f696e2e6f72672f73757368696769726c732fa26469706673582212209f070c6823acd31aaad366e7680d9629022f2ca39ac325b6d7e2754cd0619eff64736f6c63430008050033000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102735760003560e01c806370a0823111610151578063a22cb465116100c3578063b88d4fde11610087578063b88d4fde146105c2578063c87b56dd146105d5578063c9bbd04a146105e8578063e985e9c5146105fb578063f106845414610637578063f2fde38b1461064057600080fd5b8063a22cb4651461054f578063a234d60814610562578063a39b10fa14610575578063aba0784714610588578063b4e13c8d1461059b57600080fd5b8063884246641161011557806388424664146104e75780638da5cb5b146104f0578063904dfb8e1461050157806395d89b41146105215780639be56c6714610529578063a0712d681461053c57600080fd5b806370a0823114610493578063715018a6146104a6578063719242c2146104ae5780637492ee28146104c15780637ac2ff7b146104d457600080fd5b806330adf81f116101ea5780634fd3c34a116101ae5780634fd3c34a1461041757806357339be61461042057806358bb45c9146104335780635fcbd285146104465780636232fceb1461046d5780636352211e1461048057600080fd5b806330adf81f146103b95780633644e515146103e057806338e97f44146103e857806342842e0e146103f15780634f6ccce71461040457600080fd5b8063095ea7b31161023c578063095ea7b31461032f5780630a08790314610344578063141a468c1461036b57806318160ddd1461038b57806323b872dd146103935780632f745c59146103a657600080fd5b80629159f51461027857806301ffc9a7146102ab57806304eaa113146102ce57806306fdde03146102ef578063081812fc14610304575b600080fd5b61028b610286366004613b39565b610653565b604080519384526020840192909252908201526060015b60405180910390f35b6102be6102b9366004613a41565b610686565b60405190151581526020016102a2565b6102e16102dc366004613b39565b610697565b6040519081526020016102a2565b6102f76106f5565b6040516102a29190613c6b565b610317610312366004613b39565b610787565b6040516001600160a01b0390911681526020016102a2565b61034261033d36600461393d565b610821565b005b6103177f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe281565b6102e1610379366004613b39565b600b6020526000908152604090205481565b6009546102e1565b6103426103a13660046137a7565b610937565b6102e16103b436600461393d565b610968565b6102e17f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad81565b6102e16109fe565b6102e160115481565b6103426103ff3660046137a7565b610aef565b6102e1610412366004613b39565b610b0a565b6102e160125481565b61034261042e366004613b39565b610b9d565b6102e1610441366004613b39565b610dde565b6103177f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f81565b61034261047b366004613b39565b610fc6565b61031761048e366004613b39565b61102b565b6102e16104a1366004613751565b6110a2565b610342611129565b6103426104bc3660046139a9565b61115f565b6103426104cf366004613b8d565b61127c565b6103426104e2366004613969565b611332565b6102e1600d5481565b6000546001600160a01b0316610317565b6102e161050f366004613751565b600c6020526000908152604090205481565b6102f761160c565b610342610537366004613b6b565b61161b565b6102e161054a366004613b39565b611901565b61034261055d36600461390f565b6119e1565b610342610570366004613b6b565b6119f0565b61034261058336600461393d565b611cc2565b6103426105963660046138ac565b6121c6565b6102e17fdaab21af31ece73a508939fedd476a5ee5129a5ed4bb091f3236ffb45394df6281565b6103426105d03660046137e8565b612435565b6102f76105e3366004613b39565b61246d565b600f54610317906001600160a01b031681565b6102be61060936600461376e565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6102e160105481565b61034261064e366004613751565b612547565b600e818154811061066357600080fd5b600091825260209091206003909102018054600182015460029092015490925083565b6000610691826125e2565b92915050565b600080600e83815481106106ad576106ad613f68565b90600052602060002090600302019050670de0b6b3a7640000600d5482600101546106d89190613e5a565b6106e29190613e46565b81546106ee9190613e2e565b9392505050565b60606001805461070490613ebc565b80601f016020809104026020016040519081016040528092919081815260200182805461073090613ebc565b801561077d5780601f106107525761010080835404028352916020019161077d565b820191906000526020600020905b81548152906001019060200180831161076057829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166108055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061082c8261102b565b9050806001600160a01b0316836001600160a01b0316141561089a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107fc565b336001600160a01b03821614806108b657506108b68133610609565b6109285760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107fc565b6109328383612607565b505050565b6109413382612675565b61095d5760405162461bcd60e51b81526004016107fc90613dac565b61093283838361276c565b6000610973836110a2565b82106109d55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107fc565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b60007f0000000000000000000000000000000000000000000000000000000000000001461415610a4d57507ff4cedf74104d5b3c15c209268a181df0558082248477027549af42c230eba11790565b604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f5d729af6e3b6144c583a01ea35e1c2469ab7e1bd88daf14362fb90d4f155ee18918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b61093283838360405180602001604052806000815250612435565b6000610b1560095490565b8210610b785760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107fc565b60098281548110610b8b57610b8b613f68565b90600052602060002001549050919050565b33610ba78261102b565b6001600160a01b031614610bcd5760405162461bcd60e51b81526004016107fc90613d7d565b60105480610c1d5760405162461bcd60e51b815260206004820152601760248201527f53757368694769726c733a20556e636c61696d61626c6500000000000000000060448201526064016107fc565b6000600e8381548110610c3257610c32613f68565b6000918252602082206003919091020160010154600f546040516393f1a40b60e01b8152600481018690523060248201529193506001600160a01b0316906393f1a40b90604401604080518083038186803b158015610c9057600080fd5b505afa158015610ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc89190613aea565b5190506000610cd8848284612917565b90506000600e8681548110610cef57610cef613f68565b906000526020600020906003020160020154670de0b6b3a76400008386610d169190613e5a565b610d209190613e46565b610d2a9190613e79565b905060008111610d875760405162461bcd60e51b815260206004820152602260248201527f53757368694769726c733a204e6f7468696e672063616e20626520636c61696d604482015261195960f21b60648201526084016107fc565b610d913382612926565b670de0b6b3a7640000610da48386613e5a565b610dae9190613e46565b600e8781548110610dc157610dc1613f68565b906000526020600020906003020160020181905550505050505050565b60105460009080610df25750600092915050565b6000600e8481548110610e0757610e07613f68565b6000918252602082206003919091020160010154600f546040516393f1a40b60e01b8152600481018690523060248201529193506001600160a01b0316906393f1a40b90604401604080518083038186803b158015610e6557600080fd5b505afa158015610e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9d9190613aea565b516012546011549192509043118015610eb557508115155b15610f6e57600f5460105460405163065509bb60e21b815260048101919091523060248201526000916001600160a01b03169063195426ec9060440160206040518083038186803b158015610f0957600080fd5b505afa158015610f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f419190613b52565b905082610f5682670de0b6b3a7640000613e5a565b610f609190613e46565b610f6a9083613e2e565b9150505b600e8681548110610f8157610f81613f68565b906000526020600020906003020160020154670de0b6b3a76400008285610fa89190613e5a565b610fb29190613e46565b610fbc9190613e79565b9695505050505050565b6000546001600160a01b03163314610ff05760405162461bcd60e51b81526004016107fc90613d48565b600d8190556040518181527fd1712aea07715b59dbc1e1ebe62d2aa74d20000b40db37b3f2232bf38f5c68ed9060200160405180910390a150565b6000818152600360205260408120546001600160a01b0316806106915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107fc565b60006001600160a01b03821661110d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107fc565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146111535760405162461bcd60e51b81526004016107fc90613d48565b61115d6000612ac2565b565b6000546001600160a01b031633146111895760405162461bcd60e51b81526004016107fc90613d48565b8181146111d85760405162461bcd60e51b815260206004820152601e60248201527f53757368694769726c733a20496e76616c696420706172616d6574657273000060448201526064016107fc565b600e5460005b8281101561127557600e604051806060016040528087878581811061120557611205613f68565b6020908102929092013583525060008282018190526040928301819052845460018181018755958252908290208451600390920201908155908301519381019390935501516002909101556112633361125e8484613e2e565b612b12565b61126e600182613e2e565b90506111de565b5050505050565b60405163d505accf60e01b8152336004820152306024820152604481018690526064810185905260ff8416608482015260a4810183905260c481018290527f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f6001600160a01b03169063d505accf9060e401600060405180830381600087803b15801561130857600080fd5b505af115801561131c573d6000803e3d6000fd5b5050505061132a868661161b565b505050505050565b834211156113825760405162461bcd60e51b815260206004820152601c60248201527f53757368694769726c733a204578706972656420646561646c696e650000000060448201526064016107fc565b600061138c6109fe565b6000878152600b60208181526040808420805482517f49ecf333e5b8c95c40fdafc95c1ad136e8914a8fb55e9dc8bb01eaa83a2df9ad818601526001600160a01b038f1681850152606081018e90526080810182905260a08082018e90528451808303909101815260c08201855280519086012061190160f01b60e083015260e2820189905261010280830191909152845180830390910181526101229091019093528251928401929092208c865293909252939450909260019290611453908490613e2e565b90915550600090506114648861102b565b9050806001600160a01b0316896001600160a01b031614156114c85760405162461bcd60e51b815260206004820152601b60248201527f53757368694769726c733a20496e76616c6964207370656e646572000000000060448201526064016107fc565b803b156115b457604080516020810187905280820186905260f888901b6001600160f81b0319166060820152815160418183030181526061820192839052630b135d3f60e11b9092526001600160a01b03831691631626ba7e91611530918691606501613c52565b60206040518083038186803b15801561154857600080fd5b505afa15801561155c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115809190613a5e565b6001600160e01b031916631626ba7e60e01b146115af5760405162461bcd60e51b81526004016107fc90613d11565b6115f7565b60006115c283888888612c60565b9050816001600160a01b0316816001600160a01b0316146115f55760405162461bcd60e51b81526004016107fc90613d11565b505b6116018989612607565b505050505050505050565b60606002805461070490613ebc565b336116258361102b565b6001600160a01b03161461164b5760405162461bcd60e51b81526004016107fc90613d7d565b6000811161166b5760405162461bcd60e51b81526004016107fc90613cd0565b6000600e838154811061168057611680613f68565b906000526020600020906003020160010154905081816116a09190613e2e565b600e84815481106116b3576116b3613f68565b60009182526020909120600390910201600101556040516323b872dd60e01b8152336004820152306024820152604481018390527f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f6001600160a01b0316906323b872dd90606401602060405180830381600087803b15801561173557600080fd5b505af1158015611749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176d9190613a24565b5060105480156118c157600f546040516393f1a40b60e01b8152600481018390523060248201526000916001600160a01b0316906393f1a40b90604401604080518083038186803b1580156117c157600080fd5b505afa1580156117d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f99190613aea565b5190506000611809838684612917565b90506000600e878154811061182057611820613f68565b906000526020600020906003020160020154670de0b6b3a764000083876118479190613e5a565b6118519190613e46565b61185b9190613e79565b9050801561186d5761186d3382612926565b670de0b6b3a7640000826118818888613e2e565b61188b9190613e5a565b6118959190613e46565b600e88815481106118a8576118a8613f68565b9060005260206000209060030201600201819055505050505b837f9c86c947c690753cc6de6016e1c45414d895662cc13af08319148419baf5df2f846040516118f391815260200190565b60405180910390a250505050565b600080546001600160a01b0316331461192c5760405162461bcd60e51b81526004016107fc90613d48565b50600e80546040805160608101825284815260006020820181815292820181815260018501865594905251600383027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd81019190915590517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe82015591517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff909201919091556119dc3382612b12565b919050565b6119ec338383612e09565b5050565b336119fa8361102b565b6001600160a01b031614611a205760405162461bcd60e51b81526004016107fc90613d7d565b60008111611a405760405162461bcd60e51b81526004016107fc90613cd0565b6000600e8381548110611a5557611a55613f68565b90600052602060002090600302016001015490508181611a759190613e79565b600e8481548110611a8857611a88613f68565b60009182526020909120600160039092020101556010548015611bef57600f546040516393f1a40b60e01b8152600481018390523060248201526000916001600160a01b0316906393f1a40b90604401604080518083038186803b158015611aef57600080fd5b505afa158015611b03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b279190613aea565b5190506000611b37838684612ed8565b90506000600e8781548110611b4e57611b4e613f68565b906000526020600020906003020160020154670de0b6b3a76400008387611b759190613e5a565b611b7f9190613e46565b611b899190613e79565b90508015611b9b57611b9b3382612926565b670de0b6b3a764000082611baf8888613e79565b611bb99190613e5a565b611bc39190613e46565b600e8881548110611bd657611bd6613f68565b9060005260206000209060030201600201819055505050505b60405163a9059cbb60e01b8152336004820152602481018490527f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f6001600160a01b03169063a9059cbb90604401602060405180830381600087803b158015611c5757600080fd5b505af1158015611c6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8f9190613a24565b50837fb08330c00f69f3f2343fd81719784be16358c64832e868cd5ccec5b98ec62897846040516118f391815260200190565b6000546001600160a01b03163314611cec5760405162461bcd60e51b81526004016107fc90613d48565b604051631526fe2760e01b8152600481018290526001600160a01b037f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f81169190841690631526fe279060240160806040518083038186803b158015611d5157600080fd5b505afa158015611d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d899190613a7b565b516001600160a01b031614611de05760405162461bcd60e51b815260206004820152601760248201527f53757368694769726c733a20496e76616c69642070696400000000000000000060448201526064016107fc565b60135460ff16611f5f576013805460ff1916600117905560405163095ea7b360e01b81526001600160a01b03838116600483015260001960248301527f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f169063095ea7b390604401602060405180830381600087803b158015611e6257600080fd5b505af1158015611e76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9a9190613a24565b50600f80546001600160a01b0319166001600160a01b038481169190911790915560108290556040516370a0823160e01b81523060048201526109329183917f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f909116906370a08231906024015b60206040518083038186803b158015611f2057600080fd5b505afa158015611f34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f589190613b52565b6000612917565b600f546010546040516393f1a40b60e01b8152600481018290523060248201526001600160a01b0390921691611ff390829084906393f1a40b90604401604080518083038186803b158015611fb357600080fd5b505afa158015611fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611feb9190613aea565b516000612ed8565b50816001600160a01b0316846001600160a01b0316146121555760405163095ea7b360e01b81526001600160a01b038381166004830152600060248301527f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f169063095ea7b390604401602060405180830381600087803b15801561207757600080fd5b505af115801561208b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120af9190613a24565b5060405163095ea7b360e01b81526001600160a01b03858116600483015260001960248301527f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f169063095ea7b390604401602060405180830381600087803b15801561211b57600080fd5b505af115801561212f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121539190613a24565b505b600f80546001600160a01b0319166001600160a01b038681169190911790915560108490556040516370a0823160e01b81523060048201526112759185917f000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f909116906370a0823190602401611f08565b834211156122165760405162461bcd60e51b815260206004820152601c60248201527f53757368694769726c733a204578706972656420646561646c696e650000000060448201526064016107fc565b60006122206109fe565b6001600160a01b038881166000818152600c60208181526040808420805482517fdaab21af31ece73a508939fedd476a5ee5129a5ed4bb091f3236ffb45394df6281860152808401889052978f1660608901526080880181905260a08089018f90528351808a03909101815260c08901845280519085012061190160f01b60e08a015260e289018a9052610102808a01919091528351808a039091018152610122909801909252865196830196909620948452919052939450909260019291906122eb908490613e2e565b9091555050873b156123dc57604080516020810186905280820185905260f887901b6001600160f81b0319166060820152815160418183030181526061820192839052630b135d3f60e11b9092526001600160a01b038a1691631626ba7e91612358918591606501613c52565b60206040518083038186803b15801561237057600080fd5b505afa158015612384573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a89190613a5e565b6001600160e01b031916631626ba7e60e01b146123d75760405162461bcd60e51b81526004016107fc90613d11565b61241f565b60006123ea82878787612c60565b9050886001600160a01b0316816001600160a01b03161461241d5760405162461bcd60e51b81526004016107fc90613d11565b505b61242b88886001612e09565b5050505050505050565b61243f3383612675565b61245b5760405162461bcd60e51b81526004016107fc90613dac565b61246784848484612ee7565b50505050565b6000818152600360205260409020546060906001600160a01b03166124ec5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107fc565b60006124f6612f1a565b9050600081511161251657604051806020016040528060008152506106ee565b8061252084612f3a565b604051602001612531929190613bf0565b6040516020818303038152906040529392505050565b6000546001600160a01b031633146125715760405162461bcd60e51b81526004016107fc90613d48565b6001600160a01b0381166125d65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fc565b6125df81612ac2565b50565b60006001600160e01b0319821663780e9d6360e01b1480610691575061069182613038565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061263c8261102b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166126ee5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107fc565b60006126f98361102b565b9050806001600160a01b0316846001600160a01b031614806127345750836001600160a01b031661272984610787565b6001600160a01b0316145b8061276457506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661277f8261102b565b6001600160a01b0316146127e75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107fc565b6001600160a01b0382166128495760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107fc565b612854838383613088565b61285f600082612607565b6001600160a01b0383166000908152600460205260408120805460019290612888908490613e79565b90915550506001600160a01b03821660009081526004602052604081208054600192906128b6908490613e2e565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006127646001858585613093565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b0316906370a082319060240160206040518083038186803b15801561298857600080fd5b505afa15801561299c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c09190613b52565b905080821115612a6d5760405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390527f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2169063a9059cbb906044015b602060405180830381600087803b158015612a3557600080fd5b505af1158015612a49573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124679190613a24565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490527f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2169063a9059cbb90604401612a1b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216612b685760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107fc565b6000818152600360205260409020546001600160a01b031615612bcd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107fc565b612bd960008383613088565b6001600160a01b0382166000908152600460205260408120805460019290612c02908490613e2e565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612cdd5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107fc565b8360ff16601b1480612cf257508360ff16601c145b612d495760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107fc565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612d9d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e005760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107fc565b95945050505050565b816001600160a01b0316836001600160a01b03161415612e6b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107fc565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006127646000858585613093565b612ef284848461276c565b612efe848484846133ee565b6124675760405162461bcd60e51b81526004016107fc90613c7e565b6060604051806060016040528060248152602001613fce60249139905090565b606081612f5e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612f885780612f7281613ef7565b9150612f819050600a83613e46565b9150612f62565b60008167ffffffffffffffff811115612fa357612fa3613f7e565b6040519080825280601f01601f191660200182016040528015612fcd576020820181803683370190505b5090505b841561276457612fe2600183613e79565b9150612fef600a86613f12565b612ffa906030613e2e565b60f81b81838151811061300f5761300f613f68565b60200101906001600160f81b031916908160001a905350613031600a86613e46565b9450612fd1565b60006001600160e01b031982166380ac58cd60e01b148061306957506001600160e01b03198216635b5e139f60e01b145b8061069157506301ffc9a760e01b6001600160e01b0319831614610691565b6109328383836134f8565b600080601154431161317f57851561310f57600f54604051631c57762b60e31b815260048101879052602481018690526001600160a01b039091169063e2bbb15890604401600060405180830381600087803b1580156130f257600080fd5b505af1158015613106573d6000803e3d6000fd5b50505050613175565b600f54604051630441a3e760e41b815260048101879052602481018690526001600160a01b039091169063441a3e7090604401600060405180830381600087803b15801561315c57600080fd5b505af1158015613170573d6000803e3d6000fd5b505050505b5050601254612764565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b0316906370a082319060240160206040518083038186803b1580156131e157600080fd5b505afa1580156131f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132199190613b52565b9050861561328b57600f54604051631c57762b60e31b815260048101889052602481018790526001600160a01b039091169063e2bbb15890604401600060405180830381600087803b15801561326e57600080fd5b505af1158015613282573d6000803e3d6000fd5b505050506132f1565b600f54604051630441a3e760e41b815260048101889052602481018790526001600160a01b039091169063441a3e7090604401600060405180830381600087803b1580156132d857600080fd5b505af11580156132ec573d6000803e3d6000fd5b505050505b6040516370a0823160e01b81523060048201526000907f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe26001600160a01b0316906370a082319060240160206040518083038186803b15801561335357600080fd5b505afa158015613367573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338b9190613b52565b90506133978282613e79565b925050504360115582158015906133ae5750600081115b15613175576000836133c883670de0b6b3a7640000613e5a565b6133d29190613e46565b6012546133df9190613e2e565b60128190559250612764915050565b60006001600160a01b0384163b156134f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613432903390899088908890600401613c1f565b602060405180830381600087803b15801561344c57600080fd5b505af192505050801561347c575060408051601f3d908101601f1916820190925261347991810190613a5e565b60015b6134d6573d8080156134aa576040519150601f19603f3d011682016040523d82523d6000602084013e6134af565b606091505b5080516134ce5760405162461bcd60e51b81526004016107fc90613c7e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612764565b506001612764565b6001600160a01b0383166135535761354e81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b613576565b816001600160a01b0316836001600160a01b0316146135765761357683826135b0565b6001600160a01b03821661358d576109328161364d565b826001600160a01b0316826001600160a01b0316146109325761093282826136fc565b600060016135bd846110a2565b6135c79190613e79565b60008381526008602052604090205490915080821461361a576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061365f90600190613e79565b6000838152600a60205260408120546009805493945090928490811061368757613687613f68565b9060005260206000200154905080600983815481106136a8576136a8613f68565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806136e0576136e0613f52565b6001900381819060005260206000200160009055905550505050565b6000613707836110a2565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b803560ff811681146119dc57600080fd5b60006020828403121561376357600080fd5b81356106ee81613f94565b6000806040838503121561378157600080fd5b823561378c81613f94565b9150602083013561379c81613f94565b809150509250929050565b6000806000606084860312156137bc57600080fd5b83356137c781613f94565b925060208401356137d781613f94565b929592945050506040919091013590565b600080600080608085870312156137fe57600080fd5b843561380981613f94565b935060208581013561381a81613f94565b935060408601359250606086013567ffffffffffffffff8082111561383e57600080fd5b818801915088601f83011261385257600080fd5b81358181111561386457613864613f7e565b613876601f8201601f19168501613dfd565b9150808252898482850101111561388c57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060008060008060c087890312156138c557600080fd5b86356138d081613f94565b955060208701356138e081613f94565b9450604087013593506138f560608801613740565b92506080870135915060a087013590509295509295509295565b6000806040838503121561392257600080fd5b823561392d81613f94565b9150602083013561379c81613fa9565b6000806040838503121561395057600080fd5b823561395b81613f94565b946020939093013593505050565b60008060008060008060c0878903121561398257600080fd5b863561398d81613f94565b955060208701359450604087013593506138f560608801613740565b6000806000604084860312156139be57600080fd5b833567ffffffffffffffff808211156139d657600080fd5b818601915086601f8301126139ea57600080fd5b8135818111156139f957600080fd5b8760208260051b8501011115613a0e57600080fd5b6020928301989097509590910135949350505050565b600060208284031215613a3657600080fd5b81516106ee81613fa9565b600060208284031215613a5357600080fd5b81356106ee81613fb7565b600060208284031215613a7057600080fd5b81516106ee81613fb7565b600060808284031215613a8d57600080fd5b6040516080810181811067ffffffffffffffff82111715613ab057613ab0613f7e565b6040528251613abe81613f94565b808252506020830151602082015260408301516040820152606083015160608201528091505092915050565b600060408284031215613afc57600080fd5b6040516040810181811067ffffffffffffffff82111715613b1f57613b1f613f7e565b604052825181526020928301519281019290925250919050565b600060208284031215613b4b57600080fd5b5035919050565b600060208284031215613b6457600080fd5b5051919050565b60008060408385031215613b7e57600080fd5b50508035926020909101359150565b60008060008060008060c08789031215613ba657600080fd5b8635955060208701359450604087013593506138f560608801613740565b60008151808452613bdc816020860160208601613e90565b601f01601f19169290920160200192915050565b60008351613c02818460208801613e90565b835190830190613c16818360208801613e90565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610fbc90830184613bc4565b8281526040602082015260006127646040830184613bc4565b6020815260006106ee6020830184613bc4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526021908201527f53757368694769726c733a20496e76616c6964206c70546f6b656e416d6f756e6040820152601d60fa1b606082015260800190565b60208082526018908201527f53757368694769726c733a20556e617574686f72697a65640000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526015908201527429bab9b434a3b4b936399d102337b93134b23232b760591b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613e2657613e26613f7e565b604052919050565b60008219821115613e4157613e41613f26565b500190565b600082613e5557613e55613f3c565b500490565b6000816000190483118215151615613e7457613e74613f26565b500290565b600082821015613e8b57613e8b613f26565b500390565b60005b83811015613eab578181015183820152602001613e93565b838111156124675750506000910152565b600181811c90821680613ed057607f821691505b60208210811415613ef157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613f0b57613f0b613f26565b5060010190565b600082613f2157613f21613f3c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146125df57600080fd5b80151581146125df57600080fd5b6001600160e01b0319811681146125df57600080fdfe68747470733a2f2f6170692e6d616964636f696e2e6f72672f73757368696769726c732fa26469706673582212209f070c6823acd31aaad366e7680d9629022f2ca39ac325b6d7e2754cd0619eff64736f6c63430008050033

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

000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2

-----Decoded View---------------
Arg [0] : _lpToken (address): 0xc7175038323562cB68E4BbdD379E9fE65134937f
Arg [1] : _sushi (address): 0x6B3595068778DD592e39A122f4f5a5cF09C90fE2

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c7175038323562cb68e4bbdd379e9fe65134937f
Arg [1] : 0000000000000000000000006b3595068778dd592e39a122f4f5a5cf09c90fe2


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.