Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
4,706 GOGS
Holders
1,420
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GOGSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GoblinGoons
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-07-16 */ // SPDX-License-Identifier: MIT // // // _____ ____ ____ _ _____ _ _ _____ ____ ____ _ _ _____ // / ____|/ __ \| _ \| | |_ _| \ | | / ____|/ __ \ / __ \| \ | |/ ____| // | | __| | | | |_) | | | | | \| | | | __| | | | | | | \| | (___ // | | |_ | | | | _ <| | | | | . ` | | | |_ | | | | | | | . ` |\___ \ // | |__| | |__| | |_) | |____ _| |_| |\ | | |__| | |__| | |__| | |\ |____) | // \_____|\____/|____/|______|_____|_| \_| \_____|\____/ \____/|_| \_|_____/ // // // //Contract by @CobbleDev // pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. 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; } } } 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); } pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } pragma solidity ^0.8.0; /** * @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 tokenId); /** * @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); } pragma solidity ^0.8.0; /** * @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); } pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } pragma solidity ^0.8.0; /** * @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; } } pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-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` 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 { } } pragma solidity ^0.8.0; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } } pragma solidity ^0.8.0; /** * @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(); } } pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } pragma solidity ^0.8.0; contract GoblinGoons is Context, ERC721Enumerable, ERC721Burnable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdTracker; string private _baseTokenURI; address CobbleAddress = 0xE0666cAC0C2267209Ba3Da4Db00c03315Fe64fA8; address DarkoAddress = 0x95270f71252AF1F92E54c777237091F9382Ca5D8; address MattAddress = 0xd17EdAE5256Ba32A8b34DD428Bcc625B704Ad104; uint private constant maxGoblins = 8500; uint private constant mintPrice = 30000000000000000; bool private paused = true; event CreateGoblin(uint indexed id, uint coins, uint attributeSeed); mapping(uint => uint) private goldCoins; uint public totalGoldCoins = 0; constructor() ERC721("Goblin Goons", "GOGS") { _baseTokenURI = "https://goblingoonslair.com/goblin/"; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function mint(uint amount) public payable { require(!paused || msg.sender == owner()); require(amount > 0 && amount < 11, "You can only mint between 1 and 10 Goblins."); require(msg.value == mintPrice*amount || msg.sender == owner(), "It costs 0.03 eth to mint a Goblin."); require(totalSupply() + amount < maxGoblins, "There can only be 8500 Goblins!"); for(uint i = 0; i < amount; i++) { _tokenIdTracker.increment(); mintGoblin(_tokenIdTracker.current()); } } function mintGoblin(uint id) private { _mint(msg.sender, id); uint randomNumber = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp, totalSupply()))); uint randomCoins; if(randomNumber % 100 < 75) {randomCoins = 1;} else if(randomNumber % 100 < 95) {randomCoins = 2;} else {randomCoins = 3;} goldCoins[id] = randomCoins; totalGoldCoins = totalGoldCoins + randomCoins; emit CreateGoblin(id, randomCoins, randomNumber); } function getGoblinsCoins(uint id) public view returns(uint) { return goldCoins[id]; } function goldBalance(address person) public view returns(uint) { uint total = 0; for(uint i = 0; i < balanceOf(person); i++) { total = total + getGoblinsCoins(tokenOfOwnerByIndex(person, i)); } return total; } function pause() public virtual onlyOwner { paused = true; } function unpause() public virtual onlyOwner { paused = false; } function withdraw() external onlyOwner { uint balance = address(this).balance; payable(CobbleAddress).transfer((balance*3)/20); payable(DarkoAddress).transfer(balance/10); payable(MattAddress).transfer(balance/25); payable(msg.sender).transfer(address(this).balance); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"coins","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"attributeSeed","type":"uint256"}],"name":"CreateGoblin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getGoblinsCoins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"person","type":"address"}],"name":"goldBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","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":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalGoldCoins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600d80546001600160a01b031990811673e0666cac0c2267209ba3da4db00c03315fe64fa817909155600e80549091167395270f71252af1f92e54c777237091f9382ca5d8179055600f80547401d17edae5256ba32a8b34dd428bcc625b704ad1046001600160a81b031990911617905560006011553480156200008757600080fd5b50604080518082018252600c81526b476f626c696e20476f6f6e7360a01b602080830191825283518085019094526004845263474f475360e01b908401528151919291620000d89160009162000198565b508051620000ee90600190602084019062000198565b5050506200010b620001056200014260201b60201c565b62000146565b604051806060016040528060238152602001620025926023913980516200013b91600c9160209091019062000198565b506200027b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001a6906200023e565b90600052602060002090601f016020900481019282620001ca576000855562000215565b82601f10620001e557805160ff191683800117855562000215565b8280016001018555821562000215579182015b8281111562000215578251825591602001919060010190620001f8565b506200022392915062000227565b5090565b5b8082111562000223576000815560010162000228565b600181811c908216806200025357607f821691505b602082108114156200027557634e487b7160e01b600052602260045260246000fd5b50919050565b612307806200028b6000396000f3fe6080604052600436106101b75760003560e01c80636a29c76e116100ec578063a0712d681161008a578063b88d4fde11610064578063b88d4fde146104a9578063c87b56dd146104c9578063e985e9c5146104e9578063f2fde38b1461053257600080fd5b8063a0712d6814610460578063a22cb46514610473578063b41dc6fc1461049357600080fd5b8063715018a6116100c6578063715018a6146104035780638456cb59146104185780638da5cb5b1461042d57806395d89b411461044b57600080fd5b80636a29c76e146103965780636d02423f146103c357806370a08231146103e357600080fd5b80633ccfd60b1161015957806342966c681161013357806342966c68146103165780634f6ccce71461033657806355f804b3146103565780636352211e1461037657600080fd5b80633ccfd60b146102cc5780633f4ba83a146102e157806342842e0e146102f657600080fd5b8063095ea7b311610195578063095ea7b31461024b57806318160ddd1461026d57806323b872dd1461028c5780632f745c59146102ac57600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611f68565b610552565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50610206610563565b6040516101e89190612096565b34801561021f57600080fd5b5061023361022e366004611fe6565b6105f5565b6040516001600160a01b0390911681526020016101e8565b34801561025757600080fd5b5061026b610266366004611f3f565b61068f565b005b34801561027957600080fd5b506008545b6040519081526020016101e8565b34801561029857600080fd5b5061026b6102a7366004611e51565b6107a5565b3480156102b857600080fd5b5061027e6102c7366004611f3f565b6107d7565b3480156102d857600080fd5b5061026b61086d565b3480156102ed57600080fd5b5061026b61099e565b34801561030257600080fd5b5061026b610311366004611e51565b6109d7565b34801561032257600080fd5b5061026b610331366004611fe6565b6109f2565b34801561034257600080fd5b5061027e610351366004611fe6565b610a6c565b34801561036257600080fd5b5061026b610371366004611fa0565b610b0d565b34801561038257600080fd5b50610233610391366004611fe6565b610b4a565b3480156103a257600080fd5b5061027e6103b1366004611fe6565b60009081526010602052604090205490565b3480156103cf57600080fd5b5061027e6103de366004611e05565b610bc1565b3480156103ef57600080fd5b5061027e6103fe366004611e05565b610c08565b34801561040f57600080fd5b5061026b610c8f565b34801561042457600080fd5b5061026b610cc5565b34801561043957600080fd5b50600a546001600160a01b0316610233565b34801561045757600080fd5b50610206610d04565b61026b61046e366004611fe6565b610d13565b34801561047f57600080fd5b5061026b61048e366004611f05565b610ecf565b34801561049f57600080fd5b5061027e60115481565b3480156104b557600080fd5b5061026b6104c4366004611e8c565b610f94565b3480156104d557600080fd5b506102066104e4366004611fe6565b610fcc565b3480156104f557600080fd5b506101dc610504366004611e1f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561053e57600080fd5b5061026b61054d366004611e05565b6110a7565b600061055d8261113f565b92915050565b6060600080546105729061220f565b80601f016020809104026020016040519081016040528092919081815260200182805461059e9061220f565b80156105eb5780601f106105c0576101008083540402835291602001916105eb565b820191906000526020600020905b8154815290600101906020018083116105ce57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106735760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069a82610b4a565b9050806001600160a01b0316836001600160a01b031614156107085760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161066a565b336001600160a01b038216148061072457506107248133610504565b6107965760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161066a565b6107a08383611164565b505050565b6107b0335b826111d2565b6107cc5760405162461bcd60e51b815260040161066a90612130565b6107a08383836112c9565b60006107e283610c08565b82106108445760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161066a565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146108975760405162461bcd60e51b815260040161066a906120fb565b600d5447906001600160a01b03166108fc60146108b58460036121ad565b6108bf9190612199565b6040518115909202916000818181858888f193505050501580156108e7573d6000803e3d6000fd5b50600e546001600160a01b03166108fc610902600a84612199565b6040518115909202916000818181858888f1935050505015801561092a573d6000803e3d6000fd5b50600f546001600160a01b03166108fc610945601984612199565b6040518115909202916000818181858888f1935050505015801561096d573d6000803e3d6000fd5b5060405133904780156108fc02916000818181858888f1935050505015801561099a573d6000803e3d6000fd5b5050565b600a546001600160a01b031633146109c85760405162461bcd60e51b815260040161066a906120fb565b600f805460ff60a01b19169055565b6107a083838360405180602001604052806000815250610f94565b6109fb336107aa565b610a605760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b606482015260840161066a565b610a6981611474565b50565b6000610a7760085490565b8210610ada5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161066a565b60088281548110610afb57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610b375760405162461bcd60e51b815260040161066a906120fb565b805161099a90600c906020840190611cda565b6000818152600260205260408120546001600160a01b03168061055d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161066a565b600080805b610bcf84610c08565b811015610c0157610be36103b185836107d7565b610bed9083612181565b915080610bf98161224a565b915050610bc6565b5092915050565b60006001600160a01b038216610c735760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161066a565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610cb95760405162461bcd60e51b815260040161066a906120fb565b610cc3600061151b565b565b600a546001600160a01b03163314610cef5760405162461bcd60e51b815260040161066a906120fb565b600f805460ff60a01b1916600160a01b179055565b6060600180546105729061220f565b600f54600160a01b900460ff161580610d365750600a546001600160a01b031633145b610d3f57600080fd5b600081118015610d4f5750600b81105b610daf5760405162461bcd60e51b815260206004820152602b60248201527f596f752063616e206f6e6c79206d696e74206265747765656e203120616e642060448201526a18981023b7b13634b7399760a91b606482015260840161066a565b610dc081666a94d74f4300006121ad565b341480610dd75750600a546001600160a01b031633145b610e2f5760405162461bcd60e51b815260206004820152602360248201527f497420636f73747320302e30332065746820746f206d696e74206120476f626c60448201526234b71760e91b606482015260840161066a565b61213481610e3c60085490565b610e469190612181565b10610e935760405162461bcd60e51b815260206004820152601f60248201527f54686572652063616e206f6e6c79206265203835303020476f626c696e732100604482015260640161066a565b60005b8181101561099a57610eac600b80546001019055565b610ebd610eb8600b5490565b61156d565b80610ec78161224a565b915050610e96565b6001600160a01b038216331415610f285760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161066a565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f9e33836111d2565b610fba5760405162461bcd60e51b815260040161066a90612130565b610fc684848484611656565b50505050565b6000818152600260205260409020546060906001600160a01b031661104b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161066a565b6000611055611689565b9050600081511161107557604051806020016040528060008152506110a0565b8061107f84611698565b60405160200161109092919061202a565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146110d15760405162461bcd60e51b815260040161066a906120fb565b6001600160a01b0381166111365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066a565b610a698161151b565b60006001600160e01b0319821663780e9d6360e01b148061055d575061055d826117b2565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061119982610b4a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661124b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161066a565b600061125683610b4a565b9050806001600160a01b0316846001600160a01b031614806112915750836001600160a01b0316611286846105f5565b6001600160a01b0316145b806112c157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112dc82610b4a565b6001600160a01b0316146113445760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161066a565b6001600160a01b0382166113a65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161066a565b6113b1838383611802565b6113bc600082611164565b6001600160a01b03831660009081526003602052604081208054600192906113e59084906121cc565b90915550506001600160a01b0382166000908152600360205260408120805460019290611413908490612181565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061147f82610b4a565b905061148d81600084611802565b611498600083611164565b6001600160a01b03811660009081526003602052604081208054600192906114c19084906121cc565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611577338261180d565b6000444261158460085490565b604080516020810194909452830191909152606082015260800160408051601f19818403018152919052805160209091012090506000604b6115c7606484612265565b10156115d5575060016115f4565b605f6115e2606484612265565b10156115f0575060026115f4565b5060035b6000838152601060205260409020819055601154611613908290612181565b601155604080518281526020810184905284917f96a5c143ff4caed502f2760c84d7269cab7ec1bcbb0bbb054b78a1ea322bad08910160405180910390a2505050565b6116618484846112c9565b61166d8484848461195b565b610fc65760405162461bcd60e51b815260040161066a906120a9565b6060600c80546105729061220f565b6060816116bc5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116e657806116d08161224a565b91506116df9050600a83612199565b91506116c0565b60008167ffffffffffffffff81111561170f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611739576020820181803683370190505b5090505b84156112c15761174e6001836121cc565b915061175b600a86612265565b611766906030612181565b60f81b81838151811061178957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506117ab600a86612199565b945061173d565b60006001600160e01b031982166380ac58cd60e01b14806117e357506001600160e01b03198216635b5e139f60e01b145b8061055d57506301ffc9a760e01b6001600160e01b031983161461055d565b6107a0838383611a68565b6001600160a01b0382166118635760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161066a565b6000818152600260205260409020546001600160a01b0316156118c85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161066a565b6118d460008383611802565b6001600160a01b03821660009081526003602052604081208054600192906118fd908490612181565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15611a5d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061199f903390899088908890600401612059565b602060405180830381600087803b1580156119b957600080fd5b505af19250505080156119e9575060408051601f3d908101601f191682019092526119e691810190611f84565b60015b611a43573d808015611a17576040519150601f19603f3d011682016040523d82523d6000602084013e611a1c565b606091505b508051611a3b5760405162461bcd60e51b815260040161066a906120a9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112c1565b506001949350505050565b6001600160a01b038316611ac357611abe81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611ae6565b816001600160a01b0316836001600160a01b031614611ae657611ae68382611b20565b6001600160a01b038216611afd576107a081611bbd565b826001600160a01b0316826001600160a01b0316146107a0576107a08282611c96565b60006001611b2d84610c08565b611b3791906121cc565b600083815260076020526040902054909150808214611b8a576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bcf906001906121cc565b60008381526009602052604081205460088054939450909284908110611c0557634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611c3457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c7a57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611ca183610c08565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611ce69061220f565b90600052602060002090601f016020900481019282611d085760008555611d4e565b82601f10611d2157805160ff1916838001178555611d4e565b82800160010185558215611d4e579182015b82811115611d4e578251825591602001919060010190611d33565b50611d5a929150611d5e565b5090565b5b80821115611d5a5760008155600101611d5f565b600067ffffffffffffffff80841115611d8e57611d8e6122a5565b604051601f8501601f19908116603f01168101908282118183101715611db657611db66122a5565b81604052809350858152868686011115611dcf57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611e0057600080fd5b919050565b600060208284031215611e16578081fd5b6110a082611de9565b60008060408385031215611e31578081fd5b611e3a83611de9565b9150611e4860208401611de9565b90509250929050565b600080600060608486031215611e65578081fd5b611e6e84611de9565b9250611e7c60208501611de9565b9150604084013590509250925092565b60008060008060808587031215611ea1578081fd5b611eaa85611de9565b9350611eb860208601611de9565b925060408501359150606085013567ffffffffffffffff811115611eda578182fd5b8501601f81018713611eea578182fd5b611ef987823560208401611d73565b91505092959194509250565b60008060408385031215611f17578182fd5b611f2083611de9565b915060208301358015158114611f34578182fd5b809150509250929050565b60008060408385031215611f51578182fd5b611f5a83611de9565b946020939093013593505050565b600060208284031215611f79578081fd5b81356110a0816122bb565b600060208284031215611f95578081fd5b81516110a0816122bb565b600060208284031215611fb1578081fd5b813567ffffffffffffffff811115611fc7578182fd5b8201601f81018413611fd7578182fd5b6112c184823560208401611d73565b600060208284031215611ff7578081fd5b5035919050565b600081518084526120168160208601602086016121e3565b601f01601f19169290920160200192915050565b6000835161203c8184602088016121e3565b8351908301906120508183602088016121e3565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061208c90830184611ffe565b9695505050505050565b6020815260006110a06020830184611ffe565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561219457612194612279565b500190565b6000826121a8576121a861228f565b500490565b60008160001904831182151516156121c7576121c7612279565b500290565b6000828210156121de576121de612279565b500390565b60005b838110156121fe5781810151838201526020016121e6565b83811115610fc65750506000910152565b600181811c9082168061222357607f821691505b6020821081141561224457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561225e5761225e612279565b5060010190565b6000826122745761227461228f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a6957600080fdfea264697066735822122042555ba65ef9ee051f95e1f88de50b264df64a312895aa5558c54d75f9e5ba6364736f6c6343000804003368747470733a2f2f676f626c696e676f6f6e736c6169722e636f6d2f676f626c696e2f
Deployed Bytecode
0x6080604052600436106101b75760003560e01c80636a29c76e116100ec578063a0712d681161008a578063b88d4fde11610064578063b88d4fde146104a9578063c87b56dd146104c9578063e985e9c5146104e9578063f2fde38b1461053257600080fd5b8063a0712d6814610460578063a22cb46514610473578063b41dc6fc1461049357600080fd5b8063715018a6116100c6578063715018a6146104035780638456cb59146104185780638da5cb5b1461042d57806395d89b411461044b57600080fd5b80636a29c76e146103965780636d02423f146103c357806370a08231146103e357600080fd5b80633ccfd60b1161015957806342966c681161013357806342966c68146103165780634f6ccce71461033657806355f804b3146103565780636352211e1461037657600080fd5b80633ccfd60b146102cc5780633f4ba83a146102e157806342842e0e146102f657600080fd5b8063095ea7b311610195578063095ea7b31461024b57806318160ddd1461026d57806323b872dd1461028c5780632f745c59146102ac57600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611f68565b610552565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50610206610563565b6040516101e89190612096565b34801561021f57600080fd5b5061023361022e366004611fe6565b6105f5565b6040516001600160a01b0390911681526020016101e8565b34801561025757600080fd5b5061026b610266366004611f3f565b61068f565b005b34801561027957600080fd5b506008545b6040519081526020016101e8565b34801561029857600080fd5b5061026b6102a7366004611e51565b6107a5565b3480156102b857600080fd5b5061027e6102c7366004611f3f565b6107d7565b3480156102d857600080fd5b5061026b61086d565b3480156102ed57600080fd5b5061026b61099e565b34801561030257600080fd5b5061026b610311366004611e51565b6109d7565b34801561032257600080fd5b5061026b610331366004611fe6565b6109f2565b34801561034257600080fd5b5061027e610351366004611fe6565b610a6c565b34801561036257600080fd5b5061026b610371366004611fa0565b610b0d565b34801561038257600080fd5b50610233610391366004611fe6565b610b4a565b3480156103a257600080fd5b5061027e6103b1366004611fe6565b60009081526010602052604090205490565b3480156103cf57600080fd5b5061027e6103de366004611e05565b610bc1565b3480156103ef57600080fd5b5061027e6103fe366004611e05565b610c08565b34801561040f57600080fd5b5061026b610c8f565b34801561042457600080fd5b5061026b610cc5565b34801561043957600080fd5b50600a546001600160a01b0316610233565b34801561045757600080fd5b50610206610d04565b61026b61046e366004611fe6565b610d13565b34801561047f57600080fd5b5061026b61048e366004611f05565b610ecf565b34801561049f57600080fd5b5061027e60115481565b3480156104b557600080fd5b5061026b6104c4366004611e8c565b610f94565b3480156104d557600080fd5b506102066104e4366004611fe6565b610fcc565b3480156104f557600080fd5b506101dc610504366004611e1f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561053e57600080fd5b5061026b61054d366004611e05565b6110a7565b600061055d8261113f565b92915050565b6060600080546105729061220f565b80601f016020809104026020016040519081016040528092919081815260200182805461059e9061220f565b80156105eb5780601f106105c0576101008083540402835291602001916105eb565b820191906000526020600020905b8154815290600101906020018083116105ce57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106735760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061069a82610b4a565b9050806001600160a01b0316836001600160a01b031614156107085760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161066a565b336001600160a01b038216148061072457506107248133610504565b6107965760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161066a565b6107a08383611164565b505050565b6107b0335b826111d2565b6107cc5760405162461bcd60e51b815260040161066a90612130565b6107a08383836112c9565b60006107e283610c08565b82106108445760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161066a565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146108975760405162461bcd60e51b815260040161066a906120fb565b600d5447906001600160a01b03166108fc60146108b58460036121ad565b6108bf9190612199565b6040518115909202916000818181858888f193505050501580156108e7573d6000803e3d6000fd5b50600e546001600160a01b03166108fc610902600a84612199565b6040518115909202916000818181858888f1935050505015801561092a573d6000803e3d6000fd5b50600f546001600160a01b03166108fc610945601984612199565b6040518115909202916000818181858888f1935050505015801561096d573d6000803e3d6000fd5b5060405133904780156108fc02916000818181858888f1935050505015801561099a573d6000803e3d6000fd5b5050565b600a546001600160a01b031633146109c85760405162461bcd60e51b815260040161066a906120fb565b600f805460ff60a01b19169055565b6107a083838360405180602001604052806000815250610f94565b6109fb336107aa565b610a605760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b606482015260840161066a565b610a6981611474565b50565b6000610a7760085490565b8210610ada5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161066a565b60088281548110610afb57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610b375760405162461bcd60e51b815260040161066a906120fb565b805161099a90600c906020840190611cda565b6000818152600260205260408120546001600160a01b03168061055d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161066a565b600080805b610bcf84610c08565b811015610c0157610be36103b185836107d7565b610bed9083612181565b915080610bf98161224a565b915050610bc6565b5092915050565b60006001600160a01b038216610c735760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161066a565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610cb95760405162461bcd60e51b815260040161066a906120fb565b610cc3600061151b565b565b600a546001600160a01b03163314610cef5760405162461bcd60e51b815260040161066a906120fb565b600f805460ff60a01b1916600160a01b179055565b6060600180546105729061220f565b600f54600160a01b900460ff161580610d365750600a546001600160a01b031633145b610d3f57600080fd5b600081118015610d4f5750600b81105b610daf5760405162461bcd60e51b815260206004820152602b60248201527f596f752063616e206f6e6c79206d696e74206265747765656e203120616e642060448201526a18981023b7b13634b7399760a91b606482015260840161066a565b610dc081666a94d74f4300006121ad565b341480610dd75750600a546001600160a01b031633145b610e2f5760405162461bcd60e51b815260206004820152602360248201527f497420636f73747320302e30332065746820746f206d696e74206120476f626c60448201526234b71760e91b606482015260840161066a565b61213481610e3c60085490565b610e469190612181565b10610e935760405162461bcd60e51b815260206004820152601f60248201527f54686572652063616e206f6e6c79206265203835303020476f626c696e732100604482015260640161066a565b60005b8181101561099a57610eac600b80546001019055565b610ebd610eb8600b5490565b61156d565b80610ec78161224a565b915050610e96565b6001600160a01b038216331415610f285760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161066a565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f9e33836111d2565b610fba5760405162461bcd60e51b815260040161066a90612130565b610fc684848484611656565b50505050565b6000818152600260205260409020546060906001600160a01b031661104b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161066a565b6000611055611689565b9050600081511161107557604051806020016040528060008152506110a0565b8061107f84611698565b60405160200161109092919061202a565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146110d15760405162461bcd60e51b815260040161066a906120fb565b6001600160a01b0381166111365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066a565b610a698161151b565b60006001600160e01b0319821663780e9d6360e01b148061055d575061055d826117b2565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061119982610b4a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661124b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161066a565b600061125683610b4a565b9050806001600160a01b0316846001600160a01b031614806112915750836001600160a01b0316611286846105f5565b6001600160a01b0316145b806112c157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112dc82610b4a565b6001600160a01b0316146113445760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161066a565b6001600160a01b0382166113a65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161066a565b6113b1838383611802565b6113bc600082611164565b6001600160a01b03831660009081526003602052604081208054600192906113e59084906121cc565b90915550506001600160a01b0382166000908152600360205260408120805460019290611413908490612181565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061147f82610b4a565b905061148d81600084611802565b611498600083611164565b6001600160a01b03811660009081526003602052604081208054600192906114c19084906121cc565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611577338261180d565b6000444261158460085490565b604080516020810194909452830191909152606082015260800160408051601f19818403018152919052805160209091012090506000604b6115c7606484612265565b10156115d5575060016115f4565b605f6115e2606484612265565b10156115f0575060026115f4565b5060035b6000838152601060205260409020819055601154611613908290612181565b601155604080518281526020810184905284917f96a5c143ff4caed502f2760c84d7269cab7ec1bcbb0bbb054b78a1ea322bad08910160405180910390a2505050565b6116618484846112c9565b61166d8484848461195b565b610fc65760405162461bcd60e51b815260040161066a906120a9565b6060600c80546105729061220f565b6060816116bc5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156116e657806116d08161224a565b91506116df9050600a83612199565b91506116c0565b60008167ffffffffffffffff81111561170f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611739576020820181803683370190505b5090505b84156112c15761174e6001836121cc565b915061175b600a86612265565b611766906030612181565b60f81b81838151811061178957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506117ab600a86612199565b945061173d565b60006001600160e01b031982166380ac58cd60e01b14806117e357506001600160e01b03198216635b5e139f60e01b145b8061055d57506301ffc9a760e01b6001600160e01b031983161461055d565b6107a0838383611a68565b6001600160a01b0382166118635760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161066a565b6000818152600260205260409020546001600160a01b0316156118c85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161066a565b6118d460008383611802565b6001600160a01b03821660009081526003602052604081208054600192906118fd908490612181565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15611a5d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061199f903390899088908890600401612059565b602060405180830381600087803b1580156119b957600080fd5b505af19250505080156119e9575060408051601f3d908101601f191682019092526119e691810190611f84565b60015b611a43573d808015611a17576040519150601f19603f3d011682016040523d82523d6000602084013e611a1c565b606091505b508051611a3b5760405162461bcd60e51b815260040161066a906120a9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112c1565b506001949350505050565b6001600160a01b038316611ac357611abe81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611ae6565b816001600160a01b0316836001600160a01b031614611ae657611ae68382611b20565b6001600160a01b038216611afd576107a081611bbd565b826001600160a01b0316826001600160a01b0316146107a0576107a08282611c96565b60006001611b2d84610c08565b611b3791906121cc565b600083815260076020526040902054909150808214611b8a576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bcf906001906121cc565b60008381526009602052604081205460088054939450909284908110611c0557634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611c3457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c7a57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611ca183610c08565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611ce69061220f565b90600052602060002090601f016020900481019282611d085760008555611d4e565b82601f10611d2157805160ff1916838001178555611d4e565b82800160010185558215611d4e579182015b82811115611d4e578251825591602001919060010190611d33565b50611d5a929150611d5e565b5090565b5b80821115611d5a5760008155600101611d5f565b600067ffffffffffffffff80841115611d8e57611d8e6122a5565b604051601f8501601f19908116603f01168101908282118183101715611db657611db66122a5565b81604052809350858152868686011115611dcf57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611e0057600080fd5b919050565b600060208284031215611e16578081fd5b6110a082611de9565b60008060408385031215611e31578081fd5b611e3a83611de9565b9150611e4860208401611de9565b90509250929050565b600080600060608486031215611e65578081fd5b611e6e84611de9565b9250611e7c60208501611de9565b9150604084013590509250925092565b60008060008060808587031215611ea1578081fd5b611eaa85611de9565b9350611eb860208601611de9565b925060408501359150606085013567ffffffffffffffff811115611eda578182fd5b8501601f81018713611eea578182fd5b611ef987823560208401611d73565b91505092959194509250565b60008060408385031215611f17578182fd5b611f2083611de9565b915060208301358015158114611f34578182fd5b809150509250929050565b60008060408385031215611f51578182fd5b611f5a83611de9565b946020939093013593505050565b600060208284031215611f79578081fd5b81356110a0816122bb565b600060208284031215611f95578081fd5b81516110a0816122bb565b600060208284031215611fb1578081fd5b813567ffffffffffffffff811115611fc7578182fd5b8201601f81018413611fd7578182fd5b6112c184823560208401611d73565b600060208284031215611ff7578081fd5b5035919050565b600081518084526120168160208601602086016121e3565b601f01601f19169290920160200192915050565b6000835161203c8184602088016121e3565b8351908301906120508183602088016121e3565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061208c90830184611ffe565b9695505050505050565b6020815260006110a06020830184611ffe565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561219457612194612279565b500190565b6000826121a8576121a861228f565b500490565b60008160001904831182151516156121c7576121c7612279565b500290565b6000828210156121de576121de612279565b500390565b60005b838110156121fe5781810151838201526020016121e6565b83811115610fc65750506000910152565b600181811c9082168061222357607f821691505b6020821081141561224457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561225e5761225e612279565b5060010190565b6000826122745761227461228f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a6957600080fdfea264697066735822122042555ba65ef9ee051f95e1f88de50b264df64a312895aa5558c54d75f9e5ba6364736f6c63430008040033
Deployed Bytecode Sourcemap
42810:3572:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46200:179;;;;;;;;;;-1:-1:-1;46200:179:0;;;;;:::i;:::-;;:::i;:::-;;;6113:14:1;;6106:22;6088:41;;6076:2;6061:18;46200:179:0;;;;;;;;13169:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;14629:221::-;;;;;;;;;;-1:-1:-1;14629:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5411:32:1;;;5393:51;;5381:2;5366:18;14629:221:0;5348:102:1;14166:397:0;;;;;;;;;;-1:-1:-1;14166:397:0;;;;;:::i;:::-;;:::i;:::-;;25242:113;;;;;;;;;;-1:-1:-1;25330:10:0;:17;25242:113;;;15310:25:1;;;15298:2;15283:18;25242:113:0;15265:76:1;15519:305:0;;;;;;;;;;-1:-1:-1;15519:305:0;;;;;:::i;:::-;;:::i;24910:256::-;;;;;;;;;;-1:-1:-1;24910:256:0;;;;;:::i;:::-;;:::i;45612:319::-;;;;;;;;;;;;;:::i;45523:77::-;;;;;;;;;;;;;:::i;15895:151::-;;;;;;;;;;-1:-1:-1;15895:151:0;;;;;:::i;:::-;;:::i;23490:245::-;;;;;;;;;;-1:-1:-1;23490:245:0;;;;;:::i;:::-;;:::i;25432:233::-;;;;;;;;;;-1:-1:-1;25432:233:0;;;;;:::i;:::-;;:::i;43819:104::-;;;;;;;;;;-1:-1:-1;43819:104:0;;;;;:::i;:::-;;:::i;12863:239::-;;;;;;;;;;-1:-1:-1;12863:239:0;;;;;:::i;:::-;;:::i;45059:99::-;;;;;;;;;;-1:-1:-1;45059:99:0;;;;;:::i;:::-;45113:4;45137:13;;;:9;:13;;;;;;;45059:99;45170:263;;;;;;;;;;-1:-1:-1;45170:263:0;;;;;:::i;:::-;;:::i;12593:208::-;;;;;;;;;;-1:-1:-1;12593:208:0;;;;;:::i;:::-;;:::i;32314:94::-;;;;;;;;;;;;;:::i;45441:74::-;;;;;;;;;;;;;:::i;31663:87::-;;;;;;;;;;-1:-1:-1;31736:6:0;;-1:-1:-1;;;;;31736:6:0;31663:87;;13338:104;;;;;;;;;;;;;:::i;43937:546::-;;;;;;:::i;:::-;;:::i;14922:295::-;;;;;;;;;;-1:-1:-1;14922:295:0;;;;;:::i;:::-;;:::i;43529:30::-;;;;;;;;;;;;;;;;16117:285;;;;;;;;;;-1:-1:-1;16117:285:0;;;;;:::i;:::-;;:::i;13513:360::-;;;;;;;;;;-1:-1:-1;13513:360:0;;;;;:::i;:::-;;:::i;15288:164::-;;;;;;;;;;-1:-1:-1;15288:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;15409:25:0;;;15385:4;15409:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;15288:164;32563:192;;;;;;;;;;-1:-1:-1;32563:192:0;;;;;:::i;:::-;;:::i;46200:179::-;46311:4;46335:36;46359:11;46335:23;:36::i;:::-;46328:43;46200:179;-1:-1:-1;;46200:179:0:o;13169:100::-;13223:13;13256:5;13249:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13169:100;:::o;14629:221::-;14705:7;17958:16;;;:7;:16;;;;;;-1:-1:-1;;;;;17958:16:0;14725:73;;;;-1:-1:-1;;;14725:73:0;;11756:2:1;14725:73:0;;;11738:21:1;11795:2;11775:18;;;11768:30;11834:34;11814:18;;;11807:62;-1:-1:-1;;;11885:18:1;;;11878:42;11937:19;;14725:73:0;;;;;;;;;-1:-1:-1;14818:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;14818:24:0;;14629:221::o;14166:397::-;14247:13;14263:23;14278:7;14263:14;:23::i;:::-;14247:39;;14311:5;-1:-1:-1;;;;;14305:11:0;:2;-1:-1:-1;;;;;14305:11:0;;;14297:57;;;;-1:-1:-1;;;14297:57:0;;13356:2:1;14297:57:0;;;13338:21:1;13395:2;13375:18;;;13368:30;13434:34;13414:18;;;13407:62;-1:-1:-1;;;13485:18:1;;;13478:31;13526:19;;14297:57:0;13328:223:1;14297:57:0;711:10;-1:-1:-1;;;;;14375:21:0;;;;:62;;-1:-1:-1;14400:37:0;14417:5;711:10;15288:164;:::i;14400:37::-;14367:154;;;;-1:-1:-1;;;14367:154:0;;10149:2:1;14367:154:0;;;10131:21:1;10188:2;10168:18;;;10161:30;10227:34;10207:18;;;10200:62;10298:26;10278:18;;;10271:54;10342:19;;14367:154:0;10121:246:1;14367:154:0;14534:21;14543:2;14547:7;14534:8;:21::i;:::-;14166:397;;;:::o;15519:305::-;15680:41;711:10;15699:12;15713:7;15680:18;:41::i;:::-;15672:103;;;;-1:-1:-1;;;15672:103:0;;;;;;;:::i;:::-;15788:28;15798:4;15804:2;15808:7;15788:9;:28::i;24910:256::-;25007:7;25043:23;25060:5;25043:16;:23::i;:::-;25035:5;:31;25027:87;;;;-1:-1:-1;;;25027:87:0;;6970:2:1;25027:87:0;;;6952:21:1;7009:2;6989:18;;;6982:30;7048:34;7028:18;;;7021:62;-1:-1:-1;;;7099:18:1;;;7092:41;7150:19;;25027:87:0;6942:233:1;25027:87:0;-1:-1:-1;;;;;;25132:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;24910:256::o;45612:319::-;31736:6;;-1:-1:-1;;;;;31736:6:0;711:10;31883:23;31875:68;;;;-1:-1:-1;;;31875:68:0;;;;;;;:::i;:::-;45717:13:::1;::::0;45677:21:::1;::::0;-1:-1:-1;;;;;45717:13:0::1;45709:47;45753:2;45742:9;45677:21:::0;45750:1:::1;45742:9;:::i;:::-;45741:14;;;;:::i;:::-;45709:47;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;45775:12:0::1;::::0;-1:-1:-1;;;;;45775:12:0::1;45767:42;45798:10;45806:2;45798:7:::0;:10:::1;:::i;:::-;45767:42;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;45828:11:0::1;::::0;-1:-1:-1;;;;;45828:11:0::1;45820:41;45850:10;45858:2;45850:7:::0;:10:::1;:::i;:::-;45820:41;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;45872:51:0::1;::::0;45880:10:::1;::::0;45901:21:::1;45872:51:::0;::::1;;;::::0;::::1;::::0;;;45901:21;45880:10;45872:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;31954:1;45612:319::o:0;45523:77::-;31736:6;;-1:-1:-1;;;;;31736:6:0;711:10;31883:23;31875:68;;;;-1:-1:-1;;;31875:68:0;;;;;;;:::i;:::-;45578:6:::1;:14:::0;;-1:-1:-1;;;;45578:14:0::1;::::0;;45523:77::o;15895:151::-;15999:39;16016:4;16022:2;16026:7;15999:39;;;;;;;;;;;;:16;:39::i;23490:245::-;23608:41;711:10;23627:12;631:98;23608:41;23600:102;;;;-1:-1:-1;;;23600:102:0;;14589:2:1;23600:102:0;;;14571:21:1;14628:2;14608:18;;;14601:30;14667:34;14647:18;;;14640:62;-1:-1:-1;;;14718:18:1;;;14711:46;14774:19;;23600:102:0;14561:238:1;23600:102:0;23713:14;23719:7;23713:5;:14::i;:::-;23490:245;:::o;25432:233::-;25507:7;25543:30;25330:10;:17;;25242:113;25543:30;25535:5;:38;25527:95;;;;-1:-1:-1;;;25527:95:0;;14176:2:1;25527:95:0;;;14158:21:1;14215:2;14195:18;;;14188:30;14254:34;14234:18;;;14227:62;-1:-1:-1;;;14305:18:1;;;14298:42;14357:19;;25527:95:0;14148:234:1;25527:95:0;25640:10;25651:5;25640:17;;;;;;-1:-1:-1;;;25640:17:0;;;;;;;;;;;;;;;;;25633:24;;25432:233;;;:::o;43819:104::-;31736:6;;-1:-1:-1;;;;;31736:6:0;711:10;31883:23;31875:68;;;;-1:-1:-1;;;31875:68:0;;;;;;;:::i;:::-;43892:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;12863:239::-:0;12935:7;12971:16;;;:7;:16;;;;;;-1:-1:-1;;;;;12971:16:0;13006:19;12998:73;;;;-1:-1:-1;;;12998:73:0;;10985:2:1;12998:73:0;;;10967:21:1;11024:2;11004:18;;;10997:30;11063:34;11043:18;;;11036:62;-1:-1:-1;;;11114:18:1;;;11107:39;11163:19;;12998:73:0;10957:231:1;45170:263:0;45227:4;;;45269:134;45289:17;45299:6;45289:9;:17::i;:::-;45285:1;:21;45269:134;;;45344:47;45360:30;45380:6;45388:1;45360:19;:30::i;45344:47::-;45336:55;;:5;:55;:::i;:::-;45328:63;-1:-1:-1;45308:3:0;;;;:::i;:::-;;;;45269:134;;;-1:-1:-1;45420:5:0;45170:263;-1:-1:-1;;45170:263:0:o;12593:208::-;12665:7;-1:-1:-1;;;;;12693:19:0;;12685:74;;;;-1:-1:-1;;;12685:74:0;;10574:2:1;12685:74:0;;;10556:21:1;10613:2;10593:18;;;10586:30;10652:34;10632:18;;;10625:62;-1:-1:-1;;;10703:18:1;;;10696:40;10753:19;;12685:74:0;10546:232:1;12685:74:0;-1:-1:-1;;;;;;12777:16:0;;;;;:9;:16;;;;;;;12593:208::o;32314:94::-;31736:6;;-1:-1:-1;;;;;31736:6:0;711:10;31883:23;31875:68;;;;-1:-1:-1;;;31875:68:0;;;;;;;:::i;:::-;32379:21:::1;32397:1;32379:9;:21::i;:::-;32314:94::o:0;45441:74::-;31736:6;;-1:-1:-1;;;;;31736:6:0;711:10;31883:23;31875:68;;;;-1:-1:-1;;;31875:68:0;;;;;;;:::i;:::-;45494:6:::1;:13:::0;;-1:-1:-1;;;;45494:13:0::1;-1:-1:-1::0;;;45494:13:0::1;::::0;;45441:74::o;13338:104::-;13394:13;13427:7;13420:14;;;;;:::i;43937:546::-;43999:6;;-1:-1:-1;;;43999:6:0;;;;43998:7;;:32;;-1:-1:-1;31736:6:0;;-1:-1:-1;;;;;31736:6:0;44009:10;:21;43998:32;43990:41;;;;;;44059:1;44050:6;:10;:25;;;;;44073:2;44064:6;:11;44050:25;44042:81;;;;-1:-1:-1;;;44042:81:0;;8565:2:1;44042:81:0;;;8547:21:1;8604:2;8584:18;;;8577:30;8643:34;8623:18;;;8616:62;-1:-1:-1;;;8694:18:1;;;8687:41;8745:19;;44042:81:0;8537:233:1;44042:81:0;44155:16;44165:6;43334:17;44155:16;:::i;:::-;44142:9;:29;:54;;;-1:-1:-1;31736:6:0;;-1:-1:-1;;;;;31736:6:0;44175:10;:21;44142:54;44134:102;;;;-1:-1:-1;;;44134:102:0;;6566:2:1;44134:102:0;;;6548:21:1;6605:2;6585:18;;;6578:30;6644:34;6624:18;;;6617:62;-1:-1:-1;;;6695:18:1;;;6688:33;6738:19;;44134:102:0;6538:225:1;44134:102:0;43289:4;44271:6;44255:13;25330:10;:17;;25242:113;44255:13;:22;;;;:::i;:::-;:35;44247:79;;;;-1:-1:-1;;;44247:79:0;;15006:2:1;44247:79:0;;;14988:21:1;15045:2;15025:18;;;15018:30;15084:33;15064:18;;;15057:61;15135:18;;44247:79:0;14978:181:1;44247:79:0;44341:6;44337:139;44357:6;44353:1;:10;44337:139;;;44385:27;:15;1950:19;;1968:1;1950:19;;;1861:127;44385:27;44427:37;44438:25;:15;1831:14;;1739:114;44438:25;44427:10;:37::i;:::-;44365:3;;;;:::i;:::-;;;;44337:139;;14922:295;-1:-1:-1;;;;;15025:24:0;;711:10;15025:24;;15017:62;;;;-1:-1:-1;;;15017:62:0;;9382:2:1;15017:62:0;;;9364:21:1;9421:2;9401:18;;;9394:30;9460:27;9440:18;;;9433:55;9505:18;;15017:62:0;9354:175:1;15017:62:0;711:10;15092:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;15092:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;15092:53:0;;;;;;;;;;15161:48;;6088:41:1;;;15092:42:0;;711:10;15161:48;;6061:18:1;15161:48:0;;;;;;;14922:295;;:::o;16117:285::-;16249:41;711:10;16282:7;16249:18;:41::i;:::-;16241:103;;;;-1:-1:-1;;;16241:103:0;;;;;;;:::i;:::-;16355:39;16369:4;16375:2;16379:7;16388:5;16355:13;:39::i;:::-;16117:285;;;;:::o;13513:360::-;17934:4;17958:16;;;:7;:16;;;;;;13586:13;;-1:-1:-1;;;;;17958:16:0;13612:76;;;;-1:-1:-1;;;13612:76:0;;12940:2:1;13612:76:0;;;12922:21:1;12979:2;12959:18;;;12952:30;13018:34;12998:18;;;12991:62;-1:-1:-1;;;13069:18:1;;;13062:45;13124:19;;13612:76:0;12912:237:1;13612:76:0;13701:21;13725:10;:8;:10::i;:::-;13701:34;;13777:1;13759:7;13753:21;:25;:112;;;;;;;;;;;;;;;;;13818:7;13827:18;:7;:16;:18::i;:::-;13801:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;13753:112;13746:119;13513:360;-1:-1:-1;;;13513:360:0:o;32563:192::-;31736:6;;-1:-1:-1;;;;;31736:6:0;711:10;31883:23;31875:68;;;;-1:-1:-1;;;31875:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32652:22:0;::::1;32644:73;;;::::0;-1:-1:-1;;;32644:73:0;;7801:2:1;32644:73:0::1;::::0;::::1;7783:21:1::0;7840:2;7820:18;;;7813:30;7879:34;7859:18;;;7852:62;-1:-1:-1;;;7930:18:1;;;7923:36;7976:19;;32644:73:0::1;7773:228:1::0;32644:73:0::1;32728:19;32738:8;32728:9;:19::i;24589:237::-:0;24691:4;-1:-1:-1;;;;;;24715:50:0;;-1:-1:-1;;;24715:50:0;;:103;;;24782:36;24806:11;24782:23;:36::i;20819:174::-;20894:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;20894:29:0;-1:-1:-1;;;;;20894:29:0;;;;;;;;:24;;20948:23;20894:24;20948:14;:23::i;:::-;-1:-1:-1;;;;;20939:46:0;;;;;;;;;;;20819:174;;:::o;18163:348::-;18256:4;17958:16;;;:7;:16;;;;;;-1:-1:-1;;;;;17958:16:0;18273:73;;;;-1:-1:-1;;;18273:73:0;;9736:2:1;18273:73:0;;;9718:21:1;9775:2;9755:18;;;9748:30;9814:34;9794:18;;;9787:62;-1:-1:-1;;;9865:18:1;;;9858:42;9917:19;;18273:73:0;9708:234:1;18273:73:0;18357:13;18373:23;18388:7;18373:14;:23::i;:::-;18357:39;;18426:5;-1:-1:-1;;;;;18415:16:0;:7;-1:-1:-1;;;;;18415:16:0;;:51;;;;18459:7;-1:-1:-1;;;;;18435:31:0;:20;18447:7;18435:11;:20::i;:::-;-1:-1:-1;;;;;18435:31:0;;18415:51;:87;;;-1:-1:-1;;;;;;15409:25:0;;;15385:4;15409:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;18470:32;18407:96;18163:348;-1:-1:-1;;;;18163:348:0:o;20157:544::-;20282:4;-1:-1:-1;;;;;20255:31:0;:23;20270:7;20255:14;:23::i;:::-;-1:-1:-1;;;;;20255:31:0;;20247:85;;;;-1:-1:-1;;;20247:85:0;;12530:2:1;20247:85:0;;;12512:21:1;12569:2;12549:18;;;12542:30;12608:34;12588:18;;;12581:62;-1:-1:-1;;;12659:18:1;;;12652:39;12708:19;;20247:85:0;12502:231:1;20247:85:0;-1:-1:-1;;;;;20351:16:0;;20343:65;;;;-1:-1:-1;;;20343:65:0;;8977:2:1;20343:65:0;;;8959:21:1;9016:2;8996:18;;;8989:30;9055:34;9035:18;;;9028:62;-1:-1:-1;;;9106:18:1;;;9099:34;9150:19;;20343:65:0;8949:226:1;20343:65:0;20421:39;20442:4;20448:2;20452:7;20421:20;:39::i;:::-;20525:29;20542:1;20546:7;20525:8;:29::i;:::-;-1:-1:-1;;;;;20567:15:0;;;;;;:9;:15;;;;;:20;;20586:1;;20567:15;:20;;20586:1;;20567:20;:::i;:::-;;;;-1:-1:-1;;;;;;;20598:13:0;;;;;;:9;:13;;;;;:18;;20615:1;;20598:13;:18;;20615:1;;20598:18;:::i;:::-;;;;-1:-1:-1;;20627:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;20627:21:0;-1:-1:-1;;;;;20627:21:0;;;;;;;;;20666:27;;20627:16;;20666:27;;;;;;;20157:544;;;:::o;19460:360::-;19520:13;19536:23;19551:7;19536:14;:23::i;:::-;19520:39;;19572:48;19593:5;19608:1;19612:7;19572:20;:48::i;:::-;19661:29;19678:1;19682:7;19661:8;:29::i;:::-;-1:-1:-1;;;;;19703:16:0;;;;;;:9;:16;;;;;:21;;19723:1;;19703:16;:21;;19723:1;;19703:21;:::i;:::-;;;;-1:-1:-1;;19742:16:0;;;;:7;:16;;;;;;19735:23;;-1:-1:-1;;;;;;19735:23:0;;;19776:36;19750:7;;19742:16;-1:-1:-1;;;;;19776:36:0;;;;;19742:16;;19776:36;19460:360;;:::o;32763:173::-;32838:6;;;-1:-1:-1;;;;;32855:17:0;;;-1:-1:-1;;;;;;32855:17:0;;;;;;;32888:40;;32838:6;;;32855:17;32838:6;;32888:40;;32819:16;;32888:40;32763:173;;:::o;44495:552::-;44543:21;44549:10;44561:2;44543:5;:21::i;:::-;44585:17;44638:16;44656:15;44673:13;25330:10;:17;;25242:113;44673:13;44621:66;;;;;;5115:19:1;;;;5150:12;;5143:28;;;;5187:12;;;5180:28;5224:12;;44621:66:0;;;-1:-1:-1;;44621:66:0;;;;;;;;;44611:77;;44621:66;44611:77;;;;;-1:-1:-1;44606:83:0;44761:2;44740:18;44755:3;44611:77;44740:18;:::i;:::-;:23;44737:140;;;-1:-1:-1;44780:1:0;44737:140;;;44822:2;44801:18;44816:3;44801:12;:18;:::i;:::-;:23;44798:79;;;-1:-1:-1;44841:1:0;44798:79;;;-1:-1:-1;44874:1:0;44798:79;44897:13;;;;:9;:13;;;;;:27;;;44952:14;;:28;;44913:11;;44952:28;:::i;:::-;44935:14;:45;44996:43;;;15520:25:1;;;15576:2;15561:18;;15554:34;;;45009:2:0;;44996:43;;15493:18:1;44996:43:0;;;;;;;44495:552;;;:::o;17284:272::-;17398:28;17408:4;17414:2;17418:7;17398:9;:28::i;:::-;17445:48;17468:4;17474:2;17478:7;17487:5;17445:22;:48::i;:::-;17437:111;;;;-1:-1:-1;;;17437:111:0;;;;;;;:::i;43693:114::-;43753:13;43786;43779:20;;;;;:::i;33198:723::-;33254:13;33475:10;33471:53;;-1:-1:-1;;33502:10:0;;;;;;;;;;;;-1:-1:-1;;;33502:10:0;;;;;33198:723::o;33471:53::-;33549:5;33534:12;33590:78;33597:9;;33590:78;;33623:8;;;;:::i;:::-;;-1:-1:-1;33646:10:0;;-1:-1:-1;33654:2:0;33646:10;;:::i;:::-;;;33590:78;;;33678:19;33710:6;33700:17;;;;;;-1:-1:-1;;;33700:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33700:17:0;;33678:39;;33728:154;33735:10;;33728:154;;33762:11;33772:1;33762:11;;:::i;:::-;;-1:-1:-1;33831:10:0;33839:2;33831:5;:10;:::i;:::-;33818:24;;:2;:24;:::i;:::-;33805:39;;33788:6;33795;33788:14;;;;;;-1:-1:-1;;;33788:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;33788:56:0;;;;;;;;-1:-1:-1;33859:11:0;33868:2;33859:11;;:::i;:::-;;;33728:154;;12237:292;12339:4;-1:-1:-1;;;;;;12363:40:0;;-1:-1:-1;;;12363:40:0;;:105;;-1:-1:-1;;;;;;;12420:48:0;;-1:-1:-1;;;12420:48:0;12363:105;:158;;;-1:-1:-1;;;;;;;;;;10918:40:0;;;12485:36;10809:157;45939:189;46075:45;46102:4;46108:2;46112:7;46075:26;:45::i;18849:382::-;-1:-1:-1;;;;;18929:16:0;;18921:61;;;;-1:-1:-1;;;18921:61:0;;11395:2:1;18921:61:0;;;11377:21:1;;;11414:18;;;11407:30;11473:34;11453:18;;;11446:62;11525:18;;18921:61:0;11367:182:1;18921:61:0;17934:4;17958:16;;;:7;:16;;;;;;-1:-1:-1;;;;;17958:16:0;:30;18993:58;;;;-1:-1:-1;;;18993:58:0;;8208:2:1;18993:58:0;;;8190:21:1;8247:2;8227:18;;;8220:30;8286;8266:18;;;8259:58;8334:18;;18993:58:0;8180:178:1;18993:58:0;19064:45;19093:1;19097:2;19101:7;19064:20;:45::i;:::-;-1:-1:-1;;;;;19122:13:0;;;;;;:9;:13;;;;;:18;;19139:1;;19122:13;:18;;19139:1;;19122:18;:::i;:::-;;;;-1:-1:-1;;19151:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;19151:21:0;-1:-1:-1;;;;;19151:21:0;;;;;;;;19190:33;;19151:16;;;19190:33;;19151:16;;19190:33;18849:382;;:::o;21558:843::-;21679:4;-1:-1:-1;;;;;21705:13:0;;35990:20;36038:8;21701:693;;21741:72;;-1:-1:-1;;;21741:72:0;;-1:-1:-1;;;;;21741:36:0;;;;;:72;;711:10;;21792:4;;21798:7;;21807:5;;21741:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21741:72:0;;;;;;;;-1:-1:-1;;21741:72:0;;;;;;;;;;;;:::i;:::-;;;21737:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21987:13:0;;21983:341;;22030:60;;-1:-1:-1;;;22030:60:0;;;;;;;:::i;21983:341::-;22274:6;22268:13;22259:6;22255:2;22251:15;22244:38;21737:602;-1:-1:-1;;;;;;21864:55:0;-1:-1:-1;;;21864:55:0;;-1:-1:-1;21857:62:0;;21701:693;-1:-1:-1;22378:4:0;21558:843;;;;;;:::o;26278:555::-;-1:-1:-1;;;;;26450:18:0;;26446:187;;26485:40;26517:7;27660:10;:17;;27633:24;;;;:15;:24;;;;;:44;;;27688:24;;;;;;;;;;;;27556:164;26485:40;26446:187;;;26555:2;-1:-1:-1;;;;;26547:10:0;:4;-1:-1:-1;;;;;26547:10:0;;26543:90;;26574:47;26607:4;26613:7;26574:32;:47::i;:::-;-1:-1:-1;;;;;26647:16:0;;26643:183;;26680:45;26717:7;26680:36;:45::i;26643:183::-;26753:4;-1:-1:-1;;;;;26747:10:0;:2;-1:-1:-1;;;;;26747:10:0;;26743:83;;26774:40;26802:2;26806:7;26774:27;:40::i;28347:988::-;28613:22;28663:1;28638:22;28655:4;28638:16;:22::i;:::-;:26;;;;:::i;:::-;28675:18;28696:26;;;:17;:26;;;;;;28613:51;;-1:-1:-1;28829:28:0;;;28825:328;;-1:-1:-1;;;;;28896:18:0;;28874:19;28896:18;;;:12;:18;;;;;;;;:34;;;;;;;;;28947:30;;;;;;:44;;;29064:30;;:17;:30;;;;;:43;;;28825:328;-1:-1:-1;29249:26:0;;;;:17;:26;;;;;;;;29242:33;;;-1:-1:-1;;;;;29293:18:0;;;;;:12;:18;;;;;:34;;;;;;;29286:41;28347:988::o;29630:1079::-;29908:10;:17;29883:22;;29908:21;;29928:1;;29908:21;:::i;:::-;29940:18;29961:24;;;:15;:24;;;;;;30334:10;:26;;29883:46;;-1:-1:-1;29961:24:0;;29883:46;;30334:26;;;;-1:-1:-1;;;30334:26:0;;;;;;;;;;;;;;;;;30312:48;;30398:11;30373:10;30384;30373:22;;;;;;-1:-1:-1;;;30373:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;30478:28;;;:15;:28;;;;;;;:41;;;30650:24;;;;;30643:31;30685:10;:16;;;;;-1:-1:-1;;;30685:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;29630:1079;;;;:::o;27134:221::-;27219:14;27236:20;27253:2;27236:16;:20::i;:::-;-1:-1:-1;;;;;27267:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;27312:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;27134:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:196::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;3582:6;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;4057:6;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:257::-;4234:3;4272:5;4266:12;4299:6;4294:3;4287:19;4315:63;4371:6;4364:4;4359:3;4355:14;4348:4;4341:5;4337:16;4315:63;:::i;:::-;4432:2;4411:15;-1:-1:-1;;4407:29:1;4398:39;;;;4439:4;4394:50;;4242:208;-1:-1:-1;;4242:208:1:o;4455:470::-;4634:3;4672:6;4666:13;4688:53;4734:6;4729:3;4722:4;4714:6;4710:17;4688:53;:::i;:::-;4804:13;;4763:16;;;;4826:57;4804:13;4763:16;4860:4;4848:17;;4826:57;:::i;:::-;4899:20;;4642:283;-1:-1:-1;;;;4642:283:1:o;5455:488::-;-1:-1:-1;;;;;5724:15:1;;;5706:34;;5776:15;;5771:2;5756:18;;5749:43;5823:2;5808:18;;5801:34;;;5871:3;5866:2;5851:18;;5844:31;;;5649:4;;5892:45;;5917:19;;5909:6;5892:45;:::i;:::-;5884:53;5658:285;-1:-1:-1;;;;;;5658:285:1:o;6140:219::-;6289:2;6278:9;6271:21;6252:4;6309:44;6349:2;6338:9;6334:18;6326:6;6309:44;:::i;7180:414::-;7382:2;7364:21;;;7421:2;7401:18;;;7394:30;7460:34;7455:2;7440:18;;7433:62;-1:-1:-1;;;7526:2:1;7511:18;;7504:48;7584:3;7569:19;;7354:240::o;11967:356::-;12169:2;12151:21;;;12188:18;;;12181:30;12247:34;12242:2;12227:18;;12220:62;12314:2;12299:18;;12141:182::o;13556:413::-;13758:2;13740:21;;;13797:2;13777:18;;;13770:30;13836:34;13831:2;13816:18;;13809:62;-1:-1:-1;;;13902:2:1;13887:18;;13880:47;13959:3;13944:19;;13730:239::o;15599:128::-;15639:3;15670:1;15666:6;15663:1;15660:13;15657:2;;;15676:18;;:::i;:::-;-1:-1:-1;15712:9:1;;15647:80::o;15732:120::-;15772:1;15798;15788:2;;15803:18;;:::i;:::-;-1:-1:-1;15837:9:1;;15778:74::o;15857:168::-;15897:7;15963:1;15959;15955:6;15951:14;15948:1;15945:21;15940:1;15933:9;15926:17;15922:45;15919:2;;;15970:18;;:::i;:::-;-1:-1:-1;16010:9:1;;15909:116::o;16030:125::-;16070:4;16098:1;16095;16092:8;16089:2;;;16103:18;;:::i;:::-;-1:-1:-1;16140:9:1;;16079:76::o;16160:258::-;16232:1;16242:113;16256:6;16253:1;16250:13;16242:113;;;16332:11;;;16326:18;16313:11;;;16306:39;16278:2;16271:10;16242:113;;;16373:6;16370:1;16367:13;16364:2;;;-1:-1:-1;;16408:1:1;16390:16;;16383:27;16213:205::o;16423:380::-;16502:1;16498:12;;;;16545;;;16566:2;;16620:4;16612:6;16608:17;16598:27;;16566:2;16673;16665:6;16662:14;16642:18;16639:38;16636:2;;;16719:10;16714:3;16710:20;16707:1;16700:31;16754:4;16751:1;16744:15;16782:4;16779:1;16772:15;16636:2;;16478:325;;;:::o;16808:135::-;16847:3;-1:-1:-1;;16868:17:1;;16865:2;;;16888:18;;:::i;:::-;-1:-1:-1;16935:1:1;16924:13;;16855:88::o;16948:112::-;16980:1;17006;16996:2;;17011:18;;:::i;:::-;-1:-1:-1;17045:9:1;;16986:74::o;17065:127::-;17126:10;17121:3;17117:20;17114:1;17107:31;17157:4;17154:1;17147:15;17181:4;17178:1;17171:15;17197:127;17258:10;17253:3;17249:20;17246:1;17239:31;17289:4;17286:1;17279:15;17313:4;17310:1;17303:15;17329:127;17390:10;17385:3;17381:20;17378:1;17371:31;17421:4;17418:1;17411:15;17445:4;17442:1;17435:15;17461:131;-1:-1:-1;;;;;;17535:32:1;;17525:43;;17515:2;;17582:1;17579;17572:12
Swarm Source
ipfs://42555ba65ef9ee051f95e1f88de50b264df64a312895aa5558c54d75f9e5ba63
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.