ETH Price: $3,388.36 (+1.21%)

Token

Frames (FRAMES)
 

Overview

Max Total Supply

1,047 FRAMES

Holders

77

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
*זחד.eth
Balance
4 FRAMES
0xbbb54ed844df18009760401339e4554f271d08ca
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Some like their tokens wrapped, we like our NFTs framed.” Framed NFTs are a technical first in the NFT space, allowing you to bond the frame NFT with your NFT to create a new bonded or ‘framed’ NFT that can be unbound at any time.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Frame721

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Frame721.sol
// SPDX-License-Identifier: GPL-3.0

/*
       %%%%%%%   &%%%%%,      %%      %%%     %%%    %%%%%%    %%%%%%        %%%%%%%%%%%%%%%%%%%    
       %%#       &%   %%.    (%%%     %%%%   #%%%    %%        %%   %%                       %%%    
       %%#       &%   &%     %&.%.    %%%%%  % %%    %%        %%   %%                       %%%    
       %%%%%%    &%%%%#     &%  %%    %%% %%%% %%    %%%%%%    %%   %%                       %%%    
       %%#       &%  %%     %%%%%%(   %%% #%%  %%    %%        %%   %%                       %%%    
       %%#       &%   %%    %%   %%   %%%      %%    %%        %%   %%                       %%%    
       %%#       &%    %%   %%   %%   %%%      %%    %%%%%%    %%&%&%%                       %%%    
                                                                                             %%%    
                                                                                             %%%    
                                                                                             %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   %%%    
       %%#                               Frames Contract                                     %%%    
       %%#                              https://framed.app                                   %%%    
       %%#                                 @nft_framed                                       %%%    
       %%#                                   2021-12                                         %%%    
       %%#                               Code by JD & BC                                     %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   %%%    
       %%#                                                                                   &%%    
       %%#                                                                                          
       %%#                                                                                          
       %%#                                                                                          
       %%#                                                         %%    %%    %%%%%%  %%%%%%%%%%    
       %%#                                                         %%%   %%    %%          %%       
       %%#                                                         %%%%  %%    %%          %%       
       %%#                                                         %% %% %%    %%%%%%      %%       
       %%#                                                         %%  %%%%    %%          %%       
       %%%                                                         %%   %%%    %%          %%       
       %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&          %%    %%    %%          %%           
*/

pragma solidity >=0.7.0 <0.9.0;

import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

import "./ERC721Extended.sol";
import "./IFrameMetadata.sol";

/**
  @title An OpenSea delegate proxy contract which we include for whitelisting.
  @author OpenSea
*/
contract OwnableDelegateProxy { }

/**
  @title An OpenSea proxy registry contract which we include for whitelisting.
  @author OpenSea
*/
contract ProxyRegistry {
  mapping(address => OwnableDelegateProxy) public proxies;
}

contract Frame721 is IFrameMetadata, ERC721Extended {
    using Strings for uint256;
    using Counters for Counters.Counter;

    struct Record {
      string record;
      uint256 lastIndex;
    } 

    Record[] public records;
    string baseFramedURI;

    /// Specifically whitelist an OpenSea proxy registry address.
    address public proxyRegistryAddress;
    address public framerAddress;

    event UpdateSupply(Record record);

    constructor(
        uint256 _price, 
        string memory name, 
        string memory symbol, 
        string memory baseTokenURI,
        string memory _baseFramedURI,
        uint256 _maxMultiple, 
        uint256 _available,
        bool _saleEnabled,
        string memory record,
        address _openseaProxy,
        address _framerAddress 
    ) ERC721Extended(
        _price, name, symbol, baseTokenURI, _maxMultiple, _available, _saleEnabled
    ) {
      //  1. initialize provenance records array
      Record memory rec = Record(record, 0);
      records.push(rec);

      //2. Set base framed URI
      baseFramedURI = _baseFramedURI;

      // set whitelist operators
      proxyRegistryAddress = _openseaProxy;
      framerAddress = _framerAddress;

      emit UpdateSupply(rec);
    }

    /**
        * @dev Updates supply with additional availability and new provenance record
        * Must be called when paused and match the current  supply offset 
        
        @param supplyOffset the current supply, this persists the provenance record and must match the current totalSupply()
        @param newAvailability the new total availability
        @param record the new provenance record for new tokens past the current totalSupply()

     */
    function updateSupply(uint256 supplyOffset, uint256 newAvailability, string calldata record) external onlyOwner {
      // must be paused while updating
      require(_tokenIdTracker.current() == supplyOffset, "Wrong update offset");
      require(newAvailability > available, "Cannot decrease availability");

      Record memory rec = Record(record, supplyOffset);

      // insert latest record
      records.push(rec);

      // update availability
      available = newAvailability;

      emit UpdateSupply(rec);
    }


    /**
        * @dev Get the latest provenance record
        * The latest record is the currently active for newly minted tokens

        @return record latest provenance record as a Record struct
     */
    function lastRecord() public view returns (Record memory record) {
      if(records.length > 0) 
        record = records[records.length - 1];
    }

    /**
      An override to whitelist the Framer and OpenSea proxy contract to enable gas-free
      listings. This function returns true if `_operator` is approved to transfer
      items owned by `_owner`.
      @param _owner The owner of items to check for transfer ability.
      @param _operator The potential transferrer of `_owner`'s items.
    */
    function isApprovedForAll(address _owner, address _operator) public view override returns (bool isOperator) {
      // whitelist framer contract
      if(_operator == framerAddress) {
        return true;
      }

      if(super.isApprovedForAll(_owner, _operator)) {
        return true;
      }
        
      // whitelist opensea contract
      ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
      if (address(proxyRegistry.proxies(_owner)) == _operator) {
        return true;
      }

      return false;
    }


    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) {
        return interfaceId == type(IFrameMetadata).interfaceId || super.supportsInterface(interfaceId);
    }


    function framedURI(uint256 tokenId) public view virtual override returns (string memory) {
      return bytes(baseFramedURI).length > 0 ? string(abi.encodePacked(baseFramedURI, tokenId.toString())) : "";
    }

    /** 
        * @dev Get framed token metadata base uri
        * @param newURI new base URI
    */
    function setBaseFramedURI(string memory newURI) public onlyOwner {
        baseFramedURI = newURI;
    }

    /**
      * @dev Update Framer Address
     */
    function setFramerAddress(address framer) public onlyOwner {
      framerAddress = framer;
    }
}

File 2 of 14 : IFrameMetadata.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IFrameMetadata is IERC165 {

    /* Returns framed uri
     *
    */
    function framedURI(uint256 tokenId) external view returns (string memory);

}

File 3 of 14 : ERC721Extended.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

// Contracts
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

