ERC-721
Overview
Max Total Supply
18 OVT
Holders
15
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 OVTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OVT
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./meta-transactions/ContentMixin.sol"; import "./meta-transactions/NativeMetaTransaction.sol"; contract OwnableDelegateProxy {} /** * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract OVT is ERC721URIStorage, Ownable, ContextMixin, NativeMetaTransaction { using Counters for Counters.Counter; using SafeMath for uint256; Counters.Counter private _tokenIds; string private _baseTokenURI; address proxyRegistryAddress; // Mapping of cardIds to how many exist mapping(uint256 => uint256) private _supplyOfCards; struct Card { // maximum purchase allowed uint256 maxPurchase; // the maxiumum supply allowed uint256 maxSupply; // the price of the card uint256 price; } event CardsAdded( uint256 cardId, uint256 maxPurchase, uint256 maxSupply, uint256 price ); Card[] private cards; constructor(string memory baseTokenURI, address _proxyRegistryAddress) ERC721("Ovation", "OVT") { _baseTokenURI = baseTokenURI; proxyRegistryAddress = _proxyRegistryAddress; // initialise tokenId to 1, since starting at 0 leads to higher gas cost for the first minter _tokenIds.increment(); _initializeEIP712("Ovation"); } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function baseURI() public view returns (string memory) { return _baseURI(); } function changebaseURI(string memory newBaseURI) public onlyOwner returns (string memory) { _baseTokenURI = newBaseURI; return _baseTokenURI; } // Add a cardId instance function addCards( uint256 maxPurchase, uint256 maxSupply, uint256 price ) public onlyOwner { // push new cards to array cards.push(Card(maxPurchase, maxSupply, price)); // get the new length of cards array/new cards id uint256 cardId = cards.length - 1; // emit an event with all this info emit CardsAdded(cardId, maxPurchase, maxSupply, price); } // internal func to add cards when minted to the supply tracking function addToSupply(uint256 cardId, uint256 amount) internal { uint256 newAmount = _supplyOfCards[cardId].add(amount); _supplyOfCards[cardId] = newAmount; } function supplyOfCard(uint256 cardId) public view returns (uint256) { return _supplyOfCards[cardId]; } // Main mint function function mintOVT( address account, uint256 cardId, uint256 amount ) public payable { // check how this behaves // appears to check 3 things at once // 1.)supply isn't maxed already // 2.)that the purchase won't exceed the max supply // 3.)if the card even exists (conseqeuntially) require( supplyOfCard(cardId).add(amount) <= cards[cardId].maxSupply, "Purchase would exceed max supply of card" ); // check that user may purchase as many cards as they are attempting require( amount <= cards[cardId].maxPurchase, "You may not mint this many of this card at once" ); // check the value sent is correct require( cards[cardId].price.mul(amount) <= msg.value, "Ether value sent is not correct" ); addToSupply(cardId, amount); string memory _tokenURI = Strings.toString(cardId); for (uint256 i = 0; i < amount; i++) { // get the new item's id uint256 newItemId = _tokenIds.current(); // set counter ready for next time _tokenIds.increment(); _mint(account, newItemId); _setTokenURI(newItemId, _tokenURI); } } // total tokens minted function totalSupply() public view returns (uint256) { return _tokenIds.current() - 1; } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal view override returns (address sender) { return ContextMixin.msgSender(); } // The following functions are overrides required by Solidity. function _burn(uint256 tokenId) internal override(ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol"; import { EIP712Base } from "./EIP712Base.sol"; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address payable relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted( userAddress, payable(msg.sender), functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) 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 overridden 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import { Initializable } from "./Initializable.sol"; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string public constant ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712(string memory name) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"cardId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxPurchase","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"CardsAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPurchase","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"addCards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"changebaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","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":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"cardId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintOVT","outputs":[],"stateMutability":"payable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cardId","type":"uint256"}],"name":"supplyOfCard","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600760146101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051620051d7380380620051d78339818101604052810190620000529190620005ff565b6040518060400160405280600781526020017f4f766174696f6e000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4f565400000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d6929190620004ba565b508060019080519060200190620000ef929190620004ba565b5050506200011262000106620001d160201b60201c565b620001ed60201b60201c565b81600b90805190602001906200012a929190620004ba565b5080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000183600a620002b360201b620017e31760201c565b620001c96040518060400160405280600781526020017f4f766174696f6e00000000000000000000000000000000000000000000000000815250620002c960201b60201c565b505062000943565b6000620001e86200034b60201b620017f91760201c565b905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600760149054906101000a900460ff16156200031c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000313906200070b565b60405180910390fd5b6200032d81620003fe60201b60201c565b6001600760146101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620003f757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620003fb565b3390505b90565b6040518060800160405280604f815260200162005188604f91398051906020012081805190602001206040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250805190602001203062000475620004ad60201b60201c565b60001b6040516020016200048e959493929190620006ae565b6040516020818303038152906040528051906020012060088190555050565b6000804690508091505090565b828054620004c89062000811565b90600052602060002090601f016020900481019282620004ec576000855562000538565b82601f106200050757805160ff191683800117855562000538565b8280016001018555821562000538579182015b82811115620005375782518255916020019190600101906200051a565b5b5090506200054791906200054b565b5090565b5b80821115620005665760008160009055506001016200054c565b5090565b6000620005816200057b8462000756565b6200072d565b905082815260208101848484011115620005a0576200059f620008e0565b5b620005ad848285620007db565b509392505050565b600081519050620005c68162000929565b92915050565b600082601f830112620005e457620005e3620008db565b5b8151620005f68482602086016200056a565b91505092915050565b60008060408385031215620006195762000618620008ea565b5b600083015167ffffffffffffffff8111156200063a5762000639620008e5565b5b6200064885828601620005cc565b92505060206200065b85828601620005b5565b9150509250929050565b62000670816200079d565b82525050565b6200068181620007b1565b82525050565b600062000696600e836200078c565b9150620006a38262000900565b602082019050919050565b600060a082019050620006c5600083018862000676565b620006d4602083018762000676565b620006e3604083018662000676565b620006f2606083018562000665565b62000701608083018462000676565b9695505050505050565b60006020820190508181036000830152620007268162000687565b9050919050565b6000620007396200074c565b905062000747828262000847565b919050565b6000604051905090565b600067ffffffffffffffff821115620007745762000773620008ac565b5b6200077f82620008ef565b9050602081019050919050565b600082825260208201905092915050565b6000620007aa82620007bb565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620007fb578082015181840152602081019050620007de565b838111156200080b576000848401525b50505050565b600060028204905060018216806200082a57607f821691505b602082108114156200084157620008406200087d565b5b50919050565b6200085282620008ef565b810181811067ffffffffffffffff82111715620008745762000873620008ac565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b62000934816200079d565b81146200094057600080fd5b50565b61483580620009536000396000f3fe6080604052600436106101b75760003560e01c806342842e0e116100ec5780638da5cb5b1161008a578063b88d4fde11610064578063b88d4fde14610606578063c87b56dd1461062f578063e985e9c51461066c578063f2fde38b146106a9576101b7565b80638da5cb5b1461058757806395d89b41146105b2578063a22cb465146105dd576101b7565b80636c0360eb116100c65780636c0360eb146104cb57806370a08231146104f6578063715018a61461053357806379baaf981461054a576101b7565b806342842e0e14610428578063560f45ca146104515780636352211e1461048e576101b7565b806320379ee51161015957806331020d4d1161013357806331020d4d146103a15780633408e470146103ca5780633ccfd60b146103f55780633e6faa261461040c576101b7565b806320379ee51461031057806323b872dd1461033b5780632d0335ab14610364576101b7565b8063095ea7b311610195578063095ea7b3146102615780630c53c51c1461028a5780630f7e5970146102ba57806318160ddd146102e5576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612fb1565b6106d2565b6040516101f09190613707565b60405180910390f35b34801561020557600080fd5b5061020e6107b4565b60405161021b91906137e9565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190613081565b610846565b6040516102589190613662565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190612f1e565b6108cb565b005b6102a4600480360381019061029f9190612e87565b6109e3565b6040516102b191906137c7565b60405180910390f35b3480156102c657600080fd5b506102cf610c55565b6040516102dc91906137e9565b60405180910390f35b3480156102f157600080fd5b506102fa610c8e565b6040516103079190613b0b565b60405180910390f35b34801561031c57600080fd5b50610325610cab565b6040516103329190613722565b60405180910390f35b34801561034757600080fd5b50610362600480360381019061035d9190612d71565b610cb5565b005b34801561037057600080fd5b5061038b60048036038101906103869190612d04565b610d15565b6040516103989190613b0b565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c391906130ae565b610d5e565b005b3480156103d657600080fd5b506103df610e99565b6040516103ec9190613b0b565b60405180910390f35b34801561040157600080fd5b5061040a610ea6565b005b61042660048036038101906104219190612f5e565b610f71565b005b34801561043457600080fd5b5061044f600480360381019061044a9190612d71565b61113e565b005b34801561045d57600080fd5b5061047860048036038101906104739190613038565b61115e565b60405161048591906137e9565b60405180910390f35b34801561049a57600080fd5b506104b560048036038101906104b09190613081565b611285565b6040516104c29190613662565b60405180910390f35b3480156104d757600080fd5b506104e0611337565b6040516104ed91906137e9565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190612d04565b611346565b60405161052a9190613b0b565b60405180910390f35b34801561053f57600080fd5b506105486113fe565b005b34801561055657600080fd5b50610571600480360381019061056c9190613081565b611486565b60405161057e9190613b0b565b60405180910390f35b34801561059357600080fd5b5061059c6114a3565b6040516105a99190613662565b60405180910390f35b3480156105be57600080fd5b506105c76114cd565b6040516105d491906137e9565b60405180910390f35b3480156105e957600080fd5b5061060460048036038101906105ff9190612e47565b61155f565b005b34801561061257600080fd5b5061062d60048036038101906106289190612dc4565b611575565b005b34801561063b57600080fd5b5061065660048036038101906106519190613081565b6115d7565b60405161066391906137e9565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e9190612d31565b6115e9565b6040516106a09190613707565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190612d04565b6116eb565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107ad57506107ac826118aa565b5b9050919050565b6060600080546107c390613e46565b80601f01602080910402602001604051908101604052809291908181526020018280546107ef90613e46565b801561083c5780601f106108115761010080835404028352916020019161083c565b820191906000526020600020905b81548152906001019060200180831161081f57829003601f168201915b5050505050905090565b600061085182611914565b610890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088790613a2b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d682611285565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093e90613acb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610966611980565b73ffffffffffffffffffffffffffffffffffffffff16148061099557506109948161098f611980565b6115e9565b5b6109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061396b565b60405180910390fd5b6109de838361198f565b505050565b606060006040518060600160405280600960008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610a668782878787611a48565b610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613a6b565b60405180910390fd5b610af86001600960008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b5190919063ffffffff16565b600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610b6e9392919061367d565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610ba39291906135df565b604051602081830303815290604052604051610bbf91906135c8565b6000604051808303816000865af19150503d8060008114610bfc576040519150601f19603f3d011682016040523d82523d6000602084013e610c01565b606091505b509150915081610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d9061384b565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60006001610c9c600a611b67565b610ca69190613d21565b905090565b6000600854905090565b610cc6610cc0611980565b82611b75565b610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90613aeb565b60405180910390fd5b610d10838383611c53565b505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d66611980565b73ffffffffffffffffffffffffffffffffffffffff16610d846114a3565b73ffffffffffffffffffffffffffffffffffffffff1614610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd190613a4b565b60405180910390fd5b600e6040518060600160405280858152602001848152602001838152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020155505060006001600e80549050610e549190613d21565b90507f9a0d89c6d3e6fd71149227cf7895dc2d812d7aaf7617a9c416b0b229bc60a05781858585604051610e8b9493929190613b26565b60405180910390a150505050565b6000804690508091505090565b610eae611980565b73ffffffffffffffffffffffffffffffffffffffff16610ecc6114a3565b73ffffffffffffffffffffffffffffffffffffffff1614610f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1990613a4b565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f6d573d6000803e3d6000fd5b5050565b600e8281548110610f8557610f84613fde565b5b906000526020600020906003020160010154610fb282610fa485611486565b611b5190919063ffffffff16565b1115610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea90613aab565b60405180910390fd5b600e828154811061100757611006613fde565b5b90600052602060002090600302016000015481111561105b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110529061394b565b60405180910390fd5b3461109482600e858154811061107457611073613fde565b5b906000526020600020906003020160020154611eba90919063ffffffff16565b11156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc906138eb565b60405180910390fd5b6110df8282611ed0565b60006110ea83611f17565b905060005b82811015611137576000611103600a611b67565b905061110f600a6117e3565b6111198682612078565b6111238184612252565b50808061112f90613ea9565b9150506110ef565b5050505050565b61115983838360405180602001604052806000815250611575565b505050565b6060611168611980565b73ffffffffffffffffffffffffffffffffffffffff166111866114a3565b73ffffffffffffffffffffffffffffffffffffffff16146111dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d390613a4b565b60405180910390fd5b81600b90805190602001906111f2929190612ad9565b50600b805461120090613e46565b80601f016020809104026020016040519081016040528092919081815260200182805461122c90613e46565b80156112795780601f1061124e57610100808354040283529160200191611279565b820191906000526020600020905b81548152906001019060200180831161125c57829003601f168201915b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561132e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611325906139ab565b60405180910390fd5b80915050919050565b60606113416122c6565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ae9061398b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611406611980565b73ffffffffffffffffffffffffffffffffffffffff166114246114a3565b73ffffffffffffffffffffffffffffffffffffffff161461147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190613a4b565b60405180910390fd5b6114846000612358565b565b6000600d6000838152602001908152602001600020549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114dc90613e46565b80601f016020809104026020016040519081016040528092919081815260200182805461150890613e46565b80156115555780601f1061152a57610100808354040283529160200191611555565b820191906000526020600020905b81548152906001019060200180831161153857829003601f168201915b5050505050905090565b61157161156a611980565b838361241e565b5050565b611586611580611980565b83611b75565b6115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90613aeb565b60405180910390fd5b6115d18484848461258b565b50505050565b60606115e2826125e7565b9050919050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016116619190613662565b60206040518083038186803b15801561167957600080fd5b505afa15801561168d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b1919061300b565b73ffffffffffffffffffffffffffffffffffffffff1614156116d75760019150506116e5565b6116e18484612739565b9150505b92915050565b6116f3611980565b73ffffffffffffffffffffffffffffffffffffffff166117116114a3565b73ffffffffffffffffffffffffffffffffffffffff1614611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90613a4b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce9061382b565b60405180910390fd5b6117e081612358565b50565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156118a357600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506118a7565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061198a6117f9565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a0283611285565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab09061392b565b60405180910390fd5b6001611acc611ac7876127cd565b612835565b83868660405160008152602001604052604051611aec9493929190613782565b6020604051602081039080840390855afa158015611b0e573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183611b5f9190613c40565b905092915050565b600081600001549050919050565b6000611b8082611914565b611bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb69061390b565b60405180910390fd5b6000611bca83611285565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c0c5750611c0b81856115e9565b5b80611c4a57508373ffffffffffffffffffffffffffffffffffffffff16611c3284610846565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c7382611285565b73ffffffffffffffffffffffffffffffffffffffff1614611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc09061386b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d30906138ab565b60405180910390fd5b611d4483838361286e565b611d4f60008261198f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d9f9190613d21565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df69190613c40565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611eb5838383612873565b505050565b60008183611ec89190613cc7565b905092915050565b6000611ef882600d600086815260200190815260200160002054611b5190919063ffffffff16565b905080600d600085815260200190815260200160002081905550505050565b60606000821415611f5f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612073565b600082905060005b60008214611f91578080611f7a90613ea9565b915050600a82611f8a9190613c96565b9150611f67565b60008167ffffffffffffffff811115611fad57611fac61400d565b5b6040519080825280601f01601f191660200182016040528015611fdf5781602001600182028036833780820191505090505b5090505b6000851461206c57600182611ff89190613d21565b9150600a856120079190613f20565b60306120139190613c40565b60f81b81838151811061202957612028613fde565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120659190613c96565b9450611fe3565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df906139eb565b60405180910390fd5b6120f181611914565b15612131576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121289061388b565b60405180910390fd5b61213d6000838361286e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461218d9190613c40565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461224e60008383612873565b5050565b61225b82611914565b61229a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612291906139cb565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906122c1929190612ad9565b505050565b6060600b80546122d590613e46565b80601f016020809104026020016040519081016040528092919081815260200182805461230190613e46565b801561234e5780601f106123235761010080835404028352916020019161234e565b820191906000526020600020905b81548152906001019060200180831161233157829003601f168201915b5050505050905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561248d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612484906138cb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161257e9190613707565b60405180910390a3505050565b612596848484611c53565b6125a284848484612878565b6125e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d89061380b565b60405180910390fd5b50505050565b60606125f282611914565b612631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262890613a0b565b60405180910390fd5b600060066000848152602001908152602001600020805461265190613e46565b80601f016020809104026020016040519081016040528092919081815260200182805461267d90613e46565b80156126ca5780601f1061269f576101008083540402835291602001916126ca565b820191906000526020600020905b8154815290600101906020018083116126ad57829003601f168201915b5050505050905060006126db6122c6565b90506000815114156126f1578192505050612734565b60008251111561272657808260405160200161270e929190613607565b60405160208183030381529060405292505050612734565b61272f84612a0f565b925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006040518060800160405280604381526020016147bd604391398051906020012082600001518360200151846040015180519060200120604051602001612818949392919061373d565b604051602081830303815290604052805190602001209050919050565b600061283f610cab565b8260405160200161285192919061362b565b604051602081830303815290604052805190602001209050919050565b505050565b505050565b60006128998473ffffffffffffffffffffffffffffffffffffffff16612ab6565b15612a02578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128c2611980565b8786866040518563ffffffff1660e01b81526004016128e494939291906136bb565b602060405180830381600087803b1580156128fe57600080fd5b505af192505050801561292f57506040513d601f19601f8201168201806040525081019061292c9190612fde565b60015b6129b2573d806000811461295f576040519150601f19603f3d011682016040523d82523d6000602084013e612964565b606091505b506000815114156129aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a19061380b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a07565b600190505b949350505050565b6060612a1a82611914565b612a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5090613a8b565b60405180910390fd5b6000612a636122c6565b90506000815111612a835760405180602001604052806000815250612aae565b80612a8d84611f17565b604051602001612a9e929190613607565b6040516020818303038152906040525b915050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612ae590613e46565b90600052602060002090601f016020900481019282612b075760008555612b4e565b82601f10612b2057805160ff1916838001178555612b4e565b82800160010185558215612b4e579182015b82811115612b4d578251825591602001919060010190612b32565b5b509050612b5b9190612b5f565b5090565b5b80821115612b78576000816000905550600101612b60565b5090565b6000612b8f612b8a84613b90565b613b6b565b905082815260208101848484011115612bab57612baa614041565b5b612bb6848285613e04565b509392505050565b6000612bd1612bcc84613bc1565b613b6b565b905082815260208101848484011115612bed57612bec614041565b5b612bf8848285613e04565b509392505050565b600081359050612c0f8161471b565b92915050565b600081359050612c2481614732565b92915050565b600081359050612c3981614749565b92915050565b600081359050612c4e81614760565b92915050565b600081519050612c6381614760565b92915050565b600082601f830112612c7e57612c7d61403c565b5b8135612c8e848260208601612b7c565b91505092915050565b600081519050612ca681614777565b92915050565b600082601f830112612cc157612cc061403c565b5b8135612cd1848260208601612bbe565b91505092915050565b600081359050612ce98161478e565b92915050565b600081359050612cfe816147a5565b92915050565b600060208284031215612d1a57612d1961404b565b5b6000612d2884828501612c00565b91505092915050565b60008060408385031215612d4857612d4761404b565b5b6000612d5685828601612c00565b9250506020612d6785828601612c00565b9150509250929050565b600080600060608486031215612d8a57612d8961404b565b5b6000612d9886828701612c00565b9350506020612da986828701612c00565b9250506040612dba86828701612cda565b9150509250925092565b60008060008060808587031215612dde57612ddd61404b565b5b6000612dec87828801612c00565b9450506020612dfd87828801612c00565b9350506040612e0e87828801612cda565b925050606085013567ffffffffffffffff811115612e2f57612e2e614046565b5b612e3b87828801612c69565b91505092959194509250565b60008060408385031215612e5e57612e5d61404b565b5b6000612e6c85828601612c00565b9250506020612e7d85828601612c15565b9150509250929050565b600080600080600060a08688031215612ea357612ea261404b565b5b6000612eb188828901612c00565b955050602086013567ffffffffffffffff811115612ed257612ed1614046565b5b612ede88828901612c69565b9450506040612eef88828901612c2a565b9350506060612f0088828901612c2a565b9250506080612f1188828901612cef565b9150509295509295909350565b60008060408385031215612f3557612f3461404b565b5b6000612f4385828601612c00565b9250506020612f5485828601612cda565b9150509250929050565b600080600060608486031215612f7757612f7661404b565b5b6000612f8586828701612c00565b9350506020612f9686828701612cda565b9250506040612fa786828701612cda565b9150509250925092565b600060208284031215612fc757612fc661404b565b5b6000612fd584828501612c3f565b91505092915050565b600060208284031215612ff457612ff361404b565b5b600061300284828501612c54565b91505092915050565b6000602082840312156130215761302061404b565b5b600061302f84828501612c97565b91505092915050565b60006020828403121561304e5761304d61404b565b5b600082013567ffffffffffffffff81111561306c5761306b614046565b5b61307884828501612cac565b91505092915050565b6000602082840312156130975761309661404b565b5b60006130a584828501612cda565b91505092915050565b6000806000606084860312156130c7576130c661404b565b5b60006130d586828701612cda565b93505060206130e686828701612cda565b92505060406130f786828701612cda565b9150509250925092565b61310a81613d67565b82525050565b61311981613d55565b82525050565b61313061312b82613d55565b613ef2565b82525050565b61313f81613d79565b82525050565b61314e81613d85565b82525050565b61316561316082613d85565b613f04565b82525050565b600061317682613bf2565b6131808185613c08565b9350613190818560208601613e13565b61319981614050565b840191505092915050565b60006131af82613bf2565b6131b98185613c19565b93506131c9818560208601613e13565b80840191505092915050565b60006131e082613bfd565b6131ea8185613c24565b93506131fa818560208601613e13565b61320381614050565b840191505092915050565b600061321982613bfd565b6132238185613c35565b9350613233818560208601613e13565b80840191505092915050565b600061324c603283613c24565b91506132578261406e565b604082019050919050565b600061326f602683613c24565b915061327a826140bd565b604082019050919050565b6000613292601c83613c24565b915061329d8261410c565b602082019050919050565b60006132b5602583613c24565b91506132c082614135565b604082019050919050565b60006132d8601c83613c24565b91506132e382614184565b602082019050919050565b60006132fb600283613c35565b9150613306826141ad565b600282019050919050565b600061331e602483613c24565b9150613329826141d6565b604082019050919050565b6000613341601983613c24565b915061334c82614225565b602082019050919050565b6000613364601f83613c24565b915061336f8261424e565b602082019050919050565b6000613387602c83613c24565b915061339282614277565b604082019050919050565b60006133aa602583613c24565b91506133b5826142c6565b604082019050919050565b60006133cd602f83613c24565b91506133d882614315565b604082019050919050565b60006133f0603883613c24565b91506133fb82614364565b604082019050919050565b6000613413602a83613c24565b915061341e826143b3565b604082019050919050565b6000613436602983613c24565b915061344182614402565b604082019050919050565b6000613459602e83613c24565b915061346482614451565b604082019050919050565b600061347c602083613c24565b9150613487826144a0565b602082019050919050565b600061349f603183613c24565b91506134aa826144c9565b604082019050919050565b60006134c2602c83613c24565b91506134cd82614518565b604082019050919050565b60006134e5602083613c24565b91506134f082614567565b602082019050919050565b6000613508602183613c24565b915061351382614590565b604082019050919050565b600061352b602f83613c24565b9150613536826145df565b604082019050919050565b600061354e602883613c24565b91506135598261462e565b604082019050919050565b6000613571602183613c24565b915061357c8261467d565b604082019050919050565b6000613594603183613c24565b915061359f826146cc565b604082019050919050565b6135b381613ded565b82525050565b6135c281613df7565b82525050565b60006135d482846131a4565b915081905092915050565b60006135eb82856131a4565b91506135f7828461311f565b6014820191508190509392505050565b6000613613828561320e565b915061361f828461320e565b91508190509392505050565b6000613636826132ee565b91506136428285613154565b6020820191506136528284613154565b6020820191508190509392505050565b60006020820190506136776000830184613110565b92915050565b60006060820190506136926000830186613110565b61369f6020830185613101565b81810360408301526136b1818461316b565b9050949350505050565b60006080820190506136d06000830187613110565b6136dd6020830186613110565b6136ea60408301856135aa565b81810360608301526136fc818461316b565b905095945050505050565b600060208201905061371c6000830184613136565b92915050565b60006020820190506137376000830184613145565b92915050565b60006080820190506137526000830187613145565b61375f60208301866135aa565b61376c6040830185613110565b6137796060830184613145565b95945050505050565b60006080820190506137976000830187613145565b6137a460208301866135b9565b6137b16040830185613145565b6137be6060830184613145565b95945050505050565b600060208201905081810360008301526137e1818461316b565b905092915050565b6000602082019050818103600083015261380381846131d5565b905092915050565b600060208201905081810360008301526138248161323f565b9050919050565b6000602082019050818103600083015261384481613262565b9050919050565b6000602082019050818103600083015261386481613285565b9050919050565b60006020820190508181036000830152613884816132a8565b9050919050565b600060208201905081810360008301526138a4816132cb565b9050919050565b600060208201905081810360008301526138c481613311565b9050919050565b600060208201905081810360008301526138e481613334565b9050919050565b6000602082019050818103600083015261390481613357565b9050919050565b600060208201905081810360008301526139248161337a565b9050919050565b600060208201905081810360008301526139448161339d565b9050919050565b60006020820190508181036000830152613964816133c0565b9050919050565b60006020820190508181036000830152613984816133e3565b9050919050565b600060208201905081810360008301526139a481613406565b9050919050565b600060208201905081810360008301526139c481613429565b9050919050565b600060208201905081810360008301526139e48161344c565b9050919050565b60006020820190508181036000830152613a048161346f565b9050919050565b60006020820190508181036000830152613a2481613492565b9050919050565b60006020820190508181036000830152613a44816134b5565b9050919050565b60006020820190508181036000830152613a64816134d8565b9050919050565b60006020820190508181036000830152613a84816134fb565b9050919050565b60006020820190508181036000830152613aa48161351e565b9050919050565b60006020820190508181036000830152613ac481613541565b9050919050565b60006020820190508181036000830152613ae481613564565b9050919050565b60006020820190508181036000830152613b0481613587565b9050919050565b6000602082019050613b2060008301846135aa565b92915050565b6000608082019050613b3b60008301876135aa565b613b4860208301866135aa565b613b5560408301856135aa565b613b6260608301846135aa565b95945050505050565b6000613b75613b86565b9050613b818282613e78565b919050565b6000604051905090565b600067ffffffffffffffff821115613bab57613baa61400d565b5b613bb482614050565b9050602081019050919050565b600067ffffffffffffffff821115613bdc57613bdb61400d565b5b613be582614050565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c4b82613ded565b9150613c5683613ded565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c8b57613c8a613f51565b5b828201905092915050565b6000613ca182613ded565b9150613cac83613ded565b925082613cbc57613cbb613f80565b5b828204905092915050565b6000613cd282613ded565b9150613cdd83613ded565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d1657613d15613f51565b5b828202905092915050565b6000613d2c82613ded565b9150613d3783613ded565b925082821015613d4a57613d49613f51565b5b828203905092915050565b6000613d6082613dcd565b9050919050565b6000613d7282613dcd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613dc682613d55565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613e31578082015181840152602081019050613e16565b83811115613e40576000848401525b50505050565b60006002820490506001821680613e5e57607f821691505b60208210811415613e7257613e71613faf565b5b50919050565b613e8182614050565b810181811067ffffffffffffffff82111715613ea057613e9f61400d565b5b80604052505050565b6000613eb482613ded565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ee757613ee6613f51565b5b600182019050919050565b6000613efd82613f0e565b9050919050565b6000819050919050565b6000613f1982614061565b9050919050565b6000613f2b82613ded565b9150613f3683613ded565b925082613f4657613f45613f80565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f596f75206d6179206e6f74206d696e742074686973206d616e79206f6620746860008201527f69732063617264206174206f6e63650000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662063617264000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b61472481613d55565b811461472f57600080fd5b50565b61473b81613d79565b811461474657600080fd5b50565b61475281613d85565b811461475d57600080fd5b50565b61476981613d8f565b811461477457600080fd5b50565b61478081613dbb565b811461478b57600080fd5b50565b61479781613ded565b81146147a257600080fd5b50565b6147ae81613df7565b81146147b957600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220d9f5fbd7d38a77b5404c395dd81d0a5f6291a0e192a9e20809353e5e7832f71564736f6c63430008070033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c74290000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f6170692e6f76742e6170703a383038302f00000000000000
Deployed Bytecode
0x6080604052600436106101b75760003560e01c806342842e0e116100ec5780638da5cb5b1161008a578063b88d4fde11610064578063b88d4fde14610606578063c87b56dd1461062f578063e985e9c51461066c578063f2fde38b146106a9576101b7565b80638da5cb5b1461058757806395d89b41146105b2578063a22cb465146105dd576101b7565b80636c0360eb116100c65780636c0360eb146104cb57806370a08231146104f6578063715018a61461053357806379baaf981461054a576101b7565b806342842e0e14610428578063560f45ca146104515780636352211e1461048e576101b7565b806320379ee51161015957806331020d4d1161013357806331020d4d146103a15780633408e470146103ca5780633ccfd60b146103f55780633e6faa261461040c576101b7565b806320379ee51461031057806323b872dd1461033b5780632d0335ab14610364576101b7565b8063095ea7b311610195578063095ea7b3146102615780630c53c51c1461028a5780630f7e5970146102ba57806318160ddd146102e5576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de9190612fb1565b6106d2565b6040516101f09190613707565b60405180910390f35b34801561020557600080fd5b5061020e6107b4565b60405161021b91906137e9565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190613081565b610846565b6040516102589190613662565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190612f1e565b6108cb565b005b6102a4600480360381019061029f9190612e87565b6109e3565b6040516102b191906137c7565b60405180910390f35b3480156102c657600080fd5b506102cf610c55565b6040516102dc91906137e9565b60405180910390f35b3480156102f157600080fd5b506102fa610c8e565b6040516103079190613b0b565b60405180910390f35b34801561031c57600080fd5b50610325610cab565b6040516103329190613722565b60405180910390f35b34801561034757600080fd5b50610362600480360381019061035d9190612d71565b610cb5565b005b34801561037057600080fd5b5061038b60048036038101906103869190612d04565b610d15565b6040516103989190613b0b565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c391906130ae565b610d5e565b005b3480156103d657600080fd5b506103df610e99565b6040516103ec9190613b0b565b60405180910390f35b34801561040157600080fd5b5061040a610ea6565b005b61042660048036038101906104219190612f5e565b610f71565b005b34801561043457600080fd5b5061044f600480360381019061044a9190612d71565b61113e565b005b34801561045d57600080fd5b5061047860048036038101906104739190613038565b61115e565b60405161048591906137e9565b60405180910390f35b34801561049a57600080fd5b506104b560048036038101906104b09190613081565b611285565b6040516104c29190613662565b60405180910390f35b3480156104d757600080fd5b506104e0611337565b6040516104ed91906137e9565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190612d04565b611346565b60405161052a9190613b0b565b60405180910390f35b34801561053f57600080fd5b506105486113fe565b005b34801561055657600080fd5b50610571600480360381019061056c9190613081565b611486565b60405161057e9190613b0b565b60405180910390f35b34801561059357600080fd5b5061059c6114a3565b6040516105a99190613662565b60405180910390f35b3480156105be57600080fd5b506105c76114cd565b6040516105d491906137e9565b60405180910390f35b3480156105e957600080fd5b5061060460048036038101906105ff9190612e47565b61155f565b005b34801561061257600080fd5b5061062d60048036038101906106289190612dc4565b611575565b005b34801561063b57600080fd5b5061065660048036038101906106519190613081565b6115d7565b60405161066391906137e9565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e9190612d31565b6115e9565b6040516106a09190613707565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190612d04565b6116eb565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061079d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107ad57506107ac826118aa565b5b9050919050565b6060600080546107c390613e46565b80601f01602080910402602001604051908101604052809291908181526020018280546107ef90613e46565b801561083c5780601f106108115761010080835404028352916020019161083c565b820191906000526020600020905b81548152906001019060200180831161081f57829003601f168201915b5050505050905090565b600061085182611914565b610890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088790613a2b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d682611285565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093e90613acb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610966611980565b73ffffffffffffffffffffffffffffffffffffffff16148061099557506109948161098f611980565b6115e9565b5b6109d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cb9061396b565b60405180910390fd5b6109de838361198f565b505050565b606060006040518060600160405280600960008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610a668782878787611a48565b610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613a6b565b60405180910390fd5b610af86001600960008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b5190919063ffffffff16565b600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610b6e9392919061367d565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610ba39291906135df565b604051602081830303815290604052604051610bbf91906135c8565b6000604051808303816000865af19150503d8060008114610bfc576040519150601f19603f3d011682016040523d82523d6000602084013e610c01565b606091505b509150915081610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d9061384b565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60006001610c9c600a611b67565b610ca69190613d21565b905090565b6000600854905090565b610cc6610cc0611980565b82611b75565b610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90613aeb565b60405180910390fd5b610d10838383611c53565b505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d66611980565b73ffffffffffffffffffffffffffffffffffffffff16610d846114a3565b73ffffffffffffffffffffffffffffffffffffffff1614610dda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd190613a4b565b60405180910390fd5b600e6040518060600160405280858152602001848152602001838152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020155505060006001600e80549050610e549190613d21565b90507f9a0d89c6d3e6fd71149227cf7895dc2d812d7aaf7617a9c416b0b229bc60a05781858585604051610e8b9493929190613b26565b60405180910390a150505050565b6000804690508091505090565b610eae611980565b73ffffffffffffffffffffffffffffffffffffffff16610ecc6114a3565b73ffffffffffffffffffffffffffffffffffffffff1614610f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1990613a4b565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f6d573d6000803e3d6000fd5b5050565b600e8281548110610f8557610f84613fde565b5b906000526020600020906003020160010154610fb282610fa485611486565b611b5190919063ffffffff16565b1115610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea90613aab565b60405180910390fd5b600e828154811061100757611006613fde565b5b90600052602060002090600302016000015481111561105b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110529061394b565b60405180910390fd5b3461109482600e858154811061107457611073613fde565b5b906000526020600020906003020160020154611eba90919063ffffffff16565b11156110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc906138eb565b60405180910390fd5b6110df8282611ed0565b60006110ea83611f17565b905060005b82811015611137576000611103600a611b67565b905061110f600a6117e3565b6111198682612078565b6111238184612252565b50808061112f90613ea9565b9150506110ef565b5050505050565b61115983838360405180602001604052806000815250611575565b505050565b6060611168611980565b73ffffffffffffffffffffffffffffffffffffffff166111866114a3565b73ffffffffffffffffffffffffffffffffffffffff16146111dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d390613a4b565b60405180910390fd5b81600b90805190602001906111f2929190612ad9565b50600b805461120090613e46565b80601f016020809104026020016040519081016040528092919081815260200182805461122c90613e46565b80156112795780601f1061124e57610100808354040283529160200191611279565b820191906000526020600020905b81548152906001019060200180831161125c57829003601f168201915b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561132e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611325906139ab565b60405180910390fd5b80915050919050565b60606113416122c6565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ae9061398b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611406611980565b73ffffffffffffffffffffffffffffffffffffffff166114246114a3565b73ffffffffffffffffffffffffffffffffffffffff161461147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190613a4b565b60405180910390fd5b6114846000612358565b565b6000600d6000838152602001908152602001600020549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114dc90613e46565b80601f016020809104026020016040519081016040528092919081815260200182805461150890613e46565b80156115555780601f1061152a57610100808354040283529160200191611555565b820191906000526020600020905b81548152906001019060200180831161153857829003601f168201915b5050505050905090565b61157161156a611980565b838361241e565b5050565b611586611580611980565b83611b75565b6115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90613aeb565b60405180910390fd5b6115d18484848461258b565b50505050565b60606115e2826125e7565b9050919050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016116619190613662565b60206040518083038186803b15801561167957600080fd5b505afa15801561168d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b1919061300b565b73ffffffffffffffffffffffffffffffffffffffff1614156116d75760019150506116e5565b6116e18484612739565b9150505b92915050565b6116f3611980565b73ffffffffffffffffffffffffffffffffffffffff166117116114a3565b73ffffffffffffffffffffffffffffffffffffffff1614611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90613a4b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce9061382b565b60405180910390fd5b6117e081612358565b50565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156118a357600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506118a7565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061198a6117f9565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a0283611285565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab09061392b565b60405180910390fd5b6001611acc611ac7876127cd565b612835565b83868660405160008152602001604052604051611aec9493929190613782565b6020604051602081039080840390855afa158015611b0e573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183611b5f9190613c40565b905092915050565b600081600001549050919050565b6000611b8082611914565b611bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb69061390b565b60405180910390fd5b6000611bca83611285565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c0c5750611c0b81856115e9565b5b80611c4a57508373ffffffffffffffffffffffffffffffffffffffff16611c3284610846565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c7382611285565b73ffffffffffffffffffffffffffffffffffffffff1614611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc09061386b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d30906138ab565b60405180910390fd5b611d4483838361286e565b611d4f60008261198f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d9f9190613d21565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611df69190613c40565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611eb5838383612873565b505050565b60008183611ec89190613cc7565b905092915050565b6000611ef882600d600086815260200190815260200160002054611b5190919063ffffffff16565b905080600d600085815260200190815260200160002081905550505050565b60606000821415611f5f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612073565b600082905060005b60008214611f91578080611f7a90613ea9565b915050600a82611f8a9190613c96565b9150611f67565b60008167ffffffffffffffff811115611fad57611fac61400d565b5b6040519080825280601f01601f191660200182016040528015611fdf5781602001600182028036833780820191505090505b5090505b6000851461206c57600182611ff89190613d21565b9150600a856120079190613f20565b60306120139190613c40565b60f81b81838151811061202957612028613fde565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120659190613c96565b9450611fe3565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df906139eb565b60405180910390fd5b6120f181611914565b15612131576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121289061388b565b60405180910390fd5b61213d6000838361286e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461218d9190613c40565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461224e60008383612873565b5050565b61225b82611914565b61229a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612291906139cb565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906122c1929190612ad9565b505050565b6060600b80546122d590613e46565b80601f016020809104026020016040519081016040528092919081815260200182805461230190613e46565b801561234e5780601f106123235761010080835404028352916020019161234e565b820191906000526020600020905b81548152906001019060200180831161233157829003601f168201915b5050505050905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561248d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612484906138cb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161257e9190613707565b60405180910390a3505050565b612596848484611c53565b6125a284848484612878565b6125e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d89061380b565b60405180910390fd5b50505050565b60606125f282611914565b612631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262890613a0b565b60405180910390fd5b600060066000848152602001908152602001600020805461265190613e46565b80601f016020809104026020016040519081016040528092919081815260200182805461267d90613e46565b80156126ca5780601f1061269f576101008083540402835291602001916126ca565b820191906000526020600020905b8154815290600101906020018083116126ad57829003601f168201915b5050505050905060006126db6122c6565b90506000815114156126f1578192505050612734565b60008251111561272657808260405160200161270e929190613607565b60405160208183030381529060405292505050612734565b61272f84612a0f565b925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006040518060800160405280604381526020016147bd604391398051906020012082600001518360200151846040015180519060200120604051602001612818949392919061373d565b604051602081830303815290604052805190602001209050919050565b600061283f610cab565b8260405160200161285192919061362b565b604051602081830303815290604052805190602001209050919050565b505050565b505050565b60006128998473ffffffffffffffffffffffffffffffffffffffff16612ab6565b15612a02578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128c2611980565b8786866040518563ffffffff1660e01b81526004016128e494939291906136bb565b602060405180830381600087803b1580156128fe57600080fd5b505af192505050801561292f57506040513d601f19601f8201168201806040525081019061292c9190612fde565b60015b6129b2573d806000811461295f576040519150601f19603f3d011682016040523d82523d6000602084013e612964565b606091505b506000815114156129aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a19061380b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a07565b600190505b949350505050565b6060612a1a82611914565b612a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5090613a8b565b60405180910390fd5b6000612a636122c6565b90506000815111612a835760405180602001604052806000815250612aae565b80612a8d84611f17565b604051602001612a9e929190613607565b6040516020818303038152906040525b915050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612ae590613e46565b90600052602060002090601f016020900481019282612b075760008555612b4e565b82601f10612b2057805160ff1916838001178555612b4e565b82800160010185558215612b4e579182015b82811115612b4d578251825591602001919060010190612b32565b5b509050612b5b9190612b5f565b5090565b5b80821115612b78576000816000905550600101612b60565b5090565b6000612b8f612b8a84613b90565b613b6b565b905082815260208101848484011115612bab57612baa614041565b5b612bb6848285613e04565b509392505050565b6000612bd1612bcc84613bc1565b613b6b565b905082815260208101848484011115612bed57612bec614041565b5b612bf8848285613e04565b509392505050565b600081359050612c0f8161471b565b92915050565b600081359050612c2481614732565b92915050565b600081359050612c3981614749565b92915050565b600081359050612c4e81614760565b92915050565b600081519050612c6381614760565b92915050565b600082601f830112612c7e57612c7d61403c565b5b8135612c8e848260208601612b7c565b91505092915050565b600081519050612ca681614777565b92915050565b600082601f830112612cc157612cc061403c565b5b8135612cd1848260208601612bbe565b91505092915050565b600081359050612ce98161478e565b92915050565b600081359050612cfe816147a5565b92915050565b600060208284031215612d1a57612d1961404b565b5b6000612d2884828501612c00565b91505092915050565b60008060408385031215612d4857612d4761404b565b5b6000612d5685828601612c00565b9250506020612d6785828601612c00565b9150509250929050565b600080600060608486031215612d8a57612d8961404b565b5b6000612d9886828701612c00565b9350506020612da986828701612c00565b9250506040612dba86828701612cda565b9150509250925092565b60008060008060808587031215612dde57612ddd61404b565b5b6000612dec87828801612c00565b9450506020612dfd87828801612c00565b9350506040612e0e87828801612cda565b925050606085013567ffffffffffffffff811115612e2f57612e2e614046565b5b612e3b87828801612c69565b91505092959194509250565b60008060408385031215612e5e57612e5d61404b565b5b6000612e6c85828601612c00565b9250506020612e7d85828601612c15565b9150509250929050565b600080600080600060a08688031215612ea357612ea261404b565b5b6000612eb188828901612c00565b955050602086013567ffffffffffffffff811115612ed257612ed1614046565b5b612ede88828901612c69565b9450506040612eef88828901612c2a565b9350506060612f0088828901612c2a565b9250506080612f1188828901612cef565b9150509295509295909350565b60008060408385031215612f3557612f3461404b565b5b6000612f4385828601612c00565b9250506020612f5485828601612cda565b9150509250929050565b600080600060608486031215612f7757612f7661404b565b5b6000612f8586828701612c00565b9350506020612f9686828701612cda565b9250506040612fa786828701612cda565b9150509250925092565b600060208284031215612fc757612fc661404b565b5b6000612fd584828501612c3f565b91505092915050565b600060208284031215612ff457612ff361404b565b5b600061300284828501612c54565b91505092915050565b6000602082840312156130215761302061404b565b5b600061302f84828501612c97565b91505092915050565b60006020828403121561304e5761304d61404b565b5b600082013567ffffffffffffffff81111561306c5761306b614046565b5b61307884828501612cac565b91505092915050565b6000602082840312156130975761309661404b565b5b60006130a584828501612cda565b91505092915050565b6000806000606084860312156130c7576130c661404b565b5b60006130d586828701612cda565b93505060206130e686828701612cda565b92505060406130f786828701612cda565b9150509250925092565b61310a81613d67565b82525050565b61311981613d55565b82525050565b61313061312b82613d55565b613ef2565b82525050565b61313f81613d79565b82525050565b61314e81613d85565b82525050565b61316561316082613d85565b613f04565b82525050565b600061317682613bf2565b6131808185613c08565b9350613190818560208601613e13565b61319981614050565b840191505092915050565b60006131af82613bf2565b6131b98185613c19565b93506131c9818560208601613e13565b80840191505092915050565b60006131e082613bfd565b6131ea8185613c24565b93506131fa818560208601613e13565b61320381614050565b840191505092915050565b600061321982613bfd565b6132238185613c35565b9350613233818560208601613e13565b80840191505092915050565b600061324c603283613c24565b91506132578261406e565b604082019050919050565b600061326f602683613c24565b915061327a826140bd565b604082019050919050565b6000613292601c83613c24565b915061329d8261410c565b602082019050919050565b60006132b5602583613c24565b91506132c082614135565b604082019050919050565b60006132d8601c83613c24565b91506132e382614184565b602082019050919050565b60006132fb600283613c35565b9150613306826141ad565b600282019050919050565b600061331e602483613c24565b9150613329826141d6565b604082019050919050565b6000613341601983613c24565b915061334c82614225565b602082019050919050565b6000613364601f83613c24565b915061336f8261424e565b602082019050919050565b6000613387602c83613c24565b915061339282614277565b604082019050919050565b60006133aa602583613c24565b91506133b5826142c6565b604082019050919050565b60006133cd602f83613c24565b91506133d882614315565b604082019050919050565b60006133f0603883613c24565b91506133fb82614364565b604082019050919050565b6000613413602a83613c24565b915061341e826143b3565b604082019050919050565b6000613436602983613c24565b915061344182614402565b604082019050919050565b6000613459602e83613c24565b915061346482614451565b604082019050919050565b600061347c602083613c24565b9150613487826144a0565b602082019050919050565b600061349f603183613c24565b91506134aa826144c9565b604082019050919050565b60006134c2602c83613c24565b91506134cd82614518565b604082019050919050565b60006134e5602083613c24565b91506134f082614567565b602082019050919050565b6000613508602183613c24565b915061351382614590565b604082019050919050565b600061352b602f83613c24565b9150613536826145df565b604082019050919050565b600061354e602883613c24565b91506135598261462e565b604082019050919050565b6000613571602183613c24565b915061357c8261467d565b604082019050919050565b6000613594603183613c24565b915061359f826146cc565b604082019050919050565b6135b381613ded565b82525050565b6135c281613df7565b82525050565b60006135d482846131a4565b915081905092915050565b60006135eb82856131a4565b91506135f7828461311f565b6014820191508190509392505050565b6000613613828561320e565b915061361f828461320e565b91508190509392505050565b6000613636826132ee565b91506136428285613154565b6020820191506136528284613154565b6020820191508190509392505050565b60006020820190506136776000830184613110565b92915050565b60006060820190506136926000830186613110565b61369f6020830185613101565b81810360408301526136b1818461316b565b9050949350505050565b60006080820190506136d06000830187613110565b6136dd6020830186613110565b6136ea60408301856135aa565b81810360608301526136fc818461316b565b905095945050505050565b600060208201905061371c6000830184613136565b92915050565b60006020820190506137376000830184613145565b92915050565b60006080820190506137526000830187613145565b61375f60208301866135aa565b61376c6040830185613110565b6137796060830184613145565b95945050505050565b60006080820190506137976000830187613145565b6137a460208301866135b9565b6137b16040830185613145565b6137be6060830184613145565b95945050505050565b600060208201905081810360008301526137e1818461316b565b905092915050565b6000602082019050818103600083015261380381846131d5565b905092915050565b600060208201905081810360008301526138248161323f565b9050919050565b6000602082019050818103600083015261384481613262565b9050919050565b6000602082019050818103600083015261386481613285565b9050919050565b60006020820190508181036000830152613884816132a8565b9050919050565b600060208201905081810360008301526138a4816132cb565b9050919050565b600060208201905081810360008301526138c481613311565b9050919050565b600060208201905081810360008301526138e481613334565b9050919050565b6000602082019050818103600083015261390481613357565b9050919050565b600060208201905081810360008301526139248161337a565b9050919050565b600060208201905081810360008301526139448161339d565b9050919050565b60006020820190508181036000830152613964816133c0565b9050919050565b60006020820190508181036000830152613984816133e3565b9050919050565b600060208201905081810360008301526139a481613406565b9050919050565b600060208201905081810360008301526139c481613429565b9050919050565b600060208201905081810360008301526139e48161344c565b9050919050565b60006020820190508181036000830152613a048161346f565b9050919050565b60006020820190508181036000830152613a2481613492565b9050919050565b60006020820190508181036000830152613a44816134b5565b9050919050565b60006020820190508181036000830152613a64816134d8565b9050919050565b60006020820190508181036000830152613a84816134fb565b9050919050565b60006020820190508181036000830152613aa48161351e565b9050919050565b60006020820190508181036000830152613ac481613541565b9050919050565b60006020820190508181036000830152613ae481613564565b9050919050565b60006020820190508181036000830152613b0481613587565b9050919050565b6000602082019050613b2060008301846135aa565b92915050565b6000608082019050613b3b60008301876135aa565b613b4860208301866135aa565b613b5560408301856135aa565b613b6260608301846135aa565b95945050505050565b6000613b75613b86565b9050613b818282613e78565b919050565b6000604051905090565b600067ffffffffffffffff821115613bab57613baa61400d565b5b613bb482614050565b9050602081019050919050565b600067ffffffffffffffff821115613bdc57613bdb61400d565b5b613be582614050565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c4b82613ded565b9150613c5683613ded565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c8b57613c8a613f51565b5b828201905092915050565b6000613ca182613ded565b9150613cac83613ded565b925082613cbc57613cbb613f80565b5b828204905092915050565b6000613cd282613ded565b9150613cdd83613ded565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d1657613d15613f51565b5b828202905092915050565b6000613d2c82613ded565b9150613d3783613ded565b925082821015613d4a57613d49613f51565b5b828203905092915050565b6000613d6082613dcd565b9050919050565b6000613d7282613dcd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613dc682613d55565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613e31578082015181840152602081019050613e16565b83811115613e40576000848401525b50505050565b60006002820490506001821680613e5e57607f821691505b60208210811415613e7257613e71613faf565b5b50919050565b613e8182614050565b810181811067ffffffffffffffff82111715613ea057613e9f61400d565b5b80604052505050565b6000613eb482613ded565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ee757613ee6613f51565b5b600182019050919050565b6000613efd82613f0e565b9050919050565b6000819050919050565b6000613f1982614061565b9050919050565b6000613f2b82613ded565b9150613f3683613ded565b925082613f4657613f45613f80565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f596f75206d6179206e6f74206d696e742074686973206d616e79206f6620746860008201527f69732063617264206174206f6e63650000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662063617264000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b61472481613d55565b811461472f57600080fd5b50565b61473b81613d79565b811461474657600080fd5b50565b61475281613d85565b811461475d57600080fd5b50565b61476981613d8f565b811461477457600080fd5b50565b61478081613dbb565b811461478b57600080fd5b50565b61479781613ded565b81146147a257600080fd5b50565b6147ae81613df7565b81146147b957600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220d9f5fbd7d38a77b5404c395dd81d0a5f6291a0e192a9e20809353e5e7832f71564736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f6170692e6f76742e6170703a383038302f00000000000000
-----Decoded View---------------
Arg [0] : baseTokenURI (string): https://api.ovt.app:8080/
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [3] : 68747470733a2f2f6170692e6f76742e6170703a383038302f00000000000000
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.