ERC-721
Overview
Max Total Supply
2,931 MPN
Holders
2,931
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MPNLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Position
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../interfaces/IPositionMetadata.sol"; import "../interfaces/IPosition.sol"; contract Position is ERC721, ERC721Enumerable, Ownable, IPosition { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; IPositionMetadata public metadata; constructor(IPositionMetadata _metadata) ERC721("Maverick Position NFT", "MPN") { metadata = _metadata; _tokenIdCounter.increment(); } function setMetadata(IPositionMetadata _metadata) external onlyOwner { metadata = _metadata; emit SetMetadata(metadata); } function mint(address to) external returns (uint256 tokenId) { tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(to, tokenId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable, IERC165) returns (bool) { return super.supportsInterface(interfaceId); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Invalid Token ID"); return metadata.tokenURI(tokenId); } function tokenOfOwnerByIndexExists(address ownerToCheck, uint256 index) external view returns (bool) { return index < balanceOf(ownerToCheck); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "../interfaces/IPositionMetadata.sol"; interface IPosition is IERC721Enumerable { event SetMetadata(IPositionMetadata metadata); /// @notice mint new position NFT function mint(address to) external returns (uint256 tokenId); /// @notice mint new position NFT function tokenOfOwnerByIndexExists(address owner, uint256 index) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IPositionMetadata { function tokenURI(uint256 tokenId) external view returns (string memory); }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 660 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IPositionMetadata","name":"_metadata","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IPositionMetadata","name":"metadata","type":"address"}],"name":"SetMetadata","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadata","outputs":[{"internalType":"contract IPositionMetadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IPositionMetadata","name":"_metadata","type":"address"}],"name":"setMetadata","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"ownerToCheck","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndexExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001d5b38038062001d5b83398101604081905262000034916200015c565b6040518060400160405280601581526020017f4d6176657269636b20506f736974696f6e204e465400000000000000000000008152506040518060400160405280600381526020016226a82760e91b815250816000908162000097919062000233565b506001620000a6828262000233565b505050620000c3620000bd620000fd60201b60201c565b62000101565b600c80546001600160a01b0319166001600160a01b038316179055620000f6600b62000153602090811b62000ad217901c565b50620002ff565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b6000602082840312156200016f57600080fd5b81516001600160a01b03811681146200018757600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b957607f821691505b602082108103620001da57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022e57600081815260208120601f850160051c81016020861015620002095750805b601f850160051c820191505b818110156200022a5782815560010162000215565b5050505b505050565b81516001600160401b038111156200024f576200024f6200018e565b6200026781620002608454620001a4565b84620001e0565b602080601f8311600181146200029f5760008415620002865750858301515b600019600386901b1c1916600185901b1785556200022a565b600085815260208120601f198616915b82811015620002d057888601518255948401946001909101908401620002af565b5085821015620002ef5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611a4c806200030f6000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c80636352211e116100e3578063a22cb4651161008c578063e985e9c511610066578063e985e9c514610326578063f2fde38b14610362578063f3cb83851461037557600080fd5b8063a22cb465146102ed578063b88d4fde14610300578063c87b56dd1461031357600080fd5b8063715018a6116100bd578063715018a6146102cc5780638da5cb5b146102d457806395d89b41146102e557600080fd5b80636352211e146102935780636a627842146102a657806370a08231146102b957600080fd5b806323b872dd1161014557806342842e0e1161011f57806342842e0e1461025a57806348fd65fe1461026d5780634f6ccce71461028057600080fd5b806323b872dd146102215780632f745c5914610234578063392f37e91461024757600080fd5b8063081812fc11610176578063081812fc146101cf578063095ea7b3146101fa57806318160ddd1461020f57600080fd5b806301ffc9a71461019257806306fdde03146101ba575b600080fd5b6101a56101a03660046115db565b610388565b60405190151581526020015b60405180910390f35b6101c2610399565b6040516101b1919061164f565b6101e26101dd366004611662565b61042b565b6040516001600160a01b0390911681526020016101b1565b61020d610208366004611690565b610452565b005b6008545b6040519081526020016101b1565b61020d61022f3660046116bc565b61056c565b610213610242366004611690565b6105e4565b600c546101e2906001600160a01b031681565b61020d6102683660046116bc565b61068c565b6101a561027b366004611690565b6106a7565b61021361028e366004611662565b6106bb565b6101e26102a1366004611662565b61075f565b6102136102b43660046116fd565b6107c4565b6102136102c73660046116fd565b6107ee565b61020d610874565b600a546001600160a01b03166101e2565b6101c2610888565b61020d6102fb36600461171a565b610897565b61020d61030e3660046117c7565b6108a6565b6101c2610321366004611662565b610925565b6101a5610334366004611876565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020d6103703660046116fd565b6109fd565b61020d6103833660046116fd565b610a76565b600061039382610adb565b92915050565b6060600080546103a8906118a4565b80601f01602080910402602001604051908101604052809291908181526020018280546103d4906118a4565b80156104215780601f106103f657610100808354040283529160200191610421565b820191906000526020600020905b81548152906001019060200180831161040457829003601f168201915b5050505050905090565b600061043682610b00565b506000908152600460205260409020546001600160a01b031690565b600061045d8261075f565b9050806001600160a01b0316836001600160a01b0316036104cf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104eb57506104eb8133610334565b61055d5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104c6565b6105678383610b64565b505050565b6105763382610bd2565b6105d95760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b60648201526084016104c6565b610567838383610c51565b60006105ef836107ee565b82106106635760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016104c6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610567838383604051806020016040528060008152506108a6565b60006106b2836107ee565b90911092915050565b60006106c660085490565b821061073a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016104c6565b6008828154811061074d5761074d6118de565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103935760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104c6565b60006107cf600b5490565b90506107df600b80546001019055565b6107e98282610df8565b919050565b60006001600160a01b0382166108585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104c6565b506001600160a01b031660009081526003602052604090205490565b61087c610e12565b6108866000610e6c565b565b6060600180546103a8906118a4565b6108a2338383610ebe565b5050565b6108b03383610bd2565b6109135760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b60648201526084016104c6565b61091f84848484610f8c565b50505050565b6000818152600260205260409020546060906001600160a01b031661098c5760405162461bcd60e51b815260206004820152601060248201527f496e76616c696420546f6b656e2049440000000000000000000000000000000060448201526064016104c6565b600c5460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd90602401600060405180830381865afa1580156109d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261039391908101906118f4565b610a05610e12565b6001600160a01b038116610a6a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c6565b610a7381610e6c565b50565b610a7e610e12565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f1e78374720f7ac1595d75f11f10ccc953103fcfd8adc75a397585edd2cf8e7cf9060200160405180910390a150565b80546001019055565b60006001600160e01b0319821663780e9d6360e01b148061039357506103938261100a565b6000818152600260205260409020546001600160a01b0316610a735760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104c6565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610b998261075f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610bde8361075f565b9050806001600160a01b0316846001600160a01b03161480610c2557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610c495750836001600160a01b0316610c3e8461042b565b6001600160a01b0316145b949350505050565b826001600160a01b0316610c648261075f565b6001600160a01b031614610cc85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104c6565b6001600160a01b038216610d2a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104c6565b610d3583838361105a565b610d40600082610b64565b6001600160a01b0383166000908152600360205260408120805460019290610d69908490611981565b90915550506001600160a01b0382166000908152600360205260408120805460019290610d97908490611994565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108a2828260405180602001604052806000815250611065565b600a546001600160a01b031633146108865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c6565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603610f1f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104c6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610f97848484610c51565b610fa3848484846110e3565b61091f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104c6565b60006001600160e01b031982166380ac58cd60e01b148061103b57506001600160e01b03198216635b5e139f60e01b145b8061039357506301ffc9a760e01b6001600160e01b0319831614610393565b61056783838361122f565b61106f83836112e7565b61107c60008484846110e3565b6105675760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104c6565b60006001600160a01b0384163b1561122457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906111279033908990889088906004016119a7565b6020604051808303816000875af1925050508015611162575060408051601f3d908101601f1916820190925261115f918101906119e3565b60015b61120a573d808015611190576040519150601f19603f3d011682016040523d82523d6000602084013e611195565b606091505b5080516000036112025760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104c6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610c49565b506001949350505050565b6001600160a01b03831661128a5761128581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6112ad565b816001600160a01b0316836001600160a01b0316146112ad576112ad8382611435565b6001600160a01b0382166112c457610567816114d2565b826001600160a01b0316826001600160a01b031614610567576105678282611581565b6001600160a01b03821661133d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104c6565b6000818152600260205260409020546001600160a01b0316156113a25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104c6565b6113ae6000838361105a565b6001600160a01b03821660009081526003602052604081208054600192906113d7908490611994565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611442846107ee565b61144c9190611981565b60008381526007602052604090205490915080821461149f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906114e490600190611981565b6000838152600960205260408120546008805493945090928490811061150c5761150c6118de565b90600052602060002001549050806008838154811061152d5761152d6118de565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061156557611565611a00565b6001900381819060005260206000200160009055905550505050565b600061158c836107ee565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610a7357600080fd5b6000602082840312156115ed57600080fd5b81356115f8816115c5565b9392505050565b60005b8381101561161a578181015183820152602001611602565b50506000910152565b6000815180845261163b8160208601602086016115ff565b601f01601f19169290920160200192915050565b6020815260006115f86020830184611623565b60006020828403121561167457600080fd5b5035919050565b6001600160a01b0381168114610a7357600080fd5b600080604083850312156116a357600080fd5b82356116ae8161167b565b946020939093013593505050565b6000806000606084860312156116d157600080fd5b83356116dc8161167b565b925060208401356116ec8161167b565b929592945050506040919091013590565b60006020828403121561170f57600080fd5b81356115f88161167b565b6000806040838503121561172d57600080fd5b82356117388161167b565b91506020830135801515811461174d57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561179757611797611758565b604052919050565b600067ffffffffffffffff8211156117b9576117b9611758565b50601f01601f191660200190565b600080600080608085870312156117dd57600080fd5b84356117e88161167b565b935060208501356117f88161167b565b925060408501359150606085013567ffffffffffffffff81111561181b57600080fd5b8501601f8101871361182c57600080fd5b803561183f61183a8261179f565b61176e565b81815288602083850101111561185457600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561188957600080fd5b82356118948161167b565b9150602083013561174d8161167b565b600181811c908216806118b857607f821691505b6020821081036118d857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561190657600080fd5b815167ffffffffffffffff81111561191d57600080fd5b8201601f8101841361192e57600080fd5b805161193c61183a8261179f565b81815285602083850101111561195157600080fd5b6119628260208301602086016115ff565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103935761039361196b565b808201808211156103935761039361196b565b60006001600160a01b038087168352808616602084015250836040830152608060608301526119d96080830184611623565b9695505050505050565b6000602082840312156119f557600080fd5b81516115f8816115c5565b634e487b7160e01b600052603160045260246000fdfea26469706673582212202bd34c3a3d72af46cb7160dafdecc21808617b2df608b1dd24db3572d4c231bf64736f6c63430008110033000000000000000000000000fd603806aa2cbe94f2fc3750aec79e67f69aa047
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018d5760003560e01c80636352211e116100e3578063a22cb4651161008c578063e985e9c511610066578063e985e9c514610326578063f2fde38b14610362578063f3cb83851461037557600080fd5b8063a22cb465146102ed578063b88d4fde14610300578063c87b56dd1461031357600080fd5b8063715018a6116100bd578063715018a6146102cc5780638da5cb5b146102d457806395d89b41146102e557600080fd5b80636352211e146102935780636a627842146102a657806370a08231146102b957600080fd5b806323b872dd1161014557806342842e0e1161011f57806342842e0e1461025a57806348fd65fe1461026d5780634f6ccce71461028057600080fd5b806323b872dd146102215780632f745c5914610234578063392f37e91461024757600080fd5b8063081812fc11610176578063081812fc146101cf578063095ea7b3146101fa57806318160ddd1461020f57600080fd5b806301ffc9a71461019257806306fdde03146101ba575b600080fd5b6101a56101a03660046115db565b610388565b60405190151581526020015b60405180910390f35b6101c2610399565b6040516101b1919061164f565b6101e26101dd366004611662565b61042b565b6040516001600160a01b0390911681526020016101b1565b61020d610208366004611690565b610452565b005b6008545b6040519081526020016101b1565b61020d61022f3660046116bc565b61056c565b610213610242366004611690565b6105e4565b600c546101e2906001600160a01b031681565b61020d6102683660046116bc565b61068c565b6101a561027b366004611690565b6106a7565b61021361028e366004611662565b6106bb565b6101e26102a1366004611662565b61075f565b6102136102b43660046116fd565b6107c4565b6102136102c73660046116fd565b6107ee565b61020d610874565b600a546001600160a01b03166101e2565b6101c2610888565b61020d6102fb36600461171a565b610897565b61020d61030e3660046117c7565b6108a6565b6101c2610321366004611662565b610925565b6101a5610334366004611876565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020d6103703660046116fd565b6109fd565b61020d6103833660046116fd565b610a76565b600061039382610adb565b92915050565b6060600080546103a8906118a4565b80601f01602080910402602001604051908101604052809291908181526020018280546103d4906118a4565b80156104215780601f106103f657610100808354040283529160200191610421565b820191906000526020600020905b81548152906001019060200180831161040457829003601f168201915b5050505050905090565b600061043682610b00565b506000908152600460205260409020546001600160a01b031690565b600061045d8261075f565b9050806001600160a01b0316836001600160a01b0316036104cf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104eb57506104eb8133610334565b61055d5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104c6565b6105678383610b64565b505050565b6105763382610bd2565b6105d95760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b60648201526084016104c6565b610567838383610c51565b60006105ef836107ee565b82106106635760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016104c6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610567838383604051806020016040528060008152506108a6565b60006106b2836107ee565b90911092915050565b60006106c660085490565b821061073a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016104c6565b6008828154811061074d5761074d6118de565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103935760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104c6565b60006107cf600b5490565b90506107df600b80546001019055565b6107e98282610df8565b919050565b60006001600160a01b0382166108585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104c6565b506001600160a01b031660009081526003602052604090205490565b61087c610e12565b6108866000610e6c565b565b6060600180546103a8906118a4565b6108a2338383610ebe565b5050565b6108b03383610bd2565b6109135760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b60648201526084016104c6565b61091f84848484610f8c565b50505050565b6000818152600260205260409020546060906001600160a01b031661098c5760405162461bcd60e51b815260206004820152601060248201527f496e76616c696420546f6b656e2049440000000000000000000000000000000060448201526064016104c6565b600c5460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd90602401600060405180830381865afa1580156109d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261039391908101906118f4565b610a05610e12565b6001600160a01b038116610a6a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c6565b610a7381610e6c565b50565b610a7e610e12565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f1e78374720f7ac1595d75f11f10ccc953103fcfd8adc75a397585edd2cf8e7cf9060200160405180910390a150565b80546001019055565b60006001600160e01b0319821663780e9d6360e01b148061039357506103938261100a565b6000818152600260205260409020546001600160a01b0316610a735760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104c6565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610b998261075f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610bde8361075f565b9050806001600160a01b0316846001600160a01b03161480610c2557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610c495750836001600160a01b0316610c3e8461042b565b6001600160a01b0316145b949350505050565b826001600160a01b0316610c648261075f565b6001600160a01b031614610cc85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104c6565b6001600160a01b038216610d2a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104c6565b610d3583838361105a565b610d40600082610b64565b6001600160a01b0383166000908152600360205260408120805460019290610d69908490611981565b90915550506001600160a01b0382166000908152600360205260408120805460019290610d97908490611994565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108a2828260405180602001604052806000815250611065565b600a546001600160a01b031633146108865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c6565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603610f1f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104c6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610f97848484610c51565b610fa3848484846110e3565b61091f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104c6565b60006001600160e01b031982166380ac58cd60e01b148061103b57506001600160e01b03198216635b5e139f60e01b145b8061039357506301ffc9a760e01b6001600160e01b0319831614610393565b61056783838361122f565b61106f83836112e7565b61107c60008484846110e3565b6105675760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104c6565b60006001600160a01b0384163b1561122457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906111279033908990889088906004016119a7565b6020604051808303816000875af1925050508015611162575060408051601f3d908101601f1916820190925261115f918101906119e3565b60015b61120a573d808015611190576040519150601f19603f3d011682016040523d82523d6000602084013e611195565b606091505b5080516000036112025760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104c6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610c49565b506001949350505050565b6001600160a01b03831661128a5761128581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6112ad565b816001600160a01b0316836001600160a01b0316146112ad576112ad8382611435565b6001600160a01b0382166112c457610567816114d2565b826001600160a01b0316826001600160a01b031614610567576105678282611581565b6001600160a01b03821661133d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104c6565b6000818152600260205260409020546001600160a01b0316156113a25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104c6565b6113ae6000838361105a565b6001600160a01b03821660009081526003602052604081208054600192906113d7908490611994565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611442846107ee565b61144c9190611981565b60008381526007602052604090205490915080821461149f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906114e490600190611981565b6000838152600960205260408120546008805493945090928490811061150c5761150c6118de565b90600052602060002001549050806008838154811061152d5761152d6118de565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061156557611565611a00565b6001900381819060005260206000200160009055905550505050565b600061158c836107ee565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610a7357600080fd5b6000602082840312156115ed57600080fd5b81356115f8816115c5565b9392505050565b60005b8381101561161a578181015183820152602001611602565b50506000910152565b6000815180845261163b8160208601602086016115ff565b601f01601f19169290920160200192915050565b6020815260006115f86020830184611623565b60006020828403121561167457600080fd5b5035919050565b6001600160a01b0381168114610a7357600080fd5b600080604083850312156116a357600080fd5b82356116ae8161167b565b946020939093013593505050565b6000806000606084860312156116d157600080fd5b83356116dc8161167b565b925060208401356116ec8161167b565b929592945050506040919091013590565b60006020828403121561170f57600080fd5b81356115f88161167b565b6000806040838503121561172d57600080fd5b82356117388161167b565b91506020830135801515811461174d57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561179757611797611758565b604052919050565b600067ffffffffffffffff8211156117b9576117b9611758565b50601f01601f191660200190565b600080600080608085870312156117dd57600080fd5b84356117e88161167b565b935060208501356117f88161167b565b925060408501359150606085013567ffffffffffffffff81111561181b57600080fd5b8501601f8101871361182c57600080fd5b803561183f61183a8261179f565b61176e565b81815288602083850101111561185457600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561188957600080fd5b82356118948161167b565b9150602083013561174d8161167b565b600181811c908216806118b857607f821691505b6020821081036118d857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561190657600080fd5b815167ffffffffffffffff81111561191d57600080fd5b8201601f8101841361192e57600080fd5b805161193c61183a8261179f565b81815285602083850101111561195157600080fd5b6119628260208301602086016115ff565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103935761039361196b565b808201808211156103935761039361196b565b60006001600160a01b038087168352808616602084015250836040830152608060608301526119d96080830184611623565b9695505050505050565b6000602082840312156119f557600080fd5b81516115f8816115c5565b634e487b7160e01b600052603160045260246000fdfea26469706673582212202bd34c3a3d72af46cb7160dafdecc21808617b2df608b1dd24db3572d4c231bf64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fd603806aa2cbe94f2fc3750aec79e67f69aa047
-----Decoded View---------------
Arg [0] : _metadata (address): 0xFD603806aA2cbE94f2Fc3750aeC79E67f69aa047
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fd603806aa2cbe94f2fc3750aec79e67f69aa047
Deployed Bytecode Sourcemap
383:1444:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1288:178;;;;;;:::i;:::-;;:::i;:::-;;;565:14:16;;558:22;540:41;;528:2;513:18;1288:178:15;;;;;;;;2470:98:1;;;:::i;:::-;;;;;;;:::i;3935:167::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:55:16;;;1679:74;;1667:2;1652:18;3935:167:1;1533:226:16;3467:407:1;;;;;;:::i;:::-;;:::i;:::-;;1615:111:4;1702:10;:17;1615:111;;;2389:25:16;;;2377:2;2362:18;1615:111:4;2243:177:16;4612:327:1;;;;;;:::i;:::-;;:::i;1291:253:4:-;;;;;;:::i;:::-;;:::i;542:33:15:-;;;;;-1:-1:-1;;;;;542:33:15;;;5005:179:1;;;;;;:::i;:::-;;:::i;1669:156:15:-;;;;;;:::i;:::-;;:::i;1798:230:4:-;;;;;;:::i;:::-;;:::i;2190:218:1:-;;;;;;:::i;:::-;;:::i;887:182:15:-;;;;;;:::i;:::-;;:::i;1929:204:1:-;;;;;;:::i;:::-;;:::i;1831:101:0:-;;;:::i;1201:85::-;1273:6;;-1:-1:-1;;;;;1273:6:0;1201:85;;2632:102:1;;;:::i;4169:153::-;;;;;;:::i;:::-;;:::i;5250:315::-;;;;;;:::i;:::-;;:::i;1471:193:15:-;;;;;;:::i;:::-;;:::i;4388:162:1:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4508:25:1;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162;2081:198:0;;;;;;:::i;:::-;;:::i;740:142:15:-;;;;;;:::i;:::-;;:::i;1288:178::-;1400:4;1423:36;1447:11;1423:23;:36::i;:::-;1416:43;1288:178;-1:-1:-1;;1288:178:15:o;2470:98:1:-;2524:13;2556:5;2549:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2470:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:1;;3935:167::o;3467:407::-;3547:13;3563:23;3578:7;3563:14;:23::i;:::-;3547:39;;3610:5;-1:-1:-1;;;;;3604:11:1;:2;-1:-1:-1;;;;;3604:11:1;;3596:57;;;;-1:-1:-1;;;3596:57:1;;6698:2:16;3596:57:1;;;6680:21:16;6737:2;6717:18;;;6710:30;6776:34;6756:18;;;6749:62;-1:-1:-1;;;6827:18:16;;;6820:31;6868:19;;3596:57:1;;;;;;;;;719:10:8;-1:-1:-1;;;;;3685:21:1;;;;:62;;-1:-1:-1;3710:37:1;3727:5;719:10:8;4388:162:1;:::i;3710:37::-;3664:171;;;;-1:-1:-1;;;3664:171:1;;7100:2:16;3664:171:1;;;7082:21:16;7139:2;7119:18;;;7112:30;7178:34;7158:18;;;7151:62;7249:32;7229:18;;;7222:60;7299:19;;3664:171:1;6898:426:16;3664:171:1;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3537:337;3467:407;;:::o;4612:327::-;4801:41;719:10:8;4834:7:1;4801:18;:41::i;:::-;4793:100;;;;-1:-1:-1;;;4793:100:1;;7531:2:16;4793:100:1;;;7513:21:16;7570:2;7550:18;;;7543:30;7609:34;7589:18;;;7582:62;-1:-1:-1;;;7660:18:16;;;7653:44;7714:19;;4793:100:1;7329:410:16;4793:100:1;4904:28;4914:4;4920:2;4924:7;4904:9;:28::i;1291:253:4:-;1388:7;1423:23;1440:5;1423:16;:23::i;:::-;1415:5;:31;1407:87;;;;-1:-1:-1;;;1407:87:4;;7946:2:16;1407:87:4;;;7928:21:16;7985:2;7965:18;;;7958:30;8024:34;8004:18;;;7997:62;8095:13;8075:18;;;8068:41;8126:19;;1407:87:4;7744:407:16;1407:87:4;-1:-1:-1;;;;;;1511:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1291:253::o;5005:179:1:-;5138:39;5155:4;5161:2;5165:7;5138:39;;;;;;;;;;;;:16;:39::i;1669:156:15:-;1764:4;1795:23;1805:12;1795:9;:23::i;:::-;1787:31;;;;1669:156;-1:-1:-1;;1669:156:15:o;1798:230:4:-;1873:7;1908:30;1702:10;:17;;1615:111;1908:30;1900:5;:38;1892:95;;;;-1:-1:-1;;;1892:95:4;;8358:2:16;1892:95:4;;;8340:21:16;8397:2;8377:18;;;8370:30;8436:34;8416:18;;;8409:62;8507:14;8487:18;;;8480:42;8539:19;;1892:95:4;8156:408:16;1892:95:4;2004:10;2015:5;2004:17;;;;;;;;:::i;:::-;;;;;;;;;1997:24;;1798:230;;;:::o;2190:218:1:-;2262:7;2297:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2297:16:1;;2323:56;;;;-1:-1:-1;;;2323:56:1;;8903:2:16;2323:56:1;;;8885:21:16;8942:2;8922:18;;;8915:30;8981:26;8961:18;;;8954:54;9025:18;;2323:56:1;8701:348:16;887:182:15;931:15;968:25;:15;918:14:9;;827:112;968:25:15;958:35;;1003:27;:15;1032:19:9;;1050:1;1032:19;;;945:123;1003:27:15;1040:22;1050:2;1054:7;1040:9;:22::i;:::-;887:182;;;:::o;1929:204:1:-;2001:7;-1:-1:-1;;;;;2028:19:1;;2020:73;;;;-1:-1:-1;;;2020:73:1;;9256:2:16;2020:73:1;;;9238:21:16;9295:2;9275:18;;;9268:30;9334:34;9314:18;;;9307:62;-1:-1:-1;;;9385:18:16;;;9378:39;9434:19;;2020:73:1;9054:405:16;2020:73:1;-1:-1:-1;;;;;;2110:16:1;;;;;:9;:16;;;;;;;1929:204::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;2632:102:1:-;2688:13;2720:7;2713:14;;;;;:::i;4169:153::-;4263:52;719:10:8;4296:8:1;4306;4263:18;:52::i;:::-;4169:153;;:::o;5250:315::-;5418:41;719:10:8;5451:7:1;5418:18;:41::i;:::-;5410:100;;;;-1:-1:-1;;;5410:100:1;;7531:2:16;5410:100:1;;;7513:21:16;7570:2;7550:18;;;7543:30;7609:34;7589:18;;;7582:62;-1:-1:-1;;;7660:18:16;;;7653:44;7714:19;;5410:100:1;7329:410:16;5410:100:1;5520:38;5534:4;5540:2;5544:7;5553:4;5520:13;:38::i;:::-;5250:315;;;;:::o;1471:193:15:-;7099:4:1;7122:16;;;:7;:16;;;;;;1544:13:15;;-1:-1:-1;;;;;7122:16:1;1569:45:15;;;;-1:-1:-1;;;1569:45:15;;9666:2:16;1569:45:15;;;9648:21:16;9705:2;9685:18;;;9678:30;9744:18;9724;;;9717:46;9780:18;;1569:45:15;9464:340:16;1569:45:15;1631:8;;:26;;-1:-1:-1;;;1631:26:15;;;;;2389:25:16;;;-1:-1:-1;;;;;1631:8:15;;;;:17;;2362:18:16;;1631:26:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1631:26:15;;;;;;;;;;;;:::i;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;10664:2:16;2161:73:0::1;::::0;::::1;10646:21:16::0;10703:2;10683:18;;;10676:30;10742:34;10722:18;;;10715:62;-1:-1:-1;;;10793:18:16;;;10786:36;10839:19;;2161:73:0::1;10462:402:16::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;740:142:15:-;1094:13:0;:11;:13::i;:::-;819:8:15::1;:20:::0;;-1:-1:-1;;;;;;819:20:15::1;-1:-1:-1::0;;;;;819:20:15;::::1;::::0;;::::1;::::0;;;854:21:::1;::::0;1679:74:16;;;854:21:15::1;::::0;1667:2:16;1652:18;854:21:15::1;;;;;;;740:142:::0;:::o;945:123:9:-;1032:19;;1050:1;1032:19;;;945:123::o;990:222:4:-;1092:4;-1:-1:-1;;;;;;1115:50:4;;-1:-1:-1;;;1115:50:4;;:90;;;1169:36;1193:11;1169:23;:36::i;11657:133:1:-;7099:4;7122:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7122:16:1;11730:53;;;;-1:-1:-1;;;11730:53:1;;8903:2:16;11730:53:1;;;8885:21:16;8942:2;8922:18;;;8915:30;8981:26;8961:18;;;8954:54;9025:18;;11730:53:1;8701:348:16;10959:171:1;11033:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11033:29:1;-1:-1:-1;;;;;11033:29:1;;;;;;;;:24;;11086:23;11033:24;11086:14;:23::i;:::-;-1:-1:-1;;;;;11077:46:1;;;;;;;;;;;10959:171;;:::o;7317:261::-;7410:4;7426:13;7442:23;7457:7;7442:14;:23::i;:::-;7426:39;;7494:5;-1:-1:-1;;;;;7483:16:1;:7;-1:-1:-1;;;;;7483:16:1;;:52;;;-1:-1:-1;;;;;;4508:25:1;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7503:32;7483:87;;;;7563:7;-1:-1:-1;;;;;7539:31:1;:20;7551:7;7539:11;:20::i;:::-;-1:-1:-1;;;;;7539:31:1;;7483:87;7475:96;7317:261;-1:-1:-1;;;;7317:261:1:o;10242:605::-;10396:4;-1:-1:-1;;;;;10369:31:1;:23;10384:7;10369:14;:23::i;:::-;-1:-1:-1;;;;;10369:31:1;;10361:81;;;;-1:-1:-1;;;10361:81:1;;11071:2:16;10361:81:1;;;11053:21:16;11110:2;11090:18;;;11083:30;11149:34;11129:18;;;11122:62;-1:-1:-1;;;11200:18:16;;;11193:35;11245:19;;10361:81:1;10869:401:16;10361:81:1;-1:-1:-1;;;;;10460:16:1;;10452:65;;;;-1:-1:-1;;;10452:65:1;;11477:2:16;10452:65:1;;;11459:21:16;11516:2;11496:18;;;11489:30;11555:34;11535:18;;;11528:62;-1:-1:-1;;;11606:18:16;;;11599:34;11650:19;;10452:65:1;11275:400:16;10452:65:1;10528:39;10549:4;10555:2;10559:7;10528:20;:39::i;:::-;10629:29;10646:1;10650:7;10629:8;:29::i;:::-;-1:-1:-1;;;;;10669:15:1;;;;;;:9;:15;;;;;:20;;10688:1;;10669:15;:20;;10688:1;;10669:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10699:13:1;;;;;;:9;:13;;;;;:18;;10716:1;;10699:13;:18;;10716:1;;10699:18;:::i;:::-;;;;-1:-1:-1;;10727:16:1;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10727:21:1;-1:-1:-1;;;;;10727:21:1;;;;;;;;;10764:27;;10727:16;;10764:27;;;;;;;3537:337;3467:407;;:::o;7908:108::-;7983:26;7993:2;7997:7;7983:26;;;;;;;;;;;;:9;:26::i;1359:130:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;719:10:8;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;12277:2:16;1414:68:0;;;12259:21:16;;;12296:18;;;12289:30;12355:34;12335:18;;;12328:62;12407:18;;1414:68:0;12075:356:16;2433:187:0;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;11266:307:1:-;11416:8;-1:-1:-1;;;;;11407:17:1;:5;-1:-1:-1;;;;;11407:17:1;;11399:55;;;;-1:-1:-1;;;11399:55:1;;12638:2:16;11399:55:1;;;12620:21:16;12677:2;12657:18;;;12650:30;12716:27;12696:18;;;12689:55;12761:18;;11399:55:1;12436:349:16;11399:55:1;-1:-1:-1;;;;;11464:25:1;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11464:46:1;;;;;;;;;;11525:41;;540::16;;;11525::1;;513:18:16;11525:41:1;;;;;;;11266:307;;;:::o;6426:305::-;6576:28;6586:4;6592:2;6596:7;6576:9;:28::i;:::-;6622:47;6645:4;6651:2;6655:7;6664:4;6622:22;:47::i;:::-;6614:110;;;;-1:-1:-1;;;6614:110:1;;12992:2:16;6614:110:1;;;12974:21:16;13031:2;13011:18;;;13004:30;13070:34;13050:18;;;13043:62;-1:-1:-1;;;13121:18:16;;;13114:48;13179:19;;6614:110:1;12790:414:16;1570:300:1;1672:4;-1:-1:-1;;;;;;1707:40:1;;-1:-1:-1;;;1707:40:1;;:104;;-1:-1:-1;;;;;;;1763:48:1;;-1:-1:-1;;;1763:48:1;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:11;;;1827:36:1;829:155:11;1074:209:15;1231:45;1258:4;1264:2;1268:7;1231:26;:45::i;8237:309:1:-;8361:18;8367:2;8371:7;8361:5;:18::i;:::-;8410:53;8441:1;8445:2;8449:7;8458:4;8410:22;:53::i;:::-;8389:150;;;;-1:-1:-1;;;8389:150:1;;12992:2:16;8389:150:1;;;12974:21:16;13031:2;13011:18;;;13004:30;13070:34;13050:18;;;13043:62;-1:-1:-1;;;13121:18:16;;;13114:48;13179:19;;8389:150:1;12790:414:16;12342:831:1;12491:4;-1:-1:-1;;;;;12511:13:1;;1465:19:7;:23;12507:660:1;;12546:71;;-1:-1:-1;;;12546:71:1;;-1:-1:-1;;;;;12546:36:1;;;;;:71;;719:10:8;;12597:4:1;;12603:7;;12612:4;;12546:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12546:71:1;;;;;;;;-1:-1:-1;;12546:71:1;;;;;;;;;;;;:::i;:::-;;;12542:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12784:6;:13;12801:1;12784:18;12780:321;;12826:60;;-1:-1:-1;;;12826:60:1;;12992:2:16;12826:60:1;;;12974:21:16;13031:2;13011:18;;;13004:30;13070:34;13050:18;;;13043:62;-1:-1:-1;;;13121:18:16;;;13114:48;13179:19;;12826:60:1;12790:414:16;12780:321:1;13053:6;13047:13;13038:6;13034:2;13030:15;13023:38;12542:573;-1:-1:-1;;;;;;12667:51:1;-1:-1:-1;;;12667:51:1;;-1:-1:-1;12660:58:1;;12507:660;-1:-1:-1;13152:4:1;12342:831;;;;;;:::o;2624:572:4:-;-1:-1:-1;;;;;2823:18:4;;2819:183;;2857:40;2889:7;4005:10;:17;;3978:24;;;;:15;:24;;;;;:44;;;4032:24;;;;;;;;;;;;3902:161;2857:40;2819:183;;;2926:2;-1:-1:-1;;;;;2918:10:4;:4;-1:-1:-1;;;;;2918:10:4;;2914:88;;2944:47;2977:4;2983:7;2944:32;:47::i;:::-;-1:-1:-1;;;;;3015:16:4;;3011:179;;3047:45;3084:7;3047:36;:45::i;3011:179::-;3119:4;-1:-1:-1;;;;;3113:10:4;:2;-1:-1:-1;;;;;3113:10:4;;3109:81;;3139:40;3167:2;3171:7;3139:27;:40::i;8868:427:1:-;-1:-1:-1;;;;;8947:16:1;;8939:61;;;;-1:-1:-1;;;8939:61:1;;14182:2:16;8939:61:1;;;14164:21:16;;;14201:18;;;14194:30;14260:34;14240:18;;;14233:62;14312:18;;8939:61:1;13980:356:16;8939:61:1;7099:4;7122:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7122:16:1;:30;9010:58;;;;-1:-1:-1;;;9010:58:1;;14543:2:16;9010:58:1;;;14525:21:16;14582:2;14562:18;;;14555:30;14621;14601:18;;;14594:58;14669:18;;9010:58:1;14341:352:16;9010:58:1;9079:45;9108:1;9112:2;9116:7;9079:20;:45::i;:::-;-1:-1:-1;;;;;9135:13:1;;;;;;:9;:13;;;;;:18;;9152:1;;9135:13;:18;;9152:1;;9135:18;:::i;:::-;;;;-1:-1:-1;;9163:16:1;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9163:21:1;-1:-1:-1;;;;;9163:21:1;;;;;;;;9200:33;;9163:16;;;9200:33;;9163:16;;9200:33;4169:153;;:::o;4680:970:4:-;4942:22;4992:1;4967:22;4984:4;4967:16;:22::i;:::-;:26;;;;:::i;:::-;5003:18;5024:26;;;:17;:26;;;;;;4942:51;;-1:-1:-1;5154:28:4;;;5150:323;;-1:-1:-1;;;;;5220:18:4;;5198:19;5220:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5269:30;;;;;;:44;;;5385:30;;:17;:30;;;;;:43;;;5150:323;-1:-1:-1;5566:26:4;;;;:17;:26;;;;;;;;5559:33;;;-1:-1:-1;;;;;5609:18:4;;;;;:12;:18;;;;;:34;;;;;;;5602:41;4680:970::o;5938:1061::-;6212:10;:17;6187:22;;6212:21;;6232:1;;6212:21;:::i;:::-;6243:18;6264:24;;;:15;:24;;;;;;6632:10;:26;;6187:46;;-1:-1:-1;6264:24:4;;6187:46;;6632:26;;;;;;:::i;:::-;;;;;;;;;6610:48;;6694:11;6669:10;6680;6669:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6773:28;;;:15;:28;;;;;;;:41;;;6942:24;;;;;6935:31;6976:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;6009:990;;;5938:1061;:::o;3490:217::-;3574:14;3591:20;3608:2;3591:16;:20::i;:::-;-1:-1:-1;;;;;3621:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3665:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3490:217:4:o;14:131:16:-;-1:-1:-1;;;;;;88:32:16;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:16:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:16;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:16;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:16:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:16;;1348:180;-1:-1:-1;1348:180:16:o;1764:154::-;-1:-1:-1;;;;;1843:5:16;1839:54;1832:5;1829:65;1819:93;;1908:1;1905;1898:12;1923:315;1991:6;1999;2052:2;2040:9;2031:7;2027:23;2023:32;2020:52;;;2068:1;2065;2058:12;2020:52;2107:9;2094:23;2126:31;2151:5;2126:31;:::i;:::-;2176:5;2228:2;2213:18;;;;2200:32;;-1:-1:-1;;;1923:315:16:o;2425:456::-;2502:6;2510;2518;2571:2;2559:9;2550:7;2546:23;2542:32;2539:52;;;2587:1;2584;2577:12;2539:52;2626:9;2613:23;2645:31;2670:5;2645:31;:::i;:::-;2695:5;-1:-1:-1;2752:2:16;2737:18;;2724:32;2765:33;2724:32;2765:33;:::i;:::-;2425:456;;2817:7;;-1:-1:-1;;;2871:2:16;2856:18;;;;2843:32;;2425:456::o;3143:247::-;3202:6;3255:2;3243:9;3234:7;3230:23;3226:32;3223:52;;;3271:1;3268;3261:12;3223:52;3310:9;3297:23;3329:31;3354:5;3329:31;:::i;3395:416::-;3460:6;3468;3521:2;3509:9;3500:7;3496:23;3492:32;3489:52;;;3537:1;3534;3527:12;3489:52;3576:9;3563:23;3595:31;3620:5;3595:31;:::i;:::-;3645:5;-1:-1:-1;3702:2:16;3687:18;;3674:32;3744:15;;3737:23;3725:36;;3715:64;;3775:1;3772;3765:12;3715:64;3798:7;3788:17;;;3395:416;;;;;:::o;3816:127::-;3877:10;3872:3;3868:20;3865:1;3858:31;3908:4;3905:1;3898:15;3932:4;3929:1;3922:15;3948:275;4019:2;4013:9;4084:2;4065:13;;-1:-1:-1;;4061:27:16;4049:40;;4119:18;4104:34;;4140:22;;;4101:62;4098:88;;;4166:18;;:::i;:::-;4202:2;4195:22;3948:275;;-1:-1:-1;3948:275:16:o;4228:186::-;4276:4;4309:18;4301:6;4298:30;4295:56;;;4331:18;;:::i;:::-;-1:-1:-1;4397:2:16;4376:15;-1:-1:-1;;4372:29:16;4403:4;4368:40;;4228:186::o;4419:1016::-;4514:6;4522;4530;4538;4591:3;4579:9;4570:7;4566:23;4562:33;4559:53;;;4608:1;4605;4598:12;4559:53;4647:9;4634:23;4666:31;4691:5;4666:31;:::i;:::-;4716:5;-1:-1:-1;4773:2:16;4758:18;;4745:32;4786:33;4745:32;4786:33;:::i;:::-;4838:7;-1:-1:-1;4892:2:16;4877:18;;4864:32;;-1:-1:-1;4947:2:16;4932:18;;4919:32;4974:18;4963:30;;4960:50;;;5006:1;5003;4996:12;4960:50;5029:22;;5082:4;5074:13;;5070:27;-1:-1:-1;5060:55:16;;5111:1;5108;5101:12;5060:55;5147:2;5134:16;5172:48;5188:31;5216:2;5188:31;:::i;:::-;5172:48;:::i;:::-;5243:2;5236:5;5229:17;5283:7;5278:2;5273;5269;5265:11;5261:20;5258:33;5255:53;;;5304:1;5301;5294:12;5255:53;5359:2;5354;5350;5346:11;5341:2;5334:5;5330:14;5317:45;5403:1;5398:2;5393;5386:5;5382:14;5378:23;5371:34;5424:5;5414:15;;;;;4419:1016;;;;;;;:::o;5440:388::-;5508:6;5516;5569:2;5557:9;5548:7;5544:23;5540:32;5537:52;;;5585:1;5582;5575:12;5537:52;5624:9;5611:23;5643:31;5668:5;5643:31;:::i;:::-;5693:5;-1:-1:-1;5750:2:16;5735:18;;5722:32;5763:33;5722:32;5763:33;:::i;6111:380::-;6190:1;6186:12;;;;6233;;;6254:61;;6308:4;6300:6;6296:17;6286:27;;6254:61;6361:2;6353:6;6350:14;6330:18;6327:38;6324:161;;6407:10;6402:3;6398:20;6395:1;6388:31;6442:4;6439:1;6432:15;6470:4;6467:1;6460:15;6324:161;;6111:380;;;:::o;8569:127::-;8630:10;8625:3;8621:20;8618:1;8611:31;8661:4;8658:1;8651:15;8685:4;8682:1;8675:15;9809:648;9889:6;9942:2;9930:9;9921:7;9917:23;9913:32;9910:52;;;9958:1;9955;9948:12;9910:52;9991:9;9985:16;10024:18;10016:6;10013:30;10010:50;;;10056:1;10053;10046:12;10010:50;10079:22;;10132:4;10124:13;;10120:27;-1:-1:-1;10110:55:16;;10161:1;10158;10151:12;10110:55;10190:2;10184:9;10215:48;10231:31;10259:2;10231:31;:::i;10215:48::-;10286:2;10279:5;10272:17;10326:7;10321:2;10316;10312;10308:11;10304:20;10301:33;10298:53;;;10347:1;10344;10337:12;10298:53;10360:67;10424:2;10419;10412:5;10408:14;10403:2;10399;10395:11;10360:67;:::i;:::-;10446:5;9809:648;-1:-1:-1;;;;;9809:648:16:o;11680:127::-;11741:10;11736:3;11732:20;11729:1;11722:31;11772:4;11769:1;11762:15;11796:4;11793:1;11786:15;11812:128;11879:9;;;11900:11;;;11897:37;;;11914:18;;:::i;11945:125::-;12010:9;;;12031:10;;;12028:36;;;12044:18;;:::i;13209:512::-;13403:4;-1:-1:-1;;;;;13513:2:16;13505:6;13501:15;13490:9;13483:34;13565:2;13557:6;13553:15;13548:2;13537:9;13533:18;13526:43;;13605:6;13600:2;13589:9;13585:18;13578:34;13648:3;13643:2;13632:9;13628:18;13621:31;13669:46;13710:3;13699:9;13695:19;13687:6;13669:46;:::i;:::-;13661:54;13209:512;-1:-1:-1;;;;;;13209:512:16:o;13726:249::-;13795:6;13848:2;13836:9;13827:7;13823:23;13819:32;13816:52;;;13864:1;13861;13854:12;13816:52;13896:9;13890:16;13915:30;13939:5;13915:30;:::i;14698:127::-;14759:10;14754:3;14750:20;14747:1;14740:31;14790:4;14787:1;14780:15;14814:4;14811:1;14804:15
Swarm Source
ipfs://2bd34c3a3d72af46cb7160dafdecc21808617b2df608b1dd24db3572d4c231bf
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.