// Utils
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

/** 
 * @title ERC721Extended
 * @dev Extends ERC721 implementations
*/


contract ERC721Extended is 
    ERC721, 
    Ownable
{
    // use some good trusty modules
    using Address for address;
    using Counters for Counters.Counter;
    using Strings for uint256;

    /* Artwork properties */
    uint256 public price;       // Artwork price
    uint256 public available;   // How many artworks are available
    uint256 public giveawayReserve = 0; // reserve certain amount for giveaways
    uint256 public maxMultiple; // How many artworks can be bought in one purchaseMultiple call
    string  public baseURI;     // base token metadata URI
    

    // track if sales are enabled
    bool public saleEnabled;

    // whitelist and giveaway contract addresses
    address public whitelistContractAddress;
    address public giveawayContractAddress;

    address payable internal treasury;

    Counters.Counter internal _tokenIdTracker;

    // event StartSales();

    constructor (
        uint256 _price, 
        string memory name, 
        string memory symbol, 
        string memory baseTokenURI,
        uint256 _maxMultiple, 
        uint256 _available, 
        bool _saleEnabled
    )
    ERC721(name, symbol) {
   
        price = _price;
        available = _available;
        baseURI = baseTokenURI;
        maxMultiple = _maxMultiple;

        // set if sale is enabled or disabled
        saleEnabled = _saleEnabled;

        // assign owner as default treasury address
        treasury = payable(owner());
    } 

    function totalSupply() public view returns (uint256) {
        return _tokenIdTracker.current();
    }  
  
    /**
        * @dev Burns `tokenId`. See {ERC721-_burn}.
        * @dev Implementation from ERC721Burnable
        *
        * Requirements:
        *
        * - The caller must own `tokenId` or be an approved operator.
    */
    function burn(uint256 tokenId) public virtual {
        bool approved = _isApprovedOrOwner(_msgSender(), tokenId);        
        require(approved, "Caller is not owner nor approved");

        _burn(tokenId);
    }

    /**
        * @dev Toggles if the sale is active
     */
    function toggleSaleEnabled() public onlyOwner {
        saleEnabled = !saleEnabled;
    }
    
  /**
        * @notice Set treasury address
        * @param a treasury address
    */
    function setTreasury(address payable a) public onlyOwner {
        treasury = a;
    }

    /**
    * @notice Set purchase price for proxy transactions
    * @param p price for proxy transactions
    */
    function setPrice(uint256 p) public onlyOwner {
        price = p;
    }

    /**
     * @dev Set the new whitelist contract address
     */
    function setWhitelistContractAddress(address contractAddress) public onlyOwner {
      whitelistContractAddress = contractAddress;
    }

    /**
     * @dev Set the new giveaway contract address
     */
    function setGiveawayContractAddress(address contractAddress) public onlyOwner {
      giveawayContractAddress = contractAddress;
    }

    /**
     * @dev Set giveaway reserve
     */
    function setGiveawayReserve(uint256 newReserve) public onlyOwner {
        giveawayReserve = newReserve;
    }

    /** 
    * @notice Get token metadata base uri
    * @param newURI new base URI
    */
    function setBaseURI(string memory newURI) public onlyOwner {
        baseURI = newURI;
    }

    /**
    * @notice Purchases an artwork.
    *   - Returns the artworkID of purchased work.
    *   - Reverts if insuffiscient funds, no artworks left or sales are paused.
    */
    function _purchase(address recipient) internal returns (uint256) {
        
        // get next artwork
        uint256 artworkID = _tokenIdTracker.current();

        // mint new artwork!
        _mint(recipient, artworkID);

        // increment pieces sold count
        _tokenIdTracker.increment();

        return artworkID;
    }

    /**
     * @dev Allow whitelist contract to be authorized to mint
     */
    function saleAuthorized() internal virtual returns (bool) {
      return saleEnabled || _msgSender() == whitelistContractAddress;
    }


    function canPurchase(uint256 count, address /*recipient*/) internal virtual {
        // ensure sales period is active 
        require(saleAuthorized(), "ERC721Extended: Sales not authorized");

        // make sure we're not sold out and have enough giveaway reserve left
        require(_tokenIdTracker.current() < available - giveawayReserve, "No more pieces available.");

        // ensure not too many requested for mint
        require(count <= maxMultiple, "ERC721Extended: greedy mint!");
        
        //validate price
        // NOTE: solidity compiter ^0.8 has overflow checks, so none needed here
        require(msg.value >= (price * count), "ERC721Extended: Not enough payment!");
    }

    function _purchaseMultiple(uint256 count, address recipient) internal virtual returns (uint256 id, uint256 purchased) {

        // validation checks for purchase
        canPurchase(count, recipient);

        uint256 firstArtworkID;
        uint256 artworkID;

        // attempt to purchase `count` tokens
        for (uint256 index = 0; index < count; index++) {

            artworkID = _purchase(recipient);
          
            if(index == 0)
                firstArtworkID = artworkID;
        }

        return (firstArtworkID, count);
    }

    /**
    * @notice Purchases an artwork.
    *   - Returns the tuple(artworkID, count)
    *     - artworkID -  of the first purchased work.
    *     - count - the number of artworks purchased.
    *   - Reverts if insuffiscient funds, no artworks left or sales are paused.
    */
    function purchaseMultiple(uint256 count) public payable returns (uint256 id, uint256 purchased) {
       return _purchaseMultiple(count, _msgSender());
    }

    /**
    * @notice Purchases an artwork.
    *   - Returns the artworkID of purchased work.
    *   - Reverts if insuffiscient funds, no artworks left or sales are paused.
    */
    function purchaseMultipleFor(uint256 count, address to) public payable returns (uint256 id, uint256 purchased)  {
        return _purchaseMultiple(count, to);
    }

    /**
     * @dev Allow owner to mint in order to be used for giveaways
     */
    function giveawayMint(uint256 count, address to) public {
        address sender = _msgSender();
        require(sender == owner() || sender == giveawayContractAddress, "ERC721Extended: Not authorized!");

        require((_tokenIdTracker.current() + count <= available) && (count <= giveawayReserve), "ERC721Extended: Not enough tokens");
        giveawayReserve -= count;

        // attempt to purchase `count` tokens
        for (uint256 index = 0; index < count; index++) {
            _purchase(to);
        }
    }

    /**
    * @notice Withdraw funds to treasury
    *   - Errors if transaction failed
    */
    function withdraw() public {
        // solhint-disable-next-line indent, bracket-align
        (bool success, ) = treasury.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    /**
        * @notice Returns the Uniform Resource Identifier (URI) for `tokenId` token.
        * @dev Complies with ERC721Metadata extension 
        */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "URI query for nonexistent token");

        // apply random start index to token URI
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

}

