ETH Price: $3,174.12 (-8.28%)
Gas: 3 Gwei

Contract

0xd06cF9e1189FEAb09c844C597abc3767BC12608c
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...203651202024-07-22 22:41:472 days ago1721688107IN
Cats And Watches Society: CAWS Token
0 ETH0.000091473.75662918
Set Approval For...202721682024-07-09 23:18:4715 days ago1720567127IN
Cats And Watches Society: CAWS Token
0 ETH0.000076633.14736058
Set Approval For...202533932024-07-07 8:18:4718 days ago1720340327IN
Cats And Watches Society: CAWS Token
0 ETH0.000075041.62513677
Set Approval For...202527572024-07-07 6:10:4718 days ago1720332647IN
Cats And Watches Society: CAWS Token
0 ETH0.000088971.92686011
Set Approval For...202236432024-07-03 4:37:4722 days ago1719981467IN
Cats And Watches Society: CAWS Token
0 ETH0.00008963.39899383
Set Approval For...202236392024-07-03 4:36:5922 days ago1719981419IN
Cats And Watches Society: CAWS Token
0 ETH0.000164593.55787756
Transfer From201909182024-06-28 14:55:2326 days ago1719586523IN
Cats And Watches Society: CAWS Token
0 ETH0.000556389.00536152
Safe Transfer Fr...201700852024-06-25 17:07:1129 days ago1719335231IN
Cats And Watches Society: CAWS Token
0 ETH0.000516049.86025665
Set Approval For...201630892024-06-24 17:39:1130 days ago1719250751IN
Cats And Watches Society: CAWS Token
0 ETH0.000522511.2947678
Set Approval For...201610302024-06-24 10:45:1130 days ago1719225911IN
Cats And Watches Society: CAWS Token
0 ETH0.000181553.92450628
Set Approval For...200628262024-06-10 17:09:1144 days ago1718039351IN
Cats And Watches Society: CAWS Token
0 ETH0.0008195417.71567955
Set Approval For...200166112024-06-04 6:16:5951 days ago1717481819IN
Cats And Watches Society: CAWS Token
0 ETH0.000133955.08140938
Set Approval For...200166062024-06-04 6:15:5951 days ago1717481759IN
Cats And Watches Society: CAWS Token
0 ETH0.000211114.56358937
Set Approval For...199701582024-05-28 18:28:3557 days ago1716920915IN
Cats And Watches Society: CAWS Token
0 ETH0.0003628513.76500327
Set Approval For...199697792024-05-28 17:12:3557 days ago1716916355IN
Cats And Watches Society: CAWS Token
0 ETH0.0008819.02268151
Set Approval For...199682222024-05-28 11:59:2357 days ago1716897563IN
Cats And Watches Society: CAWS Token
0 ETH0.0006387313.83237435
Set Approval For...199651072024-05-28 1:33:2358 days ago1716860003IN
Cats And Watches Society: CAWS Token
0 ETH0.0004823310.42631355
Safe Transfer Fr...199413032024-05-24 17:42:3561 days ago1716572555IN
Cats And Watches Society: CAWS Token
0 ETH0.000565028.13587834
Set Approval For...199308372024-05-23 6:37:1163 days ago1716446231IN
Cats And Watches Society: CAWS Token
0 ETH0.000227044.90791713
Set Approval For...198924912024-05-17 21:53:1168 days ago1715982791IN
Cats And Watches Society: CAWS Token
0 ETH0.000150053.24951984
Approve198700162024-05-14 18:29:3571 days ago1715711375IN
Cats And Watches Society: CAWS Token
0 ETH0.0005215910.22214728
Set Approval For...198609132024-05-13 11:51:3572 days ago1715601095IN
Cats And Watches Society: CAWS Token
0 ETH0.000105474.33194758
Set Approval For...198518222024-05-12 5:21:1174 days ago1715491271IN
Cats And Watches Society: CAWS Token
0 ETH0.00008563.51584378
Set Approval For...198517492024-05-12 5:06:3574 days ago1715490395IN
Cats And Watches Society: CAWS Token
0 ETH0.000088073.62956959
Set Approval For...198517242024-05-12 5:01:3574 days ago1715490095IN
Cats And Watches Society: CAWS Token
0 ETH0.000087223.58234148
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
148590122022-05-28 7:32:23789 days ago1653723143
Cats And Watches Society: CAWS Token
6.72 ETH
148543922022-05-27 13:27:06789 days ago1653658026
Cats And Watches Society: CAWS Token
4.16 ETH
148487162022-05-26 15:26:14790 days ago1653578774
Cats And Watches Society: CAWS Token
1.68 ETH
148471102022-05-26 9:03:30790 days ago1653555810
Cats And Watches Society: CAWS Token
1.52 ETH
148469702022-05-26 8:26:23791 days ago1653553583
Cats And Watches Society: CAWS Token
1.92 ETH
148409792022-05-25 9:02:16791 days ago1653469336
Cats And Watches Society: CAWS Token
16 ETH
148408162022-05-25 8:26:19792 days ago1653467179
Cats And Watches Society: CAWS Token
0.96 ETH
148374332022-05-24 19:16:52792 days ago1653419812
Cats And Watches Society: CAWS Token
15.12 ETH
148362962022-05-24 14:29:26792 days ago1653402566
Cats And Watches Society: CAWS Token
16.4 ETH
148358692022-05-24 12:52:35792 days ago1653396755
Cats And Watches Society: CAWS Token
1.28 ETH
148315912022-05-23 20:19:49793 days ago1653337189
Cats And Watches Society: CAWS Token
16.64 ETH
148311542022-05-23 18:30:45793 days ago1653330645
Cats And Watches Society: CAWS Token
15.92 ETH
148223962022-05-22 8:39:49795 days ago1653208789
Cats And Watches Society: CAWS Token
12.8 ETH
148187242022-05-21 18:05:45795 days ago1653156345
Cats And Watches Society: CAWS Token
14.48 ETH
148165312022-05-21 9:45:20795 days ago1653126320
Cats And Watches Society: CAWS Token
14.24 ETH
148112102022-05-20 12:48:28796 days ago1653050908
Cats And Watches Society: CAWS Token
13.92 ETH
148048642022-05-19 12:06:02797 days ago1652961962
Cats And Watches Society: CAWS Token
0.56 ETH
147976352022-05-18 7:50:49799 days ago1652860249
Cats And Watches Society: CAWS Token
6.8 ETH
147908652022-05-17 6:09:37800 days ago1652767777
Cats And Watches Society: CAWS Token
5.92 ETH
147870552022-05-16 15:34:57800 days ago1652715297
Cats And Watches Society: CAWS Token
5.04 ETH
147854832022-05-16 9:39:49800 days ago1652693989
Cats And Watches Society: CAWS Token
1.76 ETH
147819362022-05-15 20:00:04801 days ago1652644804
Cats And Watches Society: CAWS Token
82 ETH
147814142022-05-15 18:04:17801 days ago1652637857
Cats And Watches Society: CAWS Token
83.2 ETH
147784402022-05-15 6:45:09802 days ago1652597109
Cats And Watches Society: CAWS Token
1.12 ETH
147755352022-05-14 19:49:04802 days ago1652557744
Cats And Watches Society: CAWS Token
61.6 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CatsAndWatchesSociety

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, BSD-3-Clause license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-04-13
*/

// File: @openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/introspection/IERC165.sol



pragma solidity >=0.6.0 <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: @openzeppelin/contracts/token/ERC721/IERC721.sol



pragma solidity >=0.6.2 <0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol



pragma solidity >=0.6.2 <0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol



pragma solidity >=0.6.2 <0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol



pragma solidity >=0.6.0 <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: @openzeppelin/contracts/introspection/ERC165.sol



pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: @openzeppelin/contracts/math/SafeMath.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

// File: contracts/ERC721A.sol

// Creator: Chiru Labs

pragma solidity >=0.6.0 <0.8.0;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using SafeMath for uint256;
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

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

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

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

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

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

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

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

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

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

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

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

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

    revert("ERC721A: unable to determine the owner of token");
  }

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

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

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

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

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

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

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

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

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

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

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

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

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

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

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

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

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

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

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

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

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

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

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

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

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

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File: contracts/CatsAndWatchesSociety.sol


pragma solidity ^0.7.0;



