Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
0
Holders
2,981
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 |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xDFEf5aC9...2471dC2C7 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Fee1155NFTLockable
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./FeeOwner.sol"; /** @title An OpenSea delegate proxy contract which we include for whitelisting. @author OpenSea */ contract OwnableDelegateProxy { } /** @title An OpenSea proxy registry contract which we include for whitelisting. @author OpenSea */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** @title An ERC-1155 item creation contract which specifies an associated FeeOwner who receives royalties from sales of created items. @author Tim Clancy The fee set by the FeeOwner on this Item is honored by Shop contracts. In addition to the inherited OpenZeppelin dependency, this uses ideas from the original ERC-1155 reference implementation. */ contract Fee1155NFTLockable is ERC1155, Ownable { using SafeMath for uint256; /// A version number for this fee-bearing 1155 item contract's interface. uint256 public version = 1; /// The ERC-1155 URI for looking up item metadata using {id} substitution. string public metadataUri; /// A user-specified FeeOwner to receive a portion of item sale earnings. FeeOwner public feeOwner; /// Specifically whitelist an OpenSea proxy registry address. address public proxyRegistryAddress; /// A counter to enforce unique IDs for each item group minted. uint256 public nextItemGroupId; /// This mapping tracks the number of unique items within each item group. mapping (uint256 => uint256) public itemGroupSizes; /// Whether or not the item collection has been locked to further minting. bool public locked; /// An event for tracking the creation of an item group. event ItemGroupCreated(uint256 itemGroupId, uint256 itemGroupSize, address indexed creator); /** Construct a new ERC-1155 item with an associated FeeOwner fee. @param _uri The metadata URI to perform token ID substitution in. @param _feeOwner The address of a FeeOwner who receives earnings from this item. */ constructor(string memory _uri, FeeOwner _feeOwner, address _proxyRegistryAddress) public ERC1155(_uri) { metadataUri = _uri; feeOwner = _feeOwner; proxyRegistryAddress = _proxyRegistryAddress; nextItemGroupId = 0; locked = false; } /** An override to whitelist the OpenSea proxy contract to enable gas-free listings. This function returns true if `_operator` is approved to transfer items owned by `_owner`. @param _owner The owner of items to check for transfer ability. @param _operator The potential transferrer of `_owner`'s items. */ function isApprovedForAll(address _owner, address _operator) public view override returns (bool isOperator) { ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == _operator) { return true; } return ERC1155.isApprovedForAll(_owner, _operator); } /** Allow the item owner to update the metadata URI of this collection. @param _uri The new URI to update to. */ function setURI(string calldata _uri) external onlyOwner { metadataUri = _uri; } /** Allow the item owner to forever lock this contract to further item minting. */ function lock() external onlyOwner { locked = true; } /** Create a new NFT item group of a specific size. NFTs within a group share a group ID in the upper 128-bits of their full item ID. Within a group NFTs can be distinguished for the purposes of serializing issue numbers. @param recipient The address to receive all NFTs within the newly-created group. @param ids The item IDs for the new items to create. @param amounts The amount of each corresponding item ID to create. @param data Any associated data to use on items minted in this transaction. */ function createNFT(address recipient, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external onlyOwner returns (uint256) { require(!locked, "You cannot create more NFTs on a locked collection."); require(ids.length > 0, "You cannot create an empty item group."); require(ids.length == amounts.length, "IDs length cannot be mismatched with amounts length."); // Create an item group of requested size using the next available ID. uint256 shiftedGroupId = nextItemGroupId << 128; itemGroupSizes[shiftedGroupId] = ids.length; // Mint the entire batch of items. _mintBatch(recipient, ids, amounts, data); // Increment our next item group ID and return our created item group ID. nextItemGroupId = nextItemGroupId.add(1); emit ItemGroupCreated(shiftedGroupId, ids.length, msg.sender); return shiftedGroupId; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./IERC1155.sol"; import "./IERC1155MetadataURI.sol"; import "./IERC1155Receiver.sol"; import "../../utils/Context.sol"; import "../../introspection/ERC165.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.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 SafeMath for uint256; 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; /* * bytes4(keccak256('balanceOf(address,uint256)')) == 0x00fdd58e * bytes4(keccak256('balanceOfBatch(address[],uint256[])')) == 0x4e1273f4 * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('safeTransferFrom(address,address,uint256,uint256,bytes)')) == 0xf242432a * bytes4(keccak256('safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)')) == 0x2eb2c2d6 * * => 0x00fdd58e ^ 0x4e1273f4 ^ 0xa22cb465 ^ * 0xe985e9c5 ^ 0xf242432a ^ 0x2eb2c2d6 == 0xd9b67a26 */ bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26; /* * bytes4(keccak256('uri(uint256)')) == 0x0e89341c */ bytes4 private constant _INTERFACE_ID_ERC1155_METADATA_URI = 0x0e89341c; /** * @dev See {_setURI}. */ constructor (string memory uri_) public { _setURI(uri_); // register the supported interfaces to conform to ERC1155 via ERC165 _registerInterface(_INTERFACE_ID_ERC1155); // register the supported interfaces to conform to ERC1155MetadataURI via ERC165 _registerInterface(_INTERFACE_ID_ERC1155_METADATA_URI); } /** * @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) external 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 { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer"); _balances[id][to] = _balances[id][to].add(amount); emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, 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(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); 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]; _balances[id][from] = _balances[id][from].sub( amount, "ERC1155: insufficient balance for transfer" ); _balances[id][to] = _balances[id][to].add(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 `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] = _balances[id][account].add(amount); emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 (uint i = 0; i < ids.length; i++) { _balances[ids[i]][to] = amounts[i].add(_balances[ids[i]][to]); } 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 `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn(address account, uint256 id, uint256 amount) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); _balances[id][account] = _balances[id][account].sub( amount, "ERC1155: burn amount exceeds balance" ); emit TransferSingle(operator, account, 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 account, uint256[] memory ids, uint256[] memory amounts) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint i = 0; i < ids.length; i++) { _balances[ids[i]][account] = _balances[ids[i]][account].sub( amounts[i], "ERC1155: burn amount exceeds balance" ); } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @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(to).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(to).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 pragma solidity >=0.6.0 <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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; /** @title Represents ownership over a fee of some percentage. @author Tim Clancy */ contract FeeOwner is Ownable { using SafeMath for uint256; /// A version number for this FeeOwner contract's interface. uint256 public version = 1; /// The percent fee due to this contract's owner, represented as 1/1000th of a percent. That is, a 1% fee maps to 1000. uint256 public fee; /// The maximum configurable percent fee due to this contract's owner, represented as 1/1000th of a percent. uint256 public maximumFee; /// An event for tracking modification of the fee. event FeeChanged(uint256 oldFee, uint256 newFee); /** Construct a new FeeOwner by providing specifying a fee. @param _fee The percent fee to apply, represented as 1/1000th of a percent. @param _maximumFee The maximum possible fee that the owner can set. */ constructor(uint256 _fee, uint256 _maximumFee) public { require(_fee <= _maximumFee, "The fee cannot be set above its maximum."); fee = _fee; maximumFee = _maximumFee; } /** Allows the owner of this fee to modify what they take, within bounds. @param newFee The new fee to begin using. */ function changeFee(uint256 newFee) external onlyOwner { require(newFee <= maximumFee, "The fee cannot be set above its original maximum."); emit FeeChanged(fee, newFee); fee = newFee; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; import "../../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 pragma solidity >=0.6.2 <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 pragma solidity >=0.6.0 <0.8.0; import "../../introspection/IERC165.sol"; /** * _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 pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"contract FeeOwner","name":"_feeOwner","type":"address"},{"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":"uint256","name":"itemGroupId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"itemGroupSize","type":"uint256"},{"indexed":true,"internalType":"address","name":"creator","type":"address"}],"name":"ItemGroupCreated","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":[{"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":"recipient","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"createNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeOwner","outputs":[{"internalType":"contract FeeOwner","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"itemGroupSizes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextItemGroupId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","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":"string","name":"_uri","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260016005553480156200001657600080fd5b50604051620023cd380380620023cd833981016040819052620000399162000242565b826200004c6301ffc9a760e01b6200012e565b620000578162000189565b62000069636cdb3d1360e11b6200012e565b6200007b6303a24d0760e21b6200012e565b50600062000088620001a2565b600480546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508251620000eb906006906020860190620001a6565b50600780546001600160a01b039384166001600160a01b03199182161790915560088054929093169116179055506000600955600b805460ff19169055620003ae565b6001600160e01b03198082161415620001645760405162461bcd60e51b81526004016200015b9062000304565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b80516200019e906003906020840190620001a6565b5050565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001e957805160ff191683800117855562000219565b8280016001018555821562000219579182015b8281111562000219578251825591602001919060010190620001fc565b50620002279291506200022b565b5090565b5b808211156200022757600081556001016200022c565b60008060006060848603121562000257578283fd5b83516001600160401b03808211156200026e578485fd5b818601915086601f83011262000282578485fd5b81518181111562000291578586fd5b620002a6601f8201601f19166020016200033b565b9150808252876020828501011115620002bd578586fd5b620002d081602084016020860162000362565b5080945050506020840151620002e68162000395565b6040850151909250620002f98162000395565b809150509250925092565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6040518181016001600160401b03811182821017156200035a57600080fd5b604052919050565b60005b838110156200037f57818101518382015260200162000365565b838111156200038f576000848401525b50505050565b6001600160a01b0381168114620003ab57600080fd5b50565b61200f80620003be6000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806377a4d559116100b8578063cf3090121161007c578063cf30901214610257578063e985e9c51461025f578063f0a7b09e14610272578063f242432a14610285578063f2fde38b14610298578063f83d08ba146102ab57610136565b806377a4d559146102175780638da5cb5b1461021f578063a22cb46514610234578063b9818be114610247578063cd7c03261461024f57610136565b8063347b160f116100ff578063347b160f146101cc5780634e1273f4146101d457806354fd4d50146101f457806369726a04146101fc578063715018a61461020f57610136565b8062fdd58e1461013b57806301ffc9a71461016457806302fe5305146101845780630e89341c146101995780632eb2c2d6146101b9575b600080fd5b61014e6101493660046116c2565b6102b3565b60405161015b9190611e78565b60405180910390f35b6101776101723660046117b0565b61030f565b60405161015b91906119d9565b610197610192366004611804565b61032e565b005b6101ac6101a7366004611844565b61037e565b60405161015b91906119e4565b6101976101c73660046114d7565b610416565b61014e610630565b6101e76101e23660046116ed565b610636565b60405161015b9190611998565b61014e610703565b61014e61020a3660046115e8565b610709565b6101976108ba565b6101ac610943565b6102276109d1565b60405161015b91906118e1565b610197610242366004611691565b6109e1565b610227610aaf565b610227610abe565b610177610acd565b61017761026d36600461149f565b610ad6565b61014e610280366004611844565b610b8a565b610197610293366004611581565b610b9c565b6101976102a6366004611483565b610d30565b610197610df1565b60006001600160a01b0383166102e45760405162461bcd60e51b81526004016102db90611ad9565b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b03191660009081526020819052604090205460ff1690565b610336610e3f565b6001600160a01b03166103476109d1565b6001600160a01b03161461036d5760405162461bcd60e51b81526004016102db90611c81565b61037960068383611290565b505050565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561040a5780601f106103df5761010080835404028352916020019161040a565b820191906000526020600020905b8154815290600101906020018083116103ed57829003601f168201915b50505050509050919050565b81518351146104375760405162461bcd60e51b81526004016102db90611def565b6001600160a01b03841661045d5760405162461bcd60e51b81526004016102db90611bea565b610465610e3f565b6001600160a01b0316856001600160a01b0316148061048b575061048b8561026d610e3f565b6104a75760405162461bcd60e51b81526004016102db90611c2f565b60006104b1610e3f565b90506104c1818787878787610628565b60005b84518110156105c25760008582815181106104db57fe5b6020026020010151905060008583815181106104f357fe5b60200260200101519050610560816040518060600160405280602a8152602001611fb0602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002054610e439092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a16815220546105979082610e6f565b60009283526001602081815260408086206001600160a01b038d1687529091529093205550016104c4565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516106129291906119ab565b60405180910390a4610628818787878787610e9b565b505050505050565b60095481565b606081518351146106595760405162461bcd60e51b81526004016102db90611da6565b6060835167ffffffffffffffff8111801561067357600080fd5b5060405190808252806020026020018201604052801561069d578160200160208202803683370190505b50905060005b84518110156106fb576106dc8582815181106106bb57fe5b60200260200101518583815181106106cf57fe5b60200260200101516102b3565b8282815181106106e857fe5b60209081029190910101526001016106a3565b509392505050565b60055481565b6000610713610e3f565b6001600160a01b03166107246109d1565b6001600160a01b03161461074a5760405162461bcd60e51b81526004016102db90611c81565b600b5460ff161561076d5760405162461bcd60e51b81526004016102db90611d0a565b8561078a5760405162461bcd60e51b81526004016102db90611a93565b8584146107a95760405162461bcd60e51b81526004016102db90611cb6565b60095460801b6000818152600a60209081526040918290208990558151818a028181018301909352898152610861928c928c918c9182919085019084908082843760009201919091525050604080516020808d0282810182019093528c82529093508c92508b91829185019084908082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250610fb292505050565b60095461086f906001610e6f565b60095560405133907ffac41e7685ab9cb815cdf1647bba235f2a16546a068670f12d3a7cc650723099906108a69084908b90611e81565b60405180910390a298975050505050505050565b6108c2610e3f565b6001600160a01b03166108d36109d1565b6001600160a01b0316146108f95760405162461bcd60e51b81526004016102db90611c81565b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480546001600160a01b0319169055565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c95780601f1061099e576101008083540402835291602001916109c9565b820191906000526020600020905b8154815290600101906020018083116109ac57829003601f168201915b505050505081565b6004546001600160a01b03165b90565b816001600160a01b03166109f3610e3f565b6001600160a01b03161415610a1a5760405162461bcd60e51b81526004016102db90611d5d565b8060026000610a27610e3f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610a6b610e3f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610aa391906119d9565b60405180910390a35050565b6007546001600160a01b031681565b6008546001600160a01b031681565b600b5460ff1681565b60085460405163c455279160e01b81526000916001600160a01b039081169190841690829063c455279190610b0f9088906004016118e1565b60206040518083038186803b158015610b2757600080fd5b505afa158015610b3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5f91906117e8565b6001600160a01b03161415610b78576001915050610309565b610b828484611147565b949350505050565b600a6020526000908152604090205481565b6001600160a01b038416610bc25760405162461bcd60e51b81526004016102db90611bea565b610bca610e3f565b6001600160a01b0316856001600160a01b03161480610bf05750610bf08561026d610e3f565b610c0c5760405162461bcd60e51b81526004016102db90611ba1565b6000610c16610e3f565b9050610c36818787610c2788611175565b610c3088611175565b87610628565b610c7d836040518060600160405280602a8152602001611fb0602a913960008781526001602090815260408083206001600160a01b038d1684529091529020549190610e43565b60008581526001602090815260408083206001600160a01b038b81168552925280832093909355871681522054610cb49084610e6f565b60008581526001602090815260408083206001600160a01b03808b168086529190935292819020939093559151909188811691908416907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290610d1a9089908990611e81565b60405180910390a46106288187878787876111b9565b610d38610e3f565b6001600160a01b0316610d496109d1565b6001600160a01b031614610d6f5760405162461bcd60e51b81526004016102db90611c81565b6001600160a01b038116610d955760405162461bcd60e51b81526004016102db90611b24565b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b610df9610e3f565b6001600160a01b0316610e0a6109d1565b6001600160a01b031614610e305760405162461bcd60e51b81526004016102db90611c81565b600b805460ff19166001179055565b3390565b60008184841115610e675760405162461bcd60e51b81526004016102db91906119e4565b505050900390565b600082820183811015610e945760405162461bcd60e51b81526004016102db90611b6a565b9392505050565b610ead846001600160a01b031661128a565b156106285760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190610ee690899089908890889088906004016118f5565b602060405180830381600087803b158015610f0057600080fd5b505af1925050508015610f30575060408051601f3d908101601f19168201909252610f2d918101906117cc565b60015b610f7957610f3c611edc565b80610f475750610f61565b8060405162461bcd60e51b81526004016102db91906119e4565b60405162461bcd60e51b81526004016102db906119f7565b6001600160e01b0319811663bc197c8160e01b14610fa95760405162461bcd60e51b81526004016102db90611a4b565b50505050505050565b6001600160a01b038416610fd85760405162461bcd60e51b81526004016102db90611e37565b8151835114610ff95760405162461bcd60e51b81526004016102db90611def565b6000611003610e3f565b905061101481600087878787610628565b60005b84518110156110d85761108f6001600087848151811061103357fe5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000205485838151811061107957fe5b6020026020010151610e6f90919063ffffffff16565b6001600087848151811061109f57fe5b602090810291909101810151825281810192909252604090810160009081206001600160a01b038b168252909252902055600101611017565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516111299291906119ab565b60405180910390a461114081600087878787610e9b565b5050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b6040805160018082528183019092526060918291906020808301908036833701905050905082816000815181106111a857fe5b602090810291909101015292915050565b6111cb846001600160a01b031661128a565b156106285760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906112049089908990889088908890600401611953565b602060405180830381600087803b15801561121e57600080fd5b505af192505050801561124e575060408051601f3d908101601f1916820190925261124b918101906117cc565b60015b61125a57610f3c611edc565b6001600160e01b0319811663f23a6e6160e01b14610fa95760405162461bcd60e51b81526004016102db90611a4b565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106112d15782800160ff198235161785556112fe565b828001600101855582156112fe579182015b828111156112fe5782358255916020019190600101906112e3565b5061130a92915061130e565b5090565b5b8082111561130a576000815560010161130f565b60008083601f840112611334578081fd5b50813567ffffffffffffffff81111561134b578182fd5b602083019150836020808302850101111561136557600080fd5b9250929050565b600082601f83011261137c578081fd5b813561138f61138a82611eb6565b611e8f565b8181529150602080830190848101818402860182018710156113b057600080fd5b60005b848110156113cf578135845292820192908201906001016113b3565b505050505092915050565b60008083601f8401126113eb578182fd5b50813567ffffffffffffffff811115611402578182fd5b60208301915083602082850101111561136557600080fd5b600082601f83011261142a578081fd5b813567ffffffffffffffff811115611440578182fd5b611453601f8201601f1916602001611e8f565b915080825283602082850101111561146a57600080fd5b8060208401602084013760009082016020015292915050565b600060208284031215611494578081fd5b8135610e9481611f81565b600080604083850312156114b1578081fd5b82356114bc81611f81565b915060208301356114cc81611f81565b809150509250929050565b600080600080600060a086880312156114ee578081fd5b85356114f981611f81565b9450602086013561150981611f81565b9350604086013567ffffffffffffffff80821115611525578283fd5b61153189838a0161136c565b94506060880135915080821115611546578283fd5b61155289838a0161136c565b93506080880135915080821115611567578283fd5b506115748882890161141a565b9150509295509295909350565b600080600080600060a08688031215611598578081fd5b85356115a381611f81565b945060208601356115b381611f81565b93506040860135925060608601359150608086013567ffffffffffffffff8111156115dc578182fd5b6115748882890161141a565b60008060008060008060006080888a031215611602578182fd5b873561160d81611f81565b9650602088013567ffffffffffffffff80821115611629578384fd5b6116358b838c01611323565b909850965060408a013591508082111561164d578384fd5b6116598b838c01611323565b909650945060608a0135915080821115611671578384fd5b5061167e8a828b016113da565b989b979a50959850939692959293505050565b600080604083850312156116a3578182fd5b82356116ae81611f81565b9150602083013580151581146114cc578182fd5b600080604083850312156116d4578182fd5b82356116df81611f81565b946020939093013593505050565b600080604083850312156116ff578182fd5b823567ffffffffffffffff80821115611716578384fd5b818501915085601f830112611729578384fd5b813561173761138a82611eb6565b80828252602080830192508086018a828387028901011115611757578889fd5b8896505b8487101561178257803561176e81611f81565b84526001969096019592810192810161175b565b509096508701359350505080821115611799578283fd5b506117a68582860161136c565b9150509250929050565b6000602082840312156117c1578081fd5b8135610e9481611f99565b6000602082840312156117dd578081fd5b8151610e9481611f99565b6000602082840312156117f9578081fd5b8151610e9481611f81565b60008060208385031215611816578182fd5b823567ffffffffffffffff81111561182c578283fd5b611838858286016113da565b90969095509350505050565b600060208284031215611855578081fd5b5035919050565b6000815180845260208085019450808401835b8381101561188b5781518752958201959082019060010161186f565b509495945050505050565b60008151808452815b818110156118bb5760208185018101518683018201520161189f565b818111156118cc5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0386811682528516602082015260a0604082018190526000906119219083018661185c565b8281036060840152611933818661185c565b905082810360808401526119478185611896565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061198d90830184611896565b979650505050505050565b600060208252610e94602083018461185c565b6000604082526119be604083018561185c565b82810360208401526119d0818561185c565b95945050505050565b901515815260200190565b600060208252610e946020830184611896565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526026908201527f596f752063616e6e6f742063726561746520616e20656d707479206974656d2060408201526533b937bab81760d11b606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526034908201527f494473206c656e6774682063616e6e6f74206265206d69736d617463686564206040820152733bb4ba341030b6b7bab73a39903632b733ba341760611b606082015260800190565b60208082526033908201527f596f752063616e6e6f7420637265617465206d6f7265204e465473206f6e2061604082015272103637b1b5b2b21031b7b63632b1ba34b7b71760691b606082015260800190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604082015268103337b91039b2b63360b91b606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604082015268040dad2e6dac2e8c6d60bb1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff81118282101715611eae57600080fd5b604052919050565b600067ffffffffffffffff821115611ecc578081fd5b5060209081020190565b60e01c90565b600060443d1015611eec576109de565b600481823e6308c379a0611f008251611ed6565b14611f0a576109de565b6040513d600319016004823e80513d67ffffffffffffffff8160248401118184111715611f3a57505050506109de565b82840192508251915080821115611f5457505050506109de565b503d83016020828401011115611f6c575050506109de565b601f01601f1916810160200160405291505090565b6001600160a01b0381168114611f9657600080fd5b50565b6001600160e01b031981168114611f9657600080fdfe455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572a26469706673582212207d8a1589c2183be89427930fbf56ba29a6a872394ca862bf10e39a57e7bbc75b64736f6c634300060c003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000003dc8052d4219257945bd0149f1d5296dd4f3bb2d000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000006c68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d513454414a766a714c74717962636b76644c6865583470467776416f42374a33793247764e5169685937434d2f6f726967696e616c2d62616e6b73792d6d6f726f6e732e6a736f6e0000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101365760003560e01c806377a4d559116100b8578063cf3090121161007c578063cf30901214610257578063e985e9c51461025f578063f0a7b09e14610272578063f242432a14610285578063f2fde38b14610298578063f83d08ba146102ab57610136565b806377a4d559146102175780638da5cb5b1461021f578063a22cb46514610234578063b9818be114610247578063cd7c03261461024f57610136565b8063347b160f116100ff578063347b160f146101cc5780634e1273f4146101d457806354fd4d50146101f457806369726a04146101fc578063715018a61461020f57610136565b8062fdd58e1461013b57806301ffc9a71461016457806302fe5305146101845780630e89341c146101995780632eb2c2d6146101b9575b600080fd5b61014e6101493660046116c2565b6102b3565b60405161015b9190611e78565b60405180910390f35b6101776101723660046117b0565b61030f565b60405161015b91906119d9565b610197610192366004611804565b61032e565b005b6101ac6101a7366004611844565b61037e565b60405161015b91906119e4565b6101976101c73660046114d7565b610416565b61014e610630565b6101e76101e23660046116ed565b610636565b60405161015b9190611998565b61014e610703565b61014e61020a3660046115e8565b610709565b6101976108ba565b6101ac610943565b6102276109d1565b60405161015b91906118e1565b610197610242366004611691565b6109e1565b610227610aaf565b610227610abe565b610177610acd565b61017761026d36600461149f565b610ad6565b61014e610280366004611844565b610b8a565b610197610293366004611581565b610b9c565b6101976102a6366004611483565b610d30565b610197610df1565b60006001600160a01b0383166102e45760405162461bcd60e51b81526004016102db90611ad9565b60405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b03191660009081526020819052604090205460ff1690565b610336610e3f565b6001600160a01b03166103476109d1565b6001600160a01b03161461036d5760405162461bcd60e51b81526004016102db90611c81565b61037960068383611290565b505050565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561040a5780601f106103df5761010080835404028352916020019161040a565b820191906000526020600020905b8154815290600101906020018083116103ed57829003601f168201915b50505050509050919050565b81518351146104375760405162461bcd60e51b81526004016102db90611def565b6001600160a01b03841661045d5760405162461bcd60e51b81526004016102db90611bea565b610465610e3f565b6001600160a01b0316856001600160a01b0316148061048b575061048b8561026d610e3f565b6104a75760405162461bcd60e51b81526004016102db90611c2f565b60006104b1610e3f565b90506104c1818787878787610628565b60005b84518110156105c25760008582815181106104db57fe5b6020026020010151905060008583815181106104f357fe5b60200260200101519050610560816040518060600160405280602a8152602001611fb0602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002054610e439092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a16815220546105979082610e6f565b60009283526001602081815260408086206001600160a01b038d1687529091529093205550016104c4565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516106129291906119ab565b60405180910390a4610628818787878787610e9b565b505050505050565b60095481565b606081518351146106595760405162461bcd60e51b81526004016102db90611da6565b6060835167ffffffffffffffff8111801561067357600080fd5b5060405190808252806020026020018201604052801561069d578160200160208202803683370190505b50905060005b84518110156106fb576106dc8582815181106106bb57fe5b60200260200101518583815181106106cf57fe5b60200260200101516102b3565b8282815181106106e857fe5b60209081029190910101526001016106a3565b509392505050565b60055481565b6000610713610e3f565b6001600160a01b03166107246109d1565b6001600160a01b03161461074a5760405162461bcd60e51b81526004016102db90611c81565b600b5460ff161561076d5760405162461bcd60e51b81526004016102db90611d0a565b8561078a5760405162461bcd60e51b81526004016102db90611a93565b8584146107a95760405162461bcd60e51b81526004016102db90611cb6565b60095460801b6000818152600a60209081526040918290208990558151818a028181018301909352898152610861928c928c918c9182919085019084908082843760009201919091525050604080516020808d0282810182019093528c82529093508c92508b91829185019084908082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250610fb292505050565b60095461086f906001610e6f565b60095560405133907ffac41e7685ab9cb815cdf1647bba235f2a16546a068670f12d3a7cc650723099906108a69084908b90611e81565b60405180910390a298975050505050505050565b6108c2610e3f565b6001600160a01b03166108d36109d1565b6001600160a01b0316146108f95760405162461bcd60e51b81526004016102db90611c81565b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480546001600160a01b0319169055565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c95780601f1061099e576101008083540402835291602001916109c9565b820191906000526020600020905b8154815290600101906020018083116109ac57829003601f168201915b505050505081565b6004546001600160a01b03165b90565b816001600160a01b03166109f3610e3f565b6001600160a01b03161415610a1a5760405162461bcd60e51b81526004016102db90611d5d565b8060026000610a27610e3f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610a6b610e3f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610aa391906119d9565b60405180910390a35050565b6007546001600160a01b031681565b6008546001600160a01b031681565b600b5460ff1681565b60085460405163c455279160e01b81526000916001600160a01b039081169190841690829063c455279190610b0f9088906004016118e1565b60206040518083038186803b158015610b2757600080fd5b505afa158015610b3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5f91906117e8565b6001600160a01b03161415610b78576001915050610309565b610b828484611147565b949350505050565b600a6020526000908152604090205481565b6001600160a01b038416610bc25760405162461bcd60e51b81526004016102db90611bea565b610bca610e3f565b6001600160a01b0316856001600160a01b03161480610bf05750610bf08561026d610e3f565b610c0c5760405162461bcd60e51b81526004016102db90611ba1565b6000610c16610e3f565b9050610c36818787610c2788611175565b610c3088611175565b87610628565b610c7d836040518060600160405280602a8152602001611fb0602a913960008781526001602090815260408083206001600160a01b038d1684529091529020549190610e43565b60008581526001602090815260408083206001600160a01b038b81168552925280832093909355871681522054610cb49084610e6f565b60008581526001602090815260408083206001600160a01b03808b168086529190935292819020939093559151909188811691908416907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290610d1a9089908990611e81565b60405180910390a46106288187878787876111b9565b610d38610e3f565b6001600160a01b0316610d496109d1565b6001600160a01b031614610d6f5760405162461bcd60e51b81526004016102db90611c81565b6001600160a01b038116610d955760405162461bcd60e51b81526004016102db90611b24565b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b610df9610e3f565b6001600160a01b0316610e0a6109d1565b6001600160a01b031614610e305760405162461bcd60e51b81526004016102db90611c81565b600b805460ff19166001179055565b3390565b60008184841115610e675760405162461bcd60e51b81526004016102db91906119e4565b505050900390565b600082820183811015610e945760405162461bcd60e51b81526004016102db90611b6a565b9392505050565b610ead846001600160a01b031661128a565b156106285760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190610ee690899089908890889088906004016118f5565b602060405180830381600087803b158015610f0057600080fd5b505af1925050508015610f30575060408051601f3d908101601f19168201909252610f2d918101906117cc565b60015b610f7957610f3c611edc565b80610f475750610f61565b8060405162461bcd60e51b81526004016102db91906119e4565b60405162461bcd60e51b81526004016102db906119f7565b6001600160e01b0319811663bc197c8160e01b14610fa95760405162461bcd60e51b81526004016102db90611a4b565b50505050505050565b6001600160a01b038416610fd85760405162461bcd60e51b81526004016102db90611e37565b8151835114610ff95760405162461bcd60e51b81526004016102db90611def565b6000611003610e3f565b905061101481600087878787610628565b60005b84518110156110d85761108f6001600087848151811061103357fe5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000205485838151811061107957fe5b6020026020010151610e6f90919063ffffffff16565b6001600087848151811061109f57fe5b602090810291909101810151825281810192909252604090810160009081206001600160a01b038b168252909252902055600101611017565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516111299291906119ab565b60405180910390a461114081600087878787610e9b565b5050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b6040805160018082528183019092526060918291906020808301908036833701905050905082816000815181106111a857fe5b602090810291909101015292915050565b6111cb846001600160a01b031661128a565b156106285760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906112049089908990889088908890600401611953565b602060405180830381600087803b15801561121e57600080fd5b505af192505050801561124e575060408051601f3d908101601f1916820190925261124b918101906117cc565b60015b61125a57610f3c611edc565b6001600160e01b0319811663f23a6e6160e01b14610fa95760405162461bcd60e51b81526004016102db90611a4b565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106112d15782800160ff198235161785556112fe565b828001600101855582156112fe579182015b828111156112fe5782358255916020019190600101906112e3565b5061130a92915061130e565b5090565b5b8082111561130a576000815560010161130f565b60008083601f840112611334578081fd5b50813567ffffffffffffffff81111561134b578182fd5b602083019150836020808302850101111561136557600080fd5b9250929050565b600082601f83011261137c578081fd5b813561138f61138a82611eb6565b611e8f565b8181529150602080830190848101818402860182018710156113b057600080fd5b60005b848110156113cf578135845292820192908201906001016113b3565b505050505092915050565b60008083601f8401126113eb578182fd5b50813567ffffffffffffffff811115611402578182fd5b60208301915083602082850101111561136557600080fd5b600082601f83011261142a578081fd5b813567ffffffffffffffff811115611440578182fd5b611453601f8201601f1916602001611e8f565b915080825283602082850101111561146a57600080fd5b8060208401602084013760009082016020015292915050565b600060208284031215611494578081fd5b8135610e9481611f81565b600080604083850312156114b1578081fd5b82356114bc81611f81565b915060208301356114cc81611f81565b809150509250929050565b600080600080600060a086880312156114ee578081fd5b85356114f981611f81565b9450602086013561150981611f81565b9350604086013567ffffffffffffffff80821115611525578283fd5b61153189838a0161136c565b94506060880135915080821115611546578283fd5b61155289838a0161136c565b93506080880135915080821115611567578283fd5b506115748882890161141a565b9150509295509295909350565b600080600080600060a08688031215611598578081fd5b85356115a381611f81565b945060208601356115b381611f81565b93506040860135925060608601359150608086013567ffffffffffffffff8111156115dc578182fd5b6115748882890161141a565b60008060008060008060006080888a031215611602578182fd5b873561160d81611f81565b9650602088013567ffffffffffffffff80821115611629578384fd5b6116358b838c01611323565b909850965060408a013591508082111561164d578384fd5b6116598b838c01611323565b909650945060608a0135915080821115611671578384fd5b5061167e8a828b016113da565b989b979a50959850939692959293505050565b600080604083850312156116a3578182fd5b82356116ae81611f81565b9150602083013580151581146114cc578182fd5b600080604083850312156116d4578182fd5b82356116df81611f81565b946020939093013593505050565b600080604083850312156116ff578182fd5b823567ffffffffffffffff80821115611716578384fd5b818501915085601f830112611729578384fd5b813561173761138a82611eb6565b80828252602080830192508086018a828387028901011115611757578889fd5b8896505b8487101561178257803561176e81611f81565b84526001969096019592810192810161175b565b509096508701359350505080821115611799578283fd5b506117a68582860161136c565b9150509250929050565b6000602082840312156117c1578081fd5b8135610e9481611f99565b6000602082840312156117dd578081fd5b8151610e9481611f99565b6000602082840312156117f9578081fd5b8151610e9481611f81565b60008060208385031215611816578182fd5b823567ffffffffffffffff81111561182c578283fd5b611838858286016113da565b90969095509350505050565b600060208284031215611855578081fd5b5035919050565b6000815180845260208085019450808401835b8381101561188b5781518752958201959082019060010161186f565b509495945050505050565b60008151808452815b818110156118bb5760208185018101518683018201520161189f565b818111156118cc5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0386811682528516602082015260a0604082018190526000906119219083018661185c565b8281036060840152611933818661185c565b905082810360808401526119478185611896565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061198d90830184611896565b979650505050505050565b600060208252610e94602083018461185c565b6000604082526119be604083018561185c565b82810360208401526119d0818561185c565b95945050505050565b901515815260200190565b600060208252610e946020830184611896565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526026908201527f596f752063616e6e6f742063726561746520616e20656d707479206974656d2060408201526533b937bab81760d11b606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526034908201527f494473206c656e6774682063616e6e6f74206265206d69736d617463686564206040820152733bb4ba341030b6b7bab73a39903632b733ba341760611b606082015260800190565b60208082526033908201527f596f752063616e6e6f7420637265617465206d6f7265204e465473206f6e2061604082015272103637b1b5b2b21031b7b63632b1ba34b7b71760691b606082015260800190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604082015268103337b91039b2b63360b91b606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604082015268040dad2e6dac2e8c6d60bb1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b90815260200190565b918252602082015260400190565b60405181810167ffffffffffffffff81118282101715611eae57600080fd5b604052919050565b600067ffffffffffffffff821115611ecc578081fd5b5060209081020190565b60e01c90565b600060443d1015611eec576109de565b600481823e6308c379a0611f008251611ed6565b14611f0a576109de565b6040513d600319016004823e80513d67ffffffffffffffff8160248401118184111715611f3a57505050506109de565b82840192508251915080821115611f5457505050506109de565b503d83016020828401011115611f6c575050506109de565b601f01601f1916810160200160405291505090565b6001600160a01b0381168114611f9657600080fd5b50565b6001600160e01b031981168114611f9657600080fdfe455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572a26469706673582212207d8a1589c2183be89427930fbf56ba29a6a872394ca862bf10e39a57e7bbc75b64736f6c634300060c0033
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.