File 4 of 14 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 9 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: 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 virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 10 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 12 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"string","name":"_baseFramedURI","type":"string"},{"internalType":"uint256","name":"_maxMultiple","type":"uint256"},{"internalType":"uint256","name":"_available","type":"uint256"},{"internalType":"bool","name":"_saleEnabled","type":"bool"},{"internalType":"string","name":"record","type":"string"},{"internalType":"address","name":"_openseaProxy","type":"address"},{"internalType":"address","name":"_framerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"anonymous":false,"inputs":[{"components":[{"internalType":"string","name":"record","type":"string"},{"internalType":"uint256","name":"lastIndex","type":"uint256"}],"indexed":false,"internalType":"struct Frame721.Record","name":"record","type":"tuple"}],"name":"UpdateSupply","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"framedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"framerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giveawayContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"giveawayMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveawayReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRecord","outputs":[{"components":[{"internalType":"string","name":"record","type":"string"},{"internalType":"uint256","name":"lastIndex","type":"uint256"}],"internalType":"struct Frame721.Record","name":"record","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMultiple","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"purchaseMultiple","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"purchased","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"purchaseMultipleFor","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"purchased","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"records","outputs":[{"internalType":"string","name":"record","type":"string"},{"internalType":"uint256","name":"lastIndex","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleEnabled","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":"newURI","type":"string"}],"name":"setBaseFramedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"framer","type":"address"}],"name":"setFramerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setGiveawayContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newReserve","type":"uint256"}],"name":"setGiveawayReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"p","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"a","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setWhitelistContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSaleEnabled","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"supplyOffset","type":"uint256"},{"internalType":"uint256","name":"newAvailability","type":"uint256"},{"internalType":"string","name":"record","type":"string"}],"name":"updateSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006009553480156200001657600080fd5b5060405162002fd538038062002fd58339810160408190526200003991620003b7565b8a8a8a8a898989858581600090805190602001906200005a92919062000252565b5080516200007090600190602084019062000252565b5050506200008d62000087620001fc60201b60201c565b62000200565b600787905560088290558351620000ac90600b90602087019062000252565b50600a839055600c805460ff1916821515179055620000d36006546001600160a01b031690565b600e80546001600160a01b03929092166001600160a01b0319909216919091179055505060408051808201909152888152600060208083018290526010805460018101825592528251805193985088975060029092027f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720195506200015e9450859350019062000252565b5060209182015160019091015588516200017f91601191908b019062000252565b50601280546001600160a01b038086166001600160a01b03199283161790925560138054928516929091169190911790556040517f44cda4a18339e4d4aebd9b48e9b662c81faaa209778c02c2d06ed719ef516fc190620001e29083906200050e565b60405180910390a1505050505050505050505050620005dc565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002609062000589565b90600052602060002090601f016020900481019282620002845760008555620002cf565b82601f106200029f57805160ff1916838001178555620002cf565b82800160010185558215620002cf579182015b82811115620002cf578251825591602001919060010190620002b2565b50620002dd929150620002e1565b5090565b5b80821115620002dd5760008155600101620002e2565b80516001600160a01b03811681146200031057600080fd5b919050565b805180151581146200031057600080fd5b600082601f8301126200033857600080fd5b81516001600160401b0380821115620003555762000355620005c6565b604051601f8301601f19908116603f01168101908282118183101715620003805762000380620005c6565b816040528381528660208588010111156200039a57600080fd5b620003ad84602083016020890162000556565b9695505050505050565b60008060008060008060008060008060006101608c8e031215620003da57600080fd5b8b5160208d0151909b506001600160401b03811115620003f957600080fd5b620004078e828f0162000326565b60408e0151909b5090506001600160401b038111156200042657600080fd5b620004348e828f0162000326565b60608e0151909a5090506001600160401b038111156200045357600080fd5b620004618e828f0162000326565b60808e015190995090506001600160401b038111156200048057600080fd5b6200048e8e828f0162000326565b97505060a08c0151955060c08c01519450620004ad60e08d0162000315565b6101008d01519094506001600160401b03811115620004cb57600080fd5b620004d98e828f0162000326565b935050620004eb6101208d01620002f8565b9150620004fc6101408d01620002f8565b90509295989b509295989b9093969950565b60208152600082516040602084015280518060608501526200053881608086016020850162000556565b60209490940151604084015250506080601f909201601f1916010190565b60005b838110156200057357818101518382015260200162000559565b8381111562000583576000848401525b50505050565b600181811c908216806200059e57607f821691505b60208210811415620005c057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6129e980620005ec6000396000f3fe6080604052600436106102725760003560e01c806370a082311161014f578063a22cb465116100c1578063cd7c03261161007a578063cd7c032614610732578063e2557f3714610752578063e985e9c514610774578063f0f4426014610794578063f2fde38b146107b4578063f38909a8146107d457600080fd5b8063a22cb4651461067c578063b0caca331461069c578063b1ec4f23146106bc578063b88d4fde146106d2578063bf2faf26146106f2578063c87b56dd1461071257600080fd5b80638da5cb5b116101135780638da5cb5b146105e0578063909023b5146105fe57806391b7f5ed1461061e57806395d89b411461063e5780639845c82714610653578063a035b1fe1461066657600080fd5b806370a082311461054c578063715018a61461056c57806371b9b646146105815780637809be201461059b578063829f5edf146105bb57600080fd5b806334d2b973116101e857806348a0d754116101ac57806348a0d754146104ab5780634c8ed230146104c1578063538a8c21146104e157806355f804b3146104f75780636352211e146105175780636c0360eb1461053757600080fd5b806334d2b9731461040e5780633ccfd60b1461042e5780633d5e81471461044357806342842e0e1461046b57806342966c681461048b57600080fd5b806318160ddd1161023a57806318160ddd1461033d5780631b710860146103605780631fcf59e31461038057806323b872dd146103a0578063262a045d146103c057806334461067146103e057600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce5780630876a65b14610306578063095ea7b31461031d575b600080fd5b34801561028357600080fd5b5061029761029236600461246f565b6107f4565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c161081f565b6040516102a391906126f9565b3480156102da57600080fd5b506102ee6102e936600461250f565b6108b1565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b5061031b61094b565b005b34801561032957600080fd5b5061031b610338366004612443565b610989565b34801561034957600080fd5b50610352610a9f565b6040519081526020016102a3565b34801561036c57600080fd5b506013546102ee906001600160a01b031681565b34801561038c57600080fd5b5061031b61039b36600461250f565b610aaf565b3480156103ac57600080fd5b5061031b6103bb36600461234f565b610ade565b3480156103cc57600080fd5b5061031b6103db36600461254d565b610b0f565b3480156103ec57600080fd5b506104006103fb36600461250f565b610cbb565b6040516102a392919061270c565b34801561041a57600080fd5b5061031b6104293660046122f2565b610d77565b34801561043a57600080fd5b5061031b610dc3565b61045661045136600461250f565b610e5c565b604080519283526020830191909152016102a3565b34801561047757600080fd5b5061031b61048636600461234f565b610e72565b34801561049757600080fd5b5061031b6104a636600461250f565b610e8d565b3480156104b757600080fd5b5061035260085481565b3480156104cd57600080fd5b5061031b6104dc366004612528565b610ef6565b3480156104ed57600080fd5b5061035260095481565b34801561050357600080fd5b5061031b6105123660046124c6565b61102c565b34801561052357600080fd5b506102ee61053236600461250f565b611069565b34801561054357600080fd5b506102c16110e0565b34801561055857600080fd5b506103526105673660046122f2565b61116e565b34801561057857600080fd5b5061031b6111f5565b34801561058d57600080fd5b50600c546102979060ff1681565b3480156105a757600080fd5b5061031b6105b63660046122f2565b61122b565b3480156105c757600080fd5b50600c546102ee9061010090046001600160a01b031681565b3480156105ec57600080fd5b506006546001600160a01b03166102ee565b34801561060a57600080fd5b50600d546102ee906001600160a01b031681565b34801561062a57600080fd5b5061031b61063936600461250f565b611277565b34801561064a57600080fd5b506102c16112a6565b610456610661366004612528565b6112b5565b34801561067257600080fd5b5061035260075481565b34801561068857600080fd5b5061031b610697366004612410565b6112cd565b3480156106a857600080fd5b506102c16106b736600461250f565b611392565b3480156106c857600080fd5b50610352600a5481565b3480156106de57600080fd5b5061031b6106ed366004612390565b6113f0565b3480156106fe57600080fd5b5061031b61070d3660046122f2565b611421565b34801561071e57600080fd5b506102c161072d36600461250f565b611473565b34801561073e57600080fd5b506012546102ee906001600160a01b031681565b34801561075e57600080fd5b50610767611510565b6040516102a39190612806565b34801561078057600080fd5b5061029761078f366004612316565b611608565b3480156107a057600080fd5b5061031b6107af3660046122f2565b611704565b3480156107c057600080fd5b5061031b6107cf3660046122f2565b611750565b3480156107e057600080fd5b5061031b6107ef3660046124c6565b6117e8565b60006001600160e01b0319821663b0caca3360e01b1480610819575061081982611825565b92915050565b60606000805461082e906128c6565b80601f016020809104026020016040519081016040528092919081815260200182805461085a906128c6565b80156108a75780601f1061087c576101008083540402835291602001916108a7565b820191906000526020600020905b81548152906001019060200180831161088a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661092f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6006546001600160a01b031633146109755760405162461bcd60e51b815260040161092690612780565b600c805460ff19811660ff90911615179055565b600061099482611069565b9050806001600160a01b0316836001600160a01b03161415610a025760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610926565b336001600160a01b0382161480610a1e5750610a1e8133611608565b610a905760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610926565b610a9a8383611875565b505050565b6000610aaa600f5490565b905090565b6006546001600160a01b03163314610ad95760405162461bcd60e51b815260040161092690612780565b600955565b610ae833826118e3565b610b045760405162461bcd60e51b8152600401610926906127b5565b610a9a8383836119ba565b6006546001600160a01b03163314610b395760405162461bcd60e51b815260040161092690612780565b83610b43600f5490565b14610b865760405162461bcd60e51b815260206004820152601360248201527215dc9bdb99c81d5c19185d19481bd9999cd95d606a1b6044820152606401610926565b6008548311610bd75760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f7420646563726561736520617661696c6162696c697479000000006044820152606401610926565b6040805160606020601f85018190040282018101835291810183815260009282919086908690819085018382808284376000920182905250938552505050602091820188905260108054600181018255915282518051939450849360029092027f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720192610c69928492909101906121e3565b50602082015181600101555050836008819055507f44cda4a18339e4d4aebd9b48e9b662c81faaa209778c02c2d06ed719ef516fc181604051610cac9190612806565b60405180910390a15050505050565b60108181548110610ccb57600080fd5b9060005260206000209060020201600091509050806000018054610cee906128c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1a906128c6565b8015610d675780601f10610d3c57610100808354040283529160200191610d67565b820191906000526020600020905b815481529060010190602001808311610d4a57829003601f168201915b5050505050908060010154905082565b6006546001600160a01b03163314610da15760405162461bcd60e51b815260040161092690612780565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600e546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610e10576040519150601f19603f3d011682016040523d82523d6000602084013e610e15565b606091505b5050905080610e595760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610926565b50565b600080610e698333611b5a565b91509150915091565b610a9a838383604051806020016040528060008152506113f0565b6000610e9a335b836118e3565b905080610ee95760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610926565b610ef282611ba5565b5050565b60065433906001600160a01b0316811480610f1e5750600d546001600160a01b038281169116145b610f6a5760405162461bcd60e51b815260206004820152601f60248201527f455243373231457874656e6465643a204e6f7420617574686f72697a656421006044820152606401610926565b60085483610f77600f5490565b610f819190612838565b11158015610f9157506009548311155b610fe75760405162461bcd60e51b815260206004820152602160248201527f455243373231457874656e6465643a204e6f7420656e6f75676820746f6b656e6044820152607360f81b6064820152608401610926565b8260096000828254610ff99190612883565b90915550600090505b838110156110265761101383611c40565b508061101e81612901565b915050611002565b50505050565b6006546001600160a01b031633146110565760405162461bcd60e51b815260040161092690612780565b8051610ef290600b9060208401906121e3565b6000818152600260205260408120546001600160a01b0316806108195760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610926565b600b80546110ed906128c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611119906128c6565b80156111665780601f1061113b57610100808354040283529160200191611166565b820191906000526020600020905b81548152906001019060200180831161114957829003601f168201915b505050505081565b60006001600160a01b0382166111d95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610926565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461121f5760405162461bcd60e51b815260040161092690612780565b6112296000611c66565b565b6006546001600160a01b031633146112555760405162461bcd60e51b815260040161092690612780565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031633146112a15760405162461bcd60e51b815260040161092690612780565b600755565b60606001805461082e906128c6565b6000806112c28484611b5a565b915091509250929050565b6001600160a01b0382163314156113265760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610926565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60606000601180546113a3906128c6565b9050116113bf5760405180602001604052806000815250610819565b60116113ca83611cb8565b6040516020016113db929190612615565b60405160208183030381529060405292915050565b6113f933610e94565b6114155760405162461bcd60e51b8152600401610926906127b5565b61102684848484611db6565b6006546001600160a01b0316331461144b5760405162461bcd60e51b815260040161092690612780565b600c80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000818152600260205260409020546060906001600160a01b03166114da5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610926565b6000600b80546114e9906128c6565b9050116115055760405180602001604052806000815250610819565b600b6113ca83611cb8565b60408051808201909152606081526000602082015260105415611605576010805461153d90600190612883565b8154811061154d5761154d61295c565b9060005260206000209060020201604051806040016040529081600082018054611576906128c6565b80601f01602080910402602001604051908101604052809291908181526020018280546115a2906128c6565b80156115ef5780601f106115c4576101008083540402835291602001916115ef565b820191906000526020600020905b8154815290600101906020018083116115d257829003601f168201915b5050505050815260200160018201548152505090505b90565b6013546000906001600160a01b038381169116141561162957506001610819565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff161561165f57506001610819565b60125460405163c455279160e01b81526001600160a01b03858116600483015291821691841690829063c45527919060240160206040518083038186803b1580156116a957600080fd5b505afa1580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e191906124a9565b6001600160a01b031614156116fa576001915050610819565b5060009392505050565b6006546001600160a01b0316331461172e5760405162461bcd60e51b815260040161092690612780565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b0316331461177a5760405162461bcd60e51b815260040161092690612780565b6001600160a01b0381166117df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610926565b610e5981611c66565b6006546001600160a01b031633146118125760405162461bcd60e51b815260040161092690612780565b8051610ef29060119060208401906121e3565b60006001600160e01b031982166380ac58cd60e01b148061185657506001600160e01b03198216635b5e139f60e01b145b8061081957506301ffc9a760e01b6001600160e01b0319831614610819565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118aa82611069565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661195c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610926565b600061196783611069565b9050806001600160a01b0316846001600160a01b031614806119a25750836001600160a01b0316611997846108b1565b6001600160a01b0316145b806119b257506119b28185611608565b949350505050565b826001600160a01b03166119cd82611069565b6001600160a01b031614611a355760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610926565b6001600160a01b038216611a975760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610926565b611aa2600082611875565b6001600160a01b0383166000908152600360205260408120805460019290611acb908490612883565b90915550506001600160a01b0382166000908152600360205260408120805460019290611af9908490612838565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080611b678484611de9565b60008060005b86811015611b9b57611b7e86611c40565b915080611b89578192505b80611b9381612901565b915050611b6d565b5090959350505050565b6000611bb082611069565b9050611bbd600083611875565b6001600160a01b0381166000908152600360205260408120805460019290611be6908490612883565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080611c4c600f5490565b9050611c588382611f64565b610819600f80546001019055565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606081611cdc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d065780611cf081612901565b9150611cff9050600a83612850565b9150611ce0565b60008167ffffffffffffffff811115611d2157611d21612972565b6040519080825280601f01601f191660200182016040528015611d4b576020820181803683370190505b5090505b84156119b257611d60600183612883565b9150611d6d600a8661291c565b611d78906030612838565b60f81b818381518110611d8d57611d8d61295c565b60200101906001600160f81b031916908160001a905350611daf600a86612850565b9450611d4f565b611dc18484846119ba565b611dcd848484846120a6565b6110265760405162461bcd60e51b81526004016109269061272e565b611df16121b3565b611e495760405162461bcd60e51b8152602060048201526024808201527f455243373231457874656e6465643a2053616c6573206e6f7420617574686f726044820152631a5e995960e21b6064820152608401610926565b600954600854611e599190612883565b600f5410611ea95760405162461bcd60e51b815260206004820152601960248201527f4e6f206d6f72652070696563657320617661696c61626c652e000000000000006044820152606401610926565b600a54821115611efb5760405162461bcd60e51b815260206004820152601c60248201527f455243373231457874656e6465643a20677265656479206d696e7421000000006044820152606401610926565b81600754611f099190612864565b341015610ef25760405162461bcd60e51b815260206004820152602360248201527f455243373231457874656e6465643a204e6f7420656e6f756768207061796d656044820152626e742160e81b6064820152608401610926565b6001600160a01b038216611fba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610926565b6000818152600260205260409020546001600160a01b03161561201f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610926565b6001600160a01b0382166000908152600360205260408120805460019290612048908490612838565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156121a857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120ea9033908990889088906004016126bc565b602060405180830381600087803b15801561210457600080fd5b505af1925050508015612134575060408051601f3d908101601f191682019092526121319181019061248c565b60015b61218e573d808015612162576040519150601f19603f3d011682016040523d82523d6000602084013e612167565b606091505b5080516121865760405162461bcd60e51b81526004016109269061272e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119b2565b506001949350505050565b600c5460009060ff1680610aaa5750600c5461010090046001600160a01b0316336001600160a01b031614905090565b8280546121ef906128c6565b90600052602060002090601f0160209004810192826122115760008555612257565b82601f1061222a57805160ff1916838001178555612257565b82800160010185558215612257579182015b8281111561225757825182559160200191906001019061223c565b50612263929150612267565b5090565b5b808211156122635760008155600101612268565b600067ffffffffffffffff8084111561229757612297612972565b604051601f8501601f19908116603f011681019082821181831017156122bf576122bf612972565b816040528093508581528686860111156122d857600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561230457600080fd5b813561230f81612988565b9392505050565b6000806040838503121561232957600080fd5b823561233481612988565b9150602083013561234481612988565b809150509250929050565b60008060006060848603121561236457600080fd5b833561236f81612988565b9250602084013561237f81612988565b929592945050506040919091013590565b600080600080608085870312156123a657600080fd5b84356123b181612988565b935060208501356123c181612988565b925060408501359150606085013567ffffffffffffffff8111156123e457600080fd5b8501601f810187136123f557600080fd5b6124048782356020840161227c565b91505092959194509250565b6000806040838503121561242357600080fd5b823561242e81612988565b91506020830135801515811461234457600080fd5b6000806040838503121561245657600080fd5b823561246181612988565b946020939093013593505050565b60006020828403121561248157600080fd5b813561230f8161299d565b60006020828403121561249e57600080fd5b815161230f8161299d565b6000602082840312156124bb57600080fd5b815161230f81612988565b6000602082840312156124d857600080fd5b813567ffffffffffffffff8111156124ef57600080fd5b8201601f8101841361250057600080fd5b6119b28482356020840161227c565b60006020828403121561252157600080fd5b5035919050565b6000806040838503121561253b57600080fd5b82359150602083013561234481612988565b6000806000806060858703121561256357600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561258957600080fd5b818701915087601f83011261259d57600080fd5b8135818111156125ac57600080fd5b8860208285010111156125be57600080fd5b95989497505060200194505050565b600081518084526125e581602086016020860161289a565b601f01601f19169290920160200192915050565b6000815161260b81856020860161289a565b9290920192915050565b600080845481600182811c91508083168061263157607f831692505b602080841082141561265157634e487b7160e01b86526022600452602486fd5b8180156126655760018114612676576126a3565b60ff198616895284890196506126a3565b60008b81526020902060005b8681101561269b5781548b820152908501908301612682565b505084890196505b5050505050506126b381856125f9565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126ef908301846125cd565b9695505050505050565b60208152600061230f60208301846125cd565b60408152600061271f60408301856125cd565b90508260208301529392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208152600082516040602084015261282260608401826125cd565b9050602084015160408401528091505092915050565b6000821982111561284b5761284b612930565b500190565b60008261285f5761285f612946565b500490565b600081600019048311821515161561287e5761287e612930565b500290565b60008282101561289557612895612930565b500390565b60005b838110156128b557818101518382015260200161289d565b838111156110265750506000910152565b600181811c908216806128da57607f821691505b602082108114156128fb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561291557612915612930565b5060010190565b60008261292b5761292b612946565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610e5957600080fd5b6001600160e01b031981168114610e5957600080fdfea26469706673582212203c86f858445e772633f638b9215df642ca80afd513f8d67474cb691aac1616d164736f6c634300080700330000000000000000000000000000000000000000000000000058d15e17628000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000260000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000af309cc0924169ccf01991e58b4b41fc56eb1dc500000000000000000000000000000000000000000000000000000000000000064672616d6573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064652414d45530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e6672616d65642e6170702f6672616d65732f0000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e6672616d65642e6170702f6672616d65642f00000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102725760003560e01c806370a082311161014f578063a22cb465116100c1578063cd7c03261161007a578063cd7c032614610732578063e2557f3714610752578063e985e9c514610774578063f0f4426014610794578063f2fde38b146107b4578063f38909a8146107d457600080fd5b8063a22cb4651461067c578063b0caca331461069c578063b1ec4f23146106bc578063b88d4fde146106d2578063bf2faf26146106f2578063c87b56dd1461071257600080fd5b80638da5cb5b116101135780638da5cb5b146105e0578063909023b5146105fe57806391b7f5ed1461061e57806395d89b411461063e5780639845c82714610653578063a035b1fe1461066657600080fd5b806370a082311461054c578063715018a61461056c57806371b9b646146105815780637809be201461059b578063829f5edf146105bb57600080fd5b806334d2b973116101e857806348a0d754116101ac57806348a0d754146104ab5780634c8ed230146104c1578063538a8c21146104e157806355f804b3146104f75780636352211e146105175780636c0360eb1461053757600080fd5b806334d2b9731461040e5780633ccfd60b1461042e5780633d5e81471461044357806342842e0e1461046b57806342966c681461048b57600080fd5b806318160ddd1161023a57806318160ddd1461033d5780631b710860146103605780631fcf59e31461038057806323b872dd146103a0578063262a045d146103c057806334461067146103e057600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce5780630876a65b14610306578063095ea7b31461031d575b600080fd5b34801561028357600080fd5b5061029761029236600461246f565b6107f4565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c161081f565b6040516102a391906126f9565b3480156102da57600080fd5b506102ee6102e936600461250f565b6108b1565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b5061031b61094b565b005b34801561032957600080fd5b5061031b610338366004612443565b610989565b34801561034957600080fd5b50610352610a9f565b6040519081526020016102a3565b34801561036c57600080fd5b506013546102ee906001600160a01b031681565b34801561038c57600080fd5b5061031b61039b36600461250f565b610aaf565b3480156103ac57600080fd5b5061031b6103bb36600461234f565b610ade565b3480156103cc57600080fd5b5061031b6103db36600461254d565b610b0f565b3480156103ec57600080fd5b506104006103fb36600461250f565b610cbb565b6040516102a392919061270c565b34801561041a57600080fd5b5061031b6104293660046122f2565b610d77565b34801561043a57600080fd5b5061031b610dc3565b61045661045136600461250f565b610e5c565b604080519283526020830191909152016102a3565b34801561047757600080fd5b5061031b61048636600461234f565b610e72565b34801561049757600080fd5b5061031b6104a636600461250f565b610e8d565b3480156104b757600080fd5b5061035260085481565b3480156104cd57600080fd5b5061031b6104dc366004612528565b610ef6565b3480156104ed57600080fd5b5061035260095481565b34801561050357600080fd5b5061031b6105123660046124c6565b61102c565b34801561052357600080fd5b506102ee61053236600461250f565b611069565b34801561054357600080fd5b506102c16110e0565b34801561055857600080fd5b506103526105673660046122f2565b61116e565b34801561057857600080fd5b5061031b6111f5565b34801561058d57600080fd5b50600c546102979060ff1681565b3480156105a757600080fd5b5061031b6105b63660046122f2565b61122b565b3480156105c757600080fd5b50600c546102ee9061010090046001600160a01b031681565b3480156105ec57600080fd5b506006546001600160a01b03166102ee565b34801561060a57600080fd5b50600d546102ee906001600160a01b031681565b34801561062a57600080fd5b5061031b61063936600461250f565b611277565b34801561064a57600080fd5b506102c16112a6565b610456610661366004612528565b6112b5565b34801561067257600080fd5b5061035260075481565b34801561068857600080fd5b5061031b610697366004612410565b6112cd565b3480156106a857600080fd5b506102c16106b736600461250f565b611392565b3480156106c857600080fd5b50610352600a5481565b3480156106de57600080fd5b5061031b6106ed366004612390565b6113f0565b3480156106fe57600080fd5b5061031b61070d3660046122f2565b611421565b34801561071e57600080fd5b506102c161072d36600461250f565b611473565b34801561073e57600080fd5b506012546102ee906001600160a01b031681565b34801561075e57600080fd5b50610767611510565b6040516102a39190612806565b34801561078057600080fd5b5061029761078f366004612316565b611608565b3480156107a057600080fd5b5061031b6107af3660046122f2565b611704565b3480156107c057600080fd5b5061031b6107cf3660046122f2565b611750565b3480156107e057600080fd5b5061031b6107ef3660046124c6565b6117e8565b60006001600160e01b0319821663b0caca3360e01b1480610819575061081982611825565b92915050565b60606000805461082e906128c6565b80601f016020809104026020016040519081016040528092919081815260200182805461085a906128c6565b80156108a75780601f1061087c576101008083540402835291602001916108a7565b820191906000526020600020905b81548152906001019060200180831161088a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661092f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6006546001600160a01b031633146109755760405162461bcd60e51b815260040161092690612780565b600c805460ff19811660ff90911615179055565b600061099482611069565b9050806001600160a01b0316836001600160a01b03161415610a025760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610926565b336001600160a01b0382161480610a1e5750610a1e8133611608565b610a905760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610926565b610a9a8383611875565b505050565b6000610aaa600f5490565b905090565b6006546001600160a01b03163314610ad95760405162461bcd60e51b815260040161092690612780565b600955565b610ae833826118e3565b610b045760405162461bcd60e51b8152600401610926906127b5565b610a9a8383836119ba565b6006546001600160a01b03163314610b395760405162461bcd60e51b815260040161092690612780565b83610b43600f5490565b14610b865760405162461bcd60e51b815260206004820152601360248201527215dc9bdb99c81d5c19185d19481bd9999cd95d606a1b6044820152606401610926565b6008548311610bd75760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f7420646563726561736520617661696c6162696c697479000000006044820152606401610926565b6040805160606020601f85018190040282018101835291810183815260009282919086908690819085018382808284376000920182905250938552505050602091820188905260108054600181018255915282518051939450849360029092027f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720192610c69928492909101906121e3565b50602082015181600101555050836008819055507f44cda4a18339e4d4aebd9b48e9b662c81faaa209778c02c2d06ed719ef516fc181604051610cac9190612806565b60405180910390a15050505050565b60108181548110610ccb57600080fd5b9060005260206000209060020201600091509050806000018054610cee906128c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1a906128c6565b8015610d675780601f10610d3c57610100808354040283529160200191610d67565b820191906000526020600020905b815481529060010190602001808311610d4a57829003601f168201915b5050505050908060010154905082565b6006546001600160a01b03163314610da15760405162461bcd60e51b815260040161092690612780565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b600e546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610e10576040519150601f19603f3d011682016040523d82523d6000602084013e610e15565b606091505b5050905080610e595760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610926565b50565b600080610e698333611b5a565b91509150915091565b610a9a838383604051806020016040528060008152506113f0565b6000610e9a335b836118e3565b905080610ee95760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610926565b610ef282611ba5565b5050565b60065433906001600160a01b0316811480610f1e5750600d546001600160a01b038281169116145b610f6a5760405162461bcd60e51b815260206004820152601f60248201527f455243373231457874656e6465643a204e6f7420617574686f72697a656421006044820152606401610926565b60085483610f77600f5490565b610f819190612838565b11158015610f9157506009548311155b610fe75760405162461bcd60e51b815260206004820152602160248201527f455243373231457874656e6465643a204e6f7420656e6f75676820746f6b656e6044820152607360f81b6064820152608401610926565b8260096000828254610ff99190612883565b90915550600090505b838110156110265761101383611c40565b508061101e81612901565b915050611002565b50505050565b6006546001600160a01b031633146110565760405162461bcd60e51b815260040161092690612780565b8051610ef290600b9060208401906121e3565b6000818152600260205260408120546001600160a01b0316806108195760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610926565b600b80546110ed906128c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611119906128c6565b80156111665780601f1061113b57610100808354040283529160200191611166565b820191906000526020600020905b81548152906001019060200180831161114957829003601f168201915b505050505081565b60006001600160a01b0382166111d95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610926565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461121f5760405162461bcd60e51b815260040161092690612780565b6112296000611c66565b565b6006546001600160a01b031633146112555760405162461bcd60e51b815260040161092690612780565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031633146112a15760405162461bcd60e51b815260040161092690612780565b600755565b60606001805461082e906128c6565b6000806112c28484611b5a565b915091509250929050565b6001600160a01b0382163314156113265760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610926565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60606000601180546113a3906128c6565b9050116113bf5760405180602001604052806000815250610819565b60116113ca83611cb8565b6040516020016113db929190612615565b60405160208183030381529060405292915050565b6113f933610e94565b6114155760405162461bcd60e51b8152600401610926906127b5565b61102684848484611db6565b6006546001600160a01b0316331461144b5760405162461bcd60e51b815260040161092690612780565b600c80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000818152600260205260409020546060906001600160a01b03166114da5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610926565b6000600b80546114e9906128c6565b9050116115055760405180602001604052806000815250610819565b600b6113ca83611cb8565b60408051808201909152606081526000602082015260105415611605576010805461153d90600190612883565b8154811061154d5761154d61295c565b9060005260206000209060020201604051806040016040529081600082018054611576906128c6565b80601f01602080910402602001604051908101604052809291908181526020018280546115a2906128c6565b80156115ef5780601f106115c4576101008083540402835291602001916115ef565b820191906000526020600020905b8154815290600101906020018083116115d257829003601f168201915b5050505050815260200160018201548152505090505b90565b6013546000906001600160a01b038381169116141561162957506001610819565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff161561165f57506001610819565b60125460405163c455279160e01b81526001600160a01b03858116600483015291821691841690829063c45527919060240160206040518083038186803b1580156116a957600080fd5b505afa1580156116bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e191906124a9565b6001600160a01b031614156116fa576001915050610819565b5060009392505050565b6006546001600160a01b0316331461172e5760405162461bcd60e51b815260040161092690612780565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b0316331461177a5760405162461bcd60e51b815260040161092690612780565b6001600160a01b0381166117df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610926565b610e5981611c66565b6006546001600160a01b031633146118125760405162461bcd60e51b815260040161092690612780565b8051610ef29060119060208401906121e3565b60006001600160e01b031982166380ac58cd60e01b148061185657506001600160e01b03198216635b5e139f60e01b145b8061081957506301ffc9a760e01b6001600160e01b0319831614610819565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118aa82611069565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661195c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610926565b600061196783611069565b9050806001600160a01b0316846001600160a01b031614806119a25750836001600160a01b0316611997846108b1565b6001600160a01b0316145b806119b257506119b28185611608565b949350505050565b826001600160a01b03166119cd82611069565b6001600160a01b031614611a355760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610926565b6001600160a01b038216611a975760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610926565b611aa2600082611875565b6001600160a01b0383166000908152600360205260408120805460019290611acb908490612883565b90915550506001600160a01b0382166000908152600360205260408120805460019290611af9908490612838565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080611b678484611de9565b60008060005b86811015611b9b57611b7e86611c40565b915080611b89578192505b80611b9381612901565b915050611b6d565b5090959350505050565b6000611bb082611069565b9050611bbd600083611875565b6001600160a01b0381166000908152600360205260408120805460019290611be6908490612883565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080611c4c600f5490565b9050611c588382611f64565b610819600f80546001019055565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606081611cdc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d065780611cf081612901565b9150611cff9050600a83612850565b9150611ce0565b60008167ffffffffffffffff811115611d2157611d21612972565b6040519080825280601f01601f191660200182016040528015611d4b576020820181803683370190505b5090505b84156119b257611d60600183612883565b9150611d6d600a8661291c565b611d78906030612838565b60f81b818381518110611d8d57611d8d61295c565b60200101906001600160f81b031916908160001a905350611daf600a86612850565b9450611d4f565b611dc18484846119ba565b611dcd848484846120a6565b6110265760405162461bcd60e51b81526004016109269061272e565b611df16121b3565b611e495760405162461bcd60e51b8152602060048201526024808201527f455243373231457874656e6465643a2053616c6573206e6f7420617574686f726044820152631a5e995960e21b6064820152608401610926565b600954600854611e599190612883565b600f5410611ea95760405162461bcd60e51b815260206004820152601960248201527f4e6f206d6f72652070696563657320617661696c61626c652e000000000000006044820152606401610926565b600a54821115611efb5760405162461bcd60e51b815260206004820152601c60248201527f455243373231457874656e6465643a20677265656479206d696e7421000000006044820152606401610926565b81600754611f099190612864565b341015610ef25760405162461bcd60e51b815260206004820152602360248201527f455243373231457874656e6465643a204e6f7420656e6f756768207061796d656044820152626e742160e81b6064820152608401610926565b6001600160a01b038216611fba5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610926565b6000818152600260205260409020546001600160a01b03161561201f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610926565b6001600160a01b0382166000908152600360205260408120805460019290612048908490612838565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156121a857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120ea9033908990889088906004016126bc565b602060405180830381600087803b15801561210457600080fd5b505af1925050508015612134575060408051601f3d908101601f191682019092526121319181019061248c565b60015b61218e573d808015612162576040519150601f19603f3d011682016040523d82523d6000602084013e612167565b606091505b5080516121865760405162461bcd60e51b81526004016109269061272e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119b2565b506001949350505050565b600c5460009060ff1680610aaa5750600c5461010090046001600160a01b0316336001600160a01b031614905090565b8280546121ef906128c6565b90600052602060002090601f0160209004810192826122115760008555612257565b82601f1061222a57805160ff1916838001178555612257565b82800160010185558215612257579182015b8281111561225757825182559160200191906001019061223c565b50612263929150612267565b5090565b5b808211156122635760008155600101612268565b600067ffffffffffffffff8084111561229757612297612972565b604051601f8501601f19908116603f011681019082821181831017156122bf576122bf612972565b816040528093508581528686860111156122d857600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561230457600080fd5b813561230f81612988565b9392505050565b6000806040838503121561232957600080fd5b823561233481612988565b9150602083013561234481612988565b809150509250929050565b60008060006060848603121561236457600080fd5b833561236f81612988565b9250602084013561237f81612988565b929592945050506040919091013590565b600080600080608085870312156123a657600080fd5b84356123b181612988565b935060208501356123c181612988565b925060408501359150606085013567ffffffffffffffff8111156123e457600080fd5b8501601f810187136123f557600080fd5b6124048782356020840161227c565b91505092959194509250565b6000806040838503121561242357600080fd5b823561242e81612988565b91506020830135801515811461234457600080fd5b6000806040838503121561245657600080fd5b823561246181612988565b946020939093013593505050565b60006020828403121561248157600080fd5b813561230f8161299d565b60006020828403121561249e57600080fd5b815161230f8161299d565b6000602082840312156124bb57600080fd5b815161230f81612988565b6000602082840312156124d857600080fd5b813567ffffffffffffffff8111156124ef57600080fd5b8201601f8101841361250057600080fd5b6119b28482356020840161227c565b60006020828403121561252157600080fd5b5035919050565b6000806040838503121561253b57600080fd5b82359150602083013561234481612988565b6000806000806060858703121561256357600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561258957600080fd5b818701915087601f83011261259d57600080fd5b8135818111156125ac57600080fd5b8860208285010111156125be57600080fd5b95989497505060200194505050565b600081518084526125e581602086016020860161289a565b601f01601f19169290920160200192915050565b6000815161260b81856020860161289a565b9290920192915050565b600080845481600182811c91508083168061263157607f831692505b602080841082141561265157634e487b7160e01b86526022600452602486fd5b8180156126655760018114612676576126a3565b60ff198616895284890196506126a3565b60008b81526020902060005b8681101561269b5781548b820152908501908301612682565b505084890196505b5050505050506126b381856125f9565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126ef908301846125cd565b9695505050505050565b60208152600061230f60208301846125cd565b60408152600061271f60408301856125cd565b90508260208301529392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208152600082516040602084015261282260608401826125cd565b9050602084015160408401528091505092915050565b6000821982111561284b5761284b612930565b500190565b60008261285f5761285f612946565b500490565b600081600019048311821515161561287e5761287e612930565b500290565b60008282101561289557612895612930565b500390565b60005b838110156128b557818101518382015260200161289d565b838111156110265750506000910152565b600181811c908216806128da57607f821691505b602082108114156128fb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561291557612915612930565b5060010190565b60008261292b5761292b612946565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610e5957600080fd5b6001600160e01b031981168114610e5957600080fdfea26469706673582212203c86f858445e772633f638b9215df642ca80afd513f8d67474cb691aac1616d164736f6c63430008070033

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