/**
 * @title CatsAndWatchesSociety contract
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */
contract CatsAndWatchesSociety is ERC721A, Ownable {
    using SafeMath for uint256;

    string public CAWS_PROVENANCE = "";

    string public baseURI;

    uint256 public startingIndexBlock;

    uint256 public startingIndex;

    uint256 public constant cawsPrice = 80000000000000000; //0.08 ETH

    uint public constant maxCawsPurchase = 100;

    uint256 public MAX_CAWS;

    bool public saleIsActive = false;

    uint256 public REVEAL_TIMESTAMP;

    constructor(string memory name, string memory symbol, uint256 maxNftSupply, uint256 saleStart) ERC721A(name, symbol, maxCawsPurchase, maxNftSupply) {
        MAX_CAWS = maxNftSupply;
        REVEAL_TIMESTAMP = saleStart + (86400 * 13);
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        msg.sender.transfer(balance);
    }

    /**
     * Set some CAWS aside
     */
    function reserveCaws() public onlyOwner {        
        uint supply = totalSupply();
        _safeMint(msg.sender, supply + 50);
    }

    /**
     * Set Reveal Timestamp.
     */
    function setRevealTimestamp(uint256 revealTimeStamp) public onlyOwner {
        REVEAL_TIMESTAMP = revealTimeStamp;
    } 

    /*     
    * Set provenance once it's calculated
    */
    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        CAWS_PROVENANCE = provenanceHash;
    }

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

    function setBaseURI(string calldata tokenURI) external onlyOwner {
        baseURI = tokenURI;
    }

    /*
    * Pause sale if active, make active if paused
    */
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    /**
    * Mints CAWS
    */
    function mintCaws(uint numberOfTokens) public payable {
        require(saleIsActive, "Sale must be active to mint CAWS");
        require(numberOfTokens <= maxCawsPurchase, "Can only mint 100 tokens at a time");
        require(numberOfTokens > 0, "Mint at least 1 NFT");
        require(totalSupply().add(numberOfTokens) <= MAX_CAWS, "Purchase would exceed max supply of CAWS");
        require(cawsPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct");
        
        // for(uint i = 0; i < numberOfTokens; i++) {
        //     uint mintIndex = totalSupply();
        //     if (totalSupply() < MAX_CAWS) {
        //         _safeMint(msg.sender, mintIndex);
        //     }
        // }

        _safeMint(msg.sender, numberOfTokens);

        // If we haven't set the starting index and this is either 1) the last saleable token or 2) the first token to be sold after
        // the end of pre-sale, set the starting index block
        if (startingIndexBlock == 0 && (totalSupply() == MAX_CAWS || block.timestamp >= REVEAL_TIMESTAMP)) {
            startingIndexBlock = block.number;
        } 
    }

    /**
     * Set the starting index for the collection
     */
    function setStartingIndex() public {
        require(startingIndex == 0, "Starting index is already set");
        require(startingIndexBlock != 0, "Starting index block must be set");
        
        startingIndex = uint(blockhash(startingIndexBlock)) % MAX_CAWS;
        // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes)
        if (block.number.sub(startingIndexBlock) > 255) {
            startingIndex = uint(blockhash(block.number - 1)) % MAX_CAWS;
        }
        // Prevent default sequence
        if (startingIndex == 0) {
            startingIndex = startingIndex.add(1);
        }
    }

    /**
     * Set the starting index block for the collection, essentially unblocking
     * setting starting index
     */
    function emergencySetStartingIndexBlock() public onlyOwner {
        require(startingIndex == 0, "Starting index is already set");
        
        startingIndexBlock = block.number;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxNftSupply","type":"uint256"},{"internalType":"uint256","name":"saleStart","type":"uint256"}],"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CAWS_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CAWS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cawsPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCawsPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintCaws","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveCaws","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":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"revealTimeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60006001819055600881905560e0604081905260c08290526200002691600a9190620003a3565b50600f805460ff191690553480156200003e57600080fd5b506040516200303e3803806200303e833981810160405260808110156200006457600080fd5b81019080805160405193929190846401000000008211156200008557600080fd5b9083019060208201858111156200009b57600080fd5b8251640100000000811182820188101715620000b657600080fd5b82525081516020918201929091019080838360005b83811015620000e5578181015183820152602001620000cb565b50505050905090810190601f168015620001135780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200013757600080fd5b9083019060208201858111156200014d57600080fd5b82516401000000008111828201881017156200016857600080fd5b82525081516020918201929091019080838360005b83811015620001975781810151838201526020016200017d565b50505050905090810190601f168015620001c55780820380516001836020036101000a031916815260200191505b506040908152602082015191015190925090508383606484620001ef6301ffc9a760e01b6200031a565b60008111620002305760405162461bcd60e51b815260040180806020018281038252602e81526020018062003010602e913960400191505060405180910390fd5b60008211620002715760405162461bcd60e51b815260040180806020018281038252602781526020018062002fe96027913960400191505060405180910390fd5b835162000286906002906020870190620003a3565b5082516200029c906003906020860190620003a3565b5060a0919091526080525060009050620002b56200039f565b600980546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600e919091556211238001601055506200043f9050565b6001600160e01b031980821614156200037a576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003e657805160ff191683800117855562000416565b8280016001018555821562000416579182015b8281111562000416578251825591602001919060010190620003f9565b506200042492915062000428565b5090565b5b8082111562000424576000815560010162000429565b60805160a051612b816200046860003980611efa5280611f2452806123df525050612b816000f3fe6080604052600436106102255760003560e01c80636352211e11610123578063b88d4fde116100ab578063e36d64981161006f578063e36d6498146108d4578063e985e9c5146108e9578063e986655014610924578063eb8d244414610939578063f2fde38b1461094e57610225565b8063b88d4fde14610798578063c87b56dd1461086b578063cb774d4714610895578063d7224ba0146108aa578063e05e1cc5146108bf57610225565b80637d17fcbe116100f25780637d17fcbe146107095780638da5cb5b1461071e57806395d89b41146107335780639ba2506314610748578063a22cb4651461075d57610225565b80636352211e146106825780636c0360eb146106ac57806370a08231146106c1578063715018a6146106f457610225565b806318e20a38116101b15780633ccfd60b116101755780633ccfd60b1461056e57806342842e0e146105835780634a9ad6e3146105c65780634f6ccce7146105db57806355f804b31461060557610225565b806318e20a38146104b35780631c47b917146104c857806323b872dd146104dd5780632f745c591461052057806334918dfd1461055957610225565b80630881b9cc116101f85780630881b9cc1461036e578063095ea7b31461038b5780630aedfc1b146103c457806310969523146103eb57806318160ddd1461049e57610225565b8063018a2c371461022a57806301ffc9a71461025657806306fdde031461029e578063081812fc14610328575b600080fd5b34801561023657600080fd5b506102546004803603602081101561024d57600080fd5b5035610981565b005b34801561026257600080fd5b5061028a6004803603602081101561027957600080fd5b50356001600160e01b0319166109e8565b604080519115158252519081900360200190f35b3480156102aa57600080fd5b506102b3610a4b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ed5781810151838201526020016102d5565b50505050905090810190601f16801561031a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033457600080fd5b506103526004803603602081101561034b57600080fd5b5035610ade565b604080516001600160a01b039092168252519081900360200190f35b6102546004803603602081101561038457600080fd5b5035610b40565b34801561039757600080fd5b50610254600480360360408110156103ae57600080fd5b506001600160a01b038135169060200135610d15565b3480156103d057600080fd5b506103d9610df1565b60408051918252519081900360200190f35b3480156103f757600080fd5b506102546004803603602081101561040e57600080fd5b81019060208101813564010000000081111561042957600080fd5b82018360208201111561043b57600080fd5b8035906020019184600183028401116401000000008311171561045d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610df6945050505050565b3480156104aa57600080fd5b506103d9610e6f565b3480156104bf57600080fd5b506103d9610e75565b3480156104d457600080fd5b506103d9610e7b565b3480156104e957600080fd5b506102546004803603606081101561050057600080fd5b506001600160a01b03813581169160208101359091169060400135610e81565b34801561052c57600080fd5b506103d96004803603604081101561054357600080fd5b506001600160a01b038135169060200135610e8c565b34801561056557600080fd5b50610254610fbe565b34801561057a57600080fd5b50610254611034565b34801561058f57600080fd5b50610254600480360360608110156105a657600080fd5b506001600160a01b038135811691602081013590911690604001356110c5565b3480156105d257600080fd5b506102546110e0565b3480156105e757600080fd5b506103d9600480360360208110156105fe57600080fd5b503561115b565b34801561061157600080fd5b506102546004803603602081101561062857600080fd5b81019060208101813564010000000081111561064357600080fd5b82018360208201111561065557600080fd5b8035906020019184600183028401116401000000008311171561067757600080fd5b5090925090506111a6565b34801561068e57600080fd5b50610352600480360360208110156106a557600080fd5b5035611214565b3480156106b857600080fd5b506102b3611226565b3480156106cd57600080fd5b506103d9600480360360208110156106e457600080fd5b50356001600160a01b03166112b4565b34801561070057600080fd5b50610254611320565b34801561071557600080fd5b506102546113cc565b34801561072a57600080fd5b50610352611489565b34801561073f57600080fd5b506102b3611498565b34801561075457600080fd5b506102b36114f9565b34801561076957600080fd5b506102546004803603604081101561078057600080fd5b506001600160a01b0381351690602001351515611554565b3480156107a457600080fd5b50610254600480360360808110156107bb57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156107f657600080fd5b82018360208201111561080857600080fd5b8035906020019184600183028401116401000000008311171561082a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611659945050505050565b34801561087757600080fd5b506102b36004803603602081101561088e57600080fd5b50356116b1565b3480156108a157600080fd5b506103d96117e2565b3480156108b657600080fd5b506103d96117e8565b3480156108cb57600080fd5b506103d96117ee565b3480156108e057600080fd5b506103d96117fa565b3480156108f557600080fd5b5061028a6004803603604081101561090c57600080fd5b506001600160a01b0381358116916020013516611800565b34801561093057600080fd5b5061025461182e565b34801561094557600080fd5b5061028a611930565b34801561095a57600080fd5b506102546004803603602081101561097157600080fd5b50356001600160a01b0316611939565b610989611a3c565b6001600160a01b031661099a611489565b6001600160a01b0316146109e3576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b601055565b60006001600160e01b031982166380ac58cd60e01b1480610a1957506001600160e01b03198216635b5e139f60e01b145b80610a3457506001600160e01b0319821663780e9d6360e01b145b80610a435750610a4382611a40565b90505b919050565b60028054604080516020601f6000196101006001871615020190941685900493840181900481028201810190925282815260609390929091830182828015610ad45780601f10610aa957610100808354040283529160200191610ad4565b820191906000526020600020905b815481529060010190602001808311610ab757829003601f168201915b5050505050905090565b6000610ae982611a5f565b610b245760405162461bcd60e51b815260040180806020018281038252602d815260200180612afd602d913960400191505060405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600f5460ff16610b97576040805162461bcd60e51b815260206004820181905260248201527f53616c65206d7573742062652061637469766520746f206d696e742043415753604482015290519081900360640190fd5b6064811115610bd75760405162461bcd60e51b81526004018080602001828103825260228152602001806128b46022913960400191505060405180910390fd5b60008111610c22576040805162461bcd60e51b8152602060048201526013602482015272135a5b9d08185d081b19585cdd080c48139195606a1b604482015290519081900360640190fd5b600e54610c3782610c31610e6f565b90611a66565b1115610c745760405162461bcd60e51b81526004018080602001828103825260288152602001806129a16028913960400191505060405180910390fd5b34610c8767011c37937e08000083611ac0565b1115610cda576040805162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015290519081900360640190fd5b610ce43382611b19565b600c54158015610d085750600e54610cfa610e6f565b1480610d0857506010544210155b15610d125743600c555b50565b6000610d2082611214565b9050806001600160a01b0316836001600160a01b03161415610d735760405162461bcd60e51b8152600401808060200182810382526022815260200180612a2a6022913960400191505060405180910390fd5b806001600160a01b0316610d85611a3c565b6001600160a01b03161480610da65750610da681610da1611a3c565b611800565b610de15760405162461bcd60e51b81526004018080602001828103825260398152602001806128d66039913960400191505060405180910390fd5b610dec838383611b33565b505050565b606481565b610dfe611a3c565b6001600160a01b0316610e0f611489565b6001600160a01b031614610e58576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b8051610e6b90600a9060208401906126e5565b5050565b60015490565b60105481565b600e5481565b610dec838383611b8f565b6000610e97836112b4565b8210610ed45760405162461bcd60e51b81526004018080602001828103825260228152602001806127fa6022913960400191505060405180910390fd5b6000610ede610e6f565b905060008060005b83811015610f8057610ef661275f565b506000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610f4257805192505b876001600160a01b0316836001600160a01b03161415610f775786841415610f7057509350610fb892505050565b6001909301925b50600101610ee6565b5060405162461bcd60e51b815260040180806020018281038252602e815260200180612aa0602e913960400191505060405180910390fd5b92915050565b610fc6611a3c565b6001600160a01b0316610fd7611489565b6001600160a01b031614611020576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b600f805460ff19811660ff90911615179055565b61103c611a3c565b6001600160a01b031661104d611489565b6001600160a01b031614611096576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610e6b573d6000803e3d6000fd5b610dec83838360405180602001604052806000815250611659565b6110e8611a3c565b6001600160a01b03166110f9611489565b6001600160a01b031614611142576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b600061114c610e6f565b9050610d123382603201611b19565b6000611165610e6f565b82106111a25760405162461bcd60e51b815260040180806020018281038252602381526020018061286c6023913960400191505060405180910390fd5b5090565b6111ae611a3c565b6001600160a01b03166111bf611489565b6001600160a01b031614611208576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b610dec600b8383612776565b600061121f82611eaa565b5192915050565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156112ac5780601f10611281576101008083540402835291602001916112ac565b820191906000526020600020905b81548152906001019060200180831161128f57829003601f168201915b505050505081565b60006001600160a01b0382166112fb5760405162461bcd60e51b815260040180806020018281038252602b81526020018061290f602b913960400191505060405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160801b031690565b611328611a3c565b6001600160a01b0316611339611489565b6001600160a01b031614611382576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b6113d4611a3c565b6001600160a01b03166113e5611489565b6001600160a01b03161461142e576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b600d5415611483576040805162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c726561647920736574000000604482015290519081900360640190fd5b43600c55565b6009546001600160a01b031690565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ad45780601f10610aa957610100808354040283529160200191610ad4565b600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156112ac5780601f10611281576101008083540402835291602001916112ac565b61155c611a3c565b6001600160a01b0316826001600160a01b031614156115c2576040805162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015290519081900360640190fd5b80600760006115cf611a3c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611613611a3c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b611664848484611b8f565b61167084848484611feb565b6116ab5760405162461bcd60e51b8152600401808060200182810382526033815260200180612a4c6033913960400191505060405180910390fd5b50505050565b60606116bc82611a5f565b6116f75760405162461bcd60e51b815260040180806020018281038252602f8152602001806129c9602f913960400191505060405180910390fd5b60606117016121a1565b9050600081511161172157604051806020016040528060008152506117db565b8061172b84612202565b6040516020018083805190602001908083835b6020831061175d5780518252601f19909201916020918201910161173e565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106117a55780518252601f199092019160209182019101611786565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040525b9392505050565b600d5481565b60085481565b67011c37937e08000081565b600c5481565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600d5415611883576040805162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c726561647920736574000000604482015290519081900360640190fd5b600c546118d7576040805162461bcd60e51b815260206004820181905260248201527f5374617274696e6720696e64657820626c6f636b206d75737420626520736574604482015290519081900360640190fd5b600e54600c5440816118e557fe5b06600d55600c5460ff906118fa9043906122dd565b111561191557600e546000194301408161191057fe5b06600d555b600d5461192e57600d5461192a906001611a66565b600d555b565b600f5460ff1681565b611941611a3c565b6001600160a01b0316611952611489565b6001600160a01b03161461199b576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b6001600160a01b0381166119e05760405162461bcd60e51b815260040180806020018281038252602681526020018061281c6026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160e01b03191660009081526020819052604090205460ff1690565b6001541190565b6000828201838110156117db576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611acf57506000610fb8565b82820282848281611adc57fe5b04146117db5760405162461bcd60e51b815260040180806020018281038252602181526020018061293a6021913960400191505060405180910390fd5b610e6b82826040518060200160405280600081525061233a565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b611b9761275f565b611ba082611eaa565b9050600081600001516001600160a01b0316611bba611a3c565b6001600160a01b03161480611bef5750611bd2611a3c565b6001600160a01b0316611be484610ade565b6001600160a01b0316145b80611c0357508151611c0390610da1611a3c565b905080611c415760405162461bcd60e51b81526004018080602001828103825260328152602001806129f86032913960400191505060405180910390fd5b846001600160a01b031682600001516001600160a01b031614611c955760405162461bcd60e51b815260040180806020018281038252602681526020018061295b6026913960400191505060405180910390fd5b6001600160a01b038416611cda5760405162461bcd60e51b815260040180806020018281038252602581526020018061288f6025913960400191505060405180910390fd5b611ce785858560016116ab565b611cf76000848460000151611b33565b6001600160a01b03858116600090815260056020908152604080832080546fffffffffffffffffffffffffffffffff198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a875260049095528386209251835495516001600160a01b03199096169088161767ffffffffffffffff60a01b1916600160a01b9590911694909402939093179055908601808352912054909116611e5457611dd781611a5f565b15611e545760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526004909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ea286868660016116ab565b505050505050565b611eb261275f565b611ebb82611a5f565b611ef65760405162461bcd60e51b815260040180806020018281038252602a815260200180612842602a913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008310611f47575060017f00000000000000000000000000000000000000000000000000000000000000008303015b825b818110611fb357611f5861275f565b506000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611fa9579250610a46915050565b5060001901611f49565b5060405162461bcd60e51b815260040180806020018281038252602f815260200180612ace602f913960400191505060405180910390fd5b6000611fff846001600160a01b03166126df565b1561219557836001600160a01b031663150b7a0261201b611a3c565b8786866040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561208e578181015183820152602001612076565b50505050905090810190601f1680156120bb5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156120dd57600080fd5b505af192505050801561210257506040513d60208110156120fd57600080fd5b505160015b61217b573d808015612130576040519150601f19603f3d011682016040523d82523d6000602084013e612135565b606091505b5080516121735760405162461bcd60e51b8152600401808060200182810382526033815260200180612a4c6033913960400191505060405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612199565b5060015b949350505050565b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ad45780601f10610aa957610100808354040283529160200191610ad4565b60608161222757506040805180820190915260018152600360fc1b6020820152610a46565b8160005b811561223f57600101600a8204915061222b565b60608167ffffffffffffffff8111801561225857600080fd5b506040519080825280601f01601f191660200182016040528015612283576020820181803683370190505b50859350905060001982015b83156122d457600a840660300160f81b828280600190039350815181106122b257fe5b60200101906001600160f81b031916908160001a905350600a8404935061228f565b50949350505050565b600082821115612334576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001546001600160a01b0384166123825760405162461bcd60e51b8152600401808060200182810382526021815260200180612a7f6021913960400191505060405180910390fd5b61238b81611a5f565b156123dd576040805162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000083111561243c5760405162461bcd60e51b8152600401808060200182810382526022815260200180612b2a6022913960400191505060405180910390fd5b61244960008583866116ab565b61245161275f565b60056000866001600160a01b03166001600160a01b031681526020019081526020016000206040518060400160405290816000820160009054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016000820160109054906101000a90046001600160801b03166001600160801b03166001600160801b03168152505090506040518060400160405280858360000151016001600160801b03168152602001858360200151016001600160801b031681525060056000876001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050506040518060400160405280866001600160a01b031681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156126cc5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46126856000888488611feb565b6126c05760405162461bcd60e51b8152600401808060200182810382526033815260200180612a4c6033913960400191505060405180910390fd5b60019182019101612638565b506001819055611ea260008785886116ab565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061272657805160ff1916838001178555612753565b82800160010185558215612753579182015b82811115612753578251825591602001919060010190612738565b506111a29291506127e4565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106127b75782800160ff19823516178555612753565b82800160010185558215612753579182015b828111156127535782358255916020019190600101906127c9565b5b808211156111a257600081556001016127e556fe455243373231413a206f776e657220696e646578206f7574206f6620626f756e64734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373455243373231413a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756e6473455243373231413a207472616e7366657220746f20746865207a65726f206164647265737343616e206f6e6c79206d696e742031303020746f6b656e7320617420612074696d65455243373231413a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c455243373231413a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77455243373231413a207472616e736665722066726f6d20696e636f7272656374206f776e65724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572507572636861736520776f756c6420657863656564206d617820737570706c79206f6620434157534552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e455243373231413a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231413a20617070726f76616c20746f2063757272656e74206f776e6572455243373231413a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572455243373231413a206d696e7420746f20746865207a65726f2061646472657373455243373231413a20756e61626c6520746f2067657420746f6b656e206f66206f776e657220627920696e646578455243373231413a20756e61626c6520746f2064657465726d696e6520746865206f776e6572206f6620746f6b656e455243373231413a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e455243373231413a207175616e7469747920746f206d696e7420746f6f2068696768a2646970667358221220860edaa915f01030a1b01923801afa8d8429ee149ce98f96b6d46cc1def2470f64736f6c63430007000033455243373231413a206d61782062617463682073697a65206d757374206265206e6f6e7a65726f455243373231413a20636f6c6c656374696f6e206d75737420686176652061206e6f6e7a65726f20737570706c79000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000006256f380000000000000000000000000000000000000000000000000000000000000001543617473416e6457617463686573536f6369657479000000000000000000000000000000000000000000000000000000000000000000000000000000000000044341575300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c80636352211e11610123578063b88d4fde116100ab578063e36d64981161006f578063e36d6498146108d4578063e985e9c5146108e9578063e986655014610924578063eb8d244414610939578063f2fde38b1461094e57610225565b8063b88d4fde14610798578063c87b56dd1461086b578063cb774d4714610895578063d7224ba0146108aa578063e05e1cc5146108bf57610225565b80637d17fcbe116100f25780637d17fcbe146107095780638da5cb5b1461071e57806395d89b41146107335780639ba2506314610748578063a22cb4651461075d57610225565b80636352211e146106825780636c0360eb146106ac57806370a08231146106c1578063715018a6146106f457610225565b806318e20a38116101b15780633ccfd60b116101755780633ccfd60b1461056e57806342842e0e146105835780634a9ad6e3146105c65780634f6ccce7146105db57806355f804b31461060557610225565b806318e20a38146104b35780631c47b917146104c857806323b872dd146104dd5780632f745c591461052057806334918dfd1461055957610225565b80630881b9cc116101f85780630881b9cc1461036e578063095ea7b31461038b5780630aedfc1b146103c457806310969523146103eb57806318160ddd1461049e57610225565b8063018a2c371461022a57806301ffc9a71461025657806306fdde031461029e578063081812fc14610328575b600080fd5b34801561023657600080fd5b506102546004803603602081101561024d57600080fd5b5035610981565b005b34801561026257600080fd5b5061028a6004803603602081101561027957600080fd5b50356001600160e01b0319166109e8565b604080519115158252519081900360200190f35b3480156102aa57600080fd5b506102b3610a4b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ed5781810151838201526020016102d5565b50505050905090810190601f16801561031a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033457600080fd5b506103526004803603602081101561034b57600080fd5b5035610ade565b604080516001600160a01b039092168252519081900360200190f35b6102546004803603602081101561038457600080fd5b5035610b40565b34801561039757600080fd5b50610254600480360360408110156103ae57600080fd5b506001600160a01b038135169060200135610d15565b3480156103d057600080fd5b506103d9610df1565b60408051918252519081900360200190f35b3480156103f757600080fd5b506102546004803603602081101561040e57600080fd5b81019060208101813564010000000081111561042957600080fd5b82018360208201111561043b57600080fd5b8035906020019184600183028401116401000000008311171561045d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610df6945050505050565b3480156104aa57600080fd5b506103d9610e6f565b3480156104bf57600080fd5b506103d9610e75565b3480156104d457600080fd5b506103d9610e7b565b3480156104e957600080fd5b506102546004803603606081101561050057600080fd5b506001600160a01b03813581169160208101359091169060400135610e81565b34801561052c57600080fd5b506103d96004803603604081101561054357600080fd5b506001600160a01b038135169060200135610e8c565b34801561056557600080fd5b50610254610fbe565b34801561057a57600080fd5b50610254611034565b34801561058f57600080fd5b50610254600480360360608110156105a657600080fd5b506001600160a01b038135811691602081013590911690604001356110c5565b3480156105d257600080fd5b506102546110e0565b3480156105e757600080fd5b506103d9600480360360208110156105fe57600080fd5b503561115b565b34801561061157600080fd5b506102546004803603602081101561062857600080fd5b81019060208101813564010000000081111561064357600080fd5b82018360208201111561065557600080fd5b8035906020019184600183028401116401000000008311171561067757600080fd5b5090925090506111a6565b34801561068e57600080fd5b50610352600480360360208110156106a557600080fd5b5035611214565b3480156106b857600080fd5b506102b3611226565b3480156106cd57600080fd5b506103d9600480360360208110156106e457600080fd5b50356001600160a01b03166112b4565b34801561070057600080fd5b50610254611320565b34801561071557600080fd5b506102546113cc565b34801561072a57600080fd5b50610352611489565b34801561073f57600080fd5b506102b3611498565b34801561075457600080fd5b506102b36114f9565b34801561076957600080fd5b506102546004803603604081101561078057600080fd5b506001600160a01b0381351690602001351515611554565b3480156107a457600080fd5b50610254600480360360808110156107bb57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156107f657600080fd5b82018360208201111561080857600080fd5b8035906020019184600183028401116401000000008311171561082a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611659945050505050565b34801561087757600080fd5b506102b36004803603602081101561088e57600080fd5b50356116b1565b3480156108a157600080fd5b506103d96117e2565b3480156108b657600080fd5b506103d96117e8565b3480156108cb57600080fd5b506103d96117ee565b3480156108e057600080fd5b506103d96117fa565b3480156108f557600080fd5b5061028a6004803603604081101561090c57600080fd5b506001600160a01b0381358116916020013516611800565b34801561093057600080fd5b5061025461182e565b34801561094557600080fd5b5061028a611930565b34801561095a57600080fd5b506102546004803603602081101561097157600080fd5b50356001600160a01b0316611939565b610989611a3c565b6001600160a01b031661099a611489565b6001600160a01b0316146109e3576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b601055565b60006001600160e01b031982166380ac58cd60e01b1480610a1957506001600160e01b03198216635b5e139f60e01b145b80610a3457506001600160e01b0319821663780e9d6360e01b145b80610a435750610a4382611a40565b90505b919050565b60028054604080516020601f6000196101006001871615020190941685900493840181900481028201810190925282815260609390929091830182828015610ad45780601f10610aa957610100808354040283529160200191610ad4565b820191906000526020600020905b815481529060010190602001808311610ab757829003601f168201915b5050505050905090565b6000610ae982611a5f565b610b245760405162461bcd60e51b815260040180806020018281038252602d815260200180612afd602d913960400191505060405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600f5460ff16610b97576040805162461bcd60e51b815260206004820181905260248201527f53616c65206d7573742062652061637469766520746f206d696e742043415753604482015290519081900360640190fd5b6064811115610bd75760405162461bcd60e51b81526004018080602001828103825260228152602001806128b46022913960400191505060405180910390fd5b60008111610c22576040805162461bcd60e51b8152602060048201526013602482015272135a5b9d08185d081b19585cdd080c48139195606a1b604482015290519081900360640190fd5b600e54610c3782610c31610e6f565b90611a66565b1115610c745760405162461bcd60e51b81526004018080602001828103825260288152602001806129a16028913960400191505060405180910390fd5b34610c8767011c37937e08000083611ac0565b1115610cda576040805162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015290519081900360640190fd5b610ce43382611b19565b600c54158015610d085750600e54610cfa610e6f565b1480610d0857506010544210155b15610d125743600c555b50565b6000610d2082611214565b9050806001600160a01b0316836001600160a01b03161415610d735760405162461bcd60e51b8152600401808060200182810382526022815260200180612a2a6022913960400191505060405180910390fd5b806001600160a01b0316610d85611a3c565b6001600160a01b03161480610da65750610da681610da1611a3c565b611800565b610de15760405162461bcd60e51b81526004018080602001828103825260398152602001806128d66039913960400191505060405180910390fd5b610dec838383611b33565b505050565b606481565b610dfe611a3c565b6001600160a01b0316610e0f611489565b6001600160a01b031614610e58576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b8051610e6b90600a9060208401906126e5565b5050565b60015490565b60105481565b600e5481565b610dec838383611b8f565b6000610e97836112b4565b8210610ed45760405162461bcd60e51b81526004018080602001828103825260228152602001806127fa6022913960400191505060405180910390fd5b6000610ede610e6f565b905060008060005b83811015610f8057610ef661275f565b506000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610f4257805192505b876001600160a01b0316836001600160a01b03161415610f775786841415610f7057509350610fb892505050565b6001909301925b50600101610ee6565b5060405162461bcd60e51b815260040180806020018281038252602e815260200180612aa0602e913960400191505060405180910390fd5b92915050565b610fc6611a3c565b6001600160a01b0316610fd7611489565b6001600160a01b031614611020576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b600f805460ff19811660ff90911615179055565b61103c611a3c565b6001600160a01b031661104d611489565b6001600160a01b031614611096576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610e6b573d6000803e3d6000fd5b610dec83838360405180602001604052806000815250611659565b6110e8611a3c565b6001600160a01b03166110f9611489565b6001600160a01b031614611142576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b600061114c610e6f565b9050610d123382603201611b19565b6000611165610e6f565b82106111a25760405162461bcd60e51b815260040180806020018281038252602381526020018061286c6023913960400191505060405180910390fd5b5090565b6111ae611a3c565b6001600160a01b03166111bf611489565b6001600160a01b031614611208576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b610dec600b8383612776565b600061121f82611eaa565b5192915050565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156112ac5780601f10611281576101008083540402835291602001916112ac565b820191906000526020600020905b81548152906001019060200180831161128f57829003601f168201915b505050505081565b60006001600160a01b0382166112fb5760405162461bcd60e51b815260040180806020018281038252602b81526020018061290f602b913960400191505060405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160801b031690565b611328611a3c565b6001600160a01b0316611339611489565b6001600160a01b031614611382576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b6009546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600980546001600160a01b0319169055565b6113d4611a3c565b6001600160a01b03166113e5611489565b6001600160a01b03161461142e576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b600d5415611483576040805162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c726561647920736574000000604482015290519081900360640190fd5b43600c55565b6009546001600160a01b031690565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ad45780601f10610aa957610100808354040283529160200191610ad4565b600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156112ac5780601f10611281576101008083540402835291602001916112ac565b61155c611a3c565b6001600160a01b0316826001600160a01b031614156115c2576040805162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015290519081900360640190fd5b80600760006115cf611a3c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611613611a3c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b611664848484611b8f565b61167084848484611feb565b6116ab5760405162461bcd60e51b8152600401808060200182810382526033815260200180612a4c6033913960400191505060405180910390fd5b50505050565b60606116bc82611a5f565b6116f75760405162461bcd60e51b815260040180806020018281038252602f8152602001806129c9602f913960400191505060405180910390fd5b60606117016121a1565b9050600081511161172157604051806020016040528060008152506117db565b8061172b84612202565b6040516020018083805190602001908083835b6020831061175d5780518252601f19909201916020918201910161173e565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106117a55780518252601f199092019160209182019101611786565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040525b9392505050565b600d5481565b60085481565b67011c37937e08000081565b600c5481565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600d5415611883576040805162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c726561647920736574000000604482015290519081900360640190fd5b600c546118d7576040805162461bcd60e51b815260206004820181905260248201527f5374617274696e6720696e64657820626c6f636b206d75737420626520736574604482015290519081900360640190fd5b600e54600c5440816118e557fe5b06600d55600c5460ff906118fa9043906122dd565b111561191557600e546000194301408161191057fe5b06600d555b600d5461192e57600d5461192a906001611a66565b600d555b565b600f5460ff1681565b611941611a3c565b6001600160a01b0316611952611489565b6001600160a01b03161461199b576040805162461bcd60e51b81526020600482018190526024820152600080516020612981833981519152604482015290519081900360640190fd5b6001600160a01b0381166119e05760405162461bcd60e51b815260040180806020018281038252602681526020018061281c6026913960400191505060405180910390fd5b6009546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160e01b03191660009081526020819052604090205460ff1690565b6001541190565b6000828201838110156117db576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611acf57506000610fb8565b82820282848281611adc57fe5b04146117db5760405162461bcd60e51b815260040180806020018281038252602181526020018061293a6021913960400191505060405180910390fd5b610e6b82826040518060200160405280600081525061233a565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b611b9761275f565b611ba082611eaa565b9050600081600001516001600160a01b0316611bba611a3c565b6001600160a01b03161480611bef5750611bd2611a3c565b6001600160a01b0316611be484610ade565b6001600160a01b0316145b80611c0357508151611c0390610da1611a3c565b905080611c415760405162461bcd60e51b81526004018080602001828103825260328152602001806129f86032913960400191505060405180910390fd5b846001600160a01b031682600001516001600160a01b031614611c955760405162461bcd60e51b815260040180806020018281038252602681526020018061295b6026913960400191505060405180910390fd5b6001600160a01b038416611cda5760405162461bcd60e51b815260040180806020018281038252602581526020018061288f6025913960400191505060405180910390fd5b611ce785858560016116ab565b611cf76000848460000151611b33565b6001600160a01b03858116600090815260056020908152604080832080546fffffffffffffffffffffffffffffffff198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255825180840184529182524267ffffffffffffffff9081168386019081528a875260049095528386209251835495516001600160a01b03199096169088161767ffffffffffffffff60a01b1916600160a01b9590911694909402939093179055908601808352912054909116611e5457611dd781611a5f565b15611e545760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff90811682850190815260008781526004909352949091209251835494516001600160a01b031990951692169190911767ffffffffffffffff60a01b1916600160a01b93909116929092029190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ea286868660016116ab565b505050505050565b611eb261275f565b611ebb82611a5f565b611ef65760405162461bcd60e51b815260040180806020018281038252602a815260200180612842602a913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000648310611f47575060017f00000000000000000000000000000000000000000000000000000000000000648303015b825b818110611fb357611f5861275f565b506000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611fa9579250610a46915050565b5060001901611f49565b5060405162461bcd60e51b815260040180806020018281038252602f815260200180612ace602f913960400191505060405180910390fd5b6000611fff846001600160a01b03166126df565b1561219557836001600160a01b031663150b7a0261201b611a3c565b8786866040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561208e578181015183820152602001612076565b50505050905090810190601f1680156120bb5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156120dd57600080fd5b505af192505050801561210257506040513d60208110156120fd57600080fd5b505160015b61217b573d808015612130576040519150601f19603f3d011682016040523d82523d6000602084013e612135565b606091505b5080516121735760405162461bcd60e51b8152600401808060200182810382526033815260200180612a4c6033913960400191505060405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612199565b5060015b949350505050565b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ad45780601f10610aa957610100808354040283529160200191610ad4565b60608161222757506040805180820190915260018152600360fc1b6020820152610a46565b8160005b811561223f57600101600a8204915061222b565b60608167ffffffffffffffff8111801561225857600080fd5b506040519080825280601f01601f191660200182016040528015612283576020820181803683370190505b50859350905060001982015b83156122d457600a840660300160f81b828280600190039350815181106122b257fe5b60200101906001600160f81b031916908160001a905350600a8404935061228f565b50949350505050565b600082821115612334576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001546001600160a01b0384166123825760405162461bcd60e51b8152600401808060200182810382526021815260200180612a7f6021913960400191505060405180910390fd5b61238b81611a5f565b156123dd576040805162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000006483111561243c5760405162461bcd60e51b8152600401808060200182810382526022815260200180612b2a6022913960400191505060405180910390fd5b61244960008583866116ab565b61245161275f565b60056000866001600160a01b03166001600160a01b031681526020019081526020016000206040518060400160405290816000820160009054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016000820160109054906101000a90046001600160801b03166001600160801b03166001600160801b03168152505090506040518060400160405280858360000151016001600160801b03168152602001858360200151016001600160801b031681525060056000876001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050506040518060400160405280866001600160a01b031681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156126cc5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46126856000888488611feb565b6126c05760405162461bcd60e51b8152600401808060200182810382526033815260200180612a4c6033913960400191505060405180910390fd5b60019182019101612638565b506001819055611ea260008785886116ab565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061272657805160ff1916838001178555612753565b82800160010185558215612753579182015b82811115612753578251825591602001919060010190612738565b506111a29291506127e4565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106127b75782800160ff19823516178555612753565b82800160010185558215612753579182015b828111156127535782358255916020019190600101906127c9565b5b808211156111a257600081556001016127e556fe455243373231413a206f776e657220696e646578206f7574206f6620626f756e64734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373455243373231413a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756e6473455243373231413a207472616e7366657220746f20746865207a65726f206164647265737343616e206f6e6c79206d696e742031303020746f6b656e7320617420612074696d65455243373231413a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c455243373231413a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77455243373231413a207472616e736665722066726f6d20696e636f7272656374206f776e65724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572507572636861736520776f756c6420657863656564206d617820737570706c79206f6620434157534552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e455243373231413a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231413a20617070726f76616c20746f2063757272656e74206f776e6572455243373231413a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572455243373231413a206d696e7420746f20746865207a65726f2061646472657373455243373231413a20756e61626c6520746f2067657420746f6b656e206f66206f776e657220627920696e646578455243373231413a20756e61626c6520746f2064657465726d696e6520746865206f776e6572206f6620746f6b656e455243373231413a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e455243373231413a207175616e7469747920746f206d696e7420746f6f2068696768a2646970667358221220860edaa915f01030a1b01923801afa8d8429ee149ce98f96b6d46cc1def2470f64736f6c63430007000033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000006256f380000000000000000000000000000000000000000000000000000000000000001543617473416e6457617463686573536f6369657479000000000000000000000000000000000000000000000000000000000000000000000000000000000000044341575300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): CatsAndWatchesSociety
Arg [1] : symbol (string): CAWS
Arg [2] : maxNftSupply (uint256): 10000
Arg [3] : saleStart (uint256): 1649865600

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 000000000000000000000000000000000000000000000000000000006256f380
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [5] : 43617473416e6457617463686573536f63696574790000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4341575300000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

46661:4105:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47775:123;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47775:123:0;;:::i;:::-;;31833:370;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31833:370:0;-1:-1:-1;;;;;;31833:370:0;;:::i;:::-;;;;;;;;;;;;;;;;;;33559:94;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35084:204;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35084:204:0;;:::i;:::-;;;;-1:-1:-1;;;;;35084:204:0;;;;;;;;;;;;;;48529:1153;;;;;;;;;;;;;;;;-1:-1:-1;48529:1153:0;;:::i;34647:379::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34647:379:0;;;;;;;;:::i;46979:42::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;47971:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47971:125:0;;-1:-1:-1;47971:125:0;;-1:-1:-1;;;;;47971:125:0:i;30394:94::-;;;;;;;;;;;;;:::i;47103:31::-;;;;;;;;;;;;;:::i;47030:23::-;;;;;;;;;;;;;:::i;35934:142::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35934:142:0;;;;;;;;;;;;;;;;;:::i;31025:744::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31025:744:0;;;;;;;;:::i;48397:89::-;;;;;;;;;;;;;:::i;47395:131::-;;;;;;;;;;;;;:::i;36139:157::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36139:157:0;;;;;;;;;;;;;;;;;:::i;47580:139::-;;;;;;;;;;;;;:::i;30557:177::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30557:177:0;;:::i;48220:102::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48220:102:0;;-1:-1:-1;48220:102:0;-1:-1:-1;48220:102:0;:::i;33382:118::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33382:118:0;;:::i;46797:21::-;;;;;;;;;;;;;:::i;32259:211::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32259:211:0;-1:-1:-1;;;;;32259:211:0;;:::i;45899:148::-;;;;;;;;;;;;;:::i;50571:192::-;;;;;;;;;;;;;:::i;45248:87::-;;;;;;;;;;;;;:::i;33714:98::-;;;;;;;;;;;;;:::i;46754:34::-;;;;;;;;;;;;;:::i;35352:274::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35352:274:0;;;;;;;;;;:::i;36359:311::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36359:311:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36359:311:0;;-1:-1:-1;36359:311:0;;-1:-1:-1;;;;;36359:311:0:i;33875:394::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33875:394:0;;:::i;46869:28::-;;;;;;;;;;;;;:::i;40774:43::-;;;;;;;;;;;;;:::i;46906:53::-;;;;;;;;;;;;;:::i;46827:33::-;;;;;;;;;;;;;:::i;35689:186::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35689:186:0;;;;;;;;;;:::i;49758:676::-;;;;;;;;;;;;;:::i;47062:32::-;;;;;;;;;;;;;:::i;46202:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46202:244:0;-1:-1:-1;;;;;46202:244:0;;:::i;47775:123::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;47856:16:::1;:34:::0;47775:123::o;31833:370::-;31960:4;-1:-1:-1;;;;;;31990:40:0;;-1:-1:-1;;;31990:40:0;;:99;;-1:-1:-1;;;;;;;32041:48:0;;-1:-1:-1;;;32041:48:0;31990:99;:160;;;-1:-1:-1;;;;;;;32100:50:0;;-1:-1:-1;;;32100:50:0;31990:160;:207;;;;32161:36;32185:11;32161:23;:36::i;:::-;31976:221;;31833:370;;;;:::o;33559:94::-;33642:5;33635:12;;;;;;;-1:-1:-1;;33635:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33613:13;;33635:12;;33642:5;;33635:12;;33642:5;33635:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33559:94;:::o;35084:204::-;35152:7;35176:16;35184:7;35176;:16::i;:::-;35168:74;;;;-1:-1:-1;;;35168:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35258:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35258:24:0;;35084:204::o;48529:1153::-;48602:12;;;;48594:57;;;;;-1:-1:-1;;;48594:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47018:3;48670:14;:33;;48662:80;;;;-1:-1:-1;;;48662:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48778:1;48761:14;:18;48753:50;;;;;-1:-1:-1;;;48753:50:0;;;;;;;;;;;;-1:-1:-1;;;48753:50:0;;;;;;;;;;;;;;;48859:8;;48822:33;48840:14;48822:13;:11;:13::i;:::-;:17;;:33::i;:::-;:45;;48814:98;;;;-1:-1:-1;;;48814:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48964:9;48931:29;46942:17;48945:14;48931:13;:29::i;:::-;:42;;48923:86;;;;;-1:-1:-1;;;48923:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49269:37;49279:10;49291:14;49269:9;:37::i;:::-;49519:18;;:23;:93;;;;;49564:8;;49547:13;:11;:13::i;:::-;:25;:64;;;;49595:16;;49576:15;:35;;49547:64;49515:159;;;49650:12;49629:18;:33;49515:159;48529:1153;:::o;34647:379::-;34716:13;34732:24;34748:7;34732:15;:24::i;:::-;34716:40;;34777:5;-1:-1:-1;;;;;34771:11:0;:2;-1:-1:-1;;;;;34771:11:0;;;34763:58;;;;-1:-1:-1;;;34763:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34862:5;-1:-1:-1;;;;;34846:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;34846:21:0;;:62;;;;34871:37;34888:5;34895:12;:10;:12::i;:::-;34871:16;:37::i;:::-;34830:153;;;;-1:-1:-1;;;34830:153:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34992:28;35001:2;35005:7;35014:5;34992:8;:28::i;:::-;34647:379;;;:::o;46979:42::-;47018:3;46979:42;:::o;47971:125::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;48056:32;;::::1;::::0;:15:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47971:125:::0;:::o;30394:94::-;30470:12;;30394:94;:::o;47103:31::-;;;;:::o;47030:23::-;;;;:::o;35934:142::-;36042:28;36052:4;36058:2;36062:7;36042:9;:28::i;31025:744::-;31134:7;31169:16;31179:5;31169:9;:16::i;:::-;31161:5;:24;31153:71;;;;-1:-1:-1;;;31153:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31231:22;31256:13;:11;:13::i;:::-;31231:38;;31276:19;31306:25;31356:9;31351:350;31375:14;31371:1;:18;31351:350;;;31405:31;;:::i;:::-;-1:-1:-1;31439:14:0;;;;:11;:14;;;;;;;;;31405:48;;;;;;;;;-1:-1:-1;;;;;31405:48:0;;;;;-1:-1:-1;;;31405:48:0;;;;;;;;;;;;31466:28;31462:89;;31527:14;;;-1:-1:-1;31462:89:0;31584:5;-1:-1:-1;;;;;31563:26:0;:17;-1:-1:-1;;;;;31563:26:0;;31559:135;;;31621:5;31606:11;:20;31602:59;;;-1:-1:-1;31648:1:0;-1:-1:-1;31641:8:0;;-1:-1:-1;;;31641:8:0;31602:59;31671:13;;;;;31559:135;-1:-1:-1;31391:3:0;;31351:350;;;;31707:56;;-1:-1:-1;;;31707:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31025:744;;;;;:::o;48397:89::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;48466:12:::1;::::0;;-1:-1:-1;;48450:28:0;::::1;48466:12;::::0;;::::1;48465:13;48450:28;::::0;;48397:89::o;47395:131::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;47490:28:::1;::::0;47458:21:::1;::::0;47490:10:::1;::::0;:28;::::1;;;::::0;47458:21;;47443:12:::1;47490:28:::0;47443:12;47490:28;47458:21;47490:10;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;36139:157:::0;36251:39;36268:4;36274:2;36278:7;36251:39;;;;;;;;;;;;:16;:39::i;47580:139::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;47639:11:::1;47653:13;:11;:13::i;:::-;47639:27;;47677:34;47687:10;47699:6;47708:2;47699:11;47677:9;:34::i;30557:177::-:0;30624:7;30656:13;:11;:13::i;:::-;30648:5;:21;30640:69;;;;-1:-1:-1;;;30640:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30723:5:0;30557:177::o;48220:102::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;48296:18:::1;:7;48306:8:::0;;48296:18:::1;:::i;33382:118::-:0;33446:7;33469:20;33481:7;33469:11;:20::i;:::-;:25;;33382:118;-1:-1:-1;;33382:118:0:o;46797:21::-;;;;;;;;;;;;;;;-1:-1:-1;;46797:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32259:211::-;32323:7;-1:-1:-1;;;;;32347:19:0;;32339:75;;;;-1:-1:-1;;;32339:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32436:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;32436:27:0;;32259:211::o;45899:148::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;45990:6:::1;::::0;45969:40:::1;::::0;46006:1:::1;::::0;-1:-1:-1;;;;;45990:6:0::1;::::0;45969:40:::1;::::0;46006:1;;45969:40:::1;46020:6;:19:::0;;-1:-1:-1;;;;;;46020:19:0::1;::::0;;45899:148::o;50571:192::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;50649:13:::1;::::0;:18;50641:60:::1;;;::::0;;-1:-1:-1;;;50641:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;50743:12;50722:18;:33:::0;50571:192::o;45248:87::-;45321:6;;-1:-1:-1;;;;;45321:6:0;45248:87;:::o;33714:98::-;33799:7;33792:14;;;;;;;;-1:-1:-1;;33792:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33770:13;;33792:14;;33799:7;;33792:14;;33799:7;33792:14;;;;;;;;;;;;;;;;;;;;;;;;46754:34;;;;;;;;;;;;;;;-1:-1:-1;;46754:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35352:274;35455:12;:10;:12::i;:::-;-1:-1:-1;;;;;35443:24:0;:8;-1:-1:-1;;;;;35443:24:0;;;35435:63;;;;;-1:-1:-1;;;35435:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35552:8;35507:18;:32;35526:12;:10;:12::i;:::-;-1:-1:-1;;;;;35507:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;35507:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;35507:53:0;;;;;;;;;;;35587:12;:10;:12::i;:::-;-1:-1:-1;;;;;35572:48:0;;35611:8;35572:48;;;;;;;;;;;;;;;;;;;;35352:274;;:::o;36359:311::-;36496:28;36506:4;36512:2;36516:7;36496:9;:28::i;:::-;36547:48;36570:4;36576:2;36580:7;36589:5;36547:22;:48::i;:::-;36531:133;;;;-1:-1:-1;;;36531:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36359:311;;;;:::o;33875:394::-;33973:13;34014:16;34022:7;34014;:16::i;:::-;33998:97;;;;-1:-1:-1;;;33998:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34104:21;34128:10;:8;:10::i;:::-;34104:34;;34183:1;34165:7;34159:21;:25;:104;;;;;;;;;;;;;;;;;34220:7;34229:18;:7;:16;:18::i;:::-;34203:45;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34203:45:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34203:45:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34203:45:0;;;;;;;;;;;;;-1:-1:-1;;34203:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34159:104;34145:118;33875:394;-1:-1:-1;;;33875:394:0:o;46869:28::-;;;;:::o;40774:43::-;;;;:::o;46906:53::-;46942:17;46906:53;:::o;46827:33::-;;;;:::o;35689:186::-;-1:-1:-1;;;;;35834:25:0;;;35811:4;35834:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35689:186::o;49758:676::-;49812:13;;:18;49804:60;;;;;-1:-1:-1;;;49804:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49883:18;;49875:68;;;;;-1:-1:-1;;;49875:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50018:8;;49995:18;;49985:29;50018:8;49980:46;;;;;49964:13;:62;50179:18;;50201:3;;50162:36;;:12;;:16;:36::i;:::-;:42;50158:135;;;50273:8;;-1:-1:-1;;50252:12:0;:16;50242:27;50273:8;50237:44;;;;;50221:13;:60;50158:135;50344:13;;50340:87;;50395:13;;:20;;50413:1;50395:17;:20::i;:::-;50379:13;:36;50340:87;49758:676::o;47062:32::-;;;;;;:::o;46202:244::-;45479:12;:10;:12::i;:::-;-1:-1:-1;;;;;45468:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45468:23:0;;45460:68;;;;;-1:-1:-1;;;45460:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;45460:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;46291:22:0;::::1;46283:73;;;;-1:-1:-1::0;;;46283:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46393:6;::::0;46372:38:::1;::::0;-1:-1:-1;;;;;46372:38:0;;::::1;::::0;46393:6:::1;::::0;46372:38:::1;::::0;46393:6:::1;::::0;46372:38:::1;46421:6;:17:::0;;-1:-1:-1;;;;;;46421:17:0::1;-1:-1:-1::0;;;;;46421:17:0;;;::::1;::::0;;;::::1;::::0;;46202:244::o;667:106::-;755:10;667:106;:::o;10235:150::-;-1:-1:-1;;;;;;10344:33:0;10320:4;10344:33;;;;;;;;;;;;;;10235:150::o;36909:105::-;36996:12;;-1:-1:-1;36986:22:0;36909:105::o;13797:179::-;13855:7;13887:5;;;13911:6;;;;13903:46;;;;;-1:-1:-1;;;13903:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;14676:220;14734:7;14758:6;14754:20;;-1:-1:-1;14773:1:0;14766:8;;14754:20;14797:5;;;14801:1;14797;:5;:1;14821:5;;;;;:10;14813:56;;;;-1:-1:-1;;;14813:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37020:98;37085:27;37095:2;37099:8;37085:27;;;;;;;;;;;;:9;:27::i;40596:172::-;40693:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;40693:29:0;-1:-1:-1;;;;;40693:29:0;;;;;;;;;40734:28;;40693:24;;40734:28;;;;;;;40596:172;;;:::o;38961:1529::-;39058:35;;:::i;:::-;39096:20;39108:7;39096:11;:20::i;:::-;39058:58;;39125:22;39167:13;:18;;;-1:-1:-1;;;;;39151:34:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;39151:34:0;;:81;;;;39220:12;:10;:12::i;:::-;-1:-1:-1;;;;;39196:36:0;:20;39208:7;39196:11;:20::i;:::-;-1:-1:-1;;;;;39196:36:0;;39151:81;:142;;;-1:-1:-1;39260:18:0;;39243:50;;39280:12;:10;:12::i;39243:50::-;39125:169;;39319:17;39303:101;;;;-1:-1:-1;;;39303:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39451:4;-1:-1:-1;;;;;39429:26:0;:13;:18;;;-1:-1:-1;;;;;39429:26:0;;39413:98;;;;-1:-1:-1;;;39413:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39526:16:0;;39518:66;;;;-1:-1:-1;;;39518:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39593:43;39615:4;39621:2;39625:7;39634:1;39593:21;:43::i;:::-;39693:49;39710:1;39714:7;39723:13;:18;;;39693:8;:49::i;:::-;-1:-1:-1;;;;;39751:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;39751:31:0;;;-1:-1:-1;;;;;39751:31:0;;;-1:-1:-1;;39751:31:0;;;;;;;39789:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;39789:29:0;;;;;;;;;;;;;39848:43;;;;;;;;;;39874:15;39848:43;;;;;;;;;;39825:20;;;:11;:20;;;;;;:66;;;;;;-1:-1:-1;;;;;;39825:66:0;;;;;;;-1:-1:-1;;;;39825:66:0;-1:-1:-1;;;39825:66:0;;;;;;;;;;;;;;40141:11;;;40163:24;;;;;:29;40141:11;;40163:29;40159:236;;40221:20;40229:11;40221:7;:20::i;:::-;40217:171;;;40281:97;;;;;;;;40308:18;;-1:-1:-1;;;;;40281:97:0;;;;;;40339:28;;;;40281:97;;;;;;;;;;-1:-1:-1;40254:24:0;;;:11;:24;;;;;;;:124;;;;;;-1:-1:-1;;;;;;40254:124:0;;;;;;;;;-1:-1:-1;;;;40254:124:0;-1:-1:-1;;;40254:124:0;;;;;;;;;;;;;;40217:171;40427:7;40423:2;-1:-1:-1;;;;;40408:27:0;40417:4;-1:-1:-1;;;;;40408:27:0;;;;;;;;;;;40442:42;40463:4;40469:2;40473:7;40482:1;40442:20;:42::i;:::-;38961:1529;;;;;;:::o;32722:606::-;32798:21;;:::i;:::-;32839:16;32847:7;32839;:16::i;:::-;32831:71;;;;-1:-1:-1;;;32831:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32911:26;32959:12;32948:7;:23;32944:93;;-1:-1:-1;33028:1:0;33013:12;33003:22;;:26;32944:93;33065:7;33045:212;33082:18;33074:4;:26;33045:212;;33119:31;;:::i;:::-;-1:-1:-1;33153:17:0;;;;:11;:17;;;;;;;;;33119:51;;;;;;;;;-1:-1:-1;;;;;33119:51:0;;;;;-1:-1:-1;;;33119:51:0;;;;;;;;;;;;33183:28;33179:71;;33231:9;-1:-1:-1;33224:16:0;;-1:-1:-1;;33224:16:0;33179:71;-1:-1:-1;;;33102:6:0;33045:212;;;;33265:57;;-1:-1:-1;;;33265:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42311:690;42448:4;42465:15;:2;-1:-1:-1;;;;;42465:13:0;;:15::i;:::-;42461:535;;;42520:2;-1:-1:-1;;;;;42504:36:0;;42541:12;:10;:12::i;:::-;42555:4;42561:7;42570:5;42504:72;;;;;;;;;;;;;-1:-1:-1;;;;;42504:72:0;;;;;;-1:-1:-1;;;;;42504:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42504:72:0;;;42491:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42735:13:0;;42731:215;;42768:61;;-1:-1:-1;;;42768:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42731:215;42914:6;42908:13;42899:6;42895:2;42891:15;42884:38;42491:464;-1:-1:-1;;;;;;42626:55:0;-1:-1:-1;;;42626:55:0;;-1:-1:-1;42619:62:0;;42461:535;-1:-1:-1;42984:4:0;42461:535;42311:690;;;;;;:::o;48104:108::-;48197:7;48190:14;;;;;;;;-1:-1:-1;;48190:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48164:13;;48190:14;;48197:7;;48190:14;;48197:7;48190:14;;;;;;;;;;;;;;;;;;;;;;;;26741:746;26797:13;27018:10;27014:53;;-1:-1:-1;27045:10:0;;;;;;;;;;;;-1:-1:-1;;;27045:10:0;;;;;;27014:53;27092:5;27077:12;27133:78;27140:9;;27133:78;;27166:8;;27197:2;27189:10;;;;27133:78;;;27221:19;27253:6;27243:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27243:17:0;-1:-1:-1;27315:5:0;;-1:-1:-1;27221:39:0;-1:-1:-1;;;27287:10:0;;27331:117;27338:9;;27331:117;;27407:2;27400:4;:9;27395:2;:14;27382:29;;27364:6;27371:7;;;;;;;27364:15;;;;;;;;;;;:47;-1:-1:-1;;;;;27364:47:0;;;;;;;;-1:-1:-1;27434:2:0;27426:10;;;;27331:117;;;-1:-1:-1;27472:6:0;26741:746;-1:-1:-1;;;;26741:746:0:o;14259:158::-;14317:7;14350:1;14345;:6;;14337:49;;;;;-1:-1:-1;;;14337:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14404:5:0;;;14259:158::o;37457:1272::-;37585:12;;-1:-1:-1;;;;;37612:16:0;;37604:62;;;;-1:-1:-1;;;37604:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37803:21;37811:12;37803:7;:21::i;:::-;37802:22;37794:64;;;;;-1:-1:-1;;;37794:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37885:12;37873:8;:24;;37865:71;;;;-1:-1:-1;;;37865:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37945:61;37975:1;37979:2;37983:12;37997:8;37945:21;:61::i;:::-;38015:30;;:::i;:::-;38048:12;:16;38061:2;-1:-1:-1;;;;;38048:16:0;-1:-1:-1;;;;;38048:16:0;;;;;;;;;;;;38015:49;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38015:49:0;-1:-1:-1;;;;;38015:49:0;-1:-1:-1;;;;;38015:49:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38015:49:0;-1:-1:-1;;;;;38015:49:0;-1:-1:-1;;;;;38015:49:0;;;;;;;38090:119;;;;;;;;38140:8;38110:11;:19;;;:39;-1:-1:-1;;;;;38090:119:0;;;;;38193:8;38158:11;:24;;;:44;-1:-1:-1;;;;;38090:119:0;;;;38071:12;:16;38084:2;-1:-1:-1;;;;;38071:16:0;-1:-1:-1;;;;;38071:16:0;;;;;;;;;;;;:138;;;;;;;;;;;;;-1:-1:-1;;;;;38071:138:0;;;;;-1:-1:-1;;;;;38071:138:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38071:138:0;;;;;-1:-1:-1;;;;;38071:138:0;;;;;;;;;38244:43;;;;;;;;38259:2;-1:-1:-1;;;;;38244:43:0;;;;;38270:15;38244:43;;;;;38216:11;:25;38228:12;38216:25;;;;;;;;;;;:71;;;;;;;;;;;;;-1:-1:-1;;;;;38216:71:0;;;;;-1:-1:-1;;;;;38216:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38296:20;38319:12;38296:35;;38345:9;38340:281;38364:8;38360:1;:12;38340:281;;;38393:38;;38418:12;;-1:-1:-1;;;;;38393:38:0;;;38410:1;;38393:38;;38410:1;;38393:38;38458:59;38489:1;38493:2;38497:12;38511:5;38458:22;:59::i;:::-;38440:150;;;;-1:-1:-1;;;38440:150:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38599:14;;;;;38374:3;38340:281;;;-1:-1:-1;38629:12:0;:27;;;38663:60;38692:1;38696:2;38700:12;38714:8;38663:20;:60::i;19238:422::-;19605:20;19644:8;;;19238:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://860edaa915f01030a1b01923801afa8d8429ee149ce98f96b6d46cc1def2470f

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Cats and Watches Society (CAWS) is a collection of 10,000 NFTs developed by the DeFi Yield Protocol. Through the adoption process, your cat will be fitted with a cool luxury watch and will also grant you access to the members-only Society Benefits Zone.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.