ETH Price: $3,435.85 (+2.99%)
 

Overview

Max Total Supply

1,661 WSW

Holders

305

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 WSW
0x29101b64bf54cf99da707eee798976b3a3399e6e
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:
WallStreetWolves

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 22 : WallStreetWolves.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/****************************************
 * @team:   GoldenX                     *
 ****************************************
 *   Blimpie-ERC721 provides low-gas    *
 *           mints + transfers          *
 ***************************************/

import "./Delegated.sol";
import "./PaymentSplitterMod.sol";
import "./ERC721Staked.sol";
import "./Verify.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

interface IWSWFounders {
  function balanceOf(address _account, uint256 _id)
    external
    view
    returns (uint256);
}

contract WallStreetWolves is
  Delegated,
  ERC721Staked,
  Verify,
  PaymentSplitterMod
{
  using Strings for uint256;

  uint256 public MAX_SUPPLY = 10000;
  uint256 public PRICE = 0.5 ether;

  uint256 public CURRENT_ROUND = 1;
  uint256 public ROUND_SUPPLY = 2500;
  uint256 public ROUND_MINTED = 0;
  uint256 public PRESALE_QUANTITY = 2;
  uint256 public PUBLIC_QUANTITY = 20;

  mapping(address => uint256) private foundersQuantities;
  mapping(uint256 => mapping(address => uint256)) private presaleMinters;

  string private tokenURIPrefix;
  string private tokenURISuffix;

  address private teamAddress = 0x2d2352a56827515FAf6088c4cDf59befb4d0A67a;

  enum SaleState {
    paused,
    founders,
    presale,
    publicsale
  }

  SaleState public saleState = SaleState.paused;

  IWSWFounders public WSWFoundersProxy =
    IWSWFounders(0x48C8eC816F7789C2d4A517fca3D2fa33ac3Cc1c7);

  address[] private splitter = [
    0xed386149321FBd84f0c4e27a1701Ad05eCA32f8A,
    0x2d2352a56827515FAf6088c4cDf59befb4d0A67a,
    0x5B1DC9219786c7929B4684eF8301bdF4F1d67465
  ];
  uint256[] private splitterShares = [3, 85, 12];

  constructor(address _signer)
    ERC721B("Wall Street Wolves", "WSW", 0)
    PaymentSplitterMod(splitter, splitterShares)
  {
    setSigner(_signer);
  }

  //external payable
  fallback() external payable {}

  function airdrop(address _address, uint256 _quantity) public onlyDelegates {
    require(
      totalSupply() + _quantity <= MAX_SUPPLY,
      "airdrop: Invalid quantity."
    );
    for (uint256 i; i < _quantity; ++i) {
      mint1(_address);
    }
  }

  function mint(uint256 _quantity, bytes memory _signature) public payable {
    require(saleState != SaleState.paused, "mint: Sale paused");
    require(totalSupply() + _quantity <= MAX_SUPPLY, "mint: Invalid quantity.");

    if (saleState == SaleState.founders) {
      uint256 balance = WSWFoundersProxy.balanceOf(msg.sender, 0);
      require(
        balance >= _quantity + foundersQuantities[msg.sender],
        "mint: Invalid founders quantity"
      );
      foundersQuantities[msg.sender] += _quantity;
    } else if (saleState == SaleState.presale) {
      require(msg.value >= _quantity * PRICE, "mint: Incorrect ETH sent.");
      require(
        ROUND_MINTED + _quantity <= ROUND_SUPPLY,
        "mint: Invalid quantity"
      );
      require(
        _quantity + presaleMinters[CURRENT_ROUND][msg.sender] <=
          PRESALE_QUANTITY,
        "mint: Invalid quantity."
      );
      require(verify(_quantity, _signature), "mint: Not on presale list.");
      ROUND_MINTED += _quantity;
      presaleMinters[CURRENT_ROUND][msg.sender] += _quantity;
    } else if (saleState == SaleState.publicsale) {
      require(msg.value >= _quantity * PRICE, "mint: Incorrect ETH sent.");
      require(
        ROUND_MINTED + _quantity <= ROUND_SUPPLY,
        "mint: Invalid quantity"
      );
      require(_quantity <= PUBLIC_QUANTITY, "mint: Invalid quantity.");
      ROUND_MINTED += _quantity;
    }

    for (uint256 i; i < _quantity; ++i) {
      mint1(msg.sender);
    }
  }

  function resetRound(
    uint256 _roundSupply,
    uint256 _price,
    uint256 _airdropQuantity
  ) external onlyDelegates {
    ROUND_SUPPLY = _roundSupply;
    ROUND_MINTED = 0;
    PRICE = _price;
    saleState = SaleState.presale;
    CURRENT_ROUND += 1;

    if (_airdropQuantity > 0) {
      airdrop(teamAddress, _airdropQuantity);
    }
  }

  function setVariables(
    uint256 _maxSupply,
    uint256 _price,
    SaleState _saleState,
    uint256 _presaleQuantity,
    uint256 _publicQuantity
  ) external onlyDelegates {
    MAX_SUPPLY = _maxSupply;
    PRICE = _price;
    saleState = _saleState;
    PRESALE_QUANTITY = _presaleQuantity;
    PUBLIC_QUANTITY = _publicQuantity;
  }

  function setTeamAddress(address _newTeamAddress) external onlyDelegates {
    require(teamAddress != _newTeamAddress);
    teamAddress = _newTeamAddress;
  }

  function setSaleState(SaleState _newSaleState) external onlyDelegates {
    require(saleState != _newSaleState);
    saleState = _newSaleState;
  }

  function setWSWFoundersContract(address _wswFounders) external onlyDelegates {
    if (address(WSWFoundersProxy) != _wswFounders)
      WSWFoundersProxy = IWSWFounders(_wswFounders);
  }

  function setRarity(uint256[] memory _tokensToSet, uint8 rarity)
    external
    onlyDelegates
  {
    require(totalSupply() > _tokensToSet.length, "setRarity: invalid length");
    for (uint256 i; i < _tokensToSet.length; ++i) {
      tokens[_tokensToSet[i]].rarity = rarity;
    }
  }

  function setTokenURI(
    string memory _tokenURIPrefix,
    string memory _tokenURISuffix
  ) public onlyDelegates {
    tokenURIPrefix = _tokenURIPrefix;
    tokenURISuffix = _tokenURISuffix;
  }

  function tokenURI(uint256 _tokenId)
    external
    view
    override
    returns (string memory)
  {
    require(_exists(_tokenId), "tokenURI: Query for nonexistent token");
    return
      string(
        abi.encodePacked(tokenURIPrefix, _tokenId.toString(), tokenURISuffix)
      );
  }

  function mint1(address _to) internal {
    uint256 tokenId = _next();
    tokens.push(Token(_to, 1, 1));

    _safeMint(_to, tokenId, "");
  }

  function _mint(address _to, uint256 _tokenId) internal override {
    emit Transfer(address(0), _to, _tokenId);
  }
}

File 2 of 22 : Delegated.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/***********************
* @author: squeebo_nft *
************************/

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

contract Delegated is Ownable{
  mapping(address => bool) internal _delegates;

  constructor(){
    _delegates[owner()] = true;
  }

  modifier onlyDelegates {
    require(_delegates[msg.sender], "Invalid delegate" );
    _;
  }

  //onlyOwner
  function isDelegate( address addr ) external view onlyOwner returns ( bool ){
    return _delegates[addr];
  }

  function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{
    _delegates[addr] = isDelegate_;
  }

  function transferOwnership(address newOwner) public virtual override onlyOwner {
    _delegates[newOwner] = true;
    super.transferOwnership( newOwner );
  }
}

File 3 of 22 : PaymentSplitterMod.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";

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

    uint256 private _totalShares;
    uint256 private _totalReleased;

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

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

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

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

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

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

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

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

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

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

        uint256 totalReceived = address(this).balance + _totalReleased;
        uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account];
        require(payment != 0, "PaymentSplitter: account is not due payment");

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

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

    function _addPayee(address account, uint256 shares_) internal {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

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

    function _resetCounters() internal {
        _totalReleased = 0;
        for(uint i; i < _payees.length; ++i ){
            _released[ _payees[i] ] = 0;
        }
    }

    function _setPayee( uint index, address account, uint newShares ) internal {
        _totalShares = _totalShares - _shares[ account ] + newShares;
        _shares[ account ] = newShares;
        _payees[ index ] = account;
    }
}

File 4 of 22 : ERC721Staked.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/Strings.sol";
import "./Delegated.sol";
import "./ERC721Batch.sol";
import "./IERC20Proxy.sol";

abstract contract ERC721Staked is Delegated, ERC721Batch {
  using Strings for uint256;

  struct StakeConfig {
    address coinContract;
    uint256 stakePeriod;
    uint256 stakeReward;
  }

  StakeConfig public stakeConfig;

  mapping(uint8 => uint256) public rarityMultiplier;

  function setRarityMultiplier(uint8 _rarity, uint256 _multiplier)
    external
    onlyDelegates
  {
    rarityMultiplier[_rarity] = _multiplier;
  }

  function claimTokens(uint256[] calldata tokenIds, bool restake) external {
    uint256 coinQuantity;
    uint32 time = uint32(block.timestamp);
    for (uint256 i; i < tokenIds.length; ++i) {
      require(_exists(tokenIds[i]), "claim for nonexistent token");

      Token storage token = tokens[tokenIds[i]];
      require(token.owner == msg.sender, "caller is not owner");
      require(
        token.stakeDate > 1,
        string(
          abi.encodePacked("token ", tokenIds[i].toString(), " is not staked")
        )
      );
      uint256 baseQuantity = ((time - token.stakeDate) *
        stakeConfig.stakeReward) / stakeConfig.stakePeriod;

      coinQuantity += baseQuantity * rarityMultiplier[token.rarity];

      if (restake) token.stakeDate = time;
      else token.stakeDate = 1;
    }

    IERC20Proxy(stakeConfig.coinContract).mintTo(msg.sender, coinQuantity);
  }

  function stakeTokens(uint256[] calldata tokenIds) external {
    for (uint256 i; i < tokenIds.length; ++i) {
      require(_exists(tokenIds[i]), "stake for nonexistent token");

      Token storage token = tokens[tokenIds[i]];
      require(token.owner == msg.sender, "caller is not owner");
      require(
        token.stakeDate < 2,
        string(
          abi.encodePacked(
            "token ",
            tokenIds[i].toString(),
            " is already staked"
          )
        )
      );
      tokens[tokenIds[i]].stakeDate = uint32(block.timestamp);
    }
  }

  //delegated
  function setStakeConfig(StakeConfig calldata stakeConfig_)
    external
    onlyDelegates
  {
    stakeConfig = stakeConfig_;
  }

  //internal
  function _isStaked(uint256 tokenId) internal view virtual returns (bool) {
    return tokens[tokenId].stakeDate > 1;
  }

  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual override {
    require(!_isStaked(tokenId), "token is staked");
    super._transfer(from, to, tokenId);
  }
}