0000000000000000000000000000000000000000000000000058d15e17628000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000260000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000af309cc0924169ccf01991e58b4b41fc56eb1dc500000000000000000000000000000000000000000000000000000000000000064672616d6573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064652414d45530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e6672616d65642e6170702f6672616d65732f0000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e6672616d65642e6170702f6672616d65642f00000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _price (uint256): 25000000000000000
Arg [1] : name (string): Frames
Arg [2] : symbol (string): FRAMES
Arg [3] : baseTokenURI (string): https://api.framed.app/frames/
Arg [4] : _baseFramedURI (string): https://api.framed.app/framed/
Arg [5] : _maxMultiple (uint256): 20
Arg [6] : _available (uint256): 0
Arg [7] : _saleEnabled (bool): False
Arg [8] : record (string):
Arg [9] : _openseaProxy (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [10] : _framerAddress (address): 0xAf309cC0924169ccF01991E58b4b41FC56Eb1DC5

-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000058d15e17628000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [9] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [10] : 000000000000000000000000af309cc0924169ccf01991e58b4b41fc56eb1dc5
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [12] : 4672616d65730000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [14] : 4652414d45530000000000000000000000000000000000000000000000000000
Arg [15] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [16] : 68747470733a2f2f6170692e6672616d65642e6170702f6672616d65732f0000
Arg [17] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [18] : 68747470733a2f2f6170692e6672616d65642e6170702f6672616d65642f0000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.