ERC-1155
Overview
Max Total Supply
5,957 CCC
Holders
354
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CryptoCardsClub
Compiler Version
v0.8.0+commit.c7dfd78e
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.0; import "./ERC1155Tradable.sol"; /** * @title CryptoCardsClub * CryptoCardsClub - a contract for Creature Accessory semi-fungible tokens. */ contract CryptoCardsClub is ERC1155Tradable { constructor(address _proxyRegistryAddress) ERC1155Tradable( "CryptoCards Club", "CCC", "", _proxyRegistryAddress ) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./common/meta-transactions/ContentMixin.sol"; import "./common/meta-transactions/NativeMetaTransaction.sol"; contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** * @title ERC1155Tradable * ERC1155Tradable - ERC1155 contract that whitelists an operator address, has create and mint functionality, and supports useful standards from OpenZeppelin, like _exists(), name(), symbol(), and totalSupply() */ contract ERC1155Tradable is ContextMixin, ERC1155, NativeMetaTransaction, Ownable { using Strings for string; using SafeMath for uint256; address proxyRegistryAddress; mapping (uint256 => uint256) public tokenSupply; mapping (uint256 => string) customUri; // Contract name string public name; // Contract symbol string public symbol; constructor( string memory _name, string memory _symbol, string memory _uri, address _proxyRegistryAddress ) ERC1155(_uri) { name = _name; symbol = _symbol; proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712(name); } function uri( uint256 _id ) override public view returns (string memory) { require(_exists(_id), "ERC1155Tradable#uri: NONEXISTENT_TOKEN"); // We have to convert string to bytes to check for existence bytes memory customUriBytes = bytes(customUri[_id]); if (customUriBytes.length > 0) { return customUri[_id]; } else { return super.uri(_id); } } /** * @dev Returns the total quantity for a token ID * @param _id uint256 ID of the token to query * @return amount of token in existence */ function totalSupply( uint256 _id ) public view returns (uint256) { return tokenSupply[_id]; } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * @param _newURI New URI for all tokens */ function setURI( string memory _newURI ) public onlyOwner { _setURI(_newURI); } /** * @dev Will update the base URI for the token * @param _tokenId The token to update. _msgSender() must be its creator. * @param _newURI New URI for the token. */ function setCustomURI( uint256 _tokenId, string memory _newURI ) public onlyOwner { customUri[_tokenId] = _newURI; emit URI(_newURI, _tokenId); } /** * @dev Creates a new token type and assigns _initialSupply to an address * NOTE: remove onlyOwner if you want third parties to create new tokens on * your contract (which may change your IDs) * NOTE: The token id must be passed. This allows lazy creation of tokens or * creating NFTs by setting the id's high bits with the method * described in ERC1155 or to use ids representing values other than * successive small integers. If you wish to create ids as successive * small integers you can either subclass this class to count onchain * or maintain the offchain cache of identifiers recommended in * ERC1155 and calculate successive ids from that. * @param _initialOwner address of the first owner of the token * @param _id The id of the token to create (must not currenty exist). * @param _initialSupply amount to supply the first owner * @param _uri Optional URI for this token type * @param _data Data to pass if receiver is contract * @return The newly created token ID */ function create( address _initialOwner, uint256 _id, uint256 _initialSupply, string memory _uri, bytes memory _data ) public onlyOwner returns (uint256) { require(!_exists(_id), "token _id already exists"); if (bytes(_uri).length > 0) { customUri[_id] = _uri; emit URI(_uri, _id); } _mint(_initialOwner, _id, _initialSupply, _data); tokenSupply[_id] = _initialSupply; return _id; } /** * @dev Mints some amount of tokens to an address * @param _to Address of the future owner of the token * @param _id Token ID to mint * @param _quantity Amount of tokens to mint * @param _data Data to pass if receiver is contract */ function mint( address _to, uint256 _id, uint256 _quantity, bytes memory _data ) virtual public onlyOwner { _mint(_to, _id, _quantity, _data); tokenSupply[_id] = tokenSupply[_id].add(_quantity); } /** * @dev Mint tokens for each id in _ids * @param _to The address to mint tokens to * @param _ids Array of ids to mint * @param _quantities Array of amounts of tokens to mint per id * @param _data Data to pass if receiver is contract */ function batchMint( address _to, uint256[] memory _ids, uint256[] memory _quantities, bytes memory _data ) public onlyOwner { for (uint256 i = 0; i < _ids.length; i++) { uint256 _id = _ids[i]; uint256 quantity = _quantities[i]; tokenSupply[_id] = tokenSupply[_id].add(quantity); } _mintBatch(_to, _ids, _quantities, _data); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-free listings. */ function isApprovedForAll( address _owner, address _operator ) override public view returns (bool isOperator) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == _operator) { return true; } return ERC1155.isApprovedForAll(_owner, _operator); } /** * @dev Returns whether the specified token exists by checking to see if it has a supply greater than 0 * @param _id uint256 ID of the token to query the existence of * @return bool whether the token exists */ function _exists( uint256 _id ) internal view returns (bool) { return tokenSupply[_id] > 0; } function exists( uint256 _id ) external view returns (bool) { return _exists(_id); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal override view returns (address sender) { return ContextMixin.msgSender(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 // OpenZeppelin Contracts v4.4.0 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @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, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 substraction 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.0 (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 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 v4.4.0 (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.0 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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 constant public 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" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_quantities","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_initialOwner","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"create","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newURI","type":"string"}],"name":"setCustomURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600360006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162005369380380620053698339818101604052810190620000529190620005d9565b6040518060400160405280601081526020017f43727970746f436172647320436c7562000000000000000000000000000000008152506040518060400160405280600381526020017f4343430000000000000000000000000000000000000000000000000000000000815250604051806020016040528060008152508381620000e1816200022360201b60201c565b5062000102620000f66200023f60201b60201c565b6200025b60201b60201c565b83600a90805190602001906200011a92919062000512565b5082600b90805190602001906200013392919062000512565b5080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000218600a8054620001889062000737565b80601f0160208091040260200160405190810160405280929190818152602001828054620001b69062000737565b8015620002075780601f10620001db5761010080835404028352916020019162000207565b820191906000526020600020905b815481529060010190602001808311620001e957829003601f168201915b50505050506200032160201b60201c565b5050505050620007b6565b80600290805190602001906200023b92919062000512565b5050565b600062000256620003a360201b620018fc1760201c565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600360009054906101000a900460ff161562000374576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200036b90620006c6565b60405180910390fd5b62000385816200045660201b60201c565b6001600360006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200044f57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505062000453565b3390505b90565b6040518060800160405280604f81526020016200531a604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620004cd6200050560201b60201c565b60001b604051602001620004e695949392919062000669565b6040516020818303038152906040528051906020012060048190555050565b6000804690508091505090565b828054620005209062000737565b90600052602060002090601f01602090048101928262000544576000855562000590565b82601f106200055f57805160ff191683800117855562000590565b8280016001018555821562000590579182015b828111156200058f57825182559160200191906001019062000572565b5b5090506200059f9190620005a3565b5090565b5b80821115620005be576000816000905550600101620005a4565b5090565b600081519050620005d3816200079c565b92915050565b600060208284031215620005ec57600080fd5b6000620005fc84828501620005c2565b91505092915050565b6200061081620006f9565b82525050565b62000621816200070d565b82525050565b600062000636600e83620006e8565b91507f616c726561647920696e697465640000000000000000000000000000000000006000830152602082019050919050565b600060a08201905062000680600083018862000616565b6200068f602083018762000616565b6200069e604083018662000616565b620006ad606083018562000605565b620006bc608083018462000616565b9695505050505050565b60006020820190508181036000830152620006e18162000627565b9050919050565b600082825260208201905092915050565b6000620007068262000717565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200075057607f821691505b602082108114156200076757620007666200076d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620007a781620006f9565b8114620007b357600080fd5b50565b614b5480620007c66000396000f3fe6080604052600436106101805760003560e01c80633adf80b4116100d157806395d89b411161008a578063bd85b03911610064578063bd85b039146105ac578063e985e9c5146105e9578063f242432a14610626578063f2fde38b1461064f57610180565b806395d89b411461052f578063a22cb4651461055a578063b48ab8b61461058357610180565b80633adf80b4146104215780634e1273f41461044a5780634f558e7914610487578063715018a6146104c4578063731133e9146104db5780638da5cb5b1461050457610180565b80630f7e59701161013e5780632d0335ab116101185780632d0335ab146103535780632eb2c2d6146103905780633408e470146103b957806336a100d5146103e457610180565b80630f7e5970146102c057806320379ee5146102eb5780632693ebf21461031657610180565b8062fdd58e1461018557806301ffc9a7146101c257806302fe5305146101ff57806306fdde03146102285780630c53c51c146102535780630e89341c14610283575b600080fd5b34801561019157600080fd5b506101ac60048036038101906101a7919061344d565b610678565b6040516101b99190614528565b60405180910390f35b3480156101ce57600080fd5b506101e960048036038101906101e49190613617565b610741565b6040516101f691906141e4565b60405180910390f35b34801561020b57600080fd5b5061022660048036038101906102219190613692565b610823565b005b34801561023457600080fd5b5061023d6108ab565b60405161024a91906142c6565b60405180910390f35b61026d600480360381019061026891906133be565b610939565b60405161027a91906142a4565b60405180910390f35b34801561028f57600080fd5b506102aa60048036038101906102a591906136d3565b610bab565b6040516102b791906142c6565b60405180910390f35b3480156102cc57600080fd5b506102d5610d55565b6040516102e291906142c6565b60405180910390f35b3480156102f757600080fd5b50610300610d8e565b60405161030d91906141ff565b60405180910390f35b34801561032257600080fd5b5061033d600480360381019061033891906136d3565b610d98565b60405161034a9190614528565b60405180910390f35b34801561035f57600080fd5b5061037a60048036038101906103759190613124565b610db0565b6040516103879190614528565b60405180910390f35b34801561039c57600080fd5b506103b760048036038101906103b29190613189565b610df9565b005b3480156103c557600080fd5b506103ce610e9a565b6040516103db9190614528565b60405180910390f35b3480156103f057600080fd5b5061040b60048036038101906104069190613504565b610ea7565b6040516104189190614528565b60405180910390f35b34801561042d57600080fd5b50610448600480360381019061044391906136fc565b611009565b005b34801561045657600080fd5b50610471600480360381019061046c91906135ab565b6110e9565b60405161047e919061418b565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a991906136d3565b61129a565b6040516104bb91906141e4565b60405180910390f35b3480156104d057600080fd5b506104d96112ac565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190613489565b611334565b005b34801561051057600080fd5b506105196113ff565b6040516105269190614070565b60405180910390f35b34801561053b57600080fd5b50610544611429565b60405161055191906142c6565b60405180910390f35b34801561056657600080fd5b50610581600480360381019061057c9190613382565b6114b7565b005b34801561058f57600080fd5b506105aa60048036038101906105a591906132d7565b6114cd565b005b3480156105b857600080fd5b506105d360048036038101906105ce91906136d3565b611644565b6040516105e09190614528565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b919061314d565b611661565b60405161061d91906141e4565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613248565b611763565b005b34801561065b57600080fd5b5061067660048036038101906106719190613124565b611804565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e090614348565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080c57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061081c575061081b826119ad565b5b9050919050565b61082b611a17565b73ffffffffffffffffffffffffffffffffffffffff166108496113ff565b73ffffffffffffffffffffffffffffffffffffffff161461089f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089690614468565b60405180910390fd5b6108a881611a26565b50565b600a80546108b890614823565b80601f01602080910402602001604051908101604052809291908181526020018280546108e490614823565b80156109315780601f1061090657610100808354040283529160200191610931565b820191906000526020600020905b81548152906001019060200180831161091457829003601f168201915b505050505081565b606060006040518060600160405280600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781525090506109bc8782878787611a40565b6109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290614488565b60405180910390fd5b610a4e6001600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b4990919063ffffffff16565b600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610ac49392919061408b565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610af9929190614011565b604051602081830303815290604052604051610b159190613ffa565b6000604051808303816000865af19150503d8060008114610b52576040519150601f19603f3d011682016040523d82523d6000602084013e610b57565b606091505b509150915081610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9390614388565b60405180910390fd5b80935050505095945050505050565b6060610bb682611b5f565b610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec90614428565b60405180910390fd5b6000600960008481526020019081526020016000208054610c1590614823565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4190614823565b8015610c8e5780601f10610c6357610100808354040283529160200191610c8e565b820191906000526020600020905b815481529060010190602001808311610c7157829003601f168201915b50505050509050600081511115610d4357600960008481526020019081526020016000208054610cbd90614823565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce990614823565b8015610d365780601f10610d0b57610100808354040283529160200191610d36565b820191906000526020600020905b815481529060010190602001808311610d1957829003601f168201915b5050505050915050610d50565b610d4c83611b7e565b9150505b919050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600454905090565b60086020528060005260406000206000915090505481565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e01611a17565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e475750610e4685610e41611a17565b611661565b5b610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d90614408565b60405180910390fd5b610e938585858585611c12565b5050505050565b6000804690508091505090565b6000610eb1611a17565b73ffffffffffffffffffffffffffffffffffffffff16610ecf6113ff565b73ffffffffffffffffffffffffffffffffffffffff1614610f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1c90614468565b60405180910390fd5b610f2e85611b5f565b15610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6590614308565b60405180910390fd5b600083511115610fd95782600960008781526020019081526020016000209080519060200190610f9f929190612ddd565b50847f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b84604051610fd091906142c6565b60405180910390a25b610fe586868685611f72565b83600860008781526020019081526020016000208190555084905095945050505050565b611011611a17565b73ffffffffffffffffffffffffffffffffffffffff1661102f6113ff565b73ffffffffffffffffffffffffffffffffffffffff1614611085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107c90614468565b60405180910390fd5b806009600084815260200190815260200160002090805190602001906110ac929190612ddd565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b826040516110dd91906142c6565b60405180910390a25050565b6060815183511461112f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611126906144c8565b60405180910390fd5b6000835167ffffffffffffffff811115611172577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111a05781602001602082028036833780820191505090505b50905060005b845181101561128f576112398582815181106111eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061122c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610678565b828281518110611272577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061128890614855565b90506111a6565b508091505092915050565b60006112a582611b5f565b9050919050565b6112b4611a17565b73ffffffffffffffffffffffffffffffffffffffff166112d26113ff565b73ffffffffffffffffffffffffffffffffffffffff1614611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90614468565b60405180910390fd5b6113326000612108565b565b61133c611a17565b73ffffffffffffffffffffffffffffffffffffffff1661135a6113ff565b73ffffffffffffffffffffffffffffffffffffffff16146113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790614468565b60405180910390fd5b6113bc84848484611f72565b6113e2826008600086815260200190815260200160002054611b4990919063ffffffff16565b600860008581526020019081526020016000208190555050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b805461143690614823565b80601f016020809104026020016040519081016040528092919081815260200182805461146290614823565b80156114af5780601f10611484576101008083540402835291602001916114af565b820191906000526020600020905b81548152906001019060200180831161149257829003601f168201915b505050505081565b6114c96114c2611a17565b83836121ce565b5050565b6114d5611a17565b73ffffffffffffffffffffffffffffffffffffffff166114f36113ff565b73ffffffffffffffffffffffffffffffffffffffff1614611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090614468565b60405180910390fd5b60005b8351811015611631576000848281518110611590577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008483815181106115d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050611605816008600085815260200190815260200160002054611b4990919063ffffffff16565b60086000848152602001908152602001600020819055505050808061162990614855565b91505061154c565b5061163e8484848461233b565b50505050565b600060086000838152602001908152602001600020549050919050565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016116d99190614070565b60206040518083038186803b1580156116f157600080fd5b505afa158015611705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117299190613669565b73ffffffffffffffffffffffffffffffffffffffff16141561174f57600191505061175d565b61175984846125a5565b9150505b92915050565b61176b611a17565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806117b157506117b0856117ab611a17565b611661565b5b6117f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e7906143a8565b60405180910390fd5b6117fd8585858585612639565b5050505050565b61180c611a17565b73ffffffffffffffffffffffffffffffffffffffff1661182a6113ff565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790614468565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790614368565b60405180910390fd5b6118f981612108565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156119a657600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506119aa565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000611a216118fc565b905090565b8060029080519060200190611a3c929190612ddd565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa8906143c8565b60405180910390fd5b6001611ac4611abf876128bb565b612923565b83868660405160008152602001604052604051611ae4949392919061425f565b6020604051602081039080840390855afa158015611b06573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183611b5791906146dc565b905092915050565b6000806008600084815260200190815260200160002054119050919050565b606060028054611b8d90614823565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb990614823565b8015611c065780601f10611bdb57610100808354040283529160200191611c06565b820191906000526020600020905b815481529060010190602001808311611be957829003601f168201915b50505050509050919050565b8151835114611c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4d906144e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd906143e8565b60405180910390fd5b6000611cd0611a17565b9050611ce081878787878761295c565b60005b8451811015611edd576000858281518110611d27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611d6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0490614448565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec291906146dc565b9250508190555050505080611ed690614855565b9050611ce3565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611f549291906141ad565b60405180910390a4611f6a818787878787612964565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd990614508565b60405180910390fd5b6000611fec611a17565b905061200d81600087611ffe88612b34565b61200788612b34565b8761295c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461206c91906146dc565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516120ea929190614543565b60405180910390a461210181600087878787612bfa565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561223d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612234906144a8565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161232e91906141e4565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a290614508565b60405180910390fd5b81518351146123ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e6906144e8565b60405180910390fd5b60006123f9611a17565b905061240a8160008787878761295c565b60005b845181101561250f5783818151811061244f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600080878481518110612493577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124f591906146dc565b92505081905550808061250790614855565b91505061240d565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516125879291906141ad565b60405180910390a461259e81600087878787612964565b5050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156126a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a0906143e8565b60405180910390fd5b60006126b3611a17565b90506126d38187876126c488612b34565b6126cd88612b34565b8761295c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276190614448565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461281f91906146dc565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161289c929190614543565b60405180910390a46128b2828888888888612bfa565b50505050505050565b6000604051806080016040528060438152602001614adc604391398051906020012082600001518360200151846040015180519060200120604051602001612906949392919061421a565b604051602081830303815290604052805190602001209050919050565b600061292d610d8e565b8260405160200161293f929190614039565b604051602081830303815290604052805190602001209050919050565b505050505050565b6129838473ffffffffffffffffffffffffffffffffffffffff16612dca565b15612b2c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016129c99594939291906140c9565b602060405180830381600087803b1580156129e357600080fd5b505af1925050508015612a1457506040513d601f19601f82011682018060405250810190612a119190613640565b60015b612aa357612a20614984565b80612a2b5750612a68565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f91906142c6565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a906142e8565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2190614328565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612b79577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612ba75781602001602082028036833780820191505090505b5090508281600081518110612be5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612c198473ffffffffffffffffffffffffffffffffffffffff16612dca565b15612dc2578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612c5f959493929190614131565b602060405180830381600087803b158015612c7957600080fd5b505af1925050508015612caa57506040513d601f19601f82011682018060405250810190612ca79190613640565b60015b612d3957612cb6614984565b80612cc15750612cfe565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf591906142c6565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d30906142e8565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db790614328565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b828054612de990614823565b90600052602060002090601f016020900481019282612e0b5760008555612e52565b82601f10612e2457805160ff1916838001178555612e52565b82800160010185558215612e52579182015b82811115612e51578251825591602001919060010190612e36565b5b509050612e5f9190612e63565b5090565b5b80821115612e7c576000816000905550600101612e64565b5090565b6000612e93612e8e8461459d565b61456c565b90508083825260208201905082856020860282011115612eb257600080fd5b60005b85811015612ee25781612ec88882612fd4565b845260208401935060208301925050600181019050612eb5565b5050509392505050565b6000612eff612efa846145c9565b61456c565b90508083825260208201905082856020860282011115612f1e57600080fd5b60005b85811015612f4e5781612f3488826130fa565b845260208401935060208301925050600181019050612f21565b5050509392505050565b6000612f6b612f66846145f5565b61456c565b905082815260208101848484011115612f8357600080fd5b612f8e8482856147e1565b509392505050565b6000612fa9612fa484614625565b61456c565b905082815260208101848484011115612fc157600080fd5b612fcc8482856147e1565b509392505050565b600081359050612fe381614a3a565b92915050565b600082601f830112612ffa57600080fd5b813561300a848260208601612e80565b91505092915050565b600082601f83011261302457600080fd5b8135613034848260208601612eec565b91505092915050565b60008135905061304c81614a51565b92915050565b60008135905061306181614a68565b92915050565b60008135905061307681614a7f565b92915050565b60008151905061308b81614a7f565b92915050565b600082601f8301126130a257600080fd5b81356130b2848260208601612f58565b91505092915050565b6000815190506130ca81614a96565b92915050565b600082601f8301126130e157600080fd5b81356130f1848260208601612f96565b91505092915050565b60008135905061310981614aad565b92915050565b60008135905061311e81614ac4565b92915050565b60006020828403121561313657600080fd5b600061314484828501612fd4565b91505092915050565b6000806040838503121561316057600080fd5b600061316e85828601612fd4565b925050602061317f85828601612fd4565b9150509250929050565b600080600080600060a086880312156131a157600080fd5b60006131af88828901612fd4565b95505060206131c088828901612fd4565b945050604086013567ffffffffffffffff8111156131dd57600080fd5b6131e988828901613013565b935050606086013567ffffffffffffffff81111561320657600080fd5b61321288828901613013565b925050608086013567ffffffffffffffff81111561322f57600080fd5b61323b88828901613091565b9150509295509295909350565b600080600080600060a0868803121561326057600080fd5b600061326e88828901612fd4565b955050602061327f88828901612fd4565b9450506040613290888289016130fa565b93505060606132a1888289016130fa565b925050608086013567ffffffffffffffff8111156132be57600080fd5b6132ca88828901613091565b9150509295509295909350565b600080600080608085870312156132ed57600080fd5b60006132fb87828801612fd4565b945050602085013567ffffffffffffffff81111561331857600080fd5b61332487828801613013565b935050604085013567ffffffffffffffff81111561334157600080fd5b61334d87828801613013565b925050606085013567ffffffffffffffff81111561336a57600080fd5b61337687828801613091565b91505092959194509250565b6000806040838503121561339557600080fd5b60006133a385828601612fd4565b92505060206133b48582860161303d565b9150509250929050565b600080600080600060a086880312156133d657600080fd5b60006133e488828901612fd4565b955050602086013567ffffffffffffffff81111561340157600080fd5b61340d88828901613091565b945050604061341e88828901613052565b935050606061342f88828901613052565b92505060806134408882890161310f565b9150509295509295909350565b6000806040838503121561346057600080fd5b600061346e85828601612fd4565b925050602061347f858286016130fa565b9150509250929050565b6000806000806080858703121561349f57600080fd5b60006134ad87828801612fd4565b94505060206134be878288016130fa565b93505060406134cf878288016130fa565b925050606085013567ffffffffffffffff8111156134ec57600080fd5b6134f887828801613091565b91505092959194509250565b600080600080600060a0868803121561351c57600080fd5b600061352a88828901612fd4565b955050602061353b888289016130fa565b945050604061354c888289016130fa565b935050606086013567ffffffffffffffff81111561356957600080fd5b613575888289016130d0565b925050608086013567ffffffffffffffff81111561359257600080fd5b61359e88828901613091565b9150509295509295909350565b600080604083850312156135be57600080fd5b600083013567ffffffffffffffff8111156135d857600080fd5b6135e485828601612fe9565b925050602083013567ffffffffffffffff81111561360157600080fd5b61360d85828601613013565b9150509250929050565b60006020828403121561362957600080fd5b600061363784828501613067565b91505092915050565b60006020828403121561365257600080fd5b60006136608482850161307c565b91505092915050565b60006020828403121561367b57600080fd5b6000613689848285016130bb565b91505092915050565b6000602082840312156136a457600080fd5b600082013567ffffffffffffffff8111156136be57600080fd5b6136ca848285016130d0565b91505092915050565b6000602082840312156136e557600080fd5b60006136f3848285016130fa565b91505092915050565b6000806040838503121561370f57600080fd5b600061371d858286016130fa565b925050602083013567ffffffffffffffff81111561373a57600080fd5b613746858286016130d0565b9150509250929050565b600061375c8383613fcd565b60208301905092915050565b61377181614744565b82525050565b61378081614732565b82525050565b61379761379282614732565b61489e565b82525050565b60006137a882614665565b6137b28185614693565b93506137bd83614655565b8060005b838110156137ee5781516137d58882613750565b97506137e083614686565b9250506001810190506137c1565b5085935050505092915050565b61380481614756565b82525050565b61381381614762565b82525050565b61382a61382582614762565b6148b0565b82525050565b600061383b82614670565b61384581856146a4565b93506138558185602086016147f0565b61385e81614959565b840191505092915050565b600061387482614670565b61387e81856146b5565b935061388e8185602086016147f0565b80840191505092915050565b60006138a58261467b565b6138af81856146c0565b93506138bf8185602086016147f0565b6138c881614959565b840191505092915050565b60006138e06034836146c0565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b60006139466018836146c0565b91507f746f6b656e205f696420616c72656164792065786973747300000000000000006000830152602082019050919050565b60006139866028836146c0565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139ec602b836146c0565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613a526026836146c0565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ab8601c836146c0565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b6000613af86002836146d1565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000613b386029836146c0565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b9e6025836146c0565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c046025836146c0565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c6a6032836146c0565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000613cd06026836146c0565b91507f455243313135355472616461626c65237572693a204e4f4e4558495354454e5460008301527f5f544f4b454e00000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d36602a836146c0565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d9c6020836146c0565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613ddc6021836146c0565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e426029836146c0565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ea86029836146c0565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f0e6028836146c0565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f746021836146c0565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b613fd6816147ca565b82525050565b613fe5816147ca565b82525050565b613ff4816147d4565b82525050565b60006140068284613869565b915081905092915050565b600061401d8285613869565b91506140298284613786565b6014820191508190509392505050565b600061404482613aeb565b91506140508285613819565b6020820191506140608284613819565b6020820191508190509392505050565b60006020820190506140856000830184613777565b92915050565b60006060820190506140a06000830186613777565b6140ad6020830185613768565b81810360408301526140bf8184613830565b9050949350505050565b600060a0820190506140de6000830188613777565b6140eb6020830187613777565b81810360408301526140fd818661379d565b90508181036060830152614111818561379d565b905081810360808301526141258184613830565b90509695505050505050565b600060a0820190506141466000830188613777565b6141536020830187613777565b6141606040830186613fdc565b61416d6060830185613fdc565b818103608083015261417f8184613830565b90509695505050505050565b600060208201905081810360008301526141a5818461379d565b905092915050565b600060408201905081810360008301526141c7818561379d565b905081810360208301526141db818461379d565b90509392505050565b60006020820190506141f960008301846137fb565b92915050565b6000602082019050614214600083018461380a565b92915050565b600060808201905061422f600083018761380a565b61423c6020830186613fdc565b6142496040830185613777565b614256606083018461380a565b95945050505050565b6000608082019050614274600083018761380a565b6142816020830186613feb565b61428e604083018561380a565b61429b606083018461380a565b95945050505050565b600060208201905081810360008301526142be8184613830565b905092915050565b600060208201905081810360008301526142e0818461389a565b905092915050565b60006020820190508181036000830152614301816138d3565b9050919050565b6000602082019050818103600083015261432181613939565b9050919050565b6000602082019050818103600083015261434181613979565b9050919050565b60006020820190508181036000830152614361816139df565b9050919050565b6000602082019050818103600083015261438181613a45565b9050919050565b600060208201905081810360008301526143a181613aab565b9050919050565b600060208201905081810360008301526143c181613b2b565b9050919050565b600060208201905081810360008301526143e181613b91565b9050919050565b6000602082019050818103600083015261440181613bf7565b9050919050565b6000602082019050818103600083015261442181613c5d565b9050919050565b6000602082019050818103600083015261444181613cc3565b9050919050565b6000602082019050818103600083015261446181613d29565b9050919050565b6000602082019050818103600083015261448181613d8f565b9050919050565b600060208201905081810360008301526144a181613dcf565b9050919050565b600060208201905081810360008301526144c181613e35565b9050919050565b600060208201905081810360008301526144e181613e9b565b9050919050565b6000602082019050818103600083015261450181613f01565b9050919050565b6000602082019050818103600083015261452181613f67565b9050919050565b600060208201905061453d6000830184613fdc565b92915050565b60006040820190506145586000830185613fdc565b6145656020830184613fdc565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156145935761459261492a565b5b8060405250919050565b600067ffffffffffffffff8211156145b8576145b761492a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156145e4576145e361492a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156146105761460f61492a565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156146405761463f61492a565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146e7826147ca565b91506146f2836147ca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614727576147266148cc565b5b828201905092915050565b600061473d826147aa565b9050919050565b600061474f826147aa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006147a382614732565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561480e5780820151818401526020810190506147f3565b8381111561481d576000848401525b50505050565b6000600282049050600182168061483b57607f821691505b6020821081141561484f5761484e6148fb565b5b50919050565b6000614860826147ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614893576148926148cc565b5b600182019050919050565b60006148a9826148ba565b9050919050565b6000819050919050565b60006148c58261496a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b600060443d101561499457614a37565b60046000803e6149a5600051614977565b6308c379a081146149b65750614a37565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156149e257505050614a37565b808201805167ffffffffffffffff811115614a01575050505050614a37565b8060208301013d8501811115614a1c57505050505050614a37565b614a2582614959565b60208401016040528296505050505050505b90565b614a4381614732565b8114614a4e57600080fd5b50565b614a5a81614756565b8114614a6557600080fd5b50565b614a7181614762565b8114614a7c57600080fd5b50565b614a888161476c565b8114614a9357600080fd5b50565b614a9f81614798565b8114614aaa57600080fd5b50565b614ab6816147ca565b8114614ac157600080fd5b50565b614acd816147d4565b8114614ad857600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212207b44294e96049ef06d49ad8372a1ba0e975bdcef545a2c5b05becefe8f7d82b364736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x6080604052600436106101805760003560e01c80633adf80b4116100d157806395d89b411161008a578063bd85b03911610064578063bd85b039146105ac578063e985e9c5146105e9578063f242432a14610626578063f2fde38b1461064f57610180565b806395d89b411461052f578063a22cb4651461055a578063b48ab8b61461058357610180565b80633adf80b4146104215780634e1273f41461044a5780634f558e7914610487578063715018a6146104c4578063731133e9146104db5780638da5cb5b1461050457610180565b80630f7e59701161013e5780632d0335ab116101185780632d0335ab146103535780632eb2c2d6146103905780633408e470146103b957806336a100d5146103e457610180565b80630f7e5970146102c057806320379ee5146102eb5780632693ebf21461031657610180565b8062fdd58e1461018557806301ffc9a7146101c257806302fe5305146101ff57806306fdde03146102285780630c53c51c146102535780630e89341c14610283575b600080fd5b34801561019157600080fd5b506101ac60048036038101906101a7919061344d565b610678565b6040516101b99190614528565b60405180910390f35b3480156101ce57600080fd5b506101e960048036038101906101e49190613617565b610741565b6040516101f691906141e4565b60405180910390f35b34801561020b57600080fd5b5061022660048036038101906102219190613692565b610823565b005b34801561023457600080fd5b5061023d6108ab565b60405161024a91906142c6565b60405180910390f35b61026d600480360381019061026891906133be565b610939565b60405161027a91906142a4565b60405180910390f35b34801561028f57600080fd5b506102aa60048036038101906102a591906136d3565b610bab565b6040516102b791906142c6565b60405180910390f35b3480156102cc57600080fd5b506102d5610d55565b6040516102e291906142c6565b60405180910390f35b3480156102f757600080fd5b50610300610d8e565b60405161030d91906141ff565b60405180910390f35b34801561032257600080fd5b5061033d600480360381019061033891906136d3565b610d98565b60405161034a9190614528565b60405180910390f35b34801561035f57600080fd5b5061037a60048036038101906103759190613124565b610db0565b6040516103879190614528565b60405180910390f35b34801561039c57600080fd5b506103b760048036038101906103b29190613189565b610df9565b005b3480156103c557600080fd5b506103ce610e9a565b6040516103db9190614528565b60405180910390f35b3480156103f057600080fd5b5061040b60048036038101906104069190613504565b610ea7565b6040516104189190614528565b60405180910390f35b34801561042d57600080fd5b50610448600480360381019061044391906136fc565b611009565b005b34801561045657600080fd5b50610471600480360381019061046c91906135ab565b6110e9565b60405161047e919061418b565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a991906136d3565b61129a565b6040516104bb91906141e4565b60405180910390f35b3480156104d057600080fd5b506104d96112ac565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190613489565b611334565b005b34801561051057600080fd5b506105196113ff565b6040516105269190614070565b60405180910390f35b34801561053b57600080fd5b50610544611429565b60405161055191906142c6565b60405180910390f35b34801561056657600080fd5b50610581600480360381019061057c9190613382565b6114b7565b005b34801561058f57600080fd5b506105aa60048036038101906105a591906132d7565b6114cd565b005b3480156105b857600080fd5b506105d360048036038101906105ce91906136d3565b611644565b6040516105e09190614528565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b919061314d565b611661565b60405161061d91906141e4565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613248565b611763565b005b34801561065b57600080fd5b5061067660048036038101906106719190613124565b611804565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e090614348565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080c57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061081c575061081b826119ad565b5b9050919050565b61082b611a17565b73ffffffffffffffffffffffffffffffffffffffff166108496113ff565b73ffffffffffffffffffffffffffffffffffffffff161461089f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089690614468565b60405180910390fd5b6108a881611a26565b50565b600a80546108b890614823565b80601f01602080910402602001604051908101604052809291908181526020018280546108e490614823565b80156109315780601f1061090657610100808354040283529160200191610931565b820191906000526020600020905b81548152906001019060200180831161091457829003601f168201915b505050505081565b606060006040518060600160405280600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781525090506109bc8782878787611a40565b6109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290614488565b60405180910390fd5b610a4e6001600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b4990919063ffffffff16565b600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610ac49392919061408b565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610af9929190614011565b604051602081830303815290604052604051610b159190613ffa565b6000604051808303816000865af19150503d8060008114610b52576040519150601f19603f3d011682016040523d82523d6000602084013e610b57565b606091505b509150915081610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9390614388565b60405180910390fd5b80935050505095945050505050565b6060610bb682611b5f565b610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec90614428565b60405180910390fd5b6000600960008481526020019081526020016000208054610c1590614823565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4190614823565b8015610c8e5780601f10610c6357610100808354040283529160200191610c8e565b820191906000526020600020905b815481529060010190602001808311610c7157829003601f168201915b50505050509050600081511115610d4357600960008481526020019081526020016000208054610cbd90614823565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce990614823565b8015610d365780601f10610d0b57610100808354040283529160200191610d36565b820191906000526020600020905b815481529060010190602001808311610d1957829003601f168201915b5050505050915050610d50565b610d4c83611b7e565b9150505b919050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600454905090565b60086020528060005260406000206000915090505481565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e01611a17565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e475750610e4685610e41611a17565b611661565b5b610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d90614408565b60405180910390fd5b610e938585858585611c12565b5050505050565b6000804690508091505090565b6000610eb1611a17565b73ffffffffffffffffffffffffffffffffffffffff16610ecf6113ff565b73ffffffffffffffffffffffffffffffffffffffff1614610f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1c90614468565b60405180910390fd5b610f2e85611b5f565b15610f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6590614308565b60405180910390fd5b600083511115610fd95782600960008781526020019081526020016000209080519060200190610f9f929190612ddd565b50847f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b84604051610fd091906142c6565b60405180910390a25b610fe586868685611f72565b83600860008781526020019081526020016000208190555084905095945050505050565b611011611a17565b73ffffffffffffffffffffffffffffffffffffffff1661102f6113ff565b73ffffffffffffffffffffffffffffffffffffffff1614611085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107c90614468565b60405180910390fd5b806009600084815260200190815260200160002090805190602001906110ac929190612ddd565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b826040516110dd91906142c6565b60405180910390a25050565b6060815183511461112f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611126906144c8565b60405180910390fd5b6000835167ffffffffffffffff811115611172577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111a05781602001602082028036833780820191505090505b50905060005b845181101561128f576112398582815181106111eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061122c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610678565b828281518110611272577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061128890614855565b90506111a6565b508091505092915050565b60006112a582611b5f565b9050919050565b6112b4611a17565b73ffffffffffffffffffffffffffffffffffffffff166112d26113ff565b73ffffffffffffffffffffffffffffffffffffffff1614611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90614468565b60405180910390fd5b6113326000612108565b565b61133c611a17565b73ffffffffffffffffffffffffffffffffffffffff1661135a6113ff565b73ffffffffffffffffffffffffffffffffffffffff16146113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790614468565b60405180910390fd5b6113bc84848484611f72565b6113e2826008600086815260200190815260200160002054611b4990919063ffffffff16565b600860008581526020019081526020016000208190555050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b805461143690614823565b80601f016020809104026020016040519081016040528092919081815260200182805461146290614823565b80156114af5780601f10611484576101008083540402835291602001916114af565b820191906000526020600020905b81548152906001019060200180831161149257829003601f168201915b505050505081565b6114c96114c2611a17565b83836121ce565b5050565b6114d5611a17565b73ffffffffffffffffffffffffffffffffffffffff166114f36113ff565b73ffffffffffffffffffffffffffffffffffffffff1614611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090614468565b60405180910390fd5b60005b8351811015611631576000848281518110611590577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008483815181106115d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050611605816008600085815260200190815260200160002054611b4990919063ffffffff16565b60086000848152602001908152602001600020819055505050808061162990614855565b91505061154c565b5061163e8484848461233b565b50505050565b600060086000838152602001908152602001600020549050919050565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016116d99190614070565b60206040518083038186803b1580156116f157600080fd5b505afa158015611705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117299190613669565b73ffffffffffffffffffffffffffffffffffffffff16141561174f57600191505061175d565b61175984846125a5565b9150505b92915050565b61176b611a17565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806117b157506117b0856117ab611a17565b611661565b5b6117f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e7906143a8565b60405180910390fd5b6117fd8585858585612639565b5050505050565b61180c611a17565b73ffffffffffffffffffffffffffffffffffffffff1661182a6113ff565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790614468565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790614368565b60405180910390fd5b6118f981612108565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156119a657600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506119aa565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000611a216118fc565b905090565b8060029080519060200190611a3c929190612ddd565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa8906143c8565b60405180910390fd5b6001611ac4611abf876128bb565b612923565b83868660405160008152602001604052604051611ae4949392919061425f565b6020604051602081039080840390855afa158015611b06573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183611b5791906146dc565b905092915050565b6000806008600084815260200190815260200160002054119050919050565b606060028054611b8d90614823565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb990614823565b8015611c065780601f10611bdb57610100808354040283529160200191611c06565b820191906000526020600020905b815481529060010190602001808311611be957829003601f168201915b50505050509050919050565b8151835114611c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4d906144e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd906143e8565b60405180910390fd5b6000611cd0611a17565b9050611ce081878787878761295c565b60005b8451811015611edd576000858281518110611d27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611d6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0490614448565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec291906146dc565b9250508190555050505080611ed690614855565b9050611ce3565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611f549291906141ad565b60405180910390a4611f6a818787878787612964565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd990614508565b60405180910390fd5b6000611fec611a17565b905061200d81600087611ffe88612b34565b61200788612b34565b8761295c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461206c91906146dc565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516120ea929190614543565b60405180910390a461210181600087878787612bfa565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561223d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612234906144a8565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161232e91906141e4565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a290614508565b60405180910390fd5b81518351146123ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e6906144e8565b60405180910390fd5b60006123f9611a17565b905061240a8160008787878761295c565b60005b845181101561250f5783818151811061244f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600080878481518110612493577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124f591906146dc565b92505081905550808061250790614855565b91505061240d565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516125879291906141ad565b60405180910390a461259e81600087878787612964565b5050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156126a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a0906143e8565b60405180910390fd5b60006126b3611a17565b90506126d38187876126c488612b34565b6126cd88612b34565b8761295c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276190614448565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461281f91906146dc565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161289c929190614543565b60405180910390a46128b2828888888888612bfa565b50505050505050565b6000604051806080016040528060438152602001614adc604391398051906020012082600001518360200151846040015180519060200120604051602001612906949392919061421a565b604051602081830303815290604052805190602001209050919050565b600061292d610d8e565b8260405160200161293f929190614039565b604051602081830303815290604052805190602001209050919050565b505050505050565b6129838473ffffffffffffffffffffffffffffffffffffffff16612dca565b15612b2c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016129c99594939291906140c9565b602060405180830381600087803b1580156129e357600080fd5b505af1925050508015612a1457506040513d601f19601f82011682018060405250810190612a119190613640565b60015b612aa357612a20614984565b80612a2b5750612a68565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f91906142c6565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a906142e8565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2190614328565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612b79577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612ba75781602001602082028036833780820191505090505b5090508281600081518110612be5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612c198473ffffffffffffffffffffffffffffffffffffffff16612dca565b15612dc2578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612c5f959493929190614131565b602060405180830381600087803b158015612c7957600080fd5b505af1925050508015612caa57506040513d601f19601f82011682018060405250810190612ca79190613640565b60015b612d3957612cb6614984565b80612cc15750612cfe565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf591906142c6565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d30906142e8565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db790614328565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b828054612de990614823565b90600052602060002090601f016020900481019282612e0b5760008555612e52565b82601f10612e2457805160ff1916838001178555612e52565b82800160010185558215612e52579182015b82811115612e51578251825591602001919060010190612e36565b5b509050612e5f9190612e63565b5090565b5b80821115612e7c576000816000905550600101612e64565b5090565b6000612e93612e8e8461459d565b61456c565b90508083825260208201905082856020860282011115612eb257600080fd5b60005b85811015612ee25781612ec88882612fd4565b845260208401935060208301925050600181019050612eb5565b5050509392505050565b6000612eff612efa846145c9565b61456c565b90508083825260208201905082856020860282011115612f1e57600080fd5b60005b85811015612f4e5781612f3488826130fa565b845260208401935060208301925050600181019050612f21565b5050509392505050565b6000612f6b612f66846145f5565b61456c565b905082815260208101848484011115612f8357600080fd5b612f8e8482856147e1565b509392505050565b6000612fa9612fa484614625565b61456c565b905082815260208101848484011115612fc157600080fd5b612fcc8482856147e1565b509392505050565b600081359050612fe381614a3a565b92915050565b600082601f830112612ffa57600080fd5b813561300a848260208601612e80565b91505092915050565b600082601f83011261302457600080fd5b8135613034848260208601612eec565b91505092915050565b60008135905061304c81614a51565b92915050565b60008135905061306181614a68565b92915050565b60008135905061307681614a7f565b92915050565b60008151905061308b81614a7f565b92915050565b600082601f8301126130a257600080fd5b81356130b2848260208601612f58565b91505092915050565b6000815190506130ca81614a96565b92915050565b600082601f8301126130e157600080fd5b81356130f1848260208601612f96565b91505092915050565b60008135905061310981614aad565b92915050565b60008135905061311e81614ac4565b92915050565b60006020828403121561313657600080fd5b600061314484828501612fd4565b91505092915050565b6000806040838503121561316057600080fd5b600061316e85828601612fd4565b925050602061317f85828601612fd4565b9150509250929050565b600080600080600060a086880312156131a157600080fd5b60006131af88828901612fd4565b95505060206131c088828901612fd4565b945050604086013567ffffffffffffffff8111156131dd57600080fd5b6131e988828901613013565b935050606086013567ffffffffffffffff81111561320657600080fd5b61321288828901613013565b925050608086013567ffffffffffffffff81111561322f57600080fd5b61323b88828901613091565b9150509295509295909350565b600080600080600060a0868803121561326057600080fd5b600061326e88828901612fd4565b955050602061327f88828901612fd4565b9450506040613290888289016130fa565b93505060606132a1888289016130fa565b925050608086013567ffffffffffffffff8111156132be57600080fd5b6132ca88828901613091565b9150509295509295909350565b600080600080608085870312156132ed57600080fd5b60006132fb87828801612fd4565b945050602085013567ffffffffffffffff81111561331857600080fd5b61332487828801613013565b935050604085013567ffffffffffffffff81111561334157600080fd5b61334d87828801613013565b925050606085013567ffffffffffffffff81111561336a57600080fd5b61337687828801613091565b91505092959194509250565b6000806040838503121561339557600080fd5b60006133a385828601612fd4565b92505060206133b48582860161303d565b9150509250929050565b600080600080600060a086880312156133d657600080fd5b60006133e488828901612fd4565b955050602086013567ffffffffffffffff81111561340157600080fd5b61340d88828901613091565b945050604061341e88828901613052565b935050606061342f88828901613052565b92505060806134408882890161310f565b9150509295509295909350565b6000806040838503121561346057600080fd5b600061346e85828601612fd4565b925050602061347f858286016130fa565b9150509250929050565b6000806000806080858703121561349f57600080fd5b60006134ad87828801612fd4565b94505060206134be878288016130fa565b93505060406134cf878288016130fa565b925050606085013567ffffffffffffffff8111156134ec57600080fd5b6134f887828801613091565b91505092959194509250565b600080600080600060a0868803121561351c57600080fd5b600061352a88828901612fd4565b955050602061353b888289016130fa565b945050604061354c888289016130fa565b935050606086013567ffffffffffffffff81111561356957600080fd5b613575888289016130d0565b925050608086013567ffffffffffffffff81111561359257600080fd5b61359e88828901613091565b9150509295509295909350565b600080604083850312156135be57600080fd5b600083013567ffffffffffffffff8111156135d857600080fd5b6135e485828601612fe9565b925050602083013567ffffffffffffffff81111561360157600080fd5b61360d85828601613013565b9150509250929050565b60006020828403121561362957600080fd5b600061363784828501613067565b91505092915050565b60006020828403121561365257600080fd5b60006136608482850161307c565b91505092915050565b60006020828403121561367b57600080fd5b6000613689848285016130bb565b91505092915050565b6000602082840312156136a457600080fd5b600082013567ffffffffffffffff8111156136be57600080fd5b6136ca848285016130d0565b91505092915050565b6000602082840312156136e557600080fd5b60006136f3848285016130fa565b91505092915050565b6000806040838503121561370f57600080fd5b600061371d858286016130fa565b925050602083013567ffffffffffffffff81111561373a57600080fd5b613746858286016130d0565b9150509250929050565b600061375c8383613fcd565b60208301905092915050565b61377181614744565b82525050565b61378081614732565b82525050565b61379761379282614732565b61489e565b82525050565b60006137a882614665565b6137b28185614693565b93506137bd83614655565b8060005b838110156137ee5781516137d58882613750565b97506137e083614686565b9250506001810190506137c1565b5085935050505092915050565b61380481614756565b82525050565b61381381614762565b82525050565b61382a61382582614762565b6148b0565b82525050565b600061383b82614670565b61384581856146a4565b93506138558185602086016147f0565b61385e81614959565b840191505092915050565b600061387482614670565b61387e81856146b5565b935061388e8185602086016147f0565b80840191505092915050565b60006138a58261467b565b6138af81856146c0565b93506138bf8185602086016147f0565b6138c881614959565b840191505092915050565b60006138e06034836146c0565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b60006139466018836146c0565b91507f746f6b656e205f696420616c72656164792065786973747300000000000000006000830152602082019050919050565b60006139866028836146c0565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139ec602b836146c0565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613a526026836146c0565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ab8601c836146c0565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b6000613af86002836146d1565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000613b386029836146c0565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b9e6025836146c0565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c046025836146c0565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c6a6032836146c0565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000613cd06026836146c0565b91507f455243313135355472616461626c65237572693a204e4f4e4558495354454e5460008301527f5f544f4b454e00000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d36602a836146c0565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d9c6020836146c0565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613ddc6021836146c0565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e426029836146c0565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ea86029836146c0565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f0e6028836146c0565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f746021836146c0565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b613fd6816147ca565b82525050565b613fe5816147ca565b82525050565b613ff4816147d4565b82525050565b60006140068284613869565b915081905092915050565b600061401d8285613869565b91506140298284613786565b6014820191508190509392505050565b600061404482613aeb565b91506140508285613819565b6020820191506140608284613819565b6020820191508190509392505050565b60006020820190506140856000830184613777565b92915050565b60006060820190506140a06000830186613777565b6140ad6020830185613768565b81810360408301526140bf8184613830565b9050949350505050565b600060a0820190506140de6000830188613777565b6140eb6020830187613777565b81810360408301526140fd818661379d565b90508181036060830152614111818561379d565b905081810360808301526141258184613830565b90509695505050505050565b600060a0820190506141466000830188613777565b6141536020830187613777565b6141606040830186613fdc565b61416d6060830185613fdc565b818103608083015261417f8184613830565b90509695505050505050565b600060208201905081810360008301526141a5818461379d565b905092915050565b600060408201905081810360008301526141c7818561379d565b905081810360208301526141db818461379d565b90509392505050565b60006020820190506141f960008301846137fb565b92915050565b6000602082019050614214600083018461380a565b92915050565b600060808201905061422f600083018761380a565b61423c6020830186613fdc565b6142496040830185613777565b614256606083018461380a565b95945050505050565b6000608082019050614274600083018761380a565b6142816020830186613feb565b61428e604083018561380a565b61429b606083018461380a565b95945050505050565b600060208201905081810360008301526142be8184613830565b905092915050565b600060208201905081810360008301526142e0818461389a565b905092915050565b60006020820190508181036000830152614301816138d3565b9050919050565b6000602082019050818103600083015261432181613939565b9050919050565b6000602082019050818103600083015261434181613979565b9050919050565b60006020820190508181036000830152614361816139df565b9050919050565b6000602082019050818103600083015261438181613a45565b9050919050565b600060208201905081810360008301526143a181613aab565b9050919050565b600060208201905081810360008301526143c181613b2b565b9050919050565b600060208201905081810360008301526143e181613b91565b9050919050565b6000602082019050818103600083015261440181613bf7565b9050919050565b6000602082019050818103600083015261442181613c5d565b9050919050565b6000602082019050818103600083015261444181613cc3565b9050919050565b6000602082019050818103600083015261446181613d29565b9050919050565b6000602082019050818103600083015261448181613d8f565b9050919050565b600060208201905081810360008301526144a181613dcf565b9050919050565b600060208201905081810360008301526144c181613e35565b9050919050565b600060208201905081810360008301526144e181613e9b565b9050919050565b6000602082019050818103600083015261450181613f01565b9050919050565b6000602082019050818103600083015261452181613f67565b9050919050565b600060208201905061453d6000830184613fdc565b92915050565b60006040820190506145586000830185613fdc565b6145656020830184613fdc565b9392505050565b6000604051905081810181811067ffffffffffffffff821117156145935761459261492a565b5b8060405250919050565b600067ffffffffffffffff8211156145b8576145b761492a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156145e4576145e361492a565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156146105761460f61492a565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156146405761463f61492a565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146e7826147ca565b91506146f2836147ca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614727576147266148cc565b5b828201905092915050565b600061473d826147aa565b9050919050565b600061474f826147aa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006147a382614732565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561480e5780820151818401526020810190506147f3565b8381111561481d576000848401525b50505050565b6000600282049050600182168061483b57607f821691505b6020821081141561484f5761484e6148fb565b5b50919050565b6000614860826147ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614893576148926148cc565b5b600182019050919050565b60006148a9826148ba565b9050919050565b6000819050919050565b60006148c58261496a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b600060443d101561499457614a37565b60046000803e6149a5600051614977565b6308c379a081146149b65750614a37565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156149e257505050614a37565b808201805167ffffffffffffffff811115614a01575050505050614a37565b8060208301013d8501811115614a1c57505050505050614a37565b614a2582614959565b60208401016040528296505050505050505b90565b614a4381614732565b8114614a4e57600080fd5b50565b614a5a81614756565b8114614a6557600080fd5b50565b614a7181614762565b8114614a7c57600080fd5b50565b614a888161476c565b8114614a9357600080fd5b50565b614a9f81614798565b8114614aaa57600080fd5b50565b614ab6816147ca565b8114614ac157600080fd5b50565b614acd816147d4565b8114614ad857600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212207b44294e96049ef06d49ad8372a1ba0e975bdcef545a2c5b05becefe8f7d82b364736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
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.