File 5 of 22 : Verify.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./Delegated.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract Verify is Delegated {
    using Strings for uint;
    using ECDSA for bytes32;

    address private signer;
    
    function verify( uint _quantity,  bytes memory _signature ) internal view returns ( bool ) {
        address signerCheck = getAddressSigner( _quantity.toString(), _signature );
        return signerCheck == signer;
    }

    function getAddressSigner( string memory _quantity, bytes memory _signature ) private view returns ( address ) {
        bytes32 hash = createHash( _quantity );
        return hash.toEthSignedMessageHash().recover( _signature );
    }

    function createHash( string memory _quantity ) private view returns ( bytes32 ) {
        return keccak256( abi.encodePacked( address(this), msg.sender, _quantity ) );
    }
    
    function setSigner( address _signer ) public onlyOwner{
        signer = _signer;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 9 of 22 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 22 : ERC721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/****************************************
 * @author: squeebo_nft                 *
 ****************************************
 *   Blimpie-FF721 provides low-gas     *
 *       mints + transfers              *
 ****************************************/

import "./IERC721Batch.sol";
import "./ERC721EnumerableB.sol";

abstract contract ERC721Batch is ERC721EnumerableB, IERC721Batch {
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){
    for(uint i; i < tokenIds.length; ++i ){
      if( account != tokens[ tokenIds[i] ].owner )
        return false;
    }

    return true;
  }

  function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{
    for(uint i; i < tokenIds.length; ++i ){
      safeTransferFrom( from, to, tokenIds[i], data );
    }
  }

  function walletOfOwner( address account ) external view override returns( uint[] memory wallet ){
    uint count;
    uint quantity = balanceOf( account );
    wallet = new uint[]( quantity );
    for( uint i; i < tokens.length; ++i ){
      if( account == tokens[i].owner ){
        wallet[ count++ ] = i;
        if( count == quantity )
          break;
      }
    }
    return wallet;
  }
}

File 11 of 22 : IERC20Proxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IERC20Proxy is IERC20 {
  function burnFrom( address account, uint256 amount ) external;
  function mintTo( address account, uint256 amount ) external;
}

File 12 of 22 : IERC721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

interface IERC721Batch {
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool );
  function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external;
  function walletOfOwner( address account ) external view returns( uint[] memory );
}

File 13 of 22 : ERC721EnumerableB.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/****************************************
 * @author: squeebo_nft                 *
 ****************************************
 *   Blimpie-ERC721 provides low-gas    *
 *       mints + transfers              *
 ****************************************/

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

abstract contract ERC721EnumerableB is ERC721B, IERC721Enumerable {
  function supportsInterface( bytes4 interfaceId ) public view virtual override(IERC165, ERC721B) returns( bool isSupported ){
    return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
  }

  function tokenOfOwnerByIndex( address owner, uint index ) external view override returns( uint tokenId ){
    uint count;
    for( uint i; i < tokens.length; ++i ){
      if( owner == tokens[i].owner ){
        if( count == index )
          return i;
        else
          ++count;
      }
    }

    revert("ERC721EnumerableB: owner index out of bounds");
  }

  function tokenByIndex( uint index ) external view override returns( uint tokenId ){
    require( index < totalSupply(), "ERC721EnumerableB: query for nonexistent token");
    return index + _offset;
  }

  function totalSupply() public view override( ERC721B, IERC721Enumerable ) returns( uint ){
    return ERC721B.totalSupply();
  }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 15 of 22 : ERC721B.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/****************************************
 *   Blimpie-FF721 provides low-gas  *
 *     mints + transfers        *
 ****************************************/

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/introspection/ERC165.sol";

abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata {
  using Address for address;

  struct Token {
    address owner;
    uint32 stakeDate;
    uint8 rarity;
  }

  Token[] public tokens;

  uint256 internal _burned;
  uint256 internal _offset;
  string private _name;
  string private _symbol;

  mapping(uint256 => address) internal _tokenApprovals;
  mapping(address => mapping(address => bool)) private _operatorApprovals;

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

    _offset = offset_;
    for (uint256 i; i < _offset; ++i) {
      tokens.push();
    }
  }

  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "Query for null address");
    uint256 balance = 0;
    for (uint256 i; i < tokens.length; ++i) {
      if (owner == tokens[i].owner) {
        ++balance;
      }
    }
    return balance;
  }

  function name() external view override returns (string memory name_) {
    return _name;
  }

  function ownerOf(uint256 tokenId)
    public
    view
    override
    returns (address owner)
  {
    require(_exists(tokenId), "ERC721B: query for nonexistent token");
    return tokens[tokenId].owner;
  }

  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC165, IERC165)
    returns (bool isSupported)
  {
    return
      interfaceId == type(IERC721).interfaceId ||
      interfaceId == type(IERC721Metadata).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  function symbol() external view override returns (string memory symbol_) {
    return _symbol;
  }

  function totalSupply() public view virtual returns (uint256) {
    return tokens.length - (_burned + _offset);
  }

  //approvals
  function approve(address to, uint256 tokenId) external override {
    address owner = ownerOf(tokenId);
    require(to != owner, "ERC721B: approval to current owner");

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

    _approve(to, tokenId);
  }

  function getApproved(uint256 tokenId)
    public
    view
    override
    returns (address approver)
  {
    require(_exists(tokenId), "ERC721: query for nonexistent token");
    return _tokenApprovals[tokenId];
  }

  function isApprovedForAll(address owner, address operator)
    public
    view
    override
    returns (bool isApproved)
  {
    return _operatorApprovals[owner][operator];
  }

  function setApprovalForAll(address operator, bool approved)
    external
    override
  {
    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

  //transfers
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) external override {
    safeTransferFrom(from, to, tokenId, "");
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    require(
      _isApprovedOrOwner(_msgSender(), tokenId),
      "ERC721B: caller is not owner nor approved"
    );
    _safeTransfer(from, to, tokenId, _data);
  }

  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) external override {
    //solhint-disable-next-line max-line-length
    require(
      _isApprovedOrOwner(_msgSender(), tokenId),
      "ERC721B: caller is not owner nor approved"
    );
    _transfer(from, to, tokenId);
  }

  //internal
  function _approve(address to, uint256 tokenId) internal {
    _tokenApprovals[tokenId] = to;
    emit Approval(ownerOf(tokenId), to, tokenId);
  }

  function _burn(uint256 tokenId) internal {
    address owner = ownerOf(tokenId);

    // Clear approvals
    _approve(address(0), tokenId);
    tokens[tokenId].owner = address(0);

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

  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    if (to.isContract()) {
      try
        IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)
      returns (bytes4 retval) {
        return retval == IERC721Receiver.onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721B: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < tokens.length && tokens[tokenId].owner != address(0);
  }

  function _isApprovedOrOwner(address spender, uint256 tokenId)
    internal
    view
    returns (bool isApproved)
  {
    require(_exists(tokenId), "ERC721B: query for nonexistent token");
    address owner = ownerOf(tokenId);
    return (spender == owner ||
      getApproved(tokenId) == spender ||
      isApprovedForAll(owner, spender));
  }

  function _mint(address to, uint256 tokenId) internal virtual;

  function _next() internal view virtual returns (uint256) {
    return tokens.length + _offset;
  }

  function _safeMint(address to, uint256 tokenId) internal {
    _safeMint(to, tokenId, "");
  }

  function _safeMint(
    address to,
    uint256 tokenId,
    bytes memory _data
  ) internal {
    _mint(to, tokenId);
    require(
      _checkOnERC721Received(address(0), to, tokenId, _data),
      "ERC721B: transfer to non ERC721Receiver implementer"
    );
  }

  function _safeTransfer(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) internal {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721B: transfer to non ERC721Receiver implementer"
    );
  }

  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual {
    require(
      ownerOf(tokenId) == from,
      "ERC721B: transfer of token that is not own"
    );

    // Clear approvals from the previous owner
    _approve(address(0), tokenId);
    tokens[tokenId].owner = to;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 21 of 22 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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);
}

File 22 of 22 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // 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.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_signer","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"CURRENT_ROUND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROUND_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROUND_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WSWFoundersProxy","outputs":[{"internalType":"contract IWSWFounders","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"restake","type":"bool"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"approver","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":"isApproved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"name_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"rarityMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundSupply","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_airdropQuantity","type":"uint256"}],"name":"resetRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum WallStreetWolves.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokensToSet","type":"uint256[]"},{"internalType":"uint8","name":"rarity","type":"uint8"}],"name":"setRarity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_rarity","type":"uint8"},{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"setRarityMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum WallStreetWolves.SaleState","name":"_newSaleState","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"coinContract","type":"address"},{"internalType":"uint256","name":"stakePeriod","type":"uint256"},{"internalType":"uint256","name":"stakeReward","type":"uint256"}],"internalType":"struct ERC721Staked.StakeConfig","name":"stakeConfig_","type":"tuple"}],"name":"setStakeConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTeamAddress","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURIPrefix","type":"string"},{"internalType":"string","name":"_tokenURISuffix","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"enum WallStreetWolves.SaleState","name":"_saleState","type":"uint8"},{"internalType":"uint256","name":"_presaleQuantity","type":"uint256"},{"internalType":"uint256","name":"_publicQuantity","type":"uint256"}],"name":"setVariables","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wswFounders","type":"address"}],"name":"setWSWFoundersContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeConfig","outputs":[{"internalType":"address","name":"coinContract","type":"address"},{"internalType":"uint256","name":"stakePeriod","type":"uint256"},{"internalType":"uint256","name":"stakeReward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"isSupported","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"stakeDate","type":"uint32"},{"internalType":"uint8","name":"rarity","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"wallet","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6127106013556706f05b59d3b20000601490815560016015556109c460165560006017556002601855601955601e8054732d2352a56827515faf6088c4cdf59befb4d0a67a6001600160a81b03199091168117909155601f80546001600160a01b0319167348c8ec816f7789c2d4a517fca3d2fa33ac3cc1c717905560e060405273ed386149321fbd84f0c4e27a1701ad05eca32f8a608090815260a091909152735b1dc9219786c7929b4684ef8301bdf4f1d6746560c052620000c8906020906003620006fd565b5060408051606081018252600380825260556020830152600c92820192909252620000f7916021919062000767565b503480156200010557600080fd5b5060405162004a5938038062004a5983398101604081905262000128916200083e565b6020805460408051828402810184019091528181529190828201828280156200017b57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200015c575b50505050506021805480602002602001604051908101604052809291908181526020018280548015620001ce57602002820191906000526020600020905b815481526020019060010190808311620001b9575b50505050506040518060400160405280601281526020017157616c6c2053747265657420576f6c76657360701b8152506040518060400160405280600381526020016257535760e81b815250600062000236620002306200043d60201b60201c565b62000441565b60018060006200024e6000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff19169215159290921790915583516200028c9160059190860190620007aa565b508151620002a2906006906020850190620007aa565b50600481905560005b600454811015620002d557600280546001018155600052620002cd81620008c6565b9050620002ab565b5050505080518251146200034b5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b60008251116200039e5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000342565b60005b825181101562000422576200040d838281518110620003d057634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110620003f957634e487b7160e01b600052603260045260246000fd5b60200260200101516200049160201b60201c565b806200041981620008c6565b915050620003a1565b50505062000436816200067f60201b60201c565b50620008fa565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620004fe5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000342565b60008111620005505760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000342565b6001600160a01b03821660009081526010602052604090205415620005cc5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000342565b60128054600181019091557fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440180546001600160a01b0319166001600160a01b0384169081179091556000908152601060205260409020819055600e54620006369082906200086e565b600e55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b6000546001600160a01b03163314620006db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000342565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b82805482825590600052602060002090810192821562000755579160200282015b828111156200075557825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200071e565b506200076392915062000827565b5090565b82805482825590600052602060002090810192821562000755579160200282015b8281111562000755578251829060ff1690559160200191906001019062000788565b828054620007b89062000889565b90600052602060002090601f016020900481019282620007dc576000855562000755565b82601f10620007f757805160ff191683800117855562000755565b8280016001018555821562000755579182015b82811115620007555782518255916020019190600101906200080a565b5b8082111562000763576000815560010162000828565b60006020828403121562000850578081fd5b81516001600160a01b038116811462000867578182fd5b9392505050565b60008219821115620008845762000884620008e4565b500190565b600181811c908216806200089e57607f821691505b60208210811415620008c057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620008dd57620008dd620008e4565b5060010190565b634e487b7160e01b600052601160045260246000fd5b61414f806200090a6000396000f3fe60806040526004361061033f5760003560e01c8063715018a6116101ae578063b88d4fde116100eb578063d5c8610c1161008f578063e33b7de31161006c578063e33b7de314610a74578063e985e9c514610a89578063f2fde38b14610ad2578063f360296b14610af257005b8063d5c8610c14610a1e578063db7fd40814610a34578063e1eb55f914610a4757005b8063c87b56dd116100c8578063c87b56dd14610992578063c98e41b5146109b2578063ce7c2ac2146109c8578063d48ede99146109fe57005b8063b88d4fde14610932578063bfdc19fc14610952578063c57dc9111461097257005b806395d89b4111610152578063a22cb4651161012f578063a22cb465146108bc578063a8f50940146108dc578063b44e0c6f146108f2578063b534a5c41461091257005b806395d89b411461085b5780639852595c14610870578063a07202c7146108a657005b80638ba4cc3c1161018b5780638ba4cc3c146107e75780638d859f3e146108075780638da5cb5b1461081d578063938949301461083b57005b8063715018a61461079c57806387b02265146107b15780638b83209b146107c757005b806342842e0e1161027c5780635a67de07116102205780636690864e116101fd5780636690864e1461071c5780636c19e7831461073c57806370a082311461075c57806370ea028f1461077c57005b80635a67de07146106ae578063603f4d52146106ce5780636352211e146106fc57005b80634d44660c116102595780634d44660c146106015780634f0228ab146106215780634f64b2be146106415780634f6ccce71461068e57005b806342842e0e14610594578063438b6300146105b45780634a994eef146105e157005b806319165587116102e35780632f745c59116102c05780632f745c591461052957806332cb6b0c146105495780633a98ef391461055f5780633e3f90aa1461057457005b806319165587146104c957806323b872dd146104e95780632c9b12e71461050957005b8063081812fc1161031c578063081812fc14610401578063095ea7b3146104395780630dedd0161461045957806318160ddd146104a657005b806301ffc9a71461038a57806306fdde03146103bf57806307779627146103e157005b36610388577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561039657600080fd5b506103aa6103a536600461394f565b610b12565b60405190151581526020015b60405180910390f35b3480156103cb57600080fd5b506103d4610b3d565b6040516103b69190613d9e565b3480156103ed57600080fd5b506103aa6103fc36600461359e565b610bcf565b34801561040d57600080fd5b5061042161041c366004613a18565b610c26565b6040516001600160a01b0390911681526020016103b6565b34801561044557600080fd5b506103886104543660046137db565b610ca5565b34801561046557600080fd5b50600954600a54600b54610481926001600160a01b0316919083565b604080516001600160a01b0390941684526020840192909252908201526060016103b6565b3480156104b257600080fd5b506104bb610db0565b6040519081526020016103b6565b3480156104d557600080fd5b506103886104e436600461359e565b610dbf565b3480156104f557600080fd5b506103886105043660046136ac565b610f90565b34801561051557600080fd5b50610388610524366004613845565b610fc1565b34801561053557600080fd5b506104bb6105443660046137db565b61129c565b34801561055557600080fd5b506104bb60135481565b34801561056b57600080fd5b50600e546104bb565b34801561058057600080fd5b5061038861058f366004613a01565b611377565b3480156105a057600080fd5b506103886105af3660046136ac565b6113b3565b3480156105c057600080fd5b506105d46105cf36600461359e565b6113ce565b6040516103b69190613d32565b3480156105ed57600080fd5b506103886105fc3660046137a7565b6114da565b34801561060d57600080fd5b506103aa61061c366004613755565b61152f565b34801561062d57600080fd5b5061038861063c366004613896565b6115c7565b34801561064d57600080fd5b5061066161065c366004613a18565b6116da565b604080516001600160a01b03909416845263ffffffff909216602084015260ff16908201526060016103b6565b34801561069a57600080fd5b506104bb6106a9366004613a18565b61171d565b3480156106ba57600080fd5b506103886106c9366004613987565b611799565b3480156106da57600080fd5b50601e546106ef90600160a01b900460ff1681565b6040516103b69190613d76565b34801561070857600080fd5b50610421610717366004613a18565b61185a565b34801561072857600080fd5b5061038861073736600461359e565b6118bd565b34801561074857600080fd5b5061038861075736600461359e565b611929565b34801561076857600080fd5b506104bb61077736600461359e565b611975565b34801561078857600080fd5b50610388610797366004613806565b611a37565b3480156107a857600080fd5b50610388611c52565b3480156107bd57600080fd5b506104bb60195481565b3480156107d357600080fd5b506104216107e2366004613a18565b611c88565b3480156107f357600080fd5b506103886108023660046137db565b611cab565b34801561081357600080fd5b506104bb60145481565b34801561082957600080fd5b506000546001600160a01b0316610421565b34801561084757600080fd5b50610388610856366004613b0d565b611d62565b34801561086757600080fd5b506103d4611da7565b34801561087c57600080fd5b506104bb61088b36600461359e565b6001600160a01b031660009081526011602052604090205490565b3480156108b257600080fd5b506104bb60185481565b3480156108c857600080fd5b506103886108d73660046137a7565b611db6565b3480156108e857600080fd5b506104bb60175481565b3480156108fe57600080fd5b5061038861090d366004613a82565b611e22565b34801561091e57600080fd5b5061038861092d3660046135f2565b611ea1565b34801561093e57600080fd5b5061038861094d3660046136ec565b611f2d565b34801561095e57600080fd5b5061038861096d36600461359e565b611f65565b34801561097e57600080fd5b5061038861098d366004613ac8565b611fc8565b34801561099e57600080fd5b506103d46109ad366004613a18565b61204f565b3480156109be57600080fd5b506104bb60165481565b3480156109d457600080fd5b506104bb6109e336600461359e565b6001600160a01b031660009081526010602052604090205490565b348015610a0a57600080fd5b50610388610a193660046139a1565b6120e9565b348015610a2a57600080fd5b506104bb60155481565b610388610a42366004613a48565b61213f565b348015610a5357600080fd5b506104bb610a62366004613af3565b600c6020526000908152604090205481565b348015610a8057600080fd5b50600f546104bb565b348015610a9557600080fd5b506103aa610aa43660046135ba565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610ade57600080fd5b50610388610aed36600461359e565b612641565b348015610afe57600080fd5b50601f54610421906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b1480610b375750610b378261269a565b92915050565b606060058054610b4c9061400a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b789061400a565b8015610bc55780601f10610b9a57610100808354040283529160200191610bc5565b820191906000526020600020905b815481529060010190602001808311610ba857829003601f168201915b5050505050905090565b600080546001600160a01b03163314610c035760405162461bcd60e51b8152600401610bfa90613ea9565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610c31826126ea565b610c895760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610bfa565b506000908152600760205260409020546001600160a01b031690565b6000610cb08261185a565b9050806001600160a01b0316836001600160a01b03161415610d1f5760405162461bcd60e51b815260206004820152602260248201527f455243373231423a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610bfa565b336001600160a01b0382161480610d3b5750610d3b8133610aa4565b610da15760405162461bcd60e51b815260206004820152603160248201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527008185c1c1c9bdd995908199bdc88185b1b607a1b6064820152608401610bfa565b610dab8383612742565b505050565b6000610dba6127b0565b905090565b6001600160a01b038116600090815260106020526040902054610e335760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610bfa565b6000600f5447610e439190613f57565b6001600160a01b038316600090815260116020908152604080832054600e546010909352908320549394509192610e7a9085613f83565b610e849190613f6f565b610e8e9190613fa2565b905080610ef15760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610bfa565b6001600160a01b038316600090815260116020526040902054610f15908290613f57565b6001600160a01b038416600090815260116020526040902055600f54610f3c908290613f57565b600f55610f4983826127cf565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610f9a33826128e8565b610fb65760405162461bcd60e51b8152600401610bfa90613ede565b610dab83838361298d565b600042815b8481101561123057610ffd868683818110610ff157634e487b7160e01b600052603260045260246000fd5b905060200201356126ea565b6110495760405162461bcd60e51b815260206004820152601b60248201527f636c61696d20666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610bfa565b6000600287878481811061106d57634e487b7160e01b600052603260045260246000fd5b905060200201358154811061109257634e487b7160e01b600052603260045260246000fd5b600091825260209091200180549091506001600160a01b031633146110ef5760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610bfa565b80546001600160a01b90910463ffffffff161161113188888581811061112557634e487b7160e01b600052603260045260246000fd5b905060200201356129e0565b6040516020016111419190613caf565b6040516020818303038152906040529061116e5760405162461bcd60e51b8152600401610bfa9190613d9e565b50600a54600b548254600092919061119390600160a01b900463ffffffff1687613fb9565b63ffffffff166111a39190613f83565b6111ad9190613f6f565b8254600160c01b900460ff166000908152600c60205260409020549091506111d59082613f83565b6111df9086613f57565b9450851561120857815463ffffffff60a01b1916600160a01b63ffffffff86160217825561121d565b815463ffffffff60a01b1916600160a01b1782555b5050806112299061403f565b9050610fc6565b506009546040516308934a5f60e31b8152336004820152602481018490526001600160a01b039091169063449a52f890604401600060405180830381600087803b15801561127d57600080fd5b505af1158015611291573d6000803e3d6000fd5b505050505050505050565b60008060005b60025481101561131957600281815481106112cd57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b038681169116141561130957838214156112fd579150610b379050565b6113068261403f565b91505b6113128161403f565b90506112a2565b5060405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c65423a206f776e657220696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610bfa565b3360009081526001602052604090205460ff166113a65760405162461bcd60e51b8152600401610bfa90613db1565b806009610dab82826140b0565b610dab83838360405180602001604052806000815250611f2d565b60606000806113dc84611975565b9050806001600160401b0381111561140457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561142d578160200160208202803683370190505b50925060005b6002548110156114d2576002818154811061145e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614156114c2578084846114898161403f565b9550815181106114a957634e487b7160e01b600052603260045260246000fd5b602002602001018181525050818314156114c2576114d2565b6114cb8161403f565b9050611433565b505050919050565b6000546001600160a01b031633146115045760405162461bcd60e51b8152600401610bfa90613ea9565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b828110156115ba57600284848381811061155d57634e487b7160e01b600052603260045260246000fd5b905060200201358154811061158257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b038681169116146115aa5760009150506115c0565b6115b38161403f565b9050611533565b50600190505b9392505050565b3360009081526001602052604090205460ff166115f65760405162461bcd60e51b8152600401610bfa90613db1565b8151611600610db0565b1161164d5760405162461bcd60e51b815260206004820152601960248201527f7365745261726974793a20696e76616c6964206c656e677468000000000000006044820152606401610bfa565b60005b8251811015610dab5781600284838151811061167c57634e487b7160e01b600052603260045260246000fd5b6020026020010151815481106116a257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805460ff92909216600160c01b0260ff60c01b199092169190911790556116d38161403f565b9050611650565b600281815481106116ea57600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b810463ffffffff1690600160c01b900460ff1683565b6000611727610db0565b821061178c5760405162461bcd60e51b815260206004820152602e60248201527f455243373231456e756d657261626c65423a20717565727920666f72206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610bfa565b600454610b379083613f57565b3360009081526001602052604090205460ff166117c85760405162461bcd60e51b8152600401610bfa90613db1565b8060038111156117e857634e487b7160e01b600052602160045260246000fd5b601e54600160a01b900460ff16600381111561181457634e487b7160e01b600052602160045260246000fd5b141561181f57600080fd5b601e805482919060ff60a01b1916600160a01b83600381111561185257634e487b7160e01b600052602160045260246000fd5b021790555050565b6000611865826126ea565b6118815760405162461bcd60e51b8152600401610bfa90613e65565b600282815481106118a257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b3360009081526001602052604090205460ff166118ec5760405162461bcd60e51b8152600401610bfa90613db1565b601e546001600160a01b038281169116141561190757600080fd5b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146119535760405162461bcd60e51b8152600401610bfa90613ea9565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166119c65760405162461bcd60e51b8152602060048201526016602482015275517565727920666f72206e756c6c206164647265737360501b6044820152606401610bfa565b6000805b600254811015611a3057600281815481106119f557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0385811691161415611a2057611a1d8261403f565b91505b611a298161403f565b90506119ca565b5092915050565b60005b81811015610dab57611a65838383818110610ff157634e487b7160e01b600052603260045260246000fd5b611ab15760405162461bcd60e51b815260206004820152601b60248201527f7374616b6520666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610bfa565b60006002848484818110611ad557634e487b7160e01b600052603260045260246000fd5b9050602002013581548110611afa57634e487b7160e01b600052603260045260246000fd5b600091825260209091200180549091506001600160a01b03163314611b575760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610bfa565b80546002600160a01b90910463ffffffff1610611b8d85858581811061112557634e487b7160e01b600052603260045260246000fd5b604051602001611b9d9190613c65565b60405160208183030381529060405290611bca5760405162461bcd60e51b8152600401610bfa9190613d9e565b50426002858585818110611bee57634e487b7160e01b600052603260045260246000fd5b9050602002013581548110611c1357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805463ffffffff92909216600160a01b0263ffffffff60a01b1990921691909117905550611c4b8161403f565b9050611a3a565b6000546001600160a01b03163314611c7c5760405162461bcd60e51b8152600401610bfa90613ea9565b611c866000612af9565b565b6000601282815481106118a257634e487b7160e01b600052603260045260246000fd5b3360009081526001602052604090205460ff16611cda5760405162461bcd60e51b8152600401610bfa90613db1565b60135481611ce6610db0565b611cf09190613f57565b1115611d3e5760405162461bcd60e51b815260206004820152601a60248201527f61697264726f703a20496e76616c6964207175616e746974792e0000000000006044820152606401610bfa565b60005b81811015610dab57611d5283612b49565b611d5b8161403f565b9050611d41565b3360009081526001602052604090205460ff16611d915760405162461bcd60e51b8152600401610bfa90613db1565b60ff9091166000908152600c6020526040902055565b606060068054610b4c9061400a565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff16611e515760405162461bcd60e51b8152600401610bfa90613db1565b60138590556014849055601e805484919060ff60a01b1916600160a01b836003811115611e8e57634e487b7160e01b600052602160045260246000fd5b0217905550601891909155601955505050565b60005b83811015611f2457611f148787878785818110611ed157634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f2d92505050565b611f1d8161403f565b9050611ea4565b50505050505050565b611f3733836128e8565b611f535760405162461bcd60e51b8152600401610bfa90613ede565b611f5f84848484612c0f565b50505050565b3360009081526001602052604090205460ff16611f945760405162461bcd60e51b8152600401610bfa90613db1565b601f546001600160a01b03828116911614611fc557601f80546001600160a01b0319166001600160a01b0383161790555b50565b3360009081526001602052604090205460ff16611ff75760405162461bcd60e51b8152600401610bfa90613db1565b6016839055600060178190556014839055601e805460ff60a01b1916600160a11b179055601580546001929061202e908490613f57565b90915550508015610dab57601e54610dab906001600160a01b031682611cab565b606061205a826126ea565b6120b45760405162461bcd60e51b815260206004820152602560248201527f746f6b656e5552493a20517565727920666f72206e6f6e6578697374656e74206044820152643a37b5b2b760d91b6064820152608401610bfa565b601c6120bf836129e0565b601d6040516020016120d393929190613c32565b6040516020818303038152906040529050919050565b3360009081526001602052604090205460ff166121185760405162461bcd60e51b8152600401610bfa90613db1565b815161212b90601c906020850190613429565b508051610dab90601d906020840190613429565b6000601e54600160a01b900460ff16600381111561216d57634e487b7160e01b600052602160045260246000fd5b14156121af5760405162461bcd60e51b81526020600482015260116024820152701b5a5b9d0e8814d85b19481c185d5cd959607a1b6044820152606401610bfa565b601354826121bb610db0565b6121c59190613f57565b11156121e35760405162461bcd60e51b8152600401610bfa90613e2e565b6001601e54600160a01b900460ff16600381111561221157634e487b7160e01b600052602160045260246000fd5b141561232f57601f54604051627eeac760e11b8152336004820152600060248201819052916001600160a01b03169062fdd58e9060440160206040518083038186803b15801561226057600080fd5b505afa158015612274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122989190613a30565b336000908152601a60205260409020549091506122b59084613f57565b8110156123045760405162461bcd60e51b815260206004820152601f60248201527f6d696e743a20496e76616c696420666f756e64657273207175616e74697479006044820152606401610bfa565b336000908152601a602052604081208054859290612323908490613f57565b9091555061261d915050565b6002601e54600160a01b900460ff16600381111561235d57634e487b7160e01b600052602160045260246000fd5b14156124ff576014546123709083613f83565b3410156123bb5760405162461bcd60e51b815260206004820152601960248201527836b4b73a1d1024b731b7b93932b1ba1022aa241039b2b73a1760391b6044820152606401610bfa565b601654826017546123cc9190613f57565b11156124135760405162461bcd60e51b81526020600482015260166024820152756d696e743a20496e76616c6964207175616e7469747960501b6044820152606401610bfa565b6018546015546000908152601b6020908152604080832033845290915290205461243d9084613f57565b111561245b5760405162461bcd60e51b8152600401610bfa90613e2e565b6124658282612c42565b6124b15760405162461bcd60e51b815260206004820152601a60248201527f6d696e743a204e6f74206f6e2070726573616c65206c6973742e0000000000006044820152606401610bfa565b81601760008282546124c39190613f57565b90915550506015546000908152601b60209081526040808320338452909152812080548492906124f4908490613f57565b9091555061261d9050565b6003601e54600160a01b900460ff16600381111561252d57634e487b7160e01b600052602160045260246000fd5b141561261d576014546125409083613f83565b34101561258b5760405162461bcd60e51b815260206004820152601960248201527836b4b73a1d1024b731b7b93932b1ba1022aa241039b2b73a1760391b6044820152606401610bfa565b6016548260175461259c9190613f57565b11156125e35760405162461bcd60e51b81526020600482015260166024820152756d696e743a20496e76616c6964207175616e7469747960501b6044820152606401610bfa565b6019548211156126055760405162461bcd60e51b8152600401610bfa90613e2e565b81601760008282546126179190613f57565b90915550505b60005b82811015610dab5761263133612b49565b61263a8161403f565b9050612620565b6000546001600160a01b0316331461266b5760405162461bcd60e51b8152600401610bfa90613ea9565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055611fc581612c70565b60006001600160e01b031982166380ac58cd60e01b14806126cb57506001600160e01b03198216635b5e139f60e01b145b80610b3757506301ffc9a760e01b6001600160e01b0319831614610b37565b60025460009082108015610b37575060006001600160a01b03166002838154811061272557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906127778261185a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006004546003546127c29190613f57565b600254610dba9190613fa2565b8047101561281f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bfa565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461286c576040519150601f19603f3d011682016040523d82523d6000602084013e612871565b606091505b5050905080610dab5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bfa565b60006128f3826126ea565b61290f5760405162461bcd60e51b8152600401610bfa90613e65565b600061291a8361185a565b9050806001600160a01b0316846001600160a01b031614806129555750836001600160a01b031661294a84610c26565b6001600160a01b0316145b8061298557506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff165b949350505050565b61299681612d08565b156129d55760405162461bcd60e51b815260206004820152600f60248201526e1d1bdad95b881a5cc81cdd185ad959608a1b6044820152606401610bfa565b610dab838383612d4d565b606081612a045750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612a2e5780612a188161403f565b9150612a279050600a83613f6f565b9150612a08565b6000816001600160401b03811115612a5657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a80576020820181803683370190505b5090505b841561298557612a95600183613fa2565b9150612aa2600a8661405a565b612aad906030613f57565b60f81b818381518110612ad057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612af2600a86613f6f565b9450612a84565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612b53612e50565b604080516060810182526001600160a01b03808616825260016020808401828152848601838152600280549485018155600090815295517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90940180549251915160ff16600160c01b0260ff60c01b1963ffffffff93909316600160a01b026001600160c01b03199094169590961694909417919091171692909217905582519081019092528152909150612c0b9083908390612e62565b5050565b612c1a84848461298d565b612c2684848484612e95565b611f5f5760405162461bcd60e51b8152600401610bfa90613ddb565b600080612c57612c51856129e0565b84612fa2565b600d546001600160a01b03908116911614949350505050565b6000546001600160a01b03163314612c9a5760405162461bcd60e51b8152600401610bfa90613ea9565b6001600160a01b038116612cff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bfa565b611fc581612af9565b6000600160028381548110612d2d57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600160a01b900463ffffffff161192915050565b826001600160a01b0316612d608261185a565b6001600160a01b031614612dc95760405162461bcd60e51b815260206004820152602a60248201527f455243373231423a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b6064820152608401610bfa565b612dd4600082612742565b8160028281548110612df657634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600454600254600091610dba91613f57565b612e6c8383612fc3565b612e796000848484612e95565b610dab5760405162461bcd60e51b8152600401610bfa90613ddb565b60006001600160a01b0384163b15612f9757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612ed9903390899088908890600401613cf5565b602060405180830381600087803b158015612ef357600080fd5b505af1925050508015612f23575060408051601f3d908101601f19168201909252612f209181019061396b565b60015b612f7d573d808015612f51576040519150601f19603f3d011682016040523d82523d6000602084013e612f56565b606091505b508051612f755760405162461bcd60e51b8152600401610bfa90613ddb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612985565b506001949350505050565b600080612fae84612fff565b905061298583612fbd83613033565b9061306e565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600030338360405160200161301693929190613bec565b604051602081830303815290604052805190602001209050919050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01613016565b600080600061307d8585613092565b9150915061308a81613102565b509392505050565b6000808251604114156130c95760208301516040840151606085015160001a6130bd87828585613303565b945094505050506130fb565b8251604014156130f357602083015160408401516130e88683836133f0565b9350935050506130fb565b506000905060025b9250929050565b600081600481111561312457634e487b7160e01b600052602160045260246000fd5b141561312d5750565b600181600481111561314f57634e487b7160e01b600052602160045260246000fd5b141561319d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bfa565b60028160048111156131bf57634e487b7160e01b600052602160045260246000fd5b141561320d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bfa565b600381600481111561322f57634e487b7160e01b600052602160045260246000fd5b14156132885760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bfa565b60048160048111156132aa57634e487b7160e01b600052602160045260246000fd5b1415611fc55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bfa565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561333a57506000905060036133e7565b8460ff16601b1415801561335257508460ff16601c14155b1561336357506000905060046133e7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156133b7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166133e0576000600192509250506133e7565b9150600090505b94509492505050565b6000806001600160ff1b0383168161340d60ff86901c601b613f57565b905061341b87828885613303565b935093505050935093915050565b8280546134359061400a565b90600052602060002090601f016020900481019282613457576000855561349d565b82601f1061347057805160ff191683800117855561349d565b8280016001018555821561349d579182015b8281111561349d578251825591602001919060010190613482565b506134a99291506134ad565b5090565b5b808211156134a957600081556001016134ae565b60008083601f8401126134d3578182fd5b5081356001600160401b038111156134e9578182fd5b6020830191508360208260051b85010111156130fb57600080fd5b80358015158114610c2157600080fd5b600082601f830112613524578081fd5b81356001600160401b0381111561353d5761353d61409a565b613550601f8201601f1916602001613f27565b818152846020838601011115613564578283fd5b816020850160208301379081016020019190915292915050565b803560048110610c2157600080fd5b803560ff81168114610c2157600080fd5b6000602082840312156135af578081fd5b81356115c0816140ee565b600080604083850312156135cc578081fd5b82356135d7816140ee565b915060208301356135e7816140ee565b809150509250929050565b6000806000806000806080878903121561360a578182fd5b8635613615816140ee565b95506020870135613625816140ee565b945060408701356001600160401b0380821115613640578384fd5b61364c8a838b016134c2565b90965094506060890135915080821115613664578384fd5b818901915089601f830112613677578384fd5b813581811115613685578485fd5b8a6020828501011115613696578485fd5b6020830194508093505050509295509295509295565b6000806000606084860312156136c0578283fd5b83356136cb816140ee565b925060208401356136db816140ee565b929592945050506040919091013590565b60008060008060808587031215613701578384fd5b843561370c816140ee565b9350602085013561371c816140ee565b92506040850135915060608501356001600160401b0381111561373d578182fd5b61374987828801613514565b91505092959194509250565b600080600060408486031215613769578283fd5b8335613774816140ee565b925060208401356001600160401b0381111561378e578283fd5b61379a868287016134c2565b9497909650939450505050565b600080604083850312156137b9578182fd5b82356137c4816140ee565b91506137d260208401613504565b90509250929050565b600080604083850312156137ed578182fd5b82356137f8816140ee565b946020939093013593505050565b60008060208385031215613818578182fd5b82356001600160401b0381111561382d578283fd5b613839858286016134c2565b90969095509350505050565b600080600060408486031215613859578081fd5b83356001600160401b0381111561386e578182fd5b61387a868287016134c2565b909450925061388d905060208501613504565b90509250925092565b600080604083850312156138a8578182fd5b82356001600160401b03808211156138be578384fd5b818501915085601f8301126138d1578384fd5b81356020828211156138e5576138e561409a565b8160051b92506138f6818401613f27565b8281528181019085830185870184018b1015613910578889fd5b8896505b84871015613932578035835260019690960195918301918301613914565b509650613942905087820161358d565b9450505050509250929050565b600060208284031215613960578081fd5b81356115c081614103565b60006020828403121561397c578081fd5b81516115c081614103565b600060208284031215613998578081fd5b6115c08261357e565b600080604083850312156139b3578182fd5b82356001600160401b03808211156139c9578384fd5b6139d586838701613514565b935060208501359150808211156139ea578283fd5b506139f785828601613514565b9150509250929050565b600060608284031215613a12578081fd5b50919050565b600060208284031215613a29578081fd5b5035919050565b600060208284031215613a41578081fd5b5051919050565b60008060408385031215613a5a578182fd5b8235915060208301356001600160401b03811115613a76578182fd5b6139f785828601613514565b600080600080600060a08688031215613a99578283fd5b8535945060208601359350613ab06040870161357e565b94979396509394606081013594506080013592915050565b600080600060608486031215613adc578081fd5b505081359360208301359350604090920135919050565b600060208284031215613b04578081fd5b6115c08261358d565b60008060408385031215613b1f578182fd5b6137f88361358d565b60008151808452613b40816020860160208601613fde565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680613b6e57607f831692505b6020808410821415613b8e57634e487b7160e01b86526022600452602486fd5b818015613ba25760018114613bb357613be0565b60ff19861689528489019650613be0565b60008881526020902060005b86811015613bd85781548b820152908501908301613bbf565b505084890196505b50505050505092915050565b60006bffffffffffffffffffffffff19808660601b168352808560601b166014840152508251613c23816028850160208701613fde565b91909101602801949350505050565b6000613c3e8286613b54565b8451613c4e818360208901613fde565b613c5a81830186613b54565b979650505050505050565b6503a37b5b2b7160d51b815260008251613c86816006850160208701613fde565b71081a5cc8185b1c9958591e481cdd185ad95960721b6006939091019283015250601801919050565b6503a37b5b2b7160d51b815260008251613cd0816006850160208701613fde565b6d081a5cc81b9bdd081cdd185ad95960921b6006939091019283015250601401919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d2890830184613b28565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613d6a57835183529284019291840191600101613d4e565b50909695505050505050565b6020810160048310613d9857634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006115c06020830184613b28565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526033908201527f455243373231423a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60208082526017908201527f6d696e743a20496e76616c6964207175616e746974792e000000000000000000604082015260600190565b60208082526024908201527f455243373231423a20717565727920666f72206e6f6e6578697374656e74207460408201526337b5b2b760e11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715613f4f57613f4f61409a565b604052919050565b60008219821115613f6a57613f6a61406e565b500190565b600082613f7e57613f7e614084565b500490565b6000816000190483118215151615613f9d57613f9d61406e565b500290565b600082821015613fb457613fb461406e565b500390565b600063ffffffff83811690831681811015613fd657613fd661406e565b039392505050565b60005b83811015613ff9578181015183820152602001613fe1565b83811115611f5f5750506000910152565b600181811c9082168061401e57607f821691505b60208210811415613a1257634e487b7160e01b600052602260045260246000fd5b60006000198214156140535761405361406e565b5060010190565b60008261406957614069614084565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b81356140bb816140ee565b81546001600160a01b0319166001600160a01b039190911617815560208201356001820155604090910135600290910155565b6001600160a01b0381168114611fc557600080fd5b6001600160e01b031981168114611fc557600080fdfea2646970667358221220c13b37562b316998a01b7a9b768dc63cca649a1024dd67526a332e60e5bd05f664736f6c6343000804003300000000000000000000000009feb1a0fd4492698f7dff00a782e7b12c312c44

Deployed Bytecode

0x60806040526004361061033f5760003560e01c8063715018a6116101ae578063b88d4fde116100eb578063d5c8610c1161008f578063e33b7de31161006c578063e33b7de314610a74578063e985e9c514610a89578063f2fde38b14610ad2578063f360296b14610af257005b8063d5c8610c14610a1e578063db7fd40814610a34578063e1eb55f914610a4757005b8063c87b56dd116100c8578063c87b56dd14610992578063c98e41b5146109b2578063ce7c2ac2146109c8578063d48ede99146109fe57005b8063b88d4fde14610932578063bfdc19fc14610952578063c57dc9111461097257005b806395d89b4111610152578063a22cb4651161012f578063a22cb465146108bc578063a8f50940146108dc578063b44e0c6f146108f2578063b534a5c41461091257005b806395d89b411461085b5780639852595c14610870578063a07202c7146108a657005b80638ba4cc3c1161018b5780638ba4cc3c146107e75780638d859f3e146108075780638da5cb5b1461081d578063938949301461083b57005b8063715018a61461079c57806387b02265146107b15780638b83209b146107c757005b806342842e0e1161027c5780635a67de07116102205780636690864e116101fd5780636690864e1461071c5780636c19e7831461073c57806370a082311461075c57806370ea028f1461077c57005b80635a67de07146106ae578063603f4d52146106ce5780636352211e146106fc57005b80634d44660c116102595780634d44660c146106015780634f0228ab146106215780634f64b2be146106415780634f6ccce71461068e57005b806342842e0e14610594578063438b6300146105b45780634a994eef146105e157005b806319165587116102e35780632f745c59116102c05780632f745c591461052957806332cb6b0c146105495780633a98ef391461055f5780633e3f90aa1461057457005b806319165587146104c957806323b872dd146104e95780632c9b12e71461050957005b8063081812fc1161031c578063081812fc14610401578063095ea7b3146104395780630dedd0161461045957806318160ddd146104a657005b806301ffc9a71461038a57806306fdde03146103bf57806307779627146103e157005b36610388577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561039657600080fd5b506103aa6103a536600461394f565b610b12565b60405190151581526020015b60405180910390f35b3480156103cb57600080fd5b506103d4610b3d565b6040516103b69190613d9e565b3480156103ed57600080fd5b506103aa6103fc36600461359e565b610bcf565b34801561040d57600080fd5b5061042161041c366004613a18565b610c26565b6040516001600160a01b0390911681526020016103b6565b34801561044557600080fd5b506103886104543660046137db565b610ca5565b34801561046557600080fd5b50600954600a54600b54610481926001600160a01b0316919083565b604080516001600160a01b0390941684526020840192909252908201526060016103b6565b3480156104b257600080fd5b506104bb610db0565b6040519081526020016103b6565b3480156104d557600080fd5b506103886104e436600461359e565b610dbf565b3480156104f557600080fd5b506103886105043660046136ac565b610f90565b34801561051557600080fd5b50610388610524366004613845565b610fc1565b34801561053557600080fd5b506104bb6105443660046137db565b61129c565b34801561055557600080fd5b506104bb60135481565b34801561056b57600080fd5b50600e546104bb565b34801561058057600080fd5b5061038861058f366004613a01565b611377565b3480156105a057600080fd5b506103886105af3660046136ac565b6113b3565b3480156105c057600080fd5b506105d46105cf36600461359e565b6113ce565b6040516103b69190613d32565b3480156105ed57600080fd5b506103886105fc3660046137a7565b6114da565b34801561060d57600080fd5b506103aa61061c366004613755565b61152f565b34801561062d57600080fd5b5061038861063c366004613896565b6115c7565b34801561064d57600080fd5b5061066161065c366004613a18565b6116da565b604080516001600160a01b03909416845263ffffffff909216602084015260ff16908201526060016103b6565b34801561069a57600080fd5b506104bb6106a9366004613a18565b61171d565b3480156106ba57600080fd5b506103886106c9366004613987565b611799565b3480156106da57600080fd5b50601e546106ef90600160a01b900460ff1681565b6040516103b69190613d76565b34801561070857600080fd5b50610421610717366004613a18565b61185a565b34801561072857600080fd5b5061038861073736600461359e565b6118bd565b34801561074857600080fd5b5061038861075736600461359e565b611929565b34801561076857600080fd5b506104bb61077736600461359e565b611975565b34801561078857600080fd5b50610388610797366004613806565b611a37565b3480156107a857600080fd5b50610388611c52565b3480156107bd57600080fd5b506104bb60195481565b3480156107d357600080fd5b506104216107e2366004613a18565b611c88565b3480156107f357600080fd5b506103886108023660046137db565b611cab565b34801561081357600080fd5b506104bb60145481565b34801561082957600080fd5b506000546001600160a01b0316610421565b34801561084757600080fd5b50610388610856366004613b0d565b611d62565b34801561086757600080fd5b506103d4611da7565b34801561087c57600080fd5b506104bb61088b36600461359e565b6001600160a01b031660009081526011602052604090205490565b3480156108b257600080fd5b506104bb60185481565b3480156108c857600080fd5b506103886108d73660046137a7565b611db6565b3480156108e857600080fd5b506104bb60175481565b3480156108fe57600080fd5b5061038861090d366004613a82565b611e22565b34801561091e57600080fd5b5061038861092d3660046135f2565b611ea1565b34801561093e57600080fd5b5061038861094d3660046136ec565b611f2d565b34801561095e57600080fd5b5061038861096d36600461359e565b611f65565b34801561097e57600080fd5b5061038861098d366004613ac8565b611fc8565b34801561099e57600080fd5b506103d46109ad366004613a18565b61204f565b3480156109be57600080fd5b506104bb60165481565b3480156109d457600080fd5b506104bb6109e336600461359e565b6001600160a01b031660009081526010602052604090205490565b348015610a0a57600080fd5b50610388610a193660046139a1565b6120e9565b348015610a2a57600080fd5b506104bb60155481565b610388610a42366004613a48565b61213f565b348015610a5357600080fd5b506104bb610a62366004613af3565b600c6020526000908152604090205481565b348015610a8057600080fd5b50600f546104bb565b348015610a9557600080fd5b506103aa610aa43660046135ba565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610ade57600080fd5b50610388610aed36600461359e565b612641565b348015610afe57600080fd5b50601f54610421906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b1480610b375750610b378261269a565b92915050565b606060058054610b4c9061400a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b789061400a565b8015610bc55780601f10610b9a57610100808354040283529160200191610bc5565b820191906000526020600020905b815481529060010190602001808311610ba857829003601f168201915b5050505050905090565b600080546001600160a01b03163314610c035760405162461bcd60e51b8152600401610bfa90613ea9565b60405180910390fd5b506001600160a01b03811660009081526001602052604090205460ff165b919050565b6000610c31826126ea565b610c895760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610bfa565b506000908152600760205260409020546001600160a01b031690565b6000610cb08261185a565b9050806001600160a01b0316836001600160a01b03161415610d1f5760405162461bcd60e51b815260206004820152602260248201527f455243373231423a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610bfa565b336001600160a01b0382161480610d3b5750610d3b8133610aa4565b610da15760405162461bcd60e51b815260206004820152603160248201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527008185c1c1c9bdd995908199bdc88185b1b607a1b6064820152608401610bfa565b610dab8383612742565b505050565b6000610dba6127b0565b905090565b6001600160a01b038116600090815260106020526040902054610e335760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610bfa565b6000600f5447610e439190613f57565b6001600160a01b038316600090815260116020908152604080832054600e546010909352908320549394509192610e7a9085613f83565b610e849190613f6f565b610e8e9190613fa2565b905080610ef15760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610bfa565b6001600160a01b038316600090815260116020526040902054610f15908290613f57565b6001600160a01b038416600090815260116020526040902055600f54610f3c908290613f57565b600f55610f4983826127cf565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610f9a33826128e8565b610fb65760405162461bcd60e51b8152600401610bfa90613ede565b610dab83838361298d565b600042815b8481101561123057610ffd868683818110610ff157634e487b7160e01b600052603260045260246000fd5b905060200201356126ea565b6110495760405162461bcd60e51b815260206004820152601b60248201527f636c61696d20666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610bfa565b6000600287878481811061106d57634e487b7160e01b600052603260045260246000fd5b905060200201358154811061109257634e487b7160e01b600052603260045260246000fd5b600091825260209091200180549091506001600160a01b031633146110ef5760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610bfa565b80546001600160a01b90910463ffffffff161161113188888581811061112557634e487b7160e01b600052603260045260246000fd5b905060200201356129e0565b6040516020016111419190613caf565b6040516020818303038152906040529061116e5760405162461bcd60e51b8152600401610bfa9190613d9e565b50600a54600b548254600092919061119390600160a01b900463ffffffff1687613fb9565b63ffffffff166111a39190613f83565b6111ad9190613f6f565b8254600160c01b900460ff166000908152600c60205260409020549091506111d59082613f83565b6111df9086613f57565b9450851561120857815463ffffffff60a01b1916600160a01b63ffffffff86160217825561121d565b815463ffffffff60a01b1916600160a01b1782555b5050806112299061403f565b9050610fc6565b506009546040516308934a5f60e31b8152336004820152602481018490526001600160a01b039091169063449a52f890604401600060405180830381600087803b15801561127d57600080fd5b505af1158015611291573d6000803e3d6000fd5b505050505050505050565b60008060005b60025481101561131957600281815481106112cd57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b038681169116141561130957838214156112fd579150610b379050565b6113068261403f565b91505b6113128161403f565b90506112a2565b5060405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c65423a206f776e657220696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610bfa565b3360009081526001602052604090205460ff166113a65760405162461bcd60e51b8152600401610bfa90613db1565b806009610dab82826140b0565b610dab83838360405180602001604052806000815250611f2d565b60606000806113dc84611975565b9050806001600160401b0381111561140457634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561142d578160200160208202803683370190505b50925060005b6002548110156114d2576002818154811061145e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614156114c2578084846114898161403f565b9550815181106114a957634e487b7160e01b600052603260045260246000fd5b602002602001018181525050818314156114c2576114d2565b6114cb8161403f565b9050611433565b505050919050565b6000546001600160a01b031633146115045760405162461bcd60e51b8152600401610bfa90613ea9565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b828110156115ba57600284848381811061155d57634e487b7160e01b600052603260045260246000fd5b905060200201358154811061158257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b038681169116146115aa5760009150506115c0565b6115b38161403f565b9050611533565b50600190505b9392505050565b3360009081526001602052604090205460ff166115f65760405162461bcd60e51b8152600401610bfa90613db1565b8151611600610db0565b1161164d5760405162461bcd60e51b815260206004820152601960248201527f7365745261726974793a20696e76616c6964206c656e677468000000000000006044820152606401610bfa565b60005b8251811015610dab5781600284838151811061167c57634e487b7160e01b600052603260045260246000fd5b6020026020010151815481106116a257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805460ff92909216600160c01b0260ff60c01b199092169190911790556116d38161403f565b9050611650565b600281815481106116ea57600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b810463ffffffff1690600160c01b900460ff1683565b6000611727610db0565b821061178c5760405162461bcd60e51b815260206004820152602e60248201527f455243373231456e756d657261626c65423a20717565727920666f72206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610bfa565b600454610b379083613f57565b3360009081526001602052604090205460ff166117c85760405162461bcd60e51b8152600401610bfa90613db1565b8060038111156117e857634e487b7160e01b600052602160045260246000fd5b601e54600160a01b900460ff16600381111561181457634e487b7160e01b600052602160045260246000fd5b141561181f57600080fd5b601e805482919060ff60a01b1916600160a01b83600381111561185257634e487b7160e01b600052602160045260246000fd5b021790555050565b6000611865826126ea565b6118815760405162461bcd60e51b8152600401610bfa90613e65565b600282815481106118a257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b3360009081526001602052604090205460ff166118ec5760405162461bcd60e51b8152600401610bfa90613db1565b601e546001600160a01b038281169116141561190757600080fd5b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146119535760405162461bcd60e51b8152600401610bfa90613ea9565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166119c65760405162461bcd60e51b8152602060048201526016602482015275517565727920666f72206e756c6c206164647265737360501b6044820152606401610bfa565b6000805b600254811015611a3057600281815481106119f557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0385811691161415611a2057611a1d8261403f565b91505b611a298161403f565b90506119ca565b5092915050565b60005b81811015610dab57611a65838383818110610ff157634e487b7160e01b600052603260045260246000fd5b611ab15760405162461bcd60e51b815260206004820152601b60248201527f7374616b6520666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610bfa565b60006002848484818110611ad557634e487b7160e01b600052603260045260246000fd5b9050602002013581548110611afa57634e487b7160e01b600052603260045260246000fd5b600091825260209091200180549091506001600160a01b03163314611b575760405162461bcd60e51b815260206004820152601360248201527231b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610bfa565b80546002600160a01b90910463ffffffff1610611b8d85858581811061112557634e487b7160e01b600052603260045260246000fd5b604051602001611b9d9190613c65565b60405160208183030381529060405290611bca5760405162461bcd60e51b8152600401610bfa9190613d9e565b50426002858585818110611bee57634e487b7160e01b600052603260045260246000fd5b9050602002013581548110611c1357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001805463ffffffff92909216600160a01b0263ffffffff60a01b1990921691909117905550611c4b8161403f565b9050611a3a565b6000546001600160a01b03163314611c7c5760405162461bcd60e51b8152600401610bfa90613ea9565b611c866000612af9565b565b6000601282815481106118a257634e487b7160e01b600052603260045260246000fd5b3360009081526001602052604090205460ff16611cda5760405162461bcd60e51b8152600401610bfa90613db1565b60135481611ce6610db0565b611cf09190613f57565b1115611d3e5760405162461bcd60e51b815260206004820152601a60248201527f61697264726f703a20496e76616c6964207175616e746974792e0000000000006044820152606401610bfa565b60005b81811015610dab57611d5283612b49565b611d5b8161403f565b9050611d41565b3360009081526001602052604090205460ff16611d915760405162461bcd60e51b8152600401610bfa90613db1565b60ff9091166000908152600c6020526040902055565b606060068054610b4c9061400a565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff16611e515760405162461bcd60e51b8152600401610bfa90613db1565b60138590556014849055601e805484919060ff60a01b1916600160a01b836003811115611e8e57634e487b7160e01b600052602160045260246000fd5b0217905550601891909155601955505050565b60005b83811015611f2457611f148787878785818110611ed157634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f2d92505050565b611f1d8161403f565b9050611ea4565b50505050505050565b611f3733836128e8565b611f535760405162461bcd60e51b8152600401610bfa90613ede565b611f5f84848484612c0f565b50505050565b3360009081526001602052604090205460ff16611f945760405162461bcd60e51b8152600401610bfa90613db1565b601f546001600160a01b03828116911614611fc557601f80546001600160a01b0319166001600160a01b0383161790555b50565b3360009081526001602052604090205460ff16611ff75760405162461bcd60e51b8152600401610bfa90613db1565b6016839055600060178190556014839055601e805460ff60a01b1916600160a11b179055601580546001929061202e908490613f57565b90915550508015610dab57601e54610dab906001600160a01b031682611cab565b606061205a826126ea565b6120b45760405162461bcd60e51b815260206004820152602560248201527f746f6b656e5552493a20517565727920666f72206e6f6e6578697374656e74206044820152643a37b5b2b760d91b6064820152608401610bfa565b601c6120bf836129e0565b601d6040516020016120d393929190613c32565b6040516020818303038152906040529050919050565b3360009081526001602052604090205460ff166121185760405162461bcd60e51b8152600401610bfa90613db1565b815161212b90601c906020850190613429565b508051610dab90601d906020840190613429565b6000601e54600160a01b900460ff16600381111561216d57634e487b7160e01b600052602160045260246000fd5b14156121af5760405162461bcd60e51b81526020600482015260116024820152701b5a5b9d0e8814d85b19481c185d5cd959607a1b6044820152606401610bfa565b601354826121bb610db0565b6121c59190613f57565b11156121e35760405162461bcd60e51b8152600401610bfa90613e2e565b6001601e54600160a01b900460ff16600381111561221157634e487b7160e01b600052602160045260246000fd5b141561232f57601f54604051627eeac760e11b8152336004820152600060248201819052916001600160a01b03169062fdd58e9060440160206040518083038186803b15801561226057600080fd5b505afa158015612274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122989190613a30565b336000908152601a60205260409020549091506122b59084613f57565b8110156123045760405162461bcd60e51b815260206004820152601f60248201527f6d696e743a20496e76616c696420666f756e64657273207175616e74697479006044820152606401610bfa565b336000908152601a602052604081208054859290612323908490613f57565b9091555061261d915050565b6002601e54600160a01b900460ff16600381111561235d57634e487b7160e01b600052602160045260246000fd5b14156124ff576014546123709083613f83565b3410156123bb5760405162461bcd60e51b815260206004820152601960248201527836b4b73a1d1024b731b7b93932b1ba1022aa241039b2b73a1760391b6044820152606401610bfa565b601654826017546123cc9190613f57565b11156124135760405162461bcd60e51b81526020600482015260166024820152756d696e743a20496e76616c6964207175616e7469747960501b6044820152606401610bfa565b6018546015546000908152601b6020908152604080832033845290915290205461243d9084613f57565b111561245b5760405162461bcd60e51b8152600401610bfa90613e2e565b6124658282612c42565b6124b15760405162461bcd60e51b815260206004820152601a60248201527f6d696e743a204e6f74206f6e2070726573616c65206c6973742e0000000000006044820152606401610bfa565b81601760008282546124c39190613f57565b90915550506015546000908152601b60209081526040808320338452909152812080548492906124f4908490613f57565b9091555061261d9050565b6003601e54600160a01b900460ff16600381111561252d57634e487b7160e01b600052602160045260246000fd5b141561261d576014546125409083613f83565b34101561258b5760405162461bcd60e51b815260206004820152601960248201527836b4b73a1d1024b731b7b93932b1ba1022aa241039b2b73a1760391b6044820152606401610bfa565b6016548260175461259c9190613f57565b11156125e35760405162461bcd60e51b81526020600482015260166024820152756d696e743a20496e76616c6964207175616e7469747960501b6044820152606401610bfa565b6019548211156126055760405162461bcd60e51b8152600401610bfa90613e2e565b81601760008282546126179190613f57565b90915550505b60005b82811015610dab5761263133612b49565b61263a8161403f565b9050612620565b6000546001600160a01b0316331461266b5760405162461bcd60e51b8152600401610bfa90613ea9565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055611fc581612c70565b60006001600160e01b031982166380ac58cd60e01b14806126cb57506001600160e01b03198216635b5e139f60e01b145b80610b3757506301ffc9a760e01b6001600160e01b0319831614610b37565b60025460009082108015610b37575060006001600160a01b03166002838154811061272557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260076020526040902080546001600160a01b0319166001600160a01b03841690811790915581906127778261185a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006004546003546127c29190613f57565b600254610dba9190613fa2565b8047101561281f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bfa565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461286c576040519150601f19603f3d011682016040523d82523d6000602084013e612871565b606091505b5050905080610dab5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bfa565b60006128f3826126ea565b61290f5760405162461bcd60e51b8152600401610bfa90613e65565b600061291a8361185a565b9050806001600160a01b0316846001600160a01b031614806129555750836001600160a01b031661294a84610c26565b6001600160a01b0316145b8061298557506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff165b949350505050565b61299681612d08565b156129d55760405162461bcd60e51b815260206004820152600f60248201526e1d1bdad95b881a5cc81cdd185ad959608a1b6044820152606401610bfa565b610dab838383612d4d565b606081612a045750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612a2e5780612a188161403f565b9150612a279050600a83613f6f565b9150612a08565b6000816001600160401b03811115612a5657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a80576020820181803683370190505b5090505b841561298557612a95600183613fa2565b9150612aa2600a8661405a565b612aad906030613f57565b60f81b818381518110612ad057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612af2600a86613f6f565b9450612a84565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612b53612e50565b604080516060810182526001600160a01b03808616825260016020808401828152848601838152600280549485018155600090815295517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90940180549251915160ff16600160c01b0260ff60c01b1963ffffffff93909316600160a01b026001600160c01b03199094169590961694909417919091171692909217905582519081019092528152909150612c0b9083908390612e62565b5050565b612c1a84848461298d565b612c2684848484612e95565b611f5f5760405162461bcd60e51b8152600401610bfa90613ddb565b600080612c57612c51856129e0565b84612fa2565b600d546001600160a01b03908116911614949350505050565b6000546001600160a01b03163314612c9a5760405162461bcd60e51b8152600401610bfa90613ea9565b6001600160a01b038116612cff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bfa565b611fc581612af9565b6000600160028381548110612d2d57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600160a01b900463ffffffff161192915050565b826001600160a01b0316612d608261185a565b6001600160a01b031614612dc95760405162461bcd60e51b815260206004820152602a60248201527f455243373231423a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b6064820152608401610bfa565b612dd4600082612742565b8160028281548110612df657634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600454600254600091610dba91613f57565b612e6c8383612fc3565b612e796000848484612e95565b610dab5760405162461bcd60e51b8152600401610bfa90613ddb565b60006001600160a01b0384163b15612f9757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612ed9903390899088908890600401613cf5565b602060405180830381600087803b158015612ef357600080fd5b505af1925050508015612f23575060408051601f3d908101601f19168201909252612f209181019061396b565b60015b612f7d573d808015612f51576040519150601f19603f3d011682016040523d82523d6000602084013e612f56565b606091505b508051612f755760405162461bcd60e51b8152600401610bfa90613ddb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612985565b506001949350505050565b600080612fae84612fff565b905061298583612fbd83613033565b9061306e565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600030338360405160200161301693929190613bec565b604051602081830303815290604052805190602001209050919050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01613016565b600080600061307d8585613092565b9150915061308a81613102565b509392505050565b6000808251604114156130c95760208301516040840151606085015160001a6130bd87828585613303565b945094505050506130fb565b8251604014156130f357602083015160408401516130e88683836133f0565b9350935050506130fb565b506000905060025b9250929050565b600081600481111561312457634e487b7160e01b600052602160045260246000fd5b141561312d5750565b600181600481111561314f57634e487b7160e01b600052602160045260246000fd5b141561319d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bfa565b60028160048111156131bf57634e487b7160e01b600052602160045260246000fd5b141561320d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bfa565b600381600481111561322f57634e487b7160e01b600052602160045260246000fd5b14156132885760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bfa565b60048160048111156132aa57634e487b7160e01b600052602160045260246000fd5b1415611fc55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bfa565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561333a57506000905060036133e7565b8460ff16601b1415801561335257508460ff16601c14155b1561336357506000905060046133e7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156133b7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166133e0576000600192509250506133e7565b9150600090505b94509492505050565b6000806001600160ff1b0383168161340d60ff86901c601b613f57565b905061341b87828885613303565b935093505050935093915050565b8280546134359061400a565b90600052602060002090601f016020900481019282613457576000855561349d565b82601f1061347057805160ff191683800117855561349d565b8280016001018555821561349d579182015b8281111561349d578251825591602001919060010190613482565b506134a99291506134ad565b5090565b5b808211156134a957600081556001016134ae565b60008083601f8401126134d3578182fd5b5081356001600160401b038111156134e9578182fd5b6020830191508360208260051b85010111156130fb57600080fd5b80358015158114610c2157600080fd5b600082601f830112613524578081fd5b81356001600160401b0381111561353d5761353d61409a565b613550601f8201601f1916602001613f27565b818152846020838601011115613564578283fd5b816020850160208301379081016020019190915292915050565b803560048110610c2157600080fd5b803560ff81168114610c2157600080fd5b6000602082840312156135af578081fd5b81356115c0816140ee565b600080604083850312156135cc578081fd5b82356135d7816140ee565b915060208301356135e7816140ee565b809150509250929050565b6000806000806000806080878903121561360a578182fd5b8635613615816140ee565b95506020870135613625816140ee565b945060408701356001600160401b0380821115613640578384fd5b61364c8a838b016134c2565b90965094506060890135915080821115613664578384fd5b818901915089601f830112613677578384fd5b813581811115613685578485fd5b8a6020828501011115613696578485fd5b6020830194508093505050509295509295509295565b6000806000606084860312156136c0578283fd5b83356136cb816140ee565b925060208401356136db816140ee565b929592945050506040919091013590565b60008060008060808587031215613701578384fd5b843561370c816140ee565b9350602085013561371c816140ee565b92506040850135915060608501356001600160401b0381111561373d578182fd5b61374987828801613514565b91505092959194509250565b600080600060408486031215613769578283fd5b8335613774816140ee565b925060208401356001600160401b0381111561378e578283fd5b61379a868287016134c2565b9497909650939450505050565b600080604083850312156137b9578182fd5b82356137c4816140ee565b91506137d260208401613504565b90509250929050565b600080604083850312156137ed578182fd5b82356137f8816140ee565b946020939093013593505050565b60008060208385031215613818578182fd5b82356001600160401b0381111561382d578283fd5b613839858286016134c2565b90969095509350505050565b600080600060408486031215613859578081fd5b83356001600160401b0381111561386e578182fd5b61387a868287016134c2565b909450925061388d905060208501613504565b90509250925092565b600080604083850312156138a8578182fd5b82356001600160401b03808211156138be578384fd5b818501915085601f8301126138d1578384fd5b81356020828211156138e5576138e561409a565b8160051b92506138f6818401613f27565b8281528181019085830185870184018b1015613910578889fd5b8896505b84871015613932578035835260019690960195918301918301613914565b509650613942905087820161358d565b9450505050509250929050565b600060208284031215613960578081fd5b81356115c081614103565b60006020828403121561397c578081fd5b81516115c081614103565b600060208284031215613998578081fd5b6115c08261357e565b600080604083850312156139b3578182fd5b82356001600160401b03808211156139c9578384fd5b6139d586838701613514565b935060208501359150808211156139ea578283fd5b506139f785828601613514565b9150509250929050565b600060608284031215613a12578081fd5b50919050565b600060208284031215613a29578081fd5b5035919050565b600060208284031215613a41578081fd5b5051919050565b60008060408385031215613a5a578182fd5b8235915060208301356001600160401b03811115613a76578182fd5b6139f785828601613514565b600080600080600060a08688031215613a99578283fd5b8535945060208601359350613ab06040870161357e565b94979396509394606081013594506080013592915050565b600080600060608486031215613adc578081fd5b505081359360208301359350604090920135919050565b600060208284031215613b04578081fd5b6115c08261358d565b60008060408385031215613b1f578182fd5b6137f88361358d565b60008151808452613b40816020860160208601613fde565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680613b6e57607f831692505b6020808410821415613b8e57634e487b7160e01b86526022600452602486fd5b818015613ba25760018114613bb357613be0565b60ff19861689528489019650613be0565b60008881526020902060005b86811015613bd85781548b820152908501908301613bbf565b505084890196505b50505050505092915050565b60006bffffffffffffffffffffffff19808660601b168352808560601b166014840152508251613c23816028850160208701613fde565b91909101602801949350505050565b6000613c3e8286613b54565b8451613c4e818360208901613fde565b613c5a81830186613b54565b979650505050505050565b6503a37b5b2b7160d51b815260008251613c86816006850160208701613fde565b71081a5cc8185b1c9958591e481cdd185ad95960721b6006939091019283015250601801919050565b6503a37b5b2b7160d51b815260008251613cd0816006850160208701613fde565b6d081a5cc81b9bdd081cdd185ad95960921b6006939091019283015250601401919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613d2890830184613b28565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613d6a57835183529284019291840191600101613d4e565b50909695505050505050565b6020810160048310613d9857634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006115c06020830184613b28565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526033908201527f455243373231423a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60208082526017908201527f6d696e743a20496e76616c6964207175616e746974792e000000000000000000604082015260600190565b60208082526024908201527f455243373231423a20717565727920666f72206e6f6e6578697374656e74207460408201526337b5b2b760e11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715613f4f57613f4f61409a565b604052919050565b60008219821115613f6a57613f6a61406e565b500190565b600082613f7e57613f7e614084565b500490565b6000816000190483118215151615613f9d57613f9d61406e565b500290565b600082821015613fb457613fb461406e565b500390565b600063ffffffff83811690831681811015613fd657613fd661406e565b039392505050565b60005b83811015613ff9578181015183820152602001613fe1565b83811115611f5f5750506000910152565b600181811c9082168061401e57607f821691505b60208210811415613a1257634e487b7160e01b600052602260045260246000fd5b60006000198214156140535761405361406e565b5060010190565b60008261406957614069614084565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b81356140bb816140ee565b81546001600160a01b0319166001600160a01b039190911617815560208201356001820155604090910135600290910155565b6001600160a01b0381168114611fc557600080fd5b6001600160e01b031981168114611fc557600080fdfea2646970667358221220c13b37562b316998a01b7a9b768dc63cca649a1024dd67526a332e60e5bd05f664736f6c63430008040033

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

00000000000000000000000009feb1a0fd4492698f7dff00a782e7b12c312c44

-----Decoded View---------------
Arg [0] : _signer (address): 0x09Feb1a0Fd4492698f7DfF00A782E7B12C312C44

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000009feb1a0fd4492698f7dff00a782e7b12c312c44